/* Vista v8 "one room comes to life". Aerive's grammar: one continuous backdrop for beats 1-4, one big move per screen,
   text arrives by blur + fade, huge type / small UI, light middle, one dark finale. page (page) + the scene (the scene). */
:root{
 --paper:#F7F4EE;--white:#fff;--ink:#0E2235;--navy:#0E2235;--text:#2B3A4A;--mute:#4A5868;--blue:#1F6FBF;--sky:#7FB2E5;--hair:#DCD5C8;
 --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
 --side:clamp(24px,6vw,96px);--max:1280px;--header-h:76px;
 --hc-ink:var(--ink);--hc-text:var(--text);--hc-mute:var(--mute);--hc-line:var(--hair);--hc-accent:var(--blue);--hc-on-accent:#fff;
 --hc-font-display:Montserrat,system-ui,sans-serif;--hc-font-body:Inter,system-ui,sans-serif;--hc-radius:2px;
 --ease-out:cubic-bezier(0.23,1,0.32,1);--ease-sine:cubic-bezier(0.37,0,0.63,1);
 /* every hero (home, page heroes, landing pages, posts): one eyebrow size and one H1 scale (client review 2026-11-03: eyebrow
    bigger, H1 a bit smaller; Nov 10 review: every headline one size smaller, .88 -> .80 here and the .h2 below, about 9%).
    Change these two, not the heroes one by one */
 --hero-eb:14px;--hero-h1:.80;
}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){:root{--hero-eb:13px}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--header-h) + 8px)}
body{margin:0;font:400 17px/1.6 var(--hc-font-body);color:var(--text);background:var(--paper);overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,p,figure,dl,dd,ol,ul{margin:0}
h1,h2,h3{font-family:var(--hc-font-display);color:var(--ink)}
mark{background:#FFF1C2;color:#2B3A4A;padding:0 4px;border-radius:2px}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.skip{position:absolute;left:12px;top:-60px;z-index:300;background:var(--ink);color:#fff;padding:10px 14px;font:600 14px var(--hc-font-display)}
.skip:focus{top:12px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--side)}
/* the header stays on screen while scrolling (Nov 10 review): the whole nav is sticky with the utility bar's height above
   the top, so the dark strip scrolls away and the white bar stays. --util-h is measured by lib/navbar.js. Sticky keeps its
   place in the flow: nothing below it moves. Anchor jumps land under it (html scroll-padding-top) */
.hc-nav{position:sticky;top:calc(-1 * var(--util-h,36px));z-index:60}
.hc-nav__brand{flex:none}.hc-nav__brand img{height:40px;width:auto;max-width:none}
.progress{position:fixed;left:0;right:0;top:0;height:2px;z-index:90;pointer-events:none}
.progress i{display:block;height:100%;background:var(--blue);opacity:.7;transform:scaleX(var(--p,0));transform-origin:left}

/* ================= BEATS 1-4: the scene + the words over it ================= */
.door{position:relative;background:var(--paper);overflow-x:clip} /* the H1 halves slide off-screen when they part */
.door__stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;z-index:0}
.door__copy{position:sticky;top:0;height:100vh;height:100svh;margin-top:-100vh;margin-top:-100svh;z-index:1;pointer-events:none}
.door__copy a,.door__copy button{pointer-events:auto}
/* the words sit on paper the whole way (the scene draws navy on paper); the only dark ground is the finale */
.door{--door-ink:var(--ink);--door-text:var(--text)}
/* one scroll track: the whole scene is 300vh (stage 100vh + 200vh of scroll); phone 260svh */
.door__track{height:200vh}
/* the card: one paper card, bottom left, that carries the subhead and then the four steps one at a time.
   Same place, same size the whole way, so only its words change while the room moves behind it */
.door__card{position:absolute;left:max(var(--side),calc((100vw - var(--max)) / 2 + var(--side)));bottom:40px;width:min(440px,34vw);display:grid;
 background:rgba(247,244,238,.95);border:1px solid var(--hair);padding:28px 30px 30px;box-shadow:0 24px 60px -36px rgba(14,34,53,.35);
 opacity:var(--k,0);transform:translateY(calc((1 - var(--k,0)) * 24px))}
.door__sub,.door__process{grid-area:1/1;align-self:end}
.door__sub{font:500 18px/1.55 var(--hc-font-display);color:var(--ink);opacity:var(--sb,0);transform:translateY(calc((1 - var(--sb,0)) * 10px));will-change:opacity,transform}
.door__process{opacity:var(--pb,0)}
.door__ph{font:700 22px/1.2 var(--hc-font-display);color:var(--ink);letter-spacing:-.01em}
.door__plead{display:none}
.door__steps{list-style:none;padding:0;margin-top:14px;display:grid;border-top:1px solid var(--hair);padding-top:14px}
.door__steps li{grid-area:1/1;opacity:var(--o,0);transform:translateY(calc((1 - var(--o,0)) * 14px));will-change:opacity,transform}
.door__steps .n{display:block;font:500 12px var(--mono);letter-spacing:.12em;color:var(--blue);margin-bottom:6px}
.door__steps h3{font-size:19px;color:var(--ink);margin-bottom:6px}
.door__steps p{font-size:15px;line-height:1.55;color:var(--text)}

/* beat 1: the hero. H1 split in two halves: left top / right bottom */
.door__hero{position:absolute;inset:calc(var(--hero-top,var(--header-h)) + 28px) var(--side) 32px;display:grid;grid-template-rows:auto auto 1fr auto;max-width:var(--max);margin:0 auto}
.door__eyebrow{grid-row:1;opacity:var(--b1c,1);font:500 var(--hero-eb) var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--blue)}
.door h1{display:contents;font-weight:700;letter-spacing:-.03em}
.door__h1a,.door__h1b{display:block;font:700 calc(var(--hero-h1) * clamp(36px,4.6vw,68px))/1.04 var(--hc-font-display);letter-spacing:-.03em;color:var(--door-ink);max-width:21ch;will-change:transform,opacity}
.door__h1a{grid-row:2;margin-top:14px;align-self:start;transform:translateX(calc(var(--b1,0) * -34vw));opacity:calc(1 - var(--b1,0) * 1.5)}
.door__h1b{grid-row:4;justify-self:end;text-align:right;max-width:19ch;transform:translateX(calc(var(--b1,0) * 34vw));opacity:calc(1 - var(--b1,0) * 1.5)}
.door__ctas{position:absolute;left:0;bottom:6px;display:flex;flex-wrap:wrap;gap:12px;opacity:var(--b1c,1)}
.door.is-past1 .door__ctas{visibility:hidden}
/* beat 2: one sentence, centred, arrives by blur */
/* beat 3: the process rises over the same room */

/* ================= BEATS 5-6: Medical & dental clinics, drawing <-> real ================= */
.clinics{position:relative;height:280vh;background:var(--paper);--cl:max(var(--side),calc((100vw - var(--max)) / 2));--cw:min(62vw,calc(58vh * 1.6),1000px);--chh:calc(var(--cw) / 1.6)}
.clinics__pin{position:sticky;top:0;height:100vh;overflow:hidden;display:grid;place-items:center}
.clinics__h{position:absolute;inset:calc(var(--header-h) + 20px) var(--side) auto;max-width:var(--max);margin:0 auto;pointer-events:none;
 font:700 clamp(54px,8vw,132px)/.95 var(--hc-font-display);letter-spacing:-.045em;color:var(--ink)}
