/* ==========================================================================
   Adam Slechta, portfolio
   Dark, cinematic, footage-first.
   ========================================================================== */

/* Self-hosted variable fonts (SIL Open Font License) */
@font-face { font-family: "Archivo"; src: url(../fonts/archivo-wdth.woff2) format("woff2-variations"), url(../fonts/archivo-wdth.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter.woff2) format("woff2-variations"), url(../fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono.woff2) format("woff2-variations"), url(../fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --line: #2a2a2f;
  --text: #f2efe9;
  --muted: #9b978f;
  --dim: #6c6964;
  --accent: #39ff14;          /* hi-vis spike tape green */
  --accent-rgb: 57, 255, 20;
  --accent-ink: #061402;      /* text on top of the green */
  --error: #ff5a4e;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* subtle film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; }

.eyebrow {
  margin: 0 0 14px;
  font: 500 12px/1.2 var(--f-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--accent { color: var(--accent); }

.section-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }

.tally {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18), 0 0 14px rgba(var(--accent-rgb), .7);
}
.reel__btn { box-shadow: 0 10px 40px rgba(0,0,0,.45); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent;
  font: 600 15px/1 var(--f-body); text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: rgba(11, 11, 12, .35); backdrop-filter: blur(6px); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn__meta { font: 500 12px var(--f-mono); opacity: .6; }

/* Nav -------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 var(--gutter);
  transition: background .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 60px;
  background: rgba(11, 11, 12, .82);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__brand {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 12px;
  font: 800 18px/1 var(--f-display); font-stretch: 85%;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted);
  transition: color .2s;
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .25s var(--ease), top .25s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 60px 0 auto 0; z-index: 49;
  display: grid; padding: 12px var(--gutter) 24px;
  background: rgba(11, 11, 12, .97); border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font: 800 28px/1 var(--f-display); font-stretch: 75%; text-transform: uppercase; text-decoration: none;
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(48px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: #000 center/cover no-repeat; }
.hero__video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-ready { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 22%),
    linear-gradient(0deg, rgba(11,11,12,1) 0%, rgba(11,11,12,.75) 30%, rgba(11,11,12,.15) 65%),
    linear-gradient(90deg, rgba(11,11,12,.6) 0%, rgba(11,11,12,0) 60%);
}
.hero__title {
  margin: 0 0 24px;
  font-family: var(--f-display);
  font-weight: 900; font-stretch: 70%;
  font-size: clamp(56px, 11vw, 168px);
  line-height: .86; letter-spacing: -.015em;
  text-transform: uppercase;
}
.hero__lede { max-width: 620px; margin: 0 0 34px; font-size: clamp(17px, 1.6vw, 20px); color: #d8d4cc; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Work ------------------------------------------------------------------- */
.work { padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 8vw, 110px); }
.reel { margin-bottom: clamp(40px, 6vw, 72px); }
.reel__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel.is-playing .reel__video { object-fit: contain; }
.reel__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 0; border: 0; cursor: pointer;
  background: radial-gradient(circle at center, rgba(0,0,0,.35), rgba(0,0,0,.1) 60%);
}
.reel.is-playing .reel__play { display: none; }
.reel__btn {
  flex: none; display: grid; place-items: center;
  width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px); border-radius: 50%;
  background: var(--text); color: var(--bg); transition: transform .3s var(--ease), background .3s var(--ease);
}
.reel__btn svg { width: 40%; height: 40%; fill: currentColor; margin-left: 6%; }
.reel__play:hover .reel__btn { transform: scale(1.06); background: var(--accent); color: var(--accent-ink); }
.reel__label { padding: 16px 2px 0; }
.reel__label .eyebrow { margin: 0 0 6px; }
.reel__title { margin: 0; font: 900 clamp(26px, 3.4vw, 44px)/.95 var(--f-display); font-stretch: 72%; text-transform: uppercase; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  min-height: 38px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  font: 500 14px var(--f-body); color: var(--muted); cursor: pointer;
  transition: all .2s var(--ease);
}
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter__count { margin-left: 6px; font: 500 11px var(--f-mono); opacity: .55; }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px) clamp(14px, 1.6vw, 22px);
  margin: 0; padding: 0; list-style: none;
  grid-auto-flow: dense;
}
.card { position: relative; display: flex; flex-direction: column; cursor: pointer; animation: rise .5s var(--ease) both; }
.card[hidden] { display: none; }
.card.is-featured { grid-column: span 2; grid-row: span 2; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.card__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-3);
}
.card.is-featured .card__btn { flex: 1 1 auto; display: flex; flex-direction: column; }
.card.is-featured .card__frame { aspect-ratio: auto; flex: 1 1 auto; min-height: 280px; }
.card__frame img, .card__frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), opacity .4s var(--ease);
}
.card__frame video { opacity: 0; }
.card.is-previewing .card__frame video { opacity: 1; }
.card:hover .card__frame img, .card:hover .card__frame video { transform: scale(1.035); }
.card__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,0) 45%);
  pointer-events: none;
}
.card__tc {
  position: absolute; z-index: 2; right: 10px; bottom: 10px;
  padding: 4px 7px; border-radius: 3px;
  background: rgba(0,0,0,.65); font: 500 11px/1 var(--f-mono); letter-spacing: .06em;
}
.card__play {
  position: absolute; z-index: 2; left: 12px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(4px); transition: all .3s var(--ease);
}
.card__play .tally { width: 6px; height: 6px; }
.card:hover .card__play, .card__btn:focus-visible .card__play { opacity: 1; transform: none; }
.card__title {
  margin: 14px 2px 4px;
  font: 800 22px/1.05 var(--f-display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .005em;
}
.card.is-featured .card__title { font-size: clamp(26px, 2.6vw, 36px); }
.card__meta { margin: 0 2px; font-size: 14px; color: var(--muted); }
.card__meta b { font-weight: 500; color: var(--text); }
.card__poster-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 28px var(--f-display); font-stretch: 70%; text-transform: uppercase; color: var(--dim);
  background: repeating-linear-gradient(135deg, var(--bg-3) 0 14px, var(--bg-2) 14px 28px);
}

