/* ==========================================================================
   Connected Group — site.css
   ========================================================================== */

@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist.woff2') format('woff2');
}

:root {
  --bone:    #F3EDE4;
  --paper:   #FAF7F2;
  --ink:     #1D130C;
  --cocoa:   #2B1C12;
  --caramel: #A65F2A;
  --clay:    #CF9466;
  --olive:   #5F5B45;
  --rust:    #8A3A22;
  --sand:    #E6DACB;

  --text:    var(--ink);
  --muted:   rgba(29,19,12,.58);
  --faint:   rgba(29,19,12,.34);
  --line:    rgba(29,19,12,.14);

  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-sans:    'Geist', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --radius: clamp(14px, 1.6vw, 26px);
  --ease:   cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --fs-xs:  12px;
  --fs-sm:  14px;
  --fs-md:  clamp(16px, 1.15vw, 18px);
  --fs-lg:  clamp(19px, 1.6vw, 24px);
  --fs-xl:  clamp(28px, 3.4vw, 52px);
  --fs-2xl: clamp(40px, 6vw, 96px);
  --fs-3xl: clamp(54px, 10.5vw, 188px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--f-sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--caramel); color: var(--paper); }
:focus-visible { outline: 2px solid var(--caramel); outline-offset: 4px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 99px; transform: translateY(-200%); transition: transform .3s; }
.skip:focus { transform: none; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 380;
  font-variation-settings: 'opsz' 144, 'SOFT' 60, 'WONK' 0;
  letter-spacing: -.035em;
  line-height: .95;
}
.display em, .h2 em, .h3 em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: var(--caramel);
}
.h2 {
  font-family: var(--f-display);
  font-weight: 340;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: var(--fs-2xl);
  line-height: .98;
  letter-spacing: -.03em;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 380;
  font-variation-settings: 'opsz' 72, 'SOFT' 30;
  font-size: var(--fs-xl);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--caramel); flex: none; }
.lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }

/* line-mask helper for SplitText lines */
.line-mask { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--gutter); }
.section { padding-block: clamp(96px, 14vw, 220px); position: relative; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 32px); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 10px 0 28px; border-radius: 99px;
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--caramel);
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn-ico {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fg); color: var(--bg); overflow: hidden; position: relative;
}
.btn-ico svg { width: 14px; height: 14px; transition: transform .55s var(--ease); }
.btn-ico svg + svg { position: absolute; transform: translate(-180%, 180%); }
.btn:hover .btn-ico svg:first-child { transform: translate(180%, -180%); }
.btn:hover .btn-ico svg + svg { transform: none; }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light:hover { color: var(--paper); }
.btn--light:hover .btn-ico { background: var(--paper); color: var(--ink); }
.btn-label { position: relative; display: inline-block; overflow: hidden; }
.btn-label span { display: block; transition: transform .55s var(--ease); }
.btn-label span + span { position: absolute; inset: 0; transform: translateY(110%); }
.btn:hover .btn-label span:first-child { transform: translateY(-110%); }
.btn:hover .btn-label span + span { transform: none; }

.link-u {
  position: relative; display: inline-block;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 2.4vw, 32px) var(--gutter) 18px;
  transition: transform .6s var(--ease), background-color .4s, padding .4s var(--ease);
}
.nav.is-scrolled { background: rgba(243,237,228,.78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); padding-block: 14px; }
.nav.is-hidden { transform: translateY(-110%); }
.nav-logo { display: block; flex: none; width: clamp(118px, 10vw, 150px); color: var(--ink); line-height: 0; }
.nav-logo svg { width: 100%; height: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; padding: 5px; border-radius: 99px; background: rgba(250,247,242,.6); border: 1px solid var(--line); }
.nav.is-scrolled .nav-links { background: transparent; border-color: transparent; }
.nav-links a {
  display: block; padding: 9px 16px; border-radius: 99px; font-size: 14px; font-weight: 450;
  transition: background-color .35s, color .35s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav .btn { height: 46px; padding-left: 22px; font-size: 14px; }
.nav .btn-ico { width: 30px; height: 30px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; z-index: 260; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 250; background: var(--cocoa); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 36px;
  clip-path: circle(0% at calc(100% - var(--gutter) - 23px) 41px);
  transition: clip-path .9s var(--ease-io);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - var(--gutter) - 23px) 41px); visibility: visible; }
