/* reach.codyn.se, codyn.se language (Geist, paper + ink, mono labels, orange)
   with a glass layer, Reach pink + cyan, and scroll-driven scenes.
   Scenes: [data-scene] sections get --p (0→1) from landing.js while their
   sticky stage is pinned; everything animated reads that one variable. */
:root {
    --paper: #F7F6F1;
    --ink: #0B0F14;
    --ink-2: #3A4049;
    --ink-3: #6B7280;
    --orange: #FF5B1F;
    --pink: #FF3D9A;
    --cyan: #13C2E3;
    --violet: #8B5CF6;
    --glass: rgba(255, 255, 255, 0.58);
    --glass-strong: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.9);
    --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 24px 60px -24px rgba(11, 15, 20, 0.28);
    --grad: linear-gradient(120deg, var(--pink) 0%, var(--orange) 50%, var(--cyan) 100%);
    --radius: 26px;
    --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: rgba(255, 61, 154, .22); }

/* Ambient colour field */
.aura { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aura span { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5; }
.aura .a1 { width: 48vw; height: 48vw; left: -14vw; top: -16vw; background: radial-gradient(circle, rgba(255,61,154,.55), transparent 65%); animation: drift 24s ease-in-out infinite alternate; }
.aura .a2 { width: 44vw; height: 44vw; right: -12vw; top: 10vh; background: radial-gradient(circle, rgba(19,194,227,.5), transparent 65%); animation: drift 28s ease-in-out infinite alternate-reverse; }
.aura .a3 { width: 36vw; height: 36vw; left: 30vw; top: 62vh; background: radial-gradient(circle, rgba(255,91,31,.25), transparent 65%); animation: drift 32s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6vw, 5vh) scale(1.08); } }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.glass { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow);
         -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 13px; padding: 14px 22px; border-radius: 4px; border: 1px solid var(--ink); background: transparent; color: var(--ink); transition: transform .15s ease, background .15s, box-shadow .15s; white-space: nowrap; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn.solid { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 12px 28px -12px rgba(255,91,31,.8); }
.btn.solid:hover { background: #ec4a10; }
.btn.ink { background: var(--ink); color: #fff; }
.btn.glassy { background: var(--glass-strong); border-color: var(--glass-border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn.sm { padding: 9px 14px; font-size: 12px; }

/* Nav */
.nav { position: sticky; top: 14px; z-index: 50; margin-top: 14px; }
.nav .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 16px; border-radius: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; }
.brand b { font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.brand span { color: var(--ink-3); font-size: 15px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.nav ul a:hover { color: var(--ink); }
.nav .cta { display: flex; gap: 8px; }
@media (max-width: 960px) { .nav ul { display: none; } }
@media (max-width: 480px) { .nav .cta .hide-xs { display: none; } .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { min-height: calc(100svh - 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 60px; }
.hero h1 { font-weight: 300; font-size: clamp(48px, 7.2vw, 112px); line-height: .98; letter-spacing: -.045em; margin: 22px 0 28px; }
.hero h1 b { font-weight: 800; }
.hero .lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 520px; margin: 0 0 36px; font-weight: 300; }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 44px; font-size: 14px; color: var(--ink-3); }
.faces { display: flex; }
.faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); margin-left: -10px; }
.faces img:first-child { margin-left: 0; }
@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; } }

/* Hero collage: phone + campaign cards + creator */
.collage { position: relative; height: min(720px, 80vh); min-height: 560px; }
.collage > * { position: absolute; }
.collage .phone { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); }
.collage .c1 { left: 0; top: 8%; width: 40%; transform: rotate(-9deg); }
.collage .c2 { right: 0; top: 4%; width: 36%; transform: rotate(8deg); }
.collage .c3 { right: 2%; bottom: 6%; width: 44%; }
.collage .c4 { left: 2%; bottom: 10%; width: 40%; }
@media (max-width: 1000px) { .collage { height: 640px; min-height: 0; } }
@media (max-width: 560px) { .collage { height: 560px; } .collage .c1 { width: 46%; } .collage .c2 { width: 42%; } .collage .c3, .collage .c4 { width: 60%; } .collage .c4 { display: none; } }

