/* Lumen Growth. Night and gold: a live light through the Aperture L, then a scroll story, then paper.
   One deliberate look, colours set explicitly. Every effect has a still state under reduced motion. */
@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --night: #0b1117; --ink: #101820; --ink-2: #17232d; --paper: #F6F3EB; --paper-2: #ECE6D8;
  --gold: #E9C675; --gold-hi: #F6DFA6; --gold-deep: #B98A2F; --slate: #44535D; --muted: #AFB8BE; --line: #D9D2C2;
  --display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 20px; --pad: 88px;
  color-scheme: dark;
}
@media (min-width: 900px) { :root { --gutter: 56px; --pad: 140px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--night); color: var(--paper); font: 17px/1.55 var(--text); overflow-x: clip; }
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--gold); color: var(--ink); padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 12.5px/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h2 { font-size: clamp(38px, 6.2vw, 84px); line-height: 1; }
.sub { color: var(--muted); max-width: 56ch; margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); }
.note { color: var(--muted); margin-top: 40px; max-width: 60ch; }
.note a { color: var(--gold); font-weight: 600; text-underline-offset: 4px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Split headline words (added by JS). Without JS the heading is plain text. */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .2em; margin-bottom: -.2em; }
.split .w > span { display: inline-block; will-change: transform; }