/* Client logos ----------------------------------------------------------- */
.clients { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 22px 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logo { display: grid; place-items: center; min-height: 128px; padding: 22px; background: var(--bg-2); text-align: center; }
.logo img { max-width: 72%; max-height: 60px; object-fit: contain; opacity: .78; filter: brightness(0) invert(1); transition: opacity .2s; }
.logo:hover img { opacity: 1; }
.logo--text { font: 800 clamp(17px, 1.7vw, 22px)/1.05 var(--f-display); font-stretch: 78%; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }

/* Services --------------------------------------------------------------- */
.services { padding: clamp(72px, 10vw, 140px) 0; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { padding: clamp(24px, 2.6vw, 36px); background: var(--bg); transition: background .3s var(--ease); }
.service:hover { background: var(--bg-2); }
.service__idx { font: 500 12px var(--f-mono); color: var(--accent); letter-spacing: .1em; }
.service h3 { margin: 40px 0 12px; font: 800 26px/1 var(--f-display); font-stretch: 78%; text-transform: uppercase; }
.service p { margin: 0; font-size: 15px; color: var(--muted); }

.agency {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(20px, 4vw, 64px); align-items: end;
  margin-top: clamp(28px, 4vw, 48px); padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 0% 100%, rgba(var(--accent-rgb), .12), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--line);
}
.agency__title { margin: 0; font: 900 clamp(34px, 4.4vw, 60px)/.92 var(--f-display); font-stretch: 70%; text-transform: uppercase; }
.agency__body { margin: 0; font-size: 18px; color: #d8d4cc; }

/* Process ---------------------------------------------------------------- */
.process { padding: 0 0 clamp(72px, 10vw, 140px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--accent);
}
.step__tc { font: 500 12px var(--f-mono); color: var(--dim); letter-spacing: .1em; }
.step h3 { margin: 10px 0 8px; font: 800 24px/1 var(--f-display); font-stretch: 78%; text-transform: uppercase; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }
.tools { margin: clamp(36px, 5vw, 56px) 0 0; font-size: 15px; color: var(--muted); }
.tools span { margin-right: 12px; font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* About ------------------------------------------------------------------ */
.about { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1fr; max-width: 860px; }
.about__grid.has-photo { grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); max-width: var(--wrap); align-items: start; }
.about__media { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--bg-3); }
.about__text .section-title { margin-bottom: 28px; }
.about__text p { margin: 0 0 18px; font-size: 18px; color: #d8d4cc; }
.about__links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.about__links a { font: 500 13px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.about__links a:hover { color: var(--accent); }

/* Contact ---------------------------------------------------------------- */
.contact { padding: clamp(72px, 10vw, 140px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__intro p { font-size: 18px; color: #d8d4cc; max-width: 440px; }
.contact__intro .section-title { margin-bottom: 24px; }
.contact__direct a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 8px; font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form .opt { text-transform: none; letter-spacing: 0; color: var(--dim); }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--text);
  font: 400 16px/1.4 var(--f-body);
  transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 130px; }
.form .is-invalid { border-color: var(--error); }
.form__status { margin: 0; min-height: 1.4em; font-size: 15px; color: var(--muted); }
.form__status.is-ok { color: var(--accent); }
.form__status.is-err { color: var(--error); }
.hp { position: absolute; left: -9999px; }

/* Footer ----------------------------------------------------------------- */
.footer { padding: 30px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer p { margin: 0; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { text-decoration: none; color: var(--muted); }
.footer__links a:hover { color: var(--text); }

/* Player ----------------------------------------------------------------- */
.player {
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: #070708; color: var(--text);
}
.player::backdrop { background: rgba(0,0,0,.7); }
.player[open] { display: block; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.player__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px;
  height: 100%; padding: 64px var(--gutter) 32px;
  overflow-y: auto;
}
.player__stage { align-self: center; position: relative; aspect-ratio: 16 / 9; width: 100%; background: #000; border-radius: var(--radius); overflow: hidden; }
.player__stage video, .player__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player__info { align-self: center; }
.player__title { margin: 0 0 22px; font: 900 clamp(32px, 3.4vw, 48px)/.92 var(--f-display); font-stretch: 72%; text-transform: uppercase; }
.player__meta { display: grid; gap: 0; margin: 0 0 20px; border-top: 1px solid var(--line); }
.player__meta div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.player__meta dt { font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.player__meta dd { margin: 0; font-size: 15px; text-align: right; }
.player__summary { margin: 0 0 14px; font-size: 16px; color: #d8d4cc; }
.player__result { margin: 0 0 14px; padding: 12px 14px; border-left: 2px solid var(--accent); background: var(--bg-2); font-size: 15px; }
.player__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.player__nav .player__cta { grid-column: 1 / -1; order: -1; }
.player__nav [hidden] { display: none; }
.player__close {
  position: fixed; top: 14px; right: 14px; z-index: 5;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(11,11,12,.7); cursor: pointer;
}
.player__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.player__close:hover { border-color: var(--text); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .player__inner { grid-template-columns: 1fr; align-content: start; padding-top: 72px; }
  .player__info { align-self: start; max-width: 760px; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .agency, .contact__grid, .about__grid.has-photo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav { background: rgba(11,11,12,.82); backdrop-filter: blur(12px); height: 60px; border-bottom-color: var(--line); }
  .card.is-featured { grid-column: span 2; grid-row: auto; }
  .card.is-featured .card__btn { flex: none; display: block; }
  .card.is-featured .card__frame { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card.is-featured { grid-column: auto; }
  .services__grid, .steps, .form__row { grid-template-columns: 1fr; }
  .logo { min-height: 96px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .service h3 { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* When a filter is on, featured cards shrink to normal size */
.grid.is-filtered .card.is-featured { grid-column: auto; grid-row: auto; }
.grid.is-filtered .card.is-featured .card__btn { flex: none; display: block; }
.grid.is-filtered .card.is-featured .card__frame { aspect-ratio: 16 / 9; min-height: 0; }
.grid.is-filtered .card.is-featured .card__title { font-size: 22px; }

/* Testimonials ------------------------------------------------------------ */
.quotes { padding: clamp(64px, 9vw, 120px) 0; }
.quotes[hidden] { display: none; }
.quotes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 24px; }
.quote { margin: 0; padding-left: clamp(18px, 2vw, 28px); border-left: 2px solid var(--accent); }
.quote blockquote { margin: 0 0 22px; }
.quote blockquote p {
  margin: 0; font: 700 clamp(22px, 2.2vw, 30px)/1.25 var(--f-display); font-stretch: 85%; color: var(--text);
}
.quote:only-child { max-width: 1040px; }
.quote:only-child blockquote p { font-size: clamp(24px, 2.8vw, 40px); line-height: 1.15; font-weight: 800; font-stretch: 75%; }
.quote mark { background: none; color: var(--accent); }
.quote figcaption { display: grid; gap: 4px; }
.quote__name { font: 600 16px var(--f-body); }
.quote__title { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Contact: what happens next ------------------------------------------- */
.next-steps { margin: 26px 0; padding: 0; list-style: none; counter-reset: ns; display: grid; gap: 14px; max-width: 460px; }
.next-steps li { counter-increment: ns; position: relative; padding-left: 40px; font-size: 16px; color: var(--muted); }
.next-steps li::before {
  content: counter(ns, decimal-leading-zero); position: absolute; left: 0; top: 1px;
  font: 500 12px var(--f-mono); color: var(--accent); letter-spacing: .08em;
}
.next-steps b { color: var(--text); font-weight: 600; }
.contact__intro strong { color: var(--text); font-weight: 600; }

/* Mobile: keep "Start a project" visible next to the menu button */
.nav__cta-mobile { display: none; }
@media (max-width: 760px) {
  .nav__cta-mobile { display: inline-flex; margin-left: auto; margin-right: 6px; min-height: 36px; padding: 0 14px; font-size: 13px; }
}
.nav__cta-mobile { white-space: nowrap; }
@media (max-width: 420px) {
  .nav__brand { font-size: 15px; gap: 9px; letter-spacing: .04em; }
  .nav__cta-mobile { padding: 0 11px; }
}

/* FAQ --------------------------------------------------------------------- */
.faq { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 44px 22px 0; font: 600 18px/1.35 var(--f-body);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 26px/1 var(--f-mono); color: var(--accent); transition: transform .2s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__item p { margin: -6px 0 24px; max-width: 640px; font-size: 16px; color: #d8d4cc; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* Player: mini case study */
.player__story { display: grid; gap: 14px; margin: 0 0 14px; }
.player__story[hidden], .player__story [hidden], .player__summary[hidden] { display: none; }
.player__story h3 { margin: 0 0 4px; font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.player__story p { margin: 0; font-size: 15px; color: #d8d4cc; }
.player__result::before { content: "The result"; display: block; margin-bottom: 4px; font: 500 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
