/* Cormorant Garamond (SIL Open Font License), self-hosted, Latin subset. */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:400;font-display:swap;src:url(./fonts/cormorant-400.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:italic;font-weight:400;font-display:swap;src:url(./fonts/cormorant-400-italic.woff2) format("woff2")}
:root{--sans:'Apple SD Gothic Neo',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif}
/* Shared floor for the First Look prototypes.
   Only resets and accessibility helpers live here. Every page owns its own
   colors, type, layout and motion (design lesson D011: shared plumbing is
   fine, a shared look is not). */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img,svg,canvas{display:block;max-width:100%}
h1,h2,h3,h4,p,ul,ol,figure,blockquote,dl,dd{margin:0;padding:0}
ul,ol{list-style:none}
a{color:inherit}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* With scripting off, anything that waits for a reveal must simply show. */
.no-js [data-reveal]{opacity:1!important;transform:none!important}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

/* ---- shared header behavior (structure and motion only; colors come from the page) ---- */
.fl-head{z-index:60;transition:transform .35s cubic-bezier(.3,.8,.2,1),background .3s,box-shadow .3s,padding .3s}
.fl-head.fl-sticky{position:sticky;top:0}
.fl-head.fl-stuck{background:color-mix(in srgb,var(--fl-bg) 86%,transparent);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);box-shadow:0 1px 0 color-mix(in srgb,currentColor 14%,transparent)}
/* full-width backdrop for a header that sits inside a centered column, without changing layout */
.fl-head.fl-sticky.fl-stuck{box-shadow:0 0 0 100vmax color-mix(in srgb,var(--fl-bg) 86%,transparent);clip-path:inset(0 -100vmax)}
.fl-head a,.fl-head button{white-space:nowrap}
@media (max-width:480px){.fl-head :is(.btn,.cta,.pill){padding:10px 13px!important;font-size:13.5px!important}.fl-menu{padding:8px 12px}}
.fl-head.fl-away{transform:translateY(-110%)}
.fl-nav{display:flex;gap:4px;margin-left:auto;margin-right:14px;font-size:15px;font-weight:500}
.fl-nav a{text-decoration:none;padding:8px 12px;border-radius:99px;position:relative;white-space:nowrap;transition:background .2s}
.fl-nav a:hover{background:color-mix(in srgb,currentColor 10%,transparent)}
.fl-nav a.now::after{content:"";position:absolute;left:12px;right:12px;bottom:3px;height:2px;background:currentColor;border-radius:2px}
.fl-menu{display:none;margin-left:auto;margin-right:10px;padding:9px 14px;border-radius:99px;font-weight:600;font-size:14px;box-shadow:inset 0 0 0 1.5px currentColor}
@media (max-width:860px){
  .fl-menu{display:block}
  .fl-nav{display:none;position:absolute;left:12px;right:12px;top:calc(100% + 6px);flex-direction:column;gap:0;margin:0;padding:8px;border-radius:16px;
    background:var(--fl-bg);box-shadow:0 20px 40px -18px rgba(0,0,0,.45),0 0 0 1px color-mix(in srgb,currentColor 14%,transparent)}
  .fl-open .fl-nav{display:flex}.fl-nav a{padding:13px 14px;font-size:17px}.fl-nav a.now::after{display:none}
}
/* ---- pinned-scene cue and rail: white with a difference blend, so they show on any background ---- */
.fl-cue{white-space:nowrap;position:absolute;left:50%;bottom:20px;transform:translateX(-50%);z-index:40;display:flex;flex-direction:column;align-items:center;gap:7px;color:#fff;mix-blend-mode:difference;
  font:600 11px/1 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;cursor:pointer;transition:opacity .5s}
