/* ==========================================================================
   The Covenant Bagels — poster-bright, color-morphing, built around a live
   3D bagel. Brand tokens come from the logo files in assets/logo.
   ========================================================================== */
:root{
  --cream:#FBF1DE; --sand:#F0DDB5; --gold:#E7C77A; --terra:#E43C00; --terra-deep:#CF4318; --rust:#8F3620; --ink:#1F1410; --ink-2:#341C10;
  --bg:var(--cream); --fg:var(--ink-2); --accent:var(--terra);
  --muted:rgba(46,31,22,.64); --line:rgba(46,31,22,.18);
  --display:'Covenant Sans','Anton',Impact,'Arial Narrow Bold',sans-serif;
  --serif:'Covenant Script','Cooper Black','Fraunces',Georgia,serif;
  --body:'IBM Plex Mono',ui-monospace,'SF Mono',Menlo,monospace;
  --nav-h:84px; --wrap:1320px; --gutter:clamp(20px,4.5vw,60px);
  --s1:8px; --s2:16px; --s3:24px; --s4:40px; --s5:64px; --section:clamp(96px,14vh,180px);
  --ease:cubic-bezier(.2,.8,.2,1); --spring:cubic-bezier(.22,1.3,.36,1);
}
html[data-theme="sand"]{--bg:var(--sand)}
html[data-theme="gold"]{--bg:var(--gold);--accent:var(--rust);--muted:rgba(46,31,22,.7);--line:rgba(46,31,22,.22)}
html[data-theme="terra"]{--bg:var(--terra-deep);--fg:var(--cream);--accent:var(--gold);--muted:rgba(251,241,222,.76);--line:rgba(251,241,222,.26)}
html[data-theme="rust"]{--bg:var(--rust);--fg:var(--cream);--accent:var(--gold);--muted:rgba(251,241,222,.76);--line:rgba(251,241,222,.26)}
html[data-theme="ink"]{--bg:var(--ink);--fg:var(--cream);--accent:var(--gold);--muted:rgba(251,241,222,.64);--line:rgba(251,241,222,.16)}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:12px;-webkit-text-size-adjust:100%}
html{overflow-x:clip}   /* no sideways wiggle on phones; clip (not hidden) keeps the sticky cards working */
body{margin:0;font-family:var(--body);font-size:15.5px;line-height:1.6;background:var(--bg);color:var(--fg);transition:background-color .9s var(--ease),color .9s var(--ease);overflow-x:clip;-webkit-font-smoothing:antialiased}
body.menu-open,body.modal-open{overflow:hidden}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
p{margin:0}
::selection{background:var(--accent);color:var(--bg)}
:focus-visible{outline:3px solid var(--accent);outline-offset:4px;border-radius:8px}
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.skip{position:absolute;left:12px;top:-60px;z-index:200;background:var(--accent);color:var(--bg);padding:10px 16px;border-radius:12px;font-weight:600}
.skip:focus{top:12px}
.muted{color:var(--muted)}
/* the inlined logo SVGs use these classes */
.cb-script{font-family:'Fraunces',Georgia,serif;font-weight:900;font-style:italic;font-optical-sizing:auto}
.cb-caps{font-family:'Archivo Black','Arial Black',sans-serif;font-weight:900}

/* ---- 3D stage (fixed behind content) --------------------------------------- */
.stage{position:fixed;left:0;top:0;z-index:1;width:100%;height:100vh;height:100lvh;pointer-events:none}
html.no3d .stage{display:none}
main{position:relative;z-index:2}
.footer{position:relative;z-index:2}

/* ---- type ------------------------------------------------------------------ */
.display{font-family:var(--display);font-weight:400;line-height:.86;letter-spacing:-.02em;margin:0;width:fit-content;max-width:100%}
.display .caps{display:block;position:relative;z-index:0;text-transform:uppercase}
/* the logo lockup: the script sits into the foot of the caps, shifted right, with a knockout in the page colour */
.display .ital{display:block;position:relative;z-index:1;font-family:var(--serif);font-style:italic;font-weight:900;font-optical-sizing:auto;font-variation-settings:"SOFT" 100,"WONK" 1;letter-spacing:-.01em;line-height:.9;color:var(--accent);margin-top:-.36em;margin-left:.22em;text-transform:none;
  text-shadow:.045em 0 0 var(--bg),-.045em 0 0 var(--bg),0 .045em 0 var(--bg),0 -.045em 0 var(--bg),.032em .032em 0 var(--bg),-.032em .032em 0 var(--bg),.032em -.032em 0 var(--bg),-.032em -.032em 0 var(--bg);
  transition:color .9s var(--ease),text-shadow .9s var(--ease)}
