/*
 * oafer.ai home page: the story (Part 1), what Oafer is (Part 2), the video,
 * trust, founder, close. This page only; every other page in the bundle keeps
 * assets/styles.css. Plain CSS, no build step, no external requests.
 *
 * Colours follow frontend/design_reference/story_v1 (scenes.html, style A),
 * which is darker than the app's dark theme on purpose. Two changes, both for
 * AA contrast: --ink-3 (stamps, fine print) is #8A8070, 5.1:1 on the page
 * ground (the design's #6B6357 measured 3.0:1 and is kept for hairlines
 * only), and the primary button is the story's ember #B4453C under cream text,
 * 4.8:1 (the old site's #d15147 measured 3.7:1).
 *
 * --ember is the logo's own red, read from the logo files themselves
 * (favicon.svg, frontend/src/assets/logo.svg and the #oafer-mark symbol all
 * draw it as #B4453C; apple-touch-icon.png's ember pixels sample #B4453C
 * too; the logo's gold is #C8A45C). Every ember fill, border and glow on the
 * page derives from that one token; the light reds (--ember-lt, the quiet
 * beat's #C47A70) are text accents and stay separate on purpose.
 */
/* This page's own cuts of the site's fonts: Fraunces pinned at 400 (with its
   optical-size axis kept), Inter at 400-600. ~112 KB against the variable
   files' 197 KB, for the faces the LCP h1 waits on. scripts/landing/
   make_home_fonts.py makes them; the other pages keep the variable files. */
@font-face{font-family:Fraunces;src:url(fonts/fraunces-latin-400.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Fraunces;src:url(fonts/fraunces-latin-italic-400.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:Inter;src:url(fonts/inter-latin-400-600.woff2) format('woff2');font-weight:400 600;font-display:swap}

:root{
  --bg:#0B0A0A; --frame:#0E0D0C; --raised:#141312; --raised-2:#1C1A18;
  --line:#2E2A26; --line-hi:#3A3531; --hair:#6B6357;
  --ink:#F2EEE3; --ink-2:#9C917C; --ink-3:#8A8070;
  --ember:#B4453C; --ember-hover:color-mix(in srgb,var(--ember) 88%,#000); --ember-lt:#E4917E; --on-ember:#F7F1E3;
  --gold:#D8B878;
  --serif:Fraunces,'Iowan Old Style',Georgia,serif;
  --sans:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
  --gut:clamp(16px,5vw,64px);
  /* the two bars the story keeps clear of */
  --nav-h:60px; --ann-h:47px;
}
@media (max-width:760px){:root{--nav-h:52px}}
/* At this width the announcement's one line no longer fits and wraps to two. */
@media (max-width:359px){:root{--ann-h:66px}}

/* ---------- the one sky -------------------------------------------------
   A fixed canvas behind everything (story.js paints the star field, band and
   constellations of the app's sky into it). The page's sections have no
   background of their own; they all sit on this one night. Its box is the
   large viewport, so a phone's toolbar never resizes it. With no JS it is
   absent and the page is the flat ground: equally seamless. */
.page-sky{position:fixed;left:0;top:0;width:100%;height:100vh;height:100lvh;z-index:0;pointer-events:none;display:block}
html:not(.js) .page-sky{display:none}
main,.site-footer{position:relative;z-index:1}

html{background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;color-scheme:dark;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg)}
main{overflow-x:clip}
a{color:inherit}
img{max-width:100%}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
.mark-rachis{stroke:var(--bg)}
:where(a,button,[tabindex]):focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:6px}
#h-app:focus{outline:none}
#h-app:focus-visible{outline:3px solid var(--gold);outline-offset:6px}

/* ---------- the skip link ---------------------------------------------- */
.skip-story{
  position:fixed;z-index:60;right:16px;bottom:calc(var(--ann-h) + 12px);
  display:inline-flex;align-items:center;gap:8px;min-height:44px;box-sizing:border-box;padding:0 18px;
  font:500 14px/1 var(--sans);color:var(--ink);text-decoration:none;
  background:rgba(20,19,18,.88);border:1px solid var(--line-hi);border-radius:999px;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:opacity .25s ease,visibility .25s,border-color .2s ease,background .2s ease;
}
.skip-story{opacity:0;pointer-events:none}
.skip-story.is-on,.skip-story:focus-visible{opacity:1;pointer-events:auto}
.skip-story:hover{border-color:var(--gold);background:rgba(28,26,24,.94)}
.skip-story:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:999px}
.skip-story.is-past{opacity:0;visibility:hidden}
@media (max-width:760px){.skip-story{right:12px;font-size:13px;padding:0 14px;bottom:calc(var(--ann-h) + 10px)}}
/* The honesty label (index.html .story-note): in the pinned story, bottom
   left in the band the stage keeps clear above the announcement bar, level
   with the skip link (which is bottom right); it appears once the hero has
   faded (.pitch.is-gone, story.js) and leaves with the stage. Plain words
   in the ink colour, no backing: a pill's edges read as seams to
   verify_home's seam scan (25.7/255 for a filled pill without JS at 390),
   and a soft shade still added lines at the rooms' foot. The band it sits
   in is clear sky; in the muted grey it measured 4.50:1 at 390, in ink it
   clears AA with room.
   With reduced motion or no JS it is a plain line between the hero and the
   first beat. */
.story-note{position:absolute;z-index:4;left:6px;bottom:calc(var(--ann-h) + 14px);margin:0;max-width:calc(100% - 210px);box-sizing:border-box;
  padding:10px 16px;font:500 12.5px/1.35 var(--sans);letter-spacing:.01em;color:var(--ink);pointer-events:none;
  background:none;
  opacity:0;transition:opacity .4s ease}
