@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 200 600;
  font-display: swap;
}

:root {
  --night: #0b0b0c;
  --night-2: #151517;
  --ivory: #f5f4f0;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #5f5f5b;
  --line: #dcdad4;
  --silver: #bab9b3;
  --on-night: rgba(255, 255, 255, 0.74);
  --line-night: rgba(255, 255, 255, 0.14);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Jost", "Futura", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
}
.skip:focus { left: 12px; }
.sprite { position: absolute; }

section[id] { scroll-margin-top: 76px; }

/* Typografie */
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.eyebrow--lines::before, .eyebrow--lines::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

h2 {
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Tlačítka a odkazy */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--light { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--paper); }

.circle {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.circle svg { width: 20px; height: 20px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.link-arrow:hover .circle { background: var(--ink); color: var(--paper); }
.link-arrow--light:hover .circle { background: var(--paper); color: var(--ink); }

/* Hlavička */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--paper);
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
  transition: height 0.4s;
}
.is-solid .header-inner { height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { width: 47px; height: 25px; }
.brand-rule { width: 1px; height: 26px; background: currentColor; opacity: 0.55; }
.brand-text { font-size: 13px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; }

.nav ul { display: flex; align-items: center; gap: 36px; }
.nav a {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background-color 0.3s, color 0.3s;
}
.site-header .nav-cta:hover { background: var(--paper); color: var(--ink); }
.site-header.is-solid .nav-cta:hover { background: var(--ink); color: var(--paper); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-icon, .menu-icon::before {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-icon { position: relative; transform: translateY(-3px); }
.menu-icon::before { content: ""; position: absolute; top: 7px; width: 14px; }
.menu-open .menu-icon { transform: rotate(45deg); }
.menu-open .menu-icon::before { top: 0; width: 22px; transform: rotate(-90deg); }

/* Úvod */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, #212124 0%, rgba(11, 11, 12, 0) 70%),
    var(--night);
  color: var(--paper);
  text-align: center;
}
.hero-outline {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1180px, 108vw);
  transform: translate(-50%, -54%);
  pointer-events: none;
}
.hero-outline path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 0.3;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.js .hero-outline path { animation: kresba 3.2s var(--ease) 0.2s both; }
@keyframes kresba { from { stroke-dashoffset: 1; } }

.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero .eyebrow { color: var(--silver); }

.hero-word {
  position: relative;
  width: 100%;
  height: 1.15em;
  margin: 28px 0 22px;
  overflow: hidden;
  font-size: clamp(54px, 10.5vw, 156px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-word span {
  position: absolute;
  inset: 0;
  padding-left: 0.08em;
  opacity: 0;
  transform: translateY(70%);
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}
.hero-word span.is-active { opacity: 1; transform: none; }
.hero-word span.is-leaving { opacity: 0; transform: translateY(-70%); }

.hero h1 {
  max-width: 22em;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.hero-lead {
  max-width: 34em;
  margin: 22px 0 44px;
  color: var(--on-night);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 300;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 36px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 72px;
  overflow: hidden;
  background: var(--line-night);
}
.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: translateY(-100%);
  animation: tah 2.4s var(--ease) 1.2s infinite;
}
@keyframes tah {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* Sekce */
.section { padding: clamp(88px, 12vw, 160px) 0; }
/* Bez referencí by na sebe narazily dvě bílé sekce, oddělí je linka. */
#reference[hidden] + .section { border-top: 1px solid var(--line); }
.section--ivory { background: var(--ivory); }
.section--night { background: var(--night); color: var(--paper); }
.section--night .eyebrow { color: var(--silver); }

.section-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head--center { align-items: center; text-align: center; }

/* Zkušenost */
.intro .eyebrow { margin-bottom: 28px; }
.statement {
  max-width: 24em;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: none;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--line);
}
.stats > div { padding: 32px 32px 0 0; }
.stats > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.stats dt {
  font-size: clamp(64px, 8.6vw, 128px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stats dd {
  max-width: 17em;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* Služby */
.services { border-top: 1px solid var(--line); }
.services > li { border-bottom: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.15fr) 52px;
  align-items: center;
  gap: 32px;
  padding: 40px clamp(0px, 2vw, 28px);
  text-decoration: none;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), padding 0.5s var(--ease);
}
.service .num { font-size: 13px; font-weight: 500; letter-spacing: 0.2em; color: var(--muted); transition: color 0.5s; }
.service p { color: var(--muted); font-weight: 300; transition: color 0.5s; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.5s, border-color 0.5s;
}
@media (hover: hover) {
  .service:hover { background: var(--night); color: var(--paper); }
  .service:hover .num, .service:hover p, .service:hover .tags li { color: var(--on-night); }
  .service:hover .tags li { border-color: var(--line-night); }
  .service:hover .circle { transform: rotate(-45deg); }
}

/* Postup */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  counter-reset: krok;
}
.steps::before, .steps::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 26px;
  right: 0;
  height: 1px;
  background: var(--line);
}
.steps::after { background: var(--ink); transform: scaleX(1); transform-origin: left; }
.js .steps::after { transform: scaleX(0); transition: transform 2.2s var(--ease) 0.2s; }
.js .steps.is-visible::after { transform: scaleX(1); }
.steps li { position: relative; counter-increment: krok; }
.steps li::before {
  content: "0" counter(krok);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.steps h3 { font-size: 20px; letter-spacing: 0.12em; }
.steps p { margin-top: 14px; color: var(--muted); font-size: 17px; font-weight: 300; }

/* O mně */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.portrait { position: relative; margin: 0; }
.portrait-frame { overflow: hidden; aspect-ratio: 2 / 3; background: #e4e4e2; }
.portrait img { display: block; width: 100%; height: 108%; object-fit: cover; will-change: transform; }
.portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.portrait figcaption span { color: var(--muted); }
.js .portrait[data-reveal] .portrait-frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .portrait[data-reveal].is-visible .portrait-frame { clip-path: inset(0 0 0 0); }
.signature {
  margin-top: 40px;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about { align-items: start; }
.about-text { padding-top: clamp(0px, 6vw, 80px); }
.about-text h2 { margin: 22px 0 32px; }
.about-text p:not(.eyebrow) { max-width: 33em; margin-top: 18px; color: #2c2c2a; font-weight: 300; }

/* Kontakt */
.display { font-size: clamp(44px, 8vw, 120px); font-weight: 200; letter-spacing: 0.04em; }
.contact-lead { max-width: 30em; color: var(--on-night); font-weight: 300; }
.contact-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line-night);
}
.contact-list > div { padding: 36px 32px 0 0; }
.contact-list > div + div { padding-left: 32px; border-left: 1px solid var(--line-night); }
.contact-list dt { color: var(--silver); font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.contact-list dd { margin-top: 12px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 300; line-height: 1.4; }
.contact-list a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.contact-list a:hover { background-size: 100% 1px; }

/* Patička */
.site-footer { padding: 0 0 56px; background: var(--night); color: var(--paper); }
.site-footer .wrap { padding-top: 48px; border-top: 1px solid var(--line-night); }
.site-footer .brand { margin-bottom: 28px; }
.legal { max-width: 56em; color: rgba(255, 255, 255, 0.55); font-size: 13px; font-weight: 300; }
.legal + .legal { margin-top: 8px; }

/* Hlavička sekce se vstupní poznámkou */
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
}
.section-head--split > div { display: flex; flex-direction: column; gap: 22px; }
.section-note { max-width: 30em; color: var(--muted); font-weight: 300; }

/* Běžící pás */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: pas 38s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 200;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee span::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
@keyframes pas { to { transform: translateX(-50%); } }

/* Příběh */
.story { position: relative; overflow: hidden; }
.story-outline {
  position: absolute;
  right: -18%;
  top: 12%;
  width: 62vw;
  aspect-ratio: 200 / 111;
  fill: none;
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 0.3;
  pointer-events: none;
}
.story .wrap { position: relative; }
.timeline { position: relative; max-width: 980px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 220px;
  width: 1px;
  background: var(--line-night);
}
.timeline::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 220px;
  width: 1px;
  height: calc((100% - 16px) * var(--p, 1));
  background: var(--paper);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  padding: 0 0 56px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 215px;
  z-index: 1;
  width: 11px;
  height: 11px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: var(--night);
}
.timeline .when {
  padding-right: 40px;
  color: var(--silver);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.timeline li > div { padding-left: 48px; }
.timeline h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; }
.timeline p { max-width: 36em; margin-top: 10px; color: var(--on-night); font-weight: 300; }

/* Modelové situace */
.cases {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border: 1px solid var(--line);
  background: var(--paper);
}
.case-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.case-tabs button {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 30px 32px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.4s, color 0.4s;
}
.case-tabs button:last-child { border-bottom: 0; }
.case-tabs button span { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; }
.case-tabs button:hover { color: var(--ink); }
.case-tabs button[aria-selected="true"] { background: var(--night); color: var(--paper); }
.case { padding: clamp(32px, 4vw, 56px); animation: prolnuti 0.7s var(--ease); }
.case h3 { margin-bottom: 32px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; }
.case dl > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.case dt { padding-top: 4px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.case dd { font-weight: 300; }
@keyframes prolnuti { from { opacity: 0; transform: translateY(12px); } }

/* Formy spolupráce */
.forms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(64px, 9vw, 112px);
}
.form-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  padding: 40px 36px;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.form-card h3 { margin-top: auto; font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; }
.form-card p { color: var(--muted); font-weight: 300; }
.form-kicker { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.form-card--accent { border-color: var(--night); background: var(--night); color: var(--paper); }
.form-card--accent p, .form-card--accent .form-kicker { color: var(--on-night); }
@media (hover: hover) {
  .form-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.35); }
}

/* Reference */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
  padding: 84px 36px 36px;
  border: 1px solid var(--line-night);
}
.quote::before {
  content: "„";
  position: absolute;
  top: -2px;
  left: 30px;
  font-size: 72px;
  font-weight: 200;
  line-height: 1;
  color: var(--silver);
}
.quote blockquote { margin: 0; color: var(--on-night); font-size: clamp(17px, 1.5vw, 19px); font-weight: 300; line-height: 1.6; }
.quote figcaption { margin-top: auto; font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.quote figcaption span { display: block; margin-top: 4px; color: var(--silver); font-size: 12px; letter-spacing: 0.14em; }
.quote--draft { border-style: dashed; }
.draft-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  border: 1px solid var(--line-night);
  border-radius: 999px;
  color: var(--silver);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Sídlo */
.seat-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.seat-text h2 { margin: 22px 0 28px; }
.seat-text p { max-width: 30em; color: #2c2c2a; font-weight: 300; }
.seat-text address {
  margin: 28px 0 36px;
  padding-left: 20px;
  border-left: 1px solid var(--ink);
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.5;
}
.seat-visual { position: relative; margin: 0; }
.facade {
  aspect-ratio: 5 / 4;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0) 55%, rgba(11, 11, 12, 0.55) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 58px),
    linear-gradient(160deg, #3a3a3d 0%, #18181a 60%, #0b0b0c 100%);
}
.seat-visual figcaption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* Postupné odhalování při scrollu (jen s JS) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Tablet a mobil */
@media (max-width: 1000px) {
  .service { grid-template-columns: 56px minmax(0, 1fr) 52px; gap: 12px 24px; }
  .service-body { grid-column: 2; grid-row: 2; }
  .service .circle { grid-column: 3; grid-row: 1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before, .steps::after { display: none; }
  .forms, .quotes { grid-template-columns: 1fr; }
  .form-card { min-height: 0; }
  .form-card h3 { margin-top: 12px; }
}

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: grid;
    place-items: center;
    background: var(--night);
    color: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  .nav ul { flex-direction: column; gap: 28px; text-align: center; }
  .nav a { font-size: 22px; font-weight: 300; letter-spacing: 0.16em; }
  .nav .nav-cta { min-height: 56px; padding: 0 32px; font-size: 14px; font-weight: 500; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .site-header.menu-open { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; }
  .about, .seat-inner, .cases { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
  .case-tabs { border-right: 0; border-bottom: 1px solid var(--line); }
  .about-text { padding-top: 0; }
  .portrait { max-width: 460px; }
  .contact-list { grid-auto-flow: row; }
  .contact-list > div, .contact-list > div + div { padding: 24px 0; border-left: 0; }
  .contact-list > div + div { border-top: 1px solid var(--line-night); }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .header-inner, .is-solid .header-inner { height: 64px; }
  .brand { gap: 10px; }
  .brand-mark { width: 39px; height: 21px; }
  .brand-rule { height: 20px; }
  .brand-text { font-size: 11px; letter-spacing: 0.2em; }
  .hero { padding: 120px 0 104px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.18em; }
  .eyebrow--lines::before, .eyebrow--lines::after { display: none; }
  .hero-outline { width: 150vw; }
  .stats { grid-template-columns: 1fr; }
  .stats > div, .stats > div + div { padding: 28px 0; border-left: 0; }
  .stats > div + div { border-top: 1px solid var(--line); }
  .service { grid-template-columns: minmax(0, 1fr) 44px; padding: 32px 0; }
  .service .num { grid-column: 1; grid-row: 1; }
  .service h3 { grid-column: 1; grid-row: 2; }
  .service-body { grid-column: 1 / -1; grid-row: 3; }
  .service .circle { grid-column: 2; grid-row: 1 / 3; width: 44px; height: 44px; }
  .steps { grid-template-columns: 1fr; row-gap: 44px; }
  .timeline::before, .timeline::after { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding-left: 36px; }
  .timeline li::before { left: 0; }
  .timeline li > div { padding-left: 0; }
  .timeline .when { padding-right: 0; }
  .case-tabs button { padding: 20px; }
  .case dl > div { grid-template-columns: 1fr; gap: 6px; }
  .story-outline { width: 120vw; right: -40%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-outline path, .scroll-cue::after, .marquee-track, .case { animation: none; }
  .js .portrait[data-reveal] .portrait-frame { clip-path: none; transition: none; }
  .hero-word span { transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .steps::after { transform: scaleX(1); transition: none; }
  .btn, .circle, .service, .contact-list a, .nav a::after { transition: none; }
}

/* Stránka 404 */
.notfound { background: var(--night); color: var(--paper); }
.notfound-inner {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 28px;
  min-height: 100vh;
  min-height: 100svh;
  padding: 48px max(16px, env(safe-area-inset-left, 0px));
  text-align: center;
}
.notfound-mark { width: 96px; height: 52px; margin-bottom: 12px; }
.notfound .eyebrow { color: var(--silver); }
.notfound h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