.clinics__h .l1,.clinics__h .l2{display:block;opacity:var(--c1o,0);transform:translateY(calc((1 - var(--c1,0)) * 60px))}
.clinics__h .l2{text-align:right;transition-delay:80ms}
/* the X-ray card: biggest thing on screen; when the facts arrive it eases left and down to 75% so they sit beside it, top and bottom edges shared */
.clinics__obj{position:absolute;left:calc(50vw - var(--cw) / 2);bottom:4vh;width:var(--cw);height:var(--chh);margin:0;z-index:1;transform:translateY(calc((1 - var(--c2,0)) * 70vh)) translateX(calc(var(--c4,0) * (var(--cl) - 50vw + var(--cw) * .375))) scale(calc(.94 + var(--c2,0) * .06 - var(--c4,0) * .25));box-shadow:0 30px 60px -30px rgba(14,34,53,.35);overflow:hidden;background:#fff}
.clinics__photo,.clinics__plan{position:absolute;inset:0;width:100%;height:100%}
.clinics__photo{object-fit:cover;opacity:var(--c3,0);transform:scale(calc(1.04 - var(--c3,0) * .04));will-change:opacity,transform} /* no animated filters: opacity + a slight settle */
.clinics__plan{background:#fff;opacity:calc(1 - var(--c3,0))}
.clinics__plan .wall{stroke:var(--ink);stroke-width:1.6;fill:none;stroke-linecap:square}
.clinics__plan .wall--int{stroke-width:1.1}
.clinics__plan .door{stroke:var(--mute);stroke-width:1;fill:none}
.clinics__plan .block{stroke:var(--mute);stroke-width:1;fill:none}
.clinics__plan .room{font-family:var(--mono);font-size:.38px;fill:var(--mute);text-anchor:middle;dominant-baseline:central;letter-spacing:.06em}
.clinics__facts{position:absolute;left:calc(var(--cl) + var(--cw) * .75 + 56px);right:var(--cl);top:calc(96vh - var(--chh) * .875);display:grid;gap:16px;opacity:var(--c4,0);transform:translateY(calc((1 - var(--c4,0)) * 16px))}
.clinics__facts div{border-top:1px solid var(--hair);padding-top:10px}
.clinics__facts dt{font:500 11px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--mute)}
.clinics__facts dd{margin:4px 0 0;font-size:14.5px;line-height:1.45;color:var(--ink)}
.clinics__side{position:absolute;left:calc(var(--cl) + var(--cw) * .75 + 56px);right:var(--cl);bottom:calc(4vh + var(--chh) * .125);display:flex;flex-direction:column;gap:20px;align-items:flex-start;opacity:var(--c4,0);transform:translateY(calc((1 - var(--c4,0)) * 16px))}
.clinics__side p{font-size:16px;line-height:1.6}

/* ================= BEAT 7: services accordion + one image ================= */
.svcs{background:var(--paper);padding:clamp(96px,10vw,150px) 0}
.svcs__in{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:clamp(40px,7vw,112px);align-items:start}
.svcs__lead{margin-top:18px;max-width:52ch}
/* review 2026-10-27: each service is a card that links to its page, arrow on the right; hover/focus shows its photo */
.svcs__go{list-style:none;margin:36px 0 0;padding:0;border-top:1px solid var(--hair)}
.svcs__go li{border-bottom:1px solid var(--hair)}
.svcs__card{display:grid;grid-template-columns:minmax(0,1fr) 24px;column-gap:24px;align-items:center;padding:22px 0;color:inherit;text-decoration:none}
.svcs__card h3{margin:0;font:600 21px/1.25 var(--hc-font-display);color:var(--ink)}
.svcs__card p{grid-column:1;margin:8px 0 0;font-size:16px;line-height:1.55;color:var(--text);max-width:48ch}
.svcs__arr{grid-column:2;grid-row:1 / span 2;width:22px;height:22px;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform 200ms var(--ease-sine)}
a.svcs__card:hover h3{color:#16508C}
a.svcs__card:hover .svcs__arr,a.svcs__card:focus-visible .svcs__arr{transform:translateX(4px)}
a.svcs__card:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.svcs__trust{list-style:none;padding:0;margin-top:32px;display:flex;flex-wrap:wrap;gap:8px 24px;font-size:14px;color:var(--mute)}
.svcs__trust li:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--blue);margin-right:8px;vertical-align:middle}
.svcs__ph{position:sticky;top:calc(var(--header-h) + 32px);margin:0;aspect-ratio:4/5;overflow:hidden;background:#E8E2D6}
.svcs__ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.03);transition:opacity 700ms var(--ease-sine),transform 1200ms var(--ease-sine)}
.svcs__ph img.is-on{opacity:1;transform:none}

