@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&display=swap");

/* ============================================================
   AVANTGUARD — dark editorial agency layout
   Near-black canvas, white type, white cards, monochrome.
   ============================================================ */
:root {
  --night: #101010;
  --night-2: #171717;
  --card: #ffffff;
  --ink: #111111;
  --white: #ffffff;
  --grey: #8d8d8d;
  --grey-2: #b5b5b5;
  --grey-dim: #6a6a6a;

  --hair: rgba(255, 255, 255, 0.13);
  --hair-2: rgba(255, 255, 255, 0.22);
  --hair-ink: rgba(17, 17, 17, 0.12);

  --accent: #d30046;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 2.4vw, 2.6rem);
  --maxw: 1800px;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --snap: cubic-bezier(0.33, 1, 0.44, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
/* UA gives figure/blockquote a 40px side margin — kill it globally */
figure, blockquote { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }

::selection { background: var(--white); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--white); color: var(--ink); padding: 0.75rem 1.25rem; font-size: 0.8125rem;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Type scale
   ============================================================ */
.t-mono {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--grey-2);
}

/* Section marker: small filled square + label */
.marker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--grey-2);
}
.marker::before {
  content: "";
  width: 5px; height: 5px;
  background: currentColor;
  flex: 0 0 auto;
}
.marker--bare::before { display: none; }