.display .caps,.display .ital{white-space:nowrap}
h1.display .caps{font-size:clamp(64px,14vw,230px)}
h1.display .ital{font-size:clamp(52px,10.8vw,178px)}
h2.display .caps{font-size:clamp(50px,10vw,160px)}
h2.display .ital{font-size:clamp(40px,7.8vw,124px)}
h3{font-family:var(--display);font-weight:400;font-size:clamp(28px,2.8vw,40px);line-height:1;letter-spacing:.01em;text-transform:uppercase;margin:0;text-wrap:balance}
h4{font-family:var(--display);font-weight:400;font-size:14px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 14px;color:var(--accent)}
.eyebrow{font-family:var(--display);font-weight:400;font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin:0;transition:color .9s var(--ease)}
.lede{font-size:clamp(15px,1.25vw,18px);max-width:34em;color:var(--muted);transition:color .9s var(--ease)}
.tag{font-family:var(--display);font-weight:400;font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.cta-row{display:flex;flex-wrap:wrap;gap:var(--s2)}
.cta-row.center{justify-content:center}

/* ---- rhythm: every copy block follows one stack ------------------------------ */
.copy>*{margin:0}
.copy>.eyebrow,.copy>.step{margin-bottom:var(--s3)}
.copy>h1+*,.copy>h2+*{margin-top:var(--s4)}
.copy>p+p{margin-top:var(--s2)}
.copy>.cta-row{margin-top:var(--s4)}
.copy>.hint,.copy>.sign{margin-top:var(--s3)}
.copy>p:not(.eyebrow):not(.step):not(.hint):not(.sign):not(.script){font-size:clamp(15px,1.25vw,18px);line-height:1.6;color:var(--muted);max-width:34em;text-wrap:pretty}
.copy>.script{margin-bottom:var(--s2)}
.copy.center{text-align:center;margin-inline:auto}
.copy.center .display{margin-inline:auto}
.copy.center>p{margin-inline:auto}

/* ---- the logo faces -------------------------------------------------------------
   "COVENANT" in the logo is a heavy condensed grotesk (Anton is the closest free face);
   "Bagels" is Cooper Black Italic. Drop the licensed files into assets/fonts/ and
   uncomment to serve the exact faces to every visitor:
@font-face{font-family:'Covenant Sans';src:url(../assets/fonts/covenant-sans.woff2) format('woff2');font-display:swap}
@font-face{font-family:'Covenant Script';src:url(../assets/fonts/cooper-black-italic.woff2) format('woff2');font-style:italic;font-weight:900;font-display:swap}
*/

/* word stagger (hero headline) */
.words{overflow:hidden;padding:.12em 0 .16em;margin:-.12em 0 -.16em}
.display .ital.words{margin-top:calc(-.36em - .12em)}
.words .w{display:inline-block;transform:translateY(118%) rotate(5deg);transform-origin:0 100%;opacity:0;transition:transform 1.1s var(--spring) var(--wd,0s),opacity .35s linear var(--wd,0s)}
html.is-ready .words .w{transform:none;opacity:1}
.hero-copy>:not(h1){opacity:0;transform:translateY(18px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
html.is-ready .hero-copy>:not(h1){opacity:1;transform:none}
html.is-ready .hero-copy>.eyebrow{transition-delay:.1s}
html.is-ready .hero-copy>.lede{transition-delay:.75s}
html.is-ready .hero-copy>.cta-row{transition-delay:.9s}
.hero-hint{opacity:0;transition:opacity 1s var(--ease) 1.4s}
html.is-ready .hero-hint{opacity:1}

/* reveals */
.r{opacity:0;transform:translateY(28px);transition:opacity .9s var(--ease) var(--d,0s),transform .9s var(--ease) var(--d,0s)}
.r.is-in{opacity:1;transform:none}

/* ---- buttons ----------------------------------------------------------------- */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:17px 28px;border-radius:14px;font-family:var(--display);font-weight:400;font-size:18px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;transition:transform .22s var(--ease),box-shadow .22s var(--ease),background-color .5s var(--ease),color .5s var(--ease)}
.btn-solid{background:var(--fg);color:var(--bg);box-shadow:5px 5px 0 var(--accent)}
.btn-solid:hover{transform:translate(2px,2px);box-shadow:3px 3px 0 var(--accent)}
.btn-solid:active{transform:translate(5px,5px);box-shadow:0 0 0 var(--accent)}
.btn-line{color:var(--fg);box-shadow:inset 0 0 0 2px var(--fg)}
.btn-line:hover{background:var(--fg);color:var(--bg)}
.btn-sm{padding:12px 18px;font-size:17px;border-radius:12px;box-shadow:3px 3px 0 var(--accent)}
.btn-sm:hover{box-shadow:2px 2px 0 var(--accent);transform:translate(1px,1px)}

/* ---- nav --------------------------------------------------------------------- */
.nav{position:fixed;top:0;left:0;right:0;z-index:50;height:var(--nav-h);display:flex;align-items:center;transition:background-color .5s var(--ease),backdrop-filter .5s}
.nav::after{content:"";position:absolute;left:var(--gutter);right:var(--gutter);bottom:0;height:1.5px;background:var(--line);transform:scaleX(0);transform-origin:left;transition:transform .7s var(--ease),background-color .9s}
.nav.is-scrolled{background:color-mix(in srgb,var(--bg) 78%,transparent);backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2)}
.nav.is-scrolled::after{transform:scaleX(1)}
.nav-inner{display:flex;align-items:center;gap:32px}
.brand{display:inline-flex;padding:5px 9px;margin-left:-9px;border-radius:14px;transition:background-color .6s var(--ease)}
.brand .logo{height:58px;width:auto;display:block}
html[data-theme="ink"] .brand,html[data-theme="terra"] .brand{background:var(--cream)}
.nav-links{display:flex;gap:2px;margin-left:auto}
.nav-links a{position:relative;font-family:var(--display);font-weight:400;font-size:17px;letter-spacing:.06em;text-transform:uppercase;padding:8px 13px;border-radius:10px}
.nav-links a::after{content:"";position:absolute;left:13px;right:13px;bottom:4px;height:2px;background:var(--accent);transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease)}
.nav-links a:hover::after{transform:scaleX(1);transform-origin:left}
.nav-actions{display:flex;align-items:center;gap:12px}
.burger{display:none;width:46px;height:46px;border-radius:12px;box-shadow:inset 0 0 0 2px var(--fg);position:relative}
.burger span{position:absolute;left:13px;right:13px;height:2px;background:var(--fg);top:50%;transition:transform .4s var(--ease),opacity .3s}
.burger span:nth-child(1){transform:translateY(-6px)}
.burger span:nth-child(3){transform:translateY(5px)}
body.menu-open .burger{box-shadow:inset 0 0 0 2px var(--cream)}
body.menu-open .burger span{background:var(--cream)}
body.menu-open .burger span:nth-child(1){transform:rotate(45deg)}
body.menu-open .burger span:nth-child(2){opacity:0}
body.menu-open .burger span:nth-child(3){transform:rotate(-45deg)}
.overlay{position:fixed;inset:0;z-index:40;background:var(--ink);color:var(--cream);display:flex;flex-direction:column;justify-content:center;padding:120px var(--gutter) 40px;clip-path:inset(0 0 100% 0);transition:clip-path .75s var(--ease)}
.overlay.is-open{clip-path:inset(0 0 0 0)}
.overlay nav{display:grid;gap:6px}
.overlay nav a{display:flex;align-items:baseline;gap:16px;font-family:var(--display);font-weight:400;font-size:clamp(44px,12vw,84px);line-height:1;letter-spacing:.01em;text-transform:uppercase;opacity:0;transform:translateY(20px);transition:opacity .5s,transform .7s var(--ease)}
.overlay nav a i{font-family:var(--serif);font-style:italic;font-size:18px;font-weight:400;text-transform:none;color:var(--gold);letter-spacing:0}
.overlay.is-open nav a{opacity:1;transform:none}
.overlay.is-open nav a:nth-child(1){transition-delay:.2s}.overlay.is-open nav a:nth-child(2){transition-delay:.28s}.overlay.is-open nav a:nth-child(3){transition-delay:.36s}.overlay.is-open nav a:nth-child(4){transition-delay:.44s}
.overlay-foot{margin-top:auto;display:grid;gap:6px;color:rgba(251,241,222,.7);font-size:15px}

