/* ============================================
   OMM - Online Media Management
   Bold. Calm. Intentional.
   Brand: Black · White · Yellow
   ============================================ */

/* --- Font Faces ---
   WOFF2, subset to Latin (Poppins ships Devanagari, ~150KB/weight as TTF).
   The original TTFs live in /Fonts at the project root (not deployed). */
@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins-light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins-medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins-semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'MBJ Handwriting';
  src: url('../assets/fonts/mbj-handwriting.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'MBJ Chunky';
  src: url('../assets/fonts/mbj-chunky.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'MBJ Doodles';
  src: url('../assets/fonts/mbj-doodles.woff2') format('woff2');
  font-display: swap;
}

/* --- Variables --- */
:root {
  /* Brand colors */
  --black: #0A0A0A;
  --black-soft: #1A1A1A;
  --white: #FFFFFF;
  --off-white: #FAFAF7;
  --cream: #F5F2ED;
  --yellow: #FFD60A;
  --yellow-deep: #F5C400;
  --yellow-soft: #FFF4B5;

  /* Greys */
  --grey-100: #F2F0EC;
  --grey-200: #E5E2DC;
  --grey-300: #C7C3BC;
  --grey-500: #8A8680;  /* decorative only — fails contrast as text */
  --grey-600: #6E6A64;  /* smallest muted text that passes AA on white/cream */
  --grey-700: #4A4A4A;
  --grey-900: #1A1A1A;

  /* Type */
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand: 'MBJ Handwriting', cursive;
  --font-chunky: 'MBJ Chunky', sans-serif;
  --font-doodles: 'MBJ Doodles', sans-serif;

  /* Spacing */
  --s-xs: 0.5rem;
  --s-sm: 1rem;
  --s-md: 2rem;
  --s-lg: 4rem;
  --s-xl: 6rem;
  --s-2xl: 8rem;
  --s-3xl: 10rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-full: 9999px;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.3s var(--ease);
  --t-med: 0.5s var(--ease);
  --t-slow: 0.9s var(--ease);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* fixed nav — for #links arriving from other pages */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--black);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--yellow); color: var(--black); }

/* --- Accessibility helpers --- */
:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.nowrap { white-space: nowrap; }   /* keeps a handwritten word with its punctuation */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 2000;
  padding: 0.8rem 1.4rem;
  background: var(--yellow);
  color: var(--black);
  font-weight: 600;
  border-radius: var(--r-full);
  transform: translateY(-200%);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translateY(0); }
/* Sections focused programmatically by in-page links don't need a ring */
[tabindex="-1"]:focus { outline: none; }

/* --- Containers --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-md);
}
.container--wide {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--s-md);
}
.container--full {
  width: 100%;
  padding: 0 var(--s-md);
}

/* --- Type system --- */
.eyebrow {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--black);
  display: inline-block;
  margin-bottom: var(--s-sm);
  position: relative;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 8px;
  background: var(--yellow);
  margin-right: 12px;
  vertical-align: middle;
  border-radius: var(--r-full);
}

.h-display {
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: none;
}

.h-section {
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* MBJ Handwriting's capitals are ~40% of its em against Poppins' ~70%, so at
   1em the handwritten word reads a size smaller than the heading around it.
   1.4em evens them out (same ratio as OMM Flow); line-height keeps the
   heading's 1.05 leading. */
.h-section .hand {
  font-family: var(--font-hand);
  font-size: 1.4em;
  line-height: 0.75;
  font-weight: 400;
  letter-spacing: 0;
  display: inline-block;
}

.highlight {
  background: var(--yellow);
  padding: 0 0.2em;
  border-radius: 4px;
}

.text-yellow { color: var(--yellow); }
.text-white { color: var(--white); }
.bg-black { background: var(--black); color: var(--white); }
.bg-yellow { background: var(--yellow); color: var(--black); }
.bg-white { background: var(--white); color: var(--black); }
.bg-cream { background: var(--cream); }

/* --- Reveal animations ---
   Only hidden when JS is running (html.js), so content is never lost
   if the script fails to load. */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.r-d1 { transition-delay: 0.08s; }
.r-d2 { transition-delay: 0.16s; }
.r-d3 { transition-delay: 0.24s; }
.r-d4 { transition-delay: 0.32s; }
.r-d5 { transition-delay: 0.40s; }
.r-d6 { transition-delay: 0.48s; }

/* Hero entrance — pure CSS so the headline paints on first frame
   without waiting for JS (this is the page's LCP element). */
.hero-in { animation: heroIn 1s var(--ease) both; }
.hi-1 { animation-delay: 0.08s; }
.hi-2 { animation-delay: 0.16s; }
.hi-3 { animation-delay: 0.24s; }
.hi-4 { animation-delay: 0.32s; }
.hi-5 { animation-delay: 0.40s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--s-sm) 0;
  transition: background var(--t-med), backdrop-filter var(--t-med),
              padding var(--t-med), box-shadow var(--t-med);
}
.nav.scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 1px 0 var(--grey-200);
}
.nav.dark {
  background: transparent;
  box-shadow: none;
}
/* Scrolled but still over the hero: tint so links don't sit on the headline */
.nav.dark.scrolled {
  background: rgba(10, 10, 10, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav.dark .nav__logo--icon,
.nav.dark .nav__logo--wordmark { filter: invert(1); }
.nav.dark .nav__link { color: rgba(255,255,255,0.8); }
.nav.dark .nav__link:hover { color: var(--white); }
.nav.dark .nav__cta {
  background: var(--yellow);
  color: var(--black);
}
.nav.dark .nav__toggle span { background: var(--white); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--s-md);
}
.nav__logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 78px;
  width: 78px;
  transition: width 0.55s var(--ease), height 0.55s var(--ease);
}
.nav__logo {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), filter 0.3s var(--ease);
  display: block;
}
.nav__logo--icon {
  width: 78px;
  height: 78px;
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(0deg);
}
.nav__logo--wordmark {
  height: 34px;
  width: auto;
  opacity: 0;
  transform: translateY(-50%) scale(0.7) rotate(-8deg);
  pointer-events: none;
}
.nav.scrolled .nav__logo-link {
  height: 38px;
  width: 90px;
}
.nav.scrolled .nav__logo--icon {
  opacity: 0;
  transform: translateY(-50%) scale(0.35) rotate(20deg);
  pointer-events: none;
}
.nav.scrolled .nav__logo--wordmark {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(0deg);
  pointer-events: auto;
}
.nav__logo-link:hover .nav__logo--icon {
  transform: translateY(-50%) scale(1.05) rotate(15deg);
}
.nav.scrolled .nav__logo-link:hover .nav__logo--wordmark {
  transform: translateY(-50%) scale(1.04) rotate(0deg);
}
.nav.scrolled .nav__logo-link:hover .nav__logo--icon {
  transform: translateY(-50%) scale(0.35) rotate(20deg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  list-style: none;
}
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--grey-700);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--t-fast);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width var(--t-fast);
}
.nav__link:hover { color: var(--black); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-full);
  transition: all var(--t-fast);
}
.nav__cta:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 214, 10, 0.35);
}
.nav.dark .nav__cta:hover {
  background: var(--white);
  color: var(--black);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--black);
  transition: var(--t-fast);
  border-radius: 2px;
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--t-med);
}
.nav__overlay.active { display: block; opacity: 1; }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 8rem 0 var(--s-xl);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 214, 10, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.hero__pattern {
  position: absolute;
  width: 700px;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  z-index: 1;
  filter: invert(1);
  animation: spin 80s linear infinite;
  pointer-events: none;
}
@keyframes spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-hand);
  /* one line on every phone: the text is ~9.75em wide after a 53px dash */
  font-size: clamp(1.25rem, calc((100vw - 117px) / 9.9), 1.75rem);
  color: var(--yellow);
  margin-bottom: var(--s-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--yellow);
}

