/* ==========================================================================
   DAICHI — homepage sections (body.atlas.atlas-home); base styles live in atlas-base.css
   One plan drawing, drawn sheet by sheet: existing → survey → plan → development.
   ========================================================================== */
/* ==========================================================================
   STAGE — sticky plan drawing with four scrolling panels laid over it
   ========================================================================== */
.atlas-stage{position:relative}
.atlas-stage__sticky{position:sticky;top:0;height:100vh;height:100svh;margin-bottom:-100vh;margin-bottom:-100svh;overflow:hidden;z-index:0;
 background-color:var(--paper);
 background-image:linear-gradient(rgba(var(--ink-rgb),.07) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--ink-rgb),.07) 1px,transparent 1px),linear-gradient(rgba(var(--ink-rgb),.035) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--ink-rgb),.035) 1px,transparent 1px);
 background-size:120px 120px,120px 120px,24px 24px,24px 24px;background-position:-1px -1px}
.atlas-plan-wrap{position:absolute;right:var(--gutter);top:96px;bottom:84px;width:51vw}
.atlas-plan{display:block;width:100%;height:100%;overflow:visible}
/* Sheet 03 in 3D (hero-3d.js): the model's canvas reaches 20% beyond the drawing on every side. */
.atlas-3d{position:absolute;left:-20%;top:-20%;width:140%;height:140%;pointer-events:none;opacity:0}
.atlas-plan.is-3d-moving{will-change:transform}
.atlas-plan.is-3d .plan__layer--plane{opacity:0} /* the model's own paper plane takes over */

