/* Iteration 4: layout refinements, shared map plates and continuous page path. */
main>section{z-index:auto}main>.paper-section{position:relative}.page-line{z-index:1}.hero-intro,.hero-choices,.section>*{position:relative;z-index:2}.section.wrap{z-index:auto}.final-band{z-index:auto}.final-band>*{position:relative;z-index:2}.hero-art{grid-area:paper;align-self:center;position:relative;z-index:0;min-width:0}.hero-art .paper{margin:0;aspect-ratio:4/3}.hero-note{display:none}.hero{padding-bottom:112px}.page-line .line-night path{stroke:var(--night-text);opacity:.75}.page-line .line-branch{stroke:var(--text)}.story-station:not(.line-reached) .margin-note{opacity:1}
.example-map{color:var(--map-ink,var(--text))}.example-map .map-stroke{stroke:var(--map-ink,var(--text))}.example-map .dot{fill:var(--map-paper,var(--paper));stroke:var(--map-ink,var(--text))}.example-map .is-now .dot{fill:var(--map-now,var(--now));stroke:var(--map-now,var(--now))}.example-map .future .dot{stroke:var(--map-future,var(--future))}.example-map .future,.example-map .map-stroke.second{stroke:var(--map-future,var(--future))}.example-map .map-stroke.second{stroke-width:1.6}.example-map .map-stroke.branch{stroke-width:1.6}.example-map text{fill:var(--map-ink,var(--text))}.example-map .map-sub{fill:var(--map-ink,var(--text))}.example-map .map-note text{font:29px 'Caveat',cursive;fill:var(--now)}.example-map .map-note path{stroke:var(--now);fill:none}.example-map .card-label{font:45px 'Inter',sans-serif;fill:var(--map-ink);animation:none}.example-map.compact .map-stroke{stroke-width:5}.example-map.compact .map-stroke.branch,.example-map.compact .map-stroke.second{stroke-width:3}.example-map.compact .dot{stroke-width:4}.map-plate{width:100%;display:block;border-radius:3px;overflow:hidden}.map-plate:has(.theme-road){background:#f6f0e4}.map-plate:has(.theme-air){background:#eef3f7}.map-plate:has(.theme-night){background:#131a1f}.map-plate svg{height:auto;aspect-ratio:850/400;margin:0}.case-card{padding:16px 16px 23px}.map-style{font-size:13px;line-height:1.4;color:var(--text-soft);margin:14px 0 18px}.case-card strong{font-size:29px}.case-card .why,.case-card .more{font-size:13px}
.gallery{width:min(100%,1000px,calc((100svh - 240px)*1.5));margin-inline:auto}.gallery-slide img{height:auto;aspect-ratio:3/2;max-height:none;object-fit:contain}.gallery-thumbs{margin-top:17px}.gallery-thumbs button{flex-basis:82px}.gallery-caption,.gallery-count,.gallery-note,.gallery-pdf{font-size:13px}.eyebrow,.lang button,.head-link,.blank-link,.wall-link,.footer-links,.footer-note,.site-footer .footer-note,.footer-brand p{font-size:13px}.margin-note{font-size:23px;color:var(--now);opacity:1}.night-section .wrap{grid-template-columns:1.2fr 1fr;gap:64px;align-items:stretch}#branchMap{align-self:stretch;min-height:480px;display:flex;align-items:center}#branchMap svg{height:100%;min-height:480px;max-height:670px;width:100%}.contact-email{display:block;overflow-wrap:anywhere;margin:18px 0}.copy-email-status{font-size:13px}.form-unavailable .btn{margin-top:12px}.form-unavailable p{font-size:15px}
@media(max-width:1100px) and (min-width:701px){.case-grid{grid-template-columns:repeat(2,1fr)}.map-plate svg{height:160px}.example-map .card-label{font-size:37px}.night-section .wrap{gap:40px}}
@media(max-width:700px){.hero{padding-bottom:65px}.hero-art{margin:27px 0 0}.hero-art .paper{aspect-ratio:16/11}.hero-note{display:block;font:20px/1.35 'Caveat',cursive;color:var(--now);text-align:right;height:28px;margin-top:12px;white-space:nowrap}.hero-note::before{content:'↖ ';font-family:'Inter',sans-serif;font-size:16px}.hero-chips{gap:8px}.hero-chip,.hero-actions .btn,.blank-link,.wall-link,.eyebrow,.lang button{font-size:13px}.hero .eyebrow{letter-spacing:.08em}.hero-choices{margin-top:24px}#heroPaper .map-note{display:none}#heroPaper .point-label{display:none;font-size:32px}#heroPaper .point-label.mobile-label{display:block}#heroPaper .map-sub{font-size:27px}#heroPaper .map-title{font-size:39px}.gallery{width:100%}.gallery-slide img{aspect-ratio:3/2;max-height:none}.gallery-thumbs button{flex-basis:54px}.gallery-count,.gallery-caption,.gallery-note,.gallery-pdf,.site-footer .footer-note,.case-card .why,.case-card .more{font-size:13px}.gallery-meta{gap:10px}.gallery-actions{gap:10px}.gallery-actions .btn{font-size:13px}.example-map.compact .card-label{display:none}.map-plate svg{height:90px;aspect-ratio:auto}.case-card{padding:12px}.case-card strong{font-size:24px}.map-style{font-size:13px;margin:10px 0 14px}.night-section .wrap{grid-template-columns:1fr;gap:22px}#branchMap,#branchMap svg{height:290px;min-height:290px}.page-line{opacity:1}.footer-links,.footer-note{font-size:13px}.hero .lede{font-size:15px}}

.example-map text{stroke:none}

@media(max-width:700px){#heroPaper .map-point[data-node="1"] .point-label{text-anchor:start}}

/* 2.3.0 (P08): six cards 3 + 3 with real example pictures; parts of the cards share the row lines (subgrid). */
.case-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.case-card{display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:0;align-items:start;justify-items:start}
.case-card>*{min-width:0}
.case-card .more{align-self:end;margin-top:0}
.map-plate.map-photo{background:none;border-radius:3px}
.map-plate.map-photo img{display:block;width:100%;height:auto;aspect-ratio:850/400;object-fit:cover;border-radius:3px}
.case-detail .case-photo{align-self:center}
.case-detail .case-photo img{display:block;width:100%;height:auto;aspect-ratio:850/400;border-radius:3px}
@supports not (grid-template-rows:subgrid){.case-card{display:flex;flex-direction:column}.case-card .more{margin-top:auto}}
@media(max-width:1100px) and (min-width:701px){.case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.map-plate.map-photo img{height:auto}}
@media(max-width:700px){.case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.map-style{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:12px}.map-plate.map-photo img{height:auto}}
