/* The true italic of Source Serif 4 (SIL OFL, same licence file as the roman). Without it the browser slants
   the roman to fake every italic on these pages. */
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-italic-web.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
/* The drawing fills its own viewport. The page flows through it at the visitor's pace. */
.architectural-home .world-lead {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: var(--lvh);
  padding: 0;
  color: var(--on-dark);
}
.world-poster { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.world-poster img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.world:not([data-scene-state="live"]) .world-poster::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,17,12,.82),rgba(8,17,12,.67) 34%,rgba(8,17,12,.17) 60%,transparent 78%); }
.world .scene-actions:has([data-explore-scene][hidden]) .scene-secondary { padding:8px 14px; background:var(--celadon-soft); color:var(--pine-lacquer); border-radius:99px; }
.world .scene-actions:has([data-explore-scene][hidden]) .scene-secondary span { color:var(--viridian); }
.world[data-scene-state="live"] .world-poster { opacity: 0; transition: opacity .9s ease; }
.architectural-home .world-lead__layout {
  position: relative; z-index: 1;
  width: 100%; padding-block: calc(var(--header-height) + 62px) clamp(78px, 12vh, 154px);
}
.architectural-home .world-lead__copy { position: relative; isolation: isolate; max-width: min(43rem, 50vw); }
.architectural-home .world-lead__copy::before { opacity: .86; }
.architectural-home .world-lead .lede { text-shadow: 0 1px 2px rgba(12,13,12,.92), 0 0 14px rgba(12,13,12,.8); }
.architectural-home .world--hill .world-lead__copy::before { opacity: 1; background: radial-gradient(closest-side, rgba(12,13,12,.9), rgba(12,13,12,.74) 56%, rgba(12,13,12,0)); }
.architectural-home .world-lead .eyebrow { color: var(--celadon); }
.architectural-home .world-lead :is(h1,h2) {
  margin: 0; color: var(--plaster-raised); font: 550 clamp(3.05rem, 5.15vw, 5.95rem)/1.01 var(--display);
  letter-spacing: -.032em; word-spacing: .035em; text-wrap: balance;
}
.architectural-home .world-lead h2 { font-size: clamp(2.85rem, 4.65vw, 5.45rem); }
.architectural-home .world-lead h1.hero-title { font-family: var(--serif); font-weight: 460; font-size: clamp(3.15rem, 5.25vw, 5.9rem); line-height: 1.02; letter-spacing: -.026em; word-spacing: 0; font-variant-ligatures: common-ligatures; }
.architectural-home .world-lead :is(h1,h2) em { display: block; margin-top: .04em; color: var(--celadon); font: italic 430 1.03em/1.01 var(--serif); letter-spacing: -.022em; word-spacing: .02em; }
.architectural-home .world-lead .lede { max-width: 31rem; margin: clamp(18px, 2vw, 26px) 0 0; color: rgba(245,245,242,.9); line-height: 1.56; text-wrap: pretty; }
.scene-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: clamp(22px, 2.6vw, 34px); }
.scene-primary-film, .drawing-enter, .scene-secondary, .world-legend a, .drawing-controls button { font-family: var(--display); font-weight: 570; text-decoration: none; }
.scene-primary-film { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; min-height: 46px; border: 1px solid rgba(225,240,229,.88); border-radius: 99px; background: var(--celadon-soft); color: var(--pine-lacquer); font-size: .95rem; box-shadow: 0 12px 28px -14px rgba(0,0,0,.5); transition: background-color .18s ease, transform .18s ease; }
.scene-primary-film:hover { background: var(--plaster-raised); color: var(--pine-lacquer); transform: translateY(-1px); }
.scene-primary-film span:not(.play-mark) { padding-left: 8px; border-left: 1px solid rgba(10,41,29,.24); font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--viridian); }
.scene-actions .button--ghost-light { background: rgba(10,24,18,.72); border-color: rgba(211,230,215,.44); color: var(--plaster-raised); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.55); }
.scene-actions .button--ghost-light:hover { background: rgba(16,44,32,.88); border-color: var(--celadon); color: #fff; }
.drawing-enter { display: inline-flex; align-items: center; gap: 12px; padding: 11px 19px; min-height: 46px; border: 1px solid rgba(225,240,229,.75); border-radius: 99px; background: var(--celadon-soft); color: var(--pine-lacquer); font-size: .95rem; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.drawing-enter:hover { background: var(--plaster-raised); }
#anything-built .drawing-enter { background: rgba(10,26,19,.62); color: var(--plaster-raised); border-color: rgba(211,230,215,.38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#anything-built .drawing-enter:hover { background: rgba(16,44,32,.84); border-color: var(--celadon); }
.scene-secondary { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; padding-inline: 4px; color: var(--plaster-raised); font-size: .94rem; }
.scene-secondary span { font-size: .82rem; font-variant-numeric: tabular-nums; color: var(--celadon); }
.scene-secondary:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.architectural-home .world__hud { gap: 6px; top: calc(var(--header-height) + 12px); }
.world-legend { position: absolute; z-index: 2; bottom: max(20px,env(safe-area-inset-bottom)); left: var(--gutter); right: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--on-dark); }
.world-legend > span { background: rgba(10,22,16,.62); border: 1px solid rgba(211,230,215,.21); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 99px; }
.world-legend > span { padding: 7px 12px; color: var(--celadon); font: 520 .72rem/1 var(--display); letter-spacing: .06em; }
.world-legend a { display:grid; place-items:center; min-height:36px; padding-inline:12px; color: rgba(244,248,244,.79); font-size:.8rem; }
.world-legend a:hover { color:#fff; }
.architectural-home .architecture-method { min-height: 76svh; padding-block: clamp(52px,8vh,88px); }
.drawing-handoff { display:grid; min-height: 78svh; align-items:center; padding-block:clamp(64px,9vh,108px); background:var(--plaster); color:var(--ink); }
.drawing-handoff .wrap { width: 100%; }
.drawing-handoff [data-calm], .architecture-method .method__copy { width:min(100%,37rem); padding:clamp(26px,3.2vw,44px); background:rgba(248,249,246,.94); border:1px solid var(--line-strong); border-radius:var(--radius-lg); box-shadow:inset 0 2px 0 var(--viridian), 0 22px 48px -26px rgba(10,34,24,.28); }
.drawing-handoff h2, .captured-room .study-intro h2, .architecture-method .method__copy h2 { font:560 clamp(2.45rem,4.3vw,4.35rem)/1.01 var(--display); letter-spacing:-.03em; word-spacing:.032em; }
.drawing-handoff h2 em, .captured-room .study-intro h2 em, .architecture-method .method__copy h2 em { display:block; margin-top:.04em; font:italic 430 1.02em/1.03 var(--serif); letter-spacing:-.022em; word-spacing:.02em; color:var(--viridian); }
.drawing-handoff h2 { color: var(--heading); }
.drawing-handoff p:not(.eyebrow) { margin-top:18px; }
.drawing-handoff .text-link { margin-top:15px; }
.drawing-handoff--hill [data-calm] { margin-left:auto; }
.architectural-home .captured-room .study-spread { padding-block:clamp(58px,7vw,102px) clamp(32px,5vw,64px); }
.architectural-home .service-editorial { color:var(--ink); background:var(--plaster); }
.architectural-home [hidden] { display:none !important; }
.drawing-controls { position:fixed; z-index:70; bottom:max(18px,env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); max-width:46rem; width:calc(100% - 2*var(--gutter)); color:var(--plaster); background:rgba(9,20,14,.88); border:1px solid rgba(203,225,209,.32); border-radius:14px; -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); }
.drawing-controls__head, .drawing-controls__track { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:8px 17px; }
.drawing-controls__head { border-bottom:1px solid rgba(203,225,209,.20); }
.drawing-controls__head p { margin:0; font:italic 480 1.25rem/1.12 var(--serif); color:var(--celadon); }
.drawing-controls button { min-height:36px; padding:4px 3px; border:0; background:transparent; color:var(--plaster-raised); cursor:pointer; font-size:.85rem; }
.drawing-controls button:hover { text-decoration:underline; text-underline-offset:.2em; }
.drawing-controls__ruler { flex:1; }
.drawing-controls input { width:100%; margin:0; min-height:25px; accent-color:var(--celadon); cursor:pointer; }
.drawing-controls__stations { display:flex; justify-content:space-between; gap:4px; }
.drawing-controls__stations button { min-height:27px; padding:0; color:var(--celadon); font-size:.75rem; }
.drawing-controls button:focus-visible, .drawing-controls input:focus-visible, .world-lead :is(a,button):focus-visible { outline:2px solid var(--celadon); outline-offset:3px; }
html.drawing-open .world__hud, html.drawing-open .architectural-home .site-header { opacity:0; pointer-events:none; }
html.drawing-open .world-lead > :not(.world-poster) { opacity:0; pointer-events:none; }
html.scene-copy-hidden .world .world__flow > section[data-scene-occlude] > * { opacity:1; pointer-events:auto; }
@media(max-width:999px){ .architectural-home .world-lead__copy { max-width:min(32rem,70vw); } }
@media(max-width:650px){
  .architectural-home .world-lead { align-items:start; min-height:100svh; }
  .architectural-home .world-lead__layout { padding-top:calc(var(--header-height) + clamp(16px,3svh,28px)); padding-bottom:72px; }
  .architectural-home .world-lead__copy { max-width: min(100%, 28rem); }
  .architectural-home .world-lead__copy::before { inset: -18% -14% -24% -14%; opacity: 1; background: radial-gradient(ellipse 95% 78% at 44% 42%, rgba(12,13,12,.78), rgba(12,13,12,.46) 62%, rgba(12,13,12,0) 100%); }
  .architectural-home .world-lead .eyebrow { margin-bottom: 12px; }
  .architectural-home .world-lead :is(h1,h2) { font-size:clamp(2.4rem,8.8vw,3.15rem); line-height:1.01; letter-spacing:-.036em; }
  .architectural-home .world-lead .lede { max-width:34ch; margin-top:12px; font-size:.95rem; line-height:1.48; }
  .scene-actions { gap:8px 10px; margin-top:16px; }
  .scene-primary-film, .scene-actions .button { min-height:42px; padding:9px 15px; font-size:.88rem; }
  .drawing-enter { min-height:42px; padding:9px 13px; font-size:.87rem; gap:8px; }
  .scene-secondary { font-size:.88rem; gap:5px; }
  .architectural-home .captured-room .study-spread { padding-top:calc(var(--header-height) + 20px); }
  .atlas-engine { padding-block:56px 64px; }
  .atlas-engine__grid { margin-top:28px; }
  .investment-close { padding-block:60px 68px; }
  .world-legend { justify-content:flex-start; gap:7px; bottom:max(14px,env(safe-area-inset-bottom)); }
  .world-legend > span { border:0; background:rgba(10,22,16,.68); border-radius:3px; font-size:.64rem; padding:6px; max-width:12ch; line-height:1.18; }
  .world-legend a { min-height:38px; padding-inline:9px; font-size:.76rem; }
  .world:not([data-scene-state="live"]) .world-poster::after { background:linear-gradient(180deg,rgba(8,17,12,.62),rgba(8,17,12,.54) 33%,rgba(8,17,12,.12) 58%,transparent 72%); }
  .architectural-home .architecture-method, .drawing-handoff { min-height:62svh; padding-block:clamp(45px,8svh,90px); }
  .drawing-controls { width:calc(100% - 20px); bottom:max(10px,env(safe-area-inset-bottom)); }
  .drawing-controls__track > button { justify-self:start; }
  .drawing-controls__stations button { min-height:28px; }
}
@media(max-height:600px) and (orientation:landscape){
  .architectural-home .world-lead__layout { padding-block:calc(var(--header-height) + 14px) 56px; }
  .architectural-home .world-lead :is(h1,h2) { font-size:clamp(2.15rem,5.8vh,3rem); }
  .architectural-home .world-lead .lede { margin-top:8px; font-size:.95rem; }
  .scene-actions { margin-top:8px; }
}
@media(prefers-reduced-motion:reduce){ .world[data-scene-state="live"] .world-poster { transition:none; } }
/* Navigation follows the three scales of the investment story; the product directory comes after it. */
.architectural-home .site-nav .site-nav__investors, .architectural-home .site-menu__panel .site-nav__investors { display:inline-flex; align-items:center; gap:7px; background:var(--pine-lacquer); color:var(--plaster-raised); border-radius:99px; padding:8px 15px; }
html:is([data-ground="dark"],[data-ground="pine"]) .architectural-home .site-nav .site-nav__investors { background:var(--celadon-soft); color:var(--pine-lacquer); }
.architectural-home .site-nav a[aria-current="location"] { text-decoration:underline; text-decoration-color:var(--viridian); text-underline-offset:5px; }
html:is([data-ground="dark"],[data-ground="pine"]) .architectural-home .site-nav a[aria-current="location"] { text-decoration-color:var(--celadon); }
@media(max-width:1120px){
  .architectural-home .site-header__inner { gap:clamp(7px,1.4vw,15px); }
  .architectural-home .site-header .site-nav { display:flex; margin-left:auto; }
  .architectural-home .site-header .site-nav > a:not(.site-nav__investors) { display:none; }
  .architectural-home .site-nav .site-nav__investors { min-height:39px; padding:7px 12px; white-space:nowrap; font-size:.82rem; }
  .architectural-home .site-header .site-menu { margin-left:0; }
}
@media(max-width:20em){
  .architectural-home .site-header .site-logo img { width:clamp(90px,26vw,112px); }
  .architectural-home .site-header .site-menu > summary { justify-content:center; min-width:44px; padding:0; font-size:0; gap:0; }
  .architectural-home .site-nav .site-nav__investors { padding-inline:9px; }
}
.world-legend > span { white-space:nowrap; max-width:none; }
.world-legend .world-next { display:inline-flex; align-items:center; gap:10px; background:rgba(10,22,16,.65); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); border:1px solid rgba(211,230,215,.25); border-radius:99px; padding:4px 13px; min-height:36px; color:var(--plaster-raised); }
.world-next i { font:inherit; color:var(--celadon); }
.drawing-breath { height:36svh; pointer-events:none; }
.drawing-transition { position:fixed; top:0; left:0; width:100%; height:var(--canvas-h,100lvh); z-index:55; pointer-events:none; opacity:1; }
.drawing-transition.is-fading { opacity:0; transition:opacity .48s cubic-bezier(.35,0,.3,1); }
.architecture-method .method__copy > p:not(.eyebrow) { margin-top:22px; color:var(--ink); }
.architecture-method .method__copy .text-link { margin-top:15px; }
.investment-close { padding-block:clamp(76px,11vw,152px); background:var(--pine-lacquer); color:var(--plaster); border-top:1px solid rgba(198,222,205,.18); }
.investment-close__layout { display:grid; grid-template-columns:1.12fr .88fr; align-items:end; gap:clamp(40px,7vw,105px); }
.investment-close__layout > * { min-width:0; }
.investment-close .eyebrow, .investment-close h2 em { color:var(--celadon); }
.investment-close h2 { color:var(--plaster-raised); font:550 clamp(2.65rem,4.6vw,4.8rem)/1.02 var(--display); letter-spacing:-.03em; word-spacing:.032em; }
.investment-close h2 em { display:block; margin-top:.04em; font:italic 430 1.03em/1.04 var(--serif); letter-spacing:-.02em; }
.investment-close p:not(.eyebrow) { color:var(--on-dark-muted); max-width:33rem; line-height:1.58; }
.investment-close .actions { align-items:center; gap:12px 16px; margin-top:26px; }
.investment-close .text-link { color:var(--celadon); }
.investment-close__note { margin-top: 18px; }
.architectural-home .captured-room .study-spread { padding-inline:var(--gutter); padding-top:max(calc(var(--header-height) + 24px),clamp(58px,7vw,102px)); }
.captured-room .study-intro :is(h2,.eyebrow), .captured-room .study-caption-name, .captured-room .study-record summary, .captured-room .study-record-body :is(h2,p,figcaption) { color:var(--pine-lacquer); }
.architectural-home .captured-room .study-intro h2 { color:var(--pine-lacquer); }
.architectural-home .captured-room .study-intro h2 em, .captured-room .study-record-body h2 em, .captured-room .study-record-body .eyebrow, .captured-room .study-actions .text-link, .captured-room .study-views button[aria-pressed="true"] { color:var(--viridian); }
.captured-room .study-lede { color:var(--ink); }
.captured-room .study-play { background:var(--pine-lacquer); border-color:var(--pine-lacquer); color:var(--plaster-raised); }
.captured-room .study-stage { border:1px solid var(--line); }
.captured-room .study-views button, .captured-room .study-record summary span, .captured-room .study-chapters button, .captured-room .study-chapters time, .captured-room .study-limit { color:var(--muted); }
.captured-room .study-views button[aria-pressed="true"]::after { background:var(--viridian); }
.captured-room .study-record, .captured-room .study-chapters button { border-color:var(--line-strong); }
.captured-room a:focus-visible, .captured-room button:focus-visible, .captured-room summary:focus-visible { outline-color:var(--viridian); }
.drawing-touch { position:fixed; z-index:60; inset:0; touch-action:pan-y pinch-zoom; cursor:ew-resize; user-select:none; -webkit-user-select:none; }
.drawing-controls__hint { flex:1; color:var(--on-dark-muted); font-size:.77rem; }
.drawing-controls__actions { display:flex; align-items:center; gap:16px; }
.drawing-proof, .drawing-investor-link { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:36px; color:var(--celadon-soft); font:570 .84rem/1.18 var(--display); text-decoration:none; }
.drawing-proof { margin-inline:auto; }
.drawing-proof small { color:var(--on-dark-muted); font-size:.68rem; }
.drawing-proof:hover, .drawing-investor-link:hover { text-decoration:underline; text-underline-offset:.22em; }
.drawing-controls a:focus-visible { outline:2px solid var(--celadon); outline-offset:3px; }
.drawing-controls__track > :is([data-drawing-next],[data-drawing-investors]) { justify-self:end; }
.drawing-controls__actions button { min-height:32px; }
.drawing-controls__ruler input { -webkit-appearance:none; appearance:none; height:34px; background:transparent; margin:0; border-radius:0; }
.drawing-controls__ruler input::-webkit-slider-runnable-track { height:2px; border-radius:0; background:rgba(213,232,219,.5); }
.drawing-controls__ruler input::-webkit-slider-thumb { -webkit-appearance:none; width:12px; height:12px; border-radius:50%; background:var(--plaster); border:2px solid var(--celadon); margin-top:-5px; box-shadow:0 0 0 5px rgba(196,224,203,.09); }
.drawing-controls__ruler input::-moz-range-track { height:2px; background:rgba(213,232,219,.5); }
.drawing-controls__ruler input::-moz-range-thumb { width:10px; height:10px; border-radius:50%; background:var(--plaster); border:2px solid var(--celadon); }
.drawing-controls__ruler input:focus-visible { outline:none; }
.drawing-controls__ruler input:focus-visible::-webkit-slider-thumb { outline:2px solid var(--celadon); outline-offset:3px; }
.drawing-controls__ruler input:focus-visible::-moz-range-thumb { outline:2px solid var(--celadon); outline-offset:3px; }
.drawing-controls__stations button[aria-pressed="true"] { text-decoration:underline; text-underline-offset:3px; color:var(--plaster-raised); }
html.drawing-open .world:not([data-scene-state="live"]) .world-poster { opacity:1; }
@media(max-width:650px){
  .world-legend { justify-content:space-between; }
  .world-legend > span { font-size:.64rem; padding:6px 9px; background:rgba(10,22,16,.66); border:1px solid rgba(211,230,215,.21); border-radius:99px; }
  .world-legend .world-next { min-height:37px; font-size:.73rem; }
  .drawing-breath { height:26svh; }
  .investment-close__layout { grid-template-columns:1fr; gap:23px; }
  .drawing-controls__head { flex-wrap:wrap; gap:0 10px; }
  .drawing-controls__hint { display:none; }
  .drawing-controls__actions { gap:10px; }
}
.architectural-home .world .captured-room[data-ground] { background:var(--plaster-raised); }
.architectural-home .world .atlas-engine[data-ground],
.atlas-engine {
  scroll-margin-top: var(--header-height);
  padding-block: clamp(72px, 10vw, 136px);
  background: var(--carbon);
  color: var(--on-dark);
  border-top: 1px solid rgba(245, 245, 242, 0.1);
  border-bottom: 1px solid rgba(245, 245, 242, 0.08);
}
.atlas-engine__head { max-width: 44rem; }
.atlas-engine__head .eyebrow { color: var(--celadon); }
.atlas-engine__head h2 {
  margin: 0;
  color: var(--plaster-raised);
  font: 560 clamp(2.45rem, 4.3vw, 4.35rem)/1.02 var(--display);
  letter-spacing: -0.03em;
  word-spacing: 0.032em;
  text-wrap: balance;
}
.atlas-engine__head h2 em {
  display: block;
  margin-top: 0.04em;
  color: var(--celadon);
  font: italic 430 1.03em/1.03 var(--serif);
  letter-spacing: -0.022em;
  word-spacing: 0.02em;
}
.atlas-engine__head .lede {
  margin: 20px 0 0;
  max-width: 40rem;
  color: rgba(245, 245, 242, 0.84);
  line-height: 1.58;
  text-wrap: pretty;
}
.atlas-engine__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(36px, 4.8vw, 58px);
}
.atlas-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #121615;
  border: 1px solid rgba(198, 222, 205, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.65);
}
.atlas-card__frame {
  aspect-ratio: 18 / 17;
  background: #0c0d11;
  overflow: hidden;
  border-bottom: 1px solid rgba(198, 222, 205, 0.12);
}
.atlas-card__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atlas-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(18px, 2vw, 24px);
  flex: 1;
}
.atlas-card figcaption span {
  color: var(--celadon);
  font: 600 0.75rem/1.2 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.atlas-card figcaption strong {
  color: var(--plaster-raised);
  font: 570 1.18rem/1.24 var(--display);
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.atlas-card figcaption p {
  margin: 4px 0 0;
  color: rgba(245, 245, 242, 0.76);
  font-size: var(--text-small);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .atlas-engine__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 32rem;
  }
}
.architectural-home .drawing-handoff--return { color:var(--on-dark); background:var(--pine-lacquer); }
.architectural-home .drawing-handoff--return [data-calm] { background:rgba(9,27,20,.9); border-color:rgba(198,222,205,.28); box-shadow:inset 0 2px 0 var(--signal-jade), 0 24px 52px -24px rgba(0,0,0,.5); }
.architectural-home .drawing-handoff--return h2 { color:var(--plaster-raised); }
.architectural-home .drawing-handoff--return p:not(.eyebrow) { color:rgba(245,245,242,.88); }
.architectural-home .drawing-handoff--return :is(.eyebrow,h2 em,.text-link) { color:var(--celadon); }
.drawing-controls__identity { display:flex; align-items:center; flex-direction:row-reverse; gap:11px; }
.drawing-controls__identity small { color:var(--on-dark-muted); font-size:.68rem; }
.drawing-controls:not(.is-playing) .drawing-controls__hint { text-align:right; }
.drawing-controls.is-playing .drawing-controls__stations, .drawing-controls.is-playing .drawing-controls__hint { display:none; }
.drawing-controls.is-playing .drawing-controls__head { padding-block:3px; }
.drawing-controls.is-playing .drawing-controls__track { padding-block:2px; }
@media(max-width:650px){
  .drawing-controls { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; column-gap:4px; padding:3px 12px 4px; }
  .drawing-controls__head, .drawing-controls__track { display:contents; }
  .drawing-controls__identity { grid-area:1/1/2/3; }
  .drawing-controls__actions { grid-area:1/3/2/4; justify-self:end; white-space:nowrap; gap:8px; }
  .drawing-controls__ruler { grid-area:2/1/3/4; border-top:1px solid rgba(203,225,209,.2); }
  .drawing-controls [data-drawing-play] { grid-area:3/1/4/2; justify-self:start; }
  .drawing-controls .drawing-proof { grid-area:3/2/4/3; justify-self:center; margin:0; }
  .drawing-controls :is([data-drawing-next],[data-drawing-investors]) { grid-area:3/3/4/4; justify-self:end; }
  .drawing-controls [data-drawing-fullscreen] { position:relative; width:28px; min-height:32px; font-size:0; }
  .drawing-controls [data-drawing-fullscreen]::before, .drawing-controls [data-drawing-fullscreen]::after { content:""; position:absolute; width:7px; height:7px; border-color:currentColor; border-style:solid; }
  .drawing-controls [data-drawing-fullscreen]::before { top:9px; left:7px; border-width:1.5px 0 0 1.5px; }
  .drawing-controls [data-drawing-fullscreen]::after { bottom:9px; right:7px; border-width:0 1.5px 1.5px 0; }
  .drawing-controls__identity { flex-direction:column; align-items:flex-start; gap:0; padding-block:4px; }
  .drawing-controls__identity small { font-size:.6rem; }
  .drawing-controls__head .drawing-controls__identity p { font-size:1.08rem; }
  .drawing-proof { gap:4px; font-size:.72rem; }
  .drawing-controls__head:has(.drawing-proof:not([hidden])) { column-gap:7px; }
}
@media(max-width:999px){
  .architectural-home .world[data-scene-state="live"] .world__hud { display:flex !important; top:calc(var(--header-height) + 8px); }
  .architectural-home .world__hud .world__stat, .architectural-home .world__hud .stage-button:not([data-stage-action="pause"]) { display:none; }
  .architectural-home .world__hud .stage-button[data-stage-action="pause"] { min-height:32px; padding:4px 9px; font-size:.64rem; }
}
/* A narrow window with enlarged reading text gets a separate row for each choice. */
@media(max-width:18em){
  .drawing-controls { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .drawing-controls__identity { grid-area:1/1/2/3; }
  .drawing-controls__actions { grid-area:2/1/3/3; width:100%; justify-content:space-between; }
  .drawing-controls__ruler { grid-area:3/1/4/3; }
  .drawing-controls [data-drawing-play] { grid-area:4/1/5/2; }
  .drawing-controls :is([data-drawing-next],[data-drawing-investors]) { grid-area:4/2/5/3; }
  .drawing-controls .drawing-proof { grid-area:5/1/6/3; }
  .drawing-controls [data-drawing-fullscreen] { font-size:.76rem; width:auto; }
  .drawing-controls [data-drawing-fullscreen]::before, .drawing-controls [data-drawing-fullscreen]::after { content:none; }
}
@media (min-width:38em) and (max-height:31.5em) and (orientation:landscape) {
  .drawing-controls { left:auto; right:max(12px, env(safe-area-inset-right)); bottom:max(12px, env(safe-area-inset-bottom)); transform:none; width:clamp(13.5rem,26vw,16rem); max-height:calc(100svh - 24px); overflow:auto; }
  .drawing-controls__head, .drawing-controls__track { display:grid; gap:4px 8px; padding:7px 12px; }
  .drawing-controls__head { grid-template-columns:1fr; }
  .drawing-controls__identity { flex-direction:column; align-items:flex-start; gap:0; }
  .drawing-controls__identity small { font-size:.63rem; }
  .drawing-controls__hint { display:none; }
  .drawing-controls__actions { justify-content:space-between; gap:6px; }
  .drawing-controls__actions button { min-height:35px; }
  .drawing-controls__track { grid-template-columns:1fr 1fr; }
  .drawing-controls__ruler { grid-column:1 / -1; grid-row:1; }
  .drawing-controls__stations { align-items:flex-start; }
  .drawing-controls__stations button { flex:1; line-height:1.14; text-wrap:balance; }
  .drawing-controls__track > button, .drawing-controls__track .drawing-investor-link { min-width:0; min-height:36px; font-size:.76rem; line-height:1.18; }
  .drawing-controls__track :is([data-drawing-next],[data-drawing-investors]) { text-align:right; justify-self:end; }
  .drawing-controls__track [data-drawing-play] { text-align:left; }
  .drawing-proof { justify-self:start; }
  .drawing-controls.is-playing .drawing-controls__head, .drawing-controls.is-playing .drawing-controls__track { padding-block:6px; }
}

/* ── The Keeping Room (scenes/estate.js, section M): the captured room and Inside Atlas are plates over the great room
   of the farmhouse, so the drawing keeps moving under them. Without a live scene each section keeps its own ground. ── */
.drawing-breath--farm { height: 48svh; }
.drawing-breath--room { height: 90svh; }      /* the later visit plays out with the room to itself */
.room-capture { position: relative; color: var(--on-dark); }
.room-capture__lead { display: grid; align-items: center; min-height: var(--lvh); padding-block: calc(var(--header-height) + 48px) clamp(64px, 10vh, 120px); }
.room-capture__plate { padding-block: clamp(24px, 8vh, 96px) clamp(110px, 20vh, 220px); }
.room-card { position: relative; width: min(100%, 36rem); padding: clamp(26px, 3vw, 42px); color: var(--on-dark); background: rgba(10, 14, 12, 0.82); border: 1px solid rgba(198, 222, 205, 0.22); border-radius: var(--radius-lg); box-shadow: inset 0 2px 0 var(--signal-jade), 0 24px 52px -24px rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(12px) saturate(1.05); backdrop-filter: blur(12px) saturate(1.05); }
.room-card--plate { width: min(100%, 44rem); margin-left: auto; }
.room-card .eyebrow { margin-bottom: 18px; color: var(--celadon); }
.room-card > h2 { font: 560 clamp(2.45rem, 4.3vw, 4.35rem)/1.01 var(--display); letter-spacing: -.03em; word-spacing: .032em; color: var(--plaster-raised); text-wrap: balance; }
.room-card > h2 em { display: block; margin-top: .04em; font: italic 430 1.02em/1.03 var(--serif); letter-spacing: -.022em; word-spacing: .02em; color: var(--celadon); }
.room-card .study-lede { margin-top: 20px; color: rgba(245, 245, 242, 0.88); }
.room-card .study-actions { margin-top: 26px; }
.room-card .study-play { background: var(--celadon-soft); border-color: var(--celadon-soft); color: var(--pine-lacquer); }
.room-card .study-play:hover { background: var(--plaster-raised); border-color: var(--plaster-raised); color: var(--pine-lacquer); }
.room-card .study-actions .text-link { color: var(--celadon); }
.room-card .study-stage { border-color: rgba(198, 222, 205, 0.26); box-shadow: none; }
.room-card .study-caption-name { color: var(--plaster-raised); }
.room-card .study-views button, .room-card .study-record summary span, .room-card .study-chapters button, .room-card .study-limit, .room-card .study-record-body figcaption { color: rgba(245, 245, 242, 0.7); }
.room-card .study-views button[aria-pressed="true"], .room-card .study-views button:hover, .room-card .study-chapters button:hover { color: var(--celadon); }
.room-card .study-views button[aria-pressed="true"]::after { background: var(--celadon); }
.room-card .study-record { border-top-color: rgba(198, 222, 205, 0.24); }
.room-card .study-record summary, .room-card .study-record-body :is(h2, p) { color: var(--plaster-raised); }
.room-card .study-record-body :is(h2 em, .eyebrow), .room-card .study-chapters time { color: var(--celadon); }
.room-card .study-chapters button { border-top-color: rgba(198, 222, 205, 0.2); }
.room-card .study-record-body { grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr); gap: clamp(20px, 3vw, 40px); }
.room-card .study-record-body h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.room-card a:focus-visible, .room-card button:focus-visible, .room-card summary:focus-visible { outline: 2px solid var(--celadon); outline-offset: 3px; }
/* Inside Atlas, on the plaster ground the solve is drawn on: the head is a paper plate, the three captures stay dark plates */
.architectural-home .world .room-atlas[data-ground] { background: var(--plaster); color: var(--ink); border: 0; }
.architectural-home .world--room[data-scene-state="live"] .room-atlas[data-ground] { background: transparent; }
.room-atlas { --plan-hold: clamp(420px, 92vh, 1100px); }                       /* the plan holds the screen before the survey ground rises */
.architectural-home .world .room-atlas[data-ground] { padding-block: clamp(84px, 13vh, 150px) var(--plan-hold); }
.room-atlas .atlas-engine__head { width: min(100%, 40rem); padding: clamp(26px, 3vw, 42px); background: rgba(248, 249, 246, 0.94); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: inset 0 2px 0 var(--viridian), 0 22px 48px -26px rgba(10, 34, 24, 0.28); }
.room-atlas .atlas-engine__head .eyebrow { color: var(--viridian); }
.room-atlas .atlas-engine__head h2 { color: var(--heading); }
.room-atlas .atlas-engine__head h2 em { color: var(--viridian); }
.room-atlas .atlas-engine__head .lede { color: var(--ink); }
/* the three captures as a column of plates on the left, so the plan the room becomes has the right of the screen */
.room-atlas .atlas-engine__grid { grid-template-columns: minmax(0, 1fr); width: min(100%, 35rem); gap: 14px; margin-top: clamp(160px, 30vh, 360px); }
.room-atlas .atlas-card { flex-direction: row; }
.room-atlas .atlas-card__frame { flex: 0 0 clamp(7.5rem, 11vw, 9.5rem); border-bottom: 0; border-right: 1px solid rgba(198, 222, 205, 0.12); }
.room-atlas .atlas-card figcaption { justify-content: center; padding: clamp(14px, 1.5vw, 20px); }
.room-atlas .atlas-card figcaption strong { font-size: 1.06rem; }
.scene-mark { position: absolute; left: 0; bottom: var(--plan-hold); width: 1px; height: 0; pointer-events: none; }   /* where the cards end */
@media (max-width: 900px) {
  .room-capture__lead { align-items: end; padding-bottom: clamp(88px, 14vh, 140px); }
  .room-card--plate { width: 100%; }
  .room-card .study-record-body { grid-template-columns: minmax(0, 1fr); }
  .room-atlas .atlas-engine__grid { width: 100%; max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .room-atlas .atlas-card { flex-direction: column; }
  .room-atlas .atlas-card__frame { flex: none; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid rgba(198, 222, 205, 0.12); }
  .room-atlas { --plan-hold: clamp(320px, 62vh, 760px); }
}
@media (max-width: 700px) {
  .room-atlas .atlas-engine__grid { grid-template-columns: minmax(0, 1fr); }
  .room-atlas .atlas-card { flex-direction: row; }
  .room-atlas .atlas-card__frame { flex: 0 0 32%; aspect-ratio: auto; border-bottom: 0; }
}
@media (max-width: 650px) {
  .drawing-breath--farm { height: 40svh; }
  .drawing-breath--room { height: 60svh; }
  .room-capture__lead { padding-top: calc(var(--header-height) + 24px); }
  .room-card > h2, .room-atlas .atlas-engine__head h2 { font-size: clamp(2.2rem, 9vw, 2.9rem); }
}
/* without a scene (scripts off, or no WebGL 2) the spaces the drawing plays in close up */
html:not(.stage-on) :is(.drawing-breath--farm, .drawing-breath--room), .world[data-scene-state="off"] :is(.drawing-breath--farm, .drawing-breath--room) { height: 0; }
html:not(.stage-on) .room-atlas, .world--room[data-scene-state="off"] .room-atlas { --plan-hold: clamp(72px, 10vw, 136px); }
html:not(.stage-on) .room-atlas .atlas-engine__grid, .world--room[data-scene-state="off"] .room-atlas .atlas-engine__grid { margin-top: clamp(36px, 4.8vw, 58px); }