/* ================= BEAT 8: the one dark section ================= */
.final{position:relative;background:#0B1622;color:#C9D4E0;overflow:hidden;padding:clamp(72px,8vw,120px) 0 clamp(80px,9vw,140px)}
.final__in{position:relative;max-width:var(--max);margin:0 auto;padding:0 var(--side);display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,80px);align-items:end}
.final__word{grid-column:1/-1;text-align:center;font:700 clamp(84px,17vw,260px)/.9 var(--hc-font-display);letter-spacing:-.05em;
 background:linear-gradient(180deg,#E8EEF5 0%,#7FA3C6 70%,rgba(127,163,198,.25) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
 opacity:var(--f1,0);transform:translateY(calc((1 - var(--f1,0)) * 40px));will-change:opacity,transform}
.final__map{grid-column:1/-1;width:100%;max-width:900px;height:auto;margin:-7vw auto 0;opacity:var(--f2,0);transform:translateY(calc((1 - var(--f2,0)) * 60px))}
.final__map path,.final__map line,.final__map polyline{fill:none;stroke:#7FA3C6;stroke-width:1.2;vector-effect:non-scaling-stroke}
.final__map .river{stroke:#7FB2E5;stroke-width:2}
.final__map .street{stroke:rgba(127,163,198,.35)}
.final__map .pin{fill:#fff;stroke:none}
.final__map .pin-ring{fill:none;stroke:#fff;opacity:.5}
.final__map text{font:500 11px var(--mono);letter-spacing:.12em;fill:#C9D4E0;text-transform:uppercase}
.final__copy{align-self:start;padding-top:12px}
/* Contact page: no big word / map (owner, 2026-10-15). The form card and copy line up at the top instead of the bottom.
   Desktop (owner, 2026-11-11, no empty panel beside the form): heading and line left, the three details side by side
   right, in one row above the form; the form below at the full width. Phones keep the stacked layout. */
@media (min-width:761px) and (not ((orientation:portrait) and (max-width:1100px))){
 .final--plain .final__in{grid-template-columns:minmax(0,1fr);row-gap:clamp(32px,4vw,48px)}
 .final--plain .final__copy{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(32px,5vw,80px);align-items:end}
 .final--plain .final__copy>.eb,.final--plain .final__copy>.h2,.final--plain .final__copy>p,.final--plain .final__copy>.final__q{grid-column:1}
 .final--plain .final__info{grid-column:2;grid-row:1 / span 4;margin:0;grid-template-columns:repeat(3,auto);justify-content:space-between;column-gap:24px;align-self:end}
}
.final--plain .final__in{align-items:start}
.final--plain .final__copy{padding-top:0}
.final__copy>p{margin-top:16px;max-width:44ch}
.final__info{margin-top:32px;display:grid;gap:16px}
.final__info dt{font:500 11px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#9FB3C8}
.final__info dd{margin:4px 0 0;font:600 17px var(--hc-font-display);color:#fff}
.final__info a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-decoration-color:rgba(159,195,234,.55);text-decoration-thickness:1px;text-underline-offset:4px} /* tap to call / email (Nov 10 review) */
@media (hover:hover) and (pointer:fine){.final__info a:hover{text-decoration-color:currentColor}}
.final__card{opacity:var(--f3,0);transform:translateX(calc((1 - var(--f3,0)) * 120px)) rotate(calc((1 - var(--f3,0)) * 4deg))}
/* the title-block form (from v4), on a paper card */
.final__card .tb__form{background:var(--paper);color:var(--text);box-shadow:0 40px 80px -30px rgba(0,0,0,.6)}
.tb__form{grid-column:6/13;position:relative;background:#fff;border:2px solid var(--navy);border-bottom:0;margin-right:calc(var(--sheet-inset) - 0px)}
.tb__head{display:flex;justify-content:space-between;gap:12px;padding:10px 16px;border-bottom:2px solid var(--navy);color:var(--navy);margin:0}
.tb__grid{display:grid;grid-template-columns:repeat(6,1fr)}
.tb__f{border:0;margin:0;padding:12px 16px 16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:4px;min-width:0}
.tb__f .mono{color:var(--mute);font-size:10.5px}
.tb__f--1{grid-column:span 1}.tb__f--2{grid-column:span 2}.tb__f--3{grid-column:span 3}.tb__f--4{grid-column:span 4}.tb__f--6{grid-column:span 6}
.tb__f label,.tb__f legend{font:600 13px var(--hc-font-display);color:var(--navy);padding:0;margin:0 0 6px}
.tb__f legend{float:left;width:100%}
.tb__f input,.tb__f select,.tb__f textarea{font:400 16px var(--hc-font-body);color:var(--navy);border:1px solid #B9C6D4;border-radius:2px;background:#fff;padding:10px 12px;min-height:44px;width:100%;transition:border-color 160ms ease,box-shadow 160ms ease}
.tb__f input:focus,.tb__f select:focus,.tb__f textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(31,111,191,.18)}
.tb__f [aria-invalid=true]{border-color:#B3261E}
.tb__chips{display:flex;flex-wrap:wrap;gap:8px;clear:both}
.tb__chips label{margin:0;font:400 14px var(--hc-font-body);cursor:pointer}
.tb__chips input{position:absolute;opacity:0;width:1px;height:1px}
.tb__chips span{display:inline-flex;align-items:center;min-height:44px;border:1px solid #B9C6D4;padding:0 13px;color:var(--navy);transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease}
.tb__chips input:checked+span{border-color:var(--blue);background:#EAF2FB;color:var(--blue);font-weight:600}
.tb__chips input:focus-visible+span{outline:2px solid var(--blue);outline-offset:2px}
.tb__err{margin:0;font-size:14px;color:#B3261E}
.tb__err:empty{display:none}
p.tb__err.tb__f--6{grid-column:1/-1;padding:8px 16px;border-bottom:1px solid var(--line)}
.tb__foot{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px}
.tb__fixed{display:flex;gap:20px;color:var(--mute)}
.tb__stamp{position:absolute;left:150px;bottom:56px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 18px;border:2px solid var(--blue);color:var(--blue);
 font:700 15px var(--mono);letter-spacing:.14em;text-transform:uppercase;transform:rotate(-4deg) scale(1.04);opacity:0;pointer-events:none;background:rgba(255,255,255,.88)}
.tb__stamp time{font-size:12px;font-weight:600}
.tb__form.is-issued .tb__stamp{opacity:1;transform:rotate(-4deg) scale(1);transition:opacity 120ms ease,transform 200ms var(--hc-ease-out)}
.tb__sent{margin:0;padding:0 16px;font-size:15px;color:var(--navy)}
.tb__sent:empty{display:none}
.tb__sent:not(:empty){padding-bottom:12px}
.tb__proto{margin:0;padding:0 16px 14px;font-size:13px;color:var(--mute)}
.tb__news{display:flex;gap:10px;align-items:flex-start;padding:12px 16px;border-bottom:1px solid var(--line);color:var(--navy);font-size:14px;line-height:1.4;cursor:pointer}
.tb__news input{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:var(--navy)}
.tb__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.tb__stamp{left:150px}

/* footer */
.foot{background:var(--paper);color:var(--text);border-top:1px solid var(--hair)}
.foot__in{padding-top:72px;padding-bottom:32px;display:grid;grid-template-columns:5fr 7fr;gap:48px}
.foot__logo{height:40px;width:auto}
.foot__tag{font:600 20px/1.4 var(--hc-font-display);color:var(--ink);margin-top:20px;max-width:24ch}
.foot__cols{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.foot__h{font:500 12px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--mute);margin-bottom:14px}
.foot__cols a,.foot__cols span{display:block;font-size:15px;margin-bottom:10px;text-decoration:none;color:var(--text)}
.foot__social{display:flex;gap:10px;list-style:none;margin:6px 0 0;padding:0}
.foot__social a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;border:1px solid var(--hair);border-radius:50%;color:var(--ink);transition:color .2s,border-color .2s,background-color .2s}
.foot__social a:hover,.foot__social a:focus-visible{color:var(--paper);background:var(--ink);border-color:var(--ink)}
.foot__bot{grid-column:1/-1;display:flex;justify-content:space-between;padding-top:24px;border-top:1px solid var(--hair);font-size:14px;color:var(--mute)}
.pbar{display:none}

/* ================= phone ================= */
@media (max-width:760px) and (max-height:740px){.door__eyebrow{display:none}}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 :root{--header-h:64px;--side:20px}
 body{font-size:16px;padding-bottom:calc(67px + env(safe-area-inset-bottom))}
 /* review round 3 (M): the footer's last line sits 16px above the quick-actions bar (67px: 10 + 46 + 10 + its 1px line);
    the homepage's bar is always off at the bottom (it stays away from the form), so there the line is simply last */
 .foot__in{padding-bottom:16px}
 html.st body{padding-bottom:env(safe-area-inset-bottom)}
 /* phone hero: the drawing is centred on the screen (35.2vw tall); main.js pads the top so the two halves sit just above and below it */
 .door__hero{inset:0 var(--side) 16px;grid-template-rows:auto auto calc(35.2vw + 24px) auto auto 1fr}
 .door__eyebrow{grid-row:1;transform:translateY(calc(var(--b1,0) * -30vh))}.door__h1a{grid-row:2;margin-top:12px}.door__h1b{grid-row:4}
 .door__ctas{grid-row:5;position:static;margin-top:20px;transform:translateY(calc(var(--b1,0) * 30vh))} /* the eyebrow and buttons travel with their halves */
 .door__h1a,.door__h1b{font-size:calc(var(--hero-h1) * clamp(30px,8.6vw,38px));max-width:12ch}
 .door__h1a{transform:translateY(calc(var(--b1,0) * -30vh))}
 .door__h1b{transform:translateY(calc(var(--b1,0) * 30vh))}
 .door__ctas{flex-direction:column;align-items:stretch}
 .door__track{height:160svh}
 .door__card{left:var(--side);right:var(--side);width:auto;bottom:calc(84px + env(safe-area-inset-bottom));padding:18px 20px 20px}
 .door__sub{font-size:16px}
 .door__ph{font-size:18px}
 .door__steps p{font-size:14.5px}
 /* phone: no pin here; the drawing turns into the photo as it scrolls through, the facts follow in normal flow */
 .clinics{height:auto}
 .clinics__pin{position:relative;height:auto;display:block;overflow:visible;padding:72px var(--side) 64px}
 .clinics__h{position:static;font-size:clamp(46px,13vw,64px);margin-bottom:28px}
 .clinics__obj{position:relative;left:auto;bottom:auto;width:100%;height:auto;aspect-ratio:16/10;max-width:560px;margin:0 auto 32px;transform:translateY(calc((1 - var(--c2,0)) * 40px))}
 .clinics__facts,.clinics__side{position:static;width:auto;transform:none}
 .clinics__facts{margin-bottom:28px}
 .clinics__facts dd{font-size:14px}
 .svcs__in{grid-template-columns:1fr}
 .svcs__ph{position:relative;top:auto;order:-1;aspect-ratio:4/3}
 .final__in{grid-template-columns:1fr}
 .final__map{margin-top:-4vw}
 .final__card{transform:translateY(calc((1 - var(--f3,0)) * 60px))}
 .tb__grid{grid-template-columns:1fr}
 .tb__f,.tb__f--1,.tb__f--2,.tb__f--3,.tb__f--4,.tb__f--6{grid-column:1/-1;border-right:0}
 .tb__head{flex-direction:column;gap:2px}
 .tb__foot{flex-direction:column-reverse;align-items:stretch}
 .tb__foot .hc-btn{width:100%}
 .tb__stamp{left:auto;right:16px;bottom:150px}
 .foot__in{grid-template-columns:1fr}.foot__cols{grid-template-columns:1fr 1fr}
 .pbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:70;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(247,244,238,.97);border-top:1px solid var(--hair)}
 .pbar .hc-btn{min-height:46px;padding:0 8px;font-size:14px}
 .pbar{transform:translateY(110%);visibility:hidden;transition:transform .35s var(--ease-sine),visibility 0s .35s}
 .pbar.is-shown{transform:none;visibility:visible;transition:transform .35s var(--ease-sine)}
}

/* ================= reduced motion: no scrubbing, everything visible ================= */
html.rm .door__copy{position:relative;height:auto;margin-top:0;pointer-events:auto;background:var(--paper)}
html.rm .door__track{display:none}
html.rm .door__hero{position:relative;inset:auto;left:auto;top:auto;bottom:auto;width:auto;transform:none;max-width:var(--max);margin:0 auto;padding:48px var(--side);opacity:1;filter:none}
html.rm .door__hero{display:block}
html.rm .door__h1a,html.rm .door__h1b{transform:none;opacity:1;text-align:left;margin:0;justify-self:start}
html.rm .door__ctas{position:static;margin-top:28px;opacity:1}
html.rm .clinics{height:auto}
html.rm .clinics__pin{position:relative;height:auto;display:block;padding:96px var(--side)}
html.rm .clinics__h,html.rm .clinics__facts,html.rm .clinics__side{position:static;width:auto;margin:0 auto 32px;max-width:var(--max)}
html.rm .clinics__h .l1,html.rm .clinics__h .l2{opacity:1;transform:none}
html.rm .clinics__obj{position:relative;left:auto;bottom:auto;width:min(100%,900px);height:auto;aspect-ratio:16/10;transform:none;margin:0 auto 32px}
html.rm .clinics__photo{opacity:1;filter:none}
html.rm .clinics__facts,html.rm .clinics__side,html.rm .final__card{opacity:1;transform:none}
html.rm .final__word,html.rm .final__map{opacity:1;filter:none;transform:none}
html.rm .door__stage{display:none}
html.rm .door__card{position:relative;left:auto;right:auto;bottom:auto;width:auto;max-width:var(--max);margin:0 auto 48px;opacity:1;transform:none;display:block;background:none;border:0;box-shadow:none;padding:0 var(--side)}
html.rm .door__sub,html.rm .door__process{opacity:1;filter:none;margin-bottom:32px}
html.rm .door__plead{display:block;margin-top:10px}
html.rm .door__steps li{opacity:1;transform:none;filter:none}
html.rm .door__steps{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}
html.rm .door__steps li{grid-area:auto}
html.rm .door__still{max-width:var(--max);margin:0 auto 40px;padding:0 var(--side)}
html.rm .door__still img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:50% 60%;border:1px solid var(--hair);background:var(--paper)}
html.rm .door__still img[src*="v8-plan"]{object-fit:contain}
html.rm .clinics__plan{opacity:0}
.hc-nav__util{position:relative;z-index:60}
.clinics__side:focus-within,.clinics__facts:focus-within{opacity:1;transform:none}
.hc-nav__menu .hc-nav__btn--p{color:#fff}
.clinics__facts dd.clinics__case{font:700 clamp(20px,1.6vw,24px)/1.2 var(--hc-font-display);letter-spacing:-.01em;margin-top:8px}
html.rm .svcs__ph img{transition:none}
html.rm .svcs__arr{transition:none}
/* perf: the bar is 96% white already; a backdrop blur over the moving scene costs a repaint every frame, so drop it */
.hc-nav__bar{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}

/* only phone stations (html.st) use the notes, the station spacers and the compact list */
.door__notes,.door__step,.door__flow{display:none}

/* ================= v10 phone: one canvas, edge to edge (html.st). The scene fills the screen above the offer bar
   with no box, border or seam (the canvas paper is the page paper). Each station's note sits on the sheet, in the
   paper the composition leaves for it, and arrives with the play. Four scroll spacers, about one swipe each, drive the
   stations (main.js → v9:station). After Handover, the Medical & dental section rises over the pinned canvas and the scene
   morphs the photo into its image. ================= */
html.st{--stage-h:calc(100svh - 72px - env(safe-area-inset-bottom))}
html.st .door{z-index:1}
html.st .door__stage{position:sticky;top:0;height:var(--stage-h);background:transparent;border:0}
html.st .door__copy{position:sticky;top:0;height:var(--stage-h);margin-top:calc(-1 * var(--stage-h));pointer-events:none}
html.st .door__track,html.st .door__card{display:none}
html.st .door__step{display:block;height:68svh;scroll-snap-align:end}
html.st .door__flow{display:block;height:calc(var(--stage-h) + 40px)} /* = the clinics overlap below */
/* station 0: the H1 above the elevation (8-30% of the frame), the buttons under it (60-75%) */
html.st .door__hero{position:absolute;inset:0 var(--side);display:block;padding:0}
html.st .door__eyebrow{position:absolute;top:5%;left:0;margin:0;transform:none}
html.st .door__h1a,html.st .door__h1b{display:block;transform:none;text-align:left;justify-self:start;margin:0;max-width:none;font-size:calc(var(--hero-h1) * clamp(26px,7.4vw,32px))}
html.st .door__h1a{margin-top:calc(var(--stage-h) * .08)}
html.st .door__ctas{position:absolute;left:0;right:0;top:61%;margin:0;transform:none}
/* once Medical & dental starts rising, the station notes and the sheet index step aside */
/* the station notes: a drawing note block in the lower part of the sheet */
html.st .door__notes{display:block;position:absolute;inset:0}
/* the notes, the gradient, the ticks and the hero are faded by main.js (a short time-based tween on the page's one rAF),
   not by CSS transitions: same look, and no extra compositor animations while the canvas plays */
html.st .note{will-change:opacity,transform;position:absolute;left:var(--side);right:calc(var(--side) + 18px);bottom:5%;padding-top:12px;border-top:1px solid rgba(14,34,53,.45);opacity:0;transform:translateY(8px)}
html.st .note__eb{font:500 12px var(--mono);letter-spacing:.14em;color:#16508C} /* darker blue: ≥4.5:1 over the photo floor too */
html.st .note__t{margin-top:6px;font:700 22px/1.2 var(--hc-font-display);color:var(--ink);letter-spacing:-.01em}
html.st .note__l{margin-top:6px;font-size:15px;line-height:1.5;color:var(--ink);max-width:34ch}
/* the photo stations (Build, Handover): a soft paper gradient under the note so it reads at AA over the floor */
html.st .door__fade{will-change:opacity;position:absolute;left:0;right:0;bottom:0;height:38%;background:linear-gradient(to bottom,rgba(247,244,238,0) 0%,rgba(247,244,238,.86) 38%,rgba(247,244,238,.94) 100%);opacity:0}
/* the sheet index: five ticks at the right edge; the current one is longer and in ink */
html.st .door__ticks{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:grid;gap:9px;justify-items:end}
html.st .door__ticks i{display:block;width:8px;height:2px;background:rgba(14,34,53,.3);transform-origin:right}
html.st .door__ticks i.is-on{background:var(--ink)}
/* gentle snap: one swipe = one station; a hard flick can still leave the story */
html.st{scroll-snap-type:y proximity;scroll-padding-top:0}
/* flow out: Medical & dental comes up over the last screen of the pinned canvas. On phone the image comes first: the scene
   shrinks the photo into the image's place (then fades the canvas to reveal clinic.jpg underneath), while the heading,
   the case and the paragraph rise below it over the paper, above the canvas */
html.st .clinics{margin-top:calc(-1 * var(--stage-h) - 40px);background:transparent}
html.st .clinics__pin{display:flex;flex-direction:column;background:transparent;padding-top:24px}
html.st .clinics__obj{order:-1;transform:none;margin-bottom:28px}
.clinics__flowimg{display:none}
/* the M&D image on phone is the reception photo itself: the scene's last frame shrinks into it, pixel for pixel (the scene) */
html.st .clinics__flowimg{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;z-index:1}
html.st .clinics__h,html.st .clinics__facts,html.st .clinics__side{position:relative;z-index:4;left:auto;right:auto;top:auto;bottom:auto}
/* the compact list of the full steps, right after the story */
.steps__in{max-width:var(--max);margin:0 auto;padding:0 var(--side)}
.steps__sub{font:500 18px/1.55 var(--hc-font-display);color:var(--ink)}
.steps__lead{margin-top:10px;color:var(--text);font-size:16px}
.steps__list{list-style:none;padding:0;margin-top:20px}
.steps__list li{padding:16px 0;border-top:1px solid var(--hair)}
.steps__list .n{display:block;font:500 12px var(--mono);letter-spacing:.12em;color:var(--blue);margin-bottom:4px}
.steps__list h3{font-size:19px;color:var(--ink);margin-bottom:4px}
.steps__list p{font-size:16px;line-height:1.55;color:var(--text)}
/* reduced motion on phone: same layout, no transitions (the scene's scene jumps to each station) */
html.st .door__hero{will-change:opacity}
html.st .clinics__photo,html.st .clinics__plan{display:none} /* phone: the card is the reception photo only */
html.st .clinics__obj{background:transparent;box-shadow:none}

/* v10.1 */
.door__hsub{display:none} /* desktop keeps the subhead in the scene's card */
/* 2b: under the H1 it runs into the elevation drawing at every phone width, and there's no room under the buttons, so on
   phone it's dropped (lead's option). It can come back under the H1 if the hero elevation sits ~10% lower */
html.st .door__hsub{display:none}
/* 2a: the Medical & dental heading fits a 360-412px phone ("clinics" was clipped at the right edge) */
html.st .clinics__h{font-size:clamp(36px,11.2vw,56px);letter-spacing:-.04em;overflow-wrap:normal}
/* 3: the compact list after the story. Four rows: a small thumbnail of that station's end frame, the step number,
   title and one line; tap to open the full approved paragraph (grid rows 0fr → 1fr, like the house accordion) */
.steps .sx{list-style:none;padding:0;margin-top:20px;border-bottom:1px solid var(--hair)}
.sx__row{border-top:1px solid var(--hair)}
.sx__h{margin:0;font-size:inherit}
.sx__btn{all:unset;box-sizing:border-box;width:100%;display:grid;grid-template-columns:72px 1fr 16px;gap:14px;align-items:center;padding:14px 0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sx__btn:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.sx__th{display:block;width:72px;height:90px;object-fit:cover;border:1px solid var(--hair);background:var(--paper)}
.sx__txt{display:grid;gap:2px;min-width:0;font-weight:400}
.sx__n{font:500 12px var(--mono);letter-spacing:.12em;color:#16508C}
.sx__t{font:700 18px/1.25 var(--hc-font-display);color:var(--ink)}
.sx__l{font:400 14px/1.45 var(--hc-font-body,inherit);color:var(--text)}
.sx__pm{position:relative;width:14px;height:14px;justify-self:end}
.sx__pm:before,.sx__pm:after{content:"";position:absolute;left:0;top:6px;width:14px;height:2px;background:var(--blue);transition:transform .25s var(--ease-sine)}
.sx__pm:after{transform:rotate(90deg)}
.sx__row.is-open .sx__pm:after{transform:rotate(0)}
.sx__p{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s var(--ease-sine)}
.sx__p>div{overflow:hidden;visibility:hidden;transition:visibility 0s .25s}
.sx__p p{margin:0;padding:0 0 16px 86px;font-size:16px;line-height:1.55;color:var(--text)}
.sx__row.is-open .sx__p{grid-template-rows:1fr}
.sx__row.is-open .sx__p>div{visibility:visible;transition:none}
@media (prefers-reduced-motion:reduce){.sx__p,.sx__pm:before,.sx__pm:after{transition:none}}

/* v10.2: play once, then collapse ("told"). After the flow-out the story folds away: the top of the page is a static
   hero (the scene's station-0 frame + H1 + buttons, no pin, no canvas), then the compact list, then Medical & dental.
   Reduced motion and short phones start this way. main.js keeps the visitor's place when it switches (anchor + scrollTo) */
.door__hero0{display:none}
html.st{overflow-anchor:none} /* the page does its own anchoring at the switch */
html.st.told{scroll-snap-type:none}
html.st.told .door__stage{position:relative}
html.st.told .door__hero0{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
html.st.told .door__step,html.st.told .door__flow,html.st.told .door__notes{display:none}
html.st.told .door__hero{opacity:1!important;visibility:visible!important}
html.st.told .clinics{margin-top:0}
html.st.told .clinics__pin{padding-top:48px}
/* "Medical & dental clinics" about 10% smaller on phone, so "clinics" has room at the edge (an Android volume slider sat on it) */
html.st .clinics__h{font-size:clamp(32px,10vw,50px)}
html.st.told{--stage-h:max(calc(100svh - 72px - env(safe-area-inset-bottom)),600px)} /* short phones: the static hero keeps room for the H1 above the drawing */

/* v10.2: the curtain intro (from v6, phone only). Navy sheet, logo + caption, the grid gathers into one line, the
   curtain closes over the logo, then the sheet closes onto the line and the line lands on the elevation's ground line */
#intro{display:none}
.intro-run #intro{display:flex;position:fixed;inset:0;z-index:200;align-items:center;justify-content:center;background:#0E2235;
 animation:intro-failsafe 1ms linear 5000ms forwards} /* never trap the page if the script fails */
@keyframes intro-failsafe{to{visibility:hidden;opacity:0}}
#intro .grid{position:absolute;inset:0;pointer-events:none;z-index:3}
#intro .grid i{position:absolute;background:#7FB2E5;opacity:.16}
#intro .grid i.h{left:0;right:0;height:1px}
#intro .grid i.v{top:0;bottom:0;width:1px}
#intro .seed1{position:absolute;left:0;top:50%;width:100%;height:1px;z-index:4;background:#7FB2E5;opacity:0;transform-origin:0 50%}
#intro .curtain{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:1;padding:0 16px}
#intro .cover{position:absolute;left:0;right:0;background:#0E2235;z-index:2;pointer-events:none}
.intro-in{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:18px;width:100%;text-align:center}
#intro img{height:60px;width:auto;filter:brightness(0) invert(1);opacity:0}
#intro .dim{position:relative;display:block;width:220px;height:9px}
#intro .dim .ln{position:absolute;left:0;right:0;top:4px;height:1px;background:#7FB2E5;transform:scaleX(0)}
#intro .dim .tk{position:absolute;top:0;width:1px;height:9px;background:#7FB2E5;opacity:0}
#intro .dim .l{left:0}#intro .dim .r{right:0}
#intro .intro-cap{font:600 11px var(--hc-font-display);letter-spacing:.05em;margin-right:-.05em;text-transform:uppercase;color:#9CB8D6;opacity:0;white-space:nowrap}
.intro-line{position:fixed;left:0;top:0;width:100%;height:1px;z-index:201;background:#7FB2E5;transform-origin:0 50%;pointer-events:none}
/* the hero copy waits under the sheet, then rises in (500ms, 60ms stagger) shortly after the line lands */
html.intro-run:not(.hero-go){overflow:hidden}
html.intro-run .door__eyebrow,html.intro-run .door__h1a,html.intro-run .door__h1b,html.intro-run .door__ctas{opacity:0;translate:0 16px}
html.intro-run.hero-go .door__eyebrow,html.intro-run.hero-go .door__h1a,html.intro-run.hero-go .door__h1b,html.intro-run.hero-go .door__ctas{opacity:1;translate:0 0;transition:opacity .5s cubic-bezier(.23,1,.32,1),translate .5s cubic-bezier(.23,1,.32,1)}
html.intro-run.hero-go .door__h1a{transition-delay:60ms}html.intro-run.hero-go .door__h1b{transition-delay:120ms}html.intro-run.hero-go .door__ctas{transition-delay:200ms}
html.st.told .door__stage canvas{display:none} /* hidden at the switch; the scene frees it when the browser is idle */

/* v10.2 lead fix (2026-10-09, owner: "the white space here is a bit much"): after the collapse, the static hero ends
   40px under its buttons instead of keeping the full story-frame height. The station-0 image keeps its full-frame size
   anchored to the top, so the drawing and H1 sit exactly where they were; only the empty paper below is cropped, and the
   crop edge fades into the page so there's no seam. */
html.st.told{--full-h:max(calc(100svh - 72px - env(safe-area-inset-bottom)),600px);--stage-h:calc(var(--full-h) * .61 + 148px)}
html.st.told .door__hero0{inset:0 0 auto 0;height:var(--full-h);-webkit-mask-image:linear-gradient(#000 calc(100% - 140px),transparent calc(100% - 60px));mask-image:linear-gradient(#000 calc(100% - 140px),transparent calc(100% - 60px))}
html.st.told .door__ctas{top:calc(var(--full-h) * .61)}
html.st.told .door__h1a{margin-top:calc(var(--full-h) * .08)}
/* the one AI disclosure (owner, 2026-10-09): a quiet line under the copyright */

/* ================= v11: the page after the hero flows as one system =================
   One heading scale (mono eyebrow + one H2 size) and one section rhythm everywhere. Backgrounds alternate paper / white,
   and the only dark section is the Calgary finale */
.sec{padding:clamp(64px,8vw,112px) 0}
.eb{margin:0 0 12px;font:500 var(--hero-eb) var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#16508C} /* review round 3 (L): the hero eyebrow's size, 14px / 13px phone */
.hero-eb{font-size:var(--hero-eb)} /* the eyebrow over a page hero's H1 (see --hero-eb) */
/* a long hero eyebrow (over 36 characters) stays on one line on phones from 360px: 11px, tracking .03em (CEO 2026-11-03 picked
   11px for the Commercial page; .06em still ran 9px over at 360). Used by page heroes and the homepage hero */
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){.hero-eb--long{font-size:11px;letter-spacing:.03em}}
@media (max-width:760px){.eb--long{font-size:12px;letter-spacing:.03em}} /* section eyebrows over 33 characters (eleventy.config.js) */
@media (max-width:760px) and (min-width:360px){.hero-eb--long{white-space:nowrap}}
/* a hero eyebrow over 46 characters (e.g. Office Fit-Outs' "For professional firms, …", Nov 10 review) can't fit one line on a
   phone: it wraps into two even lines instead */
.hero-eb--wrap{text-wrap:balance;line-height:1.5}
@media (max-width:760px){.hero-eb--wrap.hero-eb--long{white-space:normal}}
.h2{margin:0;font:700 clamp(23px,2.73vw,35.5px)/1.12 var(--hc-font-display);letter-spacing:-.02em;color:var(--ink);max-width:22ch}
.final .eb{color:#9FC3EA}.final .h2{color:#fff}
.proof{background:#fff;border-top:1px solid var(--hair);border-bottom:1px solid var(--hair)}
.svcs{background:var(--paper)}
.steps{display:block;background:#fff}
.who{background:var(--paper)}
.work{background:#fff}
.work .split{align-items:center} /* the project and the review centred on each other (owner, 2026-11-11) */
.team{background:var(--paper)}
.pre{background:#fff}
.faq{background:var(--paper)}
/* 2 · proof */
.proof__in{list-style:none;margin:0 auto;padding-top:22px;padding-bottom:22px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 28px;font:600 15px var(--hc-font-display);color:var(--ink)}
.proof__in li{display:flex;align-items:center;gap:10px}
.proof__ck{width:16px;height:16px;flex:none;color:var(--blue);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* 3 · why one firm */
.svcs .h2{max-width:18ch}
.svcs__lead{margin-top:16px}
/* 4 · how */
/* heading on top, the steps full width under it (owner, 2026-11-11: no empty space under a short heading column) */
.steps__in{display:grid;grid-template-columns:minmax(0,1fr);align-items:start}
.steps__in .h2{max-width:none}
.steps__in>.sx{grid-column:auto;grid-row:auto;margin-top:clamp(24px,3vw,40px)}
.steps__lead{margin-top:16px;max-width:44ch}
/* 5 · who we build for: the clinic lead card across the top, three smaller cards under it */
.who__grid{margin-top:40px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--hair)}
.card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.card__b{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.card h3{margin:0;font:700 20px/1.25 var(--hc-font-display);color:var(--ink)}
.card p{margin:0;font-size:15px;line-height:1.55;color:var(--text)}
.card__a{margin-top:auto;padding-top:6px;font:600 15px var(--hc-font-display);color:#16508C;text-decoration:none}
.card__a:after{content:" \2192"}
.card__a:hover{text-decoration:underline}
.card--lead{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.card--lead img{height:100%;aspect-ratio:auto;min-height:320px}
.card--lead .card__b{padding:clamp(24px,3vw,40px);justify-content:center}
.card--lead h3{font-size:clamp(22px,2.2vw,28px)}
.card--lead p{font-size:16px}
/* 6 · recent work */
.work__list{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.proj{border-top:2px solid var(--ink);padding-top:18px}
.proj h3{margin:0;font:700 19px/1.3 var(--hc-font-display);color:var(--ink)}
.proj__m{margin:10px 0 8px;display:flex;gap:16px;font:500 13px var(--mono);letter-spacing:.06em;color:#16508C}
.proj p:last-child{margin:0;font-size:15px;line-height:1.55;color:var(--text)}
.work__all{margin-top:32px}
/* 7 · team + what clients say */
.team__roles{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.team__roles li{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:18px;align-items:start}
.team__ic{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#EAF0F6;grid-row:1 / span 2}
.team__ic svg{width:28px;height:28px;fill:none;stroke:var(--blue);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.team__roles h3{margin:12px 0 6px;font:700 19px var(--hc-font-display);color:var(--ink)}
.team__roles p{margin:0;font-size:15px;line-height:1.55;color:var(--text);max-width:34ch}
.revs{background:var(--paper);padding-top:0}
.revs .wrap{border-top:1px solid var(--hair);padding-top:clamp(56px,7vw,96px)}
.revs .quotes{margin-top:40px}
/* review round 3 (K): two sections on the same ground read as one big empty gap, so the second one starts with the
   reviews' hairline (inside the content width): home's sector cards -> team, and any two blocks set to the same ground */
.who+.team,.sec.bg-w+.sec.bg-w,.sec.bg-p+.sec.bg-p{padding-top:0}
.who+.team>.wrap,.sec.bg-w+.sec.bg-w>.wrap,.sec.bg-p+.sec.bg-p>.wrap{border-top:1px solid var(--hair);padding-top:clamp(56px,7vw,96px)}
.revs__act{margin:32px 0 0}
.quotes{margin-top:56px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.quote{margin:0;background:#fff;border:1px solid var(--hair);padding:24px;display:flex;flex-direction:column;gap:16px}
.quote blockquote{margin:0}
.quote blockquote p{margin:0;font-size:16px;line-height:1.6;color:var(--ink)}
.quote blockquote p:before{content:"\201C"}.quote blockquote p:after{content:"\201D"}
.quote figcaption{margin-top:auto;font-size:14px;color:var(--mute)}
.quote figcaption strong{color:var(--ink)}
/* 8 · pre-lease review */
.pre__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:center} /* words centred beside a wider card: no hole under the words (owner, 2026-11-11) */
.pre__body{margin-top:16px;max-width:48ch}
.pre__card{background:var(--paper);border:1px solid var(--hair);padding:clamp(22px,3vw,32px)}
.pre__h{margin:0 0 12px;font:700 19px var(--hc-font-display);color:var(--ink)}
.pre__list{list-style:none;margin:0 0 18px;padding:0}
.pre__list li{padding:12px 0;border-top:1px solid var(--hair);font-size:15px;line-height:1.5;color:var(--text)}
.pre__list .n{display:inline-block;width:32px;font:500 12px var(--mono);color:#16508C}
.pre__list strong{color:var(--ink)}
.pre__free{margin:0 0 14px;font:600 15px var(--hc-font-display);color:var(--ink)}
.pre__small{margin:14px 0 0;font-size:14px;color:var(--mute)}
.pre__small a{color:#16508C;text-decoration:underline;text-underline-offset:3px}
.pre__small a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
/* 9 · faq */
.faq__in{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(24px,3vw,40px);align-items:start} /* heading on top (owner, 2026-11-11) */
.faq__in .h2{max-width:none}
.faq .hc-faq__qa{border-top:1px solid var(--hair)}
.faq .hc-faq__qa:last-child{border-bottom:1px solid var(--hair)}
.faq .hc-faq__qa button{font:600 18px/1.35 var(--hc-font-display);color:var(--ink);padding:20px 0}
.faq .hc-faq__qa button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.faq .hc-faq__ans p{font-size:16px;line-height:1.6;color:var(--text)}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 .proof__in{justify-content:flex-start;flex-direction:column;align-items:flex-start;gap:10px}
 .steps__in,.pre__in,.faq__in{grid-template-columns:1fr}
 .steps__in>.sx{grid-column:auto;grid-row:auto;margin-top:20px}
 .who__grid,.work__list,.team__roles,.quotes{grid-template-columns:1fr}
 .card--lead{grid-template-columns:1fr}
 .card--lead img{min-height:0;aspect-ratio:4/3}
 .team__roles{gap:24px;margin-top:28px}
 .team__roles li{grid-template-columns:52px minmax(0,1fr);column-gap:16px}
 .team__ic{width:52px;height:52px}
 .team__ic svg{width:26px;height:26px}
 .quotes{margin-top:40px}
}
/* phone: the story's photo lands on the first "Why one firm" image, so that section comes straight after the story and
   rises over the last screen of the pinned canvas (image under the canvas, words above it). Proof follows it on phone */
html.st main{display:flex;flex-direction:column}
html.st main>.door{order:1}html.st main>.svcs{order:2}html.st main>.proof{order:3}
/* hero loop (no station hand-off): the trust bar sits right under the hero, then "Why one firm" (review 2026-11-03) */
html.st.loop main>.proof{order:2}html.st.loop main>.svcs{order:3}
/* site editor: every section after the story keeps the order it has in the page (so editors can reorder them) */
html.st main>:not(.door):not(.svcs):not(.proof){order:4}
html.st .svcs{margin-top:calc(-1 * var(--stage-h) - 40px);background:transparent;padding-top:24px}
html.st .svcs__ph{background:transparent}
html.st .svcs__list{position:relative;z-index:4}
html.st.told .svcs{margin-top:0;background:var(--paper)}
/* v11 fixes: the "How" header stays together at the top; the clinic lead card is 16:10 and balanced */
.steps__in>.steps__lead{align-self:start}
.card--lead{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
.card--lead img{height:auto;min-height:0;aspect-ratio:16/10}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){.steps__in{grid-template-rows:none}}
.steps__in{row-gap:0}

/* v11 desktop/tablet stations (html.st at ≥761px): the same story on a full-bleed landscape stage. The H1 splits around
   the elevation as on v8's desktop hero; each station's note sits in the left third; the plan/room is framed right of centre */
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 html.st{--stage-h:100svh}
 html.st .door__hero{inset:0;max-width:var(--max);margin:0 auto;padding:0 var(--side)}
 html.st .door__eyebrow{top:3.5%;left:var(--side)}
 html.st .door__h1a,html.st .door__h1b{position:absolute;font-size:calc(var(--hero-h1) * clamp(36px,4.6vw,68px));line-height:1.04}
 html.st .door__h1a{top:7%;left:var(--side);max-width:21ch;margin:0}
 html.st .door__h1b{bottom:12%;right:var(--side);text-align:right;justify-self:auto;max-width:19ch}
 html.st .door__ctas{top:auto;bottom:12%;left:var(--side);right:auto;flex-direction:row}
 html.st .door__ctas{display:grid;grid-auto-flow:column;grid-auto-columns:1fr} /* review round 4: both hero buttons the same size (the wider label's) */
 html.st .note{left:max(var(--side),calc((100vw - var(--max)) / 2 + var(--side)));right:auto;width:min(400px,29vw);bottom:10%}
 html.st .note__t{font-size:26px}
 html.st .note__l{font-size:16px}
 html.st .door__fade{left:0;top:0;bottom:0;right:auto;width:44%;height:auto;background:linear-gradient(to right,rgba(247,244,238,.94) 0%,rgba(247,244,238,.86) 62%,rgba(247,244,238,0) 100%)}
 html.st .door__ticks{right:18px}
 html.st.told{--full-h:100svh;--stage-h:100svh}
 html.st.told .door__ctas{top:auto}
 html.st.told .door__h1a{margin-top:0}
}

/* v11 desktop stations: the stage sits under the header (main.js), so the hero is laid out below --hero-top */
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 html.st .door__eyebrow{top:calc(var(--hero-top,0px) + 22px)}
 html.st .door__h1a{top:calc(var(--hero-top,0px) + 46px);font-size:calc(var(--hero-h1) * clamp(34px,4.2vw,62px))}
 html.st .door__h1b{bottom:7%;font-size:calc(var(--hero-h1) * clamp(34px,4.2vw,62px))}
 html.st .door__ctas{bottom:7%}
 /* flow-out: the words sit under the canvas and the shrinking photo reveals them (on phone they're below the image) */
 html.st .svcs__list{z-index:auto}
}
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 /* each H1 half on one line on desktop, so the first clears the roof (the scene: roof at 30% of the stage) */
 html.st .door__h1a,html.st .door__h1b{max-width:none;white-space:nowrap;font-size:calc(var(--hero-h1) * clamp(30px,3.9vw,58px))}
}
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 /* the H1's second half sits above the buttons, right-aligned; the buttons stay bottom-left */
 html.st .door__h1b{bottom:calc(7% + 76px)}
}
/* no snap on desktop/tablet: with a mouse wheel each notch was pulled back to the nearest station, so the story could
   trap the visitor (found in QA). The stations still trigger from the scroll position (main.js, with hysteresis) */
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){html.st{scroll-snap-type:none}}
/* phone: the clinic lead card stacks (image full width on top, then heading, text, link). The 3fr/2fr desktop split
   above comes later in the file, so it needs its own phone override here */
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 .card--lead{grid-template-columns:1fr}
 .card--lead img{aspect-ratio:4/3;height:auto}
 .card--lead .card__b{padding:20px 22px 22px}
}
/* v11 intro option A: the lockup stands on the ground line (positioned by intro.js), 1.25x */
#intro.intro--a .curtain{display:block}
#intro.intro--a .intro-in{position:static;display:block;width:auto}
#intro.intro--a img{position:fixed;left:50%;height:min(75px,calc((100vw - 48px) * .2316));transform:translate(-50%,-100%);margin:0}
#intro.intro--a .intro-cap{position:fixed;left:0;right:0;text-align:center;font-size:15px;line-height:1.2;letter-spacing:.2em;margin:0;white-space:nowrap;padding:0}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){#intro.intro--a .intro-cap{font-size:clamp(11px,2.95vw,12px);letter-spacing:.06em}}
/* intro A, v6 rhythm: the curtain panels sit above the grid so their sweep reads; the line is above everything */
#intro.intro--a .cover{z-index:4;will-change:transform}
#intro.intro--a .grid{z-index:1}
/* intro, v6 lockup on the ground line (owner 20:24): v6 sizes; positioned by intro.js so the line is the ground line */
#intro.intro--v6 .curtain{display:block}
#intro.intro--v6 .intro-in{position:static;display:block;width:auto}
#intro.intro--v6 img{position:fixed;left:50%;height:60px;width:auto;transform:translate(-50%,-100%);margin:0}
#intro.intro--v6 .intro-cap{position:fixed;left:0;right:0;text-align:center;font:600 12px var(--hc-font-display);letter-spacing:.22em;margin:0;white-space:nowrap}
#intro.intro--v6 .cover{z-index:4;will-change:transform}
#intro.intro--v6 .grid{z-index:1}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){#intro.intro--v6 .intro-cap{font-size:11px;letter-spacing:.05em}}

@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 /* the H1 halves scale with the screen's height too, so the first half clears the roof on short desktops (1280x720) */
 html.st .door__h1a,html.st .door__h1b{font-size:calc(var(--hero-h1) * clamp(30px,min(3.9vw,6.1vh),58px))}
}
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 html.st .door__eyebrow{top:calc(var(--hero-top,0px) + 14px + var(--hero-dy,0px))}
 html.st .door__h1a{top:calc(var(--hero-top,0px) + 34px + var(--hero-dy,0px))} /* --hero-dy: main.js deskHero, wide screens only */
 html.st .door__h1a,html.st .door__h1b{font-size:calc(var(--hero-h1) * clamp(28px,min(3.9vw,5.6vh),58px))}
}
/* the "Calgary" word: the background-clip box ended at line-height .9, so the g and y descenders were cut on a straight
   edge. The box now reaches under the descenders (padding, given back with a negative margin so nothing moves) and the
   bottom third of the word fades into the navy instead (owner) */
.final__word{padding-bottom:.24em;margin-bottom:-.24em;
 -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 52%,rgba(0,0,0,.35) 78%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 52%,rgba(0,0,0,.35) 78%,transparent 100%)}
/* v11 step marker (owner: the old ticks were too faint): a paper pill at the right edge, so it reads on the drawing and
   on the photo alike; every step is a button; the current step shows its number, name and a long ink tick */
.door__nav{display:none}
html.st .door__ticks{display:none}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 /* one swipe = one station: mandatory snap with snap-stop, only while inside the story (never traps the rest of the page) */
 html.st.in-story{scroll-snap-type:y mandatory}
 html.st .door__step{scroll-snap-stop:always}
 html.st.in-story .svcs{scroll-snap-align:start;scroll-snap-stop:always}
 .snap0{position:absolute;top:0;left:0;width:1px;height:1px;scroll-snap-align:start;scroll-snap-stop:always;pointer-events:none}
}
.intro-seg{position:fixed;z-index:201;pointer-events:none;display:none}
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 /* the step marker sits at the top of the left column; the notes are centred in it, below the marker */
 /* desktop station notes (owner 21:14): bigger, and centred in the left column instead of anchored to the bottom.
    main.js sets each note's top (centred, never above the marker) */
 html.st .note{bottom:auto;top:50%;width:min(460px,31vw)}
 html.st .note__eb{font-size:14px}
 html.st .note__t{font-size:clamp(30px,2.9vw,42px);line-height:1.12;margin-top:8px}
 html.st .note__l{font-size:clamp(17px,1.46vw,21px);line-height:1.5;max-width:34ch;margin-top:10px}
}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 /* phone H1 (owner 21:36): one flowing sentence, balanced, 3-4 lines at 360-430. Desktop keeps the split */
 html.st #door-h{display:block;margin-top:calc(var(--stage-h) * .08);text-wrap:balance;font:700 calc(var(--hero-h1) * clamp(26px,7.4vw,32px))/1.08 var(--hc-font-display);letter-spacing:-.03em;color:var(--door-ink)}
 html.st.told #door-h{margin-top:calc(var(--full-h) * .08)}
 html.st .door__h1a,html.st .door__h1b,html.st.told .door__h1a{display:inline;margin:0;font:inherit;letter-spacing:inherit}
}
@media (prefers-reduced-motion:reduce){.pbar,.pbar.is-shown{transition:none}}
/* (the scene 22:16) during the flow-out "Why one firm" rises over the story section, not under it */
html.st:not(.told) .svcs{position:relative;z-index:2}
/* the step marker belongs to the story only: gone once it has collapsed */
html.st.told .door__nav{display:none}
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 /* (owner 22:20) the marker without its card: ticks and labels on the paper, its left edge on the note's rule line
    (main.js sets left), both 20px higher, the note type 3px smaller */
 html.st .note__t{font-size:clamp(27px,calc(2.9vw - 3px),39px)}
 html.st .note__l{font-size:clamp(14px,calc(1.46vw - 3px),18px)}
}

@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 /* (owner 23:14) phone hero: a step smaller (3 lines at 390+), placed by main.js in a tight stack around the drawing */
 html.st #door-h,html.st.told #door-h{position:absolute;left:0;right:0;margin:0;font-size:calc(var(--hero-h1) * clamp(24px,6.9vw,29px))}
 html.st .door__ctas{display:grid;gap:12px}
 html.st .door__ctas .hc-btn{margin:0}
}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 html.st.snap-exit{scroll-snap-type:y mandatory}
 html.st.snap-exit .svcs{scroll-snap-align:start;scroll-snap-stop:always}
 /* (owner 23:20) the note's rhythm on phone: eyebrow, 4px, title, 8px, body */
 html.st .note__t{margin-top:4px}
 html.st .note__l{margin-top:8px}
}

/* the scene, decision A (lead 23:36): phone first-visit hero, the stack eyebrow > H1 > house > buttons optically centred.
   The house sits 95 frame px lower in the phone frames (m13); the hero text moves down by the same 9% of the stage.
   page: fold into your phone hero rules if you prefer; translate leaves your transforms alone. */
/* (the scene's decision-A shift removed at the scene's request, 23:48: main.js places the phone hero from the live ground) */
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 /* (owner 23:43) leaving the story on phone lands on "Why one firm"'s eyebrow, 24px below the top of the screen */
 html.st.snap-exit .svcs{scroll-snap-align:none;scroll-snap-stop:normal}
 html.st.snap-exit .svcs .eb{scroll-snap-align:start;scroll-snap-stop:always;scroll-margin-top:24px}
}
html.st.told .snap0{display:none}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 /* (owner 23:47) the phone H1 bigger again: ~34-35px at 411, 3 balanced lines (4 at most at 360) */
 html.st #door-h,html.st.told #door-h{font-size:calc(var(--hero-h1) * clamp(26px,7.2vw,31px))} /* the largest that keeps 3 lines at 390-430 (measured: 31px max at 411) */
}
html.st.exiting,html.st.gliding{scroll-snap-type:none!important}
/* portrait tablets / phones in "desktop site" mode get the phone story (lead 2026-10-10): the phone's full-width hero
   buttons would stretch to 700–980px there, so they keep a phone-like width, on the text's left edge */
@media (orientation:portrait) and (min-width:761px) and (max-width:1100px){.door__ctas{max-width:440px}}
/* …and one swipe still moves one station there: the station spacers are 68svh on phones (~530px), which is ~800px on a
   tablet and more than a swipe can carry past the snap's halfway point, so the snap pulled it back (lead 05:33) */
@media (orientation:portrait) and (min-width:761px) and (max-width:1100px){html.st .door__step{height:min(68svh,540px)}}

/* hero lead (owner, 2026-10-12). Desktop: story.lead on the buttons' row, right-aligned under the H1's second half.
   Phone: the optional short line (story.lead_short) between the drawing and the buttons. main.js (balanceHero) places
   both. Without the story (no JS, reduced motion) the lead stays in the card as before. */
.door__hshort{display:none}
html.st .door__hshort{display:block;position:absolute;left:0;right:0;margin:0;max-width:60ch;font:400 15px/1.5 var(--hc-font-body);color:var(--text);pointer-events:auto}
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 html.st .door__hshort{display:none}
 html.st .door__hsub{display:block;position:absolute;right:var(--side);margin:0 0 0 auto;max-width:60ch;text-align:right;font:400 17px/1.6 var(--hc-font-body);color:var(--text);pointer-events:auto}
}
html.st .door__hshort.is-off{visibility:hidden} /* no room on this screen: main.js keeps the buttons on it instead */
html.intro-run .door__hsub,html.intro-run .door__hshort{opacity:0;translate:0 16px}
html.intro-run.hero-go .door__hsub,html.intro-run.hero-go .door__hshort{opacity:1;translate:0 0;transition:opacity .5s cubic-bezier(.23,1,.32,1) 200ms,translate .5s cubic-bezier(.23,1,.32,1) 200ms}
/* header, 1024-1499px: the side padding stops at 64px (the page content is centred at these widths, so the logo doesn't
   line up with it anyway). The 2026-11-03 menu is shorter, so the links keep their normal size and gaps (the 7-link menu
   needed 16px gaps and 13.5px type here, fix-1280). Below 1024 the burger menu takes over (lib/navbar.css). */
@media (min-width:1024px) and (max-width:1499.98px){
 .hc-nav{--nav-pad:min(6vw,64px)}
 .hc-nav__in{gap:16px}
}

/* very narrow phones (320-380px): long button labels ("Book a Free Pre-Lease Review") wrap inside the button instead of
   pushing the page sideways (2026-10-12, owner OK) */
@media (max-width:380px){
 .hc-btn{white-space:normal;text-align:center;max-width:100%;height:auto;min-height:48px;padding-top:10px;padding-bottom:10px;line-height:1.25}
}

/* story progress scale (owner 2026-10-13, Creative's mock v4: "about 30% smaller, less noticeable"). Replaces the step
   marker. Five stops (Home + the four stations), 8px dots on a 1px line: current = Vista blue with a soft ring, passed =
   filled warm grey, ahead = empty. Desktop: a column of dots with labels, left of the building on the hero (first dot on
   the roof line), then at the top of the note column on the stations. Phone: a row of dots + the current name and n/5,
   under the building, then under the drawing. main.js places it (transform) and moves it between the two spots.
   Colours are a step darker than the mock so the labels read at 4.6:1 and the dots at 3.3:1 on the paper (WCAG AA). */
html.st .door__nav{--rl:#C9C3B6;--rd:#8C8577;--rt:#66707B;display:block;position:absolute;left:0;top:0;z-index:3;font-family:var(--hc-font-display);
 opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s,visibility 0s .4s}
html.st .door.nav-on .door__nav{opacity:1;visibility:visible;transition:opacity .4s}
html.st .door.nav-on .door__nav.placed{transition:opacity .4s,transform .55s cubic-bezier(.4,0,.2,1)}
html.intro-run:not(.hero-go) .door__nav{opacity:0!important;visibility:hidden!important} /* hidden = not tabbable or clickable while the intro plays (review 2026-10-13) */
html.intro-run:not(.hero-go) .door__nav button{pointer-events:none}
html.st .door__nav ol{list-style:none;margin:0;padding:0;position:relative}
html.st .door__nav ol:before{content:"";position:absolute;background:var(--rl)}
html.st .door__nav button{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:8px;height:24px;cursor:pointer;pointer-events:auto;color:var(--rt);font:500 9.5px/1 var(--hc-font-display);letter-spacing:.01em;white-space:nowrap}
html.st .door__nav button:hover{color:var(--ink)}
html.st .door__nav button:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:3px}
html.st .door__nav .dd{position:relative;z-index:1;flex:none;width:8px;height:8px;box-sizing:border-box;border-radius:50%;border:1px solid var(--rd);background:var(--paper);transition:background .3s,border-color .3s,box-shadow .3s}
html.st .door__nav button.is-past .dd{background:var(--rd)}
html.st .door__nav button[aria-current] .dd{background:var(--blue);border-color:var(--blue);box-shadow:0 0 0 3px rgba(31,111,191,.14)}
html.st .door__nav button[aria-current]{color:var(--ink);font-weight:600}
html.st .door__navnow{display:none}
html.st.told .door__nav{display:none}
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 html.st .door__nav ol:before{left:3.5px;width:1px;top:12px;bottom:12px}
}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 html.st .door__nav{display:flex;align-items:center;gap:8px}
 html.st .door__nav ol{display:flex}
 html.st .door__nav ol:before{top:50%;height:1px;left:12px;right:12px}
 html.st .door__nav button{width:24px;justify-content:center;gap:0} /* 24px targets (WCAG 2.5.8); the row is secondary to the swipe */
 html.st .door__nav .dl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} /* the name stays the button's label */
 html.st .door__navnow{display:block;margin:0;font:600 11px/1 var(--hc-font-display);color:var(--ink);white-space:nowrap}
 html.st .door__navnow span{margin-left:4px;font-weight:500;font-size:10px;color:var(--rt)}
 /* (owner 18:31) no "02 / 05" above the station titles on phone: the scale says where you are */
 html.st .note__eb{display:none}
 html.st .note__t{margin-top:0}
}

/* hero layout rules (owner 2026-10-13, docs/HERO-LAYOUT.md). main.js deskHero decides where the building goes; these are
   the pieces it needs. */
/* the ground line runs edge to edge: when the building is drawn smaller than the full frame, this 1-frame-px-thick line
   (at the frame's ground rows, ink) continues it past the frame's edges. The scene fades it with the move to Drawings */
html.st .door__stage:before{content:"";position:absolute;left:0;right:0;top:var(--gl-y,-99px);height:var(--gl-h,0);background:linear-gradient(transparent,#0E2235 25%,#0E2235 75%,transparent);opacity:var(--gl-o,0);pointer-events:none}
html.st.told .door__stage:before{opacity:1}
/* no room for the lead on this screen (only a window under ~560px of height after everything else has given way): it steps aside, the buttons stay */
html.st .door__hsub.is-off{visibility:hidden}
/* short windows (under 560px tall, the static hero): words in the left column, the building on the right (sideHero) */
html.st .door.hero-side .door__hero{inset:0;max-width:var(--max);margin:0 auto;padding:0 var(--side)}
html.st .door.hero-side #door-h{display:block;position:absolute;margin:0;font:700 calc(var(--hero-h1) * clamp(24px,min(2.6vw,7.5vh),40px))/1.08 var(--hc-font-display);letter-spacing:-.03em;color:var(--door-ink);text-wrap:balance}
html.st .door.hero-side .door__h1a,html.st .door.hero-side .door__h1b{position:static;display:inline;margin:0;font:inherit;letter-spacing:inherit;white-space:normal;max-width:none;text-align:left;transform:none;opacity:1}
html.st .door.hero-side .door__eyebrow{position:absolute;margin:0}
html.st .door.hero-side .door__hsub{right:auto;text-align:left;font-size:16px;line-height:1.55;max-width:none}
html.st .door.hero-side .door__ctas{position:absolute;flex-direction:row;flex-wrap:wrap}
@media (max-width:760px), (orientation:portrait) and (max-width:1100px){
 /* phone type grows on portrait tablets (width and height both count); phones keep their sizes (31px max at 430) */
 html.st #door-h,html.st.told #door-h{font-size:calc(var(--hero-h1) * clamp(26px,min(7.2vw,4.4vh),46px))}
 html.st .door__hshort{font-size:clamp(15px,2.1vw,18px)}
}
@media (min-width:761px) and (orientation:landscape), (min-width:1101px){
 /* the H1 halves and the lead keep growing on big screens (2560, ultrawide): the smaller of the width and height terms,
    so a short window never gets big type. 1440x900 is unchanged (50px / 17px) */
 html.st .door__h1a,html.st .door__h1b{font-size:calc(var(--hero-h1) * clamp(28px,min(3.9vw,5.6vh),80px))}
 html.st .door__hsub{font-size:clamp(17px,min(1vw,1.6vh),19px)} /* gently: the hero's content width stops at 1280px, so a bigger lead only wraps into more lines */
}
/* tap areas (CEO 2026-10-14): invisible hit areas, no visual or layout change. Top bar: from 10px above the link, 46px tall
   (the bar is the screen's top edge; it stops short of the logo at 48px), 12px each side (the separator gap is 29px). Footer phone + email: they sit
   30px apart, so their areas fill the 10px gap halfway each way (30px tall, never overlapping each other) */
.hc-nav__util a,.foot__cols a[href^="tel:"],.foot__cols a[href^="mailto:"]{position:relative}
.hc-nav__util a::after{content:"";position:absolute;left:-12px;right:-12px;top:-10px;height:46px}
.foot__cols a[href^="tel:"]::after,.foot__cols a[href^="mailto:"]::after{content:"";position:absolute;left:-6px;right:-6px;top:-5px;bottom:-5px}