/* Header: glass bar that firms up after the hero */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(11,17,23,.62); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: rgba(246,243,235,.08); }
.bar { max-width: 1440px; margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 var(--display); letter-spacing: -.03em; min-height: 44px; color: var(--paper); }
.mark path { fill: currentColor; } .mark .sun { fill: var(--gold); }
nav { display: flex; align-items: center; gap: 4px 26px; font-size: 15px; }
nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); transition: color .16s; }
nav a:hover { color: var(--paper); }
nav .nav-cta { color: var(--ink); background: var(--gold); padding: 0 18px; border-radius: 999px; font-weight: 600; }
nav .nav-cta:hover { color: var(--ink); background: var(--gold-hi); }
@media (max-width: 720px) { nav a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--text); text-decoration: none; transition: background-color .16s, color .16s, border-color .16s, box-shadow .2s; isolation: isolate; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 1px rgba(246,223,166,.5) inset, 0 12px 48px -10px rgba(233,198,117,.7); }
.btn-gold::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%) -200% 0 / 250% 100% no-repeat; }
@media (prefers-reduced-motion: no-preference) { .btn-gold::after { animation: sheen 4.5s var(--ease) 2s infinite; } }
@keyframes sheen { 0%, 60% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.btn-gold:hover { background: var(--gold-hi); }
.btn-glass { color: var(--paper); background: rgba(246,243,235,.06); border: 1px solid rgba(246,243,235,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: rgba(246,243,235,.5); }
.btn-ink { background: var(--ink); color: var(--paper); margin-top: 32px; }
.btn-ink:hover { background: #000; }
.btn-xl { min-height: 64px; padding: 0 34px; font-size: 18px; }
.arr { display: inline-block; transition: transform .18s var(--ease); }
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(4px); }

/* HERO */
.hero { position: relative; min-height: 100svh; background: radial-gradient(120% 80% at 75% 30%, #121c26, var(--night) 70%); overflow: hidden; isolation: isolate; }
.gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 0; pointer-events: none; background: linear-gradient(transparent, var(--night)); }
.hero-in { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; min-height: 100svh; padding: 108px var(--gutter) 64px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0; }
@media (min-width: 900px) { .hero-in { grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); grid-template-rows: 1fr; align-items: center; padding-bottom: 96px; } }
.hero-copy { min-width: 0; }
.hero-art { min-height: 300px; position: relative; }
@media (min-width: 900px) { .hero-art { min-height: 70svh; } }
.fallback { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero.has-gl .fallback { display: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font: 500 12.5px/1.4 var(--text); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 26px; padding: 8px 14px; border-radius: 999px; background: rgba(233,198,117,.08); border: 1px solid rgba(233,198,117,.22); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); flex: none; }
@media (prefers-reduced-motion: no-preference) { .dot { animation: pulse 2.4s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(50px, 9.6vw, 132px); line-height: .94; letter-spacing: -.055em; }
.hero h1 .line { display: block; }
.hero h1 .lit { background: linear-gradient(100deg, var(--paper) 0%, var(--gold-hi) 40%, var(--gold) 60%, var(--gold-hi) 80%, var(--paper) 100%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .16em; margin-bottom: -.16em; }
.hero h1 .lit:has(.w) { background: none; animation: none; }
.hero h1 .lit .w > span { background: linear-gradient(100deg, var(--gold-hi), var(--gold) 60%, var(--gold-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .02em; padding-bottom: .2em; }
@media (prefers-reduced-motion: no-preference) { .hero h1 .lit { animation: gleam 7s linear infinite; } }
@keyframes gleam { to { background-position: -200% 0; } }
.lede { color: var(--muted); max-width: 33em; margin-top: 28px; font-size: clamp(17px, 1.6vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 30px 0 0; color: var(--muted); font-size: 14.5px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(246,243,235,.35); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); }
@media (min-width: 900px) { .scroll-cue { display: block; } }
@media (prefers-reduced-motion: no-preference) { .scroll-cue span { animation: cue 1.8s var(--ease) infinite; } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* MARQUEE */
.marquee { overflow: hidden; border-block: 1px solid rgba(246,243,235,.08); background: var(--night); padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; align-items: center; gap: 28px; width: max-content; font: 500 clamp(20px, 2.4vw, 30px)/1 var(--display); letter-spacing: -.02em; color: rgba(246,243,235,.75); white-space: nowrap; }
.track i { width: 10px; height: 10px; flex: none; background: var(--gold); transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 14px rgba(233,198,117,.8); }
@media (prefers-reduced-motion: no-preference) { .track { animation: marquee 38s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* STORY */
.story { position: relative; background: var(--night); padding-block: var(--pad); }
.story-pin { max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .story-pin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; min-height: 100svh; } }
.story h2 { max-width: 12em; }
@media (min-width: 900px) { .story h2 { font-size: clamp(38px, 4.4vw, 64px); } .story-pin { padding-top: 84px; padding-bottom: 24px; } .beats { margin-top: 28px; } .beat { padding: 14px 18px; } .device { height: min(78svh, 720px); width: auto; } }
.beats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 10px; }
.beat { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(246,243,235,.08); background: rgba(246,243,235,.02); transition: background-color .4s, border-color .4s, opacity .4s; }
@media (min-width: 900px) { .js-story .beat { opacity: .4; } }
.js-story .beat.is-on { opacity: 1; background: rgba(233,198,117,.07); border-color: rgba(233,198,117,.35); }
.bn { font: 600 15px/1.6 var(--display); color: var(--gold); }
.beat h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.03em; line-height: 1.2; }
.beat p { color: var(--muted); margin-top: 6px; font-size: 16px; }
.device-wrap { display: grid; justify-items: center; gap: 14px; }
.device { position: relative; width: min(320px, 74vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2a3843, #0d141a 40%, #1f2b35); box-shadow: 0 0 0 1px rgba(246,243,235,.12) inset, 0 60px 120px -40px rgba(233,198,117,.35), 0 40px 80px -30px #000; }
.notch { position: absolute; z-index: 5; top: 20px; left: 50%; translate: -50% 0; width: 96px; height: 26px; border-radius: 20px; background: #05080b; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.feed { position: absolute; inset: 0; padding: 54px 0 0; background: #fff; color: #111; font: 13px/1.35 var(--text); }
.post-head { display: flex; align-items: center; gap: 9px; padding: 8px 12px; }
.post-head .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; display: grid; place-items: center; font: 600 13px var(--display); }
.post-head strong { display: block; font-size: 13px; } .post-head small { color: #5f5f5f; font-size: 11px; }
.post-img { position: relative; aspect-ratio: 1; background: #ece6d8; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-copy { position: absolute; left: 14px; bottom: 14px; font: 600 24px/1.02 var(--display); letter-spacing: -.04em; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.post-cta { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; background: #f3f3f3; font-weight: 600; font-size: 13px; color: #111; }
.tap-arr { font-size: 20px; line-height: 1; }
.post-cap { padding: 8px 12px; color: #333; font-size: 12px; }
.post.ghost .av { background: #e5e5e5; } .post.ghost strong { width: 110px; height: 10px; background: #eee; border-radius: 4px; } .post.ghost small { display: block; width: 60px; height: 8px; margin-top: 5px; background: #f0f0f0; border-radius: 4px; } .post.ghost .post-img { background: #efefef; }
.tap { position: absolute; z-index: 3; left: 50%; top: 66%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(233,198,117,.45); box-shadow: 0 0 0 2px rgba(233,198,117,.9); opacity: 0; transform: scale(.4); }
.lp { position: absolute; inset: 0; z-index: 2; background: #2b241f; transform: translateY(101%); }
.lp img { width: 100%; height: auto; }
.ring { position: absolute; z-index: 4; border-radius: 999px; box-shadow: 0 0 0 3px var(--gold), 0 0 40px 6px rgba(233,198,117,.55); opacity: 0; }
.ring span { position: absolute; right: 6px; top: calc(100% + 10px); white-space: nowrap; background: var(--gold); color: var(--ink); font: 600 12px/1 var(--text); padding: 7px 10px; border-radius: 999px; }
.device-cap { font-size: 13px; color: var(--muted); }
/* Without the scroll animation, show the finished state so the story still reads. */
.no-story .lp { transform: none; } .no-story .ring { opacity: 1; }

/* BEFORE / AFTER on paper */
.ba-sec, .included, .me { background: var(--paper); color: var(--ink); }
.ba-sec { padding-block: var(--pad); border-radius: 40px 40px 0 0; }
.ba-sec .kicker, .included .kicker, .me .kicker { color: #8A6420; }
.ba-sec .sub, .included .note, .me .big { color: var(--slate); }
.ba-sec .fine { color: var(--slate); }
.ba { position: relative; margin-top: 48px; width: min(400px, 100%); }
.ba-frame { position: relative; border-radius: 40px; padding: 10px; background: var(--ink); box-shadow: 0 50px 100px -40px rgba(16,24,32,.55); aspect-ratio: 600 / 1298; overflow: hidden; touch-action: pan-y; cursor: ew-resize; }
.ba-frame img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; object-position: top; border-radius: 31px; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--gold); box-shadow: 0 0 16px rgba(233,198,117,.9); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font: 700 18px/1 var(--display); letter-spacing: 2px; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.ba-tag { position: absolute; z-index: 3; top: 26px; padding: 6px 10px; border-radius: 999px; font: 600 11px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; background: rgba(16,24,32,.78); color: var(--paper); }
.ba-tag.l { left: 24px; } .ba-tag.r { right: 24px; background: var(--gold); color: var(--ink); }
.ba-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ba-range { width: 100%; margin-top: 18px; accent-color: var(--gold-deep); height: 44px; }
@media (min-width: 900px) {
  .ba-sec .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: 1fr auto auto auto auto 1fr; grid-template-areas: ". ba" "k ba" "h ba" "s ba" "f ba" "b ba"; column-gap: 96px; }
  .ba-sec .btn { margin-bottom: auto; }
  .ba-sec .kicker { grid-area: k; align-self: end; } .ba-sec h2 { grid-area: h; } .ba-sec .sub { grid-area: s; } .ba-sec .fine { grid-area: f; } .ba-sec .btn { grid-area: b; justify-self: start; align-self: start; }
  .ba { grid-area: ba; margin-top: 0; }
}

/* WHAT'S INCLUDED: one fictional ad and the page it leads to, then plain service rows */
.included { padding-block: 0 var(--pad); }
.inc-grid { display: grid; gap: 48px; margin-top: 48px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .inc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.pair { margin: 0; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, .82fr); align-items: center; gap: 8px; padding: 34px 26px 26px; border-radius: 30px; background: var(--ink); isolation: isolate; overflow: hidden; }
.pair::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 80% 20%, rgba(233,198,117,.22), transparent 70%); }
.pair-ad { background: #fff; color: #111; border-radius: 16px; overflow: hidden; font: 13px/1.35 var(--text); box-shadow: 0 30px 60px -30px #000; }
.pair-ad .post-copy { font-size: clamp(15px, 1.6vw, 21px); }
.pair-line { width: 100%; height: auto; fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 4 6; }
.pair-page { border-radius: 24px; padding: 6px; background: #05080b; box-shadow: 0 30px 60px -24px #000, 0 0 0 1px rgba(246,243,235,.1); }
.pair-page img { border-radius: 19px; width: 100%; }
@media (min-width: 1000px) { .pair { position: sticky; top: 110px; } }
.pair figcaption { grid-column: 1 / -1; margin-top: 16px; font-size: 13px; color: var(--muted); }
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rn { font: 600 15px/1.7 var(--display); color: var(--gold-deep); }
.rows h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.035em; line-height: 1.15; }
.rows p { color: var(--slate); margin-top: 6px; font-size: 16px; max-width: 52ch; }

/* TERMS on dark with a slow aurora */
.terms-sec { position: relative; overflow: hidden; isolation: isolate; background: var(--night); padding-block: var(--pad); }
.aurora { position: absolute; inset: -30%; z-index: -1; opacity: .55; filter: blur(60px);
  background: radial-gradient(35% 30% at 30% 40%, rgba(233,198,117,.32), transparent 70%), radial-gradient(30% 35% at 70% 60%, rgba(68,83,93,.6), transparent 70%), radial-gradient(25% 25% at 60% 20%, rgba(185,138,47,.3), transparent 70%); }
@media (prefers-reduced-motion: no-preference) { .aurora { animation: drift 22s ease-in-out infinite alternate; } }
@keyframes drift { to { transform: translate(6%, -4%) rotate(8deg) scale(1.08); } }
.terms { display: grid; gap: 14px; margin-top: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .terms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.glass { padding: 28px 24px; border-radius: 24px; background: rgba(246,243,235,.05); border: 1px solid rgba(246,243,235,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(246,243,235,.12) inset; }
.glass h3 { font-size: 22px; letter-spacing: -.03em; color: var(--paper); }
.glass p { color: var(--muted); margin-top: 10px; font-size: 16px; }

/* ME */
.me { padding-block: var(--pad); }
.me-in { display: grid; gap: 8px; }
@media (min-width: 900px) { .me-in { grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; } .me-in .kicker { margin-top: 22px; } }
.big { font-size: clamp(21px, 2.1vw, 28px); line-height: 1.45; margin-top: 24px; max-width: 32em; }

/* CONTACT */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--night); padding-block: calc(var(--pad) + 40px); text-align: center; }
.sunrise { position: absolute; z-index: -1; left: 50%; bottom: -70vmin; width: 140vmin; height: 140vmin; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(246,223,166,.55), rgba(233,198,117,.22) 40%, rgba(233,198,117,.05) 65%, transparent); }
.contact h2 { font-size: clamp(44px, 8vw, 120px); line-height: .96; letter-spacing: -.055em; max-width: 11em; margin-inline: auto; }
.contact .lede { margin: 26px auto 0; }
.email { margin: 34px 0 30px; font: 600 clamp(20px, 3.4vw, 40px)/1.15 var(--display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.email a { color: var(--gold); text-decoration: none; border-bottom: 2px solid rgba(233,198,117,.4); }
.email a:hover { border-bottom-color: var(--gold); }

.foot { background: var(--night); color: var(--muted); border-top: 1px solid rgba(246,243,235,.08); font-size: 15px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 26px; }
.foot .brand.small { font-size: 17px; min-height: 0; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* INTRO: the mark draws itself, the sun lights, and the page opens from it */
.intro { display: none; }
.js-intro .intro { display: grid; place-items: center; align-content: center; gap: 18px; position: fixed; inset: 0; z-index: 100; background: var(--night);
  -webkit-mask-image: radial-gradient(circle at var(--ix, 50%) var(--iy, 50%), transparent var(--r, 0px), #000 calc(var(--r, 0px) + 2px));
  mask-image: radial-gradient(circle at var(--ix, 50%) var(--iy, 50%), transparent var(--r, 0px), #000 calc(var(--r, 0px) + 2px)); }
.intro svg { width: 96px; height: 96px; overflow: visible; }
.intro path { fill: none; stroke: var(--paper); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro .i-sun { fill: var(--gold); transform-origin: 45px 21px; transform: scale(0); filter: drop-shadow(0 0 6px var(--gold)); }
.i-word { font: 600 20px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); opacity: 0; }

/* Hero fly-through: the cut opens onto the page design */
.portal { position: absolute; inset: 0; z-index: 3; pointer-events: none; clip-path: polygon(0 0, 0 0, 0 0, 0 0); visibility: hidden; }
.portal img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--px, 50%) var(--py, 50%); }
.reveal-cap { position: absolute; z-index: 4; left: 50%; bottom: 26px; translate: -50% 0; margin: 0; padding: 9px 16px; border-radius: 999px; background: rgba(11,17,23,.86); color: var(--paper); font-size: 13px; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.reveal-cap.on { opacity: 1; }

/* MANIFESTO: words light up as you read */
.manifesto { background: var(--night); padding-block: var(--pad); }
.scrub { font: 600 clamp(32px, 5.2vw, 76px)/1.08 var(--display); letter-spacing: -.045em; max-width: 18em; color: var(--paper); text-wrap: balance; }
.scrub em { font-style: normal; color: var(--gold); }
.scrub .sw { display: inline-block; }

/* SHOWCASE: the page tilts up as you scroll */
.showcase { background: var(--night); padding-block: calc(var(--pad) * .55) calc(var(--pad) * .6); overflow: hidden; }
.tilt-stage { perspective: 1400px; padding-inline: var(--gutter); margin-top: 36px; }
.tilt { max-width: 1100px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #0c131a; transform-origin: 50% 0;
  box-shadow: 0 0 0 1px rgba(246,243,235,.12), 0 80px 160px -60px rgba(233,198,117,.45), 0 40px 80px -30px #000; }
.tilt .chrome { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #0c131a; }
.tilt .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #2a3843; }
.tilt .chrome span { margin-left: 14px; font-size: 12px; color: var(--muted); padding: 4px 12px; border-radius: 8px; background: #16212a; }
.tilt img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.center { text-align: center; }
.showcase .fine { margin-top: 22px; }

/* Meteors over the terms */
.meteors span { position: absolute; z-index: -1; top: -10%; width: 1.5px; height: 140px; border-radius: 2px; opacity: 0;
  background: linear-gradient(transparent, rgba(246,223,166,.9)); rotate: 35deg; }
.meteors span:nth-child(1) { left: 8%; animation-delay: .2s; } .meteors span:nth-child(2) { left: 18%; animation-delay: 2.1s; }
.meteors span:nth-child(3) { left: 27%; animation-delay: 4.3s; } .meteors span:nth-child(4) { left: 39%; animation-delay: 1.2s; }
.meteors span:nth-child(5) { left: 48%; animation-delay: 3.4s; } .meteors span:nth-child(6) { left: 57%; animation-delay: .8s; }
.meteors span:nth-child(7) { left: 66%; animation-delay: 5.1s; } .meteors span:nth-child(8) { left: 74%; animation-delay: 2.7s; }
.meteors span:nth-child(9) { left: 83%; animation-delay: 1.6s; } .meteors span:nth-child(10) { left: 91%; animation-delay: 4.7s; }
.meteors span:nth-child(11) { left: 33%; animation-delay: 6.2s; } .meteors span:nth-child(12) { left: 62%; animation-delay: 6.9s; }
@media (prefers-reduced-motion: no-preference) { .meteors span { animation: meteor 7.5s linear infinite; } }
@keyframes meteor { 0% { opacity: 0; transform: translate(0, 0); } 6% { opacity: 1; } 30% { opacity: 0; transform: translate(-260px, 380px); } 100% { opacity: 0; transform: translate(-260px, 380px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