/* ---- hero -------------------------------------------------------------------- */
.hero{min-height:calc(100svh - 150px);display:grid;align-items:center;padding:var(--s5) 0 110px;position:relative}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center}
.hero-copy{position:relative;z-index:1}
.hero-fallback{display:none}
html.no3d .hero-fallback{display:block}
html.no3d .hero-fallback img{width:min(100%,520px);margin-inline:auto;filter:drop-shadow(0 40px 40px rgba(46,31,22,.3))}
.hero-hint{position:absolute;left:var(--gutter);bottom:30px;display:inline-flex;align-items:center;gap:10px;font-family:var(--display);font-weight:600;font-size:14px;color:var(--muted)}
.hero-hint i{display:inline-block;font-style:normal;animation:nudge 1.6s ease-in-out infinite}
@keyframes nudge{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}

/* ---- journey stations -------------------------------------------------------- */
.station{min-height:108svh;display:grid;align-items:center;padding:70px 0}
.station-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center}
.station-copy{max-width:580px}
.step{font-family:var(--display);font-weight:400;font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.step span{color:var(--muted)}
.station-fallback{display:none}
html.no3d .station-fallback{display:block}
html.no3d .station-fallback img{width:min(100%,440px);margin-inline:auto;filter:drop-shadow(0 40px 40px rgba(0,0,0,.3))}

/* ---- menu: snap carousel ----------------------------------------------------- */
.menu{padding:var(--section) 0 calc(var(--section)*.7);overflow:clip}
.menu-head{margin-bottom:var(--s5)}
.swap{display:inline-block;transition:transform .22s var(--ease),opacity .22s}
.swap.is-out{transform:translateY(.22em) rotate(-2deg);opacity:0}
.rail-wrap{position:relative}
.rail{display:flex;gap:clamp(16px,2vw,28px);overflow-x:auto;scroll-snap-type:x mandatory;padding:24px calc(50vw - min(36vw,260px)) 44px;scrollbar-width:none;cursor:grab;-webkit-overflow-scrolling:touch;outline-offset:-4px}
.rail::-webkit-scrollbar{display:none}
.rail.is-drag{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}
.slide{flex:0 0 min(72vw,520px);scroll-snap-align:center;background:var(--cream);color:var(--ink-2);border-radius:28px;padding:clamp(20px,2.4vw,32px);transform:scale(.9);opacity:.78;box-shadow:0 0 0 rgba(228,60,0,0);transition:transform .6s var(--ease),opacity .6s,box-shadow .6s var(--ease);user-select:none;-webkit-user-drag:none}
.slide.is-active{transform:scale(1);opacity:1;box-shadow:10px 10px 0 var(--terra)}   /* the raised block: hard offset shadow in the logo orange (no tilt) */
/* the photo box is square and never clips: a tall bagel overflows over the copy rather than losing its base */
.slide-img{position:relative;z-index:1;aspect-ratio:1/1;max-height:min(440px,54vh);display:flex;align-items:center;justify-content:center;overflow:visible}
.slide-img img{width:84%;max-width:none;max-height:none;height:auto;filter:drop-shadow(0 22px 20px rgba(46,31,22,.28));transition:transform .9s var(--spring);pointer-events:none}
.slide.is-active .slide-img img{transform:scale(1.04)}
.slide-body{margin-top:18px;display:grid;gap:8px;justify-items:start}
.slide-body .tag{color:var(--terra)}
.slide-body p{color:rgba(46,31,22,.66)}
.rail-nav{display:flex;gap:10px;justify-content:center}
.rail-nav button{width:58px;height:58px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--fg);font-size:22px;transition:background-color .3s,color .3s,transform .3s var(--spring)}
.rail-nav button:hover{background:var(--fg);color:var(--bg);transform:scale(1.06)}
.note{text-align:center;margin-top:26px;color:var(--muted);font-size:14px}

/* ---- by the dozen: physics box ---------------------------------------------- */
.dozen{min-height:100svh;display:flex;flex-direction:column;padding:var(--section) 0 0}   /* one screen tall: the box floor is the bottom of the screen */
.dozen-copy{max-width:720px}
.hint{color:var(--muted);font-family:var(--serif);font-style:italic;font-weight:600;font-optical-sizing:auto;font-variation-settings:"SOFT" 100,"WONK" 1;font-size:19px}
.arena{position:relative;width:100%;flex:1 0 auto;min-height:var(--arena-min,320px);margin-top:clamp(24px,4vh,48px);overflow:visible;overflow-x:clip;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.arena .ball,.arena .ball-cast,.arena .ball-floor{visibility:hidden}
.arena.is-live .ball,.arena.is-live .ball-cast,.arena.is-live .ball-floor{visibility:visible}
.ball{position:absolute;left:0;top:0;width:150px;height:150px;cursor:grab;touch-action:none;will-change:transform;transform-origin:50% 100%;-webkit-user-drag:none}
.ball img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;will-change:transform}
.ball.is-held{cursor:grabbing;z-index:2}
/* the bagels' shadows, placed every frame by the physics (site.js paint): no CSS filters, so they never
   rotate with a spinning bagel, never get clipped on iPhones, and stay cheap on phones */