.hero__title {
  font-weight: 700;
  /* capped by viewport height too, so the CTAs stay above the fold on laptops.
     The floor is 3.5rem, or less on phones narrower than ~380px, where
     "EXECUTION." (5.625em wide) must still fit beside the 2rem margins. */
  font-size: clamp(min(3.5rem, calc((100vw - 4rem) / 5.7)), min(11vw, 14vh), 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-md);
  text-transform: uppercase;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .yellow-block {
  background: var(--yellow);
  color: var(--black);
  padding: 0 0.15em;
  display: inline-block;
  transform: rotate(-1deg);
  margin: 0.05em 0;
}
.hero__title .hand {
  font-family: var(--font-hand);
  font-weight: 400;
  text-transform: none;
  color: var(--yellow);
  font-size: 0.8em;
  letter-spacing: 0;
  display: inline-block;
  transform: rotate(-2deg) translateY(-0.1em);
}

.hero__desc {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
  overflow: hidden;
}

.btn--yellow {
  padding: 1.05rem 2.4rem;
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--r-full);
}
.btn--yellow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 214, 10, 0.35);
}

.btn--white {
  padding: 1.05rem 2.4rem;
  background: var(--white);
  color: var(--black);
  border-radius: var(--r-full);
}
.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.btn--black {
  padding: 1.05rem 2.4rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-full);
}
.btn--black:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  background: var(--yellow);
  color: var(--black);
}

.btn--outline {
  padding: 1.05rem 2.4rem;
  border: 2px solid currentColor;
  border-radius: var(--r-full);
  background: transparent;
}
.btn--outline:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn--on-dark { color: var(--white); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }

.btn--ghost {
  padding: 0.5rem 0;
  background: none;
  color: inherit;
}
.btn--ghost .btn__arrow {
  transition: transform var(--t-fast);
}
.btn--ghost:hover .btn__arrow { transform: translateX(6px); }

.hero__award {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 560px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--t-fast);
}
.hero__award svg { flex-shrink: 0; color: var(--yellow); }
.hero__award strong { color: var(--white); font-weight: 600; transition: color var(--t-fast); }
.hero__award:hover { color: var(--white); }
.hero__award:hover strong { color: var(--yellow); }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--yellow));
  animation: scroll-down 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scroll-down {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Yellow ticker --- */
.ticker {
  background: var(--yellow);
  color: var(--black);
  padding: 1.4rem 0;
  overflow: hidden;
  display: flex;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}
.ticker__track {
  display: flex;
  gap: 3rem;
  animation: ticker 28s linear infinite;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker__item {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
}
.ticker__item::after {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--black);
  border-radius: 50%;
  display: inline-block;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Manifesto --- */
.manifesto {
  padding: var(--s-3xl) 0;
  text-align: center;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.manifesto__icon-bg {
  position: absolute;
  width: 800px;
  left: -300px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.04;
  pointer-events: none;
}
.manifesto__text {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.3;
  max-width: 1100px;
  margin: 0 auto;
  letter-spacing: -0.015em;
  position: relative;
}
.manifesto__text strong {
  font-weight: 700;
  background: var(--yellow);
  padding: 0 0.18em;
  border-radius: 4px;
  display: inline-block;
  transform: rotate(-1deg);
  margin: 0 0.05em;
}
.manifesto__text em {
  font-style: normal;
  font-family: var(--font-hand);
  font-size: 1.4em;
  line-height: 0.93;
  font-weight: 400;
  color: var(--black);
}

/* --- About --- */
.about {
  padding: var(--s-2xl) 0 var(--s-3xl);
  background: var(--off-white);
}
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: var(--s-xl);
  align-items: center;
}
.about__media {
  position: relative;
  width: 100%;
  max-width: 400px;
  justify-self: center;
}
/* 2025 recap reel — portrait 9:16, so it gets a portrait frame, not a crop */
.about__reel {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}
.about__reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__reel-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.15rem 0.8rem;
  border-radius: var(--r-full);
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-hand);
  font-size: 1.3rem;
  transform: rotate(-3deg);
  pointer-events: none;
}
/* --- Auto-playing videos ([data-autovideo]) + their pause/play button --- */
.autovideo { position: relative; overflow: hidden; background: #111; }
.autovideo video { width: 100%; height: 100%; object-fit: cover; }
.vid-toggle,
.vid-sound {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.vid-toggle:hover,
.vid-sound:hover { background: var(--yellow); }
.vid-toggle svg { width: 16px; height: 16px; fill: var(--white); }
.vid-toggle:hover svg { fill: var(--black); }
.vid-toggle .icon-pause,
.is-playing > .vid-toggle .icon-play { display: none; }
.is-playing > .vid-toggle .icon-pause { display: block; }
.about__reel .vid-toggle { right: 1rem; bottom: 1rem; width: 44px; height: 44px; }
/* Sound on/off, beside play/pause (recap reel and case-study reels). Muted
   until tapped; yellow while the sound is on. */
.vid-sound { right: calc(0.75rem + 40px + 0.5rem); }
.about__reel .vid-sound { right: calc(1rem + 44px + 0.5rem); bottom: 1rem; width: 44px; height: 44px; }
.vid-sound svg { width: 20px; height: 20px; fill: var(--white); color: var(--white); }
.vid-sound .stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vid-sound .icon-sound,
.vid-sound[aria-pressed="true"] .icon-muted { display: none; }
.vid-sound[aria-pressed="true"] .icon-sound { display: block; }
.vid-sound[aria-pressed="true"] { background: var(--yellow); }
.vid-sound:hover svg,
.vid-sound[aria-pressed="true"] svg { fill: var(--black); color: var(--black); }
.about__sticker {
  position: absolute;
  top: 30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: 700;
  color: var(--black);
  animation: spinSlow 25s linear infinite;
  box-shadow: 0 12px 35px rgba(255, 214, 10, 0.3);
}
.about__sticker-inner {
  text-align: center;
  line-height: 1;
}
.about__sticker-year {
  font-size: 2rem;
  font-weight: 800;
}
.about__sticker-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  margin-top: 4px;
  font-weight: 600;
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.about__media-square {
  position: absolute;
  bottom: -28px;
  left: -48px;
  width: 120px;
  aspect-ratio: 1;
  background: var(--black);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-sm);
}
.about__media-square img {
  width: 70%;
  filter: invert(1);
}

.about__content { padding-left: var(--s-md); }
.about__content p {
  font-size: 1.08rem;
  color: var(--grey-700);
  margin-bottom: var(--s-sm);
  line-height: 1.8;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
  margin-top: var(--s-lg);
  padding-top: var(--s-lg);
  border-top: 2px solid var(--black);
}
.stat__num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grey-700);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* --- WORK / Portfolio --- */
.work {
  padding: var(--s-2xl) 0 var(--s-3xl);
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.work__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--s-md);
  margin-bottom: var(--s-xl);
}
.work .eyebrow { color: var(--white); }
.work .eyebrow::before { background: var(--yellow); }
.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-sm);
}
.work-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
  background: var(--grey-900);
}
/* Case-study cards: portrait, because the work is vertical video */
.work__grid--cases { grid-template-columns: repeat(5, 1fr); align-items: start; }
/* Text sits under the reel, not over it — client reels have their own
   burned-in captions and light backgrounds that fight overlaid type. */