/* Statement — the mid-size bold paragraph */
.t-statement {
  font-size: clamp(1.3rem, 2.55vw, 2.35rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.022em;
}

/* Big bold multi-line manifesto */
.t-big {
  font-size: clamp(1.85rem, 4.35vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Huge row title (expertise) */
.t-row {
  font-size: clamp(1.9rem, 4.6vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

/* Let headings rag evenly instead of leaving a lonely last word,
   and keep body copy from ending on an orphan */
.t-statement, .t-big, .t-row, .t-lg, .t-md, .acc__btn, .vouch__q, .vouch__who { text-wrap: balance; }
.t-body, .t-small, .lead, .row__list li, .work__desc, .field label { text-wrap: pretty; }

.t-lg { font-size: clamp(1.5rem, 2.9vw, 2.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.t-md { font-size: clamp(1.05rem, 1.35vw, 1.25rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.t-sm { font-size: 0.9375rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }

.t-body { font-size: 0.9375rem; line-height: 1.6; color: var(--grey-2); }
.t-small { font-size: 0.8125rem; line-height: 1.5; color: var(--grey); }

.dim { color: var(--grey); }

/* On white cards */
.on-light { color: var(--ink); }
.on-light .t-body { color: #444; }
.on-light .t-small { color: #757575; }
.on-light .marker { color: #757575; }

/* ============================================================
   Layout
   ============================================================ */
.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { position: relative; padding-block: clamp(3rem, 7vw, 7rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 4rem); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.rule { height: 1px; background: var(--hair); border: 0; margin: 0; }

/* ============================================================
   Ambient background — soft grey masses, drifting + scroll-driven
   Outer span carries the scroll transform, inner <i> the drift,
   so the two never fight over the same transform property.
   ============================================================ */
.ambient {
  position: fixed;
  inset: -15% -10%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
main, .footer { position: relative; z-index: 1; }

.ambient__orb { position: absolute; display: block; will-change: transform; }
.ambient__orb i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: blur(48px);
  will-change: transform;
}

.ambient__orb--a {
  width: clamp(28rem, 58vw, 62rem);
  aspect-ratio: 1;
  top: -6%;
  left: -10%;
}
.ambient__orb--a i {
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(255, 255, 255, 0.05) 38%,
    rgba(255, 255, 255, 0) 70%);
  animation: drift-a 27s ease-in-out infinite alternate;
}

.ambient__orb--b {
  width: clamp(24rem, 48vw, 52rem);
  aspect-ratio: 1;
  top: 34%;
  right: -14%;
}
.ambient__orb--b i {
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 255, 255, 0.085) 0%,
    rgba(255, 255, 255, 0.035) 42%,
    rgba(255, 255, 255, 0) 72%);
  animation: drift-b 34s ease-in-out infinite alternate;
}

.ambient__orb--c {
  width: clamp(20rem, 40vw, 44rem);
  aspect-ratio: 1;
  bottom: -4%;
  left: 26%;
}
.ambient__orb--c i {
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.028) 40%,
    rgba(255, 255, 255, 0) 70%);
  animation: drift-c 41s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6%, 4%, 0) scale(1.14); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(-7%, -5%, 0) scale(0.94); }
}
@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(0.96); }
  to   { transform: translate3d(5%, -6%, 0) scale(1.12); }
}

@media (max-width: 720px) {
  .ambient__orb i { filter: blur(34px); }
  .ambient__orb--c { display: none; }
}

/* White band — the contact block sits on white, like the reference */
.band-light { background: var(--white); color: var(--ink); }
.band-light .t-body { color: #444; }
.band-light .t-small, .band-light .marker, .band-light .form__note { color: #757575; }
.band-light .field label { color: #757575; }
.band-light .field input,
.band-light .field textarea,
.band-light .field select {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(17, 17, 17, 0.22);
}
.band-light .field input:focus,
.band-light .field textarea:focus,
.band-light .field select:focus { border-color: var(--ink); }
.band-light .field select option { background: var(--white); }
.band-light .btn { background: var(--ink); color: var(--white); }
.band-light .btn:hover { background: #383838; }
.band-light .facts { border-top-color: var(--hair-ink); }
.band-light .fact { border-bottom-color: var(--hair-ink); }
.band-light .checks { border-top-color: var(--hair-ink); }
.band-light .checks li { border-bottom-color: var(--hair-ink); }
.band-light .checks li::before { background: var(--ink); }

/* ============================================================
   Tag pills — tiny grey uppercase
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 500;
  font-variation-settings: "wdth" 88;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-2);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  padding: 0.35em 0.6em 0.3em;
  white-space: nowrap;
}
.on-light .tag { color: #666; background: rgba(17, 17, 17, 0.07); }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* ============================================================
   Links & buttons
   ============================================================ */
.ln {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: opacity 0.3s var(--ease);
}
.ln:hover { opacity: 0.62; }
.ln__ico { transition: transform 0.4s var(--snap); }
.ln:hover .ln__ico { transform: translate(3px, -3px); }

.ln--sm { font-size: 0.8125rem; font-weight: 500; color: var(--grey-2); }
.on-light .ln--sm { color: #757575; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.3rem;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: var(--grey-2); }
.btn__ico { transition: transform 0.4s var(--snap); }
.btn:hover .btn__ico { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--hair-2);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #333; }

/* Round icon button */
.iconbtn {
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  border: 1px solid var(--hair-2);
  border-radius: 5px;
  flex: 0 0 auto;
  transition: background-color 0.3s var(--ease), transform 0.4s var(--snap);
}
.iconbtn:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(2px); }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: clamp(0.85rem, 1.4vw, 1.3rem) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.1vw, 2.2rem);
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
/* Brand pinned left, everything else flush right */
.brand { margin-right: auto; }
.header.is-stuck {
  background: rgba(16, 16, 16, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header.is-hidden { transform: translateY(-105%); }

.brand { display: flex; align-items: center; flex: 0 0 auto; }

/* Square monogram — the compact header mark */
.brand__mono {
  display: grid;
  place-items: center;
  width: clamp(1.9rem, 2.4vw, 2.35rem);
  aspect-ratio: 1;
  background: var(--white);
  color: var(--ink);
  border-radius: 3px;
  font-size: clamp(0.72rem, 0.92vw, 0.875rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  padding-bottom: 0.04em;
}

/* Full wordmark — footer and drawer */
.brand__mark {
  display: block;
  width: clamp(108px, 8.5vw, 138px);
  aspect-ratio: 532 / 48;
  background-color: currentColor;
  -webkit-mask: url("../logo.svg") no-repeat center / contain;
  mask: url("../logo.svg") no-repeat center / contain;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.2rem); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--grey);
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link[aria-current="page"] { color: var(--white); font-weight: 600; }
.nav__link .ico { font-size: 1.15em; transition: transform 0.4s var(--snap); }
/* šipka míří šikmo vzhůru jako v mobilním menu, tak ať i odjíždí šikmo */
.nav__link:hover .ico { transform: translate(3px, -3px); }

/* Google Material Symbols — minimal outline, light weight */
.msym {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-size: 1.15em;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

.nav__sub {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: -0.6rem;
  min-width: 15.5rem;
  background: var(--night-2);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 0.35rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.75rem; border-radius: 7px;
  font-size: 0.875rem; font-weight: 500;
  transition: background-color 0.25s var(--ease);
}
.nav__sub a:hover { background: rgba(255, 255, 255, 0.07); }
.nav__sub span { font-size: 0.6875rem; color: var(--grey-dim); }

.header__actions { display: flex; align-items: center; gap: 0.6rem; flex: 0 0 auto; }

/* Tap-to-call — mobile only, sits beside the menu button */
.callbtn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair-2);
  border-radius: 100px;
  flex: 0 0 auto;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.callbtn:hover, .callbtn:active { background: rgba(255, 255, 255, 0.1); }
.callbtn .msym { font-size: 1.2rem; }

.burger {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--hair-2);
  border-radius: 100px;
  padding: 0.6rem 1rem;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 101;
  position: relative;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.burger:hover { background: rgba(255, 255, 255, 0.07); }
.burger.is-open { border-color: var(--hair-2); background: rgba(255, 255, 255, 0.1); }
.burger__ico { font-size: 1.25rem; transition: transform 0.4s var(--snap); }
.burger.is-open .burger__ico { transform: rotate(90deg); }

/* ============================================================
   Mobile drawer — layered curtain + staggered item reveal
   ============================================================ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }

/* Two stacked sheets sweep down, the second a beat behind the first */
.drawer__curtain { position: absolute; inset: 0; overflow: hidden; }
.drawer__curtain i {
  position: absolute;
  inset: 0;
  display: block;
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}
.drawer__curtain i:nth-child(1) { background: #262626; }
.drawer__curtain i:nth-child(2) { background: var(--night); }

.drawer__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.5rem, 5vw, 3rem);
  padding: clamp(4.75rem, 14vw, 6rem) var(--gutter) clamp(1.5rem, 5vw, 2.25rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer__nav { display: grid; }

.dnav {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.7rem, 3vw, 1.1rem);
  padding: clamp(0.4rem, 1.6vw, 0.7rem) 0;
}
.dnav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--hair);
  transform: scaleX(var(--rule, 0));
  transform-origin: left;
}
.dnav__n {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--grey-dim);
  opacity: 0;
  font-variant-numeric: tabular-nums;
}
.dnav__t { display: block; overflow: hidden; }
.dnav__t > span {
  display: block;
  font-size: clamp(1.65rem, 8.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.035em;
  transform: translateY(105%);
  transition: color 0.3s var(--ease);
}
.dnav__i {
  font-size: 1.15rem;
  color: var(--grey);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--snap), color 0.3s var(--ease);
}
.dnav:hover .dnav__t > span,
.dnav:focus-visible .dnav__t > span { color: var(--grey-2); }
.dnav:hover .dnav__i,
.dnav:focus-visible .dnav__i { opacity: 1; transform: none; color: var(--white); }

/* Touch devices never hover, so the arrows would stay invisible */
@media (hover: none) {
  .dnav__i { opacity: 0.55; transform: none; }
}
.dnav[aria-current="page"] .dnav__n { color: var(--white); }

.drawer__foot {
  display: grid;
  gap: clamp(0.9rem, 3vw, 1.35rem);
  padding-top: clamp(1rem, 4vw, 1.5rem);
  border-top: 1px solid var(--hair);
  opacity: 0;
}
.drawer__contact { display: grid; gap: 0.25rem; }
.drawer__contact a { transition: color 0.3s var(--ease); }
.drawer__contact a:hover { color: var(--grey-2); }
.drawer__foot .btn { justify-self: start; }

/* No-JS / reduced-motion fallback: everything simply present */
.drawer--static.is-open .drawer__curtain i,
.drawer--static.is-open .dnav::after { transform: none; }
.drawer--static.is-open .dnav__t > span { transform: none; }
.drawer--static.is-open .dnav__n,
.drawer--static.is-open .drawer__foot { opacity: 1; }

/* ============================================================
   HERO — giant wordmark
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
}
.hero > .shell { width: 100%; position: relative; z-index: 1; }

/* Night-drive backdrop */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--night); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,16,16,0.78) 0%, rgba(16,16,16,0.42) 38%, rgba(16,16,16,0.92) 100%),
    linear-gradient(90deg, rgba(16,16,16,0.5) 0%, rgba(16,16,16,0.1) 45%, rgba(16,16,16,0.5) 100%);
}

/* Giant brand mark — fills the hero */
.hero__mark { margin: auto 0; padding-block: clamp(1rem, 3vw, 2.5rem); }
/* Inline SVG so each letter can animate on its own */
.hero__logo { display: block; width: 100%; height: auto; overflow: visible; }
.hero__logo path, .hero__logo polygon { fill: var(--white); }
.js .hero__logo path, .js .hero__logo polygon { opacity: 0; }

.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--hair);
}
.hero__lead { max-width: 46ch; }