.pitch.is-gone ~ .story-note{opacity:1}
@media (max-width:760px){.story-note{left:2px;bottom:calc(var(--ann-h) + 8px);font-size:12px;max-width:calc(100% - 172px)}}
.static .story-note,html:not(.js) .story-note{position:static;opacity:1;margin:16px auto 0;max-width:none;width:max-content;max-width:calc(100% - 32px);text-align:center;background:none}
/* No JS: where the browser can, the link leaves with Part 1 by itself. */
@supports (animation-timeline:view()){
  html:not(.js){timeline-scope:--app}
  html:not(.js) .app{view-timeline:--app block}
  html:not(.js) .skip-story{animation:skip-leave linear both;animation-timeline:--app;animation-range:entry 40% entry 60%}
  @keyframes skip-leave{to{opacity:0;visibility:hidden}}
}

/* ---------- nav ----------------------------------------------------------- */
.site-nav{
  position:fixed;top:0;left:0;right:0;z-index:50;height:var(--nav-h);box-sizing:border-box;
  display:flex;align-items:center;gap:24px;padding:0 clamp(16px,3vw,40px);
  background:rgba(11,10,10,.82);-webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);
}
/* the bar's lower edge fades into the sky over 28px instead of a 1px rule */
.site-nav::after{content:"";position:absolute;left:0;right:0;top:100%;height:28px;pointer-events:none;
  background:linear-gradient(to bottom,rgba(11,10,10,.82),rgba(11,10,10,.6) 25%,rgba(11,10,10,.3) 55%,rgba(11,10,10,.1) 80%,rgba(11,10,10,0))}