/* Plan drawing — line weights follow drafting convention. */
.atlas-plan path{fill:none;stroke:var(--ink);stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.atlas-plan .heavy{stroke-width:1.6}
.atlas-plan .mid{stroke-width:1.2}
.atlas-plan .thin{stroke-width:.75}
.atlas-plan .faint{stroke-width:.7;stroke:rgba(var(--ink-rgb),.45)}
.atlas-plan .house{fill:url(#plan-hatch)}
.atlas-plan .hatch-line{stroke:rgba(var(--ink-rgb),.4);stroke-width:.8}
.atlas-plan .dash-long{stroke-dasharray:18 6}
.atlas-plan .dash-fine{stroke-dasharray:2 5}
.atlas-plan .field-edge{stroke:rgba(var(--ink-rgb),.35);stroke-dasharray:3 4}
.atlas-plan .paddy{stroke:rgba(var(--ink-rgb),.55)}
.atlas-plan .farm{stroke:rgba(var(--ink-rgb),.4)}
.atlas-plan .boundary{stroke:var(--c-survey);stroke-width:2.2}
.atlas-plan .stake{stroke:var(--c-survey-ink);stroke-width:1.2}
.atlas-plan .plan__layer--survey .solid{fill:var(--c-survey)}
.atlas-plan .plan__layer--survey .lab.mono:not(.dim){fill:var(--c-survey-ink)}
.atlas-plan .plan__layer--design .d,.atlas-plan .plan__layer--design .slope{stroke:var(--c-design)}
.atlas-plan .plan__layer--design .thin{stroke:rgba(240,138,36,.55)}
.atlas-plan .plan__layer--design .ann{fill:var(--c-design-ink)}
.atlas-plan .plan__layer--develop .road{stroke:var(--ink)}
.atlas-plan .wall{stroke-width:2.6}
.atlas-plan .slope{stroke:rgba(var(--ink-rgb),.6)}
.atlas-plan .section{stroke:var(--c-design-ink);stroke-width:1.1;stroke-dasharray:22 5 3 5}
.atlas-plan .road{stroke-width:1.4}
.atlas-plan .bldg{fill:var(--c-develop-soft);stroke:var(--c-develop-ink);stroke-width:1.2}
.atlas-plan .tree{stroke:var(--c-develop);stroke-width:1;fill:rgba(52,173,98,.18)}
.atlas-plan .solid{fill:var(--ink);stroke:none}
.atlas-plan .hollow{fill:var(--paper);stroke-width:.8}
.atlas-plan .plane-body{fill:#fff;stroke:rgba(var(--ink-rgb),.3);stroke-width:.9;stroke-linejoin:round;filter:drop-shadow(0 1px 1.5px rgba(34,52,60,.28))}
.atlas-plan .plane-shadow{fill:rgba(var(--ink-rgb),.2);stroke:none}
/* The plane climbs once, then rests at the end of its flight. */
.atlas-plan .plane-fly{opacity:0}
.atlas-plan.is-flying .plane-fly{opacity:1}
.atlas-js .atlas-plan:not(.is-rested) .plane-rest{display:none}
/* 55th anniversary seal: pressed once beside the title block (desktop only). */
.atlas-plan{--stamp:#b4452c}
.atlas-plan .plan__layer--stamp{opacity:0;transform:scale(1.5);transform-origin:640px 694px;transition:opacity .25s ease-out,transform .45s cubic-bezier(.3,1.6,.5,1)}
.atlas-plan.show-stamp .plan__layer--stamp{opacity:1;transform:none}
.atlas-plan .stamp__ring{fill:none;stroke:var(--stamp);stroke-width:2}
.atlas-plan .stamp__ring--in{stroke-width:.8}
.atlas-plan .stamp text{fill:var(--stamp);stroke:none;font-weight:700}
.atlas-plan .stamp__t{font-size:9px;letter-spacing:.12em}
.atlas-plan .stamp__n{font-size:19px;letter-spacing:0}
.atlas-plan text{fill:var(--ink);font:500 12px var(--sans);letter-spacing:.04em;paint-order:stroke;stroke:var(--paper);stroke-width:4px;stroke-linejoin:round}
.atlas-plan .mono{font-family:var(--mono);letter-spacing:.02em}
.atlas-plan .sm{font-size:10px}
.atlas-plan .big{font-size:17px}
.atlas-plan .big2{font-size:15px}
.atlas-plan .c{text-anchor:middle}
.atlas-plan .r{text-anchor:end}
.atlas-plan .v{writing-mode:vertical-rl}
.atlas-plan .lab{fill:var(--ink-2)}
.atlas-plan .val{font-size:13px;fill:var(--ink)}
.atlas-plan .faint-t{fill:rgba(var(--ink-rgb),.45)}
.atlas-plan .paddy-t{fill:rgba(var(--ink-rgb),.5);font-family:var(--display)}
.atlas-plan .sec{fill:var(--c-design-ink);font:500 16px var(--mono)}
.atlas-plan .lot{fill:var(--ink);font-size:11px}
.atlas-plan .green-t{fill:var(--c-develop-ink);font-weight:700}
.atlas-plan .road-t{fill:var(--ink-2)}

/* Draw-in: strokes trace once, labels fade. Each layer is drawn when its sheet is reached, then everything rests. */
.atlas-plan .d{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.3s var(--ease) calc(min(var(--i,0), 32) * 26ms)}
.atlas-plan .f{opacity:0;transition:opacity .7s var(--ease) calc(.25s + min(var(--i,0), 40) * 18ms)}
.atlas-plan.show-base .plan__layer--frame .d,.atlas-plan.show-base .plan__layer--base .d,.atlas-plan.show-base .plan__layer--plane .d,
.atlas-plan.show-survey .plan__layer--survey .d,.atlas-plan.show-design .plan__layer--design .d,.atlas-plan.show-develop .plan__layer--develop .d{stroke-dashoffset:0}
.atlas-plan.show-base .plan__layer--frame .f,.atlas-plan.show-base .plan__layer--base .f,.atlas-plan.show-base .plan__layer--plane .f,
.atlas-plan.show-survey .plan__layer--survey .f,.atlas-plan.show-design .plan__layer--design .f,.atlas-plan.show-develop .plan__layer--develop .f{opacity:1}
.atlas-plan .plan__layer{transition:opacity .6s var(--ease)}
.atlas-plan.show-survey .plan__layer--plane{opacity:0}
/* Later sheets put earlier working notes in the background. */
/* Existing levels and their section lines (.exist) belong to sheet 00 only. */
.atlas-plan[data-sheet]:not([data-sheet="0"]) .plan__layer .exist{opacity:0}
/* Lot levels are written where the houses go; on 03 the houses take their place. */
.atlas-plan.show-develop .plan__layer .lotfh.f,.atlas-plan.intro-develop .plan__layer .lotfh.f{opacity:0}
.atlas-plan.show-design .plan__layer .dim,.atlas-plan.show-design .plan__layer .paddy,.atlas-plan.show-design .plan__layer .paddy-t,.atlas-plan.show-design .plan__layer .field-edge{opacity:0}
.atlas-plan .sheet{opacity:0;transition:opacity .4s}
.atlas-plan:not([data-sheet]) .sheet-0,.atlas-plan[data-sheet="0"] .sheet-0,.atlas-plan[data-sheet="1"] .sheet-1,.atlas-plan[data-sheet="2"] .sheet-2,.atlas-plan[data-sheet="3"] .sheet-3{opacity:1}
/* Without JavaScript the completed plan is shown. */
html:not(.atlas-js) .atlas-plan .d{stroke-dashoffset:0}
html:not(.atlas-js) .atlas-plan .f{opacity:1}
html:not(.atlas-js) .atlas-plan .plan__layer--plane,html:not(.atlas-js) .atlas-plan .exist,html:not(.atlas-js) .atlas-plan .dim,html:not(.atlas-js) .atlas-plan .paddy,html:not(.atlas-js) .atlas-plan .paddy-t{opacity:0}
html:not(.atlas-js) .atlas-plan .plan__layer--stamp{opacity:1;transform:none}

.atlas-hud{position:absolute;left:var(--gutter);top:100px;margin:0;pointer-events:none;font:500 12px/1.7 var(--mono);letter-spacing:.12em;color:var(--ink-2);display:none}
.atlas-hud b{font-weight:500;color:var(--accent)}

.atlas-steps{position:absolute;right:var(--gutter);bottom:30px;display:flex;align-items:center;gap:6px;z-index:3}
.atlas-steps a{display:flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid var(--line-2);border-radius:999px;font-size:13px;background:rgba(var(--paper-rgb),.7);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .4s,color .4s,border-color .4s}
.atlas-steps a small{font:500 12px var(--mono);letter-spacing:.06em;opacity:.7}
.atlas-steps a:hover{border-color:var(--ink)}
.atlas-steps a[aria-current]{background:var(--pill-c,var(--ink));color:#fff;border-color:var(--pill-c,var(--ink))}
.atlas-steps a[data-step-link="1"]{--pill-c:var(--c-survey-ink)}.atlas-steps a[data-step-link="2"]{--pill-c:var(--c-design-ink)}.atlas-steps a[data-step-link="3"]{--pill-c:var(--c-develop-ink)}
.atlas-steps__bar{position:absolute;left:16px;right:16px;bottom:-12px;height:1px;background:var(--line)}
.atlas-steps__bar i{display:block;height:100%;background:linear-gradient(90deg,var(--c-survey),var(--c-design),var(--c-develop));transform:scaleX(0);transform-origin:left}

.atlas-panel{position:relative;z-index:1;min-height:100vh;min-height:100svh;display:flex;align-items:center;padding:120px var(--gutter) 130px}
/* Panels overlay the sticky layer; only their content takes input so the step pills stay clickable. */
.atlas-panel{pointer-events:none}
.atlas-panel>*{pointer-events:auto}

/* ---------- Hero ---------- */
.atlas-panel--hero{padding-bottom:150px;flex-direction:column;align-items:flex-start;justify-content:center;opacity:calc(1 - var(--hero-out,0));transform:translateY(calc(var(--hero-out,0) * -6vh))}
.atlas-hero__copy{display:grid;grid-template-columns:auto;grid-template-areas:"lead" "title" "meta";align-items:start;max-width:42vw}
.atlas-hero__title{grid-area:title;margin:0;font-family:var(--display);font-weight:700;font-size:clamp(60px,min(9.4vw,13.5vh),168px);line-height:1.04;letter-spacing:-.01em;color:var(--ink);display:flex;flex-direction:column}
.atlas-hero__line{display:block}
.atlas-hero__line>span{display:inline-block;animation:atlas-char 1.25s var(--ease) both;animation-delay:calc(.25s + var(--i) * .085s)}
.atlas-hero__line>span:nth-child(-n+2){color:var(--line-c,var(--ink))}
.atlas-hero__line--survey{--line-c:var(--c-survey-text)}.atlas-hero__line--design{--line-c:var(--c-design-text)}.atlas-hero__line--develop{--line-c:var(--c-develop-text)}
.atlas-hero__lead{grid-area:lead;display:flex;align-items:center;gap:14px;margin:0 0 clamp(18px,3vh,30px);font:700 clamp(14px,1.1vw,17px)/1.6 var(--display);letter-spacing:.12em;color:var(--ink-2);animation:atlas-fade 1.4s var(--ease) 1.05s both}
.atlas-hero__lead br{display:none}
.atlas-hero__lead::before{content:"";width:38px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--c-survey) 0 33%,var(--c-design) 33% 66%,var(--c-develop) 66%)}
.atlas-hero__meta{grid-area:meta;max-width:40vw;display:flex;flex-wrap:wrap;align-items:flex-end;gap:clamp(20px,2.6vh,28px) clamp(24px,4vw,64px);margin-top:clamp(20px,3.4vh,40px);animation:atlas-fade 1.4s var(--ease) 1.25s both}
.atlas-hero__description{margin:0;font-size:16px;line-height:2;letter-spacing:.04em;color:var(--ink-2)}
.atlas-hero__since{display:flex;flex-direction:column;margin:0;font:700 44px/1 var(--display);letter-spacing:-.01em}
.atlas-hero__since span{white-space:nowrap;font:500 12px/1.8 var(--mono);letter-spacing:.16em;color:var(--ink-3)}
.atlas-hero__years{display:flex;align-items:stretch;gap:clamp(18px,1.8vw,28px)}
.atlas-hero__anniv{position:relative;display:flex;flex-direction:column;margin:0;padding-left:clamp(18px,1.8vw,28px);border-left:1px solid var(--line-2)}
.atlas-hero__anniv b{display:flex;align-items:flex-start;font:700 44px/1 var(--display);letter-spacing:-.01em;color:var(--accent)}
.atlas-hero__anniv b small{margin:3px 0 0 3px;font:700 15px/1 var(--display);letter-spacing:0}
.atlas-hero__anniv span{white-space:nowrap;font:500 12px/1.8 var(--mono);letter-spacing:.16em;color:var(--ink-3)}
.atlas-hero__anniv span:first-child{color:var(--accent)}
/* Desktop: the anniversary is the seal on the drawing; the copy keeps it for screen readers. */
@media (min-width:900px){.atlas-hero__years{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
.atlas-hero__foot{position:absolute;left:var(--gutter);bottom:30px;display:flex;align-items:center;gap:36px;animation:atlas-fade 1.4s var(--ease) 1.5s both}
.atlas-hero__scroll{display:flex;align-items:center;gap:16px;font-size:12px;letter-spacing:.1em}
.atlas-hero__scroll-line{position:relative;width:1px;height:46px;background:var(--line);overflow:hidden}
.atlas-hero__scroll-line::after{content:"";position:absolute;left:0;bottom:0;width:1px;height:40%;background:var(--ink)}

/* ---------- Opening: a survey of the site, once per session (html.atlas-intro is set in <head>) ----------
   The camera holds each boundary stake under a fixed reticle, pulls back to the sheet as the title lands,
   then lights the next two sheets for a moment. home-atlas.js runs the clock; these rules are its states. */
.atlas-plan-wrap{transform-origin:0 0}
.atlas-stage .atlas-intro{position:absolute;left:50%;top:50%;z-index:2;width:0;height:0;pointer-events:none;opacity:0;transition:opacity .4s}
.atlas-stage.is-intro .atlas-intro{opacity:1}
.atlas-stage.is-pulling .atlas-intro{opacity:0}
.atlas-intro__ring{position:absolute;left:-28px;top:-28px;width:56px;height:56px;border:1.5px solid var(--c-survey-ink);border-radius:50%}
.atlas-intro__ring::before,.atlas-intro__ring::after{content:"";position:absolute;background:var(--c-survey-ink)}
.atlas-intro__ring::before{left:50%;top:-14px;bottom:-14px;width:1.5px;margin-left:-.75px;clip-path:polygon(0 0,100% 0,100% 30%,0 30%,0 70%,100% 70%,100% 100%,0 100%)}
.atlas-intro__ring::after{top:50%;left:-14px;right:-14px;height:1.5px;margin-top:-.75px;clip-path:polygon(0 0,30% 0,30% 100%,0 100%,0 0,70% 0,100% 0,100% 100%,70% 100%)}
.atlas-intro__ring.is-shot{animation:atlas-intro-shot .45s var(--ease)}
@keyframes atlas-intro-shot{from{transform:scale(.55);background:rgba(43,156,214,.18)}to{transform:none;background:transparent}}
.atlas-intro__coord{position:absolute;left:44px;top:18px;display:flex;flex-direction:column;gap:2px;padding:8px 12px;border:1px solid var(--line);background:rgba(var(--paper-rgb),.88);font:500 12px/1.5 var(--mono);letter-spacing:.06em;color:var(--ink);white-space:nowrap}
.atlas-intro__coord b{font-weight:500;color:var(--c-survey-ink)}
/* Eyepiece (hero-scope.js): the opening starts looking through the total station at the prism on K1. Black
   until the field opens (--r), then the circle widens past the screen onto the plan. It covers the header too. */
.atlas-scope{position:fixed;inset:0;z-index:9600;pointer-events:none;visibility:hidden;opacity:0;transition:opacity .35s,visibility 0s .35s;--r:0px;--R:240px;--cx:50vw;--cy:50vh}
.atlas-js.atlas-intro:not(.scope-done) .atlas-scope{visibility:visible;opacity:1;transition:none;animation:atlas-scope-giveup .3s 1.2s forwards}
/* If the eyepiece is not open 1.2 s after the first paint, the black screen steps aside (hero-scope.js then skips it). */
.atlas-js.atlas-intro:not(.scope-done) .atlas-scope.is-open{animation:none}
@keyframes atlas-scope-giveup{to{opacity:0;visibility:hidden}}
.atlas-scope__mask{position:absolute;inset:0;background:radial-gradient(circle at var(--cx) var(--cy),transparent calc(var(--r) - 1.5px),#0a1f12 var(--r))}
.atlas-scope__view{position:absolute;left:calc(var(--cx) - var(--R));top:calc(var(--cy) - var(--R));width:calc(var(--R) * 2);height:calc(var(--R) * 2);border-radius:50%;overflow:hidden;transition:opacity .35s}
.atlas-scope__scene{display:block;width:100%;height:100%;filter:blur(3px);transition:filter .5s var(--ease)}
.atlas-scope.is-open .atlas-scope__scene{filter:none}
.atlas-scope__view::after{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,transparent 56%,rgba(4,6,7,.18) 78%,rgba(4,6,7,.62) 100%)}
.atlas-scope__reticle{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.atlas-scope__reticle path{fill:none;stroke:rgba(18,22,24,.85);stroke-width:1.2;vector-effect:non-scaling-stroke}
/* Measuring: the instrument's red laser shows faintly on the prism, nothing more. */
.atlas-scope__laser{position:absolute;left:50%;top:50%;width:3%;height:3%;margin:-1.5% 0 0 -1.5%;border-radius:50%;background:radial-gradient(circle,rgba(255,64,48,.95) 0,rgba(255,40,30,.55) 30%,rgba(255,30,20,0) 70%);opacity:0;transition:opacity .2s}
.atlas-scope.is-measured .atlas-scope__laser{opacity:.85}
/* The instrument's display, under the eyepiece. */
.atlas-scope__readout{position:absolute;left:var(--cx);top:var(--py,calc(var(--cy) + var(--R) + 18px));transform:translateX(-50%);display:grid;grid-template-columns:auto auto;gap:1px 16px;min-width:178px;padding:9px 14px 10px;border-radius:5px;background:#b7c2a6;box-shadow:inset 0 0 0 1px rgba(0,0,0,.35),inset 0 2px 6px rgba(0,0,0,.25);color:#1b2117;font:500 13px/1.5 var(--mono);letter-spacing:.04em;white-space:nowrap;opacity:0;transition:opacity .4s}
.atlas-scope__readout b{grid-column:1/-1;font:700 13px/1.6 var(--sans);letter-spacing:.08em;border-bottom:1px solid rgba(27,33,23,.3);margin-bottom:3px}
.atlas-scope__readout span:nth-child(odd){opacity:.65}
.atlas-scope__readout span:nth-child(even){text-align:right}
.atlas-scope.is-open .atlas-scope__readout{opacity:1}
.atlas-scope.is-widening .atlas-scope__view,.atlas-scope.is-widening .atlas-scope__readout{opacity:0}
@media (max-width:899px){.atlas-scope__readout{font-size:12px}}
/* Survey: stakes appear one by one (.is-staked); the boundary is drawn on the camera's clock by home-atlas.js. */
.atlas-stage.is-intro .plan__layer--survey .d,.atlas-stage.is-intro .plan__layer--survey .f{transition:none}
.atlas-stage.is-intro .plan__layer--survey .is-staked.d{stroke-dashoffset:0}
.atlas-stage.is-intro .plan__layer--survey .is-staked.f{opacity:1}
/* The frame and title block wait for the pull-back (.intro-frame), then draw quickly. */
.atlas-stage.is-intro .plan__layer--frame .d{transition-duration:.8s;transition-delay:calc(min(var(--i,0), 32) * 12ms)}
.atlas-stage.is-intro .atlas-plan:not(.intro-frame) .plan__layer--frame .d{stroke-dashoffset:1}
.atlas-stage.is-intro .atlas-plan:not(.intro-frame) .plan__layer--frame .f,.atlas-stage.is-intro .atlas-plan:not(.intro-frame) .sheet{opacity:0}
/* Preview of the next sheets, each lit briefly and faster than the scroll-driven draw. */
.atlas-stage.is-intro .plan__layer--design .d,.atlas-stage.is-intro .plan__layer--develop .d{transition-duration:.5s;transition-delay:calc(min(var(--i,0), 32) * 8ms)}
.atlas-stage.is-intro .plan__layer--design .f,.atlas-stage.is-intro .plan__layer--develop .f{transition-duration:.35s;transition-delay:0s}
.atlas-plan.intro-design .plan__layer--design .d,.atlas-plan.intro-develop .plan__layer--develop .d{stroke-dashoffset:0}
.atlas-plan.intro-design .plan__layer--design .f,.atlas-plan.intro-develop .plan__layer--develop .f{opacity:1}
/* After the opening the hero holds the sheet it reached (.intro-hold) until the first scroll step. */
.atlas-plan.intro-hold .plan__layer--survey .is-staked.d{stroke-dashoffset:0}
.atlas-plan.intro-hold .plan__layer--survey .is-staked.f{opacity:1}
/* The held sheet is the same 03 the steps show: the whole survey layer, without the working notes. */
.atlas-plan.intro-hold .plan__layer--survey .d{stroke-dashoffset:0}
.atlas-plan.intro-hold .plan__layer--survey .f{opacity:1}
.atlas-plan.intro-design .plan__layer .dim,.atlas-plan.intro-design .plan__layer .paddy,.atlas-plan.intro-design .plan__layer .paddy-t,.atlas-plan.intro-design .plan__layer .field-edge{opacity:0}
/* Hero copy: each line lands on cue (.is-landed); the rest waits for the end (html.intro-done). */
.atlas-js.atlas-intro .atlas-hero__line:not(.is-landed)>span{animation:none;opacity:0}
.atlas-js.atlas-intro .atlas-hero__line>span:nth-child(1){animation-delay:0s}
.atlas-js.atlas-intro .atlas-hero__line>span:nth-child(2){animation-delay:.085s}
.atlas-js.atlas-intro .atlas-hero__line>span:nth-child(3){animation-delay:.17s}
.atlas-js.atlas-intro :is(.atlas-hero__lead,.atlas-hero__meta,.atlas-hero__foot,.atlas-steps,.atlas-cue){animation:none;opacity:0;transition:opacity .9s var(--ease)}
.atlas-js.atlas-intro.intro-done :is(.atlas-hero__lead,.atlas-hero__meta,.atlas-hero__foot,.atlas-steps,.atlas-cue){opacity:1}
.atlas-news{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;width:min(480px,36vw);padding:10px 14px 10px 10px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 30px -14px rgba(var(--ink-rgb),.28);transition:transform .45s var(--ease),box-shadow .45s var(--ease),border-color .45s}
.atlas-news[hidden]{display:none}
.atlas-news__thumb{display:block;width:104px;height:66px;object-fit:cover;border-radius:11px}
.atlas-news__body{display:flex;flex-direction:column;gap:6px;min-width:0}
.atlas-news__meta{display:flex;align-items:center;gap:10px}
.atlas-news__tag{padding:3px 9px;border-radius:999px;background:var(--accent);color:#fff;font:500 12px/1.4 var(--mono);letter-spacing:.14em}
.atlas-news time{font:500 12px var(--mono);letter-spacing:.04em;color:var(--ink-3)}
.atlas-news__title{font-size:14px;font-weight:700;line-height:1.55;letter-spacing:.02em;color:var(--ink);word-break:auto-phrase}
.atlas-news__arrow{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent-soft,#e6f3ea);color:var(--accent);font-size:14px;transition:background .45s,color .45s,transform .45s var(--ease)}
.atlas-news:hover{transform:translateY(-3px);border-color:rgba(var(--ink-rgb),.2);box-shadow:0 18px 40px -16px rgba(var(--ink-rgb),.34)}
.atlas-news:hover .atlas-news__arrow{background:var(--accent);color:#fff;transform:translate(2px,-2px)}
.atlas-news:hover .atlas-news__title{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}

/* ---------- Steps ---------- */
.atlas-panel--step{align-items:center}
.atlas-step{max-width:min(34vw,480px);padding:0}
.atlas-step h2{margin:0 0 26px;display:flex;flex-direction:column;gap:18px}
.atlas-step__word{font:700 clamp(84px,9.6vw,168px)/1 var(--display);letter-spacing:-.01em;margin-left:-.04em;color:var(--step-text,var(--ink))}
#step-survey{--step-c:var(--c-survey);--step-text:var(--c-survey-text);--step-ink:var(--c-survey-ink);--step-soft:var(--c-survey-soft)}
#step-design{--step-c:var(--c-design);--step-text:var(--c-design-text);--step-ink:var(--c-design-ink);--step-soft:var(--c-design-soft)}
#step-future{--step-c:var(--c-develop);--step-text:var(--c-develop-text);--step-ink:var(--c-develop-ink);--step-soft:var(--c-develop-soft)}
.atlas-step .atlas-kicker>span{background:var(--step-soft);color:var(--step-ink)}
.atlas-step .atlas-tags li{border-color:transparent;background:var(--step-soft);color:var(--step-ink);font-weight:500}
.atlas-step__sub{font:700 clamp(20px,1.7vw,26px)/1.6 var(--display);letter-spacing:.02em}
.atlas-step>p:not(.atlas-kicker){font-size:16px;line-height:2;letter-spacing:.04em;margin:0;color:var(--ink-2)}
.atlas-step .atlas-link{margin-top:30px}
.atlas-step .atlas-kicker,.atlas-step h2,.atlas-step>p,.atlas-step .atlas-tags,.atlas-step .atlas-link{transition:opacity .9s var(--ease),transform .9s var(--ease),filter .9s var(--ease)}
.atlas-js .atlas-step:not(.is-in)>*{opacity:0;transform:translateY(34px);filter:blur(6px)}
.atlas-step.is-in>*:nth-child(2){transition-delay:.08s}
.atlas-step.is-in>*:nth-child(3){transition-delay:.16s}
.atlas-step.is-in>*:nth-child(4){transition-delay:.24s}
.atlas-step.is-in>*:nth-child(5){transition-delay:.32s}
/* Desktop: the step text is pinned beside the drawing and cross-fades with each sheet; the panels only give scroll length. */
@media (min-width:900px){
 .atlas-js .atlas-panel--step{min-height:75vh;padding:0}
 .atlas-js .atlas-panel--step:last-child{min-height:110vh}
 .atlas-js .atlas-panel--step .atlas-step{position:fixed;left:var(--gutter);top:50%;width:min(34vw,480px);transform:translateY(-50%);pointer-events:none}
 .atlas-js .atlas-panel--step .atlas-step>*{opacity:0;transform:translateY(22px);filter:blur(6px)}
 .atlas-stage.is-pinned[data-step="1"] #step-survey .atlas-step,.atlas-stage.is-pinned[data-step="2"] #step-design .atlas-step,.atlas-stage.is-pinned[data-step="3"] #step-future .atlas-step{pointer-events:auto}
 .atlas-stage.is-pinned .atlas-panel--step .atlas-step:focus-within>*,.atlas-stage.is-pinned[data-step="1"] #step-survey .atlas-step>*,.atlas-stage.is-pinned[data-step="2"] #step-design .atlas-step>*,.atlas-stage.is-pinned[data-step="3"] #step-future .atlas-step>*{opacity:1;transform:none;filter:none}
}

/* ==========================================================================
   STATEMENT — the core promise, inked in as you read
   ========================================================================== */
.atlas-statement{position:relative;padding:clamp(90px,14vh,160px) var(--gutter) clamp(100px,18vh,200px);border-top:1px solid var(--line);background:var(--paper);display:grid;grid-template-columns:1fr minmax(260px,24vw);column-gap:6vw;row-gap:56px;align-items:end;z-index:2}
.atlas-statement .atlas-kicker{grid-column:1/-1;margin:0}
.atlas-statement__text{margin:0;font:700 clamp(30px,3.8vw,62px)/1.5 var(--display);letter-spacing:.01em;max-width:21em}
.atlas-statement__text.is-split>span{color:rgba(var(--ink-rgb),.3);transition:color .5s var(--ease)}
.atlas-statement__text.is-split>span.is-on{color:var(--ink)}
.atlas-statement__aside p{font-size:16px;line-height:2;margin:0 0 20px;color:var(--ink-2)}
/* One flow: three lines of work converge into a single window, drawn once as it comes into view. */
.atlas-flow{grid-column:1/-1;display:block;width:100%;height:auto;margin-top:clamp(10px,3vh,30px);overflow:visible}
.atlas-flow path{fill:none;stroke-width:3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.6s var(--ease)}
.atlas-flow__s{stroke:var(--c-survey)}.atlas-flow__d{stroke:var(--c-design);transition-delay:.15s!important}.atlas-flow__v{stroke:var(--c-develop);transition-delay:.3s!important}
.atlas-flow .atlas-flow__one{stroke:var(--accent);stroke-width:5;transition-delay:1.2s!important;transition-duration:1s}
.atlas-flow__dot{fill:var(--accent);opacity:0;transform-origin:1156px 85px;transform:scale(.3);transition:opacity .4s 2s,transform .6s var(--ease) 2s}
.atlas-flow text{font:500 13px var(--sans);fill:var(--ink-2);letter-spacing:.04em}
.atlas-flow .atlas-flow__label{font:700 18px var(--display);fill:var(--accent);text-anchor:end}
.atlas-flow.is-in path,html:not(.atlas-js) .atlas-flow path{stroke-dashoffset:0}
.atlas-flow.is-in .atlas-flow__dot,html:not(.atlas-js) .atlas-flow__dot{opacity:1;transform:none}

/* Two doors after the drawing: businesses and landowners. */
.atlas-paths{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:clamp(14px,1.6vw,24px);padding:clamp(36px,6vh,64px) var(--gutter) 0;background:var(--paper)}
.atlas-path{position:relative;display:flex;flex-direction:column;gap:10px;padding:clamp(26px,3vw,40px) clamp(24px,3vw,44px);padding-right:90px;border-radius:22px;background:var(--path-bg);color:var(--ink);transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.atlas-path--business{--path-bg:var(--sky-soft);--path-ink:var(--c-survey-ink)}.atlas-path--owner{--path-bg:var(--leaf-soft);--path-ink:var(--c-develop-ink)}
.atlas-path small{font:500 12px var(--mono);letter-spacing:.14em;color:var(--path-ink)}
.atlas-path strong{font:700 clamp(22px,2vw,30px)/1.4 var(--display);letter-spacing:.01em}
.atlas-path span{font-size:16px;line-height:1.9;color:var(--ink-2)}
.atlas-path i{position:absolute;right:clamp(22px,2.6vw,36px);top:50%;display:grid;place-items:center;width:48px;height:48px;margin-top:-24px;border-radius:50%;background:#fff;color:var(--path-ink);font-style:normal;font-size:19px;transition:background .4s,color .4s,transform .5s var(--ease)}
.atlas-path:hover{transform:translateY(-4px);box-shadow:0 24px 44px -28px rgba(var(--ink-rgb),.4)}
.atlas-path:hover i{background:var(--path-ink);color:#fff;transform:rotate(45deg)}

/* ==========================================================================
   FIELD — the photograph opens like an aperture
   ========================================================================== */
.atlas-field{--p:1;position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:clamp(36px,5vw,90px);align-items:center;padding:clamp(70px,11vh,130px) var(--gutter);background:var(--paper);color:var(--ink)}
.atlas-field__frame{position:relative;order:2;height:clamp(420px,min(78vh,46vw),780px);overflow:hidden;border-radius:clamp(18px,2vw,32px);clip-path:inset(calc((1 - var(--p)) * 10%) calc((1 - var(--p)) * 14%) round clamp(18px,2vw,32px));will-change:clip-path}
.atlas-field__frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 40%;transform:scale(calc(1.22 - var(--p) * .22));transform-origin:60% 50%}
.atlas-field__copy{position:relative;order:1;display:flex;flex-direction:column;justify-content:center}
.atlas-field__copy .atlas-kicker{color:var(--ink-2)}
.atlas-field__copy .atlas-kicker>span{color:var(--accent)}
.atlas-field h2{margin:0 0 28px;font:700 clamp(30px,3.4vw,62px)/1.3 var(--display);letter-spacing:.01em}
.atlas-field h2>span{display:block;overflow:hidden;white-space:nowrap}
.atlas-field__copy>p:last-child{font-size:16px;line-height:2;letter-spacing:.05em;margin:0;color:var(--ink-2)}
.atlas-field__note{position:absolute;right:calc(var(--gutter) + 22px);bottom:calc(clamp(70px,11vh,130px) + 20px);z-index:1;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font:500 12px var(--mono);letter-spacing:.14em;color:var(--ink-2)}
.atlas-js .atlas-field__copy:not(.is-in)>*{opacity:0;transform:translateY(40px)}
.atlas-field__copy>*{transition:opacity 1.1s var(--ease),transform 1.1s var(--ease)}
.atlas-field__copy>*:nth-child(2){transition-delay:.12s}
.atlas-field__copy>*:nth-child(3){transition-delay:.24s}

/* ---------- Marquee ---------- */
.atlas-marquee{position:relative;z-index:2;overflow:hidden;padding:clamp(22px,4vh,44px) 0;border-block:1px solid var(--line);background:var(--paper);white-space:nowrap}
.atlas-marquee__track{display:inline-flex;will-change:transform}
.atlas-marquee__track>span{display:inline-flex;align-items:flex-start;gap:14px;padding-right:clamp(40px,6vw,110px);font:700 clamp(72px,11vw,190px)/1.05 var(--display);letter-spacing:.02em}
.atlas-marquee__track>span{color:var(--mq-c)}
.atlas-marquee__track>span:nth-child(3n+1){--mq-c:var(--c-survey)}.atlas-marquee__track>span:nth-child(3n+2){--mq-c:var(--c-design)}.atlas-marquee__track>span:nth-child(3n){--mq-c:var(--c-develop)}
.atlas-marquee__track>span:nth-child(even){color:transparent;-webkit-text-stroke:1.5px var(--mq-c)}
.atlas-marquee__track i{order:-1;font:500 12px var(--mono);letter-spacing:.16em;font-style:normal;margin-top:1.4em;color:var(--ink-2);-webkit-text-stroke:0}

/* ==========================================================================
   EVIDENCE — numbers set like measurements
   ========================================================================== */
.atlas-evidence{position:relative;z-index:2;background:var(--paper);padding:clamp(100px,16vh,170px) var(--gutter) clamp(80px,12vh,130px)}
.atlas-evidence__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:end;margin-bottom:clamp(50px,8vh,90px)}
.atlas-evidence__head .atlas-kicker{grid-column:1/-1;margin:0}
.atlas-evidence h2{margin:0;font-size:clamp(32px,3.4vw,56px);line-height:1.4;letter-spacing:.01em}
.atlas-stats{display:grid;grid-template-columns:1fr 1fr 1.25fr;margin:0}
.atlas-stat{position:relative;padding:34px 30px 0 0;border-top:2px solid var(--stat-c,var(--ink))}
.atlas-stat:nth-child(1){--stat-c:var(--c-survey)}.atlas-stat:nth-child(2){--stat-c:var(--c-design)}.atlas-stat:nth-child(3){--stat-c:var(--c-develop)}
.atlas-stat+.atlas-stat{padding-left:30px;border-left:1px solid var(--line)}
.atlas-stat::before{content:"";position:absolute;left:0;right:0;top:0;height:9px;background:repeating-linear-gradient(90deg,var(--stat-c,var(--ink)) 0 1px,transparent 1px 10px);opacity:.6}
.atlas-stat dt{font-size:16px;letter-spacing:.06em;color:var(--ink-2);margin:10px 0 18px}
.atlas-stat dd{margin:0;display:flex;align-items:baseline;flex-wrap:nowrap;gap:4px 8px;white-space:nowrap}
.atlas-stat strong{font:700 clamp(64px,7.2vw,124px)/1 var(--display);letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.atlas-stat dd span{font:700 15px var(--display);letter-spacing:.04em;margin-right:12px;color:var(--ink-2)}
.atlas-evidence__note{margin:0 0 .6em;justify-self:end;max-width:24em;font-size:16px;line-height:2;letter-spacing:.04em;color:var(--ink-2)}

/* ==========================================================================
   WORK — editorial index with a thumbnail per row
   ========================================================================== */
.atlas-work{position:relative;z-index:2;display:grid;grid-template-columns:minmax(280px,30%) 1fr;gap:6vw;padding:clamp(100px,15vh,160px) var(--gutter);background:var(--paper-2)}
.atlas-work__head{align-self:start;position:sticky;top:120px}
.atlas-work__head h2{margin:0 0 30px;font-size:clamp(32px,3.2vw,52px);line-height:1.55;letter-spacing:.01em}
.atlas-work__lead{margin:-8px 0 26px;max-width:22em;font-size:16px;line-height:2;color:var(--ink-2)}
.atlas-work__case--survey{--case-ink:var(--c-survey-ink);--case-soft:var(--c-survey-soft)}.atlas-work__case--design{--case-ink:var(--c-design-ink);--case-soft:var(--c-design-soft)}.atlas-work__case--develop{--case-ink:var(--c-develop-ink);--case-soft:var(--c-develop-soft)}
.atlas-work__list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line-2)}
.atlas-work__list li{border-bottom:1px solid var(--line-2)}
.atlas-work__item{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr) minmax(180px,26%) 48px;grid-template-areas:"no body media arrow";column-gap:clamp(18px,2.4vw,36px);align-items:center;padding:30px 0;isolation:isolate}
.atlas-work__item::before{content:"";position:absolute;inset:0 -24px;z-index:-1;border-radius:24px;background:#fff;box-shadow:0 24px 50px -30px rgba(var(--ink-rgb),.35);opacity:0;transform:scale(.97);transition:opacity .5s var(--ease),transform .6s var(--ease)}
.atlas-work__item:hover::before,.atlas-work__item:focus-visible::before{opacity:1;transform:none}
.atlas-work__no{grid-area:no;align-self:start;font:500 12px/2.6 var(--mono);color:var(--case-ink,var(--accent));padding-left:6px}
.atlas-work__media{grid-area:media;display:block;overflow:hidden;aspect-ratio:4/3;border-radius:16px}
.atlas-work__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.2s var(--ease)}
.atlas-work__item:hover .atlas-work__media img{transform:scale(1.05)}
.atlas-work__body{grid-area:body;display:flex;flex-direction:column;gap:12px;transition:transform .7s var(--ease)}
.atlas-work__cat{align-self:flex-start;padding:4px 10px;border-radius:999px;background:var(--case-soft,var(--leaf-soft));font:500 12px var(--mono);letter-spacing:.08em;color:var(--case-ink,var(--accent))}
.atlas-work__title{font:700 clamp(22px,2vw,32px)/1.45 var(--display);letter-spacing:.01em;text-wrap:balance}
.atlas-work__list li:nth-child(2) .atlas-work__media img{object-position:84% 40%}
.atlas-work__text{font-size:14px;line-height:2;color:var(--ink-2);max-width:34em}
.atlas-work__arrow{grid-area:arrow;justify-self:end;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line-2);border-radius:50%;font-size:18px;transition:background .5s var(--ease),color .5s,transform .6s var(--ease)}
.atlas-work__item:hover .atlas-work__arrow{background:var(--case-ink,var(--accent));border-color:var(--case-ink,var(--accent));color:#fff;transform:rotate(45deg)}
.atlas-js .atlas-work__item:not(.is-in){opacity:0;transform:translateY(30px)}
.atlas-work__item{transition:opacity 1s var(--ease),transform 1s var(--ease)}

/* ==========================================================================
   TECH — the point cloud scans into view
   ========================================================================== */
.atlas-tech{position:relative;z-index:2;display:grid;grid-template-columns:1.2fr 1fr;gap:7vw;align-items:center;padding:clamp(90px,13vh,150px) var(--gutter);background:linear-gradient(135deg,var(--sky-soft) 0%,var(--paper) 55%,var(--leaf-soft) 100%);color:var(--ink)}
.atlas-tech::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(var(--sky-line) 1px,transparent 1px),linear-gradient(90deg,var(--sky-line) 1px,transparent 1px);background-size:80px 80px;opacity:.35;mask-image:radial-gradient(ellipse at 30% 50%,#000,transparent 70%);-webkit-mask-image:radial-gradient(ellipse at 30% 50%,#000,transparent 70%)}
.atlas-tech__visual{position:relative;margin:0}
.atlas-tech__scan{--scan:1;position:relative;aspect-ratio:3/2;overflow:hidden;background:radial-gradient(circle,rgba(var(--ink-rgb),.14) 1px,transparent 1.4px) 0 0/9px 9px,#fff;box-shadow:0 24px 60px -24px rgba(43,156,214,.35);border-radius:14px}
.atlas-tech__scan img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;clip-path:inset(0 calc((1 - var(--scan)) * 100%) 0 0)}
.atlas-tech__beam{position:absolute;top:0;bottom:0;left:calc(var(--scan) * 100%);width:2px;margin-left:-1px;background:var(--sky);box-shadow:0 0 18px 4px rgba(43,156,214,.45),0 0 60px 10px rgba(43,156,214,.18);opacity:calc(1 - var(--scan) * var(--scan) * var(--scan))}
.atlas-tech__visual figcaption{display:flex;justify-content:space-between;padding-top:16px;border-top:1px solid var(--sky-line);margin-top:16px;font:500 12px var(--mono);letter-spacing:.14em;color:var(--ink-2)}
.atlas-tech__visual figcaption b{color:var(--accent);font-weight:500;font-variant-numeric:tabular-nums}
.atlas-tech .atlas-kicker{color:var(--ink-2)}
.atlas-tech .atlas-kicker>span{color:var(--accent)}
.atlas-tech h2{margin:0 0 30px;font-size:clamp(32px,3.1vw,50px);line-height:1.55;letter-spacing:.01em}
.atlas-tech__copy>p:not(.atlas-kicker){font-size:16px;line-height:2;letter-spacing:.04em;color:var(--ink-2)}
.atlas-tech ul{list-style:none;padding:0;margin:36px 0 34px;border-top:1px solid var(--sky-line)}
.atlas-tech li{display:flex;gap:24px;align-items:baseline;padding:16px 0;border-bottom:1px solid var(--sky-line);font-size:16px;letter-spacing:.04em}
.atlas-tech li span{min-width:80px;font:500 12px var(--mono);letter-spacing:.14em;color:var(--accent)}
.atlas-js .atlas-tech__visual:not(.is-in){opacity:0;transform:translateY(40px)}
.atlas-tech__visual{transition:opacity 1.2s var(--ease),transform 1.2s var(--ease)}

/* ==========================================================================
   STORY — the mark is drawn on its construction grid, then set on the ground
   ========================================================================== */
.atlas-story{position:relative;z-index:2;background:var(--paper)}
.atlas-story__pin{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7vw;align-items:center;padding:clamp(90px,13vh,150px) var(--gutter)}
.atlas-story h2{margin:0 0 30px;font-size:clamp(32px,3.2vw,52px);line-height:1.5;letter-spacing:.01em}
.atlas-story__copy>p:not(.atlas-kicker){font-size:16px;line-height:2;letter-spacing:.04em;color:var(--ink-2);max-width:32em}
/* The three construction steps; the current one is marked while the drawing advances. */
.atlas-story__steps{list-style:none;margin:34px 0 30px;padding:0;border-top:1px solid var(--line-2);max-width:32em}
.atlas-story__steps li{position:relative;display:flex;align-items:baseline;gap:18px;padding:14px 0 14px 22px;border-bottom:1px solid var(--line);font-size:16px;color:var(--ink-3);transition:color .5s var(--ease)}
.atlas-story__steps li::before{content:"";position:absolute;left:0;top:50%;width:9px;height:9px;margin-top:-4.5px;border:1.5px solid currentColor;border-radius:50%;transition:background .5s,border-color .5s}
.atlas-story__steps small{min-width:5.2em;font:500 12px var(--mono);letter-spacing:.12em}
.atlas-story[data-stage="1"] [data-mark-step="1"],.atlas-story[data-stage="2"] [data-mark-step="2"],.atlas-story[data-stage="3"] [data-mark-step="3"]{color:var(--ink);font-weight:700}
.atlas-story[data-stage="1"] [data-mark-step="1"]::before,.atlas-story[data-stage="2"] [data-mark-step="2"]::before,.atlas-story[data-stage="3"] [data-mark-step="3"]::before{background:var(--accent);border-color:var(--accent)}
.atlas-story[data-stage="2"] [data-mark-step="1"],.atlas-story[data-stage="3"] [data-mark-step="1"],.atlas-story[data-stage="3"] [data-mark-step="2"]{color:var(--ink-2)}

/* Mark construction card: drawn in green on white paper, then handed over to the pavement photo. */
.atlas-mark{margin:0;width:min(100%,calc((100vh - 200px) * .8),560px);justify-self:center}
.atlas-mark__card{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:22px;border:1px solid var(--line);background-color:#fff;background-image:linear-gradient(rgba(var(--accent-rgb),.06) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--accent-rgb),.06) 1px,transparent 1px);background-size:8% 6.4%;box-shadow:0 30px 60px -40px rgba(var(--ink-rgb),.35)}
.atlas-mark__photo,.atlas-mark__photo img{position:absolute;inset:0;width:100%;height:100%}
.atlas-mark__photo img{object-fit:cover;opacity:0;transition:opacity 1s var(--ease)}
.atlas-mark__draw{position:absolute;inset:0;width:100%;height:100%}
.atlas-mark__draw path{fill:none;stroke:var(--accent);stroke-linecap:round;stroke-linejoin:round}
.atlas-mark__draw .thin{stroke-width:2.2;stroke-opacity:.7}.atlas-mark__draw .mid{stroke-width:3.4}.atlas-mark__draw .dash{stroke-dasharray:8 10}
.atlas-mark__draw text{fill:var(--accent);font:500 46px var(--sans);letter-spacing:.04em}
.atlas-mark__draw .mono{font:500 34px var(--mono);letter-spacing:.14em}.atlas-mark__draw .big{font:700 64px var(--display)}
.atlas-mark__draw .d{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.2s var(--ease) calc(min(var(--i,0),24) * 45ms)}
.atlas-mark__draw .dash.d{stroke-dasharray:1}
.atlas-mark__draw .f{opacity:0;transition:opacity .6s var(--ease) .4s}
.mk-layer{transition:opacity .6s var(--ease)}
.mk-mark{opacity:0;transition:opacity .7s var(--ease)}
.mk-sky{fill:var(--accent);opacity:0;transition:opacity .7s var(--ease) .2s}.mk-earth{fill:var(--earth);opacity:0;transform:translateY(40px);transform-box:fill-box;transition:opacity .7s var(--ease) .35s,transform .9s var(--ease) .35s}
.mk-plane{fill:rgba(var(--accent-rgb),.16);transition:fill .6s var(--ease)}
.atlas-mark figcaption{display:flex;justify-content:space-between;gap:16px;margin-top:14px;font:500 12px var(--mono);letter-spacing:.14em;color:var(--ink-3)}
/* 01 測る */
.atlas-story[data-stage="1"] .mk-grid .d,.atlas-story[data-stage="2"] .mk-grid .d,.atlas-story[data-stage="3"] .mk-grid .d{stroke-dashoffset:0}
.atlas-story:not([data-stage="0"]) .mk-notes .f,.atlas-story:not([data-stage="0"]) .mk-grid .f{opacity:1}
/* 02 描く: the plane appears as a tinted face inside its outline */
.atlas-story[data-stage="2"] .mk-plane-line .d,.atlas-story[data-stage="3"] .mk-plane-line .d{stroke-dashoffset:0}
.atlas-story[data-stage="2"] .mk-mark,.atlas-story[data-stage="3"] .mk-mark{opacity:1}
/* 03 拓く: sky and earth fill the circle, the construction steps back, the photograph takes over */
.atlas-story[data-stage="3"] .mk-sky{opacity:1}.atlas-story[data-stage="3"] .mk-earth{opacity:1;transform:none}.atlas-story[data-stage="3"] .mk-plane{fill:#fff}
.atlas-story[data-stage="3"] .mk-grid,.atlas-story[data-stage="3"] .mk-plane-line,.atlas-story[data-stage="3"] .mk-notes{opacity:0}
.atlas-story[data-stage="3"] .atlas-mark__photo img{opacity:1;transition-delay:.9s}
.atlas-story[data-stage="3"] .mk-mark{opacity:0;transition:opacity .5s var(--ease) 1.8s}
/* Without JavaScript or with reduced motion: the finished photograph. */
html:not(.atlas-js) .atlas-mark__photo img{opacity:1}html:not(.atlas-js) .atlas-mark__draw{display:none}
@media (min-width:900px){
 .atlas-js .atlas-story{height:300vh}
 .atlas-js .atlas-story__pin{position:sticky;top:0;height:100vh;padding-block:90px 60px}
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1100px){
 .atlas-plan-wrap{width:56vw;right:calc(var(--gutter) * .6)}
 .atlas-step{max-width:36vw}
 .atlas-hero__scroll{display:none}
 .atlas-news{width:min(460px,52vw)}
 .atlas-panel--hero{padding-bottom:200px}
 .atlas-work{grid-template-columns:1fr;gap:50px}
 .atlas-work__head{position:static}
 .atlas-tech{grid-template-columns:1fr;gap:60px}
 .atlas-steps{bottom:84px}
 .atlas-hero__foot{bottom:84px}
}
@media (max-width:899px){
 /* Phones: the drawing is a band over the text. The drawing is only as tall as the width lets it be, and
    home-atlas.js folds it (--fold 0→1) to half its height as the hero leaves, so the steps get most of the screen.
    Below the drawing a 40px row holds the scroll cue on the hero, then the step pills and their progress. */
 .atlas-stage{--fold:0;--plan-h:min(36svh,calc((100vw - 16px) * .76));--band-full:calc(var(--plan-h) + 124px);--band:calc(var(--plan-h) * (1 - var(--fold) * .5) + 124px)}
 .atlas-header-hold .atlas header.wp-block-template-part.is-tucked{transform:none} /* set by home-atlas.js */
 .atlas-stage__sticky{height:var(--band);margin-bottom:calc(var(--band) * -1);z-index:2;border-bottom:1px solid var(--line);box-shadow:0 14px 18px -14px rgba(var(--ink-rgb),calc(var(--fold) * .32))}
 .atlas-plan-wrap{left:8px;right:8px;top:84px;bottom:auto;width:auto;height:var(--plan-h)}
 .atlas-stage.is-folded .atlas-plan-wrap{transform:translateX(calc((100vw - 16px) * var(--fold) * .25)) scale(calc(1 - var(--fold) * .5))}
 .atlas-plan text{display:none}
 .atlas-plan .plan__layer--stamp{display:none}
 .atlas-intro__coord{display:none}
 .atlas-hud{display:block;top:70px;font-size:12px}
 .atlas-steps{left:0;right:0;bottom:0;height:40px;justify-content:center;gap:6px}
 .atlas-steps a{gap:6px;padding:4px 11px;font-size:12px;opacity:clamp(0,calc(var(--fold) * 2 - 1),1)}
 .atlas-steps a small{font-size:11px}
 .atlas-stage[data-step="0"] .atlas-steps a{pointer-events:none}
 .atlas-steps__bar{left:0;right:0;bottom:-1px;height:2px;background:none}
 .atlas-cue{position:absolute;left:0;right:0;bottom:0;z-index:3;align-items:center;justify-content:center;height:40px;margin:0;pointer-events:none;font:500 12px/1 var(--sans);letter-spacing:.08em;color:var(--ink-2)}
 .atlas-cue span{display:flex;align-items:center;gap:8px;opacity:clamp(0,calc(1 - var(--fold) * 2.5),1)}
 .atlas-cue b{font:500 15px/1 var(--mono);color:var(--accent)}
 .atlas-panel{padding:96px var(--gutter) 110px}
 .atlas-panel--hero{justify-content:flex-start;padding:calc(var(--band-full) + 22px) var(--gutter) 110px}
 .atlas-hero__foot{position:static;order:-1;width:100%;margin:0 0 26px}
 .atlas-news{width:100%;max-width:520px;gap:12px;padding:8px 10px 8px 8px;border-radius:14px}
 .atlas-news__thumb{width:76px;height:52px;border-radius:9px}
 .atlas-news__body{gap:4px}
 .atlas-news__title{font-size:13px;line-height:1.5}
 .atlas-news__arrow{width:28px;height:28px;font-size:12px}
 .atlas-hero__copy{max-width:none;width:100%}
 .atlas-hero__title{font-size:clamp(50px,14.5vw,84px)}
 .atlas-hero__lead{display:none}
 .atlas-hero__meta{max-width:none;flex-direction:column;align-items:flex-start;gap:20px;margin-top:22px}
 .atlas-hero__description{font-size:16px;line-height:1.95}
 /* One line under the copy: EST.1971 — 55th ANNIVERSARY. */
 .atlas-hero__years{align-items:baseline;gap:0;font:500 12px/1.6 var(--mono);letter-spacing:.12em;color:var(--ink-2)}
 .atlas-hero__since{flex-direction:row;font:inherit;letter-spacing:inherit}
 .atlas-hero__since::after{content:"—";margin:0 .6em}
 .atlas-hero__since span,.atlas-hero__anniv span{font:inherit;letter-spacing:inherit;color:inherit}
 .atlas-hero__since span:last-child,.atlas-hero__anniv span:nth-child(3){display:none}
 .atlas-hero__anniv{flex-direction:row;padding-left:0;border-left:0}
 .atlas-hero__anniv b{order:-1;font:inherit;letter-spacing:inherit;color:var(--accent)}
 .atlas-hero__anniv b small{margin:0;font:inherit}
 .atlas-hero__anniv span:first-child{margin-left:.5em;color:var(--accent)}
 .atlas-hero__foot{bottom:88px}
 .atlas-hero__scroll-line{height:34px}
 .atlas-panel--step{display:block;min-height:0;padding:calc(var(--band-full) + 28px) var(--gutter) 64px}
 /* Under the folded band the steps follow each other closely; their text may pass beneath the drawing. */
 .atlas-js .atlas-panel--step{padding-top:120px}
 .atlas-step{max-width:none;width:100%}
 .atlas-step h2{gap:10px;margin-bottom:16px}
 .atlas-step__word{font-size:56px}
 .atlas-step__sub{font-size:19px}
 .atlas-step>p:not(.atlas-kicker){font-size:16px;line-height:2}
 .atlas-step .atlas-kicker{margin-bottom:16px}
 .atlas-tags{margin-top:18px}
 .atlas-tags li{font-size:12px;padding:5px 10px}
 .atlas-statement{grid-template-columns:1fr;row-gap:40px;padding:110px var(--gutter) 90px}
 .atlas-paths{grid-template-columns:1fr;padding-top:32px}
 .atlas-path{padding-right:80px}
 .atlas-flow text{display:none}
 .atlas-statement__text{font-size:clamp(26px,7vw,40px)}
 .atlas-field{grid-template-columns:1fr;gap:36px;padding:80px var(--gutter)}
 .atlas-field__frame{height:min(110vw,560px)}
 .atlas-field__frame img{object-position:68% 50%}
 .atlas-field h2{font-size:clamp(28px,8.6vw,56px)}
 .atlas-field__copy>p:last-child{font-size:16px}
 .atlas-field__note{display:none}
 .atlas-evidence__head{grid-template-columns:1fr;gap:24px}
 .atlas-evidence__note{justify-self:start}
 .atlas-stats{grid-template-columns:1fr}
 .atlas-stat,.atlas-stat+.atlas-stat{padding:26px 0 32px;border-left:0}
 .atlas-stat strong{font-size:clamp(68px,20vw,104px)}
 .atlas-work__item{grid-template-columns:36px minmax(0,1fr);grid-template-areas:"no media" "no body";row-gap:20px;padding:28px 0}
 .atlas-work__media{aspect-ratio:16/9}
 .atlas-work__item::before{display:none}
 .atlas-work__arrow{display:none}
 .atlas-work__title{font-size:24px}
 .atlas-work__text{font-size:14px}
 .atlas-tech__copy>p:not(.atlas-kicker),.atlas-story__copy>p:not(.atlas-kicker){font-size:16px}
 .atlas-story__pin{grid-template-columns:1fr;gap:44px;padding:80px var(--gutter)}
 .atlas-mark{width:100%;max-width:440px}
 /* Phones: the card holds still in mid-screen while the mark is drawn, as the desktop pin does. */
 .atlas-js .atlas-mark{height:240svh}
 .atlas-js .atlas-mark__card{position:sticky;top:max(76px,calc(50svh - min(92vw,440px) * .625))}
}
@media (max-width:420px){
 .atlas-step>p:not(.atlas-kicker){font-size:16px;line-height:1.85}
 .atlas-news__thumb{width:64px;height:46px}
 .atlas-news__title{word-break:normal;line-break:strict;text-wrap:balance}
}

/* ---------- Motion & input preferences ---------- */
@media (prefers-reduced-motion:reduce){
 .atlas-js .atlas-mark{height:auto}
 .atlas-js .atlas-mark__card{position:relative;top:auto}
 .atlas-home *,.atlas-home *::before,.atlas-home *::after{animation:none!important;transition:none!important}
 .atlas-panel--hero{opacity:1;transform:none}
 .atlas-js .atlas-step:not(.is-in)>*,.atlas-js [data-reveal]:not(.is-in){opacity:1;transform:none;filter:none}
}
@media (scripting:none){
 .atlas-steps__bar{display:none}
}
.atlas-cue{display:none}
@media (max-width:899px){.atlas-js .atlas-cue{display:flex}}

/* Stage caption on the card: tells phone readers (whose step list is above the card) where the drawing is. */
.atlas-mark__stage{position:absolute;left:7%;right:7%;bottom:6%;margin:0;min-height:3.2em}
.atlas-mark__stage span{position:absolute;inset:0 auto auto 0;display:flex;flex-direction:column;gap:6px;font-size:clamp(14px,1.15vw,17px);font-weight:700;color:var(--ink);opacity:0;transform:translateY(8px);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.atlas-mark__stage b{font:500 12px var(--mono);letter-spacing:.14em;color:var(--accent)}
.atlas-story[data-stage="1"] .atlas-mark__stage [data-mark-step="1"],.atlas-story[data-stage="2"] .atlas-mark__stage [data-mark-step="2"]{opacity:1;transform:none}
html:not(.atlas-js) .atlas-mark__stage{display:none}
.atlas-story .atlas-story__resolve{margin-top:22px;padding-left:16px;border-left:3px solid var(--accent);font-weight:700;color:var(--ink)}
@media (min-width:900px){
 .atlas-story h2{margin-bottom:22px}
 .atlas-story__copy>p:not(.atlas-kicker){margin:0 0 14px;line-height:1.95}
 .atlas-story .atlas-kicker{margin-bottom:20px}
 .atlas-story__steps{margin:22px 0 18px}
 .atlas-story__steps li{padding-block:10px}
}
/* Short desktop screens: the card caption already names the current step. */
@media (min-width:900px) and (max-height:880px){.atlas-story__steps{display:none}}
/* Short desktop screens: keep the news card inside the first view. */
@media (min-width:900px) and (max-height:820px){
 .atlas-panel--hero{padding-top:96px}
 .atlas-hero__lead{display:none}
 .atlas-hero__title{font-size:clamp(56px,min(8vw,11.5vh),156px)}
 .atlas-hero__description{line-height:1.85}
}

/* ---------- Latest blog posts (generated by scripts/build-blog.mjs) ---------- */
.atlas-blog{position:relative;z-index:2;display:grid;grid-template-columns:minmax(280px,30%) 1fr;gap:6vw;padding:clamp(100px,15vh,160px) var(--gutter);background:var(--paper-2);border-top:1px solid var(--line)}
.atlas-blog__head h2{margin:0 0 30px;font-size:clamp(30px,3vw,48px);line-height:1.55;letter-spacing:.01em}
@media (max-width:899px){.atlas-blog{grid-template-columns:1fr;gap:40px}}