.scrollcue {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--grey);
  font-size: 0.875rem;
  transition: color 0.3s var(--ease);
}
.scrollcue:hover { color: var(--white); }
.scrollcue i {
  display: block;
  width: 1px;
  height: 2.25rem;
  background: currentColor;
  transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  75% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0) translateY(2.25rem); opacity: 0; }
}

/* Visually hidden */
.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ============================================================
   Work grid — staggered two columns
   ============================================================ */
.works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1rem, 1.6vw, 1.75rem);
  row-gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.works > .work--drop { margin-top: clamp(3rem, 9vw, 9rem); }

.work { display: grid; gap: 0.8rem; }
.work__media { border-radius: 10px; overflow: hidden; background: var(--night-2); aspect-ratio: 4 / 3; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work:hover .work__media img { transform: scale(1.035); }
.work__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; font-size: 0.9375rem; }
.work__name { font-weight: 700; }
.work__sep { color: var(--grey-dim); }
.work__desc { color: var(--grey-2); }

.work--tall .work__media { aspect-ratio: 3 / 4; }
.work--square .work__media { aspect-ratio: 1 / 1; }

/* Centered link that sits in an empty grid cell */
.works__cta { display: grid; place-items: center; min-height: 12rem; }

/* ============================================================
   Testimonial cards — white on dark
   ============================================================ */
