/* Písma: Zilla Slab a Hanken Grotesk (SIL OFL), hostovaná lokálně */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Zilla Slab';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/zilla-slab-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/zilla-slab-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/zilla-slab-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/zilla-slab-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/zilla-slab-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/zilla-slab-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #eef0e8;
  --ink: #1f2a22;
  --spruce: #2f4a35;
  --moss: #3f5a44;
  --muted: #56665a;
  --rule: #b9c2b3;
  --rule-soft: #dde1d5;

  --serif: 'Zilla Slab', 'Rockwell', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;

  --gutter: clamp(1.25rem, 0.5rem + 3.5vw, 3.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--serif);
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--spruce); outline-offset: 3px; }
::selection { background: var(--spruce); color: var(--bg); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.page {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 1rem + 3vw, 4rem) var(--gutter) clamp(1.5rem, 1rem + 2vw, 3rem);
}

/* Hlavička: logo je stejně vysoké jako dvouřádkový název */
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem 2rem;
}
.lockup {
  display: flex;
  align-items: flex-end;
  gap: 0.34em;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
}
.logo {
  width: auto;
  height: 1.74em;
  flex: none;
}
h1 {
  font-size: 1em;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.tagline {
  margin-top: clamp(0.75rem, 0.5rem + 0.8vw, 1.1rem);
  font: 500 0.75rem/1.5 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
}
.reach {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}
.mail {
  font: 500 1.0625rem/1.3 var(--sans);
  color: var(--moss);
  text-decoration-color: var(--rule);
}
.mail:hover { text-decoration-color: currentColor; }
.call {
  flex: none;
  padding: 0.8rem 1.05rem;
  background: var(--spruce);
  color: var(--bg);
  font: 600 0.9375rem/1 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms var(--ease-out);
}
.call:hover { background: var(--ink); }

/* Úvod */
.intro {
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  max-width: 24ch;
  font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.intro em { color: var(--moss); }

/* Co děláme */
.services {
  max-width: 36rem;
  margin-top: clamp(2.5rem, 1.75rem + 3vw, 4.5rem);
}
h2 {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
  font: 500 0.6875rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
}
.list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 1.125rem;
  line-height: 1.35;
}

/* Kontakt */
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 2.5rem;
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  padding-top: 1.5rem;
  border-top: 2px solid var(--spruce);
  font: 400 0.9375rem/1.6 var(--sans);
}
.phone {
  font: 600 clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem)/1 var(--serif);
  letter-spacing: -0.02em;
  color: var(--spruce);
  text-decoration: none;
}
.contact address a { text-decoration-color: var(--rule); }
.contact address a:hover { text-decoration-color: currentColor; }
.legal {
  flex-basis: 100%;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Úzké displeje: telefon pod jménem přes celou šířku */
@media (max-width: 34rem) {
  .masthead { flex-direction: column; align-items: stretch; }
  .reach { align-items: stretch; text-align: center; }
  .call { padding: 1rem; font-size: 1.0625rem; }
}

/* Jemný nástup při načtení */
@media (prefers-reduced-motion: no-preference) {
  .masthead, .intro, .services, .contact {
    animation: rise 700ms var(--ease-out) both;
}
  .intro { animation-delay: 80ms; }
  .services { animation-delay: 160ms; }
  .contact { animation-delay: 240ms; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(0.5rem); }
}
}