.work-card--case { overflow: visible; background: none; }
.work-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
}
.work-card--case .work-card__overlay {
  position: static;
  background: none;
  padding: 1.1rem 0 0;
}
.work-card--case .work-card__title { font-size: 1.45rem; }
.work-card__line {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 0.35rem;
}
.work-card__stat {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.work-card__stat b { color: var(--yellow); font-size: 1.05rem; font-weight: 700; margin-right: 0.15rem; }
/* The title link covers the whole card; the pause button sits above it */
.work-card__link { pointer-events: auto; }
.work-card__link::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.work-card__link:focus-visible { outline: none; }
.work-card--case:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.work-card--case video { transition: transform 1s var(--ease); }
.work-card--case:hover video { transform: scale(1.05); }
.work-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.work-card:hover .work-card__img { transform: scale(1.06); }
.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s-md);
}
.work-card__tag {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--yellow);
  margin-bottom: 0.4rem;
}
.work-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* --- OMM Flow: the platform we built, at the foot of Work --- */
.flow {
  margin-top: var(--s-xl);
  /* room under the fixed nav when opened via /#omm-flow (the reveal
     slide-in shifts it up after the jump) */
  scroll-margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-lg);
  align-items: center;
  padding: var(--s-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 214, 10, 0.12), transparent 60%),
    var(--black-soft);
}
.flow__title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: var(--white);
}
.flow__title .hand { color: var(--yellow); }
.flow__text {
  margin-top: var(--s-sm);
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.flow__points {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.flow__points li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}
/* Yellow tick, drawn in CSS (the CSP blocks data: images) */
.flow__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--yellow);
}
.flow__points li::after {
  content: '';
  position: absolute;
  left: 0.43rem;
  top: calc(0.1em + 0.25rem);
  width: 0.33rem;
  height: 0.58rem;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.flow__actions {
  margin-top: var(--s-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}
.flow__agency {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 5px;
  transition: color var(--t-fast);
}
.flow__agency:hover { color: var(--yellow); }
.flow__agency:focus-visible,
.flow .btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
/* The client's portal view overlaps the agency dashboard */
.flow__visual {
  position: relative;
  padding: 0 0 2.5rem 2.5rem;
}
.flow__screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.flow__portal {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 214, 10, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transition: transform 0.8s var(--ease);
}
@media (hover: hover) {
  .flow:hover .flow__portal { transform: translateY(-6px); }
}
@media (max-width: 1100px) {
  .flow { gap: var(--s-md); padding: var(--s-md); }
}
@media (max-width: 820px) {
  .flow { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-lg); }
  .flow__visual { padding: 0 0 1.75rem 1.75rem; }
  .flow__portal { width: 46%; }
}
@media (max-width: 480px) {
  .flow { padding: var(--s-md) 1.25rem; border-radius: var(--r-md); }
  .flow__actions .btn { width: 100%; justify-content: center; }
}

/* --- Services: four pillars --- */
.caps {
  padding: var(--s-2xl) 0 var(--s-3xl);
  background: var(--off-white);
}
.caps__inner { position: relative; }   /* positioning context for the preview */
.caps__header {
  max-width: 760px;
  margin-bottom: var(--s-xl);
}
.caps__header p {
  font-size: 1.05rem;
  color: var(--grey-700);
  margin-top: var(--s-sm);
  line-height: 1.7;
  max-width: 560px;
}

.svc { list-style: none; border-bottom: 2px solid var(--black); }
.svc__row {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--s-md);
  align-items: center;
  padding: 2.4rem 0;
  border-top: 2px solid var(--black);
}
/* yellow sweep along the top rule on hover */
.svc__row::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -2px;
  height: 6px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.svc__num {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  align-self: start;
  padding-top: 0.6rem;
}
.svc__title {
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  transition: transform 0.6s var(--ease);
}
.svc__desc {
  margin-top: 0.9rem;
  max-width: 520px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--grey-700);
}
.svc__meta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-sm); }
.svc__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.svc__tags li {
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--r-full);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
}
.svc__proof {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  transition: gap var(--t-fast), border-color var(--t-fast);
}
.svc__proof:hover { gap: 0.7rem; border-color: var(--black); }
.svc__thumb { display: none; }

@media (hover: hover) {
  .svc__row:hover::before { transform: scaleX(1); }
  .svc__row:hover .svc__title { transform: translateX(14px); }
}