.vouches { display: grid; gap: clamp(0.75rem, 1.2vw, 1.15rem); }
.vouch {
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  padding: clamp(1.25rem, 2.4vw, 2.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
}
.vouch__left { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; min-height: 100%; }
.vouch__who {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.vouch__right { display: grid; gap: 1.35rem; }
.vouch__mark { font-size: 1.75rem; font-weight: 700; line-height: 0.5; letter-spacing: -0.04em; }
.vouch__q {
  font-size: clamp(1.15rem, 1.85vw, 1.65rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.024em;
}
.vouch__by { font-size: 0.8125rem; color: #757575; }

/* ============================================================
   Expertise rows — huge title + sub-service column
   ============================================================ */
.rows { border-top: 1px solid var(--hair); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding-block: clamp(1.4rem, 2.6vw, 2.3rem);
  border-bottom: 1px solid var(--hair);
}
.row__head { display: grid; gap: clamp(0.55rem, 1.2vw, 0.9rem); justify-items: start; }

/* Small, thick-stroke outline mark for each service */
.row__ico,
.svc-ico {
  font-size: 1.45rem;
  color: var(--grey-2);
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 24;
  transition: color 0.3s var(--ease);
}
.row:hover .row__ico { color: var(--white); }
.related a .svc-ico { font-size: 1.35rem; }
.related a:hover .svc-ico { color: var(--white); }
.row__list { display: grid; gap: 0.28rem; }
.row__list li { font-size: 0.8125rem; color: var(--grey-2); }
.row__foot { grid-column: 1 / -1; margin-top: 0.6rem; }

/* ============================================================
   Wide media
   ============================================================ */
.plate { border-radius: 12px; overflow: hidden; background: var(--night-2); }
.plate img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 7; }

/* ============================================================
   Accordion (FAQ)
   ============================================================ */
.acc { border-top: 1px solid var(--hair); }
.acc__item { border-bottom: 1px solid var(--hair); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(0.95rem, 1.6vw, 1.35rem) 0;
  text-align: left;
  font-size: clamp(0.9375rem, 1.25vw, 1.125rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: opacity 0.3s var(--ease);
}
.acc__btn:hover { opacity: 0.65; }
.acc__sign {
  flex: 0 0 auto;
  font-size: 1.35rem;
  color: var(--grey-2);
  transition: transform 0.45s var(--snap), color 0.3s var(--ease);
}
.acc__item[data-open="true"] .acc__sign { transform: rotate(45deg); color: var(--white); }
.band-light .acc__sign { color: #757575; }
.band-light .acc__item[data-open="true"] .acc__sign { color: var(--ink); }
.acc__panel { overflow: hidden; height: 0; }
.acc__inner { padding-bottom: clamp(0.9rem, 1.6vw, 1.4rem); max-width: 80ch; display: grid; gap: 0.9rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4.5rem);
  align-items: start;
}
.contact__say { display: grid; gap: 1.25rem; align-content: start; }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.8125rem; color: var(--grey-2); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 0.9375rem; color: var(--white);
  background: transparent;
  border: 1px solid var(--hair-2);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--white); }
.field select option { background: var(--night-2); }
.form__end { display: flex; justify-content: flex-end; }
.form__note { font-size: 0.75rem; color: var(--grey-dim); }

.facts { display: grid; border-top: 1px solid var(--hair); }
.fact {
  display: grid; grid-template-columns: minmax(6rem, auto) minmax(0, 1fr);
  gap: 1.25rem; padding: 0.85rem 0; border-bottom: 1px solid var(--hair); align-items: baseline;
}

/* ============================================================
   Page head (inner pages)
   ============================================================ */
.pagehead { padding-top: clamp(6rem, 12vh, 9.5rem); padding-bottom: clamp(1.5rem, 3vw, 2.75rem); }
.pagehead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3.5rem);
  align-items: end;
}
.crumbs { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; font-size: 0.75rem; color: var(--grey-2); }
.crumbs .sep { opacity: 0.45; }