.ball-cast,.ball-floor{position:absolute;left:0;top:0;border-radius:50%;pointer-events:none;will-change:transform,opacity;opacity:0}
.ball-cast{background:radial-gradient(closest-side,rgba(40,22,12,.12) 0 18%,rgba(40,22,12,.42) 42%,rgba(40,22,12,.22) 66%,rgba(40,22,12,0) 100%)}
.ball-floor{background:radial-gradient(closest-side,rgba(32,16,8,.72),rgba(32,16,8,.32) 50%,rgba(32,16,8,0) 100%)}

/* ---- why: checklist ----------------------------------------------------------- */
.why{padding:var(--section) 0}
.why-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(30px,5vw,90px);align-items:start}
.rows{list-style:none;margin:0;padding:0;border-top:2px solid var(--fg)}
.row,.row-head{display:grid;grid-template-columns:1fr 110px 130px;align-items:center;gap:12px;padding:24px 0;border-bottom:1px solid var(--line)}
.row-head{font-family:var(--display);font-weight:400;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding:14px 0}
.row-head b{text-align:center}
.row span{font-family:var(--display);font-weight:400;font-size:clamp(26px,3vw,44px);letter-spacing:.01em;text-transform:uppercase;line-height:1}
.row i{display:grid;place-items:center;font-style:normal}
.ring svg{width:42px;height:42px;fill:none;stroke:var(--accent);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.ring circle{stroke-dasharray:107;stroke-dashoffset:107;transition:stroke-dashoffset .9s var(--ease) var(--d,0s)}
.ring path{stroke-dasharray:26;stroke-dashoffset:26;transition:stroke-dashoffset .5s var(--ease) calc(var(--d,0s) + .55s)}
.row.is-in .ring circle,.row.is-in .ring path{stroke-dashoffset:0}
.nope{color:var(--muted);font-size:22px;opacity:.55}

/* ---- find us ----------------------------------------------------------------- */
.find{padding:var(--section) 0}
.find-head{margin-bottom:var(--s5)}
.find-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(16px,2vw,28px)}
.panel{border:1.5px solid var(--line);border-radius:28px;padding:clamp(26px,3vw,42px);display:grid;gap:16px;align-content:start}
.panel h3{font-size:clamp(28px,3vw,44px)}
.panel p{color:var(--muted)}
.panel .btn{justify-self:start;margin-top:10px}
.panel-market .cta-row{margin-top:var(--s2)}
.panel-market .btn-solid{background:var(--cream);color:var(--ink-2);box-shadow:5px 5px 0 var(--accent)}
.panel-accent{background:var(--terra);color:var(--cream);border-color:transparent}
.panel-accent .tag{color:var(--gold)}
.panel-accent p{color:rgba(251,241,222,.82)}
.panel-accent .btn-solid{background:var(--cream);color:var(--ink-2);box-shadow:5px 5px 0 var(--gold)}
.panel-contact{grid-column:1/-1;grid-template-columns:repeat(3,1fr);gap:24px}
.panel-contact>*{display:grid;gap:6px;align-content:start}
.panel-contact b{font-family:var(--display);font-weight:400;font-size:clamp(22px,2.1vw,32px);letter-spacing:.02em;overflow-wrap:anywhere;transition:color .3s}
.panel-contact .email b{font-size:clamp(17px,1.5vw,23px);letter-spacing:.01em}
.panel-contact a:hover b{color:var(--accent)}
.pulse{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--fg)!important}
.pulse i{width:10px;height:10px;border-radius:50%;background:var(--accent);animation:pulse 1.8s ease-out infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 60%,transparent)}100%{box-shadow:0 0 0 14px transparent}}

/* ---- story ------------------------------------------------------------------- */
.story{padding:var(--section) 0}
.story-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(30px,6vw,110px);align-items:center}
.sign{font-family:var(--serif);font-style:italic;font-weight:900;font-optical-sizing:auto;font-variation-settings:"SOFT" 100,"WONK" 1;font-size:30px;color:var(--accent)}
.story-logo{display:grid;place-items:center}
.story-logo img{width:min(100%,560px);animation:floaty 6s ease-in-out infinite;filter:drop-shadow(0 30px 40px rgba(46,31,22,.22))}
@keyframes floaty{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-14px) rotate(1deg)}}

/* ---- final ------------------------------------------------------------------- */
.final{min-height:100svh;display:grid;align-items:center;padding:var(--section) 0}
.final-grid{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;column-gap:clamp(40px,6vw,110px)}   /* stack + copy, centred on the page as one group */
.final-copy{grid-column:2;position:relative;z-index:1}
/* the stack: five side-view sprites cut from one photograph; they drop in one by one (site.js) and
   sit exactly where they were in the picture, so the finished stack IS the photo */
/* one height for the perch and the landing stack: as tall as the screen allows, but never wider than the
   story section's side column (half the page, less the gutter, half the body column and a 40px gap) */
:root{--guy-body:min(36rem,46vw);--stack-h:min(68svh,700px,calc((50vw - var(--gutter) - var(--guy-body)/2 - 40px)*1.698))}
/* explicit width from the height (766:1301): Safari sizes an aspect-ratio box in an auto grid column to 0, which hid every bagel */
.stack{grid-column:1;position:relative;height:var(--stack-h);width:var(--stack-w);pointer-events:none}
.stack-slot{position:absolute;left:calc(var(--x)/var(--sw)*100%);top:calc(var(--y)/var(--sh)*100%);width:calc(var(--w)/var(--sw)*100%);will-change:transform}
/* Safari renders a drop-shadow on a composited layer clipped to the element's own box, which leaves a faint
   rectangle where the soft shadow is cut off. Each shadowed image therefore carries transparent padding big
   enough for its whole shadow, cancelled by an equal negative margin so nothing moves */