.nav-brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0;border-radius:8px}
.brand-logo{width:32px;height:32px;flex-shrink:0}
.nb-word{font:400 21px/1 var(--serif);color:var(--ink)}
.nb-tag{font-size:12.5px;color:var(--ink-2);border-left:1px solid var(--line-hi);padding-left:10px;white-space:nowrap}
.nav-links{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:18px;overflow-x:auto;scrollbar-width:none;padding:6px 4px;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 8px,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(to right,transparent,#000 8px,#000 calc(100% - 24px),transparent)}
.nav-links::-webkit-scrollbar{display:none}
.nav-links a{font-size:13px;color:var(--ink-2);text-decoration:none;white-space:nowrap;transition:color .15s ease}
.nav-links a:hover{color:var(--ink)}
.nav-links a.secondary{color:var(--ink-3)}
.nav-links a.secondary:hover{color:var(--ink)}
.nav-sep{width:1px;height:15px;background:var(--line-hi);flex-shrink:0}
/* The nav's Try Oafer: an outline at the nav links' own size, not a second
   big filled button competing with the pitch's. It fills with ember on hover
   and focus. The visible pill is 32px (30 on a phone); ::after makes the hit
   area 46 (44) tall, so the tap target stays over 40px. */
.nav-cta{position:relative;flex-shrink:0;display:inline-flex;align-items:center;height:32px;box-sizing:border-box;padding:0 14px;border-radius:999px;
  /* a parchment pill with ink on it, like a label on the map: the ember is
     kept for the one real button on the screen, and an outlined red pill
     read as a stray */
  border:0;background:#EDE6D6;
  font:600 13px/1 var(--sans);color:#1B1816;text-decoration:none;transition:background .2s ease,box-shadow .2s ease}
.nav-cta::after{content:"";position:absolute;inset:-7px -4px}
.nav-cta:hover,.nav-cta:focus-visible{background:var(--ink);box-shadow:0 0 0 1px rgba(242,238,227,.22),0 6px 18px -10px rgba(0,0,0,.8)}
.nav-cta:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:999px}
@media (min-width:1100px){.nav-links{justify-content:flex-end;-webkit-mask-image:none;mask-image:none}}
@media (max-width:1099px){.nb-tag{display:none}}
@media (max-width:760px){
  .site-nav{gap:12px;padding:0 12px}
  .brand-logo{width:28px;height:28px}
  .nb-word{font-size:19px}
  .nav-links{gap:14px}
  .nav-links a{font-size:12.5px}
  .nav-cta{height:30px;padding:0 12px;font-size:12.5px}
}
@media (max-width:359px){.nb-word{display:none}}

/* ---------- buttons ------------------------------------------------------ */
.btn-try{
  display:inline-flex;align-items:center;gap:10px;flex-shrink:0;min-height:48px;box-sizing:border-box;
  font:600 16px/1 var(--sans);text-decoration:none;color:var(--on-ember);background:var(--ember);
  padding:0 24px;border-radius:999px;
  /* a soft ember glow: the logo's red is deep, and on this near-black page a
     flat fill of it reads dull; the halo lifts it without lightening it */
  box-shadow:0 0 0 1px color-mix(in srgb,var(--ember) 45%,transparent),0 0 24px -4px color-mix(in srgb,var(--ember) 60%,transparent),0 12px 32px -10px color-mix(in srgb,var(--ember) 55%,transparent);
  transition:transform .18s var(--ease),background .2s ease,box-shadow .25s ease;
}
.btn-try:hover,.btn-try:focus-visible{background:var(--ember-hover);box-shadow:0 0 0 1px color-mix(in srgb,var(--ember) 60%,transparent),0 0 34px -2px color-mix(in srgb,var(--ember) 70%,transparent),0 16px 38px -12px color-mix(in srgb,var(--ember) 65%,transparent)}
.btn-try:hover{transform:translateY(-2px)}
.btn-try svg{width:17px;height:17px;flex-shrink:0;transition:transform .22s var(--ease)}
.btn-try:hover svg{transform:translateX(4px)}
.btn-try:focus-visible{outline-offset:4px;border-radius:999px}
.btn-lg{min-height:54px;font-size:17px;padding:0 30px}

/* ==========================================================================
   PART 1: THE STORY
   One pinned stage; every panel a full layer of it. Each panel is a size
   container, so every length below is relative to the panel (cqw/cqh), not
   the window: a classic scrollbar or the pinned state cannot skew it. The
   stage keeps a band at the top at least as tall as the nav and one at the
   bottom at least as tall as the announcement bar, so no picture and no word
   of the story ever sits under either.
   ========================================================================== */
.story{position:relative}
.stage{position:relative;height:100vh;height:100svh;overflow:hidden}
/* "Skip the story": while the page glides past the story (story.js) the
   stage's contents are not rendered at all, so its thirteen rooms are not
   flicked past, dark and bright in turn, and the timeline's writes into them
   cost no style, layout or paint. Measured (headed, scripts/landing/
   skip_home.mjs): opacity:0 still rasterised them (p95 42ms at 390, 4x CPU)
   and visibility:hidden, being inherited, restyled every node (a 190-260ms
   first frame); this holds p95 at 9-17ms. */
.is-skipping .stage{content-visibility:hidden}
.panel{position:absolute;inset:0;z-index:1;container:panel/size}
.pf{position:absolute;inset:0;
  --side:6cqw; --bt:max(9cqh,calc(var(--nav-h) + 10px)); --bb:max(9cqh,calc(var(--ann-h) + 10px));
  --sw:calc(100cqw - 2*var(--side)); --sh:calc(100cqh - var(--bt) - var(--bb)); --k:calc(var(--sh) / 500)}
@container panel (max-width:760px){.pf{--side:4cqw}}
/* The pinned story is ~21 screens of scroll (story.js: 41.4 timeline units at
   50% of the viewport each). Reserve that length from the first paint, so the
   page below starts where it will end up: Part 2's screenshots are then far
   outside the browser's lazy-load distance instead of one screen down, and
   nothing below moves when the pin takes over (story.js swaps this padding
   for the pin's own spacer in the same task). Update it with the timeline. */
.js:not(.static) .story:not(.is-pinned){padding-bottom:2070vh}
/* until story.js has built the timeline, only the first beat shows */
.js:not(.static) .stage:not(.is-mounted) .panel:not([data-panel="sun"]){opacity:0}

.scene{position:absolute;top:var(--bt);left:var(--side);width:var(--sw);height:var(--sh);display:block;
  --f:calc(min(var(--sw),var(--sh)) * .07);
  /* the bottom dissolves over ~2.4x the other edges, eased (multi-stop), so
     a room's floor fades into the sky instead of ending at a line */
  --fb:calc(var(--f) * 2.4);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 var(--f),#000 calc(100% - var(--f)),transparent),linear-gradient(to bottom,transparent,#000 var(--f),#000 calc(100% - var(--fb)),rgba(0,0,0,.84) calc(100% - var(--fb) * .75),rgba(0,0,0,.5) calc(100% - var(--fb) * .5),rgba(0,0,0,.16) calc(100% - var(--fb) * .25),transparent);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 var(--f),#000 calc(100% - var(--f)),transparent),linear-gradient(to bottom,transparent,#000 var(--f),#000 calc(100% - var(--fb)),rgba(0,0,0,.84) calc(100% - var(--fb) * .75),rgba(0,0,0,.5) calc(100% - var(--fb) * .5),rgba(0,0,0,.16) calc(100% - var(--fb) * .25),transparent);mask-composite:intersect}
.scene [data-layer]{will-change:transform}
/* the figure paints itself (rig.js); its joint dots are a design-time aid */
.jt{display:none}
.figure{will-change:transform}
.still{display:none}

/* ---- the pitch: one screen before the story, the page's h1 beside the
   star map (index.html .hero-map). The opening room is not on this screen:
   it waits unseen until the words fade and the map lowers (story.js). A
   block of its own with reduced motion or no JS. Placed by CSS alone: the
   h1 is the LCP element. */
.pitch{position:absolute;inset:0;z-index:3;container:pitch/size;pointer-events:none}
/* faded: no longer clickable, but its words stay in the accessibility tree */
.pitch.is-gone .pitch-in{pointer-events:none}
.pitch-in{position:absolute;box-sizing:border-box;pointer-events:auto;
  left:max(6cqw,20px);top:max(9cqh,calc(var(--nav-h) + 10px));bottom:max(9cqh,calc(var(--ann-h) + 10px));width:min(580px,48cqw);
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left}
.pitch h1{font:400 clamp(34px,min(4.6cqw,8.4cqh),70px)/1.04 var(--serif);letter-spacing:-.015em;margin:0 0 .42em;color:var(--ink);text-wrap:balance}
/* the accent words: the site's ember, but roman (an italic display line read as every other AI landing page) */
.pitch h1 em{font-style:normal;color:var(--ember-lt)}
.pitch-line{font:400 clamp(16px,min(1.35cqw,2.5cqh),19px)/1.55 var(--sans);color:var(--ink-2);margin:0 0 clamp(20px,4cqh,32px);max-width:34em}
.pitch .btn-try{align-self:flex-start}
.pitch-cue{display:inline-flex;align-items:center;gap:6px;margin:clamp(16px,3.4cqh,26px) 0 0;font:500 13px/1.3 var(--sans);letter-spacing:.02em;color:var(--ink-3)}
.pitch-cue svg{width:16px;height:16px;flex-shrink:0}
@container pitch (max-aspect-ratio:5/6){
  .pitch-in{left:max(5cqw,16px);right:max(5cqw,16px);width:auto;bottom:auto;padding-top:clamp(8px,3cqh,32px);align-items:center;text-align:center;justify-content:flex-start}
  .pitch h1{font-size:clamp(29px,9.2cqw,42px)}
  .pitch-line{font-size:clamp(15px,4.3cqw,17px)}
  .pitch .btn-try{align-self:center}
}
/* ---- the star map: the whole screen between the nav and the bar, the
   constellations placed clear of the words (upper left and the right); on
   a phone a second, portrait map in the band under the words. Each SVG
   keeps its box (meet), so the composition holds at every size. Lines: thin,
   in the hub's own colour, as the Atlas draws them; they draw themselves
   after the first paint (dashoffset, one constellation after another). */
.hero-map{position:absolute;z-index:0;pointer-events:none;left:0;right:0;top:var(--nav-h);bottom:calc(var(--ann-h) + 12px)}
.hero-map-svg{display:block;width:100%;height:100%;overflow:visible;position:relative}
.hero-map-phone{display:none}
.hero-map .e{stroke:var(--c);stroke-opacity:.48;stroke-width:1;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0}
.hero-map .s{fill:#F2EEE3;opacity:.9}
.hero-map .s.g{fill:var(--gold);opacity:.95}
.hero-map .hub{opacity:1}
.hero-map .hl{font:400 12.5px var(--serif);letter-spacing:.2em;fill:#BDB29B;text-anchor:middle}
.hero-map .hs{font:400 11px var(--sans);letter-spacing:.01em;fill:#857B6B;text-anchor:middle}
/* a soft warm horizon under the map, so the sky has a ground: one static
   gradient (gold into the ember, nothing bright), fading with the map */
.hero-horizon{position:absolute;left:-10%;right:-10%;bottom:-4%;height:58%;pointer-events:none;
  background:radial-gradient(ellipse 70% 100% at 50% 100%,rgba(216,184,120,.14),rgba(180,69,60,.06) 45%,rgba(180,69,60,0) 72%)}
/* the lines join and the stars arrive, once, after the first paint */
.js:not(.static) .hero-map .e{stroke-dashoffset:1;animation:hm-draw 1.8s cubic-bezier(.3,.7,.3,1) both;animation-delay:calc(.5s + var(--d) + var(--k) * 90ms)}
.js:not(.static) .hero-map .s:not(.hub){animation:hm-star .9s ease-out both;animation-delay:calc(.35s + var(--d) + var(--j) * 70ms)}
.js:not(.static) .hero-map .hub,.js:not(.static) .hero-map .halo,.js:not(.static) .hero-map .hubglow,.js:not(.static) .hero-map text{animation:hm-star 1.4s ease-out both;animation-delay:calc(.25s + var(--d))}
.js:not(.static) .hero-map .trav{animation:hm-star 1.6s ease-out 2.6s both}
@keyframes hm-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes hm-star{from{opacity:0}}
/* ---- the hero's light (the Atlas's): the hubs' gold glow breathes, each on
   its own slow phase; the twinkling gold stars; the ember light's trail and
   the flares where it passes (SMIL in the markup, begun by story.js); and a
   shooting streak now and then, on long cycles that are mostly idle. All of
   it opacity and transform, on small elements, and it starts only once
   story.js adds html.hero-live after load: not on a low-end device
   (html.lite), not with reduced motion (html.static), not without JS. In
   those the glows are simply there, still, and the light and its trail,
   the flares and the streaks are not shown. Paused once the hero has faded
   (.is-gone) and while the tab is hidden (html.tab-hidden). */
.hero-map .hubglow{opacity:.8}
.hero-live .hero-map .hubglow{animation:hm-star 1.4s ease-out both,hm-glow var(--t) ease-in-out infinite alternate;animation-delay:calc(.25s + var(--d)),calc(-1 * var(--p))}
.hero-live .hero-map .s.tw{animation:hm-star .9s ease-out both,hm-twinkle 5.5s ease-in-out infinite alternate;animation-delay:calc(.35s + var(--d) + var(--j) * 70ms),calc(2.5s + var(--j) * .9s)}
@keyframes hm-glow{from{opacity:.5}to{opacity:1}}
@keyframes hm-twinkle{from{opacity:.4}to{opacity:1}}
.hero-map .shoot{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(var(--a))}
.hero-live .hero-map .shoot{animation:hm-shoot var(--t) linear var(--d) infinite}
@keyframes hm-shoot{0%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(var(--a)) translateX(0)}
  1.5%{opacity:1}
  6%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(var(--a)) translateX(260px)}
  100%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(var(--a)) translateX(260px)}}
html:not(.hero-live) .hero-map :is(.trav,.trail,.flare,.shoot){display:none}
.pitch.is-gone .hero-map *,.tab-hidden .hero-map *{animation-play-state:paused !important}
@container pitch (max-aspect-ratio:5/6){
  .hero-map{left:max(3cqw,8px);right:max(3cqw,8px);top:52cqh;bottom:max(3cqh,calc(var(--ann-h) + 6px))}
  .hero-map-desk{display:none}
  .hero-map-phone{display:block}
  .hero-horizon{height:70%}
}
.static .pitch,html:not(.js) .pitch{position:relative;height:100vh;height:100svh}
html:not(.js) .pitch{margin-top:0}
/* the opening room fades in once story.js has drawn it (already dimmed) */
.js:not(.static) [data-panel="sun"] .pf{transition:opacity .9s ease}
.js:not(.static) .stage:not(.is-mounted) [data-panel="sun"] .pf{opacity:0}

/* ---- the text system: one block per beat, connective / stamp / headline /
   sub, left-aligned, a calm measure. Sizes: quiet (the low), medium, large
   (Sunday, Friday), peak (the remark's beat, set under the remark). */
.nar{position:absolute;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left;box-sizing:border-box}
.nar>*{max-width:min(560px,100%)}
.conn{font:italic 400 1.1em/1 var(--serif);color:var(--ember-lt);margin:0 0 12px;opacity:.9}
.stamp{font:500 12px/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);margin:0 0 14px}
.stamp i{font-style:normal;color:var(--ember-lt);opacity:.8}
.nar .hd{font:400 1em/1.1 var(--serif);letter-spacing:-.01em;margin:0 0 .4em;color:var(--ink);text-wrap:balance}
.nar .hd em{font-style:italic;color:var(--ember-lt)}
.sub{font:400 16px/1.5 var(--sans);color:var(--ink-2);margin:0}
.work{font:400 1.05em/1.3 var(--serif);margin:.5em 0 0;color:var(--ink)}
.work b{display:block;font-weight:400;color:var(--ember-lt)}
.work span{display:block;color:var(--ink-2)}

.nar[data-type="large"]{font-size:clamp(32px,2.75vw,52px)}
.nar[data-type="large"] .sub{font-size:15px}
.nar[data-type="medium"]{font-size:clamp(26px,2.2vw,36px)}
.nar[data-type="quiet"]{font-size:clamp(20px,1.7vw,24px)}
.nar[data-type="quiet"] .hd{color:var(--ink-2)}
.nar[data-type="quiet"] .hd em{color:#C47A70}
.nar[data-type="quiet"] .stamp{font-size:11px;margin-bottom:12px}
.nar[data-type="quiet"] .sub{font-size:15px}
/* The remark in the notes beat is drawn at 7.2 world units in a view 200
   units tall, ~27px at 1440 and ~23px at 1366. This beat's own words stay
   below it at every width, so the remark is the largest type in its frame. */
.nar[data-type="peak"]{font-size:clamp(17px,1.4vw,21px)}
.nar[data-type="peak"] .stamp{font-size:11px;margin-bottom:12px}
.nar[data-type="peak"] .sub{font-size:15px}

/* Where the art behind the words is busy (lockers, light shafts): a soft
   local shade, sized to the WORDS (story.js sets --tx/--ty/--tw/--th to the
   text's box) and reaching well past them, so its falloff is long and it
   never reads as a shape. `closest-side` ends the gradient inside its own
   box, eased over many stops: no edge, no plate. --shade is the centre's
   opacity; a beat that needs more sets only its own. */
.nar[data-shade]::before{content:"";position:absolute;z-index:-1;pointer-events:none;--shade:.5;
  left:calc(var(--tx,0px) - var(--tw,100%) * .42 - 40px);width:calc(var(--tw,100%) * 1.84 + 80px);
  top:calc(var(--ty,0px) - var(--th,100%) * .7 - 40px);height:calc(var(--th,100%) * 2.4 + 80px);
  background:radial-gradient(closest-side,
    rgba(11,10,10,var(--shade)) 0%,rgba(11,10,10,calc(var(--shade) * .94)) 22%,rgba(11,10,10,calc(var(--shade) * .78)) 40%,
    rgba(11,10,10,calc(var(--shade) * .55)) 58%,rgba(11,10,10,calc(var(--shade) * .3)) 74%,rgba(11,10,10,calc(var(--shade) * .1)) 88%,rgba(11,10,10,0) 100%)}
.nar[data-shade="strong"]::before{--shade:.6}

/* SPLIT: any beat whose words do not fit their zone (story.js adds .split):
   the text in a column beside the room. */
.panel.split .pf{display:flex;flex-direction:row;align-items:stretch;gap:3cqw;padding:var(--bt) var(--side) var(--bb);box-sizing:border-box}
.panel.split .nar{position:relative;flex:0 0 38%;left:auto !important;top:auto !important;width:auto !important;height:auto !important}
.panel.split .scene{position:relative;top:auto;left:auto;flex:1 1 0;min-width:0;width:auto;height:100%}

/* COLUMN (portrait panels): every beat stacks its words above its room. */
@container panel (max-aspect-ratio:5/6){
  /* a phone's room is small, so its short feather made bright art (the
     notebook page, a lit window) end steeply: on portrait the top and the
     bottom each fade over 22% of the room's height, eased (30% for the
     notebook, a near-white page that fills its frame) */
  .scene{--fp:22%;
    -webkit-mask-image:linear-gradient(to right,transparent,#000 var(--f),#000 calc(100% - var(--f)),transparent),linear-gradient(to bottom,transparent,rgba(0,0,0,.16) calc(var(--fp) * .25),rgba(0,0,0,.5) calc(var(--fp) * .5),rgba(0,0,0,.84) calc(var(--fp) * .75),#000 var(--fp),#000 calc(100% - var(--fp)),rgba(0,0,0,.84) calc(100% - var(--fp) * .75),rgba(0,0,0,.5) calc(100% - var(--fp) * .5),rgba(0,0,0,.16) calc(100% - var(--fp) * .25),transparent);
    mask-image:linear-gradient(to right,transparent,#000 var(--f),#000 calc(100% - var(--f)),transparent),linear-gradient(to bottom,transparent,rgba(0,0,0,.16) calc(var(--fp) * .25),rgba(0,0,0,.5) calc(var(--fp) * .5),rgba(0,0,0,.84) calc(var(--fp) * .75),#000 var(--fp),#000 calc(100% - var(--fp)),rgba(0,0,0,.84) calc(100% - var(--fp) * .75),rgba(0,0,0,.5) calc(100% - var(--fp) * .5),rgba(0,0,0,.16) calc(100% - var(--fp) * .25),transparent)}
  [data-panel="notes"] .scene{--fp:30%}
  .panel .pf{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:var(--bt) var(--side) var(--bb);box-sizing:border-box}
  .panel .nar{position:relative;flex:0 0 auto;left:auto !important;top:auto !important;width:auto !important;height:auto !important;align-items:center;text-align:center;padding:0 2cqw}
  .panel .scene{position:relative;top:auto;left:auto;flex:1 1 0;min-height:0;min-width:0;width:100%;height:auto}
  .nar[data-type="large"]{font-size:clamp(24px,7.5cqw,34px)}
  .nar[data-type="medium"]{font-size:clamp(21px,6.2cqw,28px)}
  .nar[data-type="quiet"]{font-size:clamp(19px,5.4cqw,23px)}
  .nar[data-type="peak"]{font-size:clamp(16px,4.6cqw,19px)}
  .nar .sub,.nar[data-type] .sub{font-size:14.5px}
  .nar .stamp{margin-bottom:10px}
  .nar .hd{margin-bottom:.3em}
  .nar .work{margin-top:.3em}
}

/* REDUCED MOTION: the same panels stacked, at their end states. */
.static .stage{height:auto;overflow:visible}
.static .panel{position:relative;height:100vh;height:100svh}

/* NO JAVASCRIPT: a plain document. Every beat's words, then a still picture
   of its room (pre-rendered from the same scene code), stacked. */
html:not(.js) .stage{height:auto;overflow:visible;padding-top:var(--nav-h)}
html:not(.js) .scene{display:none}
html:not(.js) .panel{position:relative;container-type:normal;padding:48px var(--gut) 24px;max-width:960px;margin:0 auto}
html:not(.js) .pf{position:static;display:flex;flex-direction:column;gap:20px}
html:not(.js) .nar{position:static;font-size:clamp(22px,3vw,34px)}
html:not(.js) .still{display:block;width:100%;max-width:480px;height:auto;border-radius:12px;border:1px solid var(--line)}


/* ==========================================================================
   PART 2: WHAT OAFER IS. The app's own look: the night sky, the ember, a
   calm grid; every screen a real capture.
   ========================================================================== */
.app{position:relative;color:var(--ink);isolation:isolate;scroll-margin-top:0}
.app .body{position:relative;z-index:1;padding:0 clamp(16px,6vw,96px) 72px;max-width:1240px;margin:0 auto;box-sizing:border-box}
.app-head{min-height:80vh;min-height:80svh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;position:relative;padding-top:var(--nav-h);box-sizing:border-box}
.app-head .glow{position:absolute;left:50%;top:50%;width:min(70vw,620px);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(242,160,106,.34),rgba(228,145,126,.14) 45%,rgba(228,145,126,0) 100%)}
.app-head .ember{position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#FFF0DE;box-shadow:0 0 16px 6px rgba(242,160,106,.7)}
.app-head .eyebrow,.see .eyebrow{font:500 12px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);margin:0 0 18px;position:relative}
.app-head h2{font:400 clamp(36px,4.6vw,64px)/1.05 var(--serif);letter-spacing:-.01em;margin:0 0 .4em;max-width:16ch;color:var(--ink);position:relative}
.app-head h2 em,h2 em,h3 em{font-style:italic;color:var(--ember-lt)}
.app-head .honest{font:400 16px/1.5 var(--sans);color:var(--ink-2);margin:0;position:relative}
.feat{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(24px,5vw,72px);align-items:start;padding:72px 0;scroll-margin-top:var(--nav-h)}
.feat .num{font:500 12px/1 var(--sans);letter-spacing:.14em;color:var(--ink-3);margin:0 0 16px}
.feat h3{font:400 clamp(24px,2.2vw,34px)/1.12 var(--serif);letter-spacing:-.01em;margin:0 0 .5em;color:var(--ink);max-width:16ch;text-wrap:balance}
.feat .line{font:400 16px/1.55 var(--sans);color:var(--ink-2);margin:0;max-width:36ch}
.feat .line a,.credit a{color:var(--ink);text-underline-offset:3px;text-decoration-color:rgba(242,238,227,.4)}
.feat .show{margin:0;min-width:0}
/* a month grid and a page with a margin: shown full width, words above */
.feat.wide{grid-template-columns:1fr;gap:28px}
.feat.wide .ftext{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);column-gap:clamp(24px,5vw,72px);align-items:end}
.feat.wide .ftext .num{grid-column:1/-1}
.feat.wide .ftext h3{margin:0}
@media (max-width:760px){.feat.wide .ftext{display:block}.feat.wide .ftext h3{margin:0 0 .5em}}
.feat .show img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--line);background:var(--raised);box-shadow:0 14px 40px rgba(0,0,0,.35)}
.feat .show .credit{font:400 12.5px/1.55 var(--sans);color:var(--ink-3);margin-top:12px;max-width:62ch}
@media (max-width:760px){
  .feat{grid-template-columns:1fr;gap:20px;padding:48px 0}
  .app-head{min-height:64vh;min-height:64svh}
}

/* ---------- see it in action --------------------------------------------- */
.see{position:relative;padding:96px var(--gut) 72px;text-align:center;scroll-margin-top:var(--nav-h)}
/* a small four-point star over each section's heading: the night's own
   divider, one static glyph (the Atlas's spiked star), nothing animated */
.see::before,.trust::before{content:"";display:block;width:14px;height:14px;margin:0 auto 22px;opacity:.75;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0C7 4 10 7 14 7 10 7 7 10 7 14 7 10 4 7 0 7 4 7 7 4 7 0Z' fill='%23D8B878'/%3E%3C/svg%3E") center/contain no-repeat}
.see h2,.trust h2,.founder h2,.close h2{font:400 clamp(32px,3.8vw,54px)/1.08 var(--serif);letter-spacing:-.01em;margin:0 0 .35em;color:var(--ink)}
.see .line{font:400 16px/1.5 var(--sans);color:var(--ink-2);margin:0 0 32px}
.see-media{margin:0 auto;max-width:960px}
.see .frame{position:relative;aspect-ratio:16/10;border-radius:16px;overflow:hidden;border:1px solid var(--line-hi);background:var(--raised);cursor:pointer;box-shadow:0 24px 60px rgba(0,0,0,.45)}
.see-video{display:block;width:100%;height:100%;object-fit:cover}
.see-play{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;display:grid;place-items:center;
  background:rgba(11,10,10,.62);border:1px solid rgba(242,238,227,.35);color:var(--ink);transition:transform .2s var(--ease),background .2s ease}
.see-play svg{width:28px;height:28px;margin-left:4px}
.see .frame:hover .see-play{transform:scale(1.06);background:color-mix(in srgb,var(--ember) 85%,transparent)}
.see .frame:focus-visible{outline:3px solid var(--gold);outline-offset:4px;border-radius:16px}
.see .frame:focus-visible .see-play{background:color-mix(in srgb,var(--ember) 85%,transparent)}
.see figcaption{font:400 13px/1.5 var(--sans);color:var(--ink-3);margin-top:14px}

/* ---------- trust ---------------------------------------------------------- */
.trust{padding:88px var(--gut);max-width:1040px;margin:0 auto;box-sizing:border-box;scroll-margin-top:var(--nav-h)}
.promises{list-style:none;margin:24px 0 28px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 40px}
.promises li{font:400 18px/1.45 var(--serif);color:var(--ink);padding-left:22px;position:relative}
.promises li::before{content:"";position:absolute;left:0;top:.6em;width:8px;height:8px;border-radius:50%;background:var(--ember-lt);box-shadow:0 0 10px rgba(228,145,126,.5)}
.disclose{font:400 15px/1.55 var(--sans);color:var(--ink-2);margin:0 0 20px;max-width:68ch}
.disclose span{color:var(--ink-3)}
.fine{font:400 14px/1.6 var(--sans);color:var(--ink-3);margin:0}
.trust .fine{display:flex;flex-wrap:wrap;gap:8px 22px}
.trust .fine a,.founder .fine a{color:var(--ink-2);text-underline-offset:3px}
.trust .fine a:hover,.founder .fine a:hover{color:var(--ink)}
@media (max-width:760px){.promises{grid-template-columns:1fr}.promises li{font-size:17px}}

/* ---------- founder -------------------------------------------------------- */
.founder{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:center;padding:72px var(--gut) 88px;max-width:1040px;margin:0 auto;box-sizing:border-box}
.founder img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--line)}
.founder p{font:400 17px/1.6 var(--sans);color:var(--ink-2);margin:0 0 14px;max-width:56ch}
.founder .fine{font-size:14px;color:var(--ink-3);margin-bottom:8px}
@media (max-width:760px){.founder{grid-template-columns:1fr}.founder img{max-width:260px}}

/* ---------- close ---------------------------------------------------------- */
/* The glow is a circle wider than the section is tall on a desktop. It is
   NOT clipped (an overflow:hidden here cut its top off flat: a 4.2/255 line
   across the middle of the page above this section at 1440). Unclipped, it
   fades to nothing on its own, and z-index:-1 puts it under every word,
   above and below (main is the stacking context). It never overflows the
   width: min(80vw, 640px), centred. */
.close{text-align:center;padding:96px var(--gut) 104px;position:relative}
.close::before{content:"";position:absolute;z-index:-1;left:50%;top:56%;width:min(80vw,640px);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(216,184,120,.13),rgba(242,160,106,.09) 32%,rgba(228,145,126,.04) 58%,rgba(228,145,126,0) 100%)}
/* the lantern breathes, slowly, only while the close is on screen (story.js .is-lit) */
.hero-live .close.is-lit::before{animation:lantern 8s ease-in-out infinite alternate}
@keyframes lantern{from{opacity:.72}to{opacity:1}}
.close>*{position:relative}
/* The close's mark: 1.75x the old 64px (1.5x on a phone). It is the vector
   #oafer-mark, so it stays sharp at any size; its ring spans 59% of the box,
   so the 112px box draws a ~66px ring (96: ~57px). */