/* Split: label column + content */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; }
.split__main { display: grid; gap: clamp(1.1rem, 2vw, 1.9rem); }

/* Check list */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 clamp(1.25rem, 3vw, 3rem); border-top: 1px solid var(--hair); }
.checks li { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.7rem 0; border-bottom: 1px solid var(--hair); font-size: 0.9375rem; }
.checks li::before { content: ""; flex: 0 0 auto; width: 4px; height: 4px; background: var(--white); transform: translateY(-0.25em); }

/* Two-up media */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: clamp(1rem, 1.6vw, 1.75rem); align-items: start; }
.duo figure { margin: 0; display: grid; gap: 0.6rem; }
.duo img { width: 100%; border-radius: 10px; object-fit: cover; }

/* Related */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: clamp(0.75rem, 1.2vw, 1.1rem); }
.related a {
  background: var(--night-2);
  border-radius: 10px;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  display: grid; gap: 0.5rem; align-content: space-between;
  min-height: 8.5rem;
  transition: background-color 0.35s var(--ease);
}
.related a:hover { background: #1f1f1f; }

/* ============================================================
   Footer
   ============================================================ */
.footer { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2vw, 1.5rem); border-top: 1px solid var(--hair); }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.footer__brand { display: grid; gap: 0.9rem; align-content: start; }
.footer__brand .brand__mark { width: 140px; }
.footer__col { display: grid; gap: 0.45rem; align-content: start; }
.footer__col h4 { margin-bottom: 0.3rem; }
.footer__col a { font-size: 0.875rem; color: var(--grey-2); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; padding-top: 1.1rem; border-top: 1px solid var(--hair); }
/* ve spodní liště jsou i odkazy (oznamovací systém, nastavení cookies) — ať je poznat, že jsou klikací */
.footer__bottom a,
.footer__bottom button { color: var(--grey-2); text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: var(--hair-2); transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease); }
.footer__bottom a:hover,
.footer__bottom button:hover { color: var(--white); text-decoration-color: currentColor; }