.fl-cue.off{opacity:0;pointer-events:none}
.fl-cue i{width:22px;height:34px;border:2px solid #fff;border-radius:12px;position:relative}
.fl-cue i::after{content:"";position:absolute;left:50%;top:6px;width:3px;height:7px;margin-left:-1.5px;border-radius:2px;background:#fff;animation:fl-wheel 1.5s infinite}
@keyframes fl-wheel{0%{transform:translateY(0);opacity:1}70%{transform:translateY(11px);opacity:0}100%{opacity:0}}
.fl-rail{position:absolute;right:14px;top:50%;height:min(34vh,240px);width:2px;margin-top:calc(min(34vh,240px)/-2);background:rgba(255,255,255,.25);mix-blend-mode:difference;z-index:40;opacity:0;transition:opacity .4s}
.fl-rail.on{opacity:1}
.fl-rail b{position:absolute;left:0;top:0;width:2px;background:#fff}
.fl-rail button{position:absolute;left:-6px;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:#fff;transform:scale(.45);transition:transform .2s}
.fl-rail button:hover{transform:scale(1)}
@media (prefers-reduced-motion:reduce){.fl-cue i::after{animation:none}}

/* Phone header spacing: one row, even gaps, and every control the same height so
   nothing wraps or crowds (Joe flagged the cramped A Day header, 2026-11-09). */
@media (max-width:860px){
  .fl-head{gap:8px;padding-left:16px!important;padding-right:16px!important;flex-wrap:nowrap}
  .fl-head>:first-child{margin-right:auto;flex:0 1 auto;min-width:0}
  .fl-head .fl-menu,.fl-head :is(.btn,.cta,.pill,.mail){height:40px;display:inline-flex;align-items:center;justify-content:center;flex:none;
    padding:0 15px!important;font-size:14px!important;line-height:1;margin:0!important;box-shadow:none}
  .fl-head .fl-menu{box-shadow:inset 0 0 0 1.5px currentColor;background:color-mix(in srgb,var(--fl-bg) 80%,transparent)}
  .fl-head img{max-height:26px;width:auto}
}

/* Direction: "initium" means "beginning", so the page opens before dawn and the
   reader raises the sun by scrolling. The sun is the banded disc from the
   Initium mark. Below the horizon, the work is listed in the order it's happening. */
:root{--night:#0c1024;--ink:#1b1a22;--paper:#fbf4e6;--soft:#6a6470}
body{background:var(--paper);color:var(--ink);font:400 17px/1.6 var(--sans)}
header{position:fixed;left:0;right:0;top:0;z-index:30;display:flex;justify-content:space-between;align-items:center;padding:16px 22px;mix-blend-mode:normal}
header a.brand{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font:500 20px/1 var(--sans);letter-spacing:.005em;transition:color .4s}
header a.brand svg{height:26px;width:auto;flex:none;fill:currentColor}
header a.brand:focus-visible{outline-offset:6px;border-radius:4px}
header a.mail{color:#fff;font-weight:500;font-size:15px;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.6);padding-bottom:2px;transition:color .4s,border-color .4s}
body.lit header a.mail{color:var(--ink);border-color:var(--ink)}
header{color:#fff}body.lit header{color:var(--ink)}
header.fl-stuck:not(.x){background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
header{transition:background .4s}
body.lit header,body.lit header.fl-stuck:not(.x){background:rgba(251,244,230,.94)}
.dawn{height:300vh;position:relative}
.scene{position:sticky;top:0;height:100svh;overflow:hidden;background:var(--night)}
.skyA,.skyB{position:absolute;inset:0}
.skyA{background:linear-gradient(#0c1024 0%,#1c1e44 55%,#3a2a55 100%)}
.skyB{background:linear-gradient(#7fb6e8 0%,#f4c9a0 52%,#fbe6c4 100%);opacity:var(--day,0)}
.glow{position:absolute;left:var(--sx,72%);top:var(--sy,120%);width:160vmax;height:160vmax;transform:translate(-50%,-50%);
  background:radial-gradient(closest-side,rgba(255,170,90,.55),rgba(255,120,80,.18) 40%,transparent 70%);opacity:var(--glow,0)}
.sun{position:absolute;left:var(--sx,72%);top:var(--sy,120%);width:min(46vmin,420px);aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);overflow:hidden;
  border:clamp(3px,.55vmin,6px) solid #09070e;
  background:linear-gradient(#fcc534 0 34%,#f6691a 34% 50%,#da282b 50% 64%,#662796 64% 78%,#0151b0 78% 100%);box-shadow:0 0 90px 10px rgba(252,197,52,.35)}
svg.ridges{position:absolute;inset:auto 0 0;width:100%;height:52%;overflow:visible}
.r1{fill:var(--r1,#1a1c3c)}.r2{fill:var(--r2,#121430)}.r3{fill:var(--r3,#090b1c)}
.ridge-light{fill:#ffd1a9;opacity:var(--ridge-light,0)}
/* Shade the copy area through the entire dawn while leaving the sun and horizon bright. */
.scene::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#0c1024bf 0%,#0c1024a8 38%,transparent 65%)}
.lines{position:absolute;z-index:1;left:6vw;top:17%;width:min(640px,88vw);color:#fff}
.lines h1{font:400 clamp(44px,8vw,120px)/.95 "Cormorant Garamond",serif;letter-spacing:-.015em}
.lines h1 em{font-style:italic}
.ln{opacity:0;transform:translateY(18px);transition:opacity .7s,transform .7s}
.ln.on{opacity:1;transform:none}
.lines p{max-width:44ch;margin:22px 0 0;font-size:clamp(17px,1.5vw,20px);color:#f2edf8}
.cue{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);color:#fff;font-size:13px;letter-spacing:.12em;text-transform:uppercase;opacity:var(--cue,1)}
main{position:relative;background:var(--paper)}
.inner{max-width:1040px;margin:0 auto;padding:0 22px}
.thesis{padding:110px 0 70px;text-align:center}
.thesis h2{font:400 clamp(36px,5.4vw,72px)/1.02 "Cormorant Garamond",serif;max-width:17ch;margin:0 auto}
.thesis p{max-width:56ch;margin:22px auto 0;color:#3c3842;font-size:18.5px}
.stage{display:grid;grid-template-columns:220px 1fr;gap:40px;padding:54px 0;border-top:1px solid #dccfb6;position:relative}
.when{position:sticky;top:90px;align-self:start}
.when b{display:block;font:500 13px/1.3 var(--sans);letter-spacing:.1em;text-transform:uppercase}
.when span{display:block;margin-top:10px;width:64px;height:64px;border-radius:50%;overflow:hidden;position:relative;background:#e9dfcb}
.when span::after{content:"";position:absolute;inset:0;transform:translateY(var(--up));border-radius:50%;background:linear-gradient(#fcc534 0 34%,#f6691a 34% 50%,#da282b 50% 64%,#662796 64% 78%,#0151b0 78%)}
.stage h3{font:400 clamp(34px,4.4vw,54px)/1 "Cormorant Garamond",serif;margin-bottom:10px}
.stage h3 small{font:500 14px/1 var(--sans);color:var(--soft);margin-left:10px;letter-spacing:.02em}
.stage p{max-width:60ch;color:#3c3842}
.stage p+p{margin-top:12px}
.stage a{font-weight:600}
.item+.item{margin-top:38px}
.names{padding-top:56px;padding-bottom:80px;scroll-margin-top:76px}
.names h2{font:400 clamp(38px,5.3vw,68px)/1.05 "Cormorant Garamond",serif}
.names>p{margin:12px 0 28px;color:#3c3842}
.name-list>div{display:grid;grid-template-columns:220px 1fr;gap:40px;padding:22px 0;border-top:1px solid #dccfb6}
.name-list dt{font:400 32px/1 "Cormorant Garamond",serif}
.name-list dt span{display:block;margin-top:5px;color:var(--soft);font:500 14px/1.3 var(--sans)}
.name-list dd{max-width:60ch;color:#3c3842}
.name-list strong{font-weight:650;color:var(--ink)}
.close{background:var(--night);color:#f1edf9;text-align:center;padding:110px 22px}
.close h2{font:400 clamp(40px,6vw,84px)/1 "Cormorant Garamond",serif}
.close p{max-width:48ch;margin:18px auto 30px;color:#c8c2dc}
.btn{display:inline-block;background:#fcc534;color:#1b1a22;padding:14px 24px;border-radius:99px;text-decoration:none;font-weight:600}
.btn:hover{background:#fff}
.btn.ghost{background:none;color:#fff;border:1px solid #fff;margin-left:8px}
footer{background:var(--night);color:#8f89a6;font-size:14px;padding:0 22px 90px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
@media (max-width:900px){
  .lines{top:11%}
  .scene{--sx:58%}
  .scene::after{background:linear-gradient(180deg,#0c1024c2 0%,#0c1024b3 39%,transparent 68%)}
  .sun{width:40vmin}
}
@media (max-width:760px){
  .stage,.name-list>div{grid-template-columns:1fr;gap:14px}
  .when{position:static;display:flex;align-items:center;gap:14px}
  .when span{margin:0;width:44px;height:44px;order:-1}
  .btn.ghost{margin:10px 0 0}
  .names{padding-top:36px;padding-bottom:60px}
  .name-list>div{gap:9px}
  .lines p{margin-top:13px}
}
.no-js .dawn{height:auto}
.no-js .scene{--sy:65%;--glow:.45;position:relative;min-height:560px}
.no-js .ln{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .dawn{height:auto}
  .scene{position:relative;min-height:560px}
}
/* While the header floats on the sky (before the paper bar appears) a soft dark halo
   keeps the white logo and links readable as the sky lightens at mid-scroll. */
header{text-shadow:0 1px 10px rgba(12,16,36,.55)}
header a.brand svg{filter:drop-shadow(0 1px 6px rgba(12,16,36,.55))}
body.lit header{text-shadow:none}body.lit header a.brand svg{filter:none}
/* Phone menu button: the shared rule fills it with paper, which hides white text on the night sky. */
@media (max-width:860px){.fl-head .fl-menu{background:transparent}}
/* The phone menu panel is paper-coloured at every scroll position, so its links are always ink. */
@media (max-width:860px){.fl-nav{color:var(--ink);text-shadow:none}}

/* ---- phones (2026-11-26) ---- */
/* "Email Joseph" sits in the header as a control the same shape and height as Menu, not as underlined text. */
@media (max-width:860px){
  .fl-head a.mail{border:0;padding:0 15px!important;border-radius:99px;box-shadow:inset 0 0 0 1.5px currentColor}
}
/* Short phones: smaller opening words, and a smaller sun, so the two never touch. */
@media (max-width:900px) and (max-height:720px){
  .lines{top:10%}
  .lines h1{font-size:40px}
  .lines p{font-size:15.5px;line-height:1.5}
  .sun{width:34vmin}
}

