/*
 * Style (h-style): the light, read as the sun's arc over a real room.
 * Site-local only: the system under assets/system/ is the hub's copy,
 * unchanged. Overrides of shared parts are marked "override".
 * Phone first; 720 px the tablet; 1100 px the laptop.
 */

/* ---------- Palette and faces (brief 12 and 13; extra pairs computed 10 October 2026) ---------- */
@property --v { syntax: "<number>"; inherits: true; initial-value: 0; }
:root {
  --ground: light-dark(#F1ECE8, #16110E);
  --ground-raised: light-dark(#F8F4F1, #211A16);
  --ground-sunk: light-dark(#E7E0DA, #0F0B09);
  --ink: light-dark(#2A1D17, #F2E8DE);
  --ink-2: light-dark(#66503F, #C6B19F);
  --line: light-dark(#D9CFC7, #3A2E27);
  --line-strong: light-dark(#85766A, #8A7B70);
  --accent: light-dark(#9C4428, #E39A7C);
  --tint: var(--t-style);
  --area: var(--a-style);
  --area-tint: var(--t-style);
  --face-display: "Piazzolla", Georgia, "Times New Roman", serif;
  --step-display: clamp(2.125rem, 1.25rem + 3.3vw, 4.25rem);
  --w: 92cqi;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -0.012em; }
h1 { font-size: var(--step-display); line-height: 1.04; }
.passage-in { --passage-ground: var(--t-style); }
.passage-in .passage-name { font-family: var(--face-display); font-weight: 500; }
.disc--hub { --area-tint: var(--paper); }
.disc--style { --area-tint: var(--t-style); }
.area-mark--hub { --area: var(--seal); }
.lt-js .no-js-only { display: none; }

/* ---------- Masthead: Style's own name and its pages (laptop), Pages (phone) ---------- */
.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 56px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line);
  view-transition-name: masthead;
}
.masthead-name { display: inline-flex; align-items: center; gap: var(--s-3); min-height: var(--target); text-decoration: none; color: var(--ink); }
.masthead-mark .sun-mark { width: 30px; height: 30px; }
.masthead-word { font-family: var(--face-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; }
.masthead-area { font-family: var(--face-family); font-size: 0.6875rem; font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent); }
.sun-mark-arc { fill: none; stroke: currentColor; stroke-width: 6; }
.sun-mark-h { stroke: currentColor; stroke-width: 6; stroke-linecap: round; }
.sun-mark-sun { fill: var(--seal); stroke: currentColor; stroke-width: 4; }
.site-nav { display: none; }
.pages-open { min-height: 40px; padding: 0 var(--s-4); }
@media (any-pointer: coarse) { .pages-open { min-height: var(--target); } }
@media (min-width: 1100px) {
  .pages-open { display: none; }
  .site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 2px; }
  .site-nav a { position: relative; display: inline-flex; align-items: center; min-height: var(--target); padding: 0 var(--s-3); font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: var(--radius-pill); transition: color var(--t-swap) ease-out; }
  .site-nav a:hover { color: var(--ink); }
  .site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--seal); transform: scale(0); transition: transform var(--t-swap) var(--ease-out); }
  .site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
  .site-nav a[aria-current="page"]::after, .site-nav a:hover::after { transform: scale(1); }
  .site-nav a:hover:not([aria-current="page"])::after { transform: scale(.6); opacity: .6; }
}
@media (max-width: 719px) { .masthead { min-height: 52px; } .masthead-word { font-size: 1.125rem; } .masthead-area { display: none; } }

@media (max-width: 719px) { .header-link--apps { display: none; } .brand-name { white-space: nowrap; } }

/* ---------- Page frame ---------- */
.page { max-width: 1240px; margin: 0 auto; padding: var(--s-6) var(--gutter) var(--s-8); }
.page > * + * { margin-top: var(--s-8); }
.lede { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 46ch; margin-top: var(--s-4); }
.section-title { font-size: var(--step-1); max-width: 22ch; }
.section-lede { color: var(--ink-2); max-width: 52ch; margin-top: var(--s-3); }
.kicker { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-3); }
.kicker .area-mark { width: 12px; height: 12px; }
.area-mark { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--area); flex: none; }
.centre-call { margin-top: var(--s-5); }
.centre-call .call-note a { color: inherit; }
@media (max-width: 719px) { .centre-call .call { width: 100%; } .page { padding-top: var(--s-5); } .page > * + * { margin-top: var(--s-7); } }

/* Prices: one unbroken run per item, its label beside it. */
.prices { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
.prices .price { font-size: 1.0625rem; }
.price-item { font-weight: 600; }
.price-block { display: grid; gap: 0; border-top: 1px solid var(--line); }
.price-row { display: grid; gap: 4px; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.price-row .price { font-size: 1.0625rem; }
.price-what { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.45; max-width: 60ch; }
.price-turn { font-size: var(--step-small); color: var(--ink-2); display: flex; gap: 6px; align-items: baseline; }
.price-turn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--seal); flex: none; transform: translateY(-1px); }
.price-foot { display: grid; gap: var(--s-2); margin-top: var(--s-3); }
.yours { font-size: var(--step-small); color: var(--ink-2); max-width: 60ch; }
.yours b { color: var(--ink); font-weight: 600; }

/* ---------- The room in two lights: the sun's arc over the room ---------- */
.sunlit-wrap { container-type: inline-size; }
.sunlit {
  --v: 0; --sun: calc(-58deg + var(--v) * 116deg);
  position: relative; width: var(--w); margin: calc(var(--w) * .08 + 3.25rem) auto 0;
  transition: --v 600ms var(--ease-out);
  view-transition-name: dial;
}
html[data-theme="dark"] .sunlit { --v: 1; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .sunlit { --v: 1; } }
.sunlit.is-dragging, .sunlit.is-instant { transition: none; }
.sunlit.is-slow { transition-duration: 1200ms; }
html.lt-js .sunlit[data-sun-arrive]:not(.is-up) { --v: -.25; }
html.lt-js[data-theme="dark"] .sunlit[data-sun-arrive]:not(.is-up) { --v: 1.25; }
@media (prefers-color-scheme: dark) { html.lt-js:not([data-theme="light"]) .sunlit[data-sun-arrive]:not(.is-up) { --v: 1.25; } }
@media (prefers-reduced-motion: reduce) { .sunlit { transition-duration: 1ms !important; } html.lt-js .sunlit[data-sun-arrive]:not(.is-up) { --v: 0; } html.lt-js[data-theme="dark"] .sunlit[data-sun-arrive]:not(.is-up) { --v: 1; } }
.sunlit-frame { position: relative; aspect-ratio: 5 / 6; border-radius: calc(var(--w) / 2) calc(var(--w) / 2) 16px 16px; overflow: hidden; background: var(--ground-sunk); isolation: isolate; }
.sunlit-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.sunlit-frame .sunlit-img--lamp { opacity: clamp(0, var(--v), 1); }
.sunlit--square .sunlit-frame { aspect-ratio: 1; }
.sunlit--square .sunlit-frame img { object-position: 50% 40%; }
.arc-svg { max-width: none; position: absolute; left: calc(var(--w) * -.08); top: calc(var(--w) * -.08); width: calc(var(--w) * 1.16); height: calc(var(--w) * .584); overflow: visible; pointer-events: none; }
.arc-svg .scallop { stroke-width: 2.4; }
.arc-svg .ring-line { stroke-width: 2.5; }
.arc-svg .bezel { stroke-width: 1.4; }
.arc-svg .bezel--major { stroke: var(--ink); stroke-width: 2.2; }
.sun-track { fill: none; stroke: var(--line-strong); stroke-width: 2.5; stroke-dasharray: 1 9; stroke-linecap: round; }
.sun-track-lit { fill: none; stroke: var(--seal); stroke-width: 4; stroke-dasharray: 100 200; stroke-dashoffset: calc((1 - clamp(0, var(--v), 1)) * 100px); stroke-linecap: round; }
.rim-row { position: absolute; left: calc(var(--w) * -.04); right: calc(var(--w) * -.04); bottom: calc(100% + var(--w) * .08 + .25rem); display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.rim-row--single { justify-content: center; }
.rim-name-html { font-family: var(--face-family); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); padding-left: 0.3em; }
.rim-door { display: inline-flex; align-items: center; gap: 4px; min-height: var(--target); padding: 0 var(--s-2); font-family: var(--face-family); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); border-radius: var(--radius-pill); transition: transform var(--t-swap) var(--ease-out), color var(--t-swap); }
.rim-door:hover { color: var(--ink); }
.rim-door--prev:hover { transform: translateX(-4px); }
.rim-door--next:hover { transform: translateX(4px); }
.rim-door:active { transform: scale(.97); }
.sun-handle {
  position: absolute; left: 50%; top: calc(var(--w) * .5); z-index: 2;
  width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  display: grid; place-items: center; cursor: grab; touch-action: none;
  transform: rotate(var(--sun)) translateY(calc(var(--w) * -.532)) rotate(calc(-1 * var(--sun)));
}
.sun-handle:active { cursor: grabbing; }
.sun-disc { width: 26px; height: 26px; border-radius: 50%; background: var(--seal); border: 2.5px solid var(--ink); transition: transform var(--t-press) ease-out, background-color var(--t-swap) ease-out; }
.sun-handle::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed var(--ink); opacity: .55; }
.sun-handle.is-lamp .sun-disc { background: var(--ground); box-shadow: inset 0 0 0 5px var(--seal); }
.sunlit.is-dragging .sun-disc { transform: scale(1.18); }
.sun-handle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sunlit-caption { margin-top: var(--s-2); text-align: center; }
html:not(.lt-js) .sun-handle { display: none; }

