:root {
  --ink: #12110F;
  --ink-2: #3D3A35;
  --mute: #7C7567;
  --rule: #ECE8E1;
  --bg: #FFFFFF;
  --soft: #FAF8F5;
  --cta: #E60F0F;
  --cta-hi: #C80B0B;
  --brass: #AC8339;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(18,17,15,.05), 0 2px 8px rgba(18,17,15,.05);
  --shadow: 0 1px 2px rgba(18,17,15,.04), 0 8px 24px rgba(18,17,15,.07);
  --shadow-lg: 0 2px 4px rgba(18,17,15,.05), 0 18px 48px rgba(18,17,15,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--cta); color: #FFF8F1; text-decoration: none; cursor: pointer;
  font: 700 15px/1 var(--sans); letter-spacing: .01em;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 18px rgba(230,15,15,.28);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--cta-hi); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 10px 24px rgba(230,15,15,.32); }
.btn:focus-visible { outline: 3px solid rgba(230,15,15,.35); outline-offset: 3px; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; box-shadow: none; }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--rule); }
.btn--ghost:hover { background: var(--soft); box-shadow: var(--shadow); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: block; line-height: 0; }
.logo img { height: 44px; width: auto; }
@media (max-width: 520px) { .logo img { height: 38px; } }
@media (max-width: 520px) { .topbar .btn--sm { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 4vw, 44px) clamp(36px, 5vw, 56px); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--soft);
  font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 4px rgba(230,15,15,.15); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(34px, 4.6vw, 60px); text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--cta); }
.lede { max-width: 620px; margin: 12px auto 0; font-size: clamp(16px, 1.6vw, 18px); color: var(--ink-2); }
.hero__video { max-width: min(720px, max(480px, calc((100svh - 410px) * 16 / 9))); margin: clamp(22px, 3vw, 30px) auto 0; }  /* shrinks on short laptop screens so the CTA stays above the fold */
.hero__cta { margin-top: 24px; }

/* ---------- jump nav ---------- */
.jump { position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 15; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.jump__inner { display: flex; gap: 6px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.jump__inner::-webkit-scrollbar { display: none; }
.jump__inner > :first-child { margin-left: auto; }
.jump__inner > :last-child { margin-right: auto; }  /* centred when it fits, scrollable from the left when it doesn't */
.jump a {
  flex: none; padding: 9px 16px; border-radius: 999px; text-decoration: none;
  font: 600 14px/1 var(--sans); color: var(--ink-2); transition: background .2s, color .2s;
}
.jump a:hover, .jump a.is-active { background: var(--ink); color: #fff; }
.jump a span { margin-left: 4px; font-weight: 500; opacity: .55; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section__head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.kicker { margin: 0 0 12px; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cta); }
h2 { font-size: clamp(36px, 5vw, 56px); }
.sub { margin: 14px 0 0; color: var(--mute); }

/* ---------- video frame (shared) ---------- */
.vframe {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius);
  background: #0F0E0D; box-shadow: var(--shadow-lg);
}
.vframe img, .vframe video, .vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vframe img { object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; }
.vframe video { object-fit: contain; background: #000; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.28)); cursor: pointer;
}
.play::before {
  content: ""; width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%2312110F'/%3E%3C/svg%3E") 54% 50% / 26px no-repeat;
  box-shadow: 0 8px 28px rgba(0,0,0,.28); transition: transform .25s;
}
.play:hover::before, .play:focus-visible::before { transform: scale(1.08); }
.play:focus-visible { outline: 3px solid rgba(230,15,15,.6); outline-offset: -3px; }
.vframe:hover img { transform: scale(1.03); }
/* thumbnails that already have a play button baked into the artwork: no second button, just a hover cue */
.vframe--baked .play { background: rgba(0,0,0,0); transition: background .25s; }
.vframe--baked .play::before { display: none; }
.vframe--baked:hover .play { background: rgba(0,0,0,.12); }
.interviews .play::before { width: 56px; height: 56px; background-size: 22px; }

/* ---------- stories ---------- */
.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.story {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule);
  border-radius: calc(var(--radius) + 4px); padding: 10px; box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s;
}
.story:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.story .vframe { box-shadow: none; border-radius: var(--radius); }
.story__body { padding: 18px 12px 12px; }
.story__name { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 600 26px/1.1 var(--serif); }
.story__name::after { content: "Client"; font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); padding: 5px 8px; border: 1px solid rgba(172,131,57,.35); border-radius: 999px; }
.story__text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.more { margin-top: 40px; text-align: center; }

/* ---------- interviews ---------- */
.interviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(20px, 2.4vw, 28px); }
.interviews .vframe { box-shadow: var(--shadow); }
.interviews .vframe:hover { box-shadow: var(--shadow-lg); }

/* ---------- CTA bands ---------- */
.band { background: var(--soft); border-block: 1px solid var(--rule); }
.band__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 28px; padding-block: 32px; text-align: center; }
.band p { margin: 0; font: 500 italic clamp(22px, 2.6vw, 28px)/1.2 var(--serif); }

/* ---------- screenshot wall ---------- */
.wall { display: flex; align-items: flex-start; gap: var(--gap, 16px); }
.wall__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap, 16px); }
.shot {
  display: block; width: 100%; padding: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden;
  background: var(--soft); box-shadow: var(--shadow-sm); cursor: zoom-in;
  transition: box-shadow .25s, transform .25s;
}
.shot:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.shot:focus-visible { outline: 3px solid rgba(230,15,15,.5); outline-offset: 2px; }
.shot img { width: 100%; height: auto; opacity: 0; transition: opacity .4s; }
.shot img.is-loaded { opacity: 1; }
.wall__status { padding-top: 32px; text-align: center; color: var(--mute); font-size: 14px; min-height: 60px; }

/* ---------- closer + footer ---------- */
.closer { padding-block: clamp(64px, 9vw, 112px); text-align: center; border-top: 1px solid var(--rule); }
.closer h2 { margin-bottom: 28px; }
.footer { padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); background: var(--soft); border-top: 1px solid var(--rule); color: var(--mute); font-size: 14px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.footer p { margin: 0; }
.footer a { color: var(--ink); }
.fine { font-size: 12px; }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(12,11,10,.94); color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: transparent; }
.lb__figure { margin: 0; height: 100dvh; padding: 56px 0; display: grid; place-items: center; }
.lb__figure img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb__close, .lb__nav { border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lb__close:hover, .lb__nav:hover { background: rgba(255,255,255,.2); }
.lb__close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.lb__nav { width: 48px; height: 48px; margin-inline: auto; font-size: 32px; line-height: 1; padding-bottom: 4px; }
.lb__count { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; margin: 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.6); }
@media (max-width: 600px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb__nav { position: absolute; bottom: calc(6px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; }
  .lb__nav--prev { left: 16px; } .lb__nav--next { right: 16px; }
  .lb__figure { padding: 60px 8px 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