.menu-links { list-style: none; }
.menu-links a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display); font-weight: 340; font-size: clamp(44px, 12vw, 80px); line-height: 1.08; letter-spacing: -.03em;
}
.menu-links small { font-family: var(--f-sans); font-size: 12px; color: var(--clay); letter-spacing: .1em; }
.menu-links li { overflow: hidden; }
.menu-links li a { transform: translateY(105%); transition: transform .8s var(--ease); }
.menu-open .menu-links li a { transform: none; }
.menu-open .menu-links li:nth-child(2) a { transition-delay: .06s; }
.menu-open .menu-links li:nth-child(3) a { transition-delay: .12s; }
.menu-open .menu-links li:nth-child(4) a { transition-delay: .18s; }
.menu-open .menu-links li:nth-child(5) a { transition-delay: .24s; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: rgba(250,247,242,.7); }
.menu-open .nav-logo { color: var(--paper); }
.menu-open .nav { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; z-index: 300; transform: none; }
.menu-open .burger { background: var(--paper); }
.menu-open .burger span { background: var(--ink); }

/* nav over dark sections */
.nav-logo, .nav-links, .nav-links a, .burger { transition: color .4s, background-color .4s, border-color .4s; }
.burger span { transition: background-color .4s, transform .5s var(--ease), top .5s var(--ease); }
.nav.is-dark .nav-logo { color: var(--paper); }
.nav.is-dark.is-scrolled { background: rgba(43,28,18,.72); }
.nav.is-dark .nav-links { color: var(--paper); background: rgba(250,247,242,.08); border-color: rgba(250,247,242,.16); }
.nav.is-dark.is-scrolled .nav-links { background: transparent; border-color: transparent; }
.nav.is-dark .nav-links a:hover, .nav.is-dark .nav-links a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.nav.is-dark .btn { --bg: var(--paper); --fg: var(--ink); }
.nav.is-dark .btn:hover { color: var(--paper); }
.nav.is-dark .burger { background: var(--paper); }
.nav.is-dark .burger span { background: var(--ink); }

/* ---------- preloader & transitions ---------- */
.loader {
  position: fixed; inset: 0; z-index: 800; background: var(--cocoa); color: var(--paper);
  display: grid; place-items: center; pointer-events: none;
}
.loader-logo { width: min(68vw, 760px); }
.loader-logo svg { overflow: hidden; }
.loader-count {
  position: absolute; right: var(--gutter); bottom: 28px;
  font-family: var(--f-display); font-size: clamp(56px, 9vw, 140px); font-weight: 300; line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; color: var(--clay);
}
.loader-meta { position: absolute; left: var(--gutter); bottom: 34px; font-size: 13px; color: rgba(250,247,242,.6); letter-spacing: .02em; }
.loader-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--caramel); transform: scaleX(0); transform-origin: left; }
html:not(.has-loader) .loader { display: none; }

.curtain {
  position: fixed; inset: 0; z-index: 790; pointer-events: none;
  background: var(--caramel);
  transform: translateY(100%);
}
.curtain-2 { background: var(--cocoa); }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .3s, opacity .3s;
  opacity: 0;
}
.cursor span { font-size: 13px; font-weight: 500; color: var(--paper); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); white-space: nowrap; }
.cursor.is-active { opacity: 1; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(166,95,42,.22); }
.cursor.is-label { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--caramel); }
.cursor.is-label span { opacity: 1; transform: none; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   HOME
   ========================================================================== */

/* hero */
.hero { padding: clamp(120px, 15vw, 190px) var(--gutter) 0; position: relative; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); }
.hero-title { font-size: clamp(54px, 12.2vw, 230px); }
.hero-title .row { display: block; }
.hero-title .row--indent { padding-left: clamp(0px, 14vw, 260px); }
.hero-bottom {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px;
  margin-top: clamp(28px, 4vw, 56px); margin-bottom: clamp(40px, 5vw, 72px);
}
.hero-bottom .lead { max-width: 30em; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

.hero-media { position: relative; margin-inline: calc(var(--gutter) * -1); }
/* frame always keeps the photo's own 3:2 ratio so the whole team stays in view */
.hero-frame {
  position: relative; aspect-ratio: 2000 / 1333; overflow: hidden;
  clip-path: inset(0 var(--gutter) 0 var(--gutter) round var(--radius));
  will-change: clip-path;
}
.hero-frame picture { position: absolute; inset: 0; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; will-change: transform; }
.hero-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 72%, rgba(29,19,12,.45)); pointer-events: none; }
.hero-caption {
  position: absolute; left: calc(var(--gutter) * 2); right: calc(var(--gutter) * 2); bottom: clamp(24px, 4vw, 52px); z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; color: var(--paper);
}
.hero-caption p { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -.02em; font-weight: 340; max-width: 14em; }
.hero-caption span { font-size: 13px; opacity: .8; }