/* Phone mockup */
.phone { width: 290px; aspect-ratio: 9 / 19.2; border-radius: 46px; background: #0B0F14; padding: 11px; box-shadow: 0 50px 100px -30px rgba(11,15,20,.55), 0 0 0 1px rgba(255,255,255,.08) inset; }
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; position: relative; display: flex; flex-direction: column; }
.phone .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0B0F14; z-index: 3; }
.phone.sm { width: 230px; border-radius: 38px; padding: 9px; }
.phone.sm .screen { border-radius: 30px; }
@media (max-width: 560px) { .phone { width: 220px; } }
.ig-top { display: flex; align-items: center; gap: 8px; padding: 46px 12px 10px; font-size: 12px; font-weight: 700; }
.ig-top img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; outline: 2px solid var(--pink); outline-offset: 1px; }
.ig-top small { display: block; font-weight: 400; color: var(--ink-3); font-size: 10px; }
.ig-media { flex: 1; min-height: 0; position: relative; }
.ig-media img { width: 100%; height: 100%; object-fit: cover; }
.ig-tag { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: 10px; background: rgba(255,255,255,.9); padding: 4px 8px; border-radius: 6px; }
.ig-bar { padding: 10px 12px 18px; font-size: 11.5px; }
.ig-bar .icons { display: flex; gap: 12px; font-size: 16px; margin-bottom: 6px; }
.ig-bar b { font-weight: 700; }