/* Floating preview of real work (desktop + hover only; positioned by main.js) */
.svc-preview {
  position: absolute;
  top: 0; left: 0;
  z-index: 5;
  width: 210px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  scale: 0.85;
  transition: opacity 0.35s var(--ease), scale 0.45s var(--ease);
  will-change: transform;
}
.svc-preview.is-visible { opacity: 1; scale: 1; }
.svc-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.svc-preview video.is-active { opacity: 1; }
@media (hover: none), (max-width: 899px) {
  .svc-preview { display: none; }
}
/* Smaller screens: one column, with a still of the work beside each pillar */
@media (max-width: 899px) {
  /* the longest word ("performance", 6.4em) must fit beside the 96px still */
  .svc__title { font-size: min(2.1rem, calc((100vw - 4rem - 96px) / 6.5)); }
  .svc__row {
    grid-template-columns: 1fr;
    gap: var(--s-sm);
    padding: 1.8rem 96px 1.8rem 0;
  }
  .svc__num { padding-top: 0; }
  .svc__thumb {
    display: block;
    position: absolute;
    top: 1.8rem;
    right: 0;
    width: 80px;
    border-radius: 10px;
    object-fit: cover;
  }
}

/* --- Stats Banner (yellow) --- */
.banner {
  padding: var(--s-xl) 0;
  background: var(--yellow);
  color: var(--black);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  overflow: hidden;
  position: relative;
}
.banner__icon {
  position: absolute;
  width: 360px;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.12;
  pointer-events: none;
}
.banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
  position: relative;
}
.banner__stat {
  text-align: left;
  border-right: 1px solid rgba(0,0,0,0.15);
  padding-right: var(--s-md);
}
.banner__stat:last-child { border-right: none; }
.banner__num {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.banner__label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Process --- */
.process {
  padding: var(--s-2xl) 0 var(--s-3xl);
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.process__bg {
  position: absolute;
  width: 1200px;
  right: -400px;
  top: 0;
  opacity: 0.025;
  pointer-events: none;
}
.process__header {
  max-width: 600px;
  margin-bottom: var(--s-xl);
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
  position: relative;
}
.process__step {
  position: relative;
  padding-top: var(--s-md);
  border-top: 2px solid var(--black);
}
.process__step::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border-radius: 50%;
  border: 2px solid var(--black);
}
.process__num {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: var(--s-sm);
}
.process__step-title {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.process__step-desc {
  font-size: 0.9rem;
  color: var(--grey-700);
  line-height: 1.7;
}

/* --- Reels / Showreel section --- */
.reel {
  /* no top padding: it follows the (also black) work section directly */
  padding: 0 0 var(--s-xl);
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.reel__marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
}
.reel__marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
  white-space: nowrap;
  padding-right: 3rem;
  animation: reelSlide 22s linear infinite;
}
.reel__marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}
.reel__marquee-item::after {
  content: '✸';
  color: var(--yellow);
  font-size: 0.55em;
}
@keyframes reelSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.reel__video-wrap {
  position: relative;
  margin: var(--s-xl) auto 0;
  max-width: 1100px;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,0.1);
}
.reel__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--t-fast);
  z-index: 2;
}
.reel__play:hover { transform: translate(-50%, -50%) scale(1.1); }
.reel__play::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  opacity: 0;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.reel__play svg {
  width: 30px;
  height: 30px;
  fill: var(--black);
  margin-left: 4px;
}
.reel__caption {
  text-align: center;
  margin-top: var(--s-md);
  font-family: var(--font-hand);
  font-size: 1.75rem;
  color: var(--yellow);
}

/* --- Team --- */
.team {
  padding: var(--s-2xl) 0;
  background: var(--black);   /* matches the shoot backdrop, so portraits read as one wall */
  color: var(--white);
  overflow: hidden;
}
.team .eyebrow { color: var(--white); }
.team .h-section .hand { color: var(--yellow); }
.team__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--s-md);
  margin-bottom: var(--s-lg);
}
.team__intro {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}
/* Wrapping flex row rather than a grid, so a short last row sits centred
   instead of hugging the left. --cols sets how many cards fit per row. */
.team__grid {
  --cols: 6;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-sm);
}
.team-card {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--s-sm)) / var(--cols));
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #111;
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.75));
  pointer-events: none;
}
.team-card__name {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  z-index: 1;
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-full);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background var(--t-fast), color var(--t-fast);
}
.team__hint { display: none; }
/* Black & white at rest, colour on hover — only where hover exists */
@media (hover: hover) {
  .team-card img { filter: grayscale(1) contrast(1.05); }
  .team-card:hover img { filter: none; transform: scale(1.04); }
  .team-card:hover .team-card__name { background: var(--yellow); color: var(--black); }
}

/* --- Testimonials ---
   A client list (tabs) beside one quote card. All the quotes share one grid
   cell, so the card is as tall as the longest and doesn't jump on switching. */
.testimonials {
  padding: var(--s-2xl) 0 var(--s-3xl);
  background: var(--cream);
  overflow: hidden;
}
.testimonials__header {
  text-align: center;
  margin-bottom: var(--s-xl);
}
.quotes {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: var(--s-lg);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}
.quotes__list {
  position: relative; /* offsetParent for the chips (main.js) */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: var(--s-sm);
}
.quotes__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0.85rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  background: none;
  color: var(--grey-600);
  text-align: left;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.quotes__tab:hover { color: var(--black); background: var(--white); }
.quotes__tab-brand { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.quotes__tab-person { font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; }
.quotes__tab.is-active {
  background: var(--yellow);
  border-color: var(--black);
  color: var(--black);
}
/* Arrow pointing from the chosen client to its quote */
.quotes__tab.is-active::after {
  content: '\2192';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 600;
}

.quotes__stage {
  position: relative;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--r-lg);
  box-shadow: 12px 12px 0 -2px var(--yellow), 12px 12px 0 0 var(--black);
  padding: var(--s-lg);
}
.quotes__mark {
  position: absolute;
  top: -28px;
  left: var(--s-lg);
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-chunky);
  font-size: 2.2rem;
  color: var(--black);
  line-height: 1;
  padding-top: 12px;
}
.quotes__panel {
  display: flex;
  flex-direction: column;
}
/* No JS: every quote in turn, divided by a rule */
.quotes__panel + .quotes__panel {
  margin-top: var(--s-lg);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--grey-200);
}
.js .quotes__stage { display: grid; }
.js .quotes__panel {
  grid-area: 1 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med), visibility 0s linear 0.5s;
}
.js .quotes__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--t-med), transform var(--t-med);
}
.quotes__pull {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 24ch;
  margin-bottom: var(--s-md);
}
.quotes__text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--grey-700);
  max-width: 62ch;
  margin-bottom: var(--s-md);
}
.quotes__text p + p { margin-top: 0.9em; }
.quotes__author {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  margin-top: auto;
  padding-top: var(--s-sm);
  border-top: 1px solid var(--grey-200);
}
.quotes__avatar {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.quotes__name {
  font-weight: 600;
  font-size: 1rem;
}
.quotes__role {
  font-size: 0.85rem;
  color: var(--grey-700);
}

/* --- Live Instagram — phone reels --- */
.ig {
  padding: var(--s-2xl) 0 var(--s-3xl);
  background: var(--off-white);
  overflow: hidden;
}
.ig__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-xl);
}
.ig__sub {
  font-size: 1.05rem;
  color: var(--grey-700);
  margin-top: var(--s-sm);
  line-height: 1.7;
}
.ig__layout {
  display: grid;
  grid-template-columns: minmax(300px, 340px) minmax(0, 460px);
  justify-content: center;
  gap: var(--s-2xl);
  align-items: center;
}

