/* The top of the homepage (v17, Lex, November 13, 2026): one night at a hotel, in three scenes under one sky.
   1. Early evening (the first screen): a drawn hotel on the right, the words on the left; day turns to night.
   2. Overnight (the story): one complaint, three places to write it down; the next shift reads only the sticky note.
   3. Morning (what I do): the night gives way to sunrise and then to the page's light ground; four cards, the plan band.
   Loaded by the homepage only, after home.css. Without JavaScript and under reduced motion everything is in place and
   still: night sky, the sticky note already lit with its tag, no movement, no light. The one approved exception to the
   motion rule lives here: in these three scenes the sky sits behind the words and changes slowly (Lex, v17). What moves
   is opacity, position and scale (the mark opens once by its clip, as in Lex's mock-up). */
.home{--night:#0B1738;--navy:#14245A;--gold:#F2D8A6;--pin:#C9452F;--told:#B83A26;--note-muted:#5B6480}

.night{position:relative;background:var(--night)}
.night>section{position:relative;z-index:1}
/* One sky behind all three scenes: it stays on screen (sticky) from the first screen until the morning's ground has
   covered it, and never leaves the top of the page's own box. */
.sky{position:sticky;top:0;z-index:0;height:100vh;height:100lvh;overflow:hidden;pointer-events:none;background:linear-gradient(180deg,#050B22 0%,#0C1844 62%,#18296A 100%)}
.sky i{position:absolute;inset:0}
.night-live .sky i{will-change:opacity}
.night-live .hotel-sky,.night-live .hotel-moon{will-change:transform}
/* Dusk (deep blue above, a warm horizon below) and, over it, late afternoon. As written here both are out: the sky
   is night throughout. With the script and motion the first screen is dusk, and it fades to night as the reader
   scrolls into the story (home.js sets --dusk and --moon on the sky from the scroll position, so it reverses). */
.sky-eve{background:linear-gradient(180deg,#1C3180 0%,#3C5DBB 46%,#C98E86 84%,#F0B88A 100%);opacity:0}
/* Late afternoon is deeper on the side away from the sun and at the very top, so the words and the header hold
   4.5:1 while it lasts. */
.sky-gold{background:linear-gradient(90deg,rgba(14,27,88,.62) 0,rgba(14,27,88,.56) 44%,rgba(14,27,88,.36) 58%,rgba(14,27,88,0) 76%),linear-gradient(180deg,rgba(14,27,88,.42) 0,rgba(14,27,88,.42) 96px,rgba(14,27,88,0) 230px),linear-gradient(180deg,#3F63C4 0%,#7C9AE0 50%,#F3C79C 100%);opacity:0}
/* A crescent moon (v18: it follows the scroll). As written here (no script, or reduced motion) it stands still at
   the top right of the night sky on wide screens. With the script it rises from behind the hotel's roof as the
   reader scrolls down the first screen, climbs to the top right, clear of the words, and is gone before the sunrise
   (home.js sets --mx, --my and --moon). On phones the moon is drawn inside the first screen instead (.hero-moon,
   in svg.hotel-moon). */
.sky .sky-moon{inset:0 auto auto 0;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;box-shadow:inset -15px 7px 0 0 #F3E7C8;transform:translate3d(90vw,15vh,0) rotate(-18deg)}
.sky-stars{opacity:.75;background-image:radial-gradient(1.4px 1.4px at 9% 14%,#fff,transparent),radial-gradient(1px 1px at 22% 8%,#fff,transparent),radial-gradient(1.4px 1.4px at 37% 19%,#fff,transparent),radial-gradient(1px 1px at 51% 6%,#fff,transparent),radial-gradient(1.4px 1.4px at 64% 15%,#fff,transparent),radial-gradient(1px 1px at 78% 9%,#fff,transparent),radial-gradient(1px 1px at 88% 22%,#fff,transparent),radial-gradient(1px 1px at 30% 31%,#fff,transparent),radial-gradient(1.2px 1.2px at 70% 30%,#fff,transparent),radial-gradient(1px 1px at 95% 4%,#fff,transparent)}

/* Scene 1: the first screen. Full height, under the transparent header. The drawn hotel has the right side to
   itself; a sun stands just above its roof and sinks behind it with the scroll; a shade keeps the words at full
   contrast. */
.hero{height:100vh;height:100svh;min-height:600px;margin-top:-100vh;margin-top:-100lvh;padding:0;overflow:hidden;color:var(--ivory)}
.is-preview .hero{height:calc(100vh - 33px);height:calc(100svh - 33px)}
/* The sun and the phone's moon (v18) are drawn in the hotel's own coordinates (svg.hotel-sky has the hotel's box and
   viewBox and lies behind it), so the sun stands just above the roof at every size and both pass behind the
   building, which is solid. As written here both are absent: no sun without the script or with reduced motion. */
.hotel-sky{--sun-from:-200px;--sun-y:0px;overflow:visible}
.hero-sun{opacity:0;transform:translateY(var(--sun-y))}
.hero-moon{opacity:0}
.hero-moon-in{transform-box:fill-box;transform-origin:50% 50%;transform:rotate(-18deg)}
.hotel,.hotel-sky,.hotel-moon{position:absolute;left:0;right:0;bottom:0;width:100%;height:56%}
/* The phone's moon has a drawing of its own, with the hotel's box and coordinates (v20 follow-up, November 16, 2026).
   It lies over the shade the words carry, so the moon keeps its light where it rests beside the tower, and a mask
   in the drawing (the hotel's four blocks) hides whatever part of it is behind a building, so it still rises from
   behind the roof. It takes no taps. */
.hotel-moon{z-index:3;overflow:visible;pointer-events:none}
.hotel .bld{fill:#0A1640}
.hotel .far{fill:#081030;fill-opacity:.55}
.hotel .palm{stroke:#081236;fill:none;stroke-linecap:round}
.hotel .w{fill:#F5F0E6;fill-opacity:.07}
.hotel .w.on{fill:#E9C98E;fill-opacity:.72}
.hotel .door{opacity:.9}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,13,40,.8) 0%,rgba(6,13,40,.55) 38%,rgba(6,13,40,0) 62%)}
.hero-copy{position:absolute;left:5vw;top:0;bottom:0;z-index:2;display:flex;flex-direction:column;justify-content:center;width:min(720px,50vw);padding-top:40px}
.hero .eyebrow{color:var(--gold)}
.hero h1{max-width:none;margin:18px 0 22px;font-size:clamp(44px,5.3vw,82px);line-height:1;letter-spacing:-.012em;color:var(--ivory)}
.hero h1 .ln{display:block}
.hero-intro{max-width:29em;margin:0 0 30px;font-size:19px;line-height:1.55;color:#f6f2e8eb}
.hero .actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;margin:0}
.hero .button{border-color:var(--ivory);background-color:var(--ivory);color:var(--navy)}
.hero .button:before{box-shadow:0 0 0 2px #578fe83d,0 8px 26px 1px #578fe880}
.hero .button:focus-visible{outline-color:var(--ivory);box-shadow:0 0 0 3px #172033}
@media(hover:hover){.hero .button:hover{background-color:#fff}}
.hero .text-link{color:var(--ivory);font-weight:600}
.night a:focus-visible{outline-color:var(--ivory)}
.scroll-cue{position:absolute;left:50%;bottom:22px;z-index:2;width:80px;margin:0 0 0 -40px;text-align:center;font:600 11px/16px var(--sans);letter-spacing:.18em;text-transform:uppercase;color:#f6f2e8b3;pointer-events:none;transition:opacity var(--t-move) var(--ease)}
.scroll-cue.is-gone{opacity:0}

/* The opening, once, on load (about three seconds): the sky settles from late afternoon to dusk, the sun settles
   from high in the sky to just above the hotel's roof and stays there, the hotel's windows light one by one, the mark opens like a fan and the words
   rise in. The words are readable within the first second and never change after that. Nothing loops. It runs by
   CSS alone, only where JavaScript is on (html.js) and motion is allowed; every state it starts from is the
   animation's own first frame, so nothing can be left hidden. Until home.js takes the sky over (.night-live) the
   dusk and the sun are held by an animation too: if that script never arrives, the sky goes on to night by itself,
   the sun goes with the dusk and the moon comes with the stars. */
@media(prefers-reduced-motion:no-preference){
  .js .sky-eve{animation:night-hold 9s linear backwards}
  .js .sky-stars{animation:night-wait 9s linear backwards}
  .js .sky-gold{animation:night-eve 2.6s .45s cubic-bezier(.4,0,.2,1) backwards}
  .js .sky-moon{animation:night-wait 9s linear backwards}
  .js .hero-sun{animation:night-hold 9s linear backwards}
  .js .hero-sun-in{animation:night-settle 3s .15s cubic-bezier(.45,0,.4,1) backwards}
  .js .hotel .w.on{animation:night-window .7s ease backwards}
  .js .hotel .d0{animation-delay:.75s}
  .js .hotel .d1{animation-delay:1.05s}
  .js .hotel .d2{animation-delay:1.35s}
  .js .hotel .d3{animation-delay:1.65s}
  .js .hotel .d4{animation-delay:1.95s}
  .js .hotel .d5{animation-delay:2.25s}
  .js .hotel .d6{animation-delay:2.55s}
  .js .hotel .d7{animation-delay:2.85s}
  .js .home .sh-mark{animation:night-mark 1.2s .1s cubic-bezier(.2,.7,.2,1) backwards}
  .js .hero-copy>*,.js .hero h1 .ln{animation:night-rise var(--t-move) var(--ease) backwards}
  .js .hero .eyebrow{animation-delay:.05s}
  .js .hero h1 .ln:nth-child(1){animation-delay:calc(.05s + var(--t-step))}
  .js .hero h1 .ln:nth-child(2){animation-delay:calc(.05s + var(--t-step) * 2)}
  .js .hero-intro{animation-delay:calc(.05s + var(--t-step) * 3)}
  .js .hero .actions{animation-delay:calc(.05s + var(--t-step) * 4)}
  .js .scroll-cue{animation:night-fade .8s 2.6s ease backwards}
}
@keyframes night-eve{from{opacity:1}}
@keyframes night-fade{from{opacity:0}}
@keyframes night-window{from{opacity:.1}}
@keyframes night-hold{from,80%{opacity:1}}
@keyframes night-wait{from,80%{opacity:0}}
@keyframes night-settle{from{transform:translateY(var(--sun-from))}}
@keyframes night-mark{from{clip-path:circle(0% at 8% 98%)}to{clip-path:circle(150% at 8% 98%)}}
@keyframes night-rise{from{opacity:0;transform:translateY(var(--rise))}}
/* The sky follows the eased scroll (home.js, .night-live), so all of it reverses and nothing jumps (v20): the sun
   goes first, then the moon. --dusk goes from 1 on the first screen to 0 in the story and the stars come up as it
   goes; the sun sinks behind the hotel and is gone (home.js moves it; --sun is its opacity); after a pause the moon
   rises from behind a roof (--mx, --my; on phones home.js moves .hero-moon, and plays it in time) and --moon takes
   it away again before the sunrise. The sun and the moon are never both seen. */
.night-live .sky-eve{animation:none;opacity:var(--dusk,1)}
.night-live .sky-stars{animation:none;opacity:calc(.75 - .75 * var(--dusk,1))}
.night-live .sky-moon{animation:none;opacity:var(--moon,0);transform:translate3d(var(--mx,90vw),var(--my,15vh),0) rotate(-18deg)}
.night-live .hero-sun{animation:none;opacity:var(--sun,1)}
.night-live .hero-moon{opacity:var(--moon,0)}

/* Scene 2: overnight. Still night. Three notes; the next shift reads only the sticky note. As written here (no script, or
   reduced motion) it is at its end: everything visible, the sticky note straight, lifted and lit, with its tag. */
.tale{padding:96px 0 70px;color:var(--ivory);scroll-margin-top:-100px}
/* The dark ground under the hotel: while the sky is still dusk it keeps the warm horizon from sitting behind the
   story's words as they come up the screen (4.5:1 throughout); it goes as the dusk goes. */
.tale:before{content:"";position:absolute;inset:0 0 auto;height:100vh;max-height:100%;background:linear-gradient(180deg,#060E2C 0,#0A1640 16%,#0B1738 100%);opacity:0;pointer-events:none}
/* (With the script the same ground is an element, i.tale-ground, whose opacity home.js sets by itself.) */
.tale-ground{position:absolute;inset:0 0 auto;height:100vh;max-height:100%;background:linear-gradient(180deg,#060E2C 0,#0A1640 16%,#0B1738 100%);pointer-events:none;will-change:opacity}
/* From the story down every section has the same left and right content edges as the rest of the page (.wrap in
   home.css; Lex, v18). */
.tale-in{position:relative;width:min(1120px,calc(100% - 64px));margin-inline:auto}
.tale-when{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.tale-clock{color:var(--gold)}
.tale-fic{padding:3px 8px;border:1px dashed #f6f2e880;border-radius:4px;color:#f6f2e8d9}
/* (The same label beside the morning's time, v22: on the sunrise it is drawn in navy.) */
.morning-when .tale-fic{border-color:#16224f99;color:var(--navy)}
.tale h2{max-width:14em;margin:14px 0 40px;font-size:clamp(36px,4.6vw,68px);line-height:1.04;letter-spacing:-.015em;color:var(--ivory)}
.tale h2 .ln{display:block}
.notes{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:26px;align-items:start;margin:0;padding:0;list-style:none}
.nt{position:relative;min-height:178px;padding:18px 20px 20px;border-radius:6px;background:#FBF9F4;box-shadow:0 18px 40px #00000059;color:var(--navy)}
/* The small labels and the logbook's line are navy, so they still hold 4.5:1 when their note fades back to 55%
   (v17 fix, the test run: in the muted blue they measured 3.1 to 3.3:1 there). */
.nt-label{margin-bottom:12px;font:600 11px/1.2 var(--sans);letter-spacing:.15em;text-transform:uppercase;color:var(--navy)}
.nt-msg .nt-text{font:400 15px/1.55 var(--sans);color:#2A3352}
.nt-sticky{background:#F4E3A1;transform:translateY(-10px) scale(1.04)}
.nt-sticky .nt-label{color:#665720}
.nt-sticky .nt-text{margin-top:4px;font:italic 500 40px/1 var(--serif);color:#2A2A20}
.nt-log{background:#FBF9F4 repeating-linear-gradient(180deg,transparent 0 27px,#2348a629 27px 28px);background-position:0 44px}
.nt-log .nt-text{margin-top:78px;font:italic 500 20px/1.2 var(--serif);color:var(--navy)}
.nt-pin{position:absolute;left:50%;top:-7px;z-index:1;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:var(--pin);box-shadow:0 2px 4px #00000059}
/* The lit note: a glow round it and a red edge (each on its own layer, shown by opacity). */
.nt-sticky:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 6px #96b4ff4d,0 0 80px 18px #8cafff8c;pointer-events:none}
.nt-sticky:before{content:"";position:absolute;inset:-7px;border:2.5px solid var(--told);border-radius:11px;pointer-events:none}
.nt-told{display:inline-block;margin-top:16px;padding:5px 9px;border-radius:4px;background:var(--told);font:600 11px/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:#fff}
/* The progress bar of a swipe row (phones only, with the script). */
.row-bar{display:none}
.tale-clock2{margin-top:44px}
/* The line after the notes (Lex, v21): its first sentence is the large serif line the old one was; its second, which
   says what the sticky note leaves out, is in the body type under it. One element, which arrives as one. */
.tale-next{margin-top:12px;color:var(--ivory)}
.tale-next-a{display:block;font:500 clamp(28px,3.2vw,46px)/1.1 var(--serif);letter-spacing:-.01em}
.tale-next-b{display:block;max-width:36em;margin-top:10px;font:400 19px/1.5 var(--sans);color:#f6f2e8eb}
/* With the script and motion allowed (html.night-live, set by home.js): each note arrives in turn, then the line; the
   sticky note straightens, lifts and glows while the other two fade back (to 55%, where their words still hold
   4.5:1), and it gets its red tag. On wide screens home.js sets these from the scroll while the scene holds in
   place, so scrolling up undoes them; on phones each arrives as it comes into view. */
.night-live .nt{opacity:0;transform:translateY(var(--rise));transition:opacity var(--t-move) var(--ease),transform var(--t-move) var(--ease)}
.night-live .nt.in{opacity:1;transform:none}
.night-live .nt-sticky.in{transform:rotate(-2.2deg)}
.night-live .b2 :is(.nt-msg,.nt-log).in{opacity:.55;transform:scale(.985)}
.night-live .b2 .nt-sticky.in{transform:translateY(-10px) scale(1.04)}
.night-live .nt-sticky:after,.night-live .nt-sticky:before{opacity:0;transition:opacity var(--t-move) var(--ease)}
.night-live .b2 .nt-sticky:after,.night-live .b3 .nt-sticky:before{opacity:1}
.night-live .nt-told{opacity:0;transform:translateY(6px);transition:opacity var(--t-move) var(--ease),transform var(--t-move) var(--ease)}
.night-live .b3 .nt-told{opacity:1;transform:none}
.night-live :is(.tale-next,.tale-clock2){opacity:0;transform:translateY(var(--rise));transition:opacity var(--t-move) var(--ease),transform var(--t-move) var(--ease)}
.night-live .b2 :is(.tale-next,.tale-clock2){opacity:1;transform:none}
/* Wide and tall enough, with motion: the scene holds in place (sticky) while the reader scrolls through its steps,
   then releases. The small line changes in place from the PM shift to the overnight shift. */
@media(min-width:900px) and (min-height:640px) and (prefers-reduced-motion:no-preference){
  .night-live .tale{height:230vh;padding:0;scroll-margin-top:-100px}
  .night-live .tale-pin{position:sticky;top:0;display:flex;flex-direction:column;justify-content:center;height:100vh;padding:70px 0 40px}
  .night-live .tale h2{font-size:clamp(36px,min(4.6vw,8.2vh),68px);margin-bottom:min(40px,4.6vh)}
  /* One time goes before the other comes (each fades in 0.18 s, the second after the first has gone), in both
     directions, so the two are never seen on top of each other (Lex, v18). */
  .night-live .tale-clock1{transition:opacity .18s var(--ease) .2s}
  /* The first line keeps room for the longer second one, so the dashed label beside it never moves. */
  .night-live .tale-clock1:after{content:attr(data-then);display:block;height:0;overflow:hidden;visibility:hidden}
  .night-live .b2 .tale-clock1{opacity:0;transition-delay:0s}
  .night-live .tale-clock2{position:absolute;left:0;top:4px;margin:0;transform:none;transition:opacity .18s var(--ease) 0s}
  .night-live .b2 .tale-clock2{transform:none;transition-delay:.2s}
  .night-live .tale-next{margin-top:min(44px,5vh)}
}

/* Scene 3: morning. The night sky gives way to sunrise and then to the page's light ground; a soft sun glow rises
   behind the heading (home.js moves it with the scroll; still, it rests risen). */
.morning{padding:46vh 0 120px;overflow:hidden;overflow:clip;background:linear-gradient(180deg,rgba(11,23,56,0) 0,#16296A 12vh,#4E6DC6 25vh,#A9BEEB 37vh,#F2DBC5 49vh,#FAF0E5 66vh,var(--paper) 100%);color:var(--ink)}
.sun{position:absolute;left:50%;top:34vh;width:86vw;max-width:1200px;aspect-ratio:1;margin-left:max(-43vw,-600px);border-radius:50%;background:radial-gradient(closest-side,#ffe2b6f2,#ffd6aa73 45%,#ffd6aa00 72%);pointer-events:none;transform:translateY(-2vh)}
/* (The glow is painted once and then only moved.) */
.night-live .sun{will-change:transform}
/* The morning's sun (Lex, v21): the mirror of the sunset on the first screen. A disc with a soft halo, in the sky
   beside the heading area (at the right, where no words are). From 900px home.js raises it a short way and brings it
   in with the eased scroll as the scene comes up the screen, so it reverses; below 900px it rises once, in time,
   when the scene arrives (.is-up). Without the script, or with reduced motion, there is no sun. */
.sunrise{position:absolute;right:max(32px,calc(50% - 560px));top:calc(46vh - 78px);width:132px;height:132px;margin-right:72px;border-radius:50%;background:radial-gradient(closest-side,#FFE9BF,#FBCB8F 62%,#F3AC74);box-shadow:0 0 60px 26px #fbc98c59;opacity:0;pointer-events:none}
.night-live .sunrise{will-change:transform,opacity}
.morning-in{position:relative;width:min(1120px,calc(100% - 64px));margin-inline:auto}
.morning h2{margin:14px 0 18px;font-size:clamp(40px,5.4vw,80px);line-height:1.02;letter-spacing:-.015em;color:var(--navy)}
/* The morning's first line (Lex, v21): what the night caused, in the body type, between the time and the heading. */
.morning-first{max-width:34em;margin:16px 0 0;font-size:19px;line-height:1.55;color:#27304F}
.morning-first+h2{margin-top:18px}
/* The introduction row: Lex's portrait in an arch with a morning-sky interior, a thin white outline and a light
   shadow, and beside it his name, the small line and what he looks for. */
.meet{display:flex;align-items:center;gap:34px;margin:30px 0 50px}
.meet-me{flex:none;width:190px;height:236px;overflow:hidden;border-radius:999px 999px 18px 18px;background:linear-gradient(180deg,#5B80D8 0%,#93AEEA 58%,#D6E1F7 100%);box-shadow:0 0 0 2px #fff,0 0 0 9px #ffffff59,0 22px 44px #14245a38}
.meet-me img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.meet-name{font:500 42px/1 var(--serif);letter-spacing:-.01em;color:var(--navy)}
.meet .eyebrow{margin-top:12px}
.morning-lead{max-width:26em;margin:18px 0 0;font-size:19px;color:#27304F}
.finds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none}
.find{position:relative;padding:26px 24px 28px;border-radius:18px;background:#FFFDF9;box-shadow:0 1px 0 #1b24400f,0 14px 34px #1b244014;transition:transform var(--t-light) var(--ease)}
.find-num{position:relative;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#2348a61a;font:600 13px/1 var(--sans);color:var(--royal)}
.find h3{margin:18px 0 10px;font-size:27px;line-height:1.08;letter-spacing:-.005em;color:var(--royal)}
.find p{font-size:16px;color:#2E3757}
.plan{position:relative;display:grid;grid-template-columns:auto 1fr;gap:10px 48px;align-items:center;margin-top:22px;padding:30px 34px 30px 58px;border-radius:18px;background:linear-gradient(120deg,#14245A,#22409C);box-shadow:0 18px 40px #14245a38;color:var(--ivory);transition:transform var(--t-light) var(--ease)}
.plan .eyebrow{color:var(--gold)}
.plan h3{position:relative;margin:8px 0 0;font-size:clamp(30px,3vw,42px);line-height:1.05;white-space:nowrap;color:var(--ivory)}
/* The plan band's own arrival (Lex, v20; home.js section 5): when the band is lit a thin line draws itself under
   "A 30-day action plan." and stays while the band is lit; then the band's two sentences arrive, one after the
   other.) Since v22 the band's two sentences are not held back for the light: they arrive with the band, when it
   enters the screen (home.js section 2), and the line still draws when the band is lit. */
.plan h3:after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;border-radius:1px;background:var(--gold);transform:scaleX(0);transform-origin:0 50%;transition:transform var(--t-move) var(--ease)}
.plan:is(.is-lit,.is-passed) h3:after{transform:scaleX(1);transition-delay:.15s}
.plan-text{max-width:34em;font-size:16.5px;color:#f6f2e8eb}
.plan-dot{position:absolute;left:28px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:var(--gold)}
.payoff{margin:84px 0 0;text-align:center;font:500 clamp(34px,4.2vw,62px)/1.06 var(--serif);letter-spacing:-.015em;color:var(--navy);text-wrap:balance}
.payoff .ln{display:block}
.fault{margin:18px 0 0;text-align:center;font-size:15px;color:var(--note-muted);text-wrap:balance}
/* What the light enters (home.js): the box it has just entered is fully lit (.is-lit: the card or the band lifts
   slightly and glows, and its number fills in); the ones it entered earlier stay softly lit (.is-passed: the number
   stays filled, with a thin outline). Each is its own layer, shown by opacity; nothing is lit without the script or
   with reduced motion. */
.find:after,.plan:after{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--t-light) var(--ease)}
.find:after{box-shadow:0 0 0 1.5px #2348a659,0 0 60px 6px #7896eb59,0 18px 40px #1b24401f}
.plan:after{box-shadow:0 0 0 2px #f2d8a68c,0 0 70px 10px #7896eb80,0 18px 40px #14245a40}
.find-num:after{content:attr(data-n);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--royal);box-shadow:0 0 0 6px #2348a626;color:#fff;opacity:0;transform:scale(.6);transition:opacity var(--t-light) var(--ease),transform var(--t-light) var(--ease)}
.plan-dot:after{content:"";position:absolute;inset:-7px;border-radius:50%;background:#f2d8a640;opacity:0;transform:scale(.5);transition:opacity var(--t-light) var(--ease),transform var(--t-light) var(--ease)}
.find:before,.plan:before{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--t-light) var(--ease)}
.find:before{box-shadow:0 0 0 1.5px #2348a638}
.plan:before{box-shadow:0 0 0 1.5px #f2d8a659}
:is(.find,.plan).is-passed:before{opacity:1}
.find.is-passed .find-num:after,.plan.is-passed .plan-dot:after{opacity:1;transform:none}
.find.is-lit{transform:translateY(-4px)}
.plan.is-lit{transform:translateY(-3px)}
:is(.find,.plan).is-lit:after{opacity:1}
.find.is-lit .find-num:after,.plan.is-lit .plan-dot:after{opacity:1;transform:none}
/* (Each line and card of the morning arrives like everything else on the page: home.css, "Arrive".) */

/* The header on the homepage: transparent with ivory text at the very top; from the first scrolled pixel a slim dark
   bar where the wordmark folds away and the mark and the booking button stay; over the light sections the light bar
   (home.js adds .is-over-light; header.js adds .is-condensed as soon as the page has scrolled). It lies over the first
   screen instead of above it, so its ground is solid and arrives at once: nothing that passes under the bar shows
   through it, also while the wordmark folds away (Lex, November 14, 2026). On the way back the ground stays until the
   very top and fades there, where only sky is under it. Without JavaScript it is the dark bar throughout. Colours
   switch at once; between the dark and the light bar the ground crossfades. */
.home .site-header{margin-bottom:calc(-1 * var(--sh-h))}
.home .sh-bg{background:#0B1436;-webkit-backdrop-filter:none;backdrop-filter:none}
.home .site-header.is-condensed .sh-bg{transition:opacity 0s,transform .6s cubic-bezier(.22,1,.36,1)}
.home .sh-bg:before{content:"";position:absolute;inset:0;background:#f6f2e8f5;opacity:0;transition:opacity var(--t-quick) var(--ease)}
.home .sh-bg:after{background:#f6f2e824}
.home .is-over-light .sh-bg:before{opacity:1}
.home .is-over-light .sh-bg:after{background:#17203324}
html:not(.js) .home .sh-bg{opacity:1}
.home .site-header:not(.is-over-light) :is(.sh-brand,.sh-brand-text,.sh-nav a,.sh-menu summary){color:var(--ivory)}
.home .site-header:not(.is-over-light) .sh-nav a[aria-current="true"]{color:var(--gold)}
.home .site-header:not(.is-over-light) .sh-underline{background:var(--gold)}
.home .site-header:not(.is-over-light) .sh-book{background-color:var(--ivory);color:var(--navy)}
.home .site-header:not(.is-over-light) .sh-book:before{box-shadow:0 0 0 2px #578fe833,0 2px 14px 1px #578fe873}
.home .site-header:not(.is-over-light) :is(a,summary):focus-visible{outline-color:var(--ivory)}
.home .site-header:not(.is-over-light) .sh-book:focus-visible{outline-color:var(--ivory);box-shadow:0 0 0 3px #172033}
@media(hover:hover){.home .site-header:not(.is-over-light) .sh-book:hover{background-color:#fff}}
.home .sh-brand-text{transform-origin:0 50%;transition:transform .6s cubic-bezier(.22,1,.36,1),opacity var(--t-quick) var(--ease)}
.home .sh-mark{transform-origin:0 50%}
.home .site-header.is-condensed .sh-bg{transform:scaleY(.72)}
.home .site-header.is-condensed :is(.sh-nav,.sh-menu){transform:translateY(-12px)}
.home .site-header.is-condensed .sh-mark{transform:translateY(-12px) scale(.8)}
.home .site-header.is-condensed .sh-book{--lift:-12px}
.home .site-header.is-condensed .sh-brand-text{opacity:0;transform:translate(-14px,-12px) scaleX(.6)}
@media(min-width:900px){.home .site-header .sh-inner{width:auto;margin-inline:5vw}}
@media(max-width:640px){
  .home .site-header.is-condensed .sh-bg{transform:scaleY(.8)}
  .home .site-header.is-condensed :is(.sh-nav,.sh-menu){transform:translateY(-7px)}
  .home .site-header.is-condensed .sh-mark{transform:translateY(-7px) scale(.84)}
  .home .site-header.is-condensed .sh-book{--lift:-7px}
  .home .site-header.is-condensed .sh-brand-text{transform:translate(-10px,-7px) scaleX(.6)}
}
@media(prefers-reduced-motion:reduce){.home .sh-brand-text,.home .sh-bg:before{transition:none}}

/* The light on the homepage (Lex, v20): it arrives where the reader is (home.js section 4). Nothing travels down the
   page. Each arrival is drawn in a small layer inside the stop itself (.lt-fx; the rules' layer lies over them in
   .lt-layer): a drop (.lt-drop, about 16px across from 1024px wide, 12px below that, with a short tail) falls a short
   way beside the box and curves into its edge; there one ring spreads and fades (.lt-ring) and a wash of light spreads
   through the box from that point and fades (.lt-wash). Royal on light ground; white and pale blue on dark ground
   (.on-dark). The lit state itself is the box's own layer (.is-lit, .is-passed). Position, scale and opacity only. */
.lt-layer{position:absolute;left:0;top:0;z-index:3;width:0;height:0;pointer-events:none}
.lt-fx{position:absolute;inset:0;z-index:3;border-radius:inherit;font-style:normal;pointer-events:none}
.lt-fx>*{position:absolute;left:0;top:0;pointer-events:none}
.lt-drop{width:0;height:0}
.lt-drop b{position:absolute;left:-8px;top:-8px;width:16px;height:16px;border-radius:50%;background:var(--royal);box-shadow:0 0 0 3px #2348a647,0 0 20px 6px #2348a68c}
.lt-drop b:before{content:"";position:absolute;left:50%;bottom:70%;width:4px;height:30px;margin-left:-2px;border-radius:2px;background:linear-gradient(180deg,#2348a600,#2348a6bf)}
.lt-fx.is-hop .lt-drop b:before{content:none}
.lt-fx.on-dark .lt-drop b{background:#fff;box-shadow:0 0 0 3px #a9c2ff99,0 0 24px 8px #8cb0ffd9}
.lt-fx.on-dark .lt-drop b:before{background:linear-gradient(180deg,#dce9fa00,#dce9fae6)}
.lt-fx.is-small .lt-drop b{left:-6px;top:-6px;width:12px;height:12px}
.lt-fx.is-small .lt-drop b:before{width:3px;height:20px;margin-left:-1.5px}
.lt-ring{width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid #2348a6d9;border-radius:50%;animation:lt-ring var(--t-light) ease-out both}
.lt-fx.on-dark .lt-ring{border-color:#d5e2fff2}
.lt-fx.is-small .lt-ring{--ring:2.4}
/* (The plan band's ring lies half on the light page and half on the dark band: Royal with a pale inner edge.) */
.lt-ring.is-big{--ring:4.2;border-width:2.5px;box-shadow:inset 0 0 0 1.5px #f6f2e8d9;animation-duration:var(--t-move)}
.lt-fx>.lt-wash{inset:0;overflow:hidden;border-radius:inherit}
.lt-wash{--wash:120,150,235}
.lt-wash.on-dark{--wash:242,216,166}
.lt-wash b{position:absolute;inset:0;opacity:0}
.lt-wash b:first-child{background:radial-gradient(ellipse max(90px,26%) max(70px,56%) at var(--x) var(--y),rgba(var(--wash),.5) 0,rgba(var(--wash),0) 100%);animation:lt-wash-near var(--t-light) ease-out both}
.lt-wash b:last-child{background:radial-gradient(ellipse farthest-side at var(--x) var(--y),rgba(var(--wash),.4) 0,rgba(var(--wash),.17) 45%,rgba(var(--wash),0) 100%);animation:lt-wash-far var(--t-move) ease-out .08s both}
.lt-wash.is-big b:last-child{animation-duration:var(--t-slow)}
@keyframes lt-ring{from{transform:scale(.4);opacity:1}to{transform:scale(var(--ring,3.2));opacity:0}}
@keyframes lt-wash-near{from{opacity:0}22%{opacity:1}to{opacity:0}}
@keyframes lt-wash-far{from{opacity:0}42%{opacity:1}to{opacity:0}}
.find .lt-ring{--ring:2.3}

/* Where the sticky note is too narrow for its tag on one line, the tag sits on two and hugs them. */
@media(min-width:900px) and (max-width:1109px),(max-width:360px){.nt-told{max-width:calc(13.6em + 18px)}}
/* On narrower desktops the hotel stands a little further right, so its palm stays clear of the words. */
@media(min-width:900px) and (max-width:1279px){.hotel,.hotel-sky{width:calc(100% + min(24vw,1280px - 100vw))}}
/* The sun starts less high on a short screen, so that it never passes behind the header; on a very wide, short
   screen the hotel's roof is cut off by the top of its box and there is no sun. The phone's moon is for phones. */
@media(min-width:900px) and (max-height:760px){.hotel-sky{--sun-from:-110px}}
@media(min-width:900px) and (max-height:660px){.hotel-sky{--sun-from:-60px}}
@media(min-width:900px){.hotel-moon{display:none}}
@media(min-aspect-ratio:215/100){.hotel-sky,.hotel-moon{display:none}}
/* Between the phone layout and the wide one: the four cards two by two. */
@media(min-width:900px) and (max-width:1160px){.finds{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Below 900px nothing is held in place. The hotel stands above the words; the notes stack full width and each
   slides in as it arrives; the cards are one column (below 768px the notes and the cards are two swipe rows: see
   the end of this file). The moon is the first screen's own (.hero-moon) and leaves with it. */
@media(max-width:899px){
  /* The first screen: the hotel at the top, the words at the foot. The words never rise above the hotel's upper
     floors (the screen grows instead on a short phone), and their shade is tied to them, so they hold their
     contrast at every height. --hh is the hotel's height, --gx the side margin. */
  .hero{--hh:min(78vw,340px);--gx:5vw;display:flex;flex-direction:column;justify-content:flex-end;height:auto;min-height:max(100vh,640px);min-height:max(100svh,640px);padding:calc(110px + var(--hh) * .4) 0 62px}
  .is-preview .hero{height:auto;min-height:max(100vh - 33px,640px);min-height:max(100svh - 33px,640px)}
  .hero h1 .ln{display:inline}
  .sky .sky-moon{display:none}
  .hotel,.hotel-sky,.hotel-moon{top:110px;bottom:auto;height:var(--hh)}
  .hotel-sky{--sun-from:-60px;--sun-y:24px}
  .hero-shade{display:none}
  .hero-copy{position:relative;left:auto;top:auto;bottom:auto;width:auto;margin-inline:var(--gx);padding:0}
  .hero-copy:before{content:"";position:absolute;z-index:-1;left:calc(-1 * var(--gx));right:calc(-1 * var(--gx));top:-110px;bottom:-62px;background:linear-gradient(180deg,rgba(6,13,40,0) 0,rgba(6,13,40,.82) 110px,rgba(6,13,40,.95) 100%);pointer-events:none}
  .hero h1{margin:12px 0 14px;font-size:clamp(40px,11.5vw,56px)}
  .hero-intro{margin-bottom:22px;font-size:17px}
  .hero .text-link,.scroll-cue{display:none}
  .tale h2{margin-bottom:30px;font-size:clamp(34px,9vw,44px)}
  .notes{grid-template-columns:minmax(0,1fr);gap:20px}
  .nt{min-height:0;padding:20px 20px 22px}
  .nt-log .nt-text{margin-top:40px}
  .nt-sticky{transform:scale(1.02)}
  .night-live .b2 .nt-sticky.in{transform:scale(1.02)}
  .tale-clock2{margin-top:34px}
  .morning{padding:31vh 0 90px;background:linear-gradient(180deg,rgba(11,23,56,0) 0,#16296A 7vh,#4E6DC6 15vh,#A9BEEB 23vh,#F2DBC5 31vh,#FAF0E5 48vh,var(--paper) 100%)}
  .sun{top:20vh}
  .sunrise{right:0;top:calc(31vh - 112px);width:88px;height:88px;margin-right:11%;box-shadow:0 0 40px 16px #fbc98c59}
  .night-live .sunrise{transform:translateY(64px);transition:opacity 1s var(--ease),transform 1s var(--ease)}
  .night-live .sunrise.is-up{opacity:1;transform:none}
  .morning h2{font-size:clamp(38px,10vw,52px)}
  .meet{align-items:flex-start;gap:18px;margin:22px 0 34px}
  .meet-me{width:112px;height:140px;border-radius:999px 999px 12px 12px}
  .meet-name{margin-top:6px;font-size:30px}
  .meet .eyebrow{margin-top:8px}
  .morning-lead{margin-top:12px;font-size:17px}
  .morning-first{font-size:17px}
  .finds{grid-template-columns:minmax(0,1fr);gap:16px}
  .plan{grid-template-columns:minmax(0,1fr);padding:26px 24px 26px 48px}
  .plan h3{white-space:normal}
  .plan-dot{left:22px;top:34px;margin:0}
}
@media(max-width:899px) and (max-height:700px){
  .hero{padding:calc(110px + var(--hh) * .3) 0 48px}
  .hero-copy:before{bottom:-48px}
}
/* Phones (v13 minimums): 24px at the sides, 12px labels, body text 17px on 1.6. */
@media(max-width:767px){
  .hero{--gx:24px}
  .tale{scroll-margin-top:-80px}
  .tale-in,.morning-in{width:calc(100% - 48px)}
  .nt-label,.nt-told{font-size:12px}
  .nt-label{margin-bottom:16px}
  .tale-next{margin-top:16px}
  .tale-next-a,.tale-next-b,.morning-first{text-wrap:balance}
  .tale-next-b{margin-top:12px;font-size:17px;line-height:1.6}
  .nt-msg .nt-text{font-size:17px;line-height:1.6}
  .morning-lead,.morning-first,.find p,.plan-text{font-size:17px;line-height:1.6}
  .find{padding:24px 22px 26px}
  .fault{font-size:16px}
  .hero-intro{line-height:1.6}
  .morning h2{margin-bottom:24px}
  .find-num{font-size:14px}
  .plan-text .sent{text-wrap:pretty}
  .payoff{margin-top:64px}
  /* Two rows that swipe sideways (Lex, v18): the three notes and the four cards. Each card is about 80% of the
     screen wide and snaps to the middle, so the edge of the next one always shows; the first starts 24px from the
     side like everything else. The rows reach the screen's edges and have room above and below for a lifted, lit
     card. Without the script they still swipe. One progress bar under each: a segment per card. */
  .notes,.finds{position:relative;display:flex;align-items:stretch;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;margin:-28px -24px;padding:44px 24px}
  .notes::-webkit-scrollbar,.finds::-webkit-scrollbar{display:none}
  /* A row can be reached with the Tab key and moved with the arrow keys: it shows the ring, drawn inside its box. */
  .notes:focus-visible,.finds:focus-visible{outline:3px solid var(--royal);outline-offset:-10px;border-radius:20px}
  .notes:focus-visible{outline-color:#F6F2E8}
  .notes>.nt,.finds>.find{flex:0 0 80%;scroll-snap-align:center}
  .notes{align-items:flex-start}
  .notes>.nt{min-height:168px}
  .nt-sticky,.night-live .b2 .nt-sticky.in{transform:translateY(-6px) scale(1.03)}
  .nt-sticky:after{box-shadow:0 0 0 5px #96b4ff4d,0 0 34px 8px #8cafff80}
  .find:after{box-shadow:0 0 0 1.5px #2348a659,0 0 30px 4px #7896eb59,0 12px 24px #1b24401a}
  .night-live .nt:nth-child(2){transition-delay:.08s}
  .night-live .nt:nth-child(3){transition-delay:.16s}
  .night-live .b2 .nt{transition-delay:0s}
  .js .row-bar{display:flex;justify-content:center;gap:6px;margin:0 0 6px}
  .row-bar i{width:26px;height:4px;border-radius:4px;background:#f6f2e847}
  /* Each segment fills from the left, smoothly, as its card comes to the middle (Lex, v20). */
  .row-bar i{overflow:hidden}
  .row-bar i:after{content:"";display:block;height:100%;border-radius:inherit;background:var(--gold);transform:scaleX(0);transform-origin:0 50%;transition:transform var(--t-light) var(--ease)}
  .row-bar i.on:after{transform:scaleX(1)}
  .morning .row-bar i{background:#2348a62e}
  .morning .row-bar i:after{background:var(--royal)}
  .plan{margin-top:22px}
}
