:root{
  --paper:#EDF2EF;
  --sheet:#F8FAF9;
  --ink:#16201C;
  --ink-2:#33413B;
  --muted:#5E6C66;
  --rule:#C7D2CC;
  --rule-soft:#DCE4E0;
  --stamp:#0E6A62;
  --stamp-soft:rgba(14,106,98,.12);
  --tab:#F2C21B;
  --tab-deep:#D9A90A;
  --night:#14201C;
  --head:72px;
  --s1:.5rem;--s2:1rem;--s3:1.5rem;--s4:2rem;--s5:3rem;--s6:4.5rem;--s7:6rem;
  --f-head:"Pathway Extreme",system-ui,sans-serif;
  --f-body:"Ysabeau Office",system-ui,sans-serif;
  --f-sign:"Mrs Saint Delafield",cursive;
  --ease:cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--f-body);font-size:1.0625rem;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--f-head);font-weight:700;letter-spacing:-.02em;line-height:1.02;margin:0;text-wrap:balance}
p{margin:0;text-wrap:pretty}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--stamp);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.6rem;padding:.95rem 1.5rem;border:1.5px solid var(--ink);background:var(--ink);color:var(--sheet);text-decoration:none;font-family:var(--f-head);font-weight:600;font-size:.95rem;letter-spacing:.005em;cursor:pointer;transition:background .25s var(--ease),color .25s var(--ease),transform .25s var(--ease)}
.btn:hover{background:var(--stamp);border-color:var(--stamp)}
.btn:active{transform:translateY(1px)}
.btn svg{width:18px;height:18px}
.btn.ghost{background:transparent;color:var(--ink)}
.btn.ghost:hover{background:var(--ink);color:var(--sheet);border-color:var(--ink)}
.link{font-family:var(--f-head);font-weight:600;font-size:.95rem;text-decoration:none;border-bottom:1.5px solid currentColor;padding-bottom:2px;transition:color .2s}
.link:hover{color:var(--stamp)}

