/* Enactus H.R. College: the shared look and motion for the home page and the project pages.
   Each page sets its own palette on :root; everything here reads the tokens. */
:root {
  --deep: #0b0b0e;
  --ink: #16161b;
  --sea: #2a2a33;
  --line: rgba(255, 255, 255, .13);
  --sand: #f2efe7;
  --paper: #faf8f2;
  --text: #15151a;
  --mute: #5d5d68;
  --mute-d: #a7a7b3;
  --acc: #ffc21a;
  --acc-ink: #1a1400;
  --acc-deep: #e0a200;
  --acc2: #41c9c1;
  --rose: #ff5a7e;
  --teal: #41c9c1;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--deep); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.intro-lock { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(84px, 11vw, 160px); }
.dark { background: var(--deep); color: #f0f0f4; }
.inky { background: var(--ink); color: #f0f0f4; }
.sand { background: var(--sand); }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 112%; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(38px, 5.6vw, 78px); line-height: .98; font-weight: 820; text-wrap: balance; }
h3 { font-size: clamp(21px, 2vw, 27px); line-height: 1.15; font-weight: 750; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1.2 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--sea); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--acc); transform: rotate(45deg); flex: none; }
.dark .eyebrow, .inky .eyebrow, .on-photo .eyebrow, .hero .eyebrow { color: var(--acc); }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--mute); max-width: 58ch; }
.dark .lede, .inky .lede { color: var(--mute-d); }
.sec-head { display: grid; gap: 22px; max-width: 880px; }
.hl { color: var(--acc); }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 15px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), background .25s, color .25s; }
.btn svg { width: 18px; height: 18px; }
.btn-y { background: var(--acc); color: var(--acc-ink); }
.btn-y:hover { filter: brightness(1.08); }
.btn-o { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); color: #fff; }
.btn-o:hover { background: rgba(255, 255, 255, .1); }
.btn-d { background: var(--ink); color: #fff; }

/* spotlight: a soft light follows the pointer across a card */
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -200%), color-mix(in srgb, var(--acc) 22%, transparent), transparent 62%); opacity: 0; transition: opacity .35s; z-index: 0; }
.spot:hover::before { opacity: 1; }

/* intro: a spark draws a line, a streak cuts it open, the name slices in, the full stop opens into the page */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--deep); color: #fff; display: grid; place-items: center; overflow: hidden;
  -webkit-mask: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), transparent var(--hr, 0px), #000 calc(var(--hr, 0px) + 1px));
  mask: radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), transparent var(--hr, 0px), #000 calc(var(--hr, 0px) + 1px)); }