.stack-bagel{display:block;box-sizing:content-box;width:100%;height:auto;padding:28px;margin:-28px;transform-origin:50% calc(100% - 28px);filter:drop-shadow(0 10px 14px rgba(40,20,10,.22))}
.stack-slot>.contact{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;transition:opacity .16s ease-out;background:radial-gradient(var(--crx) var(--cry) at var(--ccx) var(--ccy),rgba(28,13,5,.66) 0,rgba(28,13,5,.4) 20%,rgba(28,13,5,.17) 46%,rgba(28,13,5,.05) 72%,rgba(28,13,5,0) 100%);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}   /* the bagel above's contact shadow, clipped to this bagel */
.stack-slot.bare>.contact{opacity:0;transition-duration:.08s}
.stack-shadow{position:absolute;left:8%;right:8%;bottom:-2.2%;height:4.6%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(40,20,10,.55),rgba(40,20,10,0) 70%);filter:blur(6px);opacity:0;transform:scale(.6);transition:opacity .35s,transform .35s}
.stack-perch .stack-shadow{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.stack-slot{transform:none!important}.stack .stack-shadow{opacity:1;transform:none}.stack-perch{display:none}}
@media (max-width:860px){:root{--stack-h:min(52svh,460px)}.final-grid{grid-template-columns:1fr;gap:28px}.stack{grid-column:1;grid-row:1;justify-self:center}.final-copy{grid-column:1;grid-row:2}   /* phones: the stack first, right under the perch it falls from */}

/* ---- footer ------------------------------------------------------------------ */
.footer{padding:clamp(70px,10vh,110px) 0 30px;background:var(--ink);color:rgba(251,241,222,.82)}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr .8fr;gap:clamp(24px,4vw,60px);padding-bottom:44px;border-bottom:1px solid rgba(251,241,222,.12)}
.footer h4{color:var(--gold)}
.footer p{margin:0 0 8px;font-size:15.5px}
.footer .muted{color:rgba(251,241,222,.6)}
.footer a:hover{color:var(--gold)}
.foot-logo{display:inline-block;background:var(--cream);border-radius:16px;padding:10px 14px;margin-bottom:18px}
.foot-logo img{height:64px;width:auto;display:block}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:22px;font-size:13px;color:rgba(251,241,222,.5)}