/* Campaign creative cards */
.creative { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(11,15,20,.5); background: #fff; }
.creative .img { aspect-ratio: 4 / 5; position: relative; }
.creative .img img { width: 100%; height: 100%; object-fit: cover; }
.creative .img .over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; color: #fff; background: linear-gradient(to top, rgba(11,15,20,.72), transparent 60%); }
.creative .over b { font-size: clamp(15px, 1.4vw, 21px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.creative .over span { font-family: var(--mono); font-size: 10px; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.creative .meta { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: 11.5px; }
.creative .meta i { font-style: normal; font-family: var(--mono); font-size: 10px; padding: 3px 7px; border-radius: 99px; background: #f1f0eb; }
.stat-card { padding: 16px; }
.stat-card .big { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.up { color: #0f9f6e; font-size: 12px; font-family: var(--mono); }
.creator-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.creator-chip img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.creator-chip b { display: block; font-size: 14px; }
.creator-chip small { font-size: 12px; color: var(--ink-3); }
.creator-chip .ok { margin-left: auto; font-family: var(--mono); font-size: 10px; color: #0e7490; background: #e6fbff; padding: 4px 8px; border-radius: 99px; }

/* Channels marquee */
.channels { padding: 26px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); border-top: 1px solid rgba(11,15,20,.07); border-bottom: 1px solid rgba(11,15,20,.07); }
.channels .track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.channels .track > span { font-size: clamp(18px, 2vw, 26px); font-weight: 300; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; }
.channels .track > span::after { content: "✦"; font-size: 14px; color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scenes ---------- */
.scene { position: relative; --p: 0; }
.scene .stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.scene.h2x { height: 220vh; }
.scene.h3x { height: 300vh; }
.kicker { display: flex; gap: 14px; align-items: baseline; margin-bottom: 8px; }
.kicker .n { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.mega { font-weight: 800; font-size: clamp(64px, 14vw, 230px); line-height: .82; letter-spacing: -.06em; margin: 0; text-transform: uppercase; }
.mega.outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
/* Outline letters that fill with ink in step with the scene (same easing as the kanban card). */
.mega .fillink { --fill: calc(min(1, var(--p) * 1.45) * 125%); background: linear-gradient(90deg, var(--ink) var(--fill), transparent var(--fill)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; }
.scene .sub { max-width: 520px; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); font-weight: 300; margin: 22px 0 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* 01 SCHEDULE, big calendar */
.sched-title { transform: translateX(calc((1 - var(--p)) * 6vw)); }
.calendar { margin-top: clamp(20px, 3vh, 40px); padding: clamp(14px, 2vw, 24px); transform: translateY(calc((1 - min(1, var(--p) * 2.2)) * 120px)) scale(calc(.94 + min(1, var(--p) * 2.2) * .06)); opacity: calc(.2 + min(1, var(--p) * 3)); }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-head b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.cal-head .tabs { display: flex; gap: 6px; }
.cal-head .tabs span { font-family: var(--mono); font-size: 11px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.7); }
.cal-head .tabs span.on { background: var(--ink); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.cal-grid .dow { font-family: var(--mono); font-size: 11px; color: var(--ink-3); padding-left: 4px; }
.day { min-height: clamp(130px, 26vh, 300px); border-radius: 16px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.95); padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.day .d { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.day.today { outline: 2px solid var(--pink); outline-offset: -2px; }
.post { display: flex; gap: 9px; align-items: center; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 8px 18px -10px rgba(11,15,20,.4); font-size: 12.5px; line-height: 1.2;
        opacity: clamp(0, calc((var(--p) - var(--at)) * 8), 1); transform: translateY(calc(clamp(0, calc((var(--at) + .12 - var(--p)) * 8), 1) * 22px)); }
.post { flex-direction: column; align-items: stretch; position: relative; }
.post img { width: 100%; height: clamp(56px, 9vh, 104px); border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.post span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post small { display: block; font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); }


@media (max-width: 900px) {
    .cal-grid { grid-template-columns: repeat(7, minmax(120px, 1fr)); }
    .calendar .scroller { overflow-x: auto; margin: 0 -8px; padding: 0 8px 6px; scrollbar-width: none; }
    .calendar .scroller::-webkit-scrollbar { display: none; }
}

/* 02 IDEAS, kanban */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(24px, 4vh, 48px); }
.lane { padding: 14px; border-radius: 22px; min-height: 420px; display: flex; flex-direction: column; gap: 10px; }
.lane h4 { margin: 0 0 4px; font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; }
.idea { background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 10px 22px -16px rgba(11,15,20,.45); font-size: 13px; }
.idea img { width: 100%; height: 86px; object-fit: cover; border-radius: 9px; margin-bottom: 8px; }
.idea .tags { display: flex; gap: 5px; margin-top: 7px; }
.idea .tags i { font-style: normal; font-family: var(--mono); font-size: 9.5px; padding: 3px 7px; border-radius: 99px; background: #fdf0f7; color: #be185d; }
.idea .tags i.c { background: #e6fbff; color: #0e7490; }
.lead-lane { position: relative; z-index: 4; }
.idea.mover.landed { transform: none; z-index: 2; }
.idea.mover { transform: translateX(calc(min(1, var(--p) * 1.45) * 2 * (100% + 42px))); position: relative; z-index: 2; box-shadow: 0 26px 40px -18px rgba(255,61,154,.5); outline: 2px solid var(--pink); }
@media (max-width: 900px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lead-lane { position: relative; z-index: 4; }
.idea.mover.landed { transform: none; z-index: 2; }
.idea.mover { transform: none; } .lane { min-height: 0; } }

/* 03 INSPIRE, RSS */
.feed-wrap { position: relative; height: 520px; max-width: 460px; margin-left: auto; width: 100%; overflow: hidden; mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.feed-col { display: flex; flex-direction: column; gap: 12px; transform: translateY(calc(var(--p) * -320px)); }
.rss { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 12px; border-radius: 18px; align-items: center; }
.rss img { width: 84px; height: 72px; border-radius: 12px; object-fit: cover; }
.rss .src { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; }
.rss b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; margin: 3px 0 6px; }
.rss .use { font-family: var(--mono); font-size: 10.5px; color: var(--orange); }

/* 04 TEMPLATES, a wall of designs moving in opposite directions */
.tpl-rows { display: flex; flex-direction: column; gap: 16px; margin-top: clamp(24px, 5vh, 56px); }
.tpl-row { display: flex; gap: 16px; width: max-content; }
.tpl-row.r1 { transform: translateX(calc(var(--p) * -28vw)); }
.tpl-row.r2 { transform: translateX(calc(-20vw + var(--p) * 22vw)); }
.tpl { width: clamp(180px, 17vw, 250px); aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; position: relative; flex-shrink: 0; color: #fff; box-shadow: 0 24px 50px -28px rgba(11,15,20,.6); }
.tpl img { width: 100%; height: 100%; object-fit: cover; }
.tpl .t { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.tpl .t span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.9); color: var(--ink); align-self: flex-start; padding: 4px 8px; border-radius: 6px; }
.tpl .t b { font-size: clamp(20px, 2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: .98; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.tpl.solid { display: flex; }
.tpl.solid .t { position: static; flex: 1; }
.tpl.shade .t { background: linear-gradient(to top, rgba(11,15,20,.7), transparent 55%); }

/* 05 CREATORS, influencers */
.creators-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cr { border-radius: 24px; overflow: hidden; position: relative; height: clamp(240px, 36vh, 440px); color: #fff;
      transform: translateY(calc((1 - clamp(0, calc((var(--p) - var(--at)) * 5), 1)) * 80px)); opacity: clamp(.15, calc((var(--p) - var(--at)) * 5), 1); }
.cr img { width: 100%; height: 100%; object-fit: cover; }
.cr .info { position: absolute; inset: auto 10px 10px 10px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cr .info b { display: block; font-size: 16px; }
.cr .info small { font-size: 12px; opacity: .92; }
.cr .info .f { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; }
.cr .badge { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; padding: 4px 8px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink); }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.flow div { padding: 16px; border-radius: 18px; font-size: 14px; }
.flow i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--pink); display: block; margin-bottom: 8px; }
.flow b { display: block; font-weight: 600; margin-bottom: 4px; }
.flow span { color: var(--ink-2); font-weight: 300; }
@media (max-width: 1000px) { .creators-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.proposal { padding: 18px; max-width: 380px; }
.proposal .who { display: flex; gap: 10px; align-items: center; }
.proposal .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.proposal .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.proposal .row b { color: var(--ink); }
.ptrack { height: 8px; background: rgba(11,15,20,.08); border-radius: 99px; overflow: hidden; margin-top: 12px; }
.ptrack i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--grad); border-radius: 99px; }

/* 06 NOTIFY, phone with stacking notifications */
.notify-stage { display: flex; justify-content: center; position: relative; }
.notify-stage .phone { width: clamp(260px, 22vw, 340px); }
.notify-stage .side-card { position: absolute; right: 0; bottom: 14%; width: min(280px, 40%); transform: translateX(calc((1 - var(--p)) * 40px)) rotate(4deg); z-index: 2; opacity: clamp(0, calc(var(--p) * 3 - .6), 1); }
.notify-stage .side-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.notify-stage .side-card p { margin: 10px 4px 2px; font-size: 13px; }
@media (max-width: 900px) { .notify-stage .side-card { display: none; } }
.phone .screen.lock { background: linear-gradient(160deg, #2a1f3d, #0B0F14 60%, #0c3341); color: #fff; padding: 58px 12px 12px; gap: 8px; }
.lock .time { text-align: center; font-size: 52px; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.lock .date { text-align: center; font-size: 12px; opacity: .8; margin-bottom: 18px; }
.push { display: flex; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 11.5px; line-height: 1.35;
        opacity: clamp(0, calc((var(--p) - var(--at)) * 7), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p) - var(--at)) * 7), 1)) * -30px)) scale(calc(.92 + clamp(0, calc((var(--p) - var(--at)) * 7), 1) * .08)); }
.push .ic { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.push .ic img { width: 20px; height: 20px; }
.push b { display: block; font-size: 11.5px; }
.push small { opacity: .7; font-size: 10px; float: right; }

/* 07 MEASURE, analytics */
.dash { padding: clamp(16px, 2.4vw, 30px); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.95); }
.kpi small { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; }
.kpi b { display: block; font-size: clamp(24px, 3vw, 44px); font-weight: 600; letter-spacing: -.04em; margin: 4px 0; }
.chart { width: 100%; height: clamp(160px, 26vh, 260px); margin-top: 16px; }
.chart .line { stroke-dasharray: 1400; stroke-dashoffset: max(0, calc(1400 - var(--p) * 2240)); }
.chart .area { opacity: calc(var(--p) * 1.6); }
.top-posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.top-posts div { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.top-posts img { width: 100%; height: 100%; object-fit: cover; }
.top-posts span { position: absolute; left: 8px; bottom: 8px; font-family: var(--mono); font-size: 10.5px; background: rgba(255,255,255,.92); padding: 3px 7px; border-radius: 6px; }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } .top-posts { grid-template-columns: 1fr 1fr; } }

/* More, compact grid */
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.more .glass { padding: 30px; min-height: 230px; display: flex; flex-direction: column; gap: 10px; }
.more h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.more p { margin: 0; color: var(--ink-2); font-weight: 300; }
@media (max-width: 900px) { .more { grid-template-columns: 1fr; } }

.block { padding: clamp(96px, 16vh, 180px) 0; }
.section-title { font-weight: 300; font-size: clamp(40px, 6vw, 88px); letter-spacing: -.04em; line-height: 1; margin: 12px 0 40px; }
.section-title b { font-weight: 800; }

/* Closing */
.closing { padding: clamp(56px, 10vh, 120px) clamp(20px, 5vw, 80px); text-align: center; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 180deg, rgba(255,61,154,.28), rgba(19,194,227,.28), rgba(255,91,31,.22), rgba(255,61,154,.28)); filter: blur(70px); animation: spin 26s linear infinite; }
.closing > * { position: relative; }
.closing h2 { font-weight: 800; font-size: clamp(44px, 8vw, 128px); letter-spacing: -.05em; line-height: .92; margin: 16px 0 22px; text-transform: uppercase; }
.closing p { color: var(--ink-2); max-width: 560px; margin: 0 auto 34px; font-weight: 300; font-size: 18px; }
.closing .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@keyframes spin { to { transform: rotate(360deg); } }
footer { padding: 56px 0 44px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }
footer a:hover { color: var(--ink); }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.float { animation: float 7s ease-in-out infinite; }
.float.d2 { animation-delay: -3.5s; }
@keyframes float { 50% { translate: 0 -12px; } }

/* Mobile + tablet: scenes become ordinary stacked sections, final state shown */
@media (max-width: 900px), (max-height: 620px) {
    .scene.h2x, .scene.h3x { height: auto; }
    .scene { --p: 1 !important; }
    .scene .stage { position: static; height: auto; overflow: visible; padding: 96px 0 24px; }
    .split, .split.rev { grid-template-columns: 1fr; }
    .sched-title { transform: none; }
    .tpl-row.r1, .tpl-row.r2 { transform: none; width: auto; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .tpl-row::-webkit-scrollbar { display: none; }
    .feed-wrap { height: auto; mask-image: none; }
    .feed-col { transform: none; }
    .feed-col .rss:nth-child(n+5) { display: none; }
    .cr { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .aura span, .float, .channels .track, .closing::before { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .scene { --p: 1 !important; }
}

/* ---------- Creator application page ---------- */
.join { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; padding: 72px 0 96px; align-items: start; }
@media (max-width: 1000px) { .join { grid-template-columns: 1fr; padding-top: 40px; } }
.join h1 { font-weight: 300; font-size: clamp(40px, 5vw, 68px); letter-spacing: -.04em; line-height: 1; margin: 16px 0 20px; }
.join h1 b { font-weight: 800; }
.join .side p { color: var(--ink-2); font-weight: 300; font-size: 17px; }
.join .side .faces { margin: 26px 0 8px; }
.join form { padding: 30px; }
@media (max-width: 640px) { .join form { padding: 20px 16px; } }
.join h2 { font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 400; margin: 28px 0 12px; }
.join h2:first-of-type { margin-top: 0; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.95); }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--pink); color: #fff; }
.steps li:nth-child(2)::before { background: var(--orange); }
.steps li:nth-child(3)::before { background: var(--cyan); }
.steps b { display: block; font-weight: 600; font-size: 15px; }
.steps span { font-size: 14px; color: var(--ink-2); font-weight: 300; }
.f { margin-bottom: 14px; }
.f label.l { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.f .h { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.f .e, .errs { color: #c0262d; font-size: 12.5px; margin-top: 4px; }
.f .e ul, .errs ul { margin: 0; padding-left: 16px; }
.join input[type=text], .join input[type=email], .join input[type=password], .join input[type=url], .join input[type=number], .join input[type=tel], .join select, .join textarea {
    width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(11,15,20,.12); background: rgba(255,255,255,.82); font: inherit; font-size: 15px; color: var(--ink); }
.join input:focus, .join select:focus, .join textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,61,154,.14); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .cols2 { grid-template-columns: 1fr; } }
.checks ul, .checks > div { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: rgba(255,255,255,.75); border: 1px solid rgba(11,15,20,.1); font-size: 13px; cursor: pointer; position: relative; }
.checks label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.linkrow { display: grid; grid-template-columns: 130px 1fr 120px 110px; gap: 8px; margin-bottom: 8px; }
@media (max-width: 720px) { .linkrow { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.consent input { margin-top: 4px; accent-color: var(--pink); }

/* Official network logos (templates/partials/_platform_icon.html) */
.logo { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px -4px rgba(11,15,20,.35); flex-shrink: 0; }
.logo svg { width: 15px; height: 15px; flex-shrink: 0; }
.logo.net, .logo.corner { position: absolute; top: 10px; right: 10px; z-index: 2; }
.post .logo.net { top: 12px; right: 12px; width: 24px; height: 24px; }
.ig-top { position: relative; }
.ig-top .logo.corner { top: 44px; right: 12px; }
.channels .logo { width: 34px; height: 34px; }
.channels .logo svg { flex-shrink: 0;  width: 19px; height: 19px; }
.channels .track > span { gap: 14px; }
.channels .track > span::after { margin-left: 42px; }
.mrow { display: inline-flex; align-items: center; gap: 8px; }
.mrow .logo { width: 22px; height: 22px; box-shadow: none; background: #f4f3ee; }
.cr-logos { display: flex; gap: 5px; margin-bottom: 8px; }
.cr-logos .logo { width: 26px; height: 26px; }
.top-posts .logo.corner { top: 8px; right: 8px; }
.tpl .logo.corner { top: 14px; right: 14px; }

.split.inspire { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 900px) { .split.inspire { grid-template-columns: 1fr; } .feed-wrap { margin-left: 0; max-width: none; } }
