/* Tidal Swing · story page. Same tokens as the video kit + the live site (appexchange.css). */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-400.ttf) format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(fonts/inter-700.ttf) format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url(fonts/inter-800.ttf) format('truetype'); }

:root {
  --ink: #030712; --navy: #0a1630; --panel: rgba(8,18,36,.72); --blue: #168cff; --cyan: #00d9ff; --cyan2: #39b8ff;
  --mute: #a9bad0; --soft: #c9d8ff; --white: #f8fbff; --line: rgba(128,222,255,.18); --border: rgba(0,209,255,.35);
  --ease: cubic-bezier(.2,.7,.2,1); --pop: cubic-bezier(.2,1.3,.3,1);
  --gutter: clamp(20px, 5vw, 72px); --max: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.4; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* top bar (echoes the live site) */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); background: linear-gradient(180deg, rgba(3,7,18,.92), rgba(3,7,18,.55) 70%, transparent); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 30px; height: auto; }
.brand strong { display: block; font-size: 15px; letter-spacing: -.01em; }
.brand small { display: block; font-size: 11px; color: var(--mute); letter-spacing: .14em; text-transform: uppercase; }
.topnav { display: flex; gap: 22px; font-size: 14px; color: var(--mute); }
.topnav a:hover { color: var(--white); }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #041018; background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 30px rgba(0,183,255,.28); }
.cta.ghost { color: var(--white); background: transparent; border: 1.5px solid var(--border); box-shadow: none; }
@media (max-width: 760px) { .topnav { display: none; } }

/* shared type */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--cyan); }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: .98; }
h1 { font-size: clamp(56px, 11vw, 150px); }
h2 { font-size: clamp(40px, 6.4vw, 96px); }
h3 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -.025em; }
em { font-style: normal; color: var(--cyan2); }
.lead { font-size: clamp(17px, 1.6vw, 24px); color: var(--soft); max-width: 44ch; }
.lead b { color: var(--white); }
.fine { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* reveal system */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.pop { transform: translateY(40px) scale(.94); transition-timing-function: var(--pop); }
.rv.pop.in { transform: none; }
[data-stagger] > .rv:nth-child(2) { transition-delay: .12s; } [data-stagger] > .rv:nth-child(3) { transition-delay: .24s; } [data-stagger] > .rv:nth-child(4) { transition-delay: .36s; } [data-stagger] > .rv:nth-child(5) { transition-delay: .48s; } [data-stagger] > .rv:nth-child(6) { transition-delay: .6s; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; z-index: -2; transform: scale(1.06); transition: transform 6s linear; }
.hero.in picture img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,7,18,.5) 0%, rgba(3,7,18,.1) 35%, rgba(3,7,18,.55) 65%, var(--ink) 100%); }
.hero .wrap { padding: 140px 0 96px; }
/* hero lockup: mark + wordmark over the surf image */
.hero .brandlock { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.hero .mark { flex: none; width: clamp(120px, 16vw, 232px); height: auto; filter: drop-shadow(0 4px 24px rgba(3,7,18,.6)); }
.hero h1 { text-shadow: 0 6px 40px rgba(3,7,18,.55); }
.hero .estline { display: flex; align-items: center; gap: 14px; margin-top: clamp(18px, 2.4vw, 28px); font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan2); }
.hero .estline i { width: 40px; height: 1.5px; background: var(--cyan2); }
@media (max-width: 760px) { .hero .brandlock { flex-direction: column; align-items: flex-start; gap: 14px; } .hero .estline { font-size: 10px; letter-spacing: .18em; } }
.hero h1 span { display: block; }
.hero .lead { margin-top: 22px; }
.scrollcue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); display: grid; justify-items: center; gap: 8px; }
.scrollcue i { width: 1px; height: 46px; background: linear-gradient(var(--cyan), transparent); animation: cue 1.8s infinite; }
@keyframes cue { 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; } }