.cta-mark{width:112px;height:112px;display:block;margin:0 auto 20px}
@media (max-width:560px){.cta-mark{width:96px;height:96px;margin-bottom:16px}}
.close .sub{font-size:17px;margin:0 0 28px}
.microcopy{font:400 13px/1.5 var(--sans);color:var(--ink-2);margin:18px 0 0}
.microcopy i{font-style:normal;color:var(--gold);margin:0 3px;opacity:.8}

/* ---------- footer ---------------------------------------------------------- */
/* The same markup on all 7 pages (styles.css has the other pages' copy of
   these rules): the brand beside four link columns, one wide row under them.
   Two columns of links under the brand below 900px, one below 560px. No
   rules or grounds: spacing separates, as everywhere on this page. */
.site-footer{padding:56px var(--gut) 36px;max-width:1240px;margin:0 auto;box-sizing:border-box;position:relative;overflow:hidden}
/* a few of the night's stars behind the footer (static, pre-baked dots in
   cream and gold) and one faint gold streak that crosses now and then,
   only while the footer is on screen (story.js .is-lit) */
.site-footer::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.9;
  background:
    radial-gradient(circle at 8% 22%,rgba(216,184,120,.9) 0 1px,transparent 1.6px),
    radial-gradient(circle at 21% 68%,rgba(242,238,227,.55) 0 .8px,transparent 1.4px),
    radial-gradient(circle at 33% 14%,rgba(242,238,227,.7) 0 1px,transparent 1.6px),
    radial-gradient(circle at 47% 80%,rgba(216,184,120,.7) 0 .8px,transparent 1.4px),
    radial-gradient(circle at 58% 30%,rgba(242,238,227,.5) 0 .7px,transparent 1.3px),
    radial-gradient(circle at 71% 60%,rgba(216,184,120,.85) 0 1.1px,transparent 1.8px),
    radial-gradient(circle at 83% 18%,rgba(242,238,227,.6) 0 .9px,transparent 1.5px),
    radial-gradient(circle at 92% 72%,rgba(242,238,227,.45) 0 .7px,transparent 1.3px),
    radial-gradient(circle at 64% 90%,rgba(216,184,120,.6) 0 .8px,transparent 1.4px)}