/* ---- modal ------------------------------------------------------------------- */
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;overflow-y:auto;overscroll-behavior:contain}
.modal[hidden]{display:none}
.modal-backdrop{position:fixed;inset:0;background:rgba(31,20,16,.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;transition:opacity .4s}
.modal-card{position:relative;width:min(560px,100%);background:var(--cream);color:var(--ink-2);--bg:var(--cream);--fg:var(--ink-2);--accent:var(--terra);--muted:rgba(46,31,22,.64);border-radius:28px;padding:clamp(28px,4vw,48px);box-shadow:12px 12px 0 var(--terra);transform:translateY(30px) scale(.96);opacity:0;transition:transform .55s var(--spring),opacity .4s}
.modal.is-open .modal-backdrop{opacity:1}
.modal.is-open .modal-card{transform:none;opacity:1}
.modal-close{position:absolute;right:18px;top:18px;width:42px;height:42px;border-radius:12px;box-shadow:inset 0 0 0 2px var(--ink-2);display:grid;place-items:center;font-size:14px;transition:transform .4s var(--ease),background-color .3s,color .3s}
.modal-close:hover{background:var(--ink-2);color:var(--cream);transform:rotate(90deg)}
.modal-card h3{font-family:var(--serif);font-style:italic;font-weight:900;font-optical-sizing:auto;font-variation-settings:"SOFT" 100,"WONK" 1;font-size:clamp(30px,3.4vw,44px);margin-bottom:14px;letter-spacing:-.01em;text-transform:none}
.modal-card>p{color:var(--muted)}
.modal-card .cta-row{margin-top:26px}
.fine{margin-top:20px!important;font-size:13.5px;color:var(--muted)!important}

/* ---- responsive -------------------------------------------------------------- */
@media (max-width:1100px){
  .footer-grid{grid-template-columns:1fr 1fr}
  .find-grid{grid-template-columns:1fr}
}
@media (max-width:900px){
  :root{--nav-h:72px}
  .brand .logo{height:46px}
  .nav-links{display:none}
  .nav-actions .btn{display:none}
  .burger{display:block}
  .hero{padding-top:var(--s3);padding-bottom:84px}
  .hero-grid{grid-template-columns:1fr}
  .hero-copy{padding-top:36svh}                 /* the 3D bagel's own spot, scrolling with the hero (bagel3d.js) */
  .hero-hint{left:var(--gutter);bottom:22px}
  /* how it's made: full-screen cards that stack. Each step slides up over the last with its own colours,
     while the bagel holds still in the top half and turns from dough to boiled to baked */
  .journey{position:relative}
  .journey::after{content:"";display:block;height:40svh}   /* room for the last card to stay pinned while it's read (a sticky box can't use its own margin for that) */
  .journey>.station:last-of-type{margin-bottom:0}
  .station{position:sticky;top:0;height:100svh;min-height:0;margin-bottom:40svh;padding:0;display:flex;align-items:flex-end;background:var(--bg);color:var(--fg);overflow:clip}   /* the margin = time to read each card before the next slides over it */
  .station[data-theme="cream"]{--bg:var(--cream);--fg:var(--ink-2);--accent:var(--terra);--muted:rgba(46,31,22,.64);--line:rgba(46,31,22,.18)}
  .station[data-theme="ink"]{--bg:var(--ink);--fg:var(--cream);--accent:var(--gold);--muted:rgba(251,241,222,.64);--line:rgba(251,241,222,.16)}
  .station[data-theme="terra"]{--bg:var(--terra-deep);--fg:var(--cream);--accent:var(--gold);--muted:rgba(251,241,222,.76);--line:rgba(251,241,222,.26)}
  .station-grid{display:block;width:100%}
  .station-copy{max-width:none;padding:0 0 calc(var(--s5) + env(safe-area-inset-bottom,0px))}
  .why-grid,.story-grid{grid-template-columns:1fr}
  .menu-head{margin-bottom:var(--s5)}
  .row,.row-head{grid-template-columns:1fr 64px 84px}
  .panel-contact{grid-template-columns:1fr}
  .story-logo{order:2}
  .story-logo img{width:min(84vw,420px)}
  .final-grid{grid-template-columns:1fr}
  .final-copy{grid-column:1}
}
@media (max-width:600px){
  :root{--section:clamp(64px,10vh,84px)}
  .footer-grid{grid-template-columns:1fr}
  .cta-row .btn{flex:1 1 auto}
}

/* ---- motion preferences -------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001s!important;animation-iteration-count:1!important;transition-duration:.001s!important}
  html{scroll-behavior:auto}
  .r,.words .w,.hero-copy>*,.hero-hint{opacity:1!important;transform:none!important}
  .slide{transform:none;opacity:1}
  .ring circle,.ring path{stroke-dashoffset:0}
}

/* ---- script eyebrow (the "Kind words from wonderful people" line) ---------------- */
.script{font-family:var(--serif);font-style:italic;font-weight:600;font-optical-sizing:auto;font-variation-settings:"SOFT" 100,"WONK" 1;font-size:clamp(20px,2vw,28px);line-height:1.2;color:var(--accent);transition:color .9s var(--ease)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hero-note{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}
.hero-note i{width:9px;height:9px;border-radius:50%;background:var(--accent);animation:pulse 1.8s ease-out infinite;flex:none}
.copy>.hero-note{margin-top:var(--s3)}

/* ---- kind words: dotted tickets on a loose rail ------------------------------------ */
.kind{padding:var(--section) 0 calc(var(--section)*.6);overflow:clip}
.tickets{--tgap:clamp(18px,2.5vw,36px);display:flex;gap:var(--tgap);overflow-x:auto;scroll-snap-type:x proximity;padding:44px var(--gutter) 52px;margin-top:var(--s3);scrollbar-width:none;cursor:grab}
.tickets::-webkit-scrollbar{display:none}
.tickets.is-drag{cursor:grabbing;scroll-snap-type:none}
.ticket{flex:0 0 calc((100vw - 2*var(--gutter) - 2*var(--tgap))/3);scroll-snap-align:center;border:2px dashed var(--fg);border-radius:28px;padding:clamp(26px,3vw,40px);transform:rotate(var(--rot,0deg));display:grid;gap:var(--s3);user-select:none;transition:border-color .9s var(--ease)}
.ticket p{font-size:clamp(14.5px,1.1vw,17px);line-height:1.7}
.ticket footer{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}
.ticket b{font-family:var(--display);font-weight:400;text-transform:uppercase;letter-spacing:.08em;font-size:17px}
.ticket svg{width:clamp(60px,6vw,92px);height:auto;fill:none;stroke:url(#tkGrad);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.kind .note{margin-top:0}

/* ---- the guy behind the bagels ------------------------------------------------------- */
.guy{position:relative;overflow:clip;padding:var(--section) 0}
.guy .copy{position:relative;z-index:1}
.guy-body{max-width:62ch;margin-inline:auto;display:grid;gap:var(--s2)}
.guy-body p{font-size:clamp(15px,1.2vw,18px);line-height:1.75;color:var(--fg)}
.guy-body .sign{margin-top:var(--s2)}
/* story: one row on one centre line: the perch (where the five bagels wait before dropping into the final
   stack) far left, the whole text block centred on the page, the seeded bagel right. Side columns are equal,
   each exactly the stack's width + 32px, so the text column is centred and can never touch either bagel */
:root{--stack-w:calc(var(--stack-h)*766/1301);--guy-side:calc(var(--stack-w) + 32px)}
.guy-grid{display:grid;grid-template-columns:var(--guy-side) minmax(0,1fr) var(--guy-side);align-items:center;padding-inline:var(--gutter)}
.guy-grid>.stack-perch{grid-column:1;grid-row:1;justify-self:start}
.guy-grid>.guy-copy{grid-column:2;grid-row:1;width:100%;margin:0}
.stack-perch{position:relative;height:var(--stack-h);width:var(--stack-w);pointer-events:none}
.guy-bleed{position:absolute;right:-9%;top:22%;box-sizing:content-box;width:clamp(240px,30vw,470px);height:auto;padding:72px;margin:-72px;transform:rotate(-16deg);filter:drop-shadow(0 30px 40px rgba(46,31,22,.35));pointer-events:none}

/* ---- forms: reserve a dozen + market list -------------------------------------------- */
.reserve,.signup{display:grid;gap:var(--s2);margin-top:var(--s3)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--s2)}
.reserve label,.signup label{display:grid;gap:6px;font-family:var(--display);font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.reserve input,.reserve select,.signup input{font:inherit;font-size:15px;padding:13px 14px;border-radius:12px;border:2px solid var(--fg);background:transparent;color:var(--fg);width:100%;min-width:0}
.reserve input:focus,.reserve select:focus,.signup input:focus{outline:3px solid var(--accent);outline-offset:2px}
.reserve .btn{justify-self:start;margin-top:var(--s1)}
.signup{grid-template-columns:1fr auto;align-items:center;margin-top:var(--s1)}
.signup input::placeholder{color:var(--muted)}
.signup .signup-done{grid-column:1/-1;margin:0!important;color:var(--fg)!important}
.panel-market .signup input{border-color:var(--line);background:rgba(251,241,222,.06)}
.modal-card .script{margin-bottom:var(--s2)}
.reserve-done p{margin-top:var(--s2);color:var(--muted)}
.reserve-done .cta-row{margin-top:var(--s3)}

@media (min-width:861px){
  /* the seeded bagel mirrors the perch: right-hand column, on the same centre line, bleeding off the edge */
  .guy-grid>.guy-bleed{position:relative;grid-column:3;grid-row:1;justify-self:end;align-self:center;top:auto;right:auto;margin-right:calc(-1*var(--gutter) - 8vw - 72px)}
  /* the lockup keeps its usual size where it fits and shrinks only as much as the text column demands
     (the italic line plus its .22em offset is about 7.9 times its font size; 8.1 leaves a margin) */
  .guy-copy h2.display .ital{font-size:min(clamp(40px,7.8vw,124px),calc((100vw - 2*var(--gutter) - 2*var(--guy-side))/8.1))}
  .guy-copy h2.display .caps{font-size:min(clamp(50px,10vw,160px),calc((100vw - 2*var(--gutter) - 2*var(--guy-side))/8.1*1.29))}
}
@media (max-width:860px){
  .guy-grid{grid-template-columns:minmax(0,1fr)}
  .guy-grid>.guy-copy{grid-column:1;grid-row:1}
  .guy-grid>.stack-perch{grid-column:1;grid-row:2;justify-self:center;margin-top:var(--s5)}
  .guy-bleed{display:none}            /* on phones it would sit on the heading; the perch stack carries the section */
}
@media (max-width:600px){
  .field-row,.signup{grid-template-columns:1fr}
  .reserve .btn,.signup .btn{justify-self:stretch}
  .ticket{flex-basis:84vw}
  .tickets{padding-inline:var(--gutter)}
}
@media (max-width:600px){
  .modal{place-items:start center;padding:12px}
  .modal-card{margin-block:auto}
}

/* ---- shelf: the lineup rolls in from the right and fills the screen -------------- */
.shelf{--sp:0;position:relative;height:170vh;--bg:var(--cream);--fg:var(--ink-2);--accent:var(--terra);--muted:rgba(46,31,22,.64);background:var(--bg);color:var(--fg)}
.shelf-pin{position:sticky;top:0;height:100svh;overflow:clip;display:grid;grid-template-rows:auto 1fr;align-items:end}
.shelf-line{padding:calc(var(--nav-h) + 24px) var(--gutter) 0;text-align:center;font-size:clamp(14px,1.2vw,18px);color:var(--fg);align-self:start;text-wrap:balance}
.shelf-row{display:flex;align-items:flex-end;justify-content:space-between;gap:2vw;width:100%;padding:0 1vw;transform:translate3d(calc((1 - var(--sp))*100%),0,0);will-change:transform}
.shelf-row{padding-bottom:5vh}
.shelf-row img{flex:0 0 auto;width:23.5%;height:auto;filter:drop-shadow(0 18px 14px rgba(46,31,22,.3))}
@media (max-width:700px){
  .shelf{height:150vh}
  .shelf-row{flex-wrap:wrap;gap:6vw 4vw;justify-content:center;padding:0 5vw 9vh}
  .shelf-row img{width:44%}
}

/* ---- header: cream like the page, logo big in the centre, menu on the right ------ */
.topbar{position:relative;z-index:3;padding:clamp(14px,2vw,26px) var(--gutter)}
.topbar-inner{max-width:1600px;margin-inline:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:clamp(14px,2vw,32px)}
.topbar-note{display:flex;align-items:center;gap:10px;margin:0;font-size:clamp(12px,1vw,15px);white-space:nowrap;color:var(--ink-2)}
.topbar-note svg{width:20px;height:20px;fill:none;stroke:var(--accent);stroke-width:2.2}
.topbar .brand{display:block;padding:0;margin:0;background:none}
.topbar .logo{height:clamp(84px,9.5vw,150px);width:auto;display:block}
.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.topbar .burger{display:block;width:48px;height:48px;border-radius:14px;box-shadow:inset 0 0 0 2px var(--ink-2);position:relative;z-index:45}
.topbar .burger span{background:var(--ink-2)}
body.menu-open .topbar .burger{box-shadow:inset 0 0 0 2px var(--cream)}
body.menu-open .topbar .burger span{background:var(--cream)}
.overlay nav a i{min-width:2.2em}
.stage{touch-action:pan-y}
.stage.is-grab{cursor:grab}
.stage.is-grabbing{cursor:grabbing}
body.is-turning{user-select:none;-webkit-user-select:none}
.station{touch-action:pan-y}
.turn-hint{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}
.turn-hint svg{width:22px;height:22px;fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none;animation:spin 6s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.copy>.turn-hint{margin-top:var(--s3)}
@media (max-width:900px){
  .topbar-inner{grid-template-columns:auto 1fr auto}
  .topbar-note{display:none}
  .topbar .logo{height:clamp(64px,16vw,96px)}
  .topbar-actions .btn{display:none}
}
@media (pointer:coarse){.ball{touch-action:pan-y}}

/* ---- phones: every section owns its colours (crisp edges while scrolling fast, no colour lag), and the 3D
   bagel paints above the page: the phone layout gives it its own space, so it never sits on text ---- */
@media (max-width:900px){
  .stage{z-index:3}
  main>section[data-theme],.footer[data-theme]{background:var(--bg);color:var(--fg)}
  main>section[data-theme="cream"]{--bg:var(--cream);--fg:var(--ink-2);--accent:var(--terra);--muted:rgba(46,31,22,.64);--line:rgba(46,31,22,.18)}
  main>section[data-theme="sand"]{--bg:var(--sand);--fg:var(--ink-2);--accent:var(--terra);--muted:rgba(46,31,22,.64);--line:rgba(46,31,22,.18)}
  main>section[data-theme="rust"]{--bg:var(--rust);--fg:var(--cream);--accent:var(--gold);--muted:rgba(251,241,222,.76);--line:rgba(251,241,222,.26)}
  main>section[data-theme="terra"]{--bg:var(--terra-deep);--fg:var(--cream);--accent:var(--gold);--muted:rgba(251,241,222,.76);--line:rgba(251,241,222,.26)}
  main>section[data-theme="ink"],.footer[data-theme="ink"]{--bg:var(--ink);--fg:var(--cream);--accent:var(--gold);--muted:rgba(251,241,222,.64);--line:rgba(251,241,222,.16)}
}

/* ---- the menu button: above the open overlay (it is the close button), and on phones it floats in the
   corner once the header has scrolled away, tucking out of sight while scrolling down ---- */
body.menu-open .topbar{z-index:41}
@media (max-width:900px){
  .topbar .burger{transition:transform .35s var(--ease),opacity .35s,background-color .3s,box-shadow .3s}
  body.burger-float .topbar .burger{position:fixed;top:calc(12px + env(safe-area-inset-top,0px));right:var(--gutter);background:var(--cream);box-shadow:inset 0 0 0 2px var(--ink-2),0 8px 22px rgba(31,20,16,.22)}
  body.burger-float.menu-open .topbar .burger{background:transparent;box-shadow:inset 0 0 0 2px var(--cream)}
  body.burger-float.burger-hide:not(.menu-open) .topbar .burger{transform:translateY(-150%);opacity:0;pointer-events:none}
}

/* ---- phones: titles big and centred, and every title sits above its bagel ---- */
@media (max-width:900px){
  h1.display .caps{font-size:clamp(56px,20vw,96px)}
  h1.display .ital{font-size:clamp(42px,13.4vw,66px)}
  h2.display .caps{font-size:clamp(48px,17.5vw,84px)}
  h2.display .ital{font-size:clamp(38px,12vw,58px)}
  .guy-copy h2.display .ital{font-size:clamp(32px,10.2vw,50px)}   /* "behind the bagels." is the longest line */
  .copy:has(>.display){text-align:center}
  .copy:has(>.display)>*{margin-inline:auto}
  .copy:has(>.display) .cta-row{justify-content:center}
  .hero-note,.turn-hint{justify-content:center}
  .station-copy>.turn-hint{width:fit-content;max-width:30ch!important;margin-inline:auto;text-align:left}   /* icon + text as one centred unit (beats the generic .copy>p width) */
  /* hero: eyebrow and title first, the 3D bagel in the gap (bagel3d.js heroAnchor), then the text and buttons */
  .hero-copy{padding-top:0}
  /* how it's made: title and text at the top of each card, the bagel in the room below (cardAnchor);
     a card's text fades in once the card has settled, so it never sweeps through the bagel */
  .station{align-items:flex-start}
  .station-copy{padding:calc(var(--s5) + env(safe-area-inset-top,0px)) 0 0}
}
@media (max-width:860px){
  /* final: the title, then the stack, then the text and buttons */
  .final-copy{display:contents}
  .final-copy>*{position:relative;z-index:1;margin:0;justify-self:center;text-align:center}
  .final-copy>.display{grid-row:1}
  .final-grid>.stack{grid-row:2}
  .final-copy>.come{grid-row:3}
  .final-copy>.cta-row{grid-row:4;justify-content:center}
}

/* ---- the 3D bagel's slots: on phones the bagel sits IN the layout and scrolls with the page (bagel3d.js) ---- */
.bagel-slot{display:none}
@media (max-width:900px){
  /* hero: a big bagel (88% of the screen) tucked up under the title, the title's last line overlapping its far rim.
     --B is the bagel's width; the slot is full-bleed and 1.22 B tall, the bagel centred 45% down it (bagel3d.js
     heroFit), so its top edge sits .139 B below the slot's top and its shadow still fits inside */
  .hero .bagel-slot{--B:min(88vw,520px,56svh);display:block;position:relative;height:calc(var(--B)*1.22);margin-inline:calc(-1*var(--gutter))}
  .hero .copy>h1+.bagel-slot{margin-top:calc(-30px - var(--B)*.139)}
  .hero .copy>h1{position:relative;z-index:1}      /* the title paints over the bagel */
  .hero-copy>.bagel-slot+.lede{margin-top:var(--s2)}
  html.no3d .hero .bagel-slot{display:none}
  .station{flex-direction:column;align-items:stretch}
  .station>.bagel-slot{display:block;position:relative;flex:1 1 auto;min-height:120px;margin-bottom:calc(56px + env(safe-area-inset-bottom,0px))}
  .stage.in-slot{position:absolute;left:0;top:0;width:100%;height:100%;z-index:auto}
}

/* ---- how it's made: a staged entrance for each step's text (plays when the step settles / scrolls in) ----
   the step label rises, the big word climbs out of a clipped line, the script swings in, then the copy */
.station .station-copy>.step{opacity:0;transform:translateY(12px)}
.station .station-copy .display .caps{clip-path:inset(0 0 100% 0);transform:translateY(.32em)}
.station .station-copy .display .ital{opacity:0;transform:translateX(.45em) rotate(-5deg)}
.station .station-copy>.say{opacity:0;transform:translateY(16px)}
.station .station-copy>.turn-hint{opacity:0;transform:translateY(10px)}
.station.is-set .station-copy>.step{opacity:1;transform:none;transition:opacity .5s var(--ease),transform .5s var(--ease)}
.station.is-set .station-copy .display .caps{clip-path:inset(-12% -6% -20% -6%);transform:none;transition:clip-path .75s var(--ease) .08s,transform .75s var(--ease) .08s}
.station.is-set .station-copy .display .ital{opacity:1;transform:none;transition:opacity .45s var(--ease) .34s,transform .9s var(--spring) .34s}
.station.is-set .station-copy>.say{opacity:1;transform:none;transition:opacity .6s var(--ease) .52s,transform .6s var(--ease) .52s}
.station.is-set .station-copy>.turn-hint{opacity:1;transform:none;transition:opacity .6s var(--ease) .7s,transform .6s var(--ease) .7s}
@media (prefers-reduced-motion:reduce){.station .station-copy>*,.station .station-copy .display .caps,.station .station-copy .display .ital{opacity:1!important;transform:none!important;clip-path:none!important}}

/* ---- final: big "Come get it." ---- */
.copy>.come{margin-top:var(--s3)}
.come-big{display:block;font-family:var(--display);font-weight:400;text-transform:uppercase;letter-spacing:-.01em;line-height:.88;font-size:clamp(44px,5.6vw,92px);color:var(--fg)}
.come-small{display:block;margin-top:var(--s2);font-size:clamp(15px,1.25vw,18px);line-height:1.6;color:var(--muted)}
@media (max-width:900px){.come-big{font-size:clamp(50px,16.5vw,84px)}}

/* ---- step cards: the bagel's canvas reaches up behind the text and fades out, so steam drifts up and
   dissolves into the card (no hard edge under the text); the text paints above it on a clear background ---- */
@media (max-width:900px){
  .station>.wrap{position:relative;z-index:1}
  .station>.bagel-slot>.stage.in-slot{top:-40%;height:140%;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 34%,#000 94%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 34%,#000 94%,transparent 100%)}
}