/* manifesto */
.manifesto { background: var(--bone); }
.manifesto-inner { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(20px, 3vw, 48px); }
.manifesto-text {
  font-family: var(--f-display); font-weight: 340; font-variation-settings: 'opsz' 96, 'SOFT' 30;
  font-size: clamp(30px, 4.3vw, 72px); line-height: 1.06; letter-spacing: -.025em; text-indent: 2.2em;
}
.manifesto-text .w { text-indent: 0; }
.no-anim .manifesto-text .w { opacity: 1; }
.manifesto-text em { font-style: italic; color: var(--caramel); font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1; }
.manifesto-side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.manifesto-foot { margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: 3fr 4fr 5fr; gap: clamp(20px, 3vw, 48px); align-items: end; }
.manifesto-foot p { color: var(--muted); max-width: 30em; }

/* marquee */
.marquee { overflow: hidden; padding-block: clamp(18px, 2.4vw, 34px); border-block: 1px solid var(--line); background: var(--bone); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item {
  display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 48px); padding-right: clamp(22px, 3vw, 48px);
  font-family: var(--f-display); font-weight: 340; font-size: clamp(40px, 7vw, 120px); line-height: 1; letter-spacing: -.035em; white-space: nowrap;
}
.marquee-item:nth-child(even) { font-style: italic; color: var(--caramel); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.marquee-dot { width: .22em; height: .22em; border-radius: 50%; background: currentColor; flex: none; }

/* companies — stacked cards */
.companies { padding-top: clamp(96px, 12vw, 180px); padding-bottom: clamp(48px, 6vw, 96px); }
.companies-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.companies-head .lead { justify-self: end; }
.stack { position: relative; }
.card {
  --c-bg: var(--cocoa); --c-fg: var(--paper); --c-acc: var(--clay);
  position: sticky; top: clamp(76px, 9vh, 100px);
  min-height: min(82vh, 760px);
  margin-bottom: clamp(20px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--c-bg); color: var(--c-fg);
  padding: clamp(24px, 3.4vw, 56px);
  display: grid; grid-template-columns: 4fr 6fr; grid-template-rows: auto 1fr auto; gap: clamp(24px, 3vw, 48px) clamp(24px, 4vw, 72px);
  overflow: hidden; transform-origin: 50% 0;
  will-change: transform;
}
.card:last-child { margin-bottom: 0; }
.card--creators { --c-bg: #A65F2A; --c-fg: #FAF7F2; --c-acc: #2B1C12; }
.card--brands   { --c-bg: #2B1C12; --c-fg: #FAF7F2; --c-acc: #CF9466; }
.card--publish  { --c-bg: #E6DACB; --c-fg: #1D130C; --c-acc: #8A3A22; }
.card--nextgen  { --c-bg: #5F5B45; --c-fg: #FAF7F2; --c-acc: #E9D9A6; }
.card-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.card-idx { font-variant-numeric: tabular-nums; opacity: .7; }
.card-tag { padding: 8px 14px; border: 1px solid currentColor; border-radius: 99px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.card-main { grid-column: 1; align-self: end; display: flex; flex-direction: column; gap: 24px; }
.card-main p { font-size: var(--fs-md); line-height: 1.55; opacity: .88; max-width: 34em; }
.card-name {
  font-family: var(--f-display); font-weight: 340; font-size: clamp(44px, 6vw, 108px); line-height: .9; letter-spacing: -.04em;
  font-variation-settings: 'opsz' 144, 'SOFT' 40; margin-bottom: 8px;
}
.card-name em { display: block; font-style: italic; color: var(--c-acc); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.card-media { grid-column: 2; align-self: end; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1vw, 16px); align-items: end; }
.card-media--3 { grid-template-columns: repeat(3, 1fr); padding-left: 12%; }
.tile { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tile:nth-child(even) { transform: translateY(-28px); }
.tile-img { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: color-mix(in srgb, var(--c-fg) 10%, transparent); box-shadow: 0 24px 50px -28px rgba(18,11,6,.55); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.1); }
.tile figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.3; }
.tile figcaption b { font-weight: 500; }
.tile figcaption span { opacity: .65; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.card-list li { padding: 7px 14px; border-radius: 99px; background: color-mix(in srgb, var(--c-fg) 12%, transparent); font-size: 13.5px; }
.card-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--c-fg) 22%, transparent); }
.card-url { font-size: 14px; opacity: .75; }
.card .btn { --bg: var(--c-fg); --fg: var(--c-bg); }
.card .btn::before { background: var(--c-acc); }
.card .btn:hover { color: var(--c-bg); }
.card--brands .btn:hover, .card--creators .btn:hover, .card--nextgen .btn:hover { color: var(--c-fg); }
.card--publish .btn:hover { color: var(--paper); }
.card-glyph {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  font-family: var(--f-display); font-weight: 800; font-size: clamp(260px, 42vw, 720px); line-height: .8;
  color: var(--c-fg); opacity: .06; pointer-events: none; letter-spacing: -.06em; font-style: italic;
}
.card > *:not(.card-glyph) { position: relative; z-index: 1; }
.card::after { content: ''; position: absolute; inset: 0; z-index: 3; background: #120b06; opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; }


/* ecosystem */
.eco { background: var(--cocoa); color: var(--paper); overflow: hidden; }
.eco .eyebrow { color: rgba(250,247,242,.6); }
.eco .lead { color: rgba(250,247,242,.68); }
.eco-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.eco-copy { display: flex; flex-direction: column; gap: 32px; }
.eco-points { list-style: none; border-top: 1px solid rgba(250,247,242,.16); }
.eco-points li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid rgba(250,247,242,.16); }
.eco-points b { font-weight: 500; display: block; margin-bottom: 4px; }
.eco-points span { color: rgba(250,247,242,.62); font-size: 15px; }
.eco-points i { font-style: normal; font-size: 13px; color: var(--clay); padding-top: 3px; font-variant-numeric: tabular-nums; }
.eco-viz { position: relative; aspect-ratio: 1; width: 100%; max-width: 680px; justify-self: center; }
.eco-viz svg { width: 100%; height: 100%; overflow: visible; }
.eco-viz .ring { fill: none; stroke: rgba(250,247,242,.12); stroke-width: 1; }
.eco-viz .link { fill: none; stroke: var(--clay); stroke-width: 1.4; }
.eco-viz .node circle { fill: var(--paper); }
.eco-viz .node text { font-family: var(--f-sans); font-size: 15px; font-weight: 500; fill: var(--cocoa); text-anchor: middle; }
.eco-viz .node text.sub { font-size: 11.5px; font-weight: 400; fill: rgba(43,28,18,.6); letter-spacing: .04em; }
.eco-viz .core circle { fill: var(--caramel); }
.eco-viz .core text { font-family: var(--f-display); font-size: 34px; font-weight: 600; fill: var(--paper); text-anchor: middle; letter-spacing: -.02em; }
.eco-viz .pulse { fill: none; stroke: var(--caramel); stroke-width: 1; transform-origin: 300px 300px; transform-box: view-box; animation: pulse 3.6s var(--ease) infinite; }
.eco-viz .pulse:nth-of-type(2) { animation-delay: 1.8s; }
@keyframes pulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.eco-viz .orbit { transform-origin: 300px 300px; transform-box: view-box; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.eco-viz .orbit .dot { fill: var(--clay); }

/* stats */
.stats { padding-block: clamp(80px, 10vw, 160px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: clamp(24px, 3vw, 44px) clamp(0px, 1.6vw, 28px) 0 0; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); padding-left: clamp(0px, 1.6vw, 28px); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(56px, 7.4vw, 132px); line-height: .9; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums; font-variation-settings: 'opsz' 144, 'SOFT' 50;
}
.stat-num sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; margin-left: .04em; color: var(--caramel); }
.stat-label { font-size: 15px; color: var(--muted); max-width: 16em; }

/* clients */
.clients { padding-bottom: clamp(40px, 6vw, 96px); }
.clients > .eyebrow { display: flex; margin-bottom: 20px; }
.marquee--sm { border-block: 1px solid var(--line); }
.marquee--sm .marquee-item { font-size: clamp(26px, 3.2vw, 52px); }
.marquee--sm .marquee-item:nth-child(even) { color: var(--ink); font-style: normal; font-variation-settings: 'opsz' 144, 'SOFT' 30; }
.marquee--sm .marquee-dot { background: var(--caramel); width: .18em; height: .18em; }

/* expertise list */
.exp { background: var(--paper); }
.exp-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.exp-head .lead { justify-self: end; }
.exp-list { list-style: none; border-top: 1px solid var(--line); }
.exp-row { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.exp-row a {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 80px 1fr auto 56px; align-items: center; gap: 20px;
  padding: clamp(22px, 2.6vw, 40px) 0;
  transition: color .55s var(--ease), padding .55s var(--ease);
}
.exp-row::before {
  content: ''; position: absolute; inset: 0; background: var(--ink);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease);
}
.exp-row:hover::before { transform: scaleY(1); transform-origin: 50% 0; }
.exp-row:hover a { color: var(--paper); padding-inline: clamp(12px, 2vw, 32px); }
.exp-idx { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .5s; }
.exp-row:hover .exp-idx { color: var(--clay); }
.exp-name { font-family: var(--f-display); font-weight: 340; font-size: clamp(30px, 4.4vw, 72px); line-height: 1; letter-spacing: -.03em; font-variation-settings: 'opsz' 144, 'SOFT' 30; }
.exp-by { font-size: 14px; color: var(--muted); transition: color .5s; text-align: right; }
.exp-row:hover .exp-by { color: rgba(250,247,242,.7); }
.exp-arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .5s, border-color .5s, transform .6s var(--ease); }
.exp-arrow svg { width: 16px; height: 16px; }
.exp-row:hover .exp-arrow { background: var(--caramel); border-color: var(--caramel); transform: rotate(-45deg); }
.exp-float {
  position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none;
  width: clamp(200px, 20vw, 300px); aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  opacity: 0; transform: scale(.6); transition: opacity .35s, transform .6s var(--ease);
}
.exp-float.is-on { opacity: 1; transform: scale(1); }
.exp-float-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; color: var(--paper); }
.exp-float-inner b { font-family: var(--f-display); font-weight: 340; font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.exp-float-inner small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
@media (hover: none), (pointer: coarse) { .exp-float { display: none; } }

/* values horizontal */
.values { background: var(--bone); overflow: hidden; }
.values-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 56px); }
.values-hint { font-size: 14px; }
.values-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-inline: var(--gutter); }
.values-track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.value {
  flex: none; width: clamp(290px, 30vw, 470px); height: clamp(380px, 60vh, 600px);
  border-radius: var(--radius); padding: clamp(22px, 2.6vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--paper); border: 1px solid var(--line);
}
.value:nth-child(2) { background: var(--caramel); color: var(--paper); border: 0; }
.value:nth-child(3) { background: var(--cocoa); color: var(--paper); border: 0; }
.value:nth-child(4) { background: var(--sand); border: 0; }
.value:nth-child(5) { background: var(--olive); color: var(--paper); border: 0; }
.value-n { font-size: 14px; opacity: .65; font-variant-numeric: tabular-nums; }
.value h3 { font-family: var(--f-display); font-weight: 340; font-size: clamp(40px, 4.6vw, 76px); line-height: .95; letter-spacing: -.035em; font-variation-settings: 'opsz' 144, 'SOFT' 50; }
.value h3 em { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.value p { font-size: 16px; line-height: 1.5; opacity: .78; max-width: 26em; }
.value--team { padding: 0; overflow: hidden; position: relative; border: 0; width: auto; aspect-ratio: 2000 / 1333; }
.value--team picture, .value--team img { width: 100%; height: 100%; }
.value--team img { object-fit: cover; }

/* careers band */
.careers { padding-block: clamp(80px, 10vw, 150px); }
.careers-inner { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: end; padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.careers-inner .lead { margin-bottom: 28px; }

/* CTA */
.cta { background: var(--caramel); color: var(--paper); text-align: center; overflow: hidden; position: relative; }
.cta .eyebrow { color: rgba(250,247,242,.8); }
.cta .eyebrow::before { background: var(--paper); }
.cta-title { font-size: clamp(64px, 15vw, 280px); margin-block: clamp(20px, 3vw, 40px) clamp(32px, 4vw, 56px); }
.cta-title em { color: var(--cocoa); }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.magnet-wrap { display: inline-block; }
.cta-round {
  width: clamp(150px, 14vw, 200px); aspect-ratio: 1; border-radius: 50%;
  background: var(--cocoa); color: var(--paper);
  display: grid; place-items: center; text-align: center; font-size: 16px; font-weight: 500; line-height: 1.25;
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-round::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--paper); transform: scale(0); transition: transform .6s var(--ease); z-index: -1; }
.cta-round:hover { color: var(--cocoa); }
.cta-round:hover::before { transform: scale(1); }
.cta-round span { transition: color .4s; }
.cta-mails { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: var(--fs-lg); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--cocoa); color: var(--paper); padding: clamp(72px, 9vw, 140px) var(--gutter) 28px; overflow: hidden; position: relative; }
.footer-top { display: grid; grid-template-columns: 5fr 2fr 3fr 2fr; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(56px, 8vw, 120px); }
.footer-claim { font-family: var(--f-display); font-weight: 340; font-size: clamp(30px, 3.2vw, 52px); line-height: 1.02; letter-spacing: -.025em; max-width: 11em; }
.footer-claim em { font-style: italic; color: var(--clay); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.footer h4 { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,247,242,.5); margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { color: rgba(250,247,242,.88); transition: color .3s; }
.footer ul a:hover { color: var(--clay); }
.footer-mark { color: var(--paper); width: 100%; }
.footer-mark svg { width: 100%; height: auto; overflow: hidden; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 24px; font-size: 13px; color: rgba(250,247,242,.55); }
.footer-bottom a:hover { color: var(--paper); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.c-hero { padding: clamp(130px, 16vw, 210px) var(--gutter) clamp(56px, 7vw, 110px); }
.c-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(24px, 3vw, 44px); }
.c-title { font-size: clamp(60px, 11vw, 200px); }
.c-direct { display: flex; flex-direction: column; }
.c-direct a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease);
}
.c-direct a:first-child { border-top: 1px solid var(--line); }
.c-direct a:hover { padding-inline: 14px; }
.c-direct small { grid-column: 1; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-direct b { grid-column: 1; font-weight: 450; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.01em; word-break: break-word; }
.c-direct .exp-arrow { grid-column: 2; grid-row: 1 / 3; width: 48px; height: 48px; }
.c-direct a:hover .exp-arrow { background: var(--caramel); border-color: var(--caramel); color: var(--paper); transform: rotate(-45deg); }

.c-form-sec { padding: 0 var(--gutter) clamp(96px, 12vw, 180px); }
.c-form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 5vw, 80px); display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); }
.c-form-aside { display: flex; flex-direction: column; gap: 28px; }
.c-form-aside .h3 { max-width: 9em; }
.c-meta { display: flex; flex-direction: column; gap: 18px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.c-meta small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.c-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-link { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; transition: background-color .4s, color .4s, border-color .4s; }
.chip-link:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.form { display: flex; flex-direction: column; gap: clamp(26px, 3vw, 40px); }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0;
  font: inherit; font-size: clamp(18px, 1.5vw, 22px); color: var(--ink);
  padding: 28px 0 12px; outline: none; resize: none;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; line-height: 1.5; }
