/* V8 LAYOUT. The painting is the ground; art dissolves into the silk band. */
main{display:block}
.plate{position:relative;min-height:100svh;overflow:hidden;isolation:isolate}
.plate__art,.masthead__art{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:var(--art-pos,50% 50%)}
.plate__mist{position:absolute;left:0;right:0;top:54%;height:38%;z-index:1;display:none;overflow:hidden;pointer-events:none}
.plate--p7 .plate__mist{display:block;mask-image:linear-gradient(to bottom,transparent 0,#000 22%,#000 78%,transparent 100%)}
.plate__copy{position:relative;z-index:3;display:flex;flex-direction:column;gap:var(--gap);min-height:100svh;padding:var(--sky) var(--gut) max(1.4rem,4svh)}
.sakura{position:fixed;inset:0;width:100%;height:100%;z-index:15;pointer-events:none}
@media (prefers-reduced-motion:reduce),print{.sakura{display:none}}
html.is-stage .plate{height:100svh;min-height:0}
html.is-stage .plate__copy{position:absolute;inset:0;display:block;min-height:0;padding:0}
.chrome{position:fixed;top:0;left:0;right:0;z-index:30;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.55rem 1rem;padding:clamp(.8rem,2svh,1.35rem) var(--gut);background:none;border:0;color:var(--ink)}
.page .chrome{position:absolute}
.chrome__mark{color:var(--ink);font:500 var(--step-0)/1 var(--serif);text-decoration:none}
.chrome__nav{order:3;display:flex;width:100%;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:.35rem .8rem}
.chrome__nav a:not(.lantern){position:relative;padding:.45rem 0;color:var(--ink);font:500 var(--step--2)/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
/* red nav dot deleted; lantern carries the active state */
.chrome__pause{display:inline-flex;align-items:center;gap:.5rem;padding:.36rem .66rem;cursor:pointer;border:1px solid var(--rule);background:none;color:var(--ink-body);font:500 var(--step--2)/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;transition:color var(--dur-fast) var(--ease-zen),border-color var(--dur-fast) var(--ease-zen)}
.chrome__pause svg{width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4}
.chrome__pause .ic-play,.chrome__pause[aria-pressed="true"] .ic-pause{display:none}
.chrome__pause[aria-pressed="true"] .ic-play{display:block}
.chrome__pause:hover,.chrome__pause:focus-visible,.chrome__pause[aria-pressed="true"],.navtoggle:hover,.navtoggle:focus-visible{color:var(--ink);border-color:var(--ink)}
.navtoggle{display:none;align-items:center;gap:.45rem;padding:.36rem 0;cursor:pointer;border:0;border-bottom:1px solid var(--rule);background:none;color:var(--ink-body);font:500 var(--step--2)/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;transition:color var(--dur-fast) var(--ease-zen),border-color var(--dur-fast) var(--ease-zen)}
.navtoggle::after{content:"";width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform var(--dur-fast) var(--ease-zen)}
.navtoggle[aria-expanded="true"]{color:var(--ink);border-color:var(--ink)}
.navtoggle[aria-expanded="true"]::after{transform:translateY(1px) rotate(-135deg)}
.rail{position:fixed;right:clamp(.8rem,2vw,2rem);top:50%;z-index:25;display:none;transform:translateY(-50%);flex-direction:column;align-items:flex-end;gap:1.15rem}
.rail__item{position:relative;display:flex;align-items:center;padding:.6rem;color:var(--ink-muted);font:500 var(--step--2)/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;text-decoration:none}
.rail__pip{width:6px;height:6px;border:0;border-radius:3px;background:var(--rule);transition:height var(--dur-med) var(--ease-zen),background var(--dur-med) var(--ease-zen)}
.rail__label{position:absolute;right:100%;top:50%;margin-right:.55rem;opacity:0;transform:translate(6px,-50%);white-space:nowrap;pointer-events:none;transition:opacity var(--dur-med) var(--ease-zen),transform var(--dur-med) var(--ease-zen)}
.rail__item:hover,.rail__item:focus-visible,.rail__item[aria-current="step"]{color:var(--ink)}
.rail__item:hover .rail__label,.rail__item:focus-visible .rail__label{opacity:1;transform:translate(0,-50%)}
/* active = 6x24 ink stroke, no red */
.rail__item[aria-current="step"] .rail__pip{height:24px;background:var(--ink)}
/* M2: the pip wakes to --ink-muted on hover/focus for every step that is not
   the current one; the active stroke keeps its own --ink state. */
.rail__item:not([aria-current="step"]):hover .rail__pip,.rail__item:not([aria-current="step"]):focus-visible .rail__pip{background:var(--ink-muted)}
.p1__sky,.p3__head,.p4__col,.p6__head,.p7__col,.masthead__copy{display:flex;flex-direction:column;gap:var(--gap)}
.p1__water{display:flex;flex-direction:column;gap:.85rem;margin-top:auto}
.p1__center{display:flex;flex-direction:column;gap:.5rem}
.p1__pillars{display:flex;flex-wrap:wrap;gap:.2rem 1.1rem;color:var(--ink-body);font:500 var(--step--2)/1.4 var(--sans)}
.p2__col{display:flex;flex-direction:column;gap:var(--gap);min-height:calc(100svh - var(--sky) - 2.4rem)}
.p2__proofs{display:grid;gap:.6rem;margin:auto 0 0;padding:0;list-style:none}
.p2__proofs li{padding-top:.6rem;border-top:1px solid var(--soft)}
.p3__banks{display:grid;gap:var(--gap);margin-top:auto}
.bank{display:flex;flex-direction:column;gap:.35rem;padding-top:.75rem;border-top:1px solid var(--soft)}
/* K6 kasumi: a feathered parchment mist behind the dense blocks, so brushwork
   can never touch a caption. The colour is --paper itself (234 208 160), so on
   warm ground it has no edge and no box: a wide ellipse that fades to nothing. */
.p3__banks .bank,.p5__col>.tele{padding:.85rem 1.25rem;background:radial-gradient(ellipse at center,rgba(234,208,160,.82) 28%,transparent 72%)}
/* under 1024 the copy sits on the page gutter, so the mist keeps the gutter */
@media (max-width:1023px){.p3__banks .bank,.p5__col>.tele{padding-inline:0}}


.p3__crossing{display:flex;align-items:center;justify-content:center;gap:1rem;color:var(--ink);font:500 var(--step--1)/1.4 var(--serif);text-align:center}
.p3__crossing::before,.p3__crossing::after{content:"";flex:0 1 clamp(1.2rem,8vw,5rem);height:1px;background:var(--rule)}
.ledger{display:grid;gap:var(--gap);margin-top:var(--gap)}
.ledger__step{padding-top:.7rem;border-top:1px solid var(--soft);transition:border-top-color var(--dur-med) var(--ease-zen)}
.bank__label,.ledger__label{color:var(--ink);font:500 var(--step-1)/1.15 var(--serif)}
.ledger__label{display:block}
.ledger__label::before{content:attr(data-step);display:block;margin-bottom:.45rem;color:var(--ink-muted);font:400 var(--step-1)/1 var(--serif);letter-spacing:.04em;transition:color var(--dur-med) var(--ease-zen)}
/* M2: hover lifts the hairline to --ink and the numeral follows it. Colour only:
   the border stays 1px and no box dimension changes, so nothing reflows. */
.ledger__step:hover{border-top-color:var(--ink)}
.ledger__step:hover .ledger__label::before{color:var(--ink)}
.ledger__body{margin-top:.35rem}
.p5__col{display:flex;flex-direction:column;align-items:center;gap:var(--gap);text-align:center}
.tele{display:grid;width:100%;margin-top:var(--gap)}
.tele__row{display:grid;grid-template-columns:1fr auto;column-gap:1rem;row-gap:.12rem;align-items:baseline;padding:.5rem 0;border-top:1px solid var(--soft);text-align:left}
.tele__row:last-child{border-bottom:1px solid var(--soft)}
.tele__label{color:var(--ink-muted);font:500 var(--step--1)/1.3 var(--sans);letter-spacing:.06em}
.tele__value{color:var(--ink);font:500 var(--step-1)/1.2 var(--serif)}
.tele__why{grid-column:1/-1;color:var(--ink-body);font-size:var(--step--2);line-height:1.42;text-align:left}
.tele__note{width:100%;max-width:34rem;margin:.5rem auto 0;color:var(--ink-muted);font-size:var(--step--2);text-align:left}
.offers{display:grid;gap:var(--gap-l);width:100%;margin-top:var(--gap)}
.offer{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem;padding-top:.9rem;border-top:1px solid var(--rule);text-align:left}
.offer__body{max-width:38ch}
.preview{display:grid;grid-template-columns:1fr 1fr;gap:.45rem 1rem;width:100%;margin-top:.4rem}
.preview label{display:flex;flex-direction:column;gap:.15rem}
.preview input,.ws__cells input{width:100%;padding:.3rem 0;border:0;border-bottom:1px solid var(--rule);background:none;color:var(--ink);font:400 var(--step-0)/1.2 var(--sans)}
.p6__head{align-items:center;text-align:center}
.p6__gates{display:grid;gap:var(--gap-l);margin-top:26svh}
.gate{display:flex;flex-direction:column;gap:.6rem;padding-top:1rem;border-top:1px solid var(--rule)}
.gate__title{color:var(--ink);font:500 var(--step-2)/1.12 var(--serif)}
.gate__next{color:var(--ink-muted)}
.form{display:grid;gap:.9rem;margin-top:.4rem}
.field{display:grid;gap:.3rem}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.preview label,.field label{color:var(--ink-muted);font:500 var(--step--2)/1.2 var(--sans);letter-spacing:.1em;text-transform:uppercase}
.field em{color:var(--ink-muted);font-style:normal;letter-spacing:0;text-transform:none}
.field input,.field textarea{width:100%;padding:.45rem 0;border:0;border-bottom:1px solid var(--rule);border-radius:0;background:none;color:var(--ink);font:400 var(--step-0)/1.45 var(--sans)}
.field textarea{min-height:4.5rem}
.field input:focus-visible,.field textarea:focus-visible{outline-offset:2px;border-bottom-color:var(--ink)}
.p7__col{align-items:center;text-align:center}
.p7__foot{width:100%;margin-top:auto}
.foot{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.7rem 2rem;padding-top:.9rem;border-top:1px solid var(--soft);color:var(--ink-muted);font:400 var(--step--2)/1.5 var(--sans)}
.foot__links{display:flex;flex-wrap:wrap;gap:.35rem 1.2rem}
.foot__links a{padding-block:.25rem}
.masthead{position:relative;z-index:2;display:flex;align-items:flex-start;min-height:clamp(20rem,42svh,29rem);overflow:hidden;isolation:isolate;padding:var(--sky) var(--pad-x) clamp(2rem,6vh,4rem)}
/* masthead art dissolves downward, no hard edge */
.masthead .masthead__art{-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 42%,rgba(0,0,0,.56) 72%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 42%,rgba(0,0,0,.56) 72%,transparent 100%)}
.masthead__copy{position:relative;z-index:3;max-width:var(--measure)}
.masthead__copy h1{font-size:var(--step-5)}
/* subpage headline steps down below 1440 to clear sky band */
.masthead__copy{gap:clamp(.45rem,1.3vh,.9rem)}
@media (min-width:1024px) and (max-width:1439px){.masthead__copy h1{font-size:var(--step-4)}}
.masthead--quiet{height:clamp(10rem,22svh,15rem);min-height:0;padding:calc(var(--sky)*.85) var(--pad-x) 1rem}
/* N1: the worksheet band is the same quiet measure. Its height is declared in the
   worksheet page's own <style> (.page--worksheet .ws-band), which is later in the
   cascade, so this one carries one class more to land the same clamp. */
.page .masthead.ws-band{height:clamp(10rem,22svh,15rem)}
.masthead--quiet .masthead__art{object-position:var(--art-pos,50% 54%)}
/* M2: the breadcrumb hangs closer to the masthead so the sheet reads as one
   measure instead of two stacked blocks. */
.crumbs{margin-bottom:.35rem}
.sheet{position:relative;background:var(--paper);padding:var(--sp-4) var(--pad-x) var(--sp-5)}
.prose{max-width:min(740px,66ch);margin-inline:auto}
.link{color:var(--ink-body);font:500 var(--step--2)/1.2 var(--sans);letter-spacing:.1em;text-transform:uppercase;text-decoration:none;border-bottom:1px solid var(--rule)}
.prose h2{margin-top:var(--sp-4);font-size:var(--step-3)}
.prose>h2:not(:first-child){padding-top:var(--sp-2);border-top:1px solid var(--rule)}
.prose p,.prose ul,.prose ol{margin-top:.9rem;line-height:1.6}
.answer{max-width:56ch;margin-top:0;padding-top:.7rem;border-top:1px solid var(--rule);color:var(--ink-body);font-size:var(--step-1);line-height:1.5}
.p2__proofs li,.bank__body,.ledger__body,.loop__step,.offer__body{font-size:var(--step--1);line-height:1.5}
.loop{display:grid;gap:var(--gap-l);margin:var(--gap-l) 0 0;padding:0;list-style:none}
.loop__step{padding-top:.8rem;border-top:1px solid var(--soft);transition:border-top-color var(--dur-med) var(--ease-zen)}
.loop__step::before{content:attr(data-step);display:block;margin-bottom:.4rem;color:var(--ink-muted);font:400 var(--step-1)/1 var(--serif);transition:color var(--dur-med) var(--ease-zen)}
/* M2: same hairline lift as the ledger: border colour and numeral colour only,
   no width or padding change, so a hover frame measures identical geometry. */
.loop__step:hover{border-top-color:var(--ink)}
.loop__step:hover::before{color:var(--ink)}
.faq{margin-top:var(--gap-l)}
.faq details{border-top:1px solid var(--soft)}
/* M2: the summary is a flex row and the open/closed mark is a hairline plus at
   the right edge, not a glyph or an image: two 1px --ink linear-gradient
   strokes in a 12px box. On [open] the vertical stroke's background-size
   collapses 1px 12px -> 1px 0 over 260ms, so the same mark reads as a minus.
   The native marker is removed with list-style:none and the webkit pseudo is
   hidden outright; the focus ring is restated because the summary is now a
   flex container, so keyboard focus stays visible on it. */
.faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;color:var(--ink);font:500 var(--step-1)/1.25 var(--serif);cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:12px;height:12px;background:linear-gradient(var(--ink),var(--ink)) center/12px 1px no-repeat,linear-gradient(var(--ink),var(--ink)) center/1px 12px no-repeat;transition:background-size 260ms var(--ease-zen)}
.faq details[open] summary::after{background-size:12px 1px,1px 0}
.faq summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@keyframes faq-open{from{opacity:0;translate:0 -4px}to{opacity:1;translate:none}}
.faq details[open]>p{animation:faq-open 280ms var(--ease-arrive)}
@media print,(prefers-reduced-motion:reduce){.faq details[open]>p{animation:none}}
.sheet--framed{position:relative;z-index:1;overflow-x:clip;overflow-y:visible;isolation:isolate;background:var(--paper);padding-top:clamp(1.8rem,4vh,3rem)}
.sheet .prose,.sheet .ws{position:relative;z-index:2}
.sheet.sheet--framed .ws{max-width:44rem}
.ws{max-width:58rem;margin-inline:auto}
.ws__sec{padding:2rem 0;border-top:1px solid var(--rule)}
.ws__q{display:grid;gap:.7rem;margin-top:1.1rem}
.ws__cells{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;max-width:24rem}

/* horizon: paper ground, no hairline on junction */
.page-horizon{position:relative;display:flex;flex-direction:column-reverse;background:var(--paper)}
.page-horizon img{display:block;width:100%;height:auto;-webkit-mask-image:linear-gradient(to top,#000 0,#000 70%,rgba(0,0,0,.42) 90%,transparent 100%);mask-image:linear-gradient(to top,#000 0,#000 70%,rgba(0,0,0,.42) 90%,transparent 100%)}
.page-horizon .foot--page{position:relative;z-index:2;width:min(var(--wide),calc(100% - 2 * var(--gutter)));margin:0 auto;border-top:0;padding:clamp(1.6rem,4svh,2.6rem) 0 1.4rem}
@media (min-width:768px){
.page-horizon{display:block;height:clamp(22rem,39vw,57rem);overflow:hidden}
.page-horizon img{height:100%;object-fit:cover;object-position:50% 100%}
.page-horizon .foot--page{position:absolute;left:0;right:0;top:0;margin:0 auto;padding:clamp(1.6rem,4svh,2.8rem) 0}
}
@media print{.page-horizon img{display:none}.page-horizon .foot--page{position:static;margin:0 auto}}
/* one desktop zone system; under 1024 each chapter scrolls */
@media (min-width:1024px){
:root{--nav-h:118px;--chrome-h:calc(var(--nav-h) + 2*clamp(.7rem,1.8svh,1.2rem))}
.plate__copy{position:absolute;inset:0;display:block;min-height:0;padding:0}
.p1__sky,.p2__col,.p3__head,.p4__col,.p5__col,.p6__head,.p7__col{position:absolute}
/* K6: the plate landscape is anchored to the bottom edge, so the open sky sits
   at the top of every plate at any window height. p7 keeps its own masked,
   top-anchored art. */
.plate--p1 .plate__art,.plate--p2 .plate__art,.plate--p3 .plate__art,.plate--p5 .plate__art{object-position:50% 100%}
.p1__sky{left:6%;top:max(11.5%, calc(var(--chrome-h) + 4.6rem));width:38%;max-width:40rem}
/* hero water: 3 columns, pillars + cue on one axis */
.p1__water{position:absolute;left:var(--gut);right:var(--gut);bottom:clamp(1.6rem,4.2svh,3.2rem);display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:var(--gap) var(--gap-l);margin:0}
.p1__water .sub{justify-self:start;max-width:38ch}
.p1__center{justify-self:center;display:flex;flex-direction:column;align-items:center;gap:.55rem;text-align:center}
.p1__water .btn{justify-self:end}
.p1__pillars{flex-direction:column;align-items:center;gap:.3rem;white-space:nowrap}
.p2__col{left:48%;top:max(11%, calc(var(--chrome-h) + 4.6rem));width:44%;max-width:44rem;min-height:0}
.p2__proofs{margin-top:var(--gap)}
.p3__head{left:6%;top:max(9%, calc(var(--chrome-h) + 4.6rem));width:48%;max-width:37rem}
.p3__banks{position:absolute;left:3%;right:3%;top:66%;margin:0;grid-template-columns:1fr 1fr;gap:12%}
.p3__banks>.bank:last-child{align-items:flex-end;text-align:right}
.p3__crossing{position:absolute;left:50%;top:86%;width:min(64%,52rem);margin:0;transform:translateX(-50%)}
.p4__col{left:5%;top:max(10%, calc(var(--chrome-h) + 4.6rem));width:50%;max-width:44rem}
.p5__col{left:50%;top:max(10%, calc(var(--chrome-h) + 4.6rem));width:52%;max-width:52rem;transform:translateX(-50%)}
.p6__head{left:24%;top:11%;width:52%}
.p6__gates{position:absolute;left:6%;right:6%;top:46%;max-width:76rem;margin:0 auto;grid-template-columns:1fr 1fr;gap:clamp(2rem,7vw,7rem)}
.p7__col{left:20%;top:max(16%, calc(var(--chrome-h) + 4.6rem));width:60%}
.p7__foot{position:absolute;left:6%;right:6%;bottom:4.5%;width:auto;margin:0}
/* N1: the desktop masthead copy is in flow again. It carried left/top while
   absolute; now it owns the vertical inset and the masthead hands over its top
   and bottom padding. The horizontal inset stays the masthead's var(--pad-x):
   the copy is border-box at width:min(50%,38rem), so a second --pad-x on the
   copy would double the inset and collapse the text at 2560. The first ink
   (crumbs) lands ~48-50px under the chrome at 1440 and 2560. */
.masthead{padding-top:0;padding-bottom:0}
.masthead__copy{width:min(50%,38rem);max-width:none;padding:calc(var(--chrome-h) + 2.2rem) 0 clamp(2.5rem,6vh,4rem)}
.masthead--quiet{padding:0}
/* chrome grid 1280+: five lanterns + mark + pause on one line */
@media (min-width:1280px){
.chrome{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:1rem}
.chrome__mark{grid-column:1;justify-self:start;padding-top:1.1rem}
.chrome__nav{grid-column:2;justify-self:center;order:0;width:auto;gap:0 clamp(1.6rem,3.4vw,3.6rem)}
/* breathing room under the fixed chrome: content starts clear of the nav, not under it */
:root{--nav-h:99px;--chrome-h:calc(var(--nav-h) + 2*clamp(.7rem,1.8svh,1.2rem))}
body{--sky:calc(var(--chrome-h) + clamp(1.4rem,7.2svh,6.2rem))}
.chrome__pause{grid-column:3;justify-self:end;margin-top:.9rem}
}
.loop{grid-template-columns:repeat(3,1fr)}
.ws__q{grid-template-columns:1fr 24rem;align-items:end}
}
/* 1024-1439: keep copy clear of headland and shoreline ink */
@media (min-width:1024px) and (max-width:1439px){
.p2__col{top:7%}
.p4__col .ledger{margin-top:calc(var(--gap) - 8px)}
.p5__col{top:6%;gap:clamp(.55rem,1.45vh,.95rem)}
.p5__col .tele__row{padding:.28rem 0}
.p5__col .offers{margin-top:.35rem}
}
@media (min-width:1440px) and (max-width:1919px){.p5__col .offers .btn{position:relative;top:8px}}
@media (min-width:1024px){.p1__cue{position:relative;top:8px}.plate--p7 .plate__art{height:88%;object-position:top;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 72%,rgba(0,0,0,.42) 89%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 72%,rgba(0,0,0,.42) 89%,transparent 100%)}}
@media (min-width:1024px) and (max-width:1099px){.offers{grid-template-columns:1fr 1fr;gap:clamp(1rem,4vw,2rem)}}
@media (min-width:1100px){
.ledger{grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2.2vw,2.2rem)}
.offers{grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem)}
}
@media (min-width:1024px) and (max-width:1279px){
/* two-row lantern chrome here: the hero column starts below the bar, not under it */
.p1__sky{top:max(11.5%,7rem)}
.p1__sky h1{font-size:clamp(2.35rem,3.55vw,2.9rem)}
}
@media (min-width:1024px) and (max-width:1599px),(min-width:1024px) and (max-height:999px){
.p4__col{gap:.4rem}
.p5__col{gap:.4rem}
.p5__col .tele{margin-top:.35rem}
.p5__col .tele__row{padding:.16rem 0}
.p5__col .offers{margin-top:0}
.p4__col .sub{font-size:var(--step--1);line-height:1.35}
.p4__col .ledger{gap:clamp(.8rem,1.6vw,1.6rem);grid-template-columns:repeat(3,1fr)}
.p4__col .ledger__step{padding-top:.45rem}
.p4__col .ledger__body{line-height:1.42}
}
@media (min-width:1200px){.rail{display:flex}}
/* ultrawide: P1 sky at x=11% (S8-05). The masthead copy now sits on --pad-x in
   flow, so it needs no ultrawide override. */