.light-controls { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-3); align-items: center; width: 100%; max-width: 720px; margin: var(--s-4) auto 0; }
.light-controls .chip { justify-content: center; }
.light-reading { grid-column: 1 / -1; grid-row: 2; text-align: center; font-size: 0.9375rem; color: var(--ink-2); min-height: 3em; }
.light-reading b { color: var(--ink); font-weight: 600; }
html:not(.lt-js) .light-controls .chip { display: none; }
@media (min-width: 720px) {
  .light-controls { grid-template-columns: auto 1fr auto; }
  .light-reading { grid-column: 2; grid-row: 1; min-height: 0; }
}
@media (min-width: 720px) { :root { --w: min(84cqi, 980px); } .sunlit-frame { aspect-ratio: 3 / 2; } .sunlit-frame img { object-position: 50% 50%; } .sunlit--square .sunlit-frame { aspect-ratio: 1; } }

/* ---------- Front page ---------- */
.hero { display: grid; gap: var(--s-4); }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 0; }
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: var(--s-8); align-items: end; }
  .hero-aside .prices { margin-top: var(--s-4); }
}
.hero-aside .centre-call { margin-top: var(--s-4); }
.front-room { margin-top: var(--s-3) !important; }

.ways { display: grid; gap: var(--s-4); }
.ways-head { max-width: 40ch; }
.ways-doors { display: grid; gap: var(--s-3); }
@media (min-width: 720px) { .ways-doors { grid-template-columns: 1fr 1fr; } }
.way {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: var(--s-2) var(--s-4); align-items: start;
  padding: var(--s-5); border-radius: var(--radius); border: 1px solid var(--line); background: var(--ground-raised);
  color: var(--ink); text-decoration: none; transition: border-color var(--t-swap) ease-out, transform var(--t-press) ease-out;
}
.way:hover { border-color: var(--ink); }
.way:active { transform: scale(.985); }
.way-glyph { width: 64px; height: 64px; grid-row: span 3; }
.way-glyph circle { fill: none; stroke: var(--ink); stroke-width: 3; }
.way-glyph path { fill: var(--seal); }
.way-name { font-family: var(--face-display); font-size: 1.5rem; line-height: 1.15; }
.way-line { color: var(--ink-2); font-size: 0.9375rem; }
.way-prices { display: grid; gap: 2px; font-size: 0.9375rem; }
.way-go { position: absolute; right: var(--s-5); top: var(--s-5); width: 20px; height: 20px; color: var(--ink-2); transition: transform var(--t-swap) var(--ease-out); }
.way:hover .way-go { transform: translateX(3px); }
@media (max-width: 479px) { .way { grid-template-columns: 1fr; } .way-glyph { width: 48px; height: 48px; grid-row: auto; } }