/* ============================================================
   Reveals
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; transform: translateY(105%); transition: transform 0.85s var(--ease); }
.line-mask.is-in > span { transform: translateY(0); }

[data-clip] { clip-path: inset(0 0 100% 0); }
[data-clip].is-in { clip-path: inset(0 0 0% 0); transition: clip-path 1s var(--ease); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero__deck { grid-template-columns: minmax(0, 1fr); }
  .feature { max-width: 26rem; }
  .vouch { grid-template-columns: minmax(0, 1fr); }
  .vouch__left { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; min-height: 0; }
}

@media (max-width: 980px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: inline-flex; }
  .callbtn { display: grid; }
  .contact, .split, .pagehead__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .works { grid-template-columns: minmax(0, 1fr); row-gap: clamp(1.75rem, 7vw, 2.5rem); }
  .works > .work--drop { margin-top: 0; }
  .works__cta { min-height: 5rem; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .footer__top { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ============================================================
   Mobile pass — spacing, rhythm and touch targets
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --gutter: 1.25rem;
  }

  .section { padding-block: 3.25rem; }
  .section--tight { padding-block: 2.25rem; }

  /* Full-height hero — the photo carries the frame, the mark sits centred */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 6rem;
    padding-bottom: 2rem;
    gap: 1.75rem;
  }
  .hero__mark { margin: auto 0; padding-block: 1rem; }
  /* Portrait crop favours the tower and the wet street below it */
  .hero__img { object-position: 58% 52%; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero__lead { font-size: 1.2rem; line-height: 1.3; }
  .scrollcue { min-height: 44px; }

  /* Media keeps a usable shape instead of a letterbox sliver */
  .plate img { aspect-ratio: 3 / 2; }
  .work__media,
  .work--tall .work__media,
  .work--square .work__media { aspect-ratio: 4 / 3; }

  /* Cards and rows */
  .vouch { padding: 1.25rem; border-radius: 10px; gap: 1.1rem; }
  .vouch__left { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .vouch__q { font-size: 1.0625rem; line-height: 1.3; }
  .related a { min-height: 0; padding: 1.1rem; gap: 0.4rem; }
  .row { padding-block: 1.15rem; }
  .row__foot { margin-top: 0.35rem; }

  /* Comfortable tap targets */
  .acc__btn { padding-block: 1rem; gap: 1rem; min-height: 48px; }
  .checks li { padding-block: 0.85rem; }
  .footer__col a { padding-block: 0.2rem; }
  .fact { padding-block: 0.95rem; }

  /* Forms sit closer to full width and avoid iOS zoom on focus */
  .field input, .field textarea, .field select { font-size: 16px; padding: 0.85rem 0.9rem; }
  .btn { width: 100%; justify-content: center; min-height: 48px; }
  .form__end { justify-content: stretch; }

  .pagehead { padding-top: 6.5rem; padding-bottom: 1.5rem; }
  .pagehead__grid { gap: 1.25rem; }

  .duo { gap: 1.25rem; }
  .bleed { height: 60vh; min-height: 18rem; }
  .footer__bottom { gap: 0.35rem; flex-direction: column; }
}

@media (max-width: 380px) {
  :root { --gutter: 1.05rem; }
  .hero__lead { font-size: 1.1rem; }
  .dnav__t > span { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .line-mask > span { transform: none; }
  [data-clip] { clip-path: none; }
}

/* ============================================================
   Souhlas s cookies — lišta + nastavení
   ============================================================ */

/* Varianta tlačítka s obrysem: stejná velikost i váha písma jako plné,
   aby "Odmítnout vše" nebylo méně nápadné než "Přijmout vše". */
.btn--line {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--hair-2);
}
.btn--line:hover { background: rgba(255, 255, 255, 0.09); color: var(--white); }

/* -------------------------------------------------- Lišta */
.cbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  padding-block: clamp(0.85rem, 2vw, 1.35rem);
  background: rgba(16, 16, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--hair);
  transform: translateY(110%);
  transition: transform 0.55s var(--ease);
}
.cbar.is-in { transform: none; }

