/* Pedestal: bílá, inkoust, tenké linky; žlutá jen v podtržení odkazů. */

@font-face { font-family: "Metropolis"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/metropolis-400.woff2) format("woff2"); }
@font-face { font-family: "Metropolis"; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/metropolis-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Metropolis"; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/fonts/metropolis-700.woff2) format("woff2"); }
@font-face { font-family: "Metropolis"; font-weight: 700; font-style: italic; font-display: swap; src: url(/assets/fonts/metropolis-700-italic.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400 900; font-style: normal; font-display: swap; src: url(/assets/fonts/playfair-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-weight: 400 900; font-style: normal; font-display: swap; src: url(/assets/fonts/playfair-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1f2328;
  --text: #1f2328;
  --soft: #4a5058;
  --muted: #5a6068;
  --line: #dadde1;
  --band: #f4f5f6;
  --yellow: #ffc000;
  --hover: #8a6200;
  --logo: #808285;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Metropolis", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 18px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, li, blockquote { text-wrap: pretty; }
a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--hover); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: #ffe38a; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 10; background: var(--ink); color: #fff; padding: .5rem 1rem; }
.skip:focus { left: 0; }
.strong { font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 16px; }

/* ---------- layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.section { padding-bottom: 96px; }
.section-last { padding-bottom: 104px; }
.section-tight { padding: 40px 0; border-top: 1px solid var(--line); }
.band { background: var(--band); padding: 88px 0; margin-bottom: 96px; }
.ruled { padding-top: 56px; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.section-title { margin: 0; font: 400 34px/1.2 var(--serif); }
.section-title a { text-decoration: none; }
.section-title a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }

/* ---------- header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font: 400 23px/1 var(--serif); }
.logo-mark { width: 44px; height: auto; color: var(--logo); flex: none; }
.menu { display: flex; gap: 28px; font-size: 16px; }
.menu a { text-decoration: none; padding: 6px 0; }
.menu a[aria-current] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-toggle { display: none; }

/* ---------- homepage ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: end; padding-top: 24px; padding-bottom: 96px; }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 74% 30%; }
.hero-text { display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.hero h1 { margin: 0; font: 400 clamp(34px, 4.4vw, 56px)/1.14 var(--serif); }
.lead { margin: 0; font-size: 20px; line-height: 1.6; color: var(--soft); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; font-size: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 2px; background: var(--ink); color: #fff; font: 700 17px/1 var(--sans); text-decoration: none; cursor: pointer; }
.button:hover { background: #000; color: #fff; }

.qa-list { border-bottom: 1px solid var(--line); }
.qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.qa h3 { margin: 0; font-size: 19px; line-height: 1.45; }
.qa p { margin: 0; font-size: 17px; color: var(--soft); }
.qa p a { display: inline-block; margin-top: 6px; color: var(--ink); }

.quotes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; }
.quotes figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.quotes blockquote { margin: 0; font: 400 22px/1.45 var(--serif); }
.quotes figcaption { font-size: 15px; color: var(--muted); }

.link-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px 40px; }

/* ---------- inner pages ---------- */
.page { padding-top: 40px; padding-bottom: 104px; }
.page-head { padding-bottom: 56px; align-items: start; }
.page h1 { margin: 0; font: 400 clamp(36px, 4.4vw, 54px)/1.12 var(--serif); }
.crumb { margin: 0; font-size: 16px; color: var(--muted); padding-top: 14px; }
.crumb a { color: var(--muted); }
.page-head .crumb + h1 { grid-column: 2; }

.items { border-bottom: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.item h3, .item .h3 { margin: 0; font: 700 19px/1.4 var(--sans); }
.item p { margin: 4px 0 0; font-size: 16px; color: var(--soft); }
.items-note { margin: 0; padding: 20px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.icon { width: 28px; height: 28px; color: var(--ink); stroke-width: 1.4; }
.topic-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 40px; border-bottom: 1px solid var(--line); }
.topic-grid li { display: flex; align-items: center; gap: 14px; min-height: 60px; border-top: 1px solid var(--line); }
.topic-grid .icon { width: 24px; height: 24px; }
.topic-grid + .items-note { border-top: 0; }

/* article */
.article { align-items: start; }
.toc { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.toc-label { color: var(--muted); margin-bottom: 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }

.prose { max-width: 680px; }
.article .prose { padding-top: 24px; border-top: 1px solid var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose h2 { margin: 2.2em 0 .6em; font: 400 30px/1.25 var(--serif); scroll-margin-top: 24px; }
.prose h3 { margin: 1.8em 0 .5em; font: 700 20px/1.4 var(--sans); scroll-margin-top: 24px; }
.prose h2 + h3 { margin-top: 1em; }
.prose blockquote { margin: 1.4em 0; padding-left: 22px; border-left: 2px solid var(--ink); font: 400 21px/1.5 var(--serif); }
.prose-narrow { max-width: 720px; }
.prose-narrow h1 { margin-bottom: .6em; }
.coming { font-size: 20px; color: var(--soft); }
.article-end { margin-top: 2.6em !important; padding-top: 22px; border-top: 1px solid var(--line); font: 400 22px/1.45 var(--serif); }

/* references */
.refs h2 { margin-top: 0; }
.refs h2 ~ h2 { margin-top: 2em; }
.refs h3 { margin: 2em 0 .4em; font: 400 15px/1.4 var(--sans); color: var(--muted); }
.refs h2 + h3 { margin-top: 1em; }
.refs p { font: 400 20px/1.55 var(--serif); }

/* contact */
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info p { margin: 0; }
.map iframe { display: block; width: 100%; height: 240px; border: 0; filter: grayscale(.3); }
.contact-form { display: flex; flex-direction: column; gap: 22px; padding-top: 24px; border-top: 1px solid var(--ink); }
.contact-form .lead { color: var(--text); margin-bottom: 6px; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1px solid #9aa0a6; border-radius: 2px; }
.contact-form input, .contact-form select { min-height: 50px; padding: 0 14px; }
.contact-form textarea { padding: 12px 14px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { margin: 0; min-height: 1.6em; font-weight: 700; }
.form-status.error { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9cdd2; font-size: 16px; }
.site-footer .row { padding-top: 64px; padding-bottom: 48px; row-gap: 40px; align-items: start; }
.site-footer a { color: #c9cdd2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); }
.site-footer .strong, .site-footer .brand { color: #fff; }
.brand-footer .logo-mark { color: #9a9ca0; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; }
.footer-cols address { font-style: normal; display: flex; flex-direction: column; gap: 4px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.copy { grid-column: 2; margin: 0; font-size: 14px; color: #9aa0a6; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .row, .hero, .qa, .quotes, .fields { grid-template-columns: 1fr; }
  .page-head .crumb + h1, .copy { grid-column: auto; }
  .site-header { position: relative; padding-top: 14px; padding-bottom: 14px; }
  .logo-mark { width: 36px; }
  .brand { font-size: 21px; }
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none;
    font: 400 16px var(--sans); color: var(--ink); cursor: pointer;
    text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px;
  }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 5; flex-direction: column; gap: 0; padding: 0 var(--gutter) 16px; background: #fff; font: 400 26px/1.2 var(--serif); }
  .menu.open { display: flex; }
  .menu a { display: flex; align-items: center; min-height: 56px; border-top: 1px solid var(--line); }
  .menu a:last-child { border-bottom: 1px solid var(--line); }
  .hero { padding-top: 8px; padding-bottom: 56px; gap: 24px; }
  .hero-photo { aspect-ratio: 1 / 1; object-position: 76% 30%; }
  .hero h1 { font-size: 32px; }
  .lead { font-size: 18px; }
  .actions .button { width: 100%; }
  .section { padding-bottom: 64px; }
  .band { padding: 56px 0; margin-bottom: 64px; }
  .section-title { font-size: 28px; }
  .qa { padding: 20px 0; }
  .page { padding-top: 16px; padding-bottom: 72px; }
  .page-head { padding-bottom: 32px; gap: 8px; }
  .crumb { padding-top: 0; }
  .toc { display: none; }
  .prose h2 { font-size: 26px; }
  .site-footer .row { padding-top: 48px; padding-bottom: 40px; }
}

@media print {
  .site-header, .site-footer, .toc, .contact-form { display: none; }
}