/* roots: pinned scroll-scrubbed flipbook */
.roots { position: relative; height: 260vh; }
.roots .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.roots .bg { position: absolute; inset: 0; overflow: hidden; background: #0a1a24; }
.roots .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.roots .bg .k1 { object-position: 30% 40%; transform-origin: 33% 40%; animation: kbA 24s ease-in-out infinite; }
.roots .bg .k2 { object-position: 54% 40%; transform-origin: 54% 38%; opacity: 0; animation: kbB 24s ease-in-out infinite; }
@keyframes kbA { 0% { opacity: 1; transform: scale(1.02); } 42% { opacity: 1; } 50% { opacity: 0; transform: scale(1.16); } 92% { opacity: 0; transform: scale(1.02); } 100% { opacity: 1; transform: scale(1.02); } }
@keyframes kbB { 0%, 42% { opacity: 0; transform: scale(1.02); } 50% { opacity: 1; } 92% { opacity: 1; transform: scale(1.2) translate(-2%, -1%); } 100% { opacity: 0; transform: scale(1.2) translate(-2%, -1%); } }
.roots .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,7,18,.25), rgba(3,7,18,.05) 40%, rgba(3,7,18,.9) 80%, var(--ink)); pointer-events: none; }
.roots .copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(48px, 9vh, 120px); z-index: 2; max-width: 820px; }
.roots .line { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.roots .line.on { opacity: 1; transform: none; }
.roots h2 { margin-top: 14px; }
.roots .lead { margin-top: 20px; font-size: clamp(18px, 2vw, 28px); }
.roots .lead.two { margin-top: 14px; color: var(--white); font-weight: 700; }
.roots .card { position: absolute; z-index: 2; border-radius: 16px; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 40px 80px rgba(0,0,0,.6); overflow: hidden; will-change: transform; }
.roots .card img { width: 100%; height: 100%; object-fit: cover; }
.roots .card small { position: absolute; left: 10px; bottom: 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; background: rgba(3,7,18,.75); padding: 6px 9px; border-radius: 6px; }
.roots .ob { right: var(--gutter); top: 14vh; width: clamp(150px, 22vw, 320px); aspect-ratio: 1080/1024; }
.roots .pd { left: var(--gutter); top: 20vh; width: clamp(120px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%; }
@media (max-width: 760px) { .roots { height: 300vh; } .roots .pd { display: none; } .roots .ob { top: 11vh; } }

/* chapters */
.chapters { position: relative; }
.chapters .intro { padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px); }
.chapters .intro h2 { margin-top: 18px; max-width: 14ch; }
.chapters .intro .lead { margin-top: 22px; }
.rail { position: sticky; top: 0; height: 0; z-index: 20; pointer-events: none; }
.rail ol { position: absolute; left: 22px; top: 50vh; transform: translateY(-50%); list-style: none; display: grid; gap: 14px; }
.rail li { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(169,186,208,.45); transition: color .4s; }
.rail li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1b2a4a; transition: all .4s; }
.rail li.on { color: var(--cyan); } .rail li.on::before { background: var(--cyan); box-shadow: 0 0 0 6px rgba(0,217,255,.15), 0 0 20px var(--cyan); }
.rail li span { display: none; } .rail li.on span { display: inline; }
@media (max-width: 1100px) { .rail { display: none; } }
.chapter { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: clip; isolation: isolate; scroll-margin-top: 0; }
.chapter .media { position: absolute; inset: 0; z-index: -2; }
.chapter .media img, .chapter .media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.chapter.in .media img, .chapter.in .media video { transform: scale(1); }
.chapter::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,7,18,.7) 0%, rgba(3,7,18,.25) 40%, rgba(3,7,18,.92) 78%, var(--ink) 100%); }
.chapter.dark::after { background: linear-gradient(180deg, var(--ink), rgba(3,7,18,.6) 30%, rgba(3,7,18,.6) 70%, var(--ink)); }
.chapter .grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(57,184,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(57,184,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }
.chapter .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding: 120px 0 clamp(56px, 8vw, 110px); }
.chapter .num { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); }
.chapter .num i { font-style: normal; color: var(--mute); letter-spacing: .2em; }
.chapter .num::after { content: ""; width: 80px; height: 2px; background: var(--cyan); }
.chapter h2 { margin-top: 18px; }
.chapter .lead { margin-top: 18px; }
.chapter .chips { list-style: none; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.chapter .chips li { font-size: 14px; font-weight: 600; color: var(--soft); background: var(--panel); border: 1.5px solid var(--border); border-radius: 999px; padding: 10px 16px 10px 12px; display: inline-flex; align-items: center; gap: 10px; backdrop-filter: blur(8px); }
.chapter .chips li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.chapter .chips b { color: var(--white); }
.chapter .proof { display: grid; gap: 16px; justify-items: end; }
.phone { width: clamp(170px, 20vw, 260px); aspect-ratio: 440/900; border-radius: clamp(28px, 3vw, 40px); background: #0d0f14; border: 3px solid #2a2f3a; box-shadow: 0 50px 100px rgba(0,0,0,.6), inset 0 0 0 7px #000, 0 0 60px rgba(26,120,255,.2); position: relative; overflow: hidden; }
.phone img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; object-position: top; border-radius: clamp(22px, 2.4vw, 32px); }
.phone::before { content: ""; position: absolute; left: 50%; top: 18px; width: 30%; height: 7%; max-height: 24px; transform: translateX(-50%); border-radius: 14px; background: #000; z-index: 2; }
.pcard { border-radius: 16px; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 40px 80px rgba(0,0,0,.6); overflow: hidden; position: relative; background: #000; }
.pcard img, .pcard video { width: 100%; height: 100%; object-fit: cover; }
.pcard small { position: absolute; left: 10px; bottom: 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; background: rgba(3,7,18,.75); padding: 6px 9px; border-radius: 6px; }
.tile { display: grid; place-items: center; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); padding: 14px 22px; }
.tile img { height: 42px; width: auto; object-fit: contain; }
.mark-sq { width: 72px; height: 72px; border-radius: 20px; overflow: hidden; border: 1.5px solid var(--border); background: #0b0f1a; display: grid; place-items: center; }
.mark-sq img { width: 100%; height: 100%; object-fit: cover; }
.mark-sq.pad img { object-fit: contain; padding: 10px; }
.posters { display: flex; gap: 12px; align-items: flex-end; }
.posters .pcard { width: clamp(90px, 11vw, 150px); aspect-ratio: 3/4; }
.posters .pcard:nth-child(1) { transform: rotate(-6deg); } .posters .pcard:nth-child(3) { transform: rotate(6deg); } .posters .pcard:nth-child(2) { transform: translateY(-14px); z-index: 2; }
.phones3 { display: flex; gap: 10px; align-items: flex-end; }
.phones3 .phone { width: clamp(110px, 12vw, 170px); }
.phones3 .phone:nth-child(1) { transform: rotate(-6deg); } .phones3 .phone:nth-child(3) { transform: rotate(6deg); } .phones3 .phone:nth-child(2) { transform: translateY(-16px); z-index: 2; }
.coin { width: clamp(180px, 22vw, 320px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 60px 120px rgba(0,0,0,.7), 0 0 90px rgba(57,184,255,.3); }
.coin video { width: 100%; height: 100%; object-fit: cover; }
.payline { display: inline-flex; align-items: center; gap: 14px; background: #fff; color: #111; border-radius: 16px; padding: 10px 16px 10px 10px; font-weight: 700; font-size: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.applepay { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; background: #000; color: #fff; font-weight: 600; font-size: 17px; }
.applepay img { height: 18px; filter: invert(1); }
.big { font-size: clamp(44px, 8vw, 120px); font-weight: 900; letter-spacing: -.05em; line-height: .95; }
@media (max-width: 860px) { .chapter .wrap { grid-template-columns: 1fr; padding-top: 100px; } .chapter .proof { justify-items: start; } .chapter { min-height: auto; } .chapter .media { height: 100%; } .chapter:not(.dark)::after { background: linear-gradient(180deg, rgba(3,7,18,.75) 0%, rgba(3,7,18,.55) 30%, rgba(3,7,18,.9) 55%, var(--ink) 100%); } }

/* timeline */
.record { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.record .waves { position: absolute; inset: 0; opacity: .12; pointer-events: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='120' viewBox='0 0 600 120'><path d='M0 60 C100 20 200 20 300 60 S500 100 600 60' fill='none' stroke='%2339b8ff' stroke-width='2'/><path d='M0 90 C100 50 200 50 300 90 S500 130 600 90' fill='none' stroke='%231a78ff' stroke-width='1.5'/></svg>") 0 0/600px 120px repeat; mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.record .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.record h2 { margin-top: 18px; }
.timeline { list-style: none; position: relative; padding-left: 44px; margin-top: 40px; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 3px; background: #15264a; }
.timeline::after { content: ""; position: absolute; left: 13px; top: 10px; width: 3px; height: var(--fill, 0%); background: linear-gradient(var(--blue), var(--cyan)); transition: height 1.2s var(--ease); }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: baseline; }
.timeline li::before { content: ""; position: absolute; left: -40px; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: #1b2a4a; border: 3px solid var(--ink); transition: all .5s; }
.timeline li.in::before { background: var(--cyan); box-shadow: 0 0 0 6px rgba(0,217,255,.15), 0 0 24px var(--cyan); }
.timeline .yr { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.timeline b { display: block; font-size: 18px; } .timeline span { font-size: 14px; color: var(--mute); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.badges .tile { padding: 10px 16px; } .badges .tile img { height: 34px; }
.badges .tile { height: 92px; padding: 10px 26px; }
.record .photos { position: relative; min-height: 420px; }
.record .photos .pcard { position: absolute; }
.record .photos .solo { left: 50%; top: 0; width: min(62%, 340px); aspect-ratio: 3/4; transform: translateX(-50%) rotate(3deg); }
@media (max-width: 860px) { .record .wrap { grid-template-columns: 1fr; } .record .photos { min-height: 300px; } }

/* platforms + factory direct */
.platforms { padding: clamp(60px, 10vw, 140px) 0; background: radial-gradient(ellipse at 50% 0%, #0b1d3f 0%, var(--ink) 60%); }
.platforms h2 { margin-top: 18px; max-width: 14ch; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.tiles .tile { height: 96px; } .tiles .tile img { height: 38px; } .tiles .tile.sf img { height: 56px; } .tiles .tile.slack img { height: 60px; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.factory { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(48px, 7vw, 96px); }
.factory .pcard { aspect-ratio: 4/3; transform: rotate(-2deg); }
.label { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #111; border-radius: 10px; padding: 10px 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.label i { width: 9px; height: 9px; border-radius: 50%; background: #10b981; }
.factory h3 { margin-top: 18px; }
.factory .lead { margin-top: 14px; }
@media (max-width: 860px) { .factory { grid-template-columns: 1fr; } }

/* close */
.close { padding: clamp(80px, 12vw, 160px) 0 60px; text-align: center; position: relative; }
.close h2 { margin: 18px auto 0; max-width: 16ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.stat { background: var(--panel); border: 1.5px solid var(--border); border-radius: 18px; padding: 20px 14px; text-align: left; }
.stat b { display: block; font-size: clamp(36px, 5vw, 64px); font-weight: 900; letter-spacing: -.05em; line-height: 1; background: linear-gradient(90deg, #fff, var(--cyan2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--soft); font-weight: 600; }
.stat small { display: block; margin-top: 6px; font-size: 11px; color: var(--mute); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
/* ecosystem ring: Tidal Swing mark at the hub, five product marks around it */
.eco { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin: 32px auto 0; }
.eco .ring { position: absolute; inset: 9%; border-radius: 50%; border: 1.5px dashed rgba(57,184,255,.35); }
.eco .hub { position: absolute; left: 50%; top: 50%; width: 30%; margin: -15% 0 0 -15%; aspect-ratio: 1; border-radius: 50%; background: #000; box-shadow: 0 0 0 6px rgba(57,184,255,.12), 0 24px 60px rgba(0,0,0,.6), 0 0 60px rgba(26,120,255,.45); overflow: hidden; }
.eco .hub img { width: 100%; height: 100%; object-fit: cover; }
.eco .hub.rv.pop { transform: scale(.85); } .eco .hub.rv.pop.in { transform: none; }
.eco .logo { position: absolute; width: 22%; margin: -11% 0 0 -11%; }
.eco .logo.rv.pop { transform: translateY(14px) scale(.92); } .eco .logo.rv.pop.in { transform: none; }
.eco .l1 { left: 50%; top: 9%; } .eco .l2 { left: 89%; top: 37.3%; } .eco .l3 { left: 74.1%; top: 83.2%; } .eco .l4 { left: 25.9%; top: 83.2%; } .eco .l5 { left: 11%; top: 37.3%; }
.eco .logo.oc img { max-width: 66%; max-height: 66%; }
.lockup { display: flex; align-items: center; gap: 12px; } .lockup img:first-child { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.6); } .lockup img:last-child { height: 30px; filter: brightness(0) invert(1); }
.tile.ssd img { height: 64px; }
.logo { aspect-ratio: 1; border-radius: 18px; background: #0b0f1a; border: 1.5px solid rgba(57,184,255,.25); display: grid; place-items: center; position: relative; overflow: hidden; }
.logo img { max-width: 56%; max-height: 56%; object-fit: contain; }
.logo.white img { filter: brightness(0) invert(1); }
.logo.cc { background: #0b2a3d; }
.logo span { position: absolute; left: 0; right: 0; bottom: 8px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
@media (max-width: 760px) { .eco .logo span { font-size: 7px; } }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 44px; }
.ctas .cta { padding: 15px 24px; font-size: 15px; }
footer { padding: 40px var(--gutter) 60px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: 13px; color: var(--mute); }
footer nav { display: flex; gap: 20px; }

@media (prefers-reduced-motion: reduce) {
  .rv, .roots .line { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero img, .chapter .media img, .chapter .media video { transform: none !important; transition: none !important; }
  .scrollcue i { animation: none; }
  .roots { height: auto; } .roots .stage { position: relative; height: 100svh; }
}

footer .es { color: var(--cyan); font-style: italic; font-weight: 600; white-space: nowrap; }

/* partnership section (home) */
.partners { padding: clamp(80px, 12vw, 150px) 0; background: radial-gradient(ellipse at 20% 0%, #0b1d3f 0%, var(--ink) 65%); }
.partners h2 { margin-top: 18px; max-width: 18ch; }
.partners .lead { max-width: 60ch; margin-top: 18px; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.mode { display: block; background: var(--panel); border: 1.5px solid var(--border); border-radius: 18px; padding: 24px 22px; transition: border-color .2s; }
.mode:hover, .mode:focus-visible { border-color: var(--cyan2); }
.mode i { font-style: normal; font-weight: 900; font-size: 13px; letter-spacing: .14em; color: var(--cyan2); }
.mode b { display: block; margin-top: 10px; font-size: 20px; color: var(--white); }
.mode span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--soft); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.link .tile { height: 84px; } .link .tile img { height: 40px; } .link .tile.slack img { height: 54px; }
.link p { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--soft); } .link p b { color: var(--white); }
.eco a.logo { color: inherit; }
@media (max-width: 760px) { .modes, .links { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, 1fr); } }

/* 2026-11-20 fixes: header CTA never wraps; scroll cue collides with hero copy on phones */
.topbar .cta { white-space: nowrap; }
@media (max-width: 760px) { .scrollcue { display: none; } .topbar .cta { padding-left: 16px; padding-right: 16px; } }

/* 2026-11-20: partner badges + SI/ISV/OEM visuals, qrNQ tile, spinning SSHL */
.phead { display: block; }
.mode figure { margin: -24px -22px 18px; height: 170px; border-radius: 16px 16px 0 0; overflow: hidden; background: #050b18; border-bottom: 1.5px solid var(--border); }
.mode figure img { width: 100%; height: 100%; object-fit: cover; }
.mode figure.fit img { object-fit: contain; padding: 10px; }
.mode figure.duo { display: flex; justify-content: center; gap: 14px; padding-top: 16px; }
.mode figure.duo img { width: 34%; height: auto; object-fit: cover; object-position: top; border-radius: 14px 14px 0 0; }
.logo.qr { background: #1c2230; } .logo.qr img { max-width: 78%; }
.logo video.spin { width: 70%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
/* 2026-11-20 crypto chapter: studio photo + coin badge + balanced lockup */
.oclock { display: flex; align-items: center; gap: 12px; margin: 18px 0 6px; }
.oclock img:first-child { height: 34px; width: 34px; }
.oclock img:last-child { height: 22px; width: auto; filter: brightness(0) invert(1); }
#crypto .proof { justify-items: end; }
.studio { position: relative; width: min(100%, 560px); margin: 0; }
.studio > img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: 0 50px 110px rgba(0,0,0,.6); border: 1.5px solid rgba(255,255,255,.08); }
.studio figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(3,7,18,.62); backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 999px; }
.coinbadge { position: absolute; right: -18px; top: -26px; width: clamp(96px, 11vw, 140px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 0 4px rgba(3,7,18,.9), 0 0 50px rgba(57,184,255,.35); }
.coinbadge video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { #crypto .proof { justify-items: start; } .coinbadge { right: 12px; top: 12px; width: 84px; } }
@media (max-width: 1599px) { .rail li.on span { display: none; } }
@media (max-width: 760px) { .roots .card small { font-size: 8px; padding: 4px 6px; white-space: nowrap; left: 6px; bottom: 6px; } }

/* 2026-11-20: events logo on top, live scanner phones, CC logo, WWDC card */
.mmmark { width: clamp(56px, 5.2vw, 74px); height: auto; margin-bottom: 22px; filter: drop-shadow(0 4px 18px rgba(3,7,18,.55)); }
.phone .scr { position: absolute; inset: 9px; border-radius: clamp(22px, 2.4vw, 32px); overflow: hidden; }
.phone .scr > img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.qrview { position: absolute; left: 17.7%; top: 26.7%; width: 64.6%; aspect-ratio: 1; display: grid; place-items: center; z-index: 2; }
.qrview .tkt { width: 70%; aspect-ratio: 1; background: #fff; border-radius: 8px; padding: 7%; box-shadow: 0 10px 24px rgba(0,0,0,.6); transform: rotate(-7deg); animation: tktIn 4.2s infinite var(--ease); }
.qrview .tkt img { width: 100%; height: 100%; display: block; position: static; }
.qrview .scanline { position: absolute; left: 6%; right: 6%; height: 2px; background: #5eead4; box-shadow: 0 0 10px #5eead4, 0 0 22px rgba(94,234,212,.6); animation: scanQ 4.2s infinite linear; }
.qrview .corner { position: absolute; width: 18%; height: 18%; border: 2px solid #5eead4; animation: lockOn 4.2s infinite; }
.qrview .c1 { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; } .qrview .c2 { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.qrview .c3 { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; } .qrview .c4 { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.scr.admitted .scanline { display: none; } .scr.admitted .corner { border-color: #22c55e; animation: none; } .scr.admitted .tkt { animation: tktIn 4.2s infinite var(--ease) 1.4s; }
@keyframes tktIn { 0%, 6% { opacity: 0; transform: rotate(-7deg) scale(.7) translateY(30%); } 18%, 88% { opacity: 1; transform: rotate(-7deg) scale(1); } 100% { opacity: 0; transform: rotate(-7deg) scale(1); } }
@keyframes scanQ { 0%, 18% { top: 6%; opacity: 0; } 22% { opacity: 1; } 45% { top: 92%; } 68% { top: 6%; opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes lockOn { 0%, 68% { opacity: .35; border-color: #5eead4; } 72%, 92% { opacity: 1; border-color: #22c55e; } 100% { opacity: .35; } }
.pcard.wwdc { width: min(100%, 300px); aspect-ratio: 1080/1280; margin-top: 28px; transform: rotate(-3deg); }
@media (prefers-reduced-motion: reduce) { .qrview .tkt, .qrview .scanline, .qrview .corner { animation: none !important; } .qrview .scanline { display: none; } }

/* Cannabis Cloud mark: leaf grows out of the cloud on reveal, then sways */
.ccmark { position: relative; width: clamp(170px, 17vw, 240px); aspect-ratio: 800/461; margin-bottom: 22px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); opacity: 1 !important; transform: none !important; }
.ccmark img, .ccmark .leafwrap { position: absolute; inset: 0; width: 100%; height: 100%; }
.ccmark .cloud { animation: ccFloat 7s ease-in-out infinite; }
.ccmark .leafwrap { transform-origin: 49.8% 79.8%; transform: scale(0); }
.ccmark .leaf { transform-origin: 49.8% 79.8%; }
.ccmark.in .leafwrap { animation: ccGrow 2.4s cubic-bezier(.2,.9,.25,1) .35s forwards; }
.ccmark.in .leaf { animation: ccSway 5.5s ease-in-out 2.8s infinite; }
@keyframes ccGrow { 0% { transform: scale(0, .05); } 35% { transform: scale(.25, .6); } 65% { transform: scale(.85, 1.08); } 82% { transform: scale(1.06, .98); } 100% { transform: scale(1); } }
@keyframes ccSway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-3.5deg); } 70% { transform: rotate(3deg); } }
@keyframes ccFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .ccmark .cloud, .ccmark .leaf { animation: none !important; } .ccmark .leafwrap { animation: none !important; transform: none; } }

/* Applications: Apple hardware array assembles on reveal */
.hw { position: relative; width: min(100%, 700px); aspect-ratio: 16/11; margin-left: auto; opacity: 1 !important; transform: none !important; }
.hw img { position: absolute; height: auto; opacity: 0; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); will-change: transform, opacity; }
.hw .d-display { left: 17%; top: 0; width: 60%; }
.hw .d-studio  { right: 0; bottom: 21%; width: 29%; }
.hw .d-macbook { left: 0; bottom: 6%; width: 54%; }
.hw .d-mini    { left: 47%; bottom: 0; width: 27%; }
.hw .d-iphone  { right: 2%; bottom: 0; width: 19%; }
.hw.in img { animation: hwIn 1.1s cubic-bezier(.2,.9,.25,1) forwards, hwFloat 7s ease-in-out infinite; }
.hw.in .d-display { --dx: 0px; --dy: -60px; animation-delay: .1s, 1.4s; }
.hw.in .d-studio  { --dx: 120px; --dy: 0px; animation-delay: .35s, 1.8s; }
.hw.in .d-macbook { --dx: -140px; --dy: 20px; animation-delay: .55s, 2.1s; }
.hw.in .d-mini    { --dx: 0px; --dy: 90px; animation-delay: .75s, 2.4s; }
.hw.in .d-iphone  { --dx: 60px; --dy: 120px; animation-delay: .95s, 2.7s; }
@keyframes hwIn { from { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes hwFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (max-width: 860px) { .hw { margin: 8px auto 0; } }
@media (prefers-reduced-motion: reduce) { .hw img { opacity: 1; animation: none !important; } }

/* real-photo card captions + full-width credentials area */
.mode figure { position: relative; }
.mode figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(3,7,18,.7); backdrop-filter: blur(6px); padding: 5px 9px; border-radius: 999px; }
.creds { margin-top: clamp(56px, 8vw, 110px); display: grid; gap: 18px; }
.partnerbadge { display: block; width: clamp(240px, 30vw, 420px); height: auto; margin-bottom: clamp(20px, 3vw, 32px); border-radius: clamp(12px, 1.4vw, 18px); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.certband { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 64px); background: #fff; border-radius: clamp(14px, 2vw, 26px); padding: clamp(20px, 4vw, 56px) clamp(22px, 5vw, 72px); box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.certband img { width: clamp(150px, 26vw, 360px); height: auto; }
.certband b { display: block; font-size: clamp(28px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #032d60; }
.certband span { display: block; margin-top: 14px; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.5; color: #3e4a5c; max-width: 34ch; }
@media (max-width: 640px) { .certband { grid-template-columns: 1fr; justify-items: center; text-align: center; } .certband img { width: 210px; } .certband span { margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .roots .bg .kb { animation: none; } .roots .bg .k2 { opacity: 0; } }

/* Surfboards: Strahle Shape Design mark beside the Fresh Pineapple blank */
.ssdcomp { position: relative; width: min(100%, 560px); margin-left: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(14px, 2vw, 26px); align-items: center; }
.ssdcomp .blank { width: 100%; aspect-ratio: 1; margin: 0; transform: rotate(3deg); }
.ssdmark { display: block; height: clamp(170px, 19vw, 260px); width: auto; margin-bottom: 26px; filter: drop-shadow(0 14px 34px rgba(0,0,0,.75)); }
/* Cannabis: Golden State Greens collage */
.gsgcol { position: relative; width: min(100%, 560px); aspect-ratio: 5 / 4; margin-left: auto; }
.gsgcol .store { position: absolute; left: 0; top: 6%; width: 56%; aspect-ratio: 4 / 3; transform: rotate(-2deg); }
.gsgcol .model { position: absolute; right: 0; top: 0; width: 42%; aspect-ratio: 2 / 3; z-index: 2; transform: rotate(2.5deg); }
.gsgcol .model img { object-position: 50% 20%; }
.gsgcol .plant { position: absolute; left: 14%; bottom: 0; width: 34%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 30px 60px rgba(0,0,0,.55); z-index: 3; }
.gsgcol .plant img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 30%; }
/* Salesforce: framed print with Marc Benioff */
.polaroid { margin: 0; width: min(100%, 320px); background: #f6f8fb; padding: 12px 12px 0; border-radius: 6px; box-shadow: 0 40px 90px rgba(0,0,0,.6); transform: rotate(-2.5deg); }
.polaroid img { display: block; width: 100%; aspect-ratio: 1000 / 1240; object-fit: cover; filter: contrast(1.04) saturate(.92) brightness(1.02); }
.polaroid figcaption { padding: 12px 4px 14px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #0b1630; text-align: center; }
@media (max-width: 860px) { .ssdcomp, .gsgcol { margin: 8px auto 0; } .ssdcomp { width: min(88%, 380px); } .polaroid { width: min(78%, 300px); } }

/* Salesforce chapter: lift the class photo so the front row's faces sit above the heading */
#data .media img { position: absolute; left: 0; top: -50%; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: initial; transform: none; -webkit-mask-image: linear-gradient(#000 72%, transparent 96%); mask-image: linear-gradient(#000 72%, transparent 96%); }
@media (max-width: 860px) { #data .media { overflow: hidden; } #data .media img { width: 190vw; max-width: none; left: -6vw; top: -46vw; -webkit-mask-image: linear-gradient(#000 74%, transparent 92%); mask-image: linear-gradient(#000 74%, transparent 92%); } #data .wrap { padding-top: 84vw; } #data::after { background: linear-gradient(180deg, rgba(3,7,18,.35) 0, rgba(3,7,18,.1) 16vw, rgba(3,7,18,.15) 60vw, var(--ink) 92vw, var(--ink) 100%); } }

/* Story chapter: in-house brand film in a phone + posters */
#advertising .proof { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 36px); justify-content: flex-end; flex-wrap: wrap; }
.reel { display: grid; justify-items: center; gap: 12px; }
.reel .phone { width: clamp(170px, 17vw, 240px); }
.reel .scr video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel small { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
#advertising .posters .pcard { width: clamp(70px, 6.5vw, 100px); }


.ssdcomp .gboard { margin: 0; width: clamp(92px, 9vw, 136px); aspect-ratio: 658 / 1988; transform: rotate(-3deg); }
.ssdcomp .gboard small { left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 8px; }
.bboard { flex-basis: 100%; margin: 0; aspect-ratio: 2 / 1; transform: rotate(-1.5deg); }
@media (max-width: 860px) { .ssdcomp { width: min(100%, 420px); } }

.storygrid { flex-basis: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 2.6vw, 34px); align-items: end; }
.storyside { display: grid; gap: 22px; justify-items: center; }
.storyside .shoot { width: 100%; margin: 0; aspect-ratio: 3 / 2; transform: rotate(2deg); }
.storyside .shoot img { object-position: 75% 30%; }
@media (max-width: 560px) { .storygrid { grid-template-columns: 1fr; justify-items: center; } }
.storygrid .reel .phone { width: clamp(160px, 14vw, 210px); }
.storyside { min-width: 0; }
.storyside .posters { gap: 8px; }
.storyside .posters .pcard { width: clamp(56px, 4.8vw, 80px); }
@media (max-width: 560px) { .storyside .posters .pcard { width: 84px; } }
#advertising .proof { min-width: 0; }
#advertising .storygrid { min-width: 0; width: 100%; }
#advertising .storyside .posters .pcard { width: clamp(52px, 4.4vw, 76px); }
@media (max-width: 560px) { #advertising .storyside .posters .pcard { width: 84px; } }

/* Surfboards on phones: keep Gary (white tee, right of frame) upper right of center */
@media (max-width: 860px) {
  #surfboards .media { overflow: hidden; }
  #surfboards .media img { position: absolute; width: 200vw; max-width: none; height: auto; aspect-ratio: 1600 / 1279; left: -78vw; top: -8vw; transform: none; object-fit: initial; -webkit-mask-image: linear-gradient(#000 60%, transparent 92%); mask-image: linear-gradient(#000 60%, transparent 92%); }
  #surfboards::after { background: linear-gradient(180deg, rgba(3,7,18,.35) 0, rgba(3,7,18,.2) 30vw, rgba(3,7,18,.55) 95vw, var(--ink) 150vw, var(--ink) 100%); }
}
@media (max-width: 560px) { .ssdcomp .gboard small { display: none; } .ssdcomp .blank small { font-size: 8px; white-space: nowrap; } }

/* Golden State Greens nexus strip */
.chapter .wrap.nexus { display: block; padding: 0 0 clamp(56px, 8vw, 110px); }
.nx { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; counter-reset: none; position: relative; }
.nx::before { content: ""; position: absolute; left: 4%; right: 4%; top: 46px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--cyan2), transparent); opacity: .5; }
.nx li { position: relative; background: var(--panel); border: 1.5px solid var(--border); border-radius: 18px; padding: 16px 16px 18px; backdrop-filter: blur(8px); }
.nx img { display: block; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.nx li:nth-child(1) img { object-position: 50% 25%; } .nx li:nth-child(2) img { object-position: 80% 14%; } .nx li:nth-child(3) img { object-position: 22% 50%; } .nx li:nth-child(5) img { object-position: 50% 30%; }
.nx i { display: block; margin-top: 12px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--cyan2); }
.nx b { display: block; margin-top: 4px; font-size: 17px; color: var(--white); }
.nx span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--soft); }
@media (max-width: 860px) { .nx { grid-template-columns: 1fr 1fr; } .nx::before { display: none; } .nx li:last-child { grid-column: 1 / -1; } }

/* Story chapter desktop: zoom the wave pool shot so the surfer lands upper left, clear of the prints */
@media (min-width: 861px) {
  #advertising .media { overflow: hidden; }
  #advertising .media img { position: absolute; width: 185%; max-width: none; height: auto; aspect-ratio: 1999 / 1333; left: -84%; top: -36%; transform: none; object-fit: initial; }
}