/* stejná mřížka jako .shell, aby lišta lícovala s hlavičkou i patičkou */
.cbar__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

/* text roztáhneme, aby tlačítka dosedla na pravý okraj mřížky jako navigace */
.cbar__say { min-width: 0; flex: 1 1 auto; }
.cbar__title { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.cbar__say .t-small { max-width: 68ch; color: var(--grey-2); }

.cbar__more {
  color: var(--white);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--hair-2);
  transition: text-decoration-color 0.25s var(--ease);
}
.cbar__more:hover { text-decoration-color: currentColor; }

.cbar__acts { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cbar__acts .btn { padding-inline: 1.15rem; white-space: nowrap; }

/* -------------------------------------------------- Nastavení */
.cmod { position: fixed; inset: 0; z-index: 90; }
.cmod[hidden] { display: none; }

.cmod__veil {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.72);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cmod.is-open .cmod__veil { opacity: 1; }

.cmod__panel {
  position: absolute;
  inset: auto 50% 0 auto;
  transform: translateX(50%) translateY(2rem);
  width: min(46rem, 100%);
  max-height: min(88vh, 52rem);
  display: flex;
  flex-direction: column;
  background: var(--night-2);
  border: 1px solid var(--hair);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  opacity: 0;
  transition: transform 0.42s var(--ease), opacity 0.42s var(--ease);
}
.cmod.is-open .cmod__panel { transform: translateX(50%); opacity: 1; }

.cmod__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--hair);
}
.cmod__title { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; }

.cmod__x {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  color: var(--grey-2);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.cmod__x:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.cmod__x .msym { font-size: 1.25rem; }

.cmod__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.1rem, 3vw, 1.75rem) clamp(1.1rem, 3vw, 2rem);
  display: grid;
  gap: 1.35rem;
}
.cmod__intro { color: var(--grey-2); }
.cmod__intro em { font-style: normal; color: var(--white); }

.cmod__row { display: grid; gap: 0.5rem; padding-top: 1.35rem; border-top: 1px solid var(--hair); }
.cmod__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cmod__label { font-size: 0.9375rem; font-weight: 600; }
.cmod__always { font-size: 0.75rem; color: var(--grey-dim); white-space: nowrap; }

/* Přepínač kategorie */
.csw { display: inline-flex; align-items: center; cursor: pointer; flex-shrink: 0; }
.csw input { position: absolute; opacity: 0; width: 0; height: 0; }
.csw__text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.csw__track {
  display: block;
  width: 2.75rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px var(--hair-2);
  transition: background-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.csw__track i {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.1875rem;
  border-radius: 50%;
  background: var(--grey-2);
  transition: transform 0.28s var(--snap), background-color 0.28s var(--ease);
}
.csw input:checked + .csw__track { background: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.csw input:checked + .csw__track i { transform: translateX(1.25rem); background: var(--white); }
.csw input:focus-visible + .csw__track { outline: 2px solid var(--accent); outline-offset: 3px; }

.cmod__facts { padding-top: 1.35rem; border-top: 1px solid var(--hair); display: grid; gap: 0.6rem; }
.cmod__dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.3rem 1rem; font-size: 0.8125rem; }
.cmod__dl dt { color: var(--white); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.cmod__dl dd { margin: 0; color: var(--grey); }

.cmod__acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: clamp(0.9rem, 2.5vw, 1.35rem) clamp(1.1rem, 3vw, 2rem);
  border-top: 1px solid var(--hair);
  background: var(--night);
  border-radius: 0;
}
.cmod__acts .btn { flex: 1 1 auto; justify-content: center; }

/* Odkaz na nastavení v patičce vypadá jako ostatní odkazy, ne jako tlačítko */
[data-cookie-settings] { font-size: inherit; color: inherit; text-align: left; }

@media (max-width: 860px) {
  .cbar__inner { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .cbar__acts .btn { flex: 1 1 0; justify-content: center; }
  .cmod__panel { width: 100%; max-height: 92vh; }
}

@media (max-width: 420px) {
  .cbar__acts { flex-direction: column; }
  .cmod__acts { flex-direction: column-reverse; }
  .cmod__acts .btn { width: 100%; }
}