.readings { display: grid; gap: var(--s-4); }
.reading-list { display: grid; }
@media (min-width: 900px) { .reading-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); } }
.reading {
  display: grid; grid-template-columns: 40px 1fr 20px; gap: var(--s-3); align-items: center; min-height: 64px; padding: var(--s-3) 0;
  border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color var(--t-swap) ease-out;
}
.reading:active { background: var(--ground-raised); }
.reading-glyph { width: 40px; height: 22px; overflow: visible; }
.reading-glyph .g-arc { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.reading-glyph .g-sun { fill: var(--seal); stroke: var(--ink); stroke-width: 1.5; transition: transform var(--t-turn) var(--ease-turn); transform-box: view-box; transform-origin: 20px 20px; }
.reading:hover .g-sun { transform: rotate(20deg); }
.reading-name { font-family: var(--face-display); font-size: 1.25rem; line-height: 1.2; display: block; }
.reading-line { display: block; font-size: 0.9375rem; color: var(--ink-2); }
.reading-go { width: 20px; height: 20px; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .reading:hover .g-sun { transform: none; } }

/* The call band and the next door, at the foot of every page */
.call-band { display: grid; gap: var(--s-3); padding: var(--s-7) var(--s-5); border-radius: 22px; background: var(--ground-raised); border: 1px solid var(--line); text-align: center; justify-items: center; }
.call-band h2 { font-size: var(--step-1); }
.call-band p { color: var(--ink-2); max-width: 44ch; }
.call-band-act { margin-top: var(--s-2); }
.call-band .call-note { margin-top: var(--s-2); }
.call-band .call-note a { color: var(--ink); }
.next-door { display: grid; gap: 0; }
.next-door .caps { margin-bottom: var(--s-3); }
@media (min-width: 900px) { .next-door { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s-5); } .next-door .caps { grid-column: 1 / -1; } }
.door { display: grid; grid-template-columns: 14px 1fr; gap: 2px var(--s-3); align-items: baseline; padding: var(--s-4) 0; min-height: 56px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.door .area-mark { width: 12px; height: 12px; transform: translateY(1px); }
.door-name { font-family: var(--face-family); font-weight: 650; font-size: 1.0625rem; }
.door-line { grid-column: 2; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.4; }
.door:hover .door-name { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.door:active { background: var(--ground-raised); }

/* ---------- Inner page heads ---------- */
.page-head h1 { max-width: 17ch; }
.page-head .prices { margin-top: var(--s-4); }
.split-head { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) { .split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-8); align-items: center; } }

/* ---------- Ways in: her ring split in two halves ---------- */
.split { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: var(--s-8); align-items: start; } .split-dial { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.split-dial { container-type: inline-size; width: min(100%, 520px); margin: 0 auto; }
.split-ring { --turn: 0deg; position: relative; aspect-ratio: 1; view-transition-name: dial; }
.split-turn { position: absolute; inset: 0; transform: rotate(var(--turn)); transition: transform var(--t-turn) var(--ease-turn); }
.split-turn svg { width: 100%; height: 100%; overflow: visible; }
.split-ring.is-instant .split-turn, .split-ring.is-instant .half-btn { transition: none; }
.half { fill: none; stroke: var(--line-strong); stroke-width: 14; transition: stroke var(--t-swap) ease-out; }
.split-ring[data-faced="video"] .half--video, .split-ring[data-faced="room"] .half--room { stroke: var(--accent); stroke-width: 22; }
.half-gap { stroke: var(--seal); stroke-width: 5; }
.split-pointer { position: absolute; left: 50%; top: -1%; width: 22px; height: 18px; margin-left: -11px; fill: var(--seal); }
.half-btn {
  position: absolute; left: 50%; top: 50%; z-index: 2; min-height: var(--target); padding: 0 var(--s-4);
  display: inline-flex; align-items: center; gap: var(--s-2); white-space: nowrap;
  border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--ground);
  font-family: var(--face-family); font-weight: 650; font-size: 0.9375rem; color: var(--ink);
  transform: translate(-50%, -50%) rotate(calc(var(--a) + var(--turn))) translateY(-34cqi) rotate(calc(-1 * (var(--a) + var(--turn))));
  transition: transform var(--t-turn) var(--ease-turn), background-color var(--t-swap), color var(--t-swap);
}
.half-btn--video { --a: 270deg; }
.half-btn--room { --a: 90deg; }
.half-btn[aria-current="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.half-btn:active { transform: translate(-50%, -50%) rotate(calc(var(--a) + var(--turn))) translateY(-34cqi) rotate(calc(-1 * (var(--a) + var(--turn)))) scale(.97); }
.split-centre { position: absolute; inset: 27%; display: grid; place-content: center; text-align: center; gap: var(--s-2); }
.split-reading { font-family: var(--face-display); font-size: clamp(1.375rem, 7cqi, 2.25rem); line-height: 1.05; }
.split-sub { font-size: clamp(0.8125rem, 2.8cqi, 1rem); color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .split-turn, .half-btn { transition: none; } }
.ways-lists { display: grid; gap: var(--s-6); }
.way-list { border-radius: var(--radius); padding: var(--s-5) var(--s-4) var(--s-4); transition: background-color var(--t-slide) ease-out; scroll-margin-top: calc(var(--header-h) + var(--s-4)); }
.way-list h2 { font-size: var(--step-2); display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.way-list h2 svg { width: 30px; height: 30px; flex: none; }
.way-list.is-faced { background: var(--ground-raised); box-shadow: inset 0 0 0 1px var(--line); }
.way-list .compact-open { display: none; }
@media (max-width: 999px) {
  .way-list.is-compact .price-what, .way-list.is-compact .price-turn { display: none; }
  .way-list.is-compact .compact-open { display: inline-flex; margin-top: var(--s-3); }
}
.travel { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); margin-top: var(--s-3); border-radius: 12px; background: var(--ground-sunk); font-size: 0.9375rem; }
.travel svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }

