@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: block;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 500;
  font-display: block;
}

:root {
  --ink: #000;
  --paper: #fff;
  --dot: #A5C6DC;
  --dot-dark: #7FA8C2;
  --mute: #6f6f6f;
  --line: rgba(0,0,0,0.08);
  --line-dark: rgba(255,255,255,0.12);
  --container: 1440px;
  --gutter: clamp(24px, 5vw, 80px);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; border: 0; background: none; color: inherit; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.eyebrow {
  font-family: 'Inter'; font-weight: 500; font-size: 11px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; background: var(--dot); display: inline-block;
}

/* ---------- CURSOR ---------- */
.cursor {
  position: fixed; top: 0; left: 0; width: 10px; height: 10px;
  background: var(--dot); pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), border-radius .25s var(--ease);
  mix-blend-mode: difference; border-radius: 0;
}
.cursor.hover { width: 44px; height: 44px; background: var(--dot); }
.cursor.label { width: auto; height: auto; padding: 10px 18px; background: var(--dot); color: var(--ink); font-family: 'Oswald'; font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; border-radius: 0; }
.cursor.label::after { content: attr(data-label); white-space: nowrap; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px var(--gutter); background: transparent;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav.on-dark.scrolled { background: rgba(0,0,0,0.82); border-bottom-color: var(--line-dark); }
.nav.on-dark { color: var(--paper); }

.nav .row { max-width: var(--container); margin: 0 auto; }
.brand {
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 28px;
  letter-spacing: -0.01em; line-height: 1;
  display: inline-flex; align-items: flex-end; gap: 4px;
}
.brand .dot { width: 8px; height: 8px; background: var(--dot); align-self: flex-end; margin-bottom: 2px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-family: 'Inter'; font-weight: 500; font-size: 14px; letter-spacing: 0.02em;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: currentColor; transition: right .35s var(--ease);
}
.nav-links a:hover::after { right: 0; }
.nav .cta {
  font-family: 'Oswald'; font-weight: 600; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 12px 22px; border: 1.5px solid currentColor;
  display: inline-flex; align-items: center; gap: 8px; transition: background .3s var(--ease), color .3s var(--ease);
}
.nav .cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav.on-dark .cta:hover { background: var(--dot); color: var(--ink); border-color: var(--dot); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; background: var(--ink); color: var(--paper);
  padding: 140px var(--gutter) 100px; overflow: hidden;
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; top: -200px; right: -200px; width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(165,198,220,0.22), transparent 70%);
  pointer-events: none;
}
.hero .inner { max-width: var(--container); margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.hero-eyebrow { color: var(--paper); opacity: 0.78; margin-bottom: 36px; }
.hero h1 {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(48px, 7vw, 108px);
  letter-spacing: -0.025em; line-height: 0.95; text-transform: uppercase;
  max-width: 15ch;
}
.hero h1 .hl { position: relative; display: inline-block; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.18em;
  background: var(--dot); z-index: -1; opacity: 0.88;
}
.hero h1 .punct { color: var(--dot); }
.hero .sub {
  font-size: 18px; max-width: 52ch; margin-top: 40px; color: #d4d4d4;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 20px; margin-top: 48px; flex-wrap: wrap; align-items: center; }
.btn {
  font-family: 'Oswald'; font-weight: 600; font-size: 14px; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 18px 30px;
  display: inline-flex; align-items: center; gap: 12px;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn.primary { background: var(--dot); color: var(--ink); }
.btn.primary:hover { background: var(--paper); transform: translateY(-2px); }
.btn.ghost { border: 1.5px solid rgba(255,255,255,0.35); color: var(--paper); }
.btn.ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.dark:hover { background: var(--dot); color: var(--ink); }
.btn .arrow { width: 16px; height: 12px; background: currentColor; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 12"><path d="M10 1l5 5-5 5M15 6H0" stroke="black" stroke-width="1.6" fill="none"/></svg>') no-repeat center / contain; }

/* scroll indicator */
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: 'Oswald'; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--dot)); animation: drop 2s infinite; }
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- MARQUEE (three-word mantra) ---------- */
.marquee {
  background: var(--ink); color: var(--paper); overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding: 28px 0;
}
.marquee .track {
  display: flex; gap: 64px; white-space: nowrap; animation: slide 52s linear infinite;
  font-family: 'Oswald'; font-weight: 600; font-size: 22px; letter-spacing: 0.14em; text-transform: uppercase;
  align-items: center; padding-right: 64px;
}
.marquee .track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee .track span::after { content: ""; width: 7px; height: 7px; background: var(--dot); }
.marquee.mantra .track span:nth-child(3n)::after { background: var(--dot); }
.marquee.mantra .track span:nth-child(3n-1) { color: var(--dot); }
@keyframes slide { to { transform: translateX(-50%); } }

/* mantra-band: a light reprise between services and work */
.mantra-band {
  background: var(--paper); color: var(--ink); overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.mantra-band .track {
  display: flex; gap: 56px; white-space: nowrap; animation: slide 60s linear infinite;
  font-family: 'Oswald'; font-weight: 700; font-size: clamp(44px, 6vw, 88px);
  letter-spacing: -0.02em; line-height: 1; text-transform: uppercase; align-items: center;
  padding-right: 56px;
}
.mantra-band .track span { display: inline-flex; align-items: center; gap: 56px; }
.mantra-band .track span i { font-style: normal; color: var(--dot); }
.mantra-band .track span:nth-child(2)::before,
.mantra-band .track span:nth-child(3)::before { content: ""; }

/* ---------- WHY US / DIFFERENTIATORS ---------- */
.whyus { background: var(--paper); padding: 140px var(--gutter); border-top: 1px solid var(--line); }
.whyus .inner { max-width: var(--container); margin: 0 auto; }
.edge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.edge {
  padding: 48px; border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  background: var(--paper);
}
.edge::before {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 4px; background: var(--dot);
  transition: width .5s var(--ease);
}
.edge:hover { border-color: var(--ink); transform: translateY(-4px); }
.edge:hover::before { width: 100%; }
.edge-num { font-family: 'Oswald'; font-weight: 600; font-size: 13px; letter-spacing: 0.22em; color: var(--dot-dark); }
.edge-title { font-family: 'Oswald'; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.005em; text-transform: uppercase; margin: 18px 0 16px; line-height: 1.1; }
.edge p { font-size: 15px; color: #444; line-height: 1.65; max-width: 52ch; }

@media (max-width: 900px) {
  .edge-grid { grid-template-columns: 1fr; }
  .edge { padding: 32px; }
}

/* Service brand sub-label */
.svc-brand {
  display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 12px;
  letter-spacing: 0.18em; text-transform: lowercase; color: var(--dot); margin-top: 8px;
}

/* ---------- SECTION BASE ---------- */
section { padding: 140px var(--gutter); position: relative; }
section .inner { max-width: var(--container); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; margin-bottom: 80px; align-items: end; }
.section-head h2 {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -0.02em; line-height: 1; text-transform: uppercase;
  max-width: 16ch;
}
.section-head p { font-size: 18px; line-height: 1.6; color: var(--mute); max-width: 58ch; }
.section-head .label-col .eyebrow { margin-bottom: 24px; }

/* ---------- STATS ---------- */
.stats { background: var(--paper); border-top: 1px solid var(--line); padding: 120px var(--gutter); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 48px 0 8px; border-right: 1px solid var(--line); padding-right: 24px; }
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: clamp(56px, 6.5vw, 108px); letter-spacing: -0.02em; line-height: 1;
}
.stat .num .unit { color: var(--dot-dark); }
.stat .lbl { font-size: 13px; color: var(--mute); margin-top: 20px; letter-spacing: 0.02em; line-height: 1.5; max-width: 22ch; }

/* ---------- SERVICES ---------- */
.services { background: var(--ink); color: var(--paper); }
.services .section-head h2 { color: var(--paper); }
.services .section-head p { color: #a8a8a8; }
.services .eyebrow { color: #a8a8a8; }

.svc-list { border-top: 1px solid var(--line-dark); }
.svc {
  display: grid; grid-template-columns: 80px 1.5fr 2fr 1fr; gap: 40px; align-items: center;
  padding: 44px 0; border-bottom: 1px solid var(--line-dark);
  position: relative; transition: padding .4s var(--ease);
}
.svc::before {
  content: ""; position: absolute; left: -100%; right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(165,198,220,0.08)); transition: left .6s var(--ease);
  pointer-events: none;
}
.svc:hover::before { left: 0; }
.svc:hover { padding-left: 24px; }
.svc .idx { font-family: 'Oswald'; font-weight: 500; font-size: 14px; color: var(--dot); letter-spacing: 0.18em; }
.svc .name { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.01em; text-transform: uppercase; line-height: 1.05; }
.svc .desc { font-size: 15px; color: #c7c7c7; line-height: 1.6; max-width: 48ch; }
.svc .tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.svc .tag { font-family: 'Inter'; font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line-dark); color: #c7c7c7; }

/* ---------- WORK ---------- */
.work { background: var(--paper); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.case {
  position: relative; cursor: none; overflow: hidden;
}
.case .thumb {
  aspect-ratio: 4 / 3; background: #1a1a1a; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.12);
  font-family: 'Oswald'; font-weight: 700; font-size: 80px; letter-spacing: -0.03em; text-transform: uppercase;
  transition: transform .6s var(--ease);
}
.case .thumb::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(165,198,220,0.3));
  opacity: 0; transition: opacity .4s var(--ease);
}
.case:hover .thumb { transform: scale(1.02); }
.case:hover .thumb::after { opacity: 1; }
.case .meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 20px; gap: 24px; }
.case h3 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -0.005em; text-transform: uppercase; }
.case .result { font-family: 'Oswald'; font-weight: 700; font-size: 26px; color: var(--dot-dark); letter-spacing: -0.01em; white-space: nowrap; }
.case .tagrow { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.case .tagrow span { font-family: 'Inter'; font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.case .tagrow span + span::before { content: "·"; margin-right: 8px; color: var(--dot-dark); }

/* ---------- FOUNDERS ---------- */
.founders { background: var(--paper); border-top: 1px solid var(--line); }
.founders .section-head p strong { color: var(--ink); }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.founder {
  border: 1px solid var(--line); padding: 40px; position: relative; transition: border-color .3s var(--ease), transform .3s var(--ease);
  display: flex; flex-direction: column; gap: 24px;
}
.founder:hover { border-color: var(--ink); transform: translateY(-4px); }
.founder .portrait {
  aspect-ratio: 1; background: #efefef; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px;
}
.founder .portrait::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #e8eff4 0%, #A5C6DC 100%);
}
.founder .portrait .initials {
  position: relative; font-family: 'Oswald'; font-weight: 700; font-size: 140px; color: rgba(0,0,0,0.18); letter-spacing: -0.03em; line-height: 0.8;
}
.founder .name { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 32px; letter-spacing: -0.01em; text-transform: uppercase; }
.founder .role { font-family: 'Inter'; font-weight: 500; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }
.founder .bio { font-size: 15px; line-height: 1.65; color: #333; }
.founder .links { display: flex; gap: 16px; margin-top: auto; padding-top: 16px; }
.founder .links a { font-family: 'Oswald'; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; border-bottom: 1px solid var(--dot); padding-bottom: 2px; }

/* ---------- LOGOS / CLIENT MARQUEE ---------- */
.logos {
  background: var(--paper); padding: 72px 0 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; position: relative;
}
.logos .label { text-align: center; margin-bottom: 44px; padding: 0 var(--gutter); }
.logo-marquee {
  position: relative; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee + .logo-marquee { margin-top: 28px; }
.logo-marquee .track {
  display: flex; align-items: center; gap: 72px; padding-right: 72px;
  animation: logoslide 48s linear infinite;
  flex-shrink: 0; min-width: 100%;
}
.logo-marquee.reverse .track { animation-direction: reverse; animation-duration: 56s; }
.logo-marquee .logo {
  display: inline-flex; align-items: center; justify-content: center; height: 56px; min-width: 140px;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.005em;
  color: #222; opacity: 0.6; transition: opacity .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap; padding: 0 8px;
}
.logo-marquee .logo.serif { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 500; letter-spacing: 0; font-size: 28px; }
.logo-marquee .logo.script { font-family: 'Oswald', sans-serif; font-weight: 400; letter-spacing: 0.02em; font-size: 22px; text-transform: none; }
.logo-marquee .logo.condensed { font-family: 'Oswald'; font-weight: 500; letter-spacing: 0.14em; font-size: 18px; text-transform: uppercase; }
.logo-marquee .logo + .logo::before { content: "·"; color: var(--mute); opacity: 0.5; font-size: 28px; margin-right: var(--logo-gap, 48px); align-self: center; }
.logo-marquee .track { gap: var(--logo-gap, 48px); }
.logo-marquee .logo:hover { opacity: 1; color: var(--ink); transform: translateY(-2px); }
.logo-marquee .logo .dot-accent { width: 5px; height: 5px; background: var(--dot); display: inline-block; margin-left: 3px; align-self: center; margin-bottom: -2px; vertical-align: baseline; }
@keyframes logoslide { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- FIND US / OFF-GRID ---------- */
.find-us { background: var(--paper); padding: 120px var(--gutter); border-top: 1px solid var(--line); }
.find-us .inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; align-items: start; }
.find-us .head h2 { font-family: 'Oswald'; font-weight: 700; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.02em; line-height: 1; text-transform: uppercase; max-width: 12ch; }
.find-us .head h2 .dot { color: var(--dot); }
.find-us .head .eyebrow { margin-bottom: 20px; }
.find-us .spots { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.find-us .spots li { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: center; transition: padding-left .4s var(--ease); }
.find-us .spots li:hover { padding-left: 16px; }
.find-us .spots .s-num { font-family: 'Oswald'; font-weight: 600; font-size: 13px; letter-spacing: 0.22em; color: var(--dot-dark); }
.find-us .spots .s-txt { font-family: 'Oswald'; font-weight: 500; font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.005em; line-height: 1.25; }
@media (max-width: 900px) {
  .find-us { padding: 64px var(--gutter); }
  .find-us .inner { grid-template-columns: 1fr; gap: 32px; }
  .find-us .spots li { grid-template-columns: 60px 1fr; gap: 16px; padding: 20px 0; }
  .find-us .spots .s-txt { font-size: 16px; }
}

/* ---------- CERTIFICATIONS ---------- */
.certs { max-width: var(--container); margin: 56px auto 0; padding: 36px var(--gutter) 0; border-top: 1px solid var(--line); }
.certs-label { font-family: 'Oswald'; font-weight: 600; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); text-align: center; margin-bottom: 24px; }
.certs-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
.cert { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.cert:hover { border-color: var(--ink); transform: translateY(-2px); }
.cert .c-mark { width: 8px; height: 8px; background: var(--dot); display: inline-block; flex-shrink: 0; }
.cert .c-name { font-family: 'Oswald'; font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }

/* ---------- CREATIVE CAROUSEL ---------- */
.creative { background: var(--paper); padding: 140px 0; overflow: hidden; }
.creative .head { max-width: var(--container); margin: 0 auto 64px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: end; }
.creative .head h2 { font-family: 'Oswald'; font-weight: 700; font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -0.02em; line-height: 1; text-transform: uppercase; }
.creative .head p { font-size: 18px; color: var(--mute); max-width: 58ch; line-height: 1.6; }
.creative .head .eyebrow { margin-bottom: 24px; }

.carousel {
  position: relative;
  padding: 0 0 0 var(--gutter);
}
.carousel-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 40px; padding-right: var(--gutter);
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 min(520px, 82vw); aspect-ratio: 3 / 4; scroll-snap-align: start;
  position: relative; overflow: hidden; background: #1a1a1a;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  color: var(--paper);
  cursor: none;
}
.slide img, .slide video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease);
  z-index: 0;
}
.slide::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%);
  z-index: 1; pointer-events: none;
}
.slide:hover img, .slide:hover video { transform: scale(1.04); }
.slide .slide-meta { position: relative; z-index: 2; }
.slide .tag { font-family: 'Oswald'; font-weight: 600; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dot); }
.slide .title { font-family: 'Oswald'; font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: -0.005em; margin-top: 8px; line-height: 1.1; }
.slide .sub { font-size: 13px; color: #d4d4d4; margin-top: 6px; }

.carousel-controls {
  display: flex; justify-content: space-between; align-items: center; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); margin-top: 16px;
}
.carousel-controls .pager { font-family: 'Oswald'; font-size: 13px; letter-spacing: 0.18em; color: var(--mute); }
.carousel-controls .arrows { display: flex; gap: 12px; }
.carousel-controls .arrows button {
  width: 52px; height: 52px; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.carousel-controls .arrows button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.carousel-controls .arrows svg { width: 18px; height: 18px; }


/* ---------- CTA ---------- */
.end-cta { background: var(--ink); color: var(--paper); padding: 160px var(--gutter); text-align: center; position: relative; overflow: hidden; }
.end-cta::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(165,198,220,0.12), transparent 60%); pointer-events: none;
}
.end-cta h2 { font-family: 'Oswald'; font-weight: 700; font-size: clamp(44px, 7vw, 112px); letter-spacing: -0.02em; line-height: 0.95; text-transform: uppercase; max-width: 18ch; margin: 0 auto; position: relative; z-index: 2; }
.end-cta h2 .dot { color: var(--dot); }
.end-cta .sub { font-size: 18px; color: #d4d4d4; margin-top: 32px; max-width: 56ch; margin-left: auto; margin-right: auto; position: relative; z-index: 2; }
.end-cta .row-ctas { display: inline-flex; gap: 20px; margin-top: 48px; position: relative; z-index: 2; flex-wrap: wrap; justify-content: center; }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: var(--paper); padding: 80px var(--gutter) 40px; border-top: 1px solid var(--line-dark); }
footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
footer h4 { font-family: 'Oswald'; font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: #888; margin-bottom: 20px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer a { font-size: 14px; color: #d4d4d4; transition: color .2s var(--ease); }
footer a:hover { color: var(--dot); }
footer .brand-col p { font-size: 14px; color: #999; margin-top: 20px; max-width: 32ch; line-height: 1.6; }
footer .bottom {
  border-top: 1px solid var(--line-dark); padding-top: 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: #666; letter-spacing: 0.04em;
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- MOBILE NAV TOGGLE ---------- */
.nav-toggle {
  display: none; width: 44px; height: 44px; position: relative; z-index: 110;
  cursor: pointer; padding: 0; border: 0; background: transparent; color: inherit;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.8px; background: currentColor; margin: 0 auto;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
  position: absolute; left: 11px; right: 11px;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: 0; background: var(--ink); color: var(--paper);
  z-index: 99; padding: 120px var(--gutter) 60px;
  display: flex; flex-direction: column; gap: 28px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
  overflow-y: auto;
}
body.nav-open .nav-drawer { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-drawer a.draw-link {
  font-family: 'Oswald'; font-weight: 700; font-size: clamp(40px, 9vw, 64px);
  letter-spacing: -0.015em; text-transform: uppercase; line-height: 1;
  border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-drawer a.draw-link::after {
  content: "→"; color: var(--dot); font-size: 0.55em; transform: translateX(-8px); transition: transform .3s var(--ease);
}
.nav-drawer a.draw-link:active::after { transform: translateX(0); }
.nav-drawer .draw-foot {
  margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 14px;
  font-family: 'Inter'; font-size: 14px; color: #9a9a9a;
}
.nav-drawer .draw-foot a { color: var(--dot); }
body.nav-open { overflow: hidden; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .creative .head { grid-template-columns: 1fr; gap: 24px; }
  .event-head { grid-template-columns: 1fr !important; gap: 24px !important; }
}

@media (max-width: 900px) {
  .nav { padding: 14px var(--gutter); }
  .nav-links { display: none; }
  .nav .cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .brand { font-size: 24px; }

  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; padding-right: 16px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 20px; }
  .stat:nth-last-child(-n+1), .stat:nth-last-child(-n+2) { border-bottom: 0; }

  .svc { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .svc:hover { padding-left: 0; }
  .svc .desc, .svc .tags { grid-column: 1 / -1; padding-left: 0; justify-content: flex-start; }
  .svc .tags { padding-left: 0; }
  .svc .name { font-size: 28px; }

  .work-grid { grid-template-columns: 1fr; gap: 24px; }
  .case h3, .case .result { font-size: 20px; }
  .case .meta { flex-wrap: wrap; gap: 8px; }

  .founder-grid { grid-template-columns: 1fr; gap: 24px; }
  .founder { padding: 28px; gap: 20px; }
  .founder .portrait .initials { font-size: 100px; }
  .founder .name { font-size: 26px; }

  .edge-grid { grid-template-columns: 1fr; gap: 16px; }
  .edge { padding: 28px; }

  footer .top { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
  footer .brand-col { grid-column: 1 / -1; }
  footer .bottom { flex-direction: column; gap: 10px; align-items: flex-start; }

  section { padding: 80px var(--gutter); }
  .hero { padding: 120px var(--gutter) 80px; min-height: auto; }
  .hero .sub { font-size: 17px; margin-top: 28px; }
  .hero-ctas { gap: 14px; margin-top: 36px; }
  .hero-ctas .btn { padding: 16px 24px; font-size: 13px; flex: 1 1 auto; justify-content: center; }
  .scroll-cue { display: none; }

  .marquee .track { font-size: 16px; gap: 40px; }
  .marquee .track span { gap: 40px; }
  .mantra-band .track { gap: 36px; padding-right: 36px; }
  .mantra-band .track span { gap: 36px; }

  .logos { padding: 56px 0 60px; }
  .logos .label { margin-bottom: 32px; }
  .logo-marquee .logo { font-size: 20px; min-width: 120px; height: 44px; }
  .logo-marquee .logo.serif { font-size: 22px; }
  .logo-marquee .logo.condensed { font-size: 14px; }
  .logo-marquee + .logo-marquee { margin-top: 18px; }
  .certs { margin-top: 40px; padding-top: 28px; }
  .cert { padding: 10px 14px; }
  .cert .c-name { font-size: 11px; letter-spacing: 0.1em; }

  .creative { padding: 80px 0; }
  .creative .head { margin-bottom: 36px; }
  .slide { flex: 0 0 82vw; padding: 20px; }
  .slide .title { font-size: 20px; }
  .carousel-controls .arrows button { width: 44px; height: 44px; }
  .carousel-controls .arrows svg { width: 16px; height: 16px; }

  .end-cta { padding: 100px var(--gutter); }
  .end-cta .sub { font-size: 16px; }
  .end-cta .row-ctas { flex-direction: column; width: 100%; gap: 12px; }
  .end-cta .row-ctas .btn { width: 100%; justify-content: center; padding: 16px 24px; font-size: 13px; }

  .about-hero { padding: 140px var(--gutter) 80px !important; }
  .about-hero h1 { font-size: clamp(40px, 10vw, 72px) !important; }
  .about-hero .sub { font-size: 17px !important; margin-top: 28px !important; }

  .story { padding: 80px var(--gutter) !important; }
  .story .inner { grid-template-columns: 1fr !important; gap: 40px !important; }
  .timeline { position: static !important; }
  .tl-item { grid-template-columns: 80px 1fr !important; gap: 16px !important; padding: 24px 0 !important; }
  .tl-year { font-size: 22px !important; }

  .group-grid { padding: 80px var(--gutter) !important; }
  .brands { grid-template-columns: 1fr !important; margin-top: 40px !important; }
  .brand-card { padding: 32px 24px !important; min-height: auto !important; }

  .events { padding: 80px var(--gutter) !important; }
  .event-row { grid-template-columns: 90px 1fr !important; gap: 12px !important; padding: 22px 0 !important; }
  .event-row .e-place, .event-row .e-tag { grid-column: 1 / -1; }
  .event-row .e-tag { text-align: left !important; }
  .event-row .e-title { grid-column: 1 / -1; }

  .manifesto { padding: 100px var(--gutter) !important; }
  .manifesto blockquote { font-size: clamp(26px, 6.5vw, 44px) !important; }

  .nav .cta { display: none; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(odd) { border-right: 0 !important; padding-right: 0; }
  .hero h1 { font-size: clamp(42px, 11vw, 68px); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  footer .top { grid-template-columns: 1fr; }
  .slide { flex: 0 0 88vw; }
}

/* ---------- TOUCH DEVICES ---------- */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .cursor { display: none !important; }
  body, button, a, .slide, .case { cursor: auto !important; }
  /* Tap feedback */
  .btn:active { transform: scale(0.97); }
  .svc:active { background: rgba(165,198,220,0.06); }
  .case:active .thumb { transform: scale(1.01); }
  .edge:active { border-color: var(--dot); transform: translateY(-2px); }
}