.field label {
  position: absolute; left: 0; top: 28px; font-size: clamp(18px, 1.5vw, 22px); color: var(--muted);
  pointer-events: none; transform-origin: 0 0; transition: transform .5s var(--ease), color .3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-26px) scale(.62); color: var(--caramel); }
.field::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field-opt { position: absolute; right: 0; top: 34px; font-size: 12px; color: var(--faint); }
.fieldset { border: 0; }
.fieldset legend { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 11px 18px; border-radius: 99px; border: 1px solid var(--line); font-size: 15px; transition: background-color .35s, color .35s, border-color .35s; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--caramel); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 8px; }
.form-note { font-size: 14px; color: var(--muted); max-width: 26em; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.is-error { color: var(--rust); }
.form.is-sending .btn { pointer-events: none; opacity: .7; }
.form-done { display: none; flex-direction: column; gap: 20px; align-items: flex-start; justify-content: center; min-height: 420px; }
.form-done .h2 { font-size: clamp(44px, 6vw, 96px); }
.is-sent .form { display: none; }
.is-sent .form-done { display: flex; }

.c-brands { padding: 0 var(--gutter) clamp(96px, 12vw, 180px); }
.c-brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); margin-top: 28px; }
.c-brand {
  position: relative; border-radius: var(--radius); padding: clamp(20px, 2.2vw, 32px); min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); isolation: isolate;
  transition: color .5s var(--ease), border-color .5s;
}
.c-brand::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--b, var(--cocoa)); transform: translateY(101%); transition: transform .65s var(--ease); }
.c-brand:hover { color: var(--paper); border-color: transparent; }
.c-brand:hover::before { transform: none; }
.c-brand small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.c-brand b { font-family: var(--f-display); font-weight: 380; font-size: clamp(26px, 2.2vw, 36px); line-height: 1; letter-spacing: -.025em; }
.c-brand .exp-arrow { width: 44px; height: 44px; border-color: currentColor; opacity: .7; }
.c-brand:hover .exp-arrow { transform: rotate(-45deg); opacity: 1; }
.c-brand-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }

/* ==========================================================================
   MOTION GATES — elements start hidden only when JS + GSAP are running
   ========================================================================== */
.js-motion [data-reveal] { opacity: 0; transform: translateY(40px); }
.js-motion [data-split] { visibility: hidden; }
.js-motion .hero-top .eyebrow, .js-motion [data-hero-fade] { opacity: 0; }
.is-entering .curtain { transform: none; }
.sl { display: block; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-claim { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .c-brands-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-right .btn { display: none; }
  .burger { display: block; }
  .hero-top .eyebrow + .eyebrow { display: none; }
  .hero-title .row--indent { padding-left: 0; }
  .hero-bottom { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .hero-frame::after { display: none; }
  .hero-caption { position: static; color: var(--ink); padding: 18px calc(var(--gutter) * 2) 0; flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-caption span { color: var(--muted); }
  .manifesto-inner, .manifesto-foot { grid-template-columns: 1fr; }
  .manifesto-text { text-indent: 0; }
  .companies-head, .exp-head, .eco-grid, .careers-inner, .c-hero-grid, .c-form-card { grid-template-columns: 1fr; }
  .companies-head .lead, .exp-head .lead { justify-self: start; }
  .card { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; min-height: auto; top: 84px; }
  .card-main, .card-media { grid-column: 1; }
  .card-main { margin-top: 16px; }
  .card-media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(24px, 3.4vw, 56px); margin-inline: calc(clamp(24px, 3.4vw, 56px) * -1); padding: 32px clamp(24px, 3.4vw, 56px) 4px; scrollbar-width: none; }
  .card-media::-webkit-scrollbar { display: none; }
  .card-media--3 { padding-left: clamp(24px, 3.4vw, 56px); }
  .tile { flex: none; width: 42vw; max-width: 220px; scroll-snap-align: start; }
  .card-foot { flex-direction: column; align-items: flex-start; }
  .exp-row a { grid-template-columns: 40px 1fr 44px; }
  .exp-by { display: none; }
  .exp-arrow { width: 44px; height: 44px; }
  .values-pin { height: auto; padding-block: clamp(96px, 14vw, 160px); }
  .values-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .values-track::-webkit-scrollbar { display: none; }
  .value { scroll-snap-align: start; width: 78vw; height: auto; min-height: 400px; }
  .value--team { width: 88vw; min-height: 0; height: auto; }
  .form-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); margin-top: 0 !important; padding-bottom: 24px; }
  .stat:first-child { border-top: 0; }
  .c-brands-grid { grid-template-columns: 1fr; }
  .c-brand { min-height: 170px; }
  .footer-top { grid-template-columns: 1fr; }
  .btn { height: 52px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .card { position: relative; top: 0; }
}