/* Phone */
.ig__phone-stage {
  display: flex;
  justify-content: center;
  position: relative;
}
.ig__phone-stage::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: var(--yellow);
  filter: blur(110px);
  opacity: 0.55;
  border-radius: 50%;
  z-index: 0;
}
.ig__phone {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 660px;
  background: #050505;
  border-radius: 48px;
  padding: 13px;
  box-shadow:
    inset 0 0 0 2px #2a2a2a,
    0 0 0 11px #0c0c0c,
    0 0 0 13px #1c1c1c,
    0 40px 80px rgba(0, 0, 0, 0.45);
  animation: phoneFloat 7s var(--ease) infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.ig__island {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 6;
}
.ig__statusbar {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  pointer-events: none;
}
.ig__time { font-size: 0.82rem; font-weight: 600; }
.ig__status-icons { display: inline-flex; align-items: center; gap: 5px; }

.ig__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  background: #0a0a0a;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ig__screen::-webkit-scrollbar { display: none; }
.ig__screen:focus-visible { outline-offset: -3px; }

/* Reel */
.reel-item {
  position: relative;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: #000;
}
.reel-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.reel-media video,
.reel-media .reel-poster,
.reel-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.reel-media .reel-poster {
  background-size: cover;
  background-position: center;
}
/* Image posts: the whole post at full width (never cropped: 4:5 and square
   posts are much wider than the phone screen), sitting a little above
   centre so the caption has room, over a blurred, darkened copy of itself
   that drifts slowly (the Ken Burns motion lives on the blur only). */
.reel-media .reel-poster--whole {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 38%;
}
/* Photo posts fit between the header (95px) and the two-line caption
   (~104px), so neither covers the post itself. Reel covers (9:16) stay
   full-screen like on Instagram. */
.reel-item[data-kind="post"] .reel-poster--whole {
  top: 99px;
  bottom: 110px;
  height: auto;
  background-position: center;
}
.reel-media .reel-poster--blur {
  filter: blur(22px) brightness(0.55) saturate(1.15);
  transform: scale(1.25);
}
.reel-item[data-mode="poster"] .reel-poster--blur {
  animation: kenBurns 14s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1.25) translate(0, 0); }
  to { transform: scale(1.4) translate(-2%, -3%); }
}
.reel-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 16%,
    transparent 45%, rgba(0,0,0,0.35) 72%, rgba(0,0,0,0.82) 100%);
}
/* Whole-reel link to the real IG post (sits under the UI controls) */
.reel-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
/* Top progress bars */
.reel-progress {
  position: absolute;
  top: 56px;
  left: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  gap: 4px;
}
.reel-progress span {
  flex: 1;
  height: 2.5px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}
.reel-progress span::after {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
  transform: translateX(-100%);
}
.reel-item.is-playing .reel-progress span.is-done::after { transform: translateX(0); }
.reel-item.is-playing .reel-progress span.is-active::after {
  animation: reelFill 6s linear forwards;
}
@keyframes reelFill {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.reel-top {
  position: absolute;
  top: 68px;
  left: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.reel-top-title { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.reel-top svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }

/* Right action rail */
.reel-actions {
  position: absolute;
  right: 10px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.reel-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: #fff;
  background: none;
  padding: 0;
}
.reel-act svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
  transition: transform 0.2s var(--ease);
}
.reel-act span { font-size: 0.72rem; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.reel-act:hover svg { transform: scale(1.14); }
span.reel-act { cursor: default; }
span.reel-act:hover svg { transform: none; }
.reel-act.is-liked svg { fill: #ff3040; stroke: #ff3040; animation: heartPop 0.4s var(--ease); }
@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.reel-act-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
  background: #fff;
  margin-bottom: 4px;
}
.reel-act-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Caption */
.reel-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  width: calc(100% - 70px);
  padding: 0 0 24px 16px;
  color: #fff;
}
.reel-user {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 7px;
}
.reel-user .follow {
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.8);
  padding: 3px 11px;
  border-radius: 7px;
}
.reel-text {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.45;
  margin-bottom: 9px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  /* Two lines, like Instagram's own "… more", so long captions don't climb
     up over the post */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Aside */
.ig__aside { max-width: 460px; }
/* One chip per account (built by main.js from the feed) */
.ig__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 0.5rem;
  margin-bottom: var(--s-lg);
}
.ig__tab {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0.6rem 1.1rem;
  border: 2px solid var(--black);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--grey-600);
  text-align: left;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.ig__tab:hover { color: var(--black); transform: translateY(-2px); }
.ig__tab-handle { font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; }
.ig__tab-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }
.ig__tab.is-active { background: var(--yellow); color: var(--black); }

.ig__account-handle { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.ig__account-name { color: var(--grey-700); margin-bottom: var(--s-sm); font-weight: 500; }
.ig__account-blurb { color: var(--grey-700); line-height: 1.7; margin-bottom: var(--s-md); }
.ig__follow { border: 2px solid var(--black); }
.ig__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-lg);
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--grey-600);
}
.ig__hint svg { stroke: var(--yellow-deep); animation: hintBounce 1.8s var(--ease) infinite; }
@keyframes hintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .ig__phone, .reel-item[data-mode="poster"] .reel-poster,
  .ig__hint svg { animation: none; }
}