/* ---------- Colour: three colours on one wall, in two lights ---------- */
.colour-try { display: grid; gap: var(--s-5); }
/* Paint colours: as mixed, then in morning light (--m) and lamp light (--l). Illustrative only. */
.paint--sage { --m: #95A38E; --l: #847F55; --swatch: #9AA58A; }
.paint--white { --m: #E6E3DE; --l: #CCB285; --swatch: #EEE6D8; }
.paint--clay { --m: #C2978E; --l: #AC7655; --swatch: #C9998A; }
.paint--ochre { --m: #C2984D; --l: #AC772E; --swatch: #C99A4B; }
.paint--slate { --m: #6B7D93; --l: #5F6258; --swatch: #6F7F8F; }
.paint--ink { --m: #314840; --l: #2B3827; --swatch: #33493F; }
.paint--plaster { --m: #D1C1B3; --l: #B9966B; --swatch: #D8C3AE; }
.paint--terracotta { --m: #AF6140; --l: #9B4B27; --swatch: #B5623F; }
.paint--dove { --m: #B3B4B3; --l: #9F8C6B; --swatch: #B9B6AE; }
.swatches { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.swatch { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--target); padding: 0 var(--s-4) 0 var(--s-2); border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--ground); color: var(--ink); font-weight: 550; font-size: 0.9375rem; transition: background-color var(--t-swap) ease-out, border-color var(--t-swap), transform var(--t-press) ease-out; }
.swatch::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
.swatch:hover { border-color: var(--ink); }
.swatch:active { transform: scale(.97); }
.swatch[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.swatch[aria-pressed="true"]::before { box-shadow: inset 0 0 0 2px var(--ground); }
.swatch[aria-disabled="true"] { opacity: .55; }
.walls { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.wall { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.wall--morning { background: #EBEBEC; }
.wall--lamp { background: #D0B88E; }
.wall-light { display: flex; align-items: center; gap: 6px; padding: var(--s-2) var(--s-3); background: rgb(255 255 255 / .82); color: #2A1D17; font-size: var(--step-small); font-weight: 600; }
.wall--lamp .wall-light { background: rgb(42 29 23 / .82); color: #F2E8DE; }
.wall-light svg { width: 16px; height: 16px; }
.wall-patches { display: flex; align-items: center; justify-content: center; gap: 6%; padding: 10%; }
.patch { width: 26%; aspect-ratio: 3 / 4; border-radius: 3px; box-shadow: 0 1px 2px rgb(0 0 0 / .18); transform-origin: 50% 100%; }
.wall--morning .patch { background: var(--m); }
.wall--lamp .patch { background: var(--l); }
.wall-empty { color: #4A3B30; font-size: 0.9375rem; text-align: center; padding: 0 8%; }
.wall--lamp .wall-empty { color: #2A1D17; }
.wall-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: rgb(90 60 40 / .28); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .patch.is-new { animation: patch-in 240ms var(--ease-out) both; } @keyframes patch-in { from { opacity: 0; transform: scaleY(.6); } } }
.colour-result { min-height: 3em; color: var(--ink-2); }
.colour-result b { color: var(--ink); }
@media (min-width: 1000px) { .colour-try { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; column-gap: var(--s-8); align-items: start; } .try-head { grid-column: 1; grid-row: 1; } .try-controls { grid-column: 1; grid-row: 2; } .try-walls { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.try-controls { display: grid; gap: var(--s-3); }
@media (max-width: 999px) { .wall { aspect-ratio: 1; } .try-walls { position: sticky; top: calc(var(--header-h) + 6px); z-index: 4; background: var(--ground); padding-bottom: var(--s-2); } .try-walls .caption { display: none; } }
@media (max-width: 719px) { .swatches { display: grid; grid-template-columns: 1fr 1fr; } .swatch { font-size: 0.875rem; padding-right: var(--s-2); } }

/* ---------- The Room Board, worked through: three pieces round the ring ---------- */
.board-stage { display: grid; gap: var(--s-4); }
.board-tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }
.board-ring { position: relative; container-type: inline-size; }
.board-ring::before { content: ""; position: absolute; left: 50%; top: 50%; width: 92cqi; aspect-ratio: 1; max-width: 900px; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid var(--line-strong); opacity: .6; pointer-events: none; display: none; }
.piece { border-radius: 16px; background: var(--ground-raised); border: 1px solid var(--line); padding: var(--s-5); transition: transform var(--t-turn) var(--ease-turn), opacity var(--t-turn) ease-out; }
.piece-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-4); }
.piece-head h3 { font-size: var(--step-2); }
.board-ring:not(.is-ring) .piece + .piece { margin-top: var(--s-4); }
@media (min-width: 1000px) {
  .board-ring.is-ring { height: 640px; }
  .board-ring.is-ring::before { display: block; width: 600px; }
  .board-ring.is-ring .piece { position: absolute; left: 50%; top: 50%; width: 560px; max-height: 580px; overflow: hidden; margin: 0; }
  .board-ring.is-ring .piece[data-pos="front"] { z-index: 3; transform: translate(-50%, -50%); }
  .board-ring.is-ring .piece[data-pos="left"] { z-index: 1; transform: translate(-50%, -50%) translateX(-380px) scale(.62); opacity: .7; cursor: pointer; }
  .board-ring.is-ring .piece[data-pos="right"] { z-index: 1; transform: translate(-50%, -50%) translateX(380px) scale(.62); opacity: .7; cursor: pointer; }
  .board-ring.is-ring .piece[data-pos]:not([data-pos="front"]):hover { opacity: .9; }
}
@media (max-width: 999px) { .board-ring.is-ring .piece:not([data-pos="front"]) { display: none; } }
@media (prefers-reduced-motion: reduce) { .piece { transition: none; } }
.mood { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 52px) auto; gap: 8px; }
.mood > * { border-radius: 8px; overflow: hidden; position: relative; }
.mood picture, .mood img { width: 100%; height: 100%; object-fit: cover; }
.mood-photo--a { grid-column: span 4; grid-row: span 4; }
.mood-photo--b { grid-column: span 2; grid-row: span 3; }
.mood-tile { display: flex; align-items: flex-end; padding: 6px 8px; font-size: 0.75rem; font-weight: 600; }
.mood-tile--velvet { grid-column: span 2; grid-row: span 1; background: #2F4A3C; color: #F2EDE3; }
.mood-tile--sage { grid-column: span 2; background: #9AA58A; color: #1E241A; }
.mood-tile--clay { grid-column: span 2; background: #C9998A; color: #2A1D17; }
.mood-tile--white { grid-column: span 2; background: #EEE6D8; color: #2A1D17; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.mood-tile--jute { grid-column: span 2; background: #C8B48F; color: #2A1D17; }
.mood-tile--brass { grid-column: span 2; background: #B08D4A; color: #1F150D; }
.mood-img--room { object-position: 62% 60%; }
.mood-img--samples { object-position: 30% 40%; }
.mood-tile--oak { grid-column: span 2; background: #A57A4E; color: #1F150D; }
.mood-words { grid-column: 1 / -1; grid-row: span 1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mood-words span { padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); font-size: 0.8125rem; }
.sketch svg { width: 100%; height: auto; }
.sk-wall { fill: none; stroke: var(--ink); stroke-width: 6; }
.sk-window { stroke: var(--accent); stroke-width: 8; }
.sk-piece { fill: var(--ground); stroke: var(--ink); stroke-width: 2.5; }
.sk-piece--keep { fill: color-mix(in srgb, var(--accent) 12%, var(--ground)); }
.sk-piece--new { fill: var(--ground); stroke-dasharray: 8 6; stroke: var(--accent); }
.sk-rug { fill: color-mix(in srgb, var(--seal) 16%, var(--ground)); stroke: var(--ink-2); stroke-width: 2; }
.sk-label { font-family: var(--face-text); font-size: 17px; fill: var(--ink); }
.sk-label--small { font-size: 14px; fill: var(--ink-2); }
.sk-dim { stroke: var(--ink-2); stroke-width: 1.5; }
.sk-key { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-3); font-size: var(--step-small); color: var(--ink-2); }
.sk-key span { display: inline-flex; align-items: center; gap: 6px; }
.sk-key i { width: 18px; height: 12px; border-radius: 3px; border: 2px solid var(--ink); }
.sk-key .k-keep { background: color-mix(in srgb, var(--accent) 12%, var(--ground)); }
.sk-key .k-new { border: 2px dashed var(--accent); }
.list { display: grid; }
.list-row { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s-3); padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.list-row b { font-weight: 600; }
.list-row small { grid-column: 1; color: var(--ink-2); font-size: 0.8125rem; }
.list-tag { grid-row: span 2; align-self: center; font-size: 0.75rem; font-weight: 600; letter-spacing: .04em; padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--ink-2); white-space: nowrap; }
.list-tag--keep { border-color: var(--accent); color: var(--accent); }
.board-after { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .board-after { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mark-step { display: grid; gap: var(--s-2); }
.mark-step h3 { font-size: 1.25rem; display: flex; gap: var(--s-2); align-items: baseline; }
.mark-step h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--seal); flex: none; transform: translateY(-2px); }
.mark-step p { color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- In your room: the plan, rearranged before anything is bought ---------- */
.plan-stage { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .plan-stage { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: var(--s-7); align-items: start; } }
.plan { position: relative; border-radius: 18px; background: var(--ground-raised); border: 1px solid var(--line); padding: var(--s-4); view-transition-name: dial; }
.plan svg { width: 100%; height: auto; display: block; }
.pc { transition: transform 520ms var(--ease-turn), opacity 320ms ease-out; transform-box: view-box; }
.pc-new { opacity: 0; }
.plan:is([data-step="1"], [data-step="2"]) .pc-sofa { transform: translate(30px, -294px); }
.plan:is([data-step="1"], [data-step="2"]) .pc-table { transform: translate(-5px, -50px); }
.plan:is([data-step="1"], [data-step="2"]) .pc-chair { transform: translate(20px, 190px); }
.plan:is([data-step="1"], [data-step="2"]) .pc-lamp { transform: translate(-496px, -200px); }
.plan:is([data-step="1"], [data-step="2"]) .pc-rug { transform: translate(-100px, -20px); }
.plan:is([data-step="1"], [data-step="2"]) .pc-basket { transform: translate(60px, -310px); }
.plan[data-step="1"] .pc-chair { transition-delay: 60ms; }
.plan[data-step="1"] .pc-lamp { transition-delay: 120ms; }
.plan[data-step="1"] .pc-rug { transition-delay: 180ms; }
.plan[data-step="2"] .pc-rug { opacity: 0; }
.plan[data-step="2"] .pc-new { opacity: 1; }
.plan[data-step="2"] .pc-new--2 { transition-delay: 90ms; }
.plan[data-step="2"] .pc-new--3 { transition-delay: 180ms; }
.plan.is-instant .pc { transition: none; }
@media (prefers-reduced-motion: reduce) { .pc { transition: opacity 180ms ease-out; } }
.plan-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.plan-steps .chip { justify-content: center; padding: 0 var(--s-2); text-align: center; line-height: 1.15; }
.plan-note { min-height: 6em; }
.plan-note h3 { font-size: var(--step-2); margin-bottom: var(--s-2); }
.plan-note p { color: var(--ink-2); }
.sequence { display: grid; gap: var(--s-3); margin-top: var(--s-3); counter-reset: seq; padding: 0; }
@media (min-width: 720px) { .sequence { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sequence li { position: relative; padding: var(--s-3) 0 0; border-top: 2px solid var(--line); font-size: 0.9375rem; color: var(--ink-2); counter-increment: seq; }
.sequence li::before { content: counter(seq); position: absolute; top: -13px; left: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ground); border: 1.5px solid var(--seal); font-family: var(--face-family); font-weight: 650; font-size: 0.75rem; color: var(--ink); }
.sequence b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Seasonal: hours on site, round the ring ---------- */
.season { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) { .season { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: var(--s-8); align-items: start; } }
.hours { container-type: inline-size; width: min(100%, 440px); margin: 0 auto; display: grid; gap: var(--s-4); justify-items: center; }
.hours-ring { position: relative; width: 100%; aspect-ratio: 1; view-transition-name: dial; }
.hours-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.half-hour { fill: none; stroke: var(--line); stroke-width: 34; transition: stroke 200ms ease-out; }
.hour-tick { stroke: var(--ink); stroke-width: 4; }
.hours-ring[data-n] .half-hour.is-lit { stroke: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .half-hour.is-lit { transition-delay: calc(var(--i, 0) * 30ms); } }
.hours-centre { position: absolute; inset: 24%; display: grid; place-content: center; text-align: center; gap: 4px; }
.hours-reading { font-family: var(--face-display); font-size: clamp(1.5rem, 9cqi, 2.75rem); line-height: 1; }
.hours-sub { font-size: clamp(0.8125rem, 3cqi, 1rem); color: var(--ink-2); }
.hours-label { position: absolute; font-family: var(--face-family); font-weight: 650; font-size: 0.75rem; letter-spacing: .08em; color: var(--ink-2); }
.hours-label--0 { left: 50%; top: 4%; transform: translateX(-50%); }
.hours-label--3 { left: 50%; bottom: 4%; transform: translateX(-50%); }
.season-dates { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border-radius: 12px; background: var(--ground-sunk); }
.season-dates svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.season-figure img { width: 100%; border-radius: 18px; }

/* ---------- Your budget: a list kept under the line ---------- */
.budget-play { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .budget-play > div { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--s-8); align-items: start; } .budget-play > div > * { grid-column: 1; } .budget-play > div > .stack-wrap { grid-column: 2; grid-row: 1 / span 5; align-self: start; } }
.budget-items { display: grid; }
.b-item { display: grid; grid-template-columns: 1fr; gap: var(--s-2); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.b-item-name { font-weight: 600; }
.b-item-name small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--ink-2); }
.b-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.b-choices .chip { justify-content: center; padding: 0 var(--s-2); font-size: 0.875rem; }
@media (min-width: 600px) { .b-item { grid-template-columns: 1fr auto; align-items: center; } .b-choices { grid-template-columns: repeat(3, auto); } }
.stack-wrap { position: sticky; top: calc(var(--header-h) + var(--s-4)); display: grid; gap: var(--s-3); justify-items: center; }
.stack { position: relative; width: min(100%, 260px); height: 340px; border-left: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); border-bottom: 3px solid var(--ink); display: flex; flex-direction: column-reverse; padding: 0 18px; view-transition-name: dial; }
.ceiling { position: absolute; left: -14px; right: -14px; top: 22%; border-top: 2.5px dashed var(--seal); }
.ceiling span { position: absolute; right: 0; top: -1.6em; font-size: 0.75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--ground); padding: 0 6px; }
.block { flex: none; height: calc(var(--h, 0) * 1px); margin-top: 3px; border-radius: 4px; background: var(--b, var(--accent)); transition: height 320ms var(--ease-out), background-color 240ms ease-out; display: flex; align-items: center; padding: 0 8px; overflow: hidden; font-size: 0.6875rem; font-weight: 650; color: var(--ground); white-space: nowrap; }
.block[data-way="new"] { --b: var(--accent); }
.block[data-way="second"] { --b: color-mix(in srgb, var(--accent) 55%, var(--ground)); color: var(--ink); }
.block[data-way="keep"] { --b: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
@media (prefers-reduced-motion: reduce) { .block { transition: none; } }
.stack-reading { text-align: center; font-weight: 600; min-height: 3em; }
.stack-reading small { display: block; font-weight: 400; color: var(--ink-2); }
.promises { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); } }
.promise h3 { font-size: 1.375rem; margin-bottom: var(--s-2); }
.promise p { color: var(--ink-2); }
.ad-sample { display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 12px; margin-top: var(--s-3); border-radius: 8px; background: var(--ground-sunk); font-size: 0.9375rem; color: var(--ink); }
.ad-sample b { font-size: 0.75rem; letter-spacing: .08em; padding: 1px 6px; border-radius: 4px; background: var(--ink); color: var(--ground); }

/* ---------- How it works: the day's arc with five stops ---------- */
.steps-play { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .steps-play { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: var(--s-7); align-items: center; } }
.steps-arc { --k: 0; --a: calc(-72deg + var(--k) * 36deg); position: relative; container-type: inline-size; width: min(100%, 640px); margin: 0 auto; aspect-ratio: 1160 / 640; view-transition-name: dial; }
.steps-arc svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stop-dot { fill: var(--ground); stroke: var(--ink); stroke-width: 4; transition: fill var(--t-swap) ease-out; }
.steps-arc[data-k="0"] .stop-dot--0, .steps-arc[data-k="1"] :is(.stop-dot--0, .stop-dot--1), .steps-arc[data-k="2"] :is(.stop-dot--0, .stop-dot--1, .stop-dot--2), .steps-arc[data-k="3"] :is(.stop-dot--0, .stop-dot--1, .stop-dot--2, .stop-dot--3), .steps-arc[data-k="4"] .stop-dot { fill: var(--seal); }
.horizon { stroke: var(--line-strong); stroke-width: 2; }
.steps-sun { position: absolute; left: 50%; top: calc(580 / 640 * 100%); width: 5cqi; height: 5cqi; margin: -2.5cqi 0 0 -2.5cqi; border-radius: 50%; background: var(--seal); border: 2.5px solid var(--ink); pointer-events: none; transform: rotate(var(--a)) translateY(-40.5cqi) rotate(calc(-1 * var(--a))); transition: transform 560ms var(--ease-turn); }
@property --k { syntax: "<number>"; inherits: true; initial-value: 0; }
.steps-arc { transition: --k 560ms var(--ease-turn); }
@media (prefers-reduced-motion: reduce) { .steps-arc, .steps-sun { transition: none; } }
.stop-btn { position: absolute; left: 50%; top: calc(580 / 640 * 100%); z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 0; background: transparent; font-family: var(--face-family); font-weight: 650; font-size: 0.875rem; color: var(--ink); transform: rotate(var(--sa)) translateY(-36.2cqi) rotate(calc(-1 * var(--sa))); }
.stop-btn span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--ground); }
.stop-btn.is-past span { background: var(--seal); border-color: var(--ink); color: #1A0E04; }
.stop-btn[aria-pressed="true"] span { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.stop-btn--0 { --sa: -72deg; } .stop-btn--1 { --sa: -36deg; } .stop-btn--2 { --sa: 0deg; } .stop-btn--3 { --sa: 36deg; } .stop-btn--4 { --sa: 72deg; }
.steps-centre { position: absolute; left: 18%; right: 18%; bottom: 6%; text-align: center; }
.steps-centre p:first-child { font-family: var(--face-display); font-size: clamp(1.25rem, 6cqi, 2.25rem); line-height: 1.05; }
.steps-centre p + p { font-size: clamp(0.75rem, 2.4cqi, 0.9375rem); color: var(--ink-2); margin-top: 4px; }
.step-panels { display: grid; gap: 0; }
.step-panel { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.step-panel h3 { font-size: 1.375rem; display: flex; gap: var(--s-3); align-items: baseline; }
.step-panel h3 span { font-family: var(--face-family); font-size: 0.875rem; font-weight: 650; color: var(--accent); }
.step-panel p { color: var(--ink-2); margin-top: var(--s-2); max-width: 54ch; }
.step-panel .price-turn { margin-top: var(--s-2); }
html.lt-js .step-panels.is-live .step-panel { display: none; }
html.lt-js .step-panels.is-live .step-panel.is-on { display: block; }
@media (prefers-reduced-motion: no-preference) { .step-panel.is-on { animation: panel-in 240ms var(--ease-out) both; } @keyframes panel-in { from { opacity: 0; transform: translateY(8px); } } }
.step-next { margin-top: var(--s-3); }

/* ---------- Questions ---------- */
.qa { display: grid; max-width: 820px; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 64px; padding: var(--s-3) 0; cursor: pointer; list-style: none; font-family: var(--face-display); font-size: 1.375rem; line-height: 1.2; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 28px; height: 28px; flex: none; transition: transform var(--t-turn) var(--ease-turn); }
.qa summary svg .q-sun { fill: var(--seal); stroke: var(--ink); stroke-width: 1.5; }
.qa summary svg .q-arc { fill: none; stroke: var(--ink-2); stroke-width: 2; }
.qa details[open] summary svg { transform: rotate(180deg); }
.qa .answer { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: 62ch; display: grid; gap: var(--s-3); }
.qa .answer b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .qa details[open] .answer { animation: panel-in 240ms var(--ease-out) both; } }
@media (prefers-reduced-motion: reduce) { .qa summary svg { transition: none; } }

/* ---------- About, call, small print, 404 ---------- */
.still { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) { .still { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: var(--s-8); align-items: start; } }
.still-seal { width: min(380px, 70vw); aspect-ratio: 1; margin: 0 auto; }
.still-seal svg { width: 100%; height: 100%; overflow: visible; }
.still-mono { color: var(--ink); }
@media (max-width: 999px) { .still-seal { width: min(200px, 50vw); margin: 0; } }
.tagline { font-family: var(--face-display); font-size: var(--step-2); margin-top: var(--s-2); }
.quotes { display: grid; gap: var(--s-6); margin-top: var(--s-6); }
.quote p { font-family: var(--face-display); font-size: clamp(1.375rem, 1.05rem + 1.3vw, 2.125rem); line-height: 1.22; max-width: 30ch; }
.quote cite { display: block; font-style: normal; font-size: var(--step-quiet); color: var(--ink-2); margin-top: var(--s-2); letter-spacing: .02em; }
.about-note { color: var(--ink-2); max-width: 54ch; margin-top: var(--s-6); }

.call-page { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .call-page { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); align-items: center; } }
.next-ring { display: grid; gap: var(--s-4); justify-items: center; }
.dial--steps { max-width: 420px; }
.dial--steps .step-dot { fill: var(--ground); stroke: var(--ink); stroke-width: 4; transition: fill var(--t-swap) ease-out; }
.dial--steps[data-on="0"] .step-dot--0, .dial--steps[data-on="1"] .step-dot--1, .dial--steps[data-on="2"] .step-dot--2, .dial--steps[data-on="3"] .step-dot--3 { fill: var(--seal); stroke: var(--seal); }
.dial--steps .step-num { font-family: var(--face-family); font-size: 30px; font-weight: 650; fill: var(--ink); }
.dial--steps .dial-reading { font-family: var(--face-display); font-weight: 500; }
.step-buttons { justify-content: center; }
.facts { display: grid; gap: var(--s-5); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact h2 { font-size: 0.875rem; font-family: var(--face-family); letter-spacing: var(--track-caps); text-transform: uppercase; font-weight: 600; color: var(--ink-2); margin-bottom: var(--s-2); }
.fact a { font-weight: 600; }

/* The small print: copied from the hub and kept in step (its rules live in hub.css there). */
.print-ring { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.print-ring--inner { stroke: var(--seal); stroke-dasharray: 2 4; }
.print-dot { fill: var(--seal); }
.print-steps { display: grid; gap: 2px; margin-top: var(--s-4); padding: 0; counter-reset: ps; }
.print-steps a { display: flex; align-items: center; gap: var(--s-2); min-height: var(--target); font-size: 0.9375rem; text-decoration: none; color: var(--ink-2); }
.print-steps a::before { counter-increment: ps; content: counter(ps); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--seal); font-family: var(--face-family); font-weight: 650; font-size: 0.75rem; color: var(--ink); }
.print-steps a:hover { color: var(--ink); }
.print-foot { margin-top: var(--s-6); }
.print-body h1 { font-size: var(--step-1); }
@media (max-width: 959px) { .print-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lost { display: grid; gap: var(--s-6); justify-items: center; text-align: center; padding: var(--s-7) var(--gutter) var(--s-8); }
.lost-arc { position: relative; width: min(560px, 88vw); aspect-ratio: 1160 / 640; }
.lost-arc svg { width: 100%; height: 100%; overflow: visible; }
.lost-sun { position: absolute; left: 50%; top: calc(580 / 640 * 100%); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2.5px dashed var(--ink-2); --a: 0deg; transform: rotate(var(--a)) translateY(calc(min(560px, 88vw) * -.362)) rotate(calc(-1 * var(--a))); }
@media (prefers-reduced-motion: no-preference) { .lost-sun { animation: lost-sun 900ms var(--ease-turn) 200ms both; } @keyframes lost-sun { from { --a: -72deg; opacity: 1; } to { --a: 0deg; opacity: .7; } } }
@property --a { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.lost .doors { display: grid; gap: var(--s-2); width: min(420px, 100%); }
.lost .doors a { justify-content: space-between; min-height: 52px; }

/* ---------- The pages sheet (a dialog: Escape and the backdrop close it) ---------- */
.sheet { width: min(100vw, 520px); max-width: 100vw; max-height: 92svh; margin: auto auto 0; padding: var(--s-5) var(--s-4) calc(var(--s-5) + env(safe-area-inset-bottom)); border: 0; border-radius: 24px 24px 0 0; background: var(--ground); color: var(--ink); box-shadow: 0 -12px 40px rgb(0 0 0 / .18); }
@media (min-width: 720px) { .sheet { margin: auto; border-radius: 24px; } }
.sheet::backdrop { background: color-mix(in srgb, var(--ink-family) 38%, transparent); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); }
.sheet-title { font-family: var(--face-display); font-size: 1.375rem; }
.sheet-pages { display: grid; }
.sheet-pages a { display: grid; gap: 0; min-height: 52px; padding: 8px 0 8px 28px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; align-content: center; }
.sheet-pages a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid var(--line-strong); }
.sheet-pages a[aria-current="page"]::before { background: var(--seal); border-color: var(--ink); }
.sheet-pages span { font-weight: 600; }
.sheet-pages small { color: var(--ink-2); font-size: 0.8125rem; }
.sheet-family { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.sheet-family .btn { flex: 1 1 auto; }
@media (prefers-reduced-motion: no-preference) { .sheet[open] { animation: sheet-in 320ms var(--ease-out) both; } @keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } } }

/* Dock (override): Style's pages and the call */
.dock-pages .sun-mark { width: 30px; height: 30px; }
.dock-pages { padding-left: var(--s-3); }
@media (max-width: 359px) { .dock-pages { font-size: 0.8125rem; } .dock .call { padding: 0 var(--s-3); } }

/* Images and captions */
.figure img { width: 100%; border-radius: 18px; }
.figure .caption { margin-top: var(--s-2); }

/* Phone: the longer pages settle their main readings as screens, gently. */
@media (max-width: 719px) {
  html.snap { scroll-snap-type: y proximity; }
  html.snap [data-snap] { scroll-snap-align: start; scroll-margin-top: calc(var(--header-h) + 8px); }
}
.lt-js .no-js-hide { display: grid; } html:not(.lt-js) .no-js-hide { display: none; }
@media (max-width: 719px) { html.snap .scroll-sentinel { scroll-snap-align: start; scroll-margin-top: 0; } }

/* Budget on a tablet or phone: the list's bar sits above the pieces and stays in view while you choose. */
@media (max-width: 999px) {
  .stack-wrap { position: sticky; top: calc(var(--header-h) + 4px); z-index: 4; background: var(--ground); padding: var(--s-3) 0; margin-bottom: var(--s-3); justify-items: stretch; }
  .stack { width: 100%; height: 40px; flex-direction: row; padding: 4px; border: 1.5px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
  .block { height: auto; width: calc(var(--h, 0) * 100% / 420); margin: 0 2px 0 0; font-size: 0; padding: 0; transition: width 320ms var(--ease-out), background-color 240ms ease-out; }
  .ceiling { left: 63.1%; right: auto; top: -4px; bottom: -4px; border-top: 0; border-left: 2.5px dashed var(--seal); }
  .ceiling span { right: auto; left: 6px; top: auto; bottom: 2px; font-size: 0.625rem; background: transparent; }
  .stack-reading { text-align: left; min-height: 0; }
}
/* The narrowest phones (override of the shared header): everything fits at 320 px. */
@media (max-width: 379px) {
  .site-header { gap: var(--s-2); padding: 0 var(--s-3); }
  .brand { gap: var(--s-2); }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 0.9375rem; }
  .header-nav { gap: 0; }
  .header-link { padding: 0 var(--s-2); }
  .masthead { padding: 0 var(--s-3); }
  .call { line-height: 1.2; text-align: center; padding: 0 var(--s-4); }
}