@media (min-width:2200px){
.p1__sky{left:11%;top:11.5%;width:34%;max-width:48rem}
.p1__water{bottom:clamp(2rem,4.6svh,4rem);gap:var(--gap) clamp(2rem,4vw,5rem)}
.p2__col{left:50%;top:10%;width:42%;max-width:52rem}
.p4__col{left:5%;top:10%;width:40%;max-width:44rem}
.p5__col{top:10%;width:min(50%,64rem)}
}
@media (max-width:1023px){
/* 12px nav bar is taller than V7's: reclaim the height */
.chrome{gap:.35rem 1rem;padding-block:clamp(.7rem,1.8svh,1.2rem)}.home .chrome{position:absolute}
.plate{min-height:0}
.plate__art{object-position:50% 33%}
.masthead .masthead__art{object-position:50% 0}
.plate--p2{min-height:1218px}
.plate--p3{min-height:1224px}
.plate--p4{min-height:1273px}
.plate--p5{min-height:1367px}
.plate--p7{min-height:1220px}
.plate__copy{min-height:0;padding:calc(var(--sky) * .92) var(--gut) 3rem}
.p2__col{min-height:0}
.plate--hero{min-height:100svh;overflow:hidden}
.plate--hero .plate__copy{min-height:100svh;padding:var(--sky) var(--gut) max(1rem,2svh)}
.chrome__nav{gap:.4rem}
.chrome__nav a{font-size:.75rem;letter-spacing:.06em}
}
@media (max-width:520px){
.plate--p7{min-height:860px}
.plate--p7 .plate__art{object-position:50% 100%}
}
/* phone: the 12px caption floor makes the text nav two rows, so the header
   itself gives the height back and the first copy keeps its clearance */