/* --- Clients --- */
.clients {
  padding: var(--s-xl) 0;
  background: var(--white);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  overflow: hidden;
}
.clients__title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: var(--s-lg);
}
/* Grid (not wrap) so rows stay balanced: 6 → 3+3 → 2+2+2 */
.clients__logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: space-between;
  align-items: center;
  gap: var(--s-lg) var(--s-md);
  max-width: 1240px;
  margin: 0 auto var(--s-xl);
}
.clients__logo { display: flex; justify-content: center; }
.clients__subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: var(--grey-600);
  margin-bottom: var(--s-sm);
}
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 4rem;
  animation: marquee 35s linear infinite;
  flex-shrink: 0;
}
.marquee__item {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--grey-700);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
  text-transform: uppercase;
  font-style: italic;
}
.marquee__item::after {
  content: '✦';
  color: var(--yellow);
  font-style: normal;
  font-size: 1.2rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Contact --- */
.contact {
  padding: var(--s-2xl) 0;
  background: var(--black);
  color: var(--white);
}
.contact__head {
  text-align: center;
  margin-bottom: var(--s-xl);
}
.contact .eyebrow { color: var(--white); }
.contact .eyebrow::before { background: var(--yellow); }
.contact__head h2 { color: var(--white); }
.contact__head h2 .hand { color: var(--yellow); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--s-xl);
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
  padding-bottom: var(--s-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact__item:last-child { border-bottom: none; }
.contact__item-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__item-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__item-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.3rem;
}
.contact__item-value {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 400;
}
.contact__item-value a:hover { color: var(--yellow); }

.contact__form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: var(--s-lg);
  border-radius: var(--r-lg);
}
.contact__form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-sm);
}
.field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  font-family: var(--font);
  font-size: 1rem;   /* 16px: iPhones zoom into fields with smaller text */
  line-height: 1.5;  /* same height for inputs and the select */
  font-weight: 300;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  transition: all var(--t-fast);
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.45); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--yellow);
  background-color: rgba(255, 214, 10, 0.05);
}
/* Safari (iPhone especially) ignores padding on its native select, so it
   came out shorter than the other fields: draw our own, with a chevron. */
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.8rem;
  background-image: url('../assets/brand/select-chevron.svg');
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 14px 14px;
}
.field select option {
  background: var(--black);
  color: var(--white);
}

/* Budget: radio buttons styled as chips */
.budget { border: 0; padding: 0; margin: 0; min-width: 0; }
.budget legend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  width: 100%;
  padding: 0;
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.budget__note {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--yellow);
}
.budget__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.budget__option { position: relative; cursor: pointer; }
.budget__option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.budget__option span {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.04);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.budget__option:hover span { border-color: var(--yellow); }
.budget__option input:checked + span {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.budget__option input:focus-visible + span {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 3px;
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.contact__form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.field__optional {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.8;
}
.contact__form-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-sm) var(--s-md);
  margin-top: var(--s-xs);
}
.contact__privacy {
  flex: 1 1 220px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.contact__privacy a,
.form-status a { color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; }
.form-status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 99, 99, 0.5);
  background: rgba(255, 99, 99, 0.08);
  color: #FFD2D2;
  font-size: 0.92rem;
  line-height: 1.6;
}
.contact__success {
  text-align: center;
  padding: var(--s-md) 0;
  outline: none;
}
.contact__success img {
  width: 200px;
  height: auto;
  margin: 0 auto var(--s-sm);
}
.contact__success-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.contact__success p {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--s-md);
}

/* --- Footer --- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: var(--s-md) 0 var(--s-md);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-lg);
  padding: var(--s-lg) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-sm);
}
.footer__logo {
  height: 37px;
  width: auto;
  filter: invert(1);
}
.footer__tag {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
  color: rgba(255,255,255,0.6);
}
.footer__col-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--s-sm);
  font-weight: 600;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__links a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast);
}
.footer__links a:hover { color: var(--yellow); }
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--s-sm);
}
.footer__social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.footer__social-link:hover {
  background: var(--yellow);
  transform: translateY(-3px);
}
.footer__social-link:hover svg { fill: var(--black); }
.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.7);
  transition: fill var(--t-fast);
}
.footer__bottom {
  padding-top: var(--s-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: var(--s-sm);
}
.footer__bottom a { color: rgba(255,255,255,0.75); text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom a:hover { color: var(--yellow); }
.footer__omm {
  font-family: var(--font-hand);
  font-size: 1.75rem;
  color: var(--yellow);
}

.footer__duck,
.footer__cookies {
  color: rgba(255,255,255,0.75);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__duck:hover,
.footer__cookies:hover { color: var(--yellow); }

/* --- Bigger tap areas ---
   Small text links and buttons get an invisible hit area at least 44px tall
   (Apple's minimum for touch), without changing how they look or sit. */
.cs-back,
.flow__agency,
.svc__proof,
.footer__cookies,
.footer__duck,
.prose__cookies,
.contact__item-value a,
.nav__toggle,
.reel-act { position: relative; }
.cs-back::after,
.flow__agency::after,
.svc__proof::after,
.prose__cookies::after,
.contact__item-value a::after { content: ''; position: absolute; inset: -11px -4px; }
/* (stacked closer together on phones, so a little less, to stay apart) */
.footer__cookies::after,
.footer__duck::after { content: ''; position: absolute; inset: -8px -4px; }
.nav__toggle::after { content: ''; position: absolute; inset: -6px -4px; }
.reel-act::after { content: ''; position: absolute; inset: -8px; }
.duck__close::after { content: ''; position: absolute; inset: -10px; }

/* --- Cookie choice (js/consent.js) ---
   A dark card in the bottom-right corner (a sheet across the bottom on
   phones). Above the skate duck, under the mobile menu and its overlay. */
