/* ==========================================================================
   Crowd Capture Media — Premium Redesign (light-dominant hybrid)
   Tokens from CCM design system · Motion values per handoff spec
   ========================================================================== */

:root {
  /* Colors */
  --hero-bg: #0A0E0D;
  --dark: #0F1A18;
  --dark-green: #003529;
  --orange: #FC992A;
  --tan: #C9B48C;
  --cream: #F2E9D8;
  --light-bg: #EDEBE6;
  --sand: #D9CEBC;
  --white: #FFFFFF;
  --ink: #0F1A18;
  --card-light: #FBF7EF;
  --card-dark: #1C2A27;
  --stories-bg: #0a0d12;

  /* Motion */
  --ease-sharp: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Type */
  --font-sans: "Montserrat", -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Shared bits ------------------------------------------------------------ */
.dot { color: var(--orange); }
.accent { font-family: var(--font-serif); font-style: italic; font-weight: 600; }

.overline {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 600;
}
.h2 {
  font-weight: 900;
  font-size: clamp(30px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-top: 14px;
}
.h2-light { color: var(--ink); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease-expo), background 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--orange); color: #1a1206; box-shadow: 0 8px 24px rgba(252, 153, 42, 0.28); }
.btn-solid:hover { background: #ffa845; }
.btn-outline { background: transparent; color: var(--cream); border: 1.5px solid rgba(242, 233, 216, 0.4); }
.btn-outline:hover { border-color: var(--cream); }
.btn-dark { background: var(--dark); color: var(--cream); }
.btn-big { padding: 20px 44px; font-size: 15px; }

.pill-tag {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(242, 233, 216, 0.1);
  color: var(--cream);
}
.pill-orange { background: var(--orange); color: #1a1206; }

/* Accessibility ------------------------------------------------------------ */
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 10000;
  background: var(--orange);
  color: #1a1206;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .nav-links a:focus-visible { outline-offset: 2px; }

/* Legal pages (privacy / accessibility) ------------------------------------ */
.legal { background: var(--dark); padding: 180px 24px 130px; border-radius: 0 0 44px 44px; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal h1 { font-weight: 900; font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.02em; line-height: 1.1; }
.legal .legal-updated { color: rgba(242, 233, 216, 0.55); font-size: 14px; margin-top: 12px; }
.legal h2 { font-weight: 800; font-size: 21px; letter-spacing: -0.01em; margin: 44px 0 12px; }
.legal p, .legal li { font-size: 15.5px; color: rgba(242, 233, 216, 0.75); line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-top: 10px; }
.legal li { margin-top: 6px; }
.legal a { color: var(--orange); font-weight: 600; }
.legal a:hover { text-decoration: underline; }

/* Scroll reveal ----------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.75s var(--ease-reveal), transform 0.75s var(--ease-reveal);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.3s var(--ease-sharp);
}
.loader.is-exiting { opacity: 0; pointer-events: none; }
.loader.is-removed { display: none; }
.loader-inner { text-align: center; padding: 24px; }
.loader-title {
  font-weight: 900;
  font-size: clamp(34px, 7vw, 84px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.lw { display: inline-block; overflow: hidden; vertical-align: bottom; }
.lw-in {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.85s var(--ease-sharp);
}
.loader.is-playing .lw-in { transform: translateY(0); }
.lw-tan { color: var(--tan); }
.lw-cream { color: var(--cream); }
.loader-sub {
  color: rgba(242, 233, 216, 0.75);
  margin-top: 18px;
  font-size: 15px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.65s, transform 0.6s ease 0.65s;
}
.loader.is-playing .loader-sub { opacity: 1; transform: translateY(0); }
.loader-phone {
  margin: 44px auto 0;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s, opacity 0.6s ease 0.25s;
}
.loader.is-playing .loader-phone { transform: scale(1); opacity: 1; }

/* Phone component ---------------------------------------------------------- */
.phone {
  position: relative;
  width: 270px;
  height: 552px;
  border-radius: 42px;
  border: 9px solid #0c2c27;
  background: #000;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(201, 180, 140, 0.12);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 116px; height: 26px;
  background: #0c2c27;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone-screen { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; }
.phone-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.75s var(--ease-expo);
}
.phone-track .phone-img { flex: 0 0 100%; }
.phone-img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease 0.4s; }
.loader.is-playing .phone-img, .hero .phone-img { opacity: 1; }
.phone-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 35%, rgba(0,0,0,0.72) 100%);
}
.notif {
  position: absolute;
  top: 44px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  transform: translateY(-24px) scale(0.9);
  opacity: 0;
  z-index: 2;
}
.notif.is-in {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: transform 0.7s var(--ease-spring), opacity 0.4s ease;
}
.notif-icon { color: var(--orange); font-size: 18px; }
.notif-title { font-weight: 800; font-size: 12.5px; color: #111; }
.notif-body { font-size: 11.5px; color: #555; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 10px 12px 10px 22px;
  border-radius: 55px;
  background: rgba(15, 26, 24, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 180, 140, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s var(--ease-sharp), opacity 0.5s var(--ease-sharp);
  width: max-content;
  max-width: calc(100vw - 24px);
}
.nav.is-hidden { transform: translateX(-50%) translateY(-130%); opacity: 0; }
.nav-logo { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.wm-tan { color: var(--tan); }
.wm-ink { color: var(--ink); }
.wm-cream { color: var(--cream); }
.nav .wm-ink { color: var(--cream); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 13.5px; font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(242, 233, 216, 0.08); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-nav { padding: 11px 22px; font-size: 13px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  padding: 10px;
  cursor: pointer;
}
.nav-burger span { width: 20px; height: 2px; background: var(--cream); transition: transform 0.3s var(--ease-sharp); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 7500;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-sharp);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 22px; text-align: center; }
.mobile-menu nav a:not(.btn) {
  color: var(--cream);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.mobile-menu .btn { margin-top: 14px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--hero-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(252, 153, 42, 0.12), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 1000px; z-index: 2; }
.hero-h1 {
  font-weight: 900;
  font-size: clamp(40px, 7.4vw, 86px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-top: 22px;
  background: linear-gradient(180deg, #fff, #d9cdb6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-h1 .dot { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--orange); }
.h1-line { display: block; }
.hero-h1 .accent { color: var(--tan); }

/* Sub-headline with the rotating industry word (Umano-style hierarchy:
   big display H1 above, this line stays small) */
.hero-rotline {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 2.1vw, 26px);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(242, 233, 216, 0.88);
}
.hero-rotline .accent { color: var(--tan); }
.h1-rotator {
  display: inline-block;
  position: relative;
  height: 1.55em; /* match .hero-rotline line-height so baselines coincide */
  line-height: 1.55;
  min-width: 3ch;
  vertical-align: top;
  perspective: 700px;
  transition: width 0.65s cubic-bezier(0.33, 1, 0.68, 1);
}
.rot-word {
  position: absolute;
  left: 50%;
  top: 0;
  line-height: inherit;
  transform: translateX(-50%) rotateX(70deg) translateY(-0.18em);
  transform-origin: 50% 100%;
  opacity: 0;
  white-space: nowrap;
  font-weight: 800;
  color: var(--orange);
  transition: transform 0.7s var(--ease-expo), opacity 0.45s ease;
  pointer-events: none;
}
.rot-word.is-in { transform: translateX(-50%) rotateX(0) translateY(0); opacity: 1; }
.rot-word.is-leaving { transform: translateX(-50%) rotateX(-78deg) translateY(0.22em); opacity: 0; }
.hero-rule {
  width: min(420px, 60%);
  height: 1px;
  margin: 30px auto;
  background: linear-gradient(90deg, transparent, rgba(138, 122, 85, 0.7), transparent);
}
.hero-sub { max-width: 560px; margin: 22px auto 0; font-size: 15.5px; color: rgba(242, 233, 216, 0.6); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-phone-wrap { perspective: 1100px; margin-top: 70px; display: flex; justify-content: center; }
.hero-phone { transition: transform 0.25s ease; }

.ticker { position: absolute; left: 0; right: 0; bottom: 34px; height: 30px; overflow: hidden; z-index: 2; }
.ticker-item {
  position: absolute;
  left: 0; right: 0;
  color: var(--white);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-expo);
}
.ticker-item.is-active { transform: translateY(0); }
.ticker-item.is-leaving { transform: translateY(-110%); }

.scroll-hint { margin-top: 56px; display: flex; justify-content: center; }
.scroll-line {
  display: block;
  width: 1px; height: 56px;
  background: rgba(242, 233, 216, 0.5);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  40%  { transform: scaleY(1); transform-origin: top; }
  60%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust { background: var(--hero-bg); padding: 40px 0 110px; text-align: center; }
.trust-label { font-size: 13px; font-weight: 600; color: rgba(242, 233, 216, 0.55); letter-spacing: 0.06em; padding: 0 24px; }

/* Infinite logo marquee: track holds two copies of the logo set (2nd added by JS),
   translateX 0 → -50% loops seamlessly */
.marquee {
  margin-top: 34px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding-left: 72px;
  animation: marqueeScroll 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.mlogo {
  height: 44px;
  width: auto;
  flex: 0 0 auto;
  /* black/white/any-color transparent PNG → warm cream silhouette */
  filter: brightness(0) invert(1) sepia(0.2) saturate(1.1) brightness(0.94);
  opacity: 0.9;
}
.mlogo-emblem {
  height: 58px;
  /* full-color emblem with internal knockouts: keep detail, kill color,
     screen-blend drops the darks into the dark background */
  filter: grayscale(1) brightness(1.15);
  mix-blend-mode: screen;
  opacity: 0.9;
}
.mlogo-text {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--tan);
  white-space: nowrap;
  filter: none;
  height: auto;
}

/* ==========================================================================
   KINETIC READ-ALONG (dark)
   ========================================================================== */
.kinetic { background: var(--hero-bg); height: 280vh; position: relative; }
.kinetic-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
/* The dark card starts inset + rounded and zooms up to swallow the screen
   as you scroll (transform/radius driven by JS scroll progress) */
.kinetic-card {
  position: absolute;
  inset: 0;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(24px, 8vw, 120px);
  border-radius: 44px;
  transform: scale(0.86);
  will-change: transform, border-radius;
}
.kinetic-text {
  max-width: 900px;
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-align: center;
}
.kinetic-text .kw { color: rgba(15, 26, 24, 0.16); transition: color 0.18s linear; }
.kinetic-text .kw.is-lit { color: var(--ink); }

/* ==========================================================================
   SERVICES (light)
   ========================================================================== */
.services { background: var(--dark); padding: 120px 24px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 64px auto 0;
}
.service-card {
  display: block;
  background: var(--card-dark);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(201, 180, 140, 0.12);
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.service-media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-expo); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 26px 26px 30px; }
.service-body h3 { font-weight: 800; font-size: 21px; letter-spacing: -0.01em; margin: 14px 0 10px; }
.service-body p { font-size: 14.5px; color: rgba(242, 233, 216, 0.65); }
.service-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--orange);
}

/* ==========================================================================
   HOW IT WORKS (light, sticky horizontal)
   ========================================================================== */
.how { background: var(--dark); height: calc(4 * 78vh); position: relative; }
.how-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 90px 0 40px;
}
.how-head { margin-bottom: 0; }
.how-row {
  display: flex;
  gap: 22px;
  padding: 0 clamp(24px, 5vw, 80px);
  perspective: 1400px;
  will-change: transform;
}
.how-card {
  flex: 0 0 clamp(300px, 34vw, 470px);
  height: min(60vh, 560px);
  border-radius: 37px;
  background: var(--card-dark);
  border: 1px solid rgba(201, 180, 140, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.how-media { position: relative; flex: 1 1 auto; min-height: 0; }
.how-media img, .how-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.how-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45) 100%); }
.how-media .pill-tag { position: absolute; top: 18px; left: 18px; }
.how-body { padding: 22px 26px 26px; }
.how-body h3 { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.how-body p { font-size: 14px; color: rgba(242, 233, 216, 0.65); margin-top: 8px; }

/* ==========================================================================
   CLIENT STORIES (dark)
   ========================================================================== */
.stories { background: var(--cream); color: var(--ink); padding: 130px 24px; }
.stories-head .overline { color: #8a7a55; }
.stories-sub { color: #57605c; margin-top: 18px; font-size: 15.5px; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 64px auto 0;
}
.story-card {
  position: relative;
  aspect-ratio: 280 / 370;
  border-radius: 16px;
  overflow: hidden;
  outline: none;
}
.story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-expo); }
.story-card:hover img, .story-card:focus-visible img { transform: scale(1.04); }
.story-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.78) 100%); }
.story-tag {
  position: absolute;
  left: 20px; bottom: 62px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 233, 216, 0.75);
  font-weight: 600;
}
.story-name {
  position: absolute;
  left: 20px; right: 20px; bottom: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  color: var(--white);
}
.story-chips {
  position: absolute;
  top: 16px; right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.chip {
  display: flex;
  align-items: baseline;
  gap: 7px;
  background: var(--white);
  border-radius: 999px;
  padding: 8px 15px;
  transform: translateX(130%);
  opacity: 0;
  transition: transform 0.5s var(--ease-spring), opacity 0.3s ease;
}
.chip strong { font-size: 14px; color: #1a1206; }
.chip strong:first-child { color: var(--orange); }
.chip span { font-size: 11.5px; font-weight: 600; color: #444; white-space: nowrap; }
.story-card:hover .chip, .story-card:focus-visible .chip { transform: translateX(0); opacity: 1; }
.story-card:hover .chip:nth-child(1) { transition-delay: 0ms; }
.story-card:hover .chip:nth-child(2) { transition-delay: 70ms; }
.story-card:hover .chip:nth-child(3) { transition-delay: 140ms; }

/* ==========================================================================
   WORK PAGE
   ========================================================================== */
.nav-links a.is-current { background: rgba(242, 233, 216, 0.1); }
.work-hero { background: var(--dark); padding: 190px 24px 70px; text-align: center; }
.work-title { max-width: 800px; margin-left: auto; margin-right: auto; }
.work-sub { max-width: 560px; margin: 22px auto 0; font-size: 16px; color: rgba(242, 233, 216, 0.6); }
.work-grid-wrap { background: var(--dark); padding: 20px 24px 150px; border-radius: 0 0 44px 44px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
}
.work-card { display: block; }
.work-card-cta {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.work-cta-inner .overline { color: #8a7a55; }
.work-cta-inner h3 {
  color: var(--ink);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 8px 0 22px;
}
@media (max-width: 768px) {
  .work-hero { padding: 150px 20px 50px; }
  .work-grid { grid-template-columns: 1fr; max-width: 420px; }
  .work-grid-wrap { padding-bottom: 100px; }
}

/* ==========================================================================
   CASE-STUDY PAGES
   ========================================================================== */
.case-hero { background: var(--dark); padding: 190px 24px 60px; text-align: center; }
.case-hero .overline a { color: inherit; }
.case-hero h1 { font-weight: 900; font-size: clamp(34px, 5.5vw, 64px); letter-spacing: -0.02em; line-height: 1.06; max-width: 900px; margin: 14px auto 0; }
.case-blurb { max-width: 640px; margin: 22px auto 0; font-size: 16.5px; color: rgba(242, 233, 216, 0.7); }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.case-gallery { background: var(--dark); padding: 50px 24px 90px; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.case-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}
.case-grid img.case-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.case-results { background: var(--dark); padding: 0 24px 130px; border-radius: 0 0 44px 44px; text-align: center; }
.case-results .svc-points { margin-top: 0; }
.case-results .hero-ctas { margin-top: 44px; }
.case-back { display: inline-block; margin-top: 40px; font-weight: 700; color: var(--tan); }
.case-back:hover { color: var(--orange); }
@media (max-width: 768px) {
  .case-hero { padding: 150px 20px 40px; }
  .case-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SERVICE PAGES
   ========================================================================== */
.svc-hero { background: var(--dark); padding: 190px 24px 70px; text-align: center; }
.svc-hero .h2 { max-width: 840px; margin-left: auto; margin-right: auto; }
.svc-sub { max-width: 600px; margin: 22px auto 0; font-size: 16.5px; color: rgba(242, 233, 216, 0.65); }
.svc-hero .hero-ctas { margin-top: 32px; }

.svc-includes { background: var(--hero-bg); padding: 110px 24px; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1160px;
  margin: 56px auto 0;
}
.svc-item {
  background: var(--card-dark);
  border: 1px solid rgba(201, 180, 140, 0.12);
  border-radius: 22px;
  padding: 30px 28px;
}
.svc-item .pill-tag { margin-bottom: 16px; }
.svc-item h3 { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.svc-item p { font-size: 14.5px; color: rgba(242, 233, 216, 0.65); margin-top: 8px; }

.svc-band { background: var(--dark); padding: 90px 24px; }
.svc-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}
.svc-band-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.svc-why { background: var(--dark); padding: 30px 24px 130px; border-radius: 0 0 44px 44px; }
.svc-why-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.svc-why p.lead { font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; line-height: 1.5; letter-spacing: -0.01em; }
.svc-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}
.svc-point {
  background: var(--card-dark);
  border: 1px solid rgba(201, 180, 140, 0.14);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
}
.svc-point .dot { margin-right: 6px; }
.svc-why .hero-ctas { margin-top: 44px; }

@media (max-width: 768px) {
  .svc-hero { padding: 150px 20px 50px; }
  .svc-includes { padding: 80px 20px; }
  .svc-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .svc-band { padding: 60px 20px; }
  .svc-band-grid { grid-template-columns: 1fr; max-width: 420px; }
  .svc-why { padding-bottom: 100px; }
}

/* ==========================================================================
   FAQ (cream)
   ========================================================================== */
.faq { background: var(--dark); padding: 130px 24px 150px; border-radius: 0 0 44px 44px; }
.faq-list { max-width: 760px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid rgba(242, 233, 216, 0.14); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 20px);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex: 0 0 34px;
  height: 34px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
}
.faq-icon i {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.6px;
  background: var(--orange);
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.faq-icon i:last-child { transform: translate(-50%, -50%) rotate(90deg) scaleX(1); }
.faq-item[open] .faq-icon i:last-child { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }
.faq-body { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.5s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.5s ease; }
.faq-item[open] .faq-body { max-height: 220px; opacity: 1; }
.faq-body p { padding: 0 46px 26px 4px; font-size: 15px; color: rgba(242, 233, 216, 0.7); }

/* ==========================================================================
   BOOK (lead form — dark)
   ========================================================================== */
.book { background: var(--dark); padding: 20px 24px 130px; }
.book-inner { max-width: 640px; margin: 0 auto; }
.book .section-head { text-align: center; margin-bottom: 44px; }
.book-sub { margin: 14px auto 0; max-width: 440px; color: rgba(242, 233, 216, 0.65); font-size: 15.5px; text-align: center; }
.book-form { background: var(--card-light); border-radius: 28px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6b6455; }
.form-field input, .form-field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(15, 26, 24, 0.14);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(252, 153, 42, 0.16); }
.form-field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.book-form .btn { align-self: flex-start; border: none; cursor: pointer; }
.book-form .btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-status { font-size: 14px; font-weight: 600; min-height: 20px; }
.form-status.success { color: #2f7d4f; }
.form-status.error { color: #c0392b; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER (dark, curtain reveal: fixed behind the page, content lifts away)
   ========================================================================== */
/* main carries the dark background itself: sub-pixel seams between sections
   during smooth scroll would otherwise flash the cream fixed footer behind
   the page as thin light lines */
main {
  position: relative;
  z-index: 2;
  background: var(--dark);
  border-radius: 0 0 44px 44px;
}
.footer { background: var(--cream); color: var(--ink); padding: 90px 24px 30px; position: relative; overflow: hidden; }
.footer.is-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.footer-cards {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.footer-card { border-radius: 30px; padding: clamp(32px, 4vw, 56px); }
.footer-dark { background: linear-gradient(150deg, var(--dark-green), var(--dark)); color: var(--cream); }
.footer-wordmark { font-weight: 900; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.01em; }
.footer-dark .wm-tan { color: var(--tan); }
.footer-tag { margin-top: 12px; color: rgba(242, 233, 216, 0.72); font-size: 15px; }
.footer-dark address { font-style: normal; margin-top: 36px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.footer-dark address a:hover { color: var(--orange); }
.footer-light { background: var(--card-light); display: flex; flex-direction: column; gap: 26px; border: 1px solid rgba(15, 26, 24, 0.07); }
.footer-nav, .footer-social { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; font-size: 14.5px; }
.footer-social a { color: #6b6455; }
.footer-nav a:hover, .footer-social a:hover { color: #b06a15; }
.footer-light .btn { margin-top: auto; align-self: flex-start; }
.footer-watermark {
  font-weight: 900;
  font-size: clamp(24px, 7vw, 140px);
  letter-spacing: -0.04em;
  text-align: center;
  color: rgba(15, 26, 24, 0.05);
  user-select: none;
  line-height: 1;
  margin-top: 40px;
  white-space: nowrap;
}
.footer-bottom { text-align: center; font-size: 12.5px; color: #6b6455; margin-top: 18px; }
.footer-bottom a { font-weight: 600; }
.footer-bottom a:hover { color: #b06a15; }

/* ==========================================================================
   CURSOR + NOISE
   ========================================================================== */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border: 1.5px solid rgba(242, 233, 216, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: width 0.3s var(--ease-expo), height 0.3s var(--ease-expo),
              background 0.25s ease, border-color 0.25s ease, opacity 0.3s ease;
  mix-blend-mode: difference;
}
.cursor.is-link {
  width: 52px; height: 52px;
  background: rgba(252, 153, 42, 0.22);
  border-color: transparent;
}
.cursor.is-view {
  width: 88px; height: 88px;
  background: var(--orange);
  border-color: transparent;
  mix-blend-mode: normal;
}
/* click squeeze is applied inside the JS transform (a separate `scale`
   property would multiply the translate coordinates and fling the cursor) */
.cursor-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1206;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-spring);
  white-space: nowrap;
}
.cursor.is-view .cursor-label { opacity: 1; transform: scale(1); }
@media (hover: none) { .cursor { display: none; } }

.noise {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   MOBILE  (breakpoint matches Umano: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .nav { gap: 8px; padding: 8px 8px 8px 18px; top: 12px; width: calc(100vw - 24px); justify-content: space-between; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-logo { font-size: 13.5px; }
  .btn-nav { padding: 10px 16px; font-size: 12px; }

  .hero { padding: 120px 20px 60px; }
  .hero-h1 { font-size: clamp(28px, 8.6vw, 40px); }
  .hero-sub { font-size: 15.5px; }
  .hero-phone-wrap { margin-top: 52px; }
  .phone { width: 230px; height: 470px; }
  .scroll-hint { margin-top: 40px; }

  .trust { padding-bottom: 80px; }
  .trust-row { gap: 12px 26px; }
  .trust-logo { font-size: 12px; }

  .kinetic { height: 220vh; }
  .kinetic-text { font-size: 22px; }

  .services { padding: 90px 20px; }
  .service-grid { grid-template-columns: 1fr; margin-top: 44px; }

  /* How-it-works: native swipe carousel instead of sticky translate */
  .how { height: auto; }
  .how-sticky { position: static; height: auto; overflow: visible; padding: 90px 0 70px; }
  .how-row {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    scrollbar-width: none;
  }
  .how-row::-webkit-scrollbar { display: none; }
  .how-card { flex: 0 0 82vw; height: auto; min-height: 480px; scroll-snap-align: center; }

  .stories { padding: 90px 20px; }
  .stories-grid { grid-template-columns: 1fr; max-width: 420px; margin-top: 44px; }
  /* Chips always visible on touch — hover doesn't exist */
  .story-card .chip { transform: translateX(0); opacity: 1; }

  .faq { padding: 90px 20px; }

  .footer-cards { grid-template-columns: 1fr; }
  .footer-light .btn { align-self: stretch; text-align: center; }
}

/* Test helper (?flat) — collapses scroll-driven sections for full-page capture */
html.flat .kinetic { height: auto; }
html.flat .kinetic-sticky { position: static; height: auto; padding: 120px 24px; }
html.flat .kinetic-text .kw { color: var(--ink); }
html.flat .how { height: auto; }
html.flat .how-sticky { position: static; height: auto; overflow: visible; }
html.flat .how-row { flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .lw-in { transform: none; }
  .kinetic-card { transform: none; border-radius: 0; }
  .kinetic-text .kw { color: var(--ink); }
  .marquee-track { animation: none; }
  .rot-word { transition: none; opacity: 0; }
  .rot-word.is-in { opacity: 1; transform: translateX(-50%); }
  .loader-sub, .loader-phone, .phone-img { opacity: 1; transform: none; }
  .notif { opacity: 1; transform: none; }
  .kinetic-text .kw { color: var(--cream); }
  .chip { transform: none; opacity: 1; }
  .ticker-item { transform: none; opacity: 0; }
  .ticker-item.is-active { opacity: 1; }
}