/* ---------- Header ---------- */
.top{position:fixed;inset:0 0 auto 0;height:var(--head);z-index:50;background:rgba(237,242,239,.94);border-bottom:1px solid var(--rule);display:flex;align-items:center;gap:var(--s3);padding:0 clamp(1rem,3vw,2.5rem);backdrop-filter:saturate(1.2)}
.mark{display:flex;flex-direction:column;text-decoration:none;line-height:1;min-width:0}
.mark b{font-family:var(--f-head);font-weight:800;font-size:1.12rem;letter-spacing:-.02em}
.mark span{font-size:.78rem;color:var(--muted);margin-top:4px;letter-spacing:.02em}
.top-mid{margin-left:auto;display:flex;align-items:center;gap:var(--s3)}
.top-mid a{text-decoration:none;font-size:.95rem;color:var(--ink-2)}
.top-mid a:hover{color:var(--stamp)}
.top-phone{font-family:var(--f-head);font-weight:600;color:var(--ink)!important;display:flex;align-items:center;gap:.45rem}
.top-phone svg{width:16px;height:16px}
.top .btn{padding:.7rem 1.1rem;font-size:.88rem;color:var(--sheet)}
.top .btn:hover{color:#fff}
.duct-hint{display:none;font-size:.85rem;color:#8FA199;margin:-.8rem 0 1.4rem}
@media (max-width:720px){.duct-hint{display:block}}
.menu-btn{display:flex;align-items:center;gap:.6rem;background:none;border:0;cursor:pointer;font-family:var(--f-head);font-weight:600;font-size:.92rem;padding:.5rem 0}
.menu-btn i{display:block;width:22px;height:9px;border-top:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink)}

/* Menu overlay */
.menu{position:fixed;inset:0;z-index:80;background:var(--sheet);display:flex;flex-direction:column;padding:0 clamp(1rem,3vw,2.5rem);opacity:0;visibility:hidden;transition:opacity .35s var(--ease),visibility .35s}
.menu.open{opacity:1;visibility:visible}
.menu-head{height:var(--head);display:flex;align-items:center;border-bottom:1px solid var(--rule)}
.menu-close{margin-left:auto;background:none;border:0;cursor:pointer;font-family:var(--f-head);font-weight:600;font-size:.92rem;display:flex;gap:.5rem;align-items:center}
.menu-body{flex:1;display:grid;place-items:center;overflow:auto;padding:var(--s4) 0}
.menu ol{list-style:none;margin:0;padding:0;width:min(760px,100%)}
.menu li{border-bottom:1px solid var(--rule-soft)}
.menu li a{display:flex;align-items:center;gap:1rem;padding:.7rem 0;text-decoration:none;font-family:var(--f-head);font-weight:600;font-size:clamp(1.4rem,3.6vw,2.3rem);letter-spacing:-.02em;transition:color .2s,padding .3s var(--ease)}
.menu li a .bx{width:18px;height:18px;border:1.5px solid var(--ink);flex:none;display:grid;place-items:center}
.menu li a .bx svg{width:12px;height:12px;opacity:0;color:var(--stamp)}
.menu li a:hover{color:var(--stamp);padding-left:.4rem}
.menu li a:hover .bx svg{opacity:1}
.menu-foot{display:flex;flex-wrap:wrap;gap:var(--s3);justify-content:space-between;padding:var(--s3) 0;border-top:1px solid var(--rule);font-size:.95rem}

/* ---------- Binder tabs ---------- */
.tabs{position:fixed;right:0;top:calc(50% + var(--head)/2);transform:translateY(-50%);z-index:40;display:flex;flex-direction:column;gap:4px}
.tabs a{writing-mode:vertical-rl;text-decoration:none;font-family:var(--f-head);font-weight:600;font-size:.68rem;letter-spacing:.02em;background:var(--tab);color:var(--ink);padding:.5rem .36rem;border-radius:6px 0 0 6px;transform:translateX(6px);transition:transform .3s var(--ease),background .3s;box-shadow:inset 1px 0 0 rgba(0,0,0,.06)}
.tabs a:hover{transform:translateX(0)}
.tabs a.on{transform:translateX(0);background:var(--ink);color:var(--tab)}

/* ---------- Scenes ---------- */
main{padding-top:var(--head)}
.scene{position:relative;min-height:calc(100svh - var(--head));display:flex;flex-direction:column;justify-content:center;padding:var(--s6) clamp(1.25rem,6vw,6rem);scroll-margin-top:var(--head);border-bottom:1px solid var(--rule)}
.wrap{width:100%;max-width:1180px;margin:0 auto;min-width:0}
.label{font-family:var(--f-head);font-weight:500;font-size:.88rem;color:var(--stamp);display:inline-flex;align-items:center;gap:.6rem}
.label::before{content:"";width:22px;height:1.5px;background:currentColor}
.center{text-align:center}
.center .label{justify-content:center}
.lede{font-size:clamp(1.05rem,1.4vw,1.22rem);color:var(--ink-2);line-height:1.65}

/* sheet edge marks (hole punches) */
.punch{position:absolute;left:clamp(.6rem,1.6vw,1.4rem);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:clamp(5rem,16vh,9rem);pointer-events:none}
.punch i{width:14px;height:14px;border-radius:50%;background:var(--paper);box-shadow:inset 0 1px 2px rgba(0,0,0,.22),0 0 0 1px var(--rule)}

/* ---------- Scene: Cover (hero) ---------- */
#cover{background:var(--paper);overflow:hidden}
.cover-meta{display:flex;justify-content:space-between;gap:var(--s3);flex-wrap:wrap;font-size:.92rem;color:var(--muted);border-bottom:1px solid var(--rule);padding-bottom:.9rem;margin-bottom:clamp(1.5rem,5vh,3.5rem)}
.cover-meta strong{color:var(--ink);font-family:var(--f-head);font-weight:600}
.cover-grid{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:clamp(1rem,3vw,3rem);row-gap:.2rem}
.cover-grid h1{display:contents}
.cw{font-size:clamp(2.6rem,6.2vw,6.4rem);font-weight:800;letter-spacing:-.045em;line-height:.92;min-width:0}
.cw.l{text-align:right}
.cw.r{text-align:left}
.cw .thin{font-weight:400;color:var(--muted)}
.seal-hold{grid-row:1 / span 2;grid-column:2;width:clamp(200px,24vw,330px);aspect-ratio:1;position:relative}
.seal{width:100%;height:100%;color:var(--stamp)}
.seal-hold.land .seal{animation:land 1s var(--ease) .35s both}
@keyframes land{0%{opacity:0;transform:scale(1.7) rotate(-26deg)}55%{opacity:1;transform:scale(.94) rotate(-9deg)}75%{transform:scale(1.02) rotate(-11deg)}100%{opacity:1;transform:scale(1) rotate(-10deg)}}
.seal-hold::after{content:"";position:absolute;inset:8%;border-radius:50%;background:radial-gradient(circle,var(--stamp-soft),transparent 70%);opacity:0;z-index:-1}
.seal-hold.land::after{animation:ink .9s ease .8s both}
@keyframes ink{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1.15)}}
.cover-foot{margin-top:clamp(1.5rem,5vh,3.5rem);display:grid;grid-template-columns:1fr auto 1fr;gap:var(--s4);align-items:end}
.cover-foot p{max-width:30ch;font-size:1.12rem;color:var(--ink-2)}
.cover-foot .acts{display:flex;gap:.8rem;flex-wrap:wrap;justify-content:center}
.cover-foot .sig{justify-self:end;text-align:right;font-size:.88rem;color:var(--muted);min-width:180px}
.cover-foot .sig .hand{font-family:var(--f-sign);font-size:2.6rem;color:var(--ink);line-height:.8;display:block;margin-bottom:.15rem}
.cover-foot .sig .line{border-top:1px solid var(--ink);padding-top:.35rem;display:block}