@media (max-width:479px){
.chrome{padding-block:.45rem}
.chrome__nav{gap:.15rem .3rem}
.chrome__nav a{font-size:.75rem;letter-spacing:0}
}
/* 1440 safe area */
.safe{width:min(100% - 2 * var(--gutter),1440px);margin-inline:auto}
.band{background:var(--paper-2)}
.band--deep{background:var(--paper-3)}
/* N1 ambient: one fixed, paper-warm mist tile drifting exactly one tile (544 x
   416) in 32s linear, so the wrap is seamless. It sits at z 0 under every
   painted surface; the sheet and the band carry .78 alpha so the drift reads
   through the ground, never over the type. */
@keyframes amb-drift-near{from{background-position:0 0}to{background-position:544px 416px}}
body.page::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background-image:url("/media/v5/ambient/mist-warm-near.webp");background-size:544px 416px;background-repeat:repeat;opacity:.22;animation:amb-drift-near 32s linear infinite;will-change:background-position}
html.is-motion-paused body.page::before{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){body.page::before{animation:none}}
/* the same two grounds, one veil of paper thinner */
.page .sheet{background:rgba(234,208,160,.78)}
.page .band{background:rgba(228,200,147,.78)}
.page .loop,.page .ledger,.page .scope{max-width:960px;margin-inline:auto}
/* lantern nav: 126x50 contain, 1px cord, sway at the cord, glow = drop-shadow */
.lantern{position:relative;display:block;width:62px;height:99px;padding-top:0;margin-top:calc(-1 * clamp(.7rem,1.8svh,1.2rem));color:var(--ink);text-decoration:none;transform-origin:top center}
.lantern__cord,.lantern::before{content:none;display:none}
.lantern:has(.lantern__cord)::before{content:none}
.lantern img{display:block;width:62px;height:99px;object-fit:contain;transform-origin:top center;animation:lantern-sway var(--sway,5.4s) ease-in-out var(--sway-delay,-.8s) infinite alternate;transition:filter var(--dur-med) var(--ease-zen),opacity 400ms var(--ease-zen)}
.lantern__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;opacity:0;transition:opacity 200ms var(--ease-zen)}
.lantern::after{content:none;display:none}
.lantern__glow{position:absolute;left:0;top:0;opacity:0;mix-blend-mode:screen;filter:brightness(1.14) saturate(1.6) sepia(.18);-webkit-mask-image:radial-gradient(ellipse 56% 42% at 50% 60%,#000 0%,rgba(0,0,0,.58) 46%,transparent 76%);mask-image:radial-gradient(ellipse 56% 42% at 50% 60%,#000 0%,rgba(0,0,0,.58) 46%,transparent 76%);transition:opacity 900ms var(--ease-zen);pointer-events:none}
/* glow carries the sway too, so it never drifts off the painted lantern */
.lantern[aria-current] .lantern__glow,.lantern.is-active .lantern__glow,.lantern:hover .lantern__glow,.lantern:focus-visible .lantern__glow{opacity:.5;animation:lantern-sway var(--sway,5.4s) ease-in-out var(--sway-delay,-.8s) infinite alternate, lantern-candle 4.2s ease-in-out infinite}
.lantern[aria-current] img:first-of-type,.lantern.is-active img:first-of-type{filter:drop-shadow(0 0 18px rgba(255,190,112,.42)) drop-shadow(0 2px 4px rgba(56,36,16,.22))}
/* one size in every state: no scale on hover or current */
.lantern:hover,.lantern:focus-visible{z-index:2}
@keyframes lantern-candle{0%,100%{opacity:.48}50%{opacity:.68}}
@media (prefers-reduced-motion:reduce){.lantern__glow{animation:none!important}}
.lantern:hover img:first-of-type,.lantern:focus-visible img:first-of-type{filter:drop-shadow(0 0 9px rgba(255,196,120,.34)) drop-shadow(0 1px 2px rgba(56,36,16,.22))}
/* M2: the hover/focus animation-play-state pause on .lantern img is deleted: a
   hovered or focused lantern keeps its pendulum while the candle warms (the
   glow and filter do that work). Only the pause flag and the OS preference stop
   a sway — see the [data-motion="paused"] / html.is-motion-paused rule below. */
/* unlit lanterns settle back so the one lit lantern reads at a glance */
.lantern:not(.is-active):not([aria-current]):not(:hover):not(:focus-visible) img:first-of-type{opacity:.86}
@keyframes lantern-sway{from{rotate:-1.1deg}to{rotate:1.1deg}}
.lantern:nth-child(1){--cord:11px;--sway:5.4s;--sway-delay:-.4s}
.lantern:nth-child(2){--cord:15px;--sway:6.2s;--sway-delay:-2.1s}
.lantern:nth-child(3){--cord:10px;--sway:5.8s;--sway-delay:-3.7s}
.lantern:nth-child(4){--cord:16px;--sway:6.6s;--sway-delay:-1.3s}
.lantern:nth-child(5){--cord:13px;--sway:5.5s;--sway-delay:-5.1s}
/* sub-page lanterns: the horizontal chochin sits in its own 122x52 frame */
.page .lantern{width:62px;height:99px;display:grid;place-items:center;margin-top:calc(-1 * clamp(.7rem,1.8svh,1.2rem))}
.page .lantern img{position:absolute;inset:0;width:62px;height:99px;object-fit:contain}
.page .lantern__glow{position:absolute;inset:0;width:62px;height:99px;-webkit-mask-image:radial-gradient(ellipse 56% 42% at 50% 60%,#000 0%,rgba(0,0,0,.58) 46%,transparent 76%);mask-image:radial-gradient(ellipse 56% 42% at 50% 60%,#000 0%,rgba(0,0,0,.58) 46%,transparent 76%)}
/* freeze: pause flag and OS preference stop every sway.
   Measured gap: each lantern carries two imgs, the body and .lantern__glow, and
   the active glow's own rule (.lantern[aria-current] .lantern__glow, 0,3,1) sets
   the animation shorthand, so a 0,2,1 [data-motion="paused"] .lantern img could
   not stop that one glow. The .lantern .lantern__glow form ties at 0,3,1 and
   wins on source order, so the attribute alone now pauses every sway. */
[data-motion="paused"] .lantern img,[data-motion="paused"] .lantern .lantern__glow,html.is-motion-paused .lantern img,html.is-motion-paused .lantern .lantern__glow{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){
.lantern img,.lantern__glow{animation:none;rotate:0deg}
}
/* <900 drawer: paints nothing, scoped to .lantern */
@media (max-width:899px){
.navtoggle{display:inline-flex}
.chrome:has(.lantern) .chrome__nav{position:absolute;top:100%;left:0;right:0;display:none;flex-wrap:wrap;justify-content:center;gap:.4rem 1rem;padding:.1rem var(--gutter) .7rem}
/* K7: the open drawer is a parchment surface, not a see-through overlay.
   The build opens it with the navtoggle's aria-expanded (no data-open is
   authored in the markup), so the :has() selector is the live one. */
.chrome:has(.lantern) .chrome__nav[data-open="true"],.chrome:has(.navtoggle[aria-expanded="true"]) .chrome__nav{display:flex;background:var(--paper);border-bottom:1px solid var(--rule);padding:.6rem var(--gut) .9rem}
}
/* N1: K10's cross-document navigation transition is removed. The shoji doors are
   the page-to-page transition: no navigation opt-in and no transition
   pseudo-element rule is left, so the browser navigates natively under the
   doors. */
/* K6: the appended V8.1 !important block is gone. Each plate's copy clears the
   fixed chrome under its own plate class, which outranks the page-local
   placement layer on specificity instead of brute force, so the cascade wins on
   merit and one definition holds from 1024 up. */
@media (min-width:1024px){
.plate--p1 .p1__sky{top:max(11.5%,calc(var(--chrome-h) + 4.6rem))}
.plate--p2 .p2__col{top:max(11%,calc(var(--chrome-h) + 4.6rem))}
.plate--p3 .p3__head{top:max(9%,calc(var(--chrome-h) + 4.6rem))}
.plate--p4 .p4__col{top:max(10%,calc(var(--chrome-h) + 4.6rem))}
.plate--p5 .p5__col{top:max(10%,calc(var(--chrome-h) + 4.6rem))}
.plate--p7 .p7__col{top:max(16%,calc(var(--chrome-h) + 4.6rem))}
}
/* K6 short desktop: the two-row lantern chrome measures 152px at 1024x768, so
   the dense plates have 541px under the chrome and the 56px floor. The proof
   ledger and the offer pair give the height back at caption type and the proof
   block takes the wider measure the taller chrome now requires; no ink is
   lightened and no type moves over subject matter. */
@media (min-width:1024px) and (max-height:880px){
.plate--p2 .p2__col{gap:.8rem}
.plate--p2 .p2__proofs{gap:.45rem}
.plate--p3 .p3__head{gap:.7rem;width:54%}
.plate--p3 .p3__banks{top:72%}
.plate--p3 .p3__crossing{top:88%}
.plate--p5 .p5__col{row-gap:0;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)}
.plate--p5 .p5__col .tele{margin-top:.2rem}
.plate--p5 .p5__col>.offers{margin-top:.15rem}
.plate--p5 .p5__col .offer{gap:.3rem;padding-top:.5rem}
.plate--p5 .p5__col .offers .btn{padding:.45rem .8rem}
.plate--p5 .p5__col .tele__why{font-size:var(--step--2);line-height:1.16}
.plate--p5 .p5__col .tele__row{padding:.1rem 0;row-gap:0}
.plate--p5 .p5__col .offer__body{font-size:var(--step--2);line-height:1.36}
.plate--p5 .p5__col .preview{gap:.2rem .6rem}
.plate--p5 .p5__col .preview input{padding:.1rem 0;font-size:var(--step--1)}
.plate--p5 .p5__col .tele__note{font-size:var(--step--2);line-height:1.32;margin-top:.1rem}
}
@media (min-width:1024px) and (max-width:1279px) and (max-height:880px){
.plate--p5 .p5__col{width:min(86%,90rem)}
}
/* K6 short desktop hero: under 880px the 4:3 and 16:10 crops put the painted
   ridge at 44 percent of the plate, so a stacked promise-plus-action column
   would land the CTA on brushwork. At short heights the action sits beside the
   promise instead, centred on the headline row, on the open sky band. */
@media (min-width:1024px) and (max-width:1279px) and (max-height:880px){
.plate--p1 .p1__sky{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:clamp(1.2rem,3.5vw,2.6rem);width:min(90%,60rem);max-width:none}
.plate--p1 .p1__sky .eyebrow{grid-column:1;grid-row:1;align-self:start}
.plate--p1 .p1__sky h1{grid-column:1;grid-row:2;align-self:start}
.plate--p1 .p1__sky .btn{grid-column:2;grid-row:1/3;align-self:center;justify-self:end;margin:0}
}

@media (min-width:900px){
.page .chrome__nav{gap:0 clamp(1.4rem,2.6vw,2.8rem)}
/* H2: the lantern name stays screen-reader text at rest, and on desktop it
   fades in under the lantern on hover or keyboard focus as a quiet editorial
   serif in the site's own EB Garamond, matching .chrome__mark. K7 declared the
   visible box only in the :hover state, so the reveal animated nothing: the
   clip/size/width slots jumped from the sr-only box to a laid-out one and the
   fade was invisible. Here the rest state is a real, laid-out box at opacity
   0, 3px low, and only opacity and transform animate - a genuine 260ms zen
   fade. Absolutely placed below the lantern, so the bar never changes height. */
.lantern__label{position:absolute;top:100%;left:50%;width:auto;height:auto;clip:auto;overflow:visible;margin:0;padding-top:.42rem;color:var(--ink);font:400 var(--step--1)/1.15 var(--serif);letter-spacing:.03em;text-transform:none;pointer-events:none;white-space:nowrap;opacity:0;transform:translate(-50%,3px);transition:opacity 260ms var(--ease-zen),transform 260ms var(--ease-zen)}
.lantern:hover .lantern__label,.lantern:focus-visible .lantern__label{opacity:1;transform:translate(-50%,0)}
}
@media (min-width:900px) and (prefers-reduced-motion:reduce){
.lantern__label{transition:none;transform:translate(-50%,0)}
}

/* M2 scroll reveals — CSS half, matched to the script already in the tree.
   public/assets/shoji-nav.js (N2) adds html.has-reveal only after it has a
   target list AND an IntersectionObserver, marks anything above the fold .is-in
   first, then adds .is-in per element as it enters. So the class this pair
   reads is .is-in, not a new name: the brief said M3 would add the script, but
   the script is already built and shipping with a different reveal class, and
   inventing a second name here would leave every listed element hidden for
   good. The hidden state still hangs entirely off html.has-reveal, which only
   that script adds, so a JS failure cannot leave content invisible.
   Print and reduced motion force the pair visible and transitionless. */
@media (prefers-reduced-motion:no-preference){
html:not(.is-stage){scroll-behavior:smooth}
html.has-reveal .page :is(.prose > h2, .prose > ul, .scope section, .loop__step, .faq details, .gate, .ws-ledger__row, .close){opacity:0;translate:0 14px;transition:opacity 620ms var(--ease-arrive),translate 620ms var(--ease-arrive)}
html.has-reveal .page :is(.prose > h2, .prose > ul, .scope section, .loop__step, .faq details, .gate, .ws-ledger__row, .close).is-in{opacity:1;translate:none}
/* the pair hands .loop__step one transition; the M2 hairline needs its colour
   slot inside the same declaration. The class is doubled on purpose so this
   rule outranks the :is() pair (0,3,2) instead of being clobbered by it. */
html.has-reveal .page .loop__step.loop__step{transition:border-top-color var(--dur-med) var(--ease-zen),opacity 620ms var(--ease-arrive),translate 620ms var(--ease-arrive)}
}
@media print,(prefers-reduced-motion:reduce){
html.has-reveal .page :is(.prose > h2, .prose > ul, .scope section, .loop__step, .faq details, .gate, .ws-ledger__row, .close){opacity:1!important;translate:none!important;transition:none!important}
}