.consent {
  display: none;
  position: fixed;
  right: var(--s-md);
  bottom: calc(var(--s-md) + env(safe-area-inset-bottom, 0px));
  z-index: 995;
  width: min(410px, calc(100vw - 2 * var(--s-md)));
  padding: 1.6rem 1.6rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 214, 10, 0.14), transparent 55%),
    var(--black-soft);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity var(--t-med), transform var(--t-med), visibility 0s linear 0.5s;
}
.consent.is-ready { display: block; }
.consent.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  /* visibility flips at once on the way in, so focus can move straight in */
  transition: opacity var(--t-med), transform var(--t-med);
}
.consent__title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.consent__title .hand {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 1.35em;
  line-height: 0.75;
  margin: 0 0.12em 0 0.04em;
  color: var(--yellow);
}
.consent__text,
.consent__now {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.consent__text a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}
.consent__text a:hover { color: var(--yellow); }
.consent__now { margin-top: 0.5rem; color: var(--white); font-weight: 600; }
.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.btn.consent__btn {
  padding: 0.8rem 1.7rem;
  font-size: 0.9rem;
  /* Not `all` (as on .btn): an inherited visibility change must apply at
     once, or the buttons can't take focus as the card opens. */
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.consent :focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 600px) {
  .consent {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    width: auto;
    padding: 1.3rem 1.25rem 1.25rem;
  }
  .consent__btn { flex: 1 1 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .consent, .consent.is-open { transform: none; transition: none; }
}

/* --- Skate duck (assets/duck/duck.js, loaded by main.js) ---
   A fixed, transparent canvas that slides along the bottom of the screen.
   Only the duck itself (and its close button) takes clicks. */
.duck {
  position: fixed;
  left: 0;
  bottom: env(safe-area-inset-bottom, 0px);
  z-index: 990; /* under the mobile menu and its overlay */
  width: 210px;
  height: 230px;
  pointer-events: none;
  transform: translate3d(-300px, 0, 0);
  will-change: transform;
}
.duck__canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.duck__hit,
.duck__close {
  position: absolute;
  pointer-events: auto;
}
.duck__hit {
  left: 26%; right: 26%;
  top: 36%; bottom: 4%;
  border-radius: 45%;
}
.duck__hit:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.duck__close {
  top: 30%; right: 18%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  opacity: 0;
  transition: opacity var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.duck:hover .duck__close,
.duck:focus-within .duck__close { opacity: 1; }
.duck__close:hover { background: var(--yellow); color: var(--black); }
.duck.is-leaving .duck__hit,
.duck.is-leaving .duck__close { visibility: hidden; }
@media (hover: none) {
  .duck__close { opacity: 0.8; }
}
@media (max-width: 700px) {
  .duck { width: 132px; height: 145px; }
  .duck__close { width: 24px; height: 24px; top: 26%; right: 12%; }
}
@media print {
  .duck, .consent { display: none !important; }
}

/* --- Case study pages (site/work/<slug>/, generated) --- */
.cs-hero {
  background: var(--black);
  color: var(--white);
  padding: 8.5rem 0 var(--s-xl);
  overflow: hidden;
}
.cs-hero__inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 380px);
  gap: var(--s-xl);
  align-items: center;
}
.cs-back {
  display: inline-block;
  margin-bottom: var(--s-md);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--t-fast);
}
.cs-back:hover { color: var(--yellow); }
.cs-hero .eyebrow { color: var(--yellow); display: block; }
.cs-hero__client {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0.4rem 0 1rem;
}
.cs-hero__headline {
  font-family: var(--font-hand);
  font-size: clamp(1.85rem, 3.75vw, 2.85rem);
  line-height: 1.2;
  color: var(--yellow);
  margin-bottom: var(--s-md);
}
.cs-hero__summary {
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--s-md);
}
.cs-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cs-tags li {
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 500;
}
.cs-hero__reel {
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(255, 214, 10, 0.12);
}

.cs-story { padding: var(--s-2xl) 0; }
.cs-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
}
.cs-story__lead {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.cs-story__body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--grey-700);
}

.cs-results {
  background: var(--yellow);
  color: var(--black);
  padding: var(--s-xl) 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}
.cs-results__title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--s-md);
}
.cs-results__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-md);
}
.cs-stat { display: flex; flex-direction: column; gap: 0.3rem; border-left: 2px solid var(--black); padding-left: var(--s-sm); }
.cs-stat__value {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.cs-stat__label { font-weight: 600; line-height: 1.4; max-width: 280px; }
.cs-stat__period { font-size: 0.82rem; color: rgba(0, 0, 0, 0.7); }
.cs-results__note { margin-top: var(--s-md); font-size: 0.82rem; color: rgba(0, 0, 0, 0.7); max-width: 720px; }
.cs-results__statement {
  max-width: 980px;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cs-gallery {
  background: var(--black);
  color: var(--white);
  padding: var(--s-2xl) 0;
}
.cs-gallery .eyebrow { color: var(--white); }
.cs-gallery .h-section .hand { color: var(--yellow); }
.cs-gallery__head { margin-bottom: var(--s-lg); }
/* Masonry-style grid for mixed 9:16 reels, 4:5 posts and squares: up to four
   columns of at least 240px. main.js gives each item a span of 8px rows to
   match its height, so they stack without gaps; without JS it's a plain grid.
   Not CSS columns: Safari draws videos inside a multi-column layout in the
   wrong place (black boxes over the sections below). */
.cs-gallery__grid {
  --item-gap: 32px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(240px, calc((100% - 3 * var(--s-sm)) / 4)), 1fr));
  column-gap: var(--s-sm);
  row-gap: var(--item-gap);
  align-items: start;
}
.cs-gallery__grid.is-masonry {
  grid-auto-rows: 8px;
  grid-auto-flow: row dense;
  row-gap: 0;
}
.cs-item { min-width: 0; }
.cs-item img,
.cs-item .autovideo {
  width: 100%;
  border-radius: var(--r-md);
}
.cs-item__title {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.cs-next { padding: var(--s-xl) 0 0; }
.cs-next__card {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: var(--s-md);
  align-items: center;
  padding: var(--s-sm);
  border: 2px solid var(--black);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.cs-next__card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--yellow), 9px 9px 0 var(--black); }
.cs-next__card img { width: 140px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md); }
.cs-next__client { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.cs-next__link::after { content: ''; position: absolute; inset: 0; }
.cs-next__text p { color: var(--grey-700); margin-top: 0.3rem; }
.cs-next__arrow { font-size: 2.4rem; padding-right: var(--s-md); transition: transform var(--t-fast); }
.cs-next__card:hover .cs-next__arrow { transform: translateX(6px); }

.cs-cta { padding: var(--s-2xl) 0; text-align: center; }
.cs-cta .h-section { margin-bottom: var(--s-md); }

/* --- Simple pages (404, thank-you, privacy) --- */
.page-simple {
  min-height: 100vh;
  min-height: 100svh;   /* the visible height on phones, toolbars included */
  display: flex;
  flex-direction: column;
}
.page-simple--dark { background: var(--black); color: var(--white); }
.page-simple--dark .eyebrow { color: var(--white); }
.page-simple--dark .h-section .hand { color: var(--yellow); }
.page-simple__bar {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: var(--s-md);
}
.page-simple__logo { height: 37px; width: auto; }
.page-simple--dark .page-simple__logo { filter: invert(1); }
.page-simple__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-md) var(--s-md) var(--s-xl);
}
.page-simple__main p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin: var(--s-sm) 0 var(--s-lg);
}
.page-simple__duck {
  width: min(440px, 80vw);
  height: auto;
  margin-bottom: var(--s-md);
}
.page-simple__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-sm);
}