/* ---------- Scene: Scope ---------- */
#scope{background:var(--sheet)}
.scope-title{font-size:clamp(2.2rem,5.8vw,5rem);max-width:15ch;margin:var(--s3) auto var(--s4)}
.scope-copy{max-width:720px;margin:0 auto}
.entries{margin:var(--s5) auto 0;max-width:980px;border-top:1.5px solid var(--ink)}
.entry{display:grid;grid-template-columns:auto 1fr auto;gap:clamp(1rem,3vw,2.5rem);align-items:center;padding:1.25rem 0;border-bottom:1px solid var(--rule);text-decoration:none;transition:background .3s}
.entry:hover{background:var(--paper)}
.entry h3{font-size:clamp(1.3rem,2.4vw,1.9rem);font-weight:700}
.entry p{color:var(--muted);font-size:1rem}
.entry .txt{min-width:0;display:flex;align-items:baseline;gap:1.4rem;flex-wrap:wrap}
.entry .go{font-family:var(--f-head);font-weight:600;font-size:.9rem;display:flex;gap:.4rem;align-items:center;transition:transform .3s var(--ease)}
.entry:hover .go{transform:translateX(4px);color:var(--stamp)}

/* checkbox that ticks itself */
.cb{width:30px;height:30px;border:1.5px solid var(--ink);display:grid;place-items:center;flex:none;background:var(--sheet)}
.cb svg{width:20px;height:20px;color:var(--stamp)}
.cb path{stroke-dasharray:30;stroke-dashoffset:30;transition:stroke-dashoffset .55s var(--ease)}
.ticked .cb path,.cb.ticked path{stroke-dashoffset:0}