.site-footer::after{content:"";position:absolute;z-index:-1;pointer-events:none;left:62%;top:26%;width:120px;height:1.2px;border-radius:1px;opacity:0;
  background:linear-gradient(90deg,rgba(216,184,120,0),rgba(216,184,120,.5) 70%,rgba(255,241,214,.95));transform:rotate(-22deg)}
.hero-live .site-footer.is-lit::after{animation:footer-streak 24s linear 5s infinite}
@keyframes footer-streak{0%{opacity:0;transform:rotate(-22deg) translateX(0)}1.5%{opacity:1}5%{opacity:0;transform:rotate(-22deg) translateX(-220px)}100%{opacity:0;transform:rotate(-22deg) translateX(-220px)}}

.footer-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,4fr);gap:36px clamp(32px,5vw,80px);align-items:start}
.footer-home{display:inline-flex;align-items:center;gap:10px;font:400 22px/1 var(--serif);color:var(--ink);text-decoration:none}
/* the mark's ring spans 59% of its 512 box: 36px draws a ~21px ring, and the
   negative margin lines the ring (not the box) up with the words below */
.footer-mark{width:36px;height:36px;display:block;margin-left:-7px;flex-shrink:0}
.footer-note{font-size:14px;line-height:1.5;color:var(--ink-2);margin:14px 0 0;max-width:24ch}
.footer-note b{color:var(--gold);font-weight:500}
.footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}
.footer-h{font:500 12px/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);margin:0 0 10px}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-links a{display:inline-block;font-size:14px;line-height:1.4;color:var(--ink-2);text-decoration:none;padding:6px 0;overflow-wrap:anywhere}
.footer-links a:hover,.footer-home:hover span{color:var(--ink)}
.footer-base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 32px;margin-top:44px}
.footer-fine{font-size:12.5px;line-height:1.5;color:var(--ink-2);margin:0}
@media (max-width:900px){.footer-grid{grid-template-columns:minmax(0,1fr)}.footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.site-footer{padding-top:44px}.footer-links{grid-template-columns:minmax(0,1fr);gap:22px}.footer-base{flex-direction:column;margin-top:32px}}