.prose {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-md) var(--s-md) var(--s-2xl);
}
.prose h1 { margin-bottom: var(--s-sm); }
.prose h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: var(--s-lg) 0 var(--s-xs);
}
.prose p,
.prose li {
  color: var(--grey-700);
  font-weight: 400;
  line-height: 1.8;
}
.prose p { margin-bottom: var(--s-sm); }
.prose ul { padding-left: 1.3rem; margin-bottom: var(--s-sm); }
.prose li { margin-bottom: 0.3rem; }
.prose a,
.prose__cookies { text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover,
.prose__cookies:hover { background: var(--yellow); }
.prose__cookies { font: inherit; color: inherit; }
.prose code { font-size: 0.9em; padding: 0.1em 0.35em; border-radius: 4px; background: var(--grey-100); }
.prose__updated { font-size: 0.9rem; color: var(--grey-600); }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .work__grid--cases { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .ig__layout { gap: var(--s-xl); }
  .team__grid { --cols: 4; }
  .clients__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
  /* Testimonials: the client list becomes a row of chips above the card
     (centred while they fit, scrolling sideways once they don't), and the
     card fits whichever quote is showing */
  .quotes { grid-template-columns: minmax(0, 1fr); gap: var(--s-lg); max-width: 820px; }
  .quotes__list {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--s-md));
    padding: 0 var(--s-md) 4px;
    scroll-padding: 0 var(--s-md);
  }
  .quotes__list::-webkit-scrollbar { display: none; }
  .quotes__tab {
    flex: none;
    scroll-snap-align: start;
    padding: 0.55rem 1rem;
    border-color: var(--black);
    border-radius: var(--r-full);
    background: var(--white);
  }
  .quotes__tab:first-child { margin-left: auto; }
  .quotes__tab:last-child { margin-right: auto; }
  .quotes__tab-brand { font-size: 0.92rem; }
  .quotes__tab-person,
  .quotes__tab.is-active::after { display: none; }
  .js .quotes__stage { display: block; }
  .js .quotes__panel:not(.is-active) { display: none; }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem 2.5rem 2.5rem;
    gap: 1.6rem;
    transform: translateX(100%);
    visibility: hidden; /* keeps off-screen links out of the tab order */
    transition: transform var(--t-med), visibility 0s linear 0.5s;
    z-index: 1000;
  }
  .nav__links.open {
    transform: none;
    visibility: visible;
    transition: transform var(--t-med), visibility 0s;
  }
  .nav__links .nav__link { color: var(--white); font-size: 1.6rem; font-weight: 600; }
  .nav__links .nav__cta {
    background: var(--yellow);
    color: var(--black);
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    white-space: nowrap;
    display: inline-block;
    margin-top: 0.6rem;
  }
  .nav__toggle { display: flex; }

  .hero { padding-top: 7rem; }
  .hero__pattern { display: none; }
  .hero__scroll { display: none; }
  .about__grid,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-lg);
  }
  .quotes__stage { padding: var(--s-lg) var(--s-md) var(--s-md); box-shadow: 8px 8px 0 -2px var(--yellow), 8px 8px 0 0 var(--black); }
  .quotes__mark { left: var(--s-md); }
  .cs-hero { padding-top: 7rem; }
  .cs-hero__inner,
  .cs-story__grid { grid-template-columns: 1fr; gap: var(--s-lg); }
  .cs-hero__media { max-width: 320px; }
  .cs-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-next__card { grid-template-columns: 90px 1fr; }
  .cs-next__card img { width: 90px; }
  .cs-next__arrow { display: none; }
  .contact__form { padding: var(--s-md) 1.25rem; }
  .about__content { padding-left: 0; }
  .about__media { max-width: 340px; }
  .about__sticker { width: 110px; height: 110px; right: -10px; top: 15px; }
  .about__media-square { display: none; }
  .banner__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-md); }
  .banner__stat { border-right: none; }
  .banner__stat:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.15); }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: var(--s-lg); }
  .ig__layout { grid-template-columns: 1fr; gap: var(--s-xl); }
  .ig__aside { max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .ig__tabs { justify-content: center; }
  .ig__tab { align-items: center; text-align: center; }
  .ig__hint { justify-content: center; }
  .footer__top { grid-template-columns: 1fr; gap: var(--s-md); }
  .footer__bottom { flex-direction: column; text-align: center; }
  .work__header { flex-direction: column; align-items: flex-start; }
  .contact__form-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  /* Team: swipeable row instead of eight rows of portraits */
  .team__grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;   /* centred overflow would hide the first cards */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    margin: 0 calc(var(--s-md) * -1);
    padding: 0 var(--s-md) 0.5rem;
    scroll-padding: 0 var(--s-md);
    scrollbar-width: none;
  }
  .team__grid::-webkit-scrollbar { display: none; }
  .team-card { flex: 0 0 44vw; scroll-snap-align: start; }
  .team__hint {
    display: block;
    margin-top: var(--s-sm);
    font-family: var(--font-hand);
    font-size: 1.4rem;
    color: var(--yellow);
  }
}

@media (max-width: 600px) {
  .clients__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-md) var(--s-sm); padding: 0 var(--s-sm); }
  .cs-results__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-md) var(--s-sm); }
  .cs-stat__value { font-size: 2.3rem; }
  .cs-stat__label { font-size: 0.9rem; }
  .clients__logo img { max-width: min(140px, 100%); }

  /* Work: swipeable row of portrait cards */
  .work__grid--cases {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    margin: 0 calc(var(--s-md) * -1);
    padding: 0 var(--s-md) 0.5rem;
    scroll-padding: 0 var(--s-md);
    scrollbar-width: none;
  }
  .work__grid--cases::-webkit-scrollbar { display: none; }
  .work-card--case { flex: 0 0 78vw; scroll-snap-align: start; }

}

@media (max-width: 400px) {
  /* less side padding on the smallest phones, so labels stay on one line */
  .btn--yellow, .btn--white, .btn--black, .btn--outline { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (max-width: 480px) {
  .banner { padding: var(--s-lg) 0; }
  .banner__grid { gap: var(--s-md) var(--s-sm); }
  .banner__stat { padding-right: var(--s-xs); }
  .banner__num { font-size: 2.1rem; }
  .banner__label { font-size: 0.75rem; }
  .process__steps { grid-template-columns: 1fr; }
  .ig__phone { width: 290px; height: 600px; }
  .ig__phone-stage::before { width: 320px; height: 320px; }
  .reel__play { width: 80px; height: 80px; }
}

/* Short laptop screens: keep the hero CTAs in view */
@media (min-width: 821px) and (max-height: 760px) {
  .hero__scroll { display: none; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track, .marquee__track, .reel__marquee-track { animation: none; }
}