.intro-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .17) 1px, transparent 1.5px); background-size: 28px 28px; opacity: 0; animation: fadein .8s ease forwards; }
@keyframes fadein { to { opacity: 1; } }
.intro-wave { position: absolute; left: 0; top: 50%; width: 100%; height: 220px; transform: translateY(-50%); overflow: visible; }
.intro-wave path { fill: none; stroke: var(--acc2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.intro-spark { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 4px var(--acc), 0 0 44px 12px color-mix(in srgb, var(--acc) 50%, transparent); opacity: 0; }
.intro-streak { position: absolute; left: 0; top: 50%; height: 2px; width: 100%; background: linear-gradient(90deg, transparent, #fff 35%, #fff 65%, transparent); transform: scaleX(0); transform-origin: left; opacity: 0; box-shadow: 0 0 18px 2px rgba(255, 255, 255, .6); }
.intro-flash { position: absolute; inset: 0; background: var(--acc); opacity: 0; pointer-events: none; }
.intro-title { position: relative; font: 900 clamp(46px, 11.5vw, 190px)/1 var(--display); font-stretch: 125%; letter-spacing: -.04em; }
.intro-title .ghost { visibility: hidden; }
.intro-title .sl { position: absolute; inset: 0; clip-path: inset(calc(var(--k) * 16.667%) 0 calc((5 - var(--k)) * 16.667%) 0); transform: translateX(calc(var(--dir) * 110vw)); }
.intro-title .stop { color: var(--acc); }
.intro-sub { position: absolute; left: 0; right: 0; bottom: 22%; text-align: center; font: 700 12px/1 var(--mono); letter-spacing: .3em; color: var(--mute-d); opacity: 0; animation: fadein .6s 1.6s ease forwards; }
.intro-skip { position: absolute; right: var(--gut); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); background: none; border: 0; color: var(--mute-d); font: 700 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; padding: 10px; }

/* reel frame + notch */
.frame { position: fixed; inset: 0; pointer-events: none; z-index: 45; mix-blend-mode: difference; color: #fff; }
.fr { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); font: 700 11px/1 var(--mono); letter-spacing: .22em; }
.fr.bl { left: var(--gut); }
.fr.br { right: var(--gut); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .frame { display: none; } }
.notch { position: fixed; top: calc(88px + env(safe-area-inset-top, 0px)); left: 50%; z-index: 58; height: 38px; border-radius: 99px; background: #000; color: #fff; display: flex; align-items: center; gap: 0; padding: 0 14px; transform: translateX(-50%) scale(.5); opacity: 0; transition: transform .55s var(--ease), opacity .3s, gap .55s var(--ease); font: 700 11px/1 var(--mono); letter-spacing: .18em; white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); pointer-events: none; }
.notch.show { opacity: 1; transform: translateX(-50%) scale(1); gap: 10px; }
.notch .nd { width: 10px; height: 10px; border-radius: 50%; background: var(--acc); flex: none; }
.notch .nt { max-width: 0; overflow: hidden; transition: max-width .7s var(--ease); }
.notch.show .nt { max-width: 340px; }
@media (max-width: 760px) { .notch { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); } }
/* the cursor line is drawn white and inverted against whatever is under it, so it reads on every section */
#trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 44; mix-blend-mode: difference; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .35s, box-shadow .35s; }
.nav.solid { background: color-mix(in srgb, var(--deep) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 76px; display: flex; align-items: center; gap: 24px; padding-top: env(safe-area-inset-top, 0px); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; flex: none; }
.chip-logo { background: #fff; border-radius: 10px; padding: 6px 10px; display: grid; place-items: center; }
.chip-logo img { height: 26px; width: auto; }
.brand .bar { width: 1px; height: 28px; background: rgba(255, 255, 255, .3); }
.brand b { font: 820 19px/1 var(--display); font-stretch: 118%; letter-spacing: .01em; }
.brand small { display: block; font: 500 11px/1.2 var(--mono); letter-spacing: .14em; color: var(--mute-d); margin-top: 4px; text-transform: uppercase; }
.links { display: flex; gap: 22px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; position: relative; transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.links a:hover, .links a.on, .links a[aria-current] { color: #fff; }
.links a.on::after, .links a[aria-current]::after { transform: scaleX(1); }
.links .sep { width: 1px; background: rgba(255, 255, 255, .22); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 55; background: var(--deep); padding: 110px var(--gut) 40px; display: grid; align-content: start; gap: 4px; overflow-y: auto; clip-path: circle(0 at calc(100% - 40px) 38px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu-open .sheet { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path .7s var(--ease); }
.sheet a { font: 800 32px/1.25 var(--display); font-stretch: 112%; color: #fff; text-decoration: none; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
.sheet small { font: 700 11px/1 var(--mono); letter-spacing: .22em; color: var(--mute-d); margin: 18px 0 6px; text-transform: uppercase; }
.menu-open .sheet a { opacity: 1; transform: none; }
.sheet .btn { margin-top: 24px; justify-self: start; font-size: 16px; }
@media (max-width: 1180px) { .links, .nav-in > .btn { display: none; } .menu-btn { display: block; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: #fff; overflow: hidden; background: var(--deep); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero-bg img { position: absolute; top: 0; left: 0; width: 100%; height: var(--hh, 100%); object-fit: cover; object-position: var(--hp, 50% 30%); transform-origin: 50% 25%; transform: scale(1.14); animation: kb 22s var(--ease) forwards; }
@keyframes kb { to { transform: scale(1.02); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 70%, transparent) 0%, color-mix(in srgb, var(--deep) 12%, transparent) 32%, color-mix(in srgb, var(--deep) 55%, transparent) 64%, var(--deep) 100%); }
.hero-main { position: relative; width: 100%; display: flex; align-items: flex-end; padding-top: 112px; padding-bottom: 32px; }
.hero-card { max-width: 720px; background: color-mix(in srgb, var(--deep) 58%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 22px; will-change: transform, opacity; }
.hero h1 { font-size: clamp(44px, min(6.6vw, 10.5vh), 104px); line-height: .9; font-weight: 860; font-stretch: 114%; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero-card p { font-size: clamp(17px, 1.5vw, 20px); color: #dcdce4; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge { position: absolute; right: var(--gut); top: 116px; width: 200px; background: var(--acc); color: var(--acc-ink); border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); transform: rotate(3deg); text-decoration: none; animation: badge 1s var(--ease) both; animation-play-state: paused; }
.hero-badge.go { animation-play-state: running; }
@keyframes badge { from { transform: rotate(18deg) translateY(-40px) scale(.6); opacity: 0; } }
.hero-badge b { font: 860 34px/1 var(--display); font-stretch: 118%; }
.hero-badge span { font-size: 13px; line-height: 1.35; font-weight: 600; }
.hero-badge small { font: 700 10px/1.2 var(--mono); letter-spacing: .14em; opacity: .7; }
@media (max-width: 700px) { .hero-badge { position: relative; top: auto; right: auto; width: auto; transform: none; display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 10px 14px; margin: 96px var(--gut) 0; justify-self: start; } .hero-badge b { font-size: 24px; } .hero-main { padding-top: 24px; } .hero { grid-template-rows: auto 1fr auto; } }
.strip { position: relative; border-top: 1px solid var(--line); padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.strip-label { font: 700 11px/1 var(--mono); letter-spacing: .22em; color: var(--mute-d); text-transform: uppercase; text-align: center; margin-bottom: 14px; }
.marq { display: flex; width: max-content; animation: marq 50s linear infinite; }
.marq span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; font: 760 clamp(17px, 1.7vw, 22px)/1 var(--display); font-stretch: 108%; color: #fff; opacity: .88; }
.marq span::after { content: ""; width: 7px; height: 7px; background: var(--acc); transform: rotate(45deg); }
.marq.dark-text span { color: var(--text); }
@keyframes marq { to { transform: translateX(-50%); } }

/* words rise out of their own masks; blocks fly in out of a blur */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease); }
.in .w > span, .w.in > span { transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(36px) scale(.98); filter: blur(10px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* stat cards + odometer */
.stats { background: var(--sand); padding-block: clamp(64px, 8vw, 110px); }
.stats-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 40px; }
.stats-head h2 { font-size: clamp(32px, 4.2vw, 56px); max-width: 16ch; }
.stats-head p { max-width: 44ch; color: var(--mute); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--ink); color: #fff; border-radius: 26px; padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; min-height: 230px; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--acc) 35%, transparent); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stat .big { font: 860 clamp(40px, 4.3vw, 70px)/1 var(--display); font-stretch: 108%; color: var(--acc); letter-spacing: -.03em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.stat .big small { font-size: .38em; color: #fff; letter-spacing: 0; }
.stat h4 { font-size: 19px; font-weight: 720; }
.stat p { font-size: 15px; color: var(--mute-d); line-height: 1.5; }
@media (max-width: 960px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat { min-height: 0; padding: 18px; gap: 8px; border-radius: 20px; } .stat-grid { gap: 10px; } .stat .big { font-size: 36px; } .stat h4 { font-size: 16px; } .stat p { font-size: 13px; } }
.odo { display: inline-flex; font-variant-numeric: tabular-nums; }
.odo .col { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo .col > span { display: block; transform: translateY(0); transition: transform 2.2s cubic-bezier(.16, .9, .12, 1); transition-delay: calc(var(--i) * 110ms); }
.odo .col > span i { display: block; height: 1em; font-style: normal; }
.odo.in .col > span { transform: translateY(calc((var(--d) + 10) * -1em)); }

/* scroll-quickened marquee rows */
.washes { padding: 40px 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.washes-label { text-align: center; font: 700 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.wrow { white-space: nowrap; overflow: hidden; }
.wtrack { display: inline-flex; will-change: transform; }
.wtrack span { display: inline-flex; align-items: center; gap: .35em; padding-right: .35em; font: 900 clamp(40px, 7vw, 108px)/1.08 var(--display); font-stretch: 122%; letter-spacing: -.035em; color: var(--text); }
.wtrack span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.wtrack span::after { content: ""; width: .22em; height: .22em; background: var(--acc); transform: rotate(45deg); }

/* kinetic type on the beat, a glitch, columns that open the next scene */
.kin { position: relative; height: 380vh; background: var(--deep); }
.kin-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; background: var(--kbg, var(--acc)); color: var(--kfg, var(--deep)); }
.kin-cap { position: absolute; left: var(--gut); top: 104px; font: 700 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.kin-word { position: absolute; font: 900 clamp(56px, 14vw, 260px)/.9 var(--display); font-stretch: 125%; letter-spacing: -.045em; white-space: nowrap; opacity: 0; will-change: transform, filter; }
.kin-word .dim { opacity: .28; }
.kin-word .part { display: inline-block; will-change: transform; }
.glitch .g-base { visibility: hidden; }
.glitch .g-s { position: absolute; left: 0; top: 0; clip-path: inset(calc(var(--s) * 20%) 0 calc((4 - var(--s)) * 20%) 0); }
.glitch.on .g-s { text-shadow: -.035em 0 var(--acc), .035em 0 var(--acc2); }
.smear { position: absolute; left: -6%; width: 112%; top: 40%; height: 18%; background: #fff; opacity: 0; transform-origin: left; }
.kin-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); pointer-events: none; }
.kin-cols i { background: var(--kcol, var(--paper)); transform: translateY(101%); }
.kin-static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kin.static { height: auto; }
.kin.static .kin-stick { display: none; }
.kin.static .kin-static { position: static; width: auto; height: auto; clip: auto; margin: 0; padding: 110px var(--gut); text-align: center; font-size: clamp(46px, 9vw, 120px); color: var(--acc); }

/* stacking cards: each pins, the next slides over it, the one beneath sinks back */
.stack { display: grid; gap: 26px; }
.stack-card { position: sticky; top: calc(110px + var(--i) * 30px); transform-origin: 50% 0; will-change: transform; }
@media (max-width: 860px) { .stack-card { top: calc(86px + var(--i) * 16px); } }
/* on short screens a pinned card would hide its own bottom, so the cards simply scroll */
@media (max-height: 700px) { .stack-card { position: relative; top: auto; } }

/* horizontal track pinned to the scroll */
.hscroll { position: relative; }
.hs-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.htrack { display: flex; gap: 18px; padding-inline: var(--gut); width: max-content; will-change: transform; }
.hs-bar { height: 3px; margin-inline: var(--gut); background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
.hs-bar i { display: block; height: 100%; background: var(--acc); transform-origin: left; transform: scaleX(var(--f, 0)); }
.hscroll.static { height: auto !important; }
.hscroll.static .hs-stick { position: relative; height: auto; padding-block: 90px; }
.hscroll.static .htrack { width: auto; flex-wrap: wrap; }

/* timeline that fills as you read */
.tl { position: relative; list-style: none; margin: 64px 0 0; padding: 0; }
.tl::before, .tl-fill { content: ""; position: absolute; left: 232px; top: 8px; width: 2px; height: calc(100% - 16px); background: color-mix(in srgb, var(--text) 14%, transparent); }
.tl-fill { background: var(--sea); height: calc(var(--fill, 0) * (100% - 16px)); }
.dark .tl::before, .inky .tl::before { background: rgba(255, 255, 255, .14); }
.dark .tl-fill, .inky .tl-fill { background: var(--acc); }
.tl li { display: grid; grid-template-columns: 200px 1fr; gap: 64px; padding-bottom: 46px; position: relative; }
.tl li::before { content: ""; position: absolute; left: 225px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--sand); box-shadow: inset 0 0 0 2px var(--sea); transition: background .4s, box-shadow .4s, transform .4s; }
.dark .tl li::before, .inky .tl li::before { background: var(--deep); box-shadow: inset 0 0 0 2px var(--mute-d); }
.tl li.hit::before { background: var(--acc); box-shadow: inset 0 0 0 2px var(--acc-deep), 0 0 0 6px color-mix(in srgb, var(--acc) 25%, transparent); transform: scale(1.25); }
.tl time { font: 700 13px/1.5 var(--mono); letter-spacing: .1em; color: var(--sea); text-transform: uppercase; text-align: right; }
.dark .tl time, .inky .tl time { color: var(--acc); }
.tl h3 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 8px; }
.tl p { color: var(--mute); max-width: 60ch; }
.dark .tl p, .inky .tl p { color: var(--mute-d); }
.tl .chip { display: inline-block; margin-top: 12px; font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; background: var(--acc); color: var(--acc-ink); padding: 7px 10px; border-radius: 6px; }
.tl li.new h3::after { content: "NEW"; margin-left: 10px; vertical-align: middle; font: 700 10px/1 var(--mono); letter-spacing: .16em; background: var(--acc); color: var(--acc-ink); padding: 4px 7px; border-radius: 5px; }
@media (max-width: 760px) {
  .tl::before, .tl-fill { left: 7px; }
  .tl li { grid-template-columns: 1fr; gap: 6px; padding-left: 40px; }
  .tl li::before { left: 0; }
  .tl time { text-align: left; }
}

/* gallery + viewer */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(90px, 9vw, 130px); gap: 12px; margin-top: 56px; }
.gal button { position: relative; border: 0; padding: 0; border-radius: 22px; overflow: hidden; cursor: zoom-in; background: var(--ink); grid-column: span var(--c, 4); grid-row: span var(--r, 3); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal button:hover img { transform: scale(1.06); }
.gal figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; text-align: left; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.gal figure { margin: 0; height: 100%; }
@media (max-width: 760px) { .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 8px; } .gal button { grid-column: span 1; grid-row: span 1; border-radius: 16px; } .gal button:first-child { grid-column: span 2; } .gal figcaption { font-size: 12px; padding: 30px 12px 10px; } }
.lb { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 22px; background: var(--deep); color: #fff; overflow: hidden; }
.lb[open] { animation: lbin .5s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.94); filter: blur(8px); } }
.lb::backdrop { background: rgba(3, 3, 6, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.lb-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.lb-bar p { flex: 1; font-size: 15px; }
.lb-bar button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; font-size: 20px; line-height: 1; }

/* videos: a poster that becomes the player on click; Instagram reels in phone frames */
.vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; margin-top: 48px; }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; color: #fff; text-align: left; }
.vid img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1s var(--ease), opacity .4s; }
.vid:hover img { transform: scale(1.05); opacity: .95; }
.vid .play { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 60%, transparent); animation: pulse 2.2s infinite; }
.vid .play::after { content: ""; margin-left: 6px; border-left: 20px solid var(--acc-ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.vid span { position: absolute; left: 16px; right: 16px; bottom: 14px; font-weight: 650; font-size: 15px; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 40px; }
.reel { border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); display: grid; grid-template-rows: auto 1fr; }
.reel header { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--ink); color: #fff; font: 700 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.reel header a { color: var(--acc); text-decoration: none; white-space: nowrap; }
.reel iframe { width: 100%; height: 560px; border: 0; display: block; background: #fff; }

/* scroll-fill statement */
.fill-words .fw { opacity: .16; transition: opacity .35s; }
.fill-words .fw.lit { opacity: 1; }
.statement { font: 780 clamp(30px, 4.2vw, 58px)/1.12 var(--display); font-stretch: 108%; letter-spacing: -.02em; max-width: 1000px; }
.statement-cite { display: block; margin-top: 26px; font: 700 12px/1 var(--mono); letter-spacing: .18em; color: var(--acc); font-style: normal; text-transform: uppercase; }

/* lines that draw themselves */
.draw path, .draw circle, .draw rect, .draw line, .draw polyline, .draw ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); transition-delay: var(--dd, 0ms); }
.in .draw :is(path, circle, rect, line, polyline, ellipse), .draw.in :is(path, circle, rect, line, polyline, ellipse) { stroke-dashoffset: 0; }

/* partner/CTA band over a photo */
.partner { position: relative; color: #fff; overflow: hidden; background: var(--deep); }
.partner-bg { position: absolute; inset: -10% 0; will-change: transform; }
.partner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.partner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--deep) 92%, transparent) 0%, color-mix(in srgb, var(--deep) 72%, transparent) 50%, color-mix(in srgb, var(--deep) 45%, transparent) 100%); }
.partner-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.partner h2 { font-size: clamp(40px, 6vw, 84px); }
.partner .lede { color: #dcdce4; margin-top: 22px; }
.partner .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.calc { background: color-mix(in srgb, var(--deep) 66%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 18px; }
.calc > * { position: relative; }
.calc label { font: 700 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d); }
.calc output { font: 860 clamp(40px, 4.4vw, 58px)/1 var(--display); font-stretch: 112%; letter-spacing: -.03em; }
.calc output small { font-size: .4em; color: var(--mute-d); letter-spacing: 0; margin-left: 6px; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--acc) var(--v, 4%), rgba(255, 255, 255, .15) var(--v, 4%)); outline-offset: 6px; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 5px solid var(--acc); cursor: grab; }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--acc); cursor: grab; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc-row span { color: var(--mute-d); font-size: 15px; }
.calc-row b { font: 860 30px/1 var(--display); font-stretch: 112%; color: var(--acc); }
.calc .fine { font-size: 13px; color: var(--mute-d); }
.calc .btn { justify-content: center; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr; } .partner-bg::after { background: color-mix(in srgb, var(--deep) 80%, transparent); } }

/* footer + end card: rings fold into a dot, the name opens out of it, a line draws, the tagline types */
.foot { background: var(--deep); color: #c9c9d4; padding: clamp(64px, 8vw, 110px) 0 calc(48px + env(safe-area-inset-bottom, 0px)); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.foot-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 30px; }
.foot-logos .chip-logo img { height: 34px; }
.foot-logos .hrc img { height: 40px; }
.endcard { display: grid; gap: 12px; justify-items: start; }
.ec-stage { position: relative; display: inline-grid; place-items: center; }
.ec-word { font: 900 clamp(44px, 6.6vw, 92px)/.95 var(--display); font-stretch: 120%; letter-spacing: -.035em; color: #fff; clip-path: inset(0 50% 0 50%); transition: clip-path 1s var(--ease) 1.05s; white-space: nowrap; }
.ec-word span { color: var(--acc); }
.endcard.in .ec-word { clip-path: inset(-10% -4% -10% -4%); }
.ec-dot { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--acc); transform: scale(0); opacity: 1; transition: transform .5s var(--ease) .45s, opacity .4s 1.35s; }
.endcard.in .ec-dot { transform: scale(1); opacity: 0; }
.ec-ring { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; border: 2px solid var(--acc); opacity: 0; }
.endcard.in .ec-ring { animation: fold 1s cubic-bezier(.6, 0, .4, 1) var(--dl) both; }
@keyframes fold { 0% { opacity: 0; transform: scale(1.7); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(0); } }
.ec-wave { width: min(420px, 80vw); height: 26px; overflow: visible; }
.ec-wave path { fill: none; stroke: var(--acc); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) 1.7s; vector-effect: non-scaling-stroke; }
.endcard.in .ec-wave path { stroke-dashoffset: 0; }
.ec-line { font: 600 15px/1.4 var(--mono); letter-spacing: .06em; color: #fff; min-height: 1.4em; }
.ec-line::after { content: ""; display: inline-block; width: .55em; height: 1.05em; background: var(--acc); vertical-align: -.18em; margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.foot p.about { font-size: 15px; line-height: 1.6; color: var(--mute-d); max-width: 46ch; margin-top: 18px; }
.copy { position: relative; overflow: hidden; margin-top: 22px; height: 46px; padding: 0 22px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font: 600 14px/1 var(--body); cursor: pointer; transition: color .2s .3s; }
.copy-fill { position: absolute; inset: 0; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.copy.done .copy-fill { transform: scaleX(1); }
.copy.done { color: var(--acc-ink); }
.copy-t { position: relative; }
.foot h4 { font: 700 12px/1 var(--mono); letter-spacing: .18em; color: var(--acc); text-transform: uppercase; margin-bottom: 18px; font-stretch: 100%; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { text-decoration: none; color: #e8e8f0; }
.foot ul a:hover { color: var(--acc); }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; color: #85859a; }
.foot-bot a { color: #b0b0c2; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* a photo that could not load still leaves a calm, on-brand tile */
.noimg { background: repeating-linear-gradient(135deg, var(--ink) 0 14px, var(--sea) 14px 15px) !important; }
.noimg img { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .w > span { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero-bg img { transform: none; }
  .marq { width: auto; flex-wrap: wrap; justify-content: center; }
  .fill-words .fw { opacity: 1; }
  .wtrack { flex-wrap: wrap; white-space: normal; }
  .ec-word { clip-path: none; }
  .ec-wave path { stroke-dashoffset: 0; }
}