/* ---------- announcement bar (unchanged behaviour: sticky bottom, in flow,
   settles under the footer; one link, no dismiss) ---------- */
.announce{position:sticky;bottom:0;z-index:45;display:block;text-decoration:none;box-sizing:border-box;min-height:var(--ann-h);
  background:rgba(20,19,18,.94);-webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);
  padding:12px var(--gut) calc(12px + env(safe-area-inset-bottom,0px));transition:background .2s ease}
/* its upper edge fades up into the page over 28px instead of a gold rule */
.announce::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:28px;pointer-events:none;
  background:linear-gradient(to top,rgba(20,19,18,.94),rgba(20,19,18,.66) 25%,rgba(20,19,18,.32) 55%,rgba(20,19,18,.1) 80%,rgba(20,19,18,0))}
.announce-in{max-width:1160px;margin-inline:auto;min-height:22px;display:flex;align-items:center;justify-content:center;gap:10px}
.announce-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;background:var(--ember-lt);box-shadow:0 0 10px rgba(228,145,126,.55)}
.announce-text{font-size:14.5px;line-height:1.35;color:var(--ink);text-align:center}
.announce-text i{font-style:normal}
.announce-arrow{width:17px;height:17px;flex-shrink:0;color:var(--ember-lt);transition:transform .25s var(--ease)}
.announce:hover{background:rgba(36,30,28,.96)}
.announce:hover .announce-arrow{transform:translateX(3px)}
.announce:focus-visible{outline:3px solid var(--gold);outline-offset:-4px;border-radius:0}
@media (max-width:560px){.announce{padding-left:14px;padding-right:14px}.announce-in{gap:8px}.announce-text{font-size:13.5px}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms !important;animation-duration:.01ms !important}
  .btn-try:hover{transform:none}
}