/* ---------- Scene: Systems checklist ---------- */
#systems{background:var(--paper)}
.sys-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--s2);margin-bottom:var(--s4)}
.sys-head h2{font-size:clamp(2rem,4.6vw,3.8rem)}
.sys-head p{max-width:60ch;color:var(--ink-2)}
.sheet{background:var(--sheet);border:1px solid var(--rule);box-shadow:0 1px 0 var(--rule-soft),0 30px 60px -40px rgba(22,32,28,.35);max-width:1040px;margin:0 auto;width:100%;position:relative}
.sheet-bar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1.5rem;padding:.9rem 1.4rem;border-bottom:1.5px solid var(--ink);font-size:.9rem;color:var(--muted)}
.sheet-bar b{color:var(--ink);font-family:var(--f-head);font-weight:600}
.check{width:100%;border-collapse:collapse}
.check th{font-family:var(--f-head);font-weight:600;font-size:.82rem;color:var(--muted);text-align:center;padding:.65rem .5rem;border-bottom:1px solid var(--rule)}
.check th:first-child{text-align:left;padding-left:1.4rem}
.check td{padding:.42rem .5rem;border-bottom:1px solid var(--rule-soft);text-align:center;vertical-align:middle}
.check td:first-child{text-align:left;padding-left:1.4rem;font-family:var(--f-head);font-weight:600;font-size:1.02rem}
.check td:last-child{padding-right:1.4rem}
.check tr.grp td{background:var(--paper);font-family:var(--f-body);font-weight:600;font-size:.84rem;color:var(--stamp);padding:.4rem 1.4rem;letter-spacing:.02em}
.check tbody tr:not(.grp){transition:background .2s}
.check tbody tr:not(.grp):hover{background:#EEF4F1}
.check .cb{width:20px;height:20px;margin:0 auto;border-width:1.3px}
.check .cb svg{width:14px;height:14px}
.pass{display:inline-flex;align-items:center;gap:.35rem;font-family:var(--f-head);font-weight:700;font-size:.8rem;color:var(--stamp);border:1.5px solid var(--stamp);padding:.15rem .5rem;border-radius:3px;transform:rotate(-4deg) scale(.6);opacity:0;transition:opacity .3s,transform .4s var(--ease)}
.ticked .pass{opacity:1;transform:rotate(-4deg) scale(1)}
.sheet-note{padding:.9rem 1.4rem;font-size:.92rem;color:var(--muted);display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;align-items:center}

/* ---------- Scene: Findings ---------- */
#standard{background:var(--sheet)}
.find{max-width:900px;margin:0 auto;text-align:center}
.find h2{font-size:clamp(2rem,5vw,4.3rem);margin:var(--s3) 0 var(--s4)}
.find .big{font-size:clamp(1.15rem,1.7vw,1.4rem);line-height:1.6;color:var(--ink-2)}
.find .big + .big{margin-top:1rem}
.route{display:flex;align-items:center;justify-content:center;gap:0;margin:var(--s5) auto var(--s4);max-width:820px}
.route .st{display:flex;flex-direction:column;align-items:center;gap:.6rem;min-width:0;flex:none}
.route .st span{font-family:var(--f-head);font-weight:600;font-size:.98rem}
.route .ln{flex:1;height:1.5px;background:var(--rule);margin:0 .6rem;margin-bottom:1.9rem;position:relative;overflow:hidden;min-width:20px}
.route .ln::after{content:"";position:absolute;inset:0;background:var(--stamp);transform:scaleX(0);transform-origin:left;transition:transform .8s var(--ease)}
.ticked .route .ln::after{transform:scaleX(1)}
.ticked .route .ln:nth-of-type(2)::after{transition-delay:.3s}
.ticked .route .ln:nth-of-type(4)::after{transition-delay:.6s}
.ticked .route .ln:nth-of-type(6)::after{transition-delay:.9s}
.seals{display:flex;justify-content:center;flex-wrap:wrap;gap:clamp(.8rem,2.5vw,2rem);margin-top:var(--s4)}
.acc{width:104px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative;color:var(--ink);transition:transform .4s var(--ease),color .3s}
.acc svg{position:absolute;inset:0;width:100%;height:100%}
.acc b{font-family:var(--f-head);font-weight:800;font-size:1rem;letter-spacing:-.01em;position:relative;text-align:center;line-height:1.05;padding:0 .4rem}
.acc:hover{transform:rotate(-8deg);color:var(--stamp)}
.find .foot{margin-top:var(--s3);font-size:.9rem;color:var(--muted)}

/* ---------- Scene: Spark (dark) ---------- */
#spark{background:var(--night);color:#E7EEEA;border-bottom:0}
#spark .label{color:var(--tab)}
#spark h2{font-size:clamp(2.1rem,5vw,4.4rem);color:#F4F8F6;margin:var(--s3) auto var(--s2);max-width:18ch}
#spark .lede{color:#B8C6BF;max-width:56ch;margin:0 auto}
.duct-wrap{margin:var(--s5) auto var(--s3);max-width:1100px;width:100%;overflow-x:auto;scrollbar-width:thin}
.duct{min-width:760px;width:100%;height:auto}
.duct .ink{stroke:#D7E2DC}
.duct text{font-family:var(--f-head);font-size:13px;fill:#B8C6BF;font-weight:500}
.steps{display:flex;justify-content:center;gap:clamp(1rem,4vw,3.5rem);flex-wrap:wrap;max-width:1000px;margin:0 auto}
.step{display:flex;align-items:center;gap:.7rem;color:#8FA199;transition:color .3s;min-width:0}
.step .cb{background:transparent;border-color:#5C6E66;width:24px;height:24px}
.step .cb svg{color:var(--tab);width:16px;height:16px}
.step.ticked{color:#F4F8F6}
.step.ticked .cb{border-color:var(--tab)}
.spark-acts{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;margin-top:var(--s4)}
#spark .btn{background:var(--tab);border-color:var(--tab);color:var(--ink)}
#spark .btn:hover{background:#fff;border-color:#fff}
#spark .btn.ghost{background:transparent;color:#F4F8F6;border-color:#5C6E66}
#spark .btn.ghost:hover{border-color:#F4F8F6}

/* ---------- Scene: Maintenance ---------- */
#maintenance{background:var(--paper)}
.mt{max-width:1000px;margin:0 auto;text-align:center}
.mt h2{font-size:clamp(2.6rem,7.5vw,6.6rem);letter-spacing:-.045em;margin:var(--s3) 0}
.mt h2 .thin{font-weight:400;color:var(--muted);display:block;font-size:.42em;letter-spacing:-.02em;margin-bottom:.3em}
.van{max-width:620px;margin:var(--s4) auto;color:var(--ink)}
.van .road{stroke-dasharray:14 10;animation:road 1.6s linear infinite}
@keyframes road{to{stroke-dashoffset:-48}}
.mt .lede{max-width:62ch;margin:0 auto}
.visit{display:flex;justify-content:center;flex-wrap:wrap;gap:.6rem 2.2rem;margin:var(--s4) 0 var(--s3)}
.visit .row{display:flex;align-items:center;gap:.6rem;font-family:var(--f-head);font-weight:600;font-size:.98rem}
.visit .cb{width:22px;height:22px}
.visit .cb svg{width:15px;height:15px}

/* ---------- Scene: Partner ---------- */
#partner{background:var(--sheet)}
.pt{max-width:860px;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center}
.pt .q{font-family:var(--f-head);font-weight:500;font-size:clamp(1.1rem,1.6vw,1.3rem);color:var(--muted)}
.pt h2{font-size:clamp(2.4rem,6.4vw,5.6rem);letter-spacing:-.04em;margin:var(--s3) 0}
.pt .mm{display:inline-block;font-family:var(--f-head);font-weight:800;font-size:clamp(1.6rem,3vw,2.3rem);letter-spacing:.06em;text-transform:uppercase;padding:.35rem 1.1rem;border:2px solid var(--ink);margin-bottom:var(--s4)}
.pt p{max-width:58ch}
.pt .lnk{margin-top:var(--s4)}
.pt-line{width:1.5px;height:clamp(40px,8vh,90px);background:var(--ink);margin:0 auto var(--s3)}

/* ---------- Scene: Remarks ---------- */
#remarks{background:var(--paper)}
.rm-head{text-align:center;margin-bottom:var(--s5)}
.rm-head h2{font-size:clamp(2rem,4.6vw,3.8rem);margin-top:var(--s2)}
.quotes{display:flex;flex-direction:column;gap:var(--s5);max-width:900px;margin:0 auto}
.qt{text-align:center}
.qt blockquote{margin:0;font-family:var(--f-head);font-weight:500;font-size:clamp(1.25rem,2.4vw,1.9rem);line-height:1.35;letter-spacing:-.015em}
.qt .who{display:inline-flex;flex-direction:column;align-items:center;margin-top:var(--s3);min-width:min(280px,100%)}
.qt .hand{font-family:var(--f-sign);font-size:2.7rem;line-height:.8;color:var(--stamp)}
.qt .who .line{border-top:1px solid var(--ink);padding-top:.4rem;width:100%;font-size:.95rem;color:var(--muted)}
.qt .who .line b{color:var(--ink);font-weight:600}
.ledger{max-width:900px;margin:var(--s6) auto 0;border-top:1.5px solid var(--ink)}
.ledger a{display:grid;grid-template-columns:120px 1fr auto;gap:1rem;align-items:center;padding:1rem 0;border-bottom:1px solid var(--rule);text-decoration:none;transition:padding .3s var(--ease),color .2s}
.ledger a:hover{padding-left:.5rem;color:var(--stamp)}
.ledger .k{font-size:.9rem;color:var(--muted)}
.ledger .t{font-family:var(--f-head);font-weight:600;font-size:clamp(1.05rem,1.8vw,1.3rem);min-width:0}
.ledger svg{width:20px;height:20px}

/* ---------- Scene: Request (form) ---------- */
#request{background:var(--sheet)}
.rq-head{text-align:center;margin-bottom:var(--s4)}
.rq-head h2{font-size:clamp(2.2rem,5.4vw,4.6rem);margin:var(--s2) 0}
.rq-head .call{font-family:var(--f-head);font-weight:700;font-size:clamp(1.5rem,3vw,2.2rem);text-decoration:none;letter-spacing:-.02em;display:inline-flex;align-items:center;gap:.6rem}
.rq-head .call:hover{color:var(--stamp)}
.rq-head .call svg{width:26px;height:26px}
form.report{max-width:960px;margin:0 auto;border:1.5px solid var(--ink);background:#fff;position:relative}
.rf-bar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.4rem 1rem;padding:.8rem 1.3rem;background:var(--ink);color:var(--sheet);font-size:.9rem}
.rf-bar b{font-family:var(--f-head);font-weight:600}
.rf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.fld{border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:.7rem 1.1rem .8rem;display:flex;flex-direction:column;gap:.2rem;min-width:0;transition:background .2s}
.fld:focus-within{background:#F3F8F5}
.fld:nth-child(3n){border-right:0}
.fld.span3{grid-column:1 / -1;border-right:0}
.fld.span2{grid-column:span 2}
.fld label,.fld legend{font-family:var(--f-head);font-weight:500;font-size:.8rem;color:var(--muted);padding:0}
.fld input,.fld select,.fld textarea{border:0;border-bottom:1px dashed var(--rule);background:transparent;padding:.3rem 0;font-size:1.02rem;outline:none;width:100%;min-width:0;border-radius:0}
.fld textarea{resize:vertical;min-height:52px}
.fld input:focus,.fld select:focus,.fld textarea:focus{border-bottom-color:var(--stamp)}
fieldset.fld{margin:0}
.opts{display:flex;flex-wrap:wrap;gap:.5rem 1.6rem;padding-top:.35rem}
.opt{display:flex;align-items:center;gap:.55rem;cursor:pointer;font-family:var(--f-head);font-weight:500;font-size:.96rem}
.opt input{position:absolute;opacity:0;width:1px;height:1px}
.opt .cb{width:20px;height:20px;border-width:1.3px}
.opt .cb svg{width:14px;height:14px}
.opt input:checked + .cb path{stroke-dashoffset:0}
.opt input:focus-visible + .cb{outline:2px solid var(--stamp);outline-offset:2px}
.rf-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.3rem}
.rf-foot .sigline{flex:1;min-width:220px;max-width:340px;font-size:.85rem;color:var(--muted)}
.rf-foot .sigline span{display:block;border-top:1px solid var(--ink);padding-top:.3rem;margin-top:1.6rem}
.err{color:#9B2335;font-size:.85rem;min-height:1.2em;padding:0 1.3rem}
.done{position:absolute;inset:0;background:rgba(255,255,255,.96);display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem;gap:1rem}
.done.show{display:flex}
.done .rstamp{font-family:var(--f-head);font-weight:800;font-size:clamp(1.5rem,4vw,2.4rem);color:var(--stamp);border:3px double var(--stamp);padding:.4rem 1.2rem;transform:rotate(-8deg);animation:land .8s var(--ease) both;letter-spacing:.04em;text-transform:uppercase}
.done p{max-width:46ch;color:var(--ink-2)}

/* ---------- Footer ---------- */
footer{background:var(--ink);color:#C9D5CF;padding:var(--s6) clamp(1.25rem,6vw,6rem) var(--s4)}
.ft{max-width:1180px;margin:0 auto}
.ft-top{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--s4);flex-wrap:wrap;padding-bottom:var(--s4);border-bottom:1px solid #33433C}
.ft-top .mark b{color:#fff;font-size:1.5rem}
.ft-top .mark span{color:#9FB0A8}
.ft-call{font-family:var(--f-head);font-weight:700;font-size:clamp(1.6rem,3.4vw,2.6rem);color:#fff;text-decoration:none;letter-spacing:-.02em}
.ft-call:hover{color:var(--tab)}
.ft-nav{display:flex;flex-wrap:wrap;gap:.6rem 2rem;padding:var(--s4) 0;border-bottom:1px solid #33433C}
.ft-nav a{text-decoration:none;font-family:var(--f-head);font-weight:500}
.ft-nav a:hover{color:var(--tab)}
.ft-acc{display:flex;flex-wrap:wrap;gap:.6rem;padding:var(--s3) 0;align-items:center}
.ft-acc span{font-size:.85rem;color:#9FB0A8;margin-right:.6rem}
.ft-acc b{font-family:var(--f-head);font-weight:700;font-size:.82rem;border:1px solid #4A5C54;border-radius:50px;padding:.3rem .8rem;color:#E7EEEA}
.ft-bot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:.88rem;color:#9FB0A8;padding-top:var(--s3);border-top:1px solid #33433C}
.ft-bot a{text-decoration:none}
.ft-bot a:hover{color:#fff}
.soc{display:flex;gap:.8rem;align-items:center}
.soc a{width:34px;height:34px;border:1px solid #4A5C54;display:grid;place-items:center;transition:border-color .2s,color .2s}
.soc a:hover{border-color:var(--tab);color:var(--tab)}
.soc svg{width:15px;height:15px}

/* ---------- Mobile action bar ---------- */
.mbar{display:none}

/* ---------- Responsive ---------- */
@media (max-width:1180px),(max-height:700px){.tabs{display:none}}
@media (max-width:960px){
  .top-mid .hide-md{display:none}
  .cover-foot{grid-template-columns:1fr;text-align:center;justify-items:center}
  .cover-foot p{max-width:46ch}
  .cover-foot .sig{justify-self:center;text-align:center}
  .rf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fld:nth-child(3n){border-right:1px solid var(--rule)}
  .fld:nth-child(2n){border-right:0}
  .fld.span2{grid-column:1 / -1;border-right:0}
}
@media (max-width:720px){
  :root{--head:62px}
  body{font-size:1rem;padding-bottom:64px}
  .top-mid .top-phone,.top .btn{display:none}
  .mark span{display:none}
  .scene{min-height:auto;padding:var(--s6) 1.25rem}
  .punch{display:none}
  .cover-grid{grid-template-columns:1fr;text-align:center}
  .cw.l,.cw.r{text-align:center}
  .seal-hold{grid-row:auto;grid-column:auto;order:-1;margin:0 auto 1.2rem;width:min(210px,60vw)}
  .cover-meta{justify-content:center;text-align:center}
  .entry{grid-template-columns:auto 1fr}
  .entry .go{display:none}
  .entry .txt{flex-direction:column;gap:.2rem}
  .check th:nth-child(n+2):not(:last-child),.check td:nth-child(n+2):not(:last-child){padding:.42rem .2rem}
  .check td:first-child,.check th:first-child{padding-left:.9rem}
  .check td:first-child{font-size:.95rem}
  .check td:last-child,.check th:last-child{display:none}
  .route{flex-wrap:wrap;gap:1rem 0}
  .route .ln{display:none}
  .route .st{flex:1 1 45%}
  .rf-grid{grid-template-columns:1fr}
  .fld,.fld:nth-child(3n),.fld:nth-child(2n){border-right:0}
  .ledger a{grid-template-columns:1fr auto}
  .ledger .k{grid-column:1 / -1}
  .mbar{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:45;border-top:1px solid var(--ink)}
  .mbar a{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:1.05rem .5rem;text-decoration:none;font-family:var(--f-head);font-weight:600;font-size:.95rem;background:var(--sheet)}
  .mbar a:last-child{background:var(--ink);color:var(--sheet)}
  .mbar svg{width:17px;height:17px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .seal-hold .seal{transform:rotate(-10deg)}
}

