/* Mynest.me Interiors Studio
   One stylesheet. The palette is a lime-plastered room through a day: plaster and linen by
   daylight, graphite for drawing, oak and brass for the things you touch, dusk for the evening
   bands where rooms are shown lit. Each home page overrides --home-* with colours sampled from
   its own rooms. */

@font-face { font-family: 'Newsreader'; src: url('../fonts/Newsreader-normal.woff2') format('woff2'); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/Newsreader-italic.woff2') format('woff2'); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/InstrumentSans-normal.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('../fonts/DMMono-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --plaster: #f3eee6;
  --linen: #e9e1d5;
  --sand: #d8cbb8;
  --graphite: #29241f;
  --ink-2: #4b433b;
  --stone: #6f655a;
  --oak: #93633b;
  --brass: #a4844e;
  --clay: #a95c3d;
  --dusk: #1b1714;
  --dusk-2: #25201b;
  --lamp: #f0c88a;

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'Cascadia Mono', monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --wrap: 1320px;
  --measure: 34rem;
  --section: clamp(88px, 13vw, 184px);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-door: cubic-bezier(0.65, 0, 0.35, 1);

  /* surface roles (switched by .band-dusk) */
  --bg: var(--plaster);
  --fg: var(--graphite);
  --muted: var(--stone);
  --rule: rgba(41, 36, 31, 0.16);
  --accent: var(--oak);
  --art-ink: var(--graphite);
  --art-soft: rgba(41, 36, 31, 0.07);
  --art-acc: var(--brass);
  --art-light: rgba(240, 200, 138, 0.32);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--lamp); color: var(--graphite); }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--graphite); color: var(--plaster); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, .display { font-family: var(--serif); font-weight: 340; line-height: 1.06; letter-spacing: -0.012em; margin: 0 0 0.45em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -0.022em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
em, .it { font-style: italic; }
.lede { font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.5; font-weight: 360; color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.band-dusk .lede { color: color-mix(in srgb, var(--fg) 82%, transparent); }
.label { font: 400 0.75rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.label-num { font: 400 0.75rem/1 var(--mono); color: var(--accent); letter-spacing: 0.06em; }
.prose { max-width: var(--measure); }
.prose p { text-wrap: pretty; }
.quote { font-family: var(--serif); font-style: italic; font-weight: 330; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.3; max-width: 26ch; text-wrap: balance; margin: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.band-linen { background: var(--linen); }
.band-dusk {
  --bg: var(--dusk);
  --fg: #efe7da;
  --muted: #a99d8d;
  --rule: rgba(239, 231, 218, 0.16);
  --accent: var(--lamp);
  --art-ink: #e9dfcf;
  --art-soft: rgba(233, 223, 207, 0.06);
  --art-acc: var(--lamp);
  --art-light: rgba(240, 200, 138, 0.22);
  background: var(--bg);
  color: var(--fg);
  color-scheme: dark;
}
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* Plaster: a barely-there trowelled texture, drawn once, never animated. */
.plaster::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .03' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}
.plaster > * { position: relative; z-index: 1; }

/* ---------- Buttons and links ---------- */
/* One button, every surface. Colours come from the surface's --fg/--bg (switched by .band-dusk,
   .on-dark, dark headers), so text and background can never end up the same colour. */
.btn {
  --btn-fg: var(--fg); --btn-bg: transparent; --btn-line: color-mix(in srgb, var(--fg) 60%, transparent);
  --btn-fg-h: var(--bg); --btn-bg-h: var(--fg); --btn-line-h: var(--fg);
  display: inline-flex; align-items: center; gap: 0.7em; min-height: 48px; padding: 0 1.4em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-line); border-radius: 999px; cursor: pointer;
  font: 500 0.95rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--btn-fg-h); background: var(--btn-bg-h); border-color: var(--btn-line-h); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.btn-solid { --btn-fg: var(--bg); --btn-bg: var(--fg); --btn-line: var(--fg); --btn-fg-h: var(--dusk); --btn-bg-h: var(--accent); --btn-line-h: var(--accent); }
.on-dark { --bg: var(--dusk); --fg: #efe7da; --muted: #a99d8d; --accent: var(--lamp); --rule: rgba(239, 231, 218, 0.16); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; transition: border-color 0.2s; }
.text-link:hover { border-color: var(--accent); }
.text-link::after { content: ' →'; display: inline-block; transition: transform 0.25s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }

/* The look-around glyph: a figure inside an orbit. Hovering sends the arrow round once. */
.orbit-glyph { width: 30px; height: 20px; flex: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.orbit-glyph .orbit-head { fill: currentColor; stroke: none; }
.orbit-glyph .orbit-path { stroke-dasharray: 0.86 0.14; stroke-dashoffset: 0; }
.orbit-glyph .orbit-tip { transform-origin: 26px 10px; }
@media (prefers-reduced-motion: no-preference) {
  :is(a, button):is(:hover, :focus-visible) .orbit-glyph .orbit-path { animation: orbit-run 1.1s var(--ease); }
  :is(a, button):is(:hover, :focus-visible) .orbit-glyph .orbit-tip { animation: orbit-tip 1.1s var(--ease); }
}
@keyframes orbit-run { from { stroke-dashoffset: 1; } }
@keyframes orbit-tip { 0% { opacity: 0; } 70% { opacity: 0; transform: translateX(-3px); } 100% { opacity: 1; transform: none; } }
.btn-look .orbit-glyph { width: 28px; height: 19px; margin-left: -4px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header-h);
  display: flex; align-items: center; color: var(--fg);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.45s var(--ease), box-shadow 0.35s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: calc(var(--wrap) + 80px); }
.site-header.is-dusk { color: #efe7da; --fg: #efe7da; --bg: var(--dusk); --accent: var(--lamp); }
.site-header.is-solid { --fg: var(--graphite); --bg: var(--plaster); background: color-mix(in srgb, var(--plaster) 92%, transparent); color: var(--graphite); box-shadow: 0 1px 0 var(--rule); backdrop-filter: blur(10px); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 34px); align-items: center; }
.nav a { text-decoration: none; font-size: 0.95rem; position: relative; padding-block: 6px; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav .btn { min-height: 40px; font-size: 0.9rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform 0.3s var(--ease); }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: var(--gutter); background: var(--dusk); color: #efe7da;
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s 0.35s;
  }
  .nav a { font: 340 clamp(2.2rem, 10vw, 3rem)/1.15 var(--serif); }
  .nav .btn { margin-top: 24px; font: 500 1rem/1 var(--sans); min-height: 52px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { --fg: #efe7da; --bg: var(--dusk); --accent: var(--lamp); color: #efe7da; background: transparent; box-shadow: none; backdrop-filter: none; }
  body.menu-open .nav { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }
  body.menu-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  body.menu-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Drawings ---------- */
.js [data-draw] .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js [data-draw].is-in .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }

/* Life plan: notes arrive after the walls. */

/* Lintel: worries fall, the frame carries them. */
@keyframes fall { 0%, 15% { transform: translateY(-8px); opacity: 0; } 45%, 80% { transform: none; opacity: 1; } 100% { opacity: 0.4; } }
@keyframes carry { to { stroke-dashoffset: -18; } }

/* Wall section: the face peels on hover/focus of its card. */

/* Weave */

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(72px, 10vw, 128px) 40px; }
.footer-covenant { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px 64px; align-items: end; padding-bottom: clamp(56px, 8vw, 96px); }
.footer-covenant .quote { font-size: clamp(1.7rem, 3.6vw, 3rem); max-width: 22ch; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 40px; border-top: 1px solid var(--rule); font-size: 0.95rem; }
.footer-grid h2 { font: 400 0.75rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--rule); }
[data-show-after][hidden] { display: none; }
.footer-sig { display: inline-flex; align-items: center; gap: 7px; padding-block: 4px; text-decoration: none; color: var(--muted); transition: color 0.25s var(--ease); }
.footer-sig-name { font-family: var(--serif); font-style: italic; font-size: 0.98rem; line-height: 1.2; color: var(--fg); transition: color 0.25s var(--ease); }
.footer-sig-icon { width: 15px; height: 15px; flex: 0 0 auto; fill: currentColor; opacity: 0.85; transition: color 0.25s var(--ease), opacity 0.25s var(--ease); }
.footer-sig:hover, .footer-sig:focus-visible { color: var(--fg); }
.footer-sig:hover .footer-sig-name, .footer-sig:focus-visible .footer-sig-name { color: var(--accent); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.footer-sig:hover .footer-sig-icon, .footer-sig:focus-visible .footer-sig-icon { color: var(--accent); opacity: 1; }
@media (max-width: 860px) { .footer-covenant { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ======================================================================
   HOME PAGE
   ====================================================================== */


/* Intro: "Not a hotel. Your home." */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro h2 { max-width: 13ch; }
.intro .prose { margin-top: 28px; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }

/* The three moments of the philosophy, laid out like sheets of a drawing set. */

/* Featured homes: compact asymmetric editorial gallery (2 on top, wide estate below). */
.featured-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4.5vw, 56px); }
.featured-head h2 { max-width: 15ch; margin: 0; }
.featured-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 2.6vw, 34px); align-items: stretch; }
.feature {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none; cursor: pointer;
  background: var(--plaster); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden;
  transition: transform 0.55s var(--ease), border-color 0.4s var(--ease), box-shadow 0.55s var(--ease), opacity 0.45s var(--ease);
}
.feature:hover, .feature:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--home-acc, var(--accent)) 55%, var(--rule));
  box-shadow: 0 22px 44px -26px rgba(41, 36, 31, 0.36);
}
.feature:active { transform: translateY(-1px) scale(0.996); }
.featured-grid:has(.feature:hover) .feature:not(:hover) { opacity: 0.8; }
.feature-img { position: relative; overflow: hidden; background: var(--home-bg, var(--linen)); }
.feature-img::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(20, 16, 13, 0.42) 100%);
  transition: opacity 0.45s var(--ease);
}
.feature:hover .feature-img::after, .feature:focus-visible .feature-img::after { opacity: 1; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.feature:hover .feature-img img, .feature:focus-visible .feature-img img { transform: scale(1.04); }
.feature .thumb-look { z-index: 2; right: 14px; bottom: 16px; }
.feature:hover .thumb-look, .feature:focus-visible .thumb-look { opacity: 1; transform: none; }
.feature-swatches { position: absolute; inset: auto 0 0; z-index: 2; display: flex; height: 3px; transition: height 0.35s var(--ease); }
.feature:hover .feature-swatches, .feature:focus-visible .feature-swatches { height: 5px; }
.feature-swatches i { flex: 1; }
.feature-text { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.feature-top .label { margin: 0 0 8px; }
.feature-text h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); margin: 0 0 8px; transition: color 0.3s var(--ease); }
.feature:hover .feature-text h3, .feature:focus-visible .feature-text h3 { color: var(--home-acc, var(--accent)); }
.feature-line { color: var(--muted); max-width: 38ch; margin: 0; font-size: 0.96rem; line-height: 1.55; }
.feature-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule); }
.feature-go { display: inline-flex; align-items: center; gap: 5px; font: 500 0.84rem/1 var(--sans); color: var(--fg); transition: color 0.3s var(--ease); white-space: nowrap; }
.feature-go::after { content: '\2192'; display: inline-block; transition: transform 0.35s var(--ease); }
.feature:hover .feature-go, .feature:focus-visible .feature-go { color: var(--home-acc, var(--accent)); }
.feature:hover .feature-go::after, .feature:focus-visible .feature-go::after { transform: translateX(4px); }

.feature.is-compact .feature-img { aspect-ratio: 4 / 3; }
.feature.is-family .feature-img { aspect-ratio: 15 / 8; }
.feature.is-estate { grid-column: 1 / -1; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); grid-template-rows: auto; }
.feature.is-estate .feature-img { aspect-ratio: 16 / 9; height: 100%; }
.feature.is-estate .feature-text { padding: clamp(24px, 3vw, 40px); }
.feature.is-estate h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
  .feature.is-estate { grid-template-columns: 1fr; }
  .feature.is-compact .feature-img, .feature.is-family .feature-img, .feature.is-estate .feature-img { aspect-ratio: 16 / 10; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .feature:hover, .feature:focus-visible, .feature:active { transform: none; }
  .feature:hover .feature-img img, .feature:focus-visible .feature-img img { transform: none; }
}
.chip-360 { display: inline-flex; align-items: center; gap: 8px; font: 400 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chip-360::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1px solid currentColor; background: radial-gradient(circle at 50% 50%, transparent 3px, currentColor 3.5px, transparent 4.5px); }

/* Portfolio gateway bar under the three featured homes */
.featured-more {
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(22px, 2.8vw, 32px) clamp(22px, 3vw, 38px);
  background: var(--plaster);
  border: 1px solid color-mix(in srgb, var(--brass) 34%, var(--rule));
  border-radius: 3px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px 36px; flex-wrap: wrap;
  transition: border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.featured-more:hover, .featured-more:focus-within {
  border-color: color-mix(in srgb, var(--brass) 65%, var(--rule));
  box-shadow: 0 18px 38px -28px rgba(41, 36, 31, 0.32);
}
.featured-more-lead { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.featured-arches { display: inline-flex; align-items: flex-end; gap: 3px; height: 30px; padding-bottom: 2px; border-bottom: 1px solid var(--rule); flex: none; }
.featured-arches i {
  display: block; width: 7px; height: var(--h, 22px); border-radius: 4px 4px 0 0;
  background: var(--c, var(--brass)); opacity: 0.78;
  transition: transform 0.5s var(--ease) calc(var(--i, 0) * 16ms), opacity 0.4s var(--ease);
}
.featured-more:hover .featured-arches i, .featured-more:focus-within .featured-arches i { transform: translateY(-3px); opacity: 1; }
.featured-more-lead .label { margin: 0 0 6px; color: var(--accent); }
.featured-more-copy { margin: 0; font: 360 clamp(1.08rem, 1.5vw, 1.28rem)/1.38 var(--serif); color: var(--fg); max-width: 44ch; }
.featured-all-btn { min-height: 54px; padding-inline: 1.65em; flex: none; --btn-fg-h: var(--plaster); }
.featured-all-btn .orbit-glyph { width: 26px; height: 18px; margin-left: -4px; }
.featured-all-arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.featured-all-btn:hover .featured-all-arrow, .featured-all-btn:focus-visible .featured-all-arrow { transform: translateX(4px); }
@media (max-width: 720px) {
  .featured-more { align-items: stretch; }
  .featured-all-btn { justify-content: center; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-more:hover .featured-arches i, .featured-more:focus-within .featured-arches i { transform: none; }
}

/* Behind the walls teaser */
.beneath { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.beneath h2 { max-width: 12ch; }
.beneath ol { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 0; counter-reset: b; }
.beneath li { display: grid; grid-template-columns: 3.5em minmax(0, 1fr); padding: 16px 0; border-top: 1px solid var(--rule); counter-increment: b; }
.beneath li::before { content: counter(b, decimal-leading-zero); font: 400 0.75rem/1.9 var(--mono); color: var(--accent); }
.beneath li strong { font-weight: 500; display: block; }
.beneath li span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .beneath { grid-template-columns: 1fr; } }

/* Built vs designed (tag also shared with /archive/) */
.honest-tag { display: inline-flex; gap: 8px; align-items: center; font: 400 0.72rem/1.35 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); }
.honest-tag i { width: 10px; height: 10px; border: 1.25px solid currentColor; flex: none; }
.honest-tag.is-built i { background: currentColor; }

/* Invitation */
.invite { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.invite h2 { max-width: 14ch; }
.invite-questions { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.invite-questions li { font: italic 340 clamp(1.3rem, 2.2vw, 1.75rem)/1.35 var(--serif); padding: 18px 0; border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .invite { grid-template-columns: 1fr; } }

/* ======================================================================
   HOMES INDEX
   ====================================================================== */
.page-head { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(48px, 7vw, 96px); }
.page-head h1 { max-width: 16ch; }
.homes-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
@media (max-width: 900px) { .homes-head { grid-template-columns: 1fr; } }

.tier { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--rule); }
.tier-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 80px); margin-bottom: clamp(40px, 6vw, 72px); }
.tier-head h2 { margin: 0.2em 0 0; }
.tier-head .quote { font-size: clamp(1.3rem, 2.4vw, 1.9rem); align-self: end; }
@media (max-width: 860px) { .tier-head { grid-template-columns: 1fr; } }

.home-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px); }
.tier-compact .home-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tier-compact .home-item { grid-column: span 2; }
.tier-compact .home-item:nth-child(4) { grid-column: 2 / span 2; }
.tier-family .home-list { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.tier-family .home-item { grid-column: span 4; }
.tier-family .home-item:nth-child(1) { grid-column: 1 / span 7; }
.tier-family .home-item:nth-child(2) { grid-column: 8 / span 5; align-self: end; }
.tier-estate .home-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tier-estate .home-item:nth-child(3n + 1) { grid-column: 1 / -1; }
.home-item a { display: grid; gap: 14px; text-decoration: none; }
.home-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--c, var(--linen)); }
.tier-compact .home-thumb { aspect-ratio: 4 / 5; }
.tier-estate .home-item:nth-child(3n + 1) .home-thumb { aspect-ratio: 21 / 9; }
.home-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; }
.home-item a:hover .home-thumb img { transform: scale(1.03); }
.thumb-look { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(20, 16, 13, 0.55); backdrop-filter: blur(6px); color: #fff; font: 500 0.78rem/1 var(--sans); opacity: 0; transform: translateY(4px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.home-item a:hover .thumb-look, .home-item a:focus-visible .thumb-look { opacity: 1; transform: none; }
@media (hover: none) { .thumb-look { opacity: 1; transform: none; } }
.home-meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.home-item h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); margin: 0; }
.home-item p { margin: 0; color: var(--muted); font-size: 0.97rem; max-width: 40ch; }
.home-swatches { display: flex; gap: 0; height: 4px; }
.home-swatches i { flex: 1; }
@media (max-width: 860px) {
  .tier-compact .home-list, .tier-family .home-list, .tier-estate .home-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-item:nth-child(n), .tier-family .home-item:nth-child(n) { grid-column: span 1; }
  .tier-estate .home-item:nth-child(3n + 1), .tier-family .home-item:nth-child(1) { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .home-list .home-item:nth-child(n) { grid-column: 1 / -1; } }

/* ======================================================================
   A HOME
   Each page sets --home-bg, --home-ink, --home-acc, --home-soft (sampled from its rooms)
   and a tier class that sets the breathing room.
   ====================================================================== */
.home-page { --accent: var(--home-acc); }
.home-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--home-deep, var(--dusk)); color: #f4ede2; overflow: hidden; }
.home-hero .room { position: absolute; inset: 0; }
.home-hero .room img, .home-hero .room .pano-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero .room img { transition: opacity 1.2s var(--ease); }
.home-hero .room.is-ready img { opacity: 0; }
.home-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(18, 14, 11, 0.45) 0%, transparent 26%, transparent 50%, rgba(18, 14, 11, 0.82) 100%); }
.home-hero-copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 7vh, 80px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.home-hero-copy h1 { margin: 0.2em 0 0.15em; font-size: clamp(2.6rem, 6vw, 5.2rem); }
.home-hero-copy .label { color: #d9ccb7; }
.home-hero-copy .lede { color: #e6dccd; margin: 0; }
.home-hero .btn { --btn-bg: rgba(20, 16, 13, 0.3); backdrop-filter: blur(6px); }
@media (max-width: 760px) { .home-hero-copy { grid-template-columns: 1fr; } }

.home-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); }
.home-intro .lede { font-size: clamp(1.35rem, 2.3vw, 1.85rem); max-width: 30ch; color: var(--fg); }
.home-facts { display: grid; gap: 0; margin: 0; align-self: start; }
.home-facts > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--rule); }
.home-facts dt { font: 400 0.75rem/1.9 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.home-facts dd { margin: 0; }
.palette { display: flex; height: 44px; margin-top: 8px; }
.palette i { flex: 1; position: relative; }
.palette-note { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 860px) { .home-intro { grid-template-columns: 1fr; } }

/* Room sequence: the walk through the home, one doorway per room. */
.walk { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.walk ol { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.walk li { flex: 1 0 auto; scroll-snap-align: start; }
.walk button { display: grid; gap: 12px; justify-items: start; padding: 18px 20px 18px; min-width: 168px; width: 100%; background: none; border: 0; border-right: 1px solid var(--rule); cursor: pointer; text-align: left; color: inherit; transition: background-color 0.3s var(--ease); }
.walk li:last-child button { border-right: 0; }
.walk button:hover, .walk button[aria-current='true'] { background: color-mix(in srgb, var(--home-acc) 12%, transparent); }
.walk-hint { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px var(--gutter) 0; font: 400 0.7rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.walk-hint .orbit-glyph { color: var(--home-acc); width: 26px; }
/* Each room shows itself through a small arched opening; hovering pans across it, the way the room will turn when you step in. */
/* each room is a viewpoint: a dot with its field of view, as on a map. On hover the view sweeps once
   all the way round, which is exactly what the room will let you do. */
.walk-eye { display: block; width: 34px; height: 34px; flex: none; }
.walk-eye svg { width: 100%; height: 100%; overflow: visible; }
.we-ring { fill: none; stroke: color-mix(in srgb, var(--fg) 28%, transparent); stroke-dasharray: 2 3; }
.we-cone { fill: var(--home-acc, var(--accent)); fill-opacity: 0.32; stroke: var(--home-acc, var(--accent)); stroke-width: 1; }
.we-dot { fill: var(--fg); }
.we-turn { transform-origin: 20px 20px; transform: rotate(-24deg); transition: transform 0.4s var(--ease); }
.walk button:hover .we-turn, .walk button:focus-visible .we-turn { transform: rotate(336deg); transition: transform 1.6s cubic-bezier(0.45, 0, 0.25, 1); }
.walk button:hover .we-ring { stroke: var(--home-acc, var(--accent)); }
.walk button[aria-current='true'] .we-cone { fill-opacity: 0.7; }
.walk button { grid-template-columns: auto 1fr; align-items: center; gap: 14px !important; }
.walk-text { display: grid; gap: 6px; }
.walk .room-name { font: 400 1.05rem/1.2 var(--serif); }
.walk .label-num { font-size: 0.7rem; }

/* Notes: highlights as numbered callouts beside a room still. */
.notes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.notes figure { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.notes figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--home-soft); }
.notes figcaption { margin-top: 10px; }
.notes ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.notes li { counter-increment: n; display: grid; grid-template-columns: 3em minmax(0, 1fr); padding: 20px 0; border-top: 1px solid var(--rule); }
.notes li::before { content: counter(n, decimal-leading-zero); font: 400 0.8rem/2 var(--mono); color: var(--home-acc); }
.notes li p { margin: 0; font-size: 1.05rem; }
@media (max-width: 860px) { .notes { grid-template-columns: 1fr; } .notes figure { position: static; } }

/* Rooms gallery: composition changes with the size of the home. */
.rooms { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.room-tile { margin: 0; display: grid; gap: 10px; }
.room-tile button { position: relative; padding: 0; border: 0; background: var(--home-soft); cursor: zoom-in; display: block; width: 100%; overflow: hidden; }
.room-tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 1.2s var(--ease); }
.room-tile button:hover img { transform: scale(1.025); }
.room-tile button::after { content: 'Look around'; position: absolute; left: 14px; bottom: 12px; padding: 7px 12px; border-radius: 99px; font: 400 0.7rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; background: rgba(20, 16, 13, 0.55); color: #f4ede2; opacity: 0; transform: translateY(4px); transition: 0.3s var(--ease); }
.room-tile button:hover::after, .room-tile button:focus-visible::after { opacity: 1; transform: none; }
.room-tile figcaption { display: flex; justify-content: space-between; gap: 12px; }
.room-tile figcaption span:first-child { font: 400 1.1rem/1.3 var(--serif); }
.tier-compact .rooms { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.tier-compact .room-tile { grid-column: span 6; }
.tier-compact .room-tile:nth-child(3n + 1) { grid-column: 2 / span 7; }
.tier-compact .room-tile:nth-child(3n + 2) { grid-column: 9 / span 4; align-self: end; }
.tier-compact .room-tile:nth-child(3n + 2) img { aspect-ratio: 4 / 5; }
.tier-compact .room-tile:nth-child(3n) { grid-column: 3 / span 8; }
.tier-family .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tier-family .room-tile:nth-child(5n + 1) { grid-column: 1 / -1; }
.tier-family .room-tile:nth-child(5n + 1) img { aspect-ratio: 2 / 1; }
.tier-estate .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tier-estate .room-tile:nth-child(4n + 1) { grid-column: 1 / -1; margin-inline: calc(var(--gutter) * -1); }
.tier-estate .room-tile:nth-child(4n + 1) img { aspect-ratio: 21 / 9; }
.tier-estate .room-tile:nth-child(4n + 1) figcaption { padding-inline: var(--gutter); }
@media (max-width: 860px) {
  .tier-compact .rooms, .tier-family .rooms, .tier-estate .rooms { grid-template-columns: 1fr; }
  .rooms .room-tile:nth-child(n) { grid-column: 1 / -1; }
  .rooms .room-tile:nth-child(n) img { aspect-ratio: 4 / 3; }
}
.home-story { max-width: 44rem; }
.home-story .quote { margin-bottom: 1em; }

.next-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); text-decoration: none; min-height: 60vh; }
.next-home .next-img { position: relative; overflow: hidden; }
.next-home .next-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), clip-path 1s var(--ease-door); clip-path: inset(10% 18% 0 18%); }
.next-home:hover .next-img img { clip-path: inset(0 0 0 0); }
.next-home .next-text { padding: clamp(32px, 6vw, 96px) var(--gutter); display: grid; align-content: end; gap: 14px; }
.next-home h2 { margin: 0; }
@media (max-width: 760px) { .next-home { grid-template-columns: 1fr; } .next-home .next-img { min-height: 46vh; } }

/* ======================================================================
   ROOM VIEWER (dialog)
   ====================================================================== */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0f0c0a; color: #f4ede2; }
.viewer::backdrop { background: #0f0c0a; }
.viewer[open] { animation: viewer-in 0.5s var(--ease); }
@keyframes viewer-in { from { opacity: 0; } }
.viewer-stage { position: absolute; inset: 0; }
.viewer-stage .pano-canvas { width: 100%; height: 100%; cursor: grab; }
.viewer-stage.is-dragging .pano-canvas { cursor: grabbing; }
.viewer-stage img.viewer-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s; }
.viewer-stage.is-ready img.viewer-still { opacity: 0; pointer-events: none; }
.viewer-blink { position: absolute; inset: 0; background: #0f0c0a; opacity: 0; pointer-events: none; transition: opacity 0.32s var(--ease-door); }
.viewer.is-switching .viewer-blink { opacity: 1; }
.viewer-top { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 18px var(--gutter); background: linear-gradient(180deg, rgba(15, 12, 10, 0.7), transparent); pointer-events: none; }
.viewer-top > * { pointer-events: auto; }
.viewer-title { display: grid; gap: 4px; }
.viewer-title strong { font: 400 clamp(1.3rem, 2.4vw, 1.8rem)/1.1 var(--serif); }
.viewer-actions { display: flex; gap: 8px; }
.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(244, 237, 226, 0.35); background: rgba(15, 12, 10, 0.35); color: inherit; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.icon-btn:hover { background: rgba(244, 237, 226, 0.14); border-color: rgba(244, 237, 226, 0.7); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; }
.viewer-rooms { position: absolute; inset: auto 0 0; padding: 18px var(--gutter) 22px; background: linear-gradient(0deg, rgba(15, 12, 10, 0.8), transparent); display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.viewer-rooms button { flex: 0 0 auto; display: grid; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; text-align: left; opacity: 0.62; transition: opacity 0.2s; }
.viewer-rooms button:hover, .viewer-rooms button[aria-current='true'] { opacity: 1; }
.viewer-rooms img { width: 128px; aspect-ratio: 16 / 10; object-fit: cover; outline: 1px solid rgba(244, 237, 226, 0.2); }
.viewer-rooms button[aria-current='true'] img { outline: 2px solid var(--lamp); outline-offset: 2px; }
.viewer-rooms span { font: 400 0.7rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.viewer-help { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; display: grid; justify-items: center; gap: 10px; font: 400 0.75rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0; transition: opacity 0.6s; }
.viewer-help svg { width: 64px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.viewer.show-help .viewer-help { opacity: 0.9; }
.viewer-tag { font: 400 0.68rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #cdbfa9; }
@media (max-width: 600px) { .viewer-rooms img { width: 96px; } }

/* ======================================================================
   PHILOSOPHY: a day passes while you read.
   ====================================================================== */

/* ======================================================================
   CRAFT: the wardrobe comes apart as you read.
   ====================================================================== */
.craft-scroll { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); }
.craft-figure { position: sticky; top: calc(var(--header-h) + 4vh); height: calc(100vh - var(--header-h) - 8vh); display: grid; place-items: center; }
.craft-steps { padding-block: 20vh 30vh; display: grid; gap: 46vh; }
.craft-step { max-width: 30rem; opacity: 0.35; transition: opacity 0.5s var(--ease); }
.craft-step.is-active { opacity: 1; }
.craft-step h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.craft-step .label { margin-bottom: 16px; display: block; }
.craft-spec { font: 400 0.82rem/1.6 var(--mono); color: var(--muted); border-left: 2px solid var(--accent); padding-left: 14px; margin-top: 18px; }
@media (max-width: 860px) {
  .craft-scroll { grid-template-columns: 1fr; }
  .craft-figure { top: var(--header-h); height: 46vh; z-index: 1; background: var(--bg); }
  .craft-steps { gap: 38vh; padding-block: 6vh 30vh; }
}
.promise { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }

/* ======================================================================
   STUDIO, ARCHIVE, VISIT, COLOPHON
   ====================================================================== */
@keyframes ring { 0% { transform: scale(0.6); opacity: 0.7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

.shelf { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--rule); }
.shelf-links { list-style: none; margin: 0; padding: 0; }
.shelf-links li { border-top: 1px solid var(--rule); }
.shelf-links li:first-child { border-top: 0; }
.shelf-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 22px 0; text-decoration: none; }
.shelf-links strong { font: 400 1.4rem/1.25 var(--serif); }
.shelf-links span { color: var(--muted); grid-column: 1; }
.shelf-links a::after { content: '↗'; grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.2rem; transition: transform 0.25s var(--ease); }
.shelf-links a:hover::after { transform: translate(3px, -3px); }
.more-walks { columns: 3 14rem; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.more-walks li { break-inside: avoid; padding: 8px 0; border-top: 1px solid var(--rule); }
.more-walks a { text-decoration: none; }
@media (max-width: 860px) { .shelf { grid-template-columns: 1fr; } }

.compose { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.compose form { display: grid; gap: 30px; }
.field { display: grid; gap: 10px; }
.field label, .field legend { font: italic 360 clamp(1.25rem, 2vw, 1.55rem)/1.3 var(--serif); padding: 0; }
.field .hint { font-size: 0.9rem; color: var(--muted); margin-top: -4px; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1.05rem/1.5 var(--sans); color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--fg) 35%, transparent); padding: 10px 0; border-radius: 0;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 4.8em; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { font: 400 0.95rem/1 var(--sans); }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 99px; cursor: pointer; transition: 0.2s; }
.choices input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.choices input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.compose-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; }
.compose-aside address { font-style: normal; }
.letter { background: var(--linen); padding: clamp(20px, 3vw, 32px); font: 400 0.95rem/1.65 var(--sans); white-space: pre-wrap; min-height: 8em; color: var(--ink-2); }
.letter:empty::before { content: 'Your note will appear here as you write.'; color: var(--muted); font-style: italic; }
@media (max-width: 900px) { .compose { grid-template-columns: 1fr; } .compose-aside { position: static; } }

.colophon dl { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 0; margin: 0; }
.colophon dt, .colophon dd { padding: 22px 0; border-top: 1px solid var(--rule); margin: 0; }
.colophon dt { font: 400 0.78rem/1.9 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.colophon dd p:last-child { margin: 0; }
.type-specimen { font: 340 clamp(2.4rem, 6vw, 4.6rem)/1 var(--serif); }
@media (max-width: 760px) { .colophon dl { grid-template-columns: 1fr; } .colophon dd { border-top: 0; padding-top: 0; } }

.notfound { min-height: 100vh; display: grid; align-content: center; gap: 24px; }

@media print {
  .hero { height: auto; }
}
.next-home.band-dusk { background: var(--home-deep, var(--dusk)); }
.hero .btn-solid { --btn-bg: var(--lamp); --btn-line: var(--lamp); --btn-fg: var(--dusk); --btn-bg-h: #f8e2bd; --btn-line-h: #f8e2bd; }
.page-philosophy .footer-covenant { display: none; }
/* Life plan notes: drawn on the plan on wide screens, listed under it on phones. */

/* ======================================================================
   THE NEST: the studio's own five-strand mark, everywhere it appears.
   ====================================================================== */
.nest-svg { width: 100%; height: auto; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-nest] .nest-brush { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
  .js [data-nest].is-woven .nest-brush { animation: nest-brush 0.95s cubic-bezier(0.55, 0.05, 0.25, 1) both; animation-delay: calc(var(--weave-delay, 0s) + var(--o) * 0.11s); }
}
@keyframes nest-brush { to { stroke-dashoffset: 0; } }

/* Header mark: the nest and the script name, as drawn by the studio. */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; --brand-name: #ffc919; --brand-glint: #fffbe6; }
.brand-nest { width: 54px; display: block; margin-top: -4px; }
.brand-rule { width: 1px; height: 30px; background: currentColor; opacity: 0.22; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transform-origin: 50% 50%; }
.brand-type { display: grid; gap: 3px; justify-items: start; }
.brand-name { height: 23px; width: auto; display: block; margin-left: -2px; }
.brand-sub { font: 400 0.58rem/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.62; padding-left: 1px; transition: letter-spacing 0.7s var(--ease), opacity 0.5s var(--ease); }
.brand:hover .brand-rule, .brand:focus-visible .brand-rule { opacity: 0.5; transform: scaleY(1.15); }
.brand:hover .brand-sub, .brand:focus-visible .brand-sub { opacity: 0.85; letter-spacing: 0.28em; }
@media (max-width: 560px) { .brand-sub, .brand-rule { display: none; } .brand-nest { width: 44px; } .brand-name { height: 22px; } .brand { gap: 10px; } }

/* Footer: the covenant and a nest you can play. */
.footer-mark { display: grid; justify-items: start; gap: 14px; }
.footer-nest { width: min(440px, 100%); touch-action: pan-y; cursor: crosshair; }
.footer-name { width: min(230px, 56%); height: auto; fill: #ffc919; margin-top: 6px; }
.footer-play, .hero-play { font: 400 0.68rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #8f8373; margin: 6px 0 0; }
.nest-live { width: min(440px, 86%); margin: 44px auto 0; touch-action: pan-y; cursor: crosshair; }

/* ======================================================================
   HOME: the hero. An arched doorway into one of our homes, the studio's nest hung across its
   crown like a toran over an Indian front door. Everything is visible on first paint; the only
   motion is the garland settling and a room breathing beyond the door. Scrolling walks you in.
   --open runs 0 to 1.
   ====================================================================== */
.hero {
  position: relative; height: 240vh; background: var(--dusk); color: #efe7da; --open: 0; --k: calc(1 - var(--open));
  --dh: min(66svh, 58vw); --dw: calc(var(--dh) * 0.5); --db: 88svh;
  /* the copy sits on the page's left edge; the door follows it at a measured distance */
  /* the hero uses the same width as every other page: copy on the content's left edge, the door
     centred in the space that remains to the right of it */
  --copy-w: min(36vw, 540px);
  --edge: max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter));
  --dcx: calc((var(--edge) + var(--copy-w) + 100vw - var(--edge)) / 2 + 20px);
  --dl: calc(var(--dcx) - var(--dw) / 2); --dt: calc(var(--db) - var(--dh));
  --nw: calc(var(--dw) * 1.7);
}
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-wall { position: absolute; inset: 0; background:
  radial-gradient(calc(var(--dw) * 2.4) calc(var(--dh) * 0.9) at var(--dcx) var(--db), rgba(240, 200, 138, 0.16), transparent 70%),
  linear-gradient(180deg, #221c18 0%, #1c1714 60%, #15110e 100%); }
/* Light from the room spilling across the floor towards you. */
.hero-spill { position: absolute; inset: 0; pointer-events: none; opacity: calc(0.9 - var(--open));
  clip-path: polygon(var(--dl) var(--db), calc(var(--dl) + var(--dw)) var(--db), calc(var(--dl) + var(--dw) * 2.6) 100%, calc(var(--dl) - var(--dw) * 1.6) 100%);
  background: linear-gradient(180deg, rgba(240, 200, 138, 0.2), rgba(240, 200, 138, 0.03) 70%, transparent); }
.hero-floor { position: absolute; left: 0; right: 0; top: var(--db); height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 200, 138, 0.22) 30%, rgba(240, 200, 138, 0.22) 85%, transparent); opacity: var(--k); }
/* The architect's construction lines: plumb through the jambs, a datum at the springing line. */
.hero-plumb { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(239, 231, 218, 0.1) 20%, rgba(239, 231, 218, 0.1) 80%, transparent); opacity: var(--k); }
.hero-plumb.l { left: calc(var(--dl) - 18px); }
.hero-plumb.r { left: calc(var(--dl) + var(--dw) + 18px); }
.hero-datum { position: absolute; top: calc(var(--dt) + var(--dw) / 2); left: calc(var(--dl) - 60px); width: calc(var(--dw) + 120px); height: 1px; background: rgba(239, 231, 218, 0.1); opacity: var(--k); }
.hero-dim { position: absolute; left: calc(var(--dl) + var(--dw) + 44px); top: var(--dt); height: var(--dh); width: 9px; border-block: 1px solid rgba(239, 231, 218, 0.28); opacity: var(--k); }
.hero-dim::before { content: ''; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: rgba(239, 231, 218, 0.28); }
.hero-dim span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: 0 50%; white-space: nowrap; font: 400 0.62rem/1 var(--mono); letter-spacing: 0.14em; color: rgba(239, 231, 218, 0.42); }
.hero-room {
  position: absolute; inset: 0; background: #2a241f;
  clip-path: inset(
    calc(var(--dt) * var(--k)) calc((100% - var(--dl) - var(--dw)) * var(--k))
    calc((100% - var(--db)) * var(--k)) calc(var(--dl) * var(--k))
    round calc(var(--dw) / 2 * var(--k)) calc(var(--dw) / 2 * var(--k)) 0 0);
}
.hero-room img, .hero-room .pano-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-room img { object-position: calc(50% + 14vw) 50%; transition: opacity 1.2s var(--ease); }
.hero-room.is-ready img { opacity: 0; }
.hero-room::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 16, 13, 0.4), transparent 28%, transparent 60%, rgba(20, 16, 13, 0.78)); opacity: var(--open); }
/* Depth of the opening: the jambs' shadow inside, a fine architrave outside. */
.hero-jamb { position: absolute; left: var(--dl); top: var(--dt); width: var(--dw); height: var(--dh); border-radius: calc(var(--dw) / 2) calc(var(--dw) / 2) 0 0; pointer-events: none; opacity: calc(1 - var(--open) * 3);
  box-shadow: inset 16px 0 26px -12px rgba(10, 7, 5, 0.75), inset -6px 0 18px -8px rgba(10, 7, 5, 0.45), inset 0 -30px 40px -30px rgba(10, 7, 5, 0.5); }
.hero-jamb::before, .hero-jamb::after { content: ''; position: absolute; border: 1px solid rgba(240, 200, 138, 0.3); border-bottom: 0; border-radius: inherit; }
.hero-jamb::before { inset: -12px -12px 0; border-radius: calc(var(--dw) / 2 + 12px) calc(var(--dw) / 2 + 12px) 0 0; }
.hero-jamb::after { inset: -24px -24px 0; border-color: rgba(240, 200, 138, 0.12); border-radius: calc(var(--dw) / 2 + 24px) calc(var(--dw) / 2 + 24px) 0 0; }
/* The toran: the real nest, hung across the crown of the arch. */
.hero-toran { position: absolute; width: var(--nw); left: calc(var(--dcx) - var(--nw) / 2); top: calc(var(--dt) + var(--dh) * 0.07 - var(--nw) * 0.263); touch-action: pan-y; cursor: crosshair;
  opacity: calc(1 - var(--open) * 2.2); transform: translateY(calc(var(--open) * -18svh)); }
.hero-toran .nest-svg { filter: drop-shadow(0 12px 14px rgba(8, 5, 3, 0.6)); }
.hero-copy { position: absolute; left: var(--edge); top: 52%; translate: 0 -50%; width: var(--copy-w); z-index: 2; opacity: calc(1 - var(--open) * 2.4); transform: translateY(calc(var(--open) * -40px)); }
.hero-copy h1 { margin-bottom: 0.35em; font-size: clamp(2.6rem, 5.2vw, 5rem); }
.hero-copy .lede { color: #d8ccb9; max-width: 30ch; }
.hero-copy .btn-row { margin-top: 30px; }
.hero-kicker { margin-bottom: 24px; color: #b6a893; }
.hero-play { position: absolute; left: calc(var(--dl) + var(--dw) + 70px); top: calc(var(--db) - 3.4em); opacity: calc(0.85 - var(--open) * 3); max-width: 15ch; line-height: 1.6; }
.hero-arrive { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 6vh, 64px); display: flex; justify-content: space-between; align-items: end; gap: 24px; opacity: calc((var(--open) - 0.78) * 5); pointer-events: none; }
.hero-arrive.is-live { pointer-events: auto; }
.hero-arrive h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin: 0; max-width: 18ch; }
.hero-arrive .label, .hero-arrive-note { color: #cdbfa9; }
.hero-arrive-note { font: 400 0.7rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; margin: 14px 0 0; }
.hero-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font: 400 0.68rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #8f8373; opacity: calc(1 - var(--open) * 4); margin: 0; }
/* Motion accompanies, never delays: lines draw while you are already reading. */
@media (prefers-reduced-motion: no-preference) {
  .hero-plumb { animation: hero-draw-v 1.4s var(--ease) both; }
  .hero-datum, .hero-floor { animation: hero-draw-h 1.4s var(--ease) 0.1s both; }
  .hero-toran { --weave-delay: 0s; }
}
@keyframes hero-draw-v { from { clip-path: inset(0 0 100% 0); } }
@keyframes hero-draw-h { from { clip-path: inset(0 50% 0 50%); } }
@media (max-width: 860px) {
  .hero { --dh: 40svh; --dcx: 50vw; --db: 60svh; height: 210vh; --nw: calc(var(--dw) * 1.65); }
  .hero-room img { object-position: 50% 50%; }
  .hero-copy { top: auto; bottom: 24px; translate: none; width: auto; right: var(--gutter); }
  .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-copy .lede { font-size: 1.05rem; }
  .hero-copy .btn-row { margin-top: 18px; }
  .hero-kicker, .hero-dim, .hero-play, .hero-hint { display: none; }
  .hero-arrive { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .hero { height: auto; } .hero-stage { position: relative; } }


/* The brief: five small answers, each shown in a real room. The frame is an arch; a new room
   arrives the way morning light crosses a floor, with a thin gold edge. */
.intro-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 18px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.intro-head .label { grid-column: 1 / -1; margin: 0; }
.intro-head h2 { margin: 0; max-width: 11ch; }
.intro-head .lede { margin: 0; max-width: 34ch; }
.brief { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.brief-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.brief-list li { border-bottom: 1px solid var(--rule); }
.brief-list button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 3em minmax(0, 1fr); align-items: baseline;
  padding: clamp(14px, 1.8vw, 20px) 0; font: 360 clamp(1.15rem, 1.9vw, 1.55rem)/1.3 var(--serif); color: var(--muted);
  transition: color 0.5s var(--ease), padding 0.5s var(--ease); position: relative;
}
.brief-list button:hover, .brief-list button[aria-pressed='true'] { color: var(--fg); }
.brief-list button[aria-pressed='true'] { padding-left: 10px; }
.brief-list button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.brief-n { font: 400 0.72rem/1 var(--mono); letter-spacing: 0.08em; color: var(--accent); }
/* a hairline that fills while a moment is shown, and stays lit when held or chosen */
.brief-list button::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.brief-list button[aria-pressed='true']::after { transform: scaleX(1); }
.brief.is-cycling .brief-list button[aria-pressed='true']::after { animation: brief-time var(--brief-t, 5200ms) linear both; }
@keyframes brief-time { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.brief-frame { margin: 0; }
.brief-imgs { position: relative; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 4px 4px; overflow: hidden; background: var(--linen); isolation: isolate; touch-action: pan-y; }
.brief-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: transform 7s linear; }
.brief-imgs img.is-on { opacity: 1; z-index: 1; transform: scale(1); }
.brief-imgs img.is-next { opacity: 1; z-index: 2; clip-path: inset(0 100% 0 0); }
.brief-imgs img.is-next.go { clip-path: inset(0 0 0 0); transform: scale(1); transition: clip-path 1.25s var(--ease-door), transform 7s linear; }
.brief-edge { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; z-index: 3; background: linear-gradient(180deg, transparent, #fad02e 30%, #ecab2c 70%, transparent); box-shadow: 0 0 18px 3px rgba(250, 208, 46, 0.45); opacity: 0; pointer-events: none; }
.brief-edge.go { animation: brief-edge 1.25s var(--ease-door) both; }
@keyframes brief-edge { 0% { opacity: 1; left: 0; } 85% { opacity: 1; } 100% { opacity: 0; left: 100%; } }
.brief-frame figcaption { margin-top: 14px; font: 400 0.72rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.brief-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; text-decoration: none; color: inherit; padding-block: 4px; }
.brief-cap-room { color: var(--fg); transition: color 0.25s var(--ease); }
.brief-cap-go { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--muted); transition: color 0.25s var(--ease); }
.brief-cap-arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.brief-cap:hover .brief-cap-room, .brief-cap:focus-visible .brief-cap-room { color: var(--accent); text-decoration: underline; text-underline-offset: 0.22em; }
.brief-cap:hover .brief-cap-go, .brief-cap:focus-visible .brief-cap-go { color: var(--fg); }
.brief-cap:hover .brief-cap-arrow, .brief-cap:focus-visible .brief-cap-arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .brief-cap-arrow { transition: none; }
  .brief-cap:hover .brief-cap-arrow, .brief-cap:focus-visible .brief-cap-arrow { transform: none; }
}
@media (max-width: 900px) {
  .intro-head, .brief { grid-template-columns: 1fr; }
  .intro-head { gap: 12px; margin-bottom: 24px; }
  .brief { gap: 20px; }
  .brief-frame { order: -1; }
  .brief-imgs { aspect-ratio: 4 / 2.85; }
  .brief-frame figcaption { margin-top: 10px; }
  .brief-cap { flex-direction: column; gap: 4px; padding-block: 6px; }
  .brief-cap-go { color: var(--accent); }
  .brief-list button {
    grid-template-columns: 2.35em minmax(0, 1fr);
    min-height: 44px;
    padding: 11px 12px;
    font-size: 1.06rem;
    line-height: 1.32;
    border-left: 2px solid transparent;
    transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  }
  .brief-list button[aria-pressed='true'] {
    padding-left: 12px;
    background: color-mix(in srgb, var(--linen) 60%, transparent);
    border-left-color: var(--brass);
  }
}

/* Three promises: set like an inscription, numbered in roman, no ornament needed. */
.promises-band { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--rule); }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.promises li { display: grid; gap: 14px; align-content: start; }
.promise-n { font: italic 400 1.1rem/1 var(--serif); color: var(--accent); }
.promises h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0; max-width: 12ch; }
.promises p { margin: 0; color: var(--muted); max-width: 34ch; }
.promises-more { margin: clamp(40px, 5vw, 64px) 0 0; }
@media (max-width: 900px) { .promises { grid-template-columns: 1fr; } }

/* The lens: a finished room, and the drawing beneath it, seen through a brass loupe. */
.lens { margin: 0; }
.lens-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; cursor: none; touch-action: pan-y; --x: 50%; --y: 50%; --r: clamp(70px, 11vw, 150px); }
.lens-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lens-lines { clip-path: circle(var(--r) at var(--x) var(--y)); }
.lens-ring { position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 2); height: calc(var(--r) * 2); translate: -50% -50%; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1.5px #c9a25a, 0 0 0 5px rgba(201, 162, 90, 0.18), 0 18px 40px -10px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(41, 36, 31, 0.16); }
.lens-ring i { position: absolute; inset: 0; border-radius: 50%; background:
  linear-gradient(#c9a25a, #c9a25a) 50% 0 / 1px 10px no-repeat, linear-gradient(#c9a25a, #c9a25a) 50% 100% / 1px 10px no-repeat,
  linear-gradient(#c9a25a, #c9a25a) 0 50% / 10px 1px no-repeat, linear-gradient(#c9a25a, #c9a25a) 100% 50% / 10px 1px no-repeat; }
.lens figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font: 400 0.72rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #a89a86; }
@media (pointer: coarse) { .lens-stage { cursor: auto; } }
/* Craft: the finished wardrobe gives way to its drawing (--wipe 0 to 1), a gold edge leading. */
.craft-figure { --wipe: 0; }
.craft-figure .lens { width: 100%; }
.craft-figure .lens-stage { aspect-ratio: 4 / 4.4; }
.lens-wipe { clip-path: inset(0 0 0 calc((1 - var(--wipe)) * 100%)); transition: clip-path 1.3s var(--ease-door); }
.lens-wipe-edge { position: absolute; top: 0; bottom: 0; width: 1px; left: calc((1 - var(--wipe)) * 100%); background: linear-gradient(180deg, transparent, #fad02e 25%, #ecab2c 75%, transparent); box-shadow: 0 0 16px 2px rgba(250, 208, 46, 0.4); transition: left 1.3s var(--ease-door); }
.craft-chip { position: absolute; left: 14px; top: 14px; padding: 7px 10px; background: rgba(243, 238, 230, 0.9); font: 400 0.68rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); border-radius: 2px; }
.craft-chip:empty { display: none; }
@media (max-width: 900px) { .craft-scroll { grid-template-columns: 1fr; } .craft-figure { top: var(--header-h); height: auto; z-index: 2; background: var(--bg); padding-block: 8px; } .craft-figure .lens-stage { aspect-ratio: 16 / 9; } .craft-steps { gap: 30vh; } }
/* Homes: sixteen strands, one per home, in each home's own colours. */
.threads { margin: 0; }
.threads svg { width: 100%; height: auto; overflow: visible; }
.thread { cursor: pointer; }
.thread path { transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), filter 0.55s var(--ease); }
.thread-ring { fill: none; stroke: var(--c, var(--brass)); stroke-width: 1.4; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; }
.threads.has-peek:not(.has-lit) .thread path { opacity: 0.44; }
.threads.has-peek:not(.has-lit) .thread.is-peek path { opacity: 1; transform: translateY(-4px); filter: drop-shadow(0 3px 6px rgba(41, 36, 31, 0.16)); }
.threads.has-lit .thread path { opacity: 0.16; }
.threads.has-lit .thread.is-lit path { opacity: 1; transform: translateY(-6px); filter: drop-shadow(0 5px 10px rgba(41, 36, 31, 0.25)); }
.threads.has-lit .thread.is-lit .thread-ring { opacity: 0.7; }
.thread:focus-visible { outline: none; }
.thread:focus-visible path { filter: drop-shadow(0 0 3px var(--brass)); }
.threads figcaption { display: grid; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 0.9rem; }
.threads-pick {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; width: fit-content;
  text-decoration: none; border-bottom: 1px solid var(--rule); padding: 4px 0 7px; position: relative;
  transition: border-color 0.35s var(--ease);
}
.threads-pick:hover, .threads-pick:focus-visible { border-color: var(--accent); }
.threads-name { font: 500 0.78rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); }
.threads-meta { font: 400 0.74rem/1.4 var(--mono); letter-spacing: 0.04em; color: var(--muted); }
.threads-meta::after { content: ' \2192'; color: var(--accent); display: inline-block; transition: transform 0.3s var(--ease); }
.threads-pick:hover .threads-meta::after, .threads-pick:focus-visible .threads-meta::after, .threads.has-lit .threads-meta::after { transform: translateX(3px); }
.threads-hint { font-size: 0.88rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .threads .thread path { clip-path: inset(0 100% 0 0); }
  .js .threads.is-in .thread path { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease-door) calc(var(--i) * 0.07s), opacity 0.55s var(--ease), transform 0.55s var(--ease), filter 0.55s var(--ease); }
  .threads.is-vis.has-peek:not(.has-lit) .thread.is-peek .thread-ring { animation: thread-ping 2.8s var(--ease) both; }
}
@keyframes thread-ping { 0% { transform: scale(0.55); opacity: 0; } 22% { opacity: 0.75; } 100% { transform: scale(2.1); opacity: 0; } }
.craft-figure .lens-ring, .craft-figure .lens-lines { transition: opacity 0.6s var(--ease); }
.craft-figure.is-drawn .lens-ring, .craft-figure.is-drawn .lens-lines { opacity: 0; }
.craft-figure .lens figcaption span:last-child { display: none; }


.studio-photo { margin: 0; }
.studio-photo img { width: 100%; border-radius: 3px; }
.studio-photo figcaption { margin-top: 14px; font: 400 0.72rem/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.notfound-nest .nest-live { margin: 8px 0 12px; width: min(360px, 80%); }
/* Page to page: a soft cross-fade, with the header and its nest staying put. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; animation-timing-function: var(--ease); }
}
@media (max-width: 860px) {
}

/* ======================================================================
   STUDIO: who we are, drawn from our own work. Sixteen doorways in the colours of sixteen homes;
   a drawing that changes with each step of the process; a wall of details; two cities.
   ====================================================================== */
.studio-head { padding: calc(var(--header-h) + clamp(56px, 10vh, 120px)) 0 0; overflow: hidden; }
.studio-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.studio-head h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); max-width: 12ch; margin: 0; }
.studio-sub { color: var(--muted); margin-top: 18px; max-width: 46ch; }
.doorways { margin: clamp(48px, 8vw, 104px) 0 0; }
.doorways svg { display: block; width: 100%; height: auto; overflow: visible; }
.doorway { cursor: pointer; outline: none; }
.doorway-fill { transition: transform 0.7s var(--ease), filter 0.5s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
.doorway-edge { fill: none; stroke: var(--graphite); stroke-opacity: 0.18; transition: stroke-opacity 0.4s; }
.doorways-floor { stroke: var(--graphite); stroke-opacity: 0.4; }
.doorway:hover .doorway-fill, .doorway:focus-visible .doorway-fill { transform: translateY(-8px); }
.doorway:hover .doorway-edge, .doorway:focus-visible .doorway-edge { stroke-opacity: 0.7; }
.doorways.has-hover .doorway:not(:hover):not(:focus-visible) .doorway-fill { filter: saturate(0.35) opacity(0.55); }
.doorways figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 18px 0 clamp(40px, 6vw, 72px); font: 400 0.72rem/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.doorways [data-doorway-name] { color: var(--fg); }
@media (prefers-reduced-motion: no-preference) {
  .js .doorway-fill { animation: doorway-rise 1.3s var(--ease) both; animation-delay: calc(0.15s + var(--i) * 45ms); }
}
@keyframes doorway-rise { from { transform: scaleY(0.06); } }

/* The process: one drawing per step, changing as you read. */
.studio-process-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.studio-process-head .label { grid-column: 1 / -1; }
.studio-process-head h2 { margin: 0; max-width: 18ch; }
.studio-process-head .lede { margin: 0; }
.process-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); }
.process-figure { position: sticky; top: calc(var(--header-h) + 6vh); align-self: start; margin: 0; }
.process-stage { position: relative; aspect-ratio: 1; background: var(--linen); border-radius: 50% 50% 4px 4px / 36% 36% 4px 4px; overflow: hidden; color: var(--graphite); }
.process-stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 10% 10%; opacity: 0.35; }
.glyph { position: absolute; inset: 9%; width: 82%; height: 82%; opacity: 0; transition: opacity 0.7s var(--ease); }
.glyph-nest { display: grid; place-items: center; inset: 14%; width: 72%; height: 72%; }
.glyph-nest .nest-svg { width: 100%; }
.process-figure[data-active='0'] [data-glyph='0'], .process-figure[data-active='1'] [data-glyph='1'], .process-figure[data-active='2'] [data-glyph='2'],
.process-figure[data-active='3'] [data-glyph='3'], .process-figure[data-active='4'] [data-glyph='4'], .process-figure[data-active='5'] [data-glyph='5'] { opacity: 1; }
.glyph .gs { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); transition-delay: calc(var(--k, 0) * 110ms); }
.glyph .gs.thin { stroke-width: 1.4; }
.glyph .gs.dash { stroke-dasharray: 0.02 0.02; stroke-dashoffset: 0; opacity: 0; transition: opacity 0.8s var(--ease) calc(var(--k, 0) * 110ms + 0.3s); }
.glyph .gs.gold { stroke: var(--brass); stroke-width: 5; }
.glyph .gs.wave { stroke: var(--brass); }
@media (prefers-reduced-motion: no-preference) { [data-active='0'] [data-glyph='0'] .wave { animation: glyph-hear 2.4s ease-in-out calc(1.4s + var(--k) * 0.3s) infinite; } }
@keyframes glyph-hear { 0%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.glyph .gf { fill: var(--graphite); }
.glyph .gfill { fill: var(--brass); fill-opacity: 0.22; opacity: 0; transition: opacity 1s var(--ease) 0.5s; }
[data-active='0'] [data-glyph='0'] .gs, [data-active='1'] [data-glyph='1'] .gs, [data-active='2'] [data-glyph='2'] .gs, [data-active='3'] [data-glyph='3'] .gs, [data-active='4'] [data-glyph='4'] .gs { stroke-dashoffset: 0; }
[data-active='0'] [data-glyph='0'] .dash, [data-active='1'] [data-glyph='1'] .dash, [data-active='2'] [data-glyph='2'] .dash, [data-active='3'] [data-glyph='3'] .dash, [data-active='4'] [data-glyph='4'] .dash,
[data-active='2'] [data-glyph='2'] .gfill, [data-active='4'] [data-glyph='4'] .gfill { opacity: 1; }
.glyph-spin { transform-origin: 200px 200px; }
@media (prefers-reduced-motion: no-preference) { [data-active='2'] .glyph-spin { animation: glyph-spin 14s linear infinite; } }
@keyframes glyph-spin { to { transform: rotate(360deg); } }
.process-count { font: 400 0.72rem/1 var(--mono); letter-spacing: 0.1em; color: var(--muted); margin: 16px 0 0; text-align: center; }
.process-count span { color: var(--fg); }
.process-steps { list-style: none; margin: 0; padding: 8vh 0 24vh; display: grid; gap: 22vh; }
.process-steps li { display: grid; gap: 12px; opacity: 0.3; transition: opacity 0.7s var(--ease); }
.process-steps li.is-active { opacity: 1; }
.process-steps h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.process-steps p { margin: 0; color: var(--muted); max-width: 36ch; font-size: 1.08rem; }
.no-js .process-steps li, html:not(.js) .process-steps li { opacity: 1; }
html:not(.js) .glyph[data-glyph='0'] { opacity: 1; }
html:not(.js) .glyph .gs { stroke-dashoffset: 0; }

/* The material atlas */
.atlas-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.atlas-head h2 { margin: 12px 0 0; }
.atlas-head .lede { margin: 0; }
.atlas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 19vw, 280px); gap: clamp(8px, 1vw, 14px); }
.atlas-item { position: relative; overflow: hidden; border-radius: 2px; background: #2a241f; display: block; color: #efe7da; text-decoration: none; }
.atlas-item.is-wide { grid-column: span 2; }
.atlas-item.is-tall { grid-row: span 2; }
.atlas-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 0.8s var(--ease); }
.atlas-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15, 12, 10, 0.75)); opacity: 0.85; transition: opacity 0.6s var(--ease); }
.atlas-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: grid; gap: 4px; transform: translateY(6px); transition: transform 0.6s var(--ease); }
.atlas-cap b { font: 400 1.12rem/1.25 var(--serif); }
.atlas-cap span { font: 400 0.66rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #cdbfa9; opacity: 0; transition: opacity 0.5s var(--ease); }
.atlas-item:hover img, .atlas-item:focus-visible img { transform: scale(1.05); }
.atlas-item:hover .atlas-cap, .atlas-item:focus-visible .atlas-cap { transform: none; }
.atlas-item:hover .atlas-cap span, .atlas-item:focus-visible .atlas-cap span { opacity: 1; }
.atlas:has(.atlas-item:hover) .atlas-item:not(:hover) img { filter: brightness(0.6) saturate(0.7); }
.atlas-note { margin: 18px 0 0; font: 400 0.7rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.js .atlas-item[data-reveal] { transition-delay: calc(var(--i) * 60ms); }

/* Two cities */
.places-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.places-grid dl { margin: 28px 0 0; display: grid; gap: 26px; }
.places-grid dt { font: 400 1.6rem/1.2 var(--serif); }
.places-grid dd { margin: 6px 0 0; color: var(--muted); }
.citymap { margin: 0; }
.citymap svg { width: 100%; height: auto; display: block; max-height: 74vh; }
.citymap-grid line { stroke: var(--graphite); stroke-opacity: 0.12; stroke-dasharray: 2 5; }
.citymap-grid text { font: 400 10px/1 var(--mono); fill: var(--muted); letter-spacing: 0.08em; }
.citymap-strand { fill: none; stroke: var(--brass); stroke-width: 3; stroke-linecap: round; }
.js .citymap .citymap-strand { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .citymap.is-in .citymap-strand { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease) var(--d, 0s); }
.citymap-km { font: 400 11px/1 var(--mono); fill: var(--brass); letter-spacing: 0.06em; }
.citymap-city circle { fill: var(--graphite); }
.citymap-city .citymap-ring { fill: none; stroke: var(--brass); stroke-width: 1.2; }
@media (prefers-reduced-motion: no-preference) { .citymap-ring { animation: city-ring 3.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; } }
@keyframes city-ring { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.citymap-city text { font: 400 17px/1 var(--serif); fill: var(--graphite); }
.citymap-city .citymap-note { font: 400 9.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; fill: var(--muted); }

.people-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }

@media (max-width: 860px) {
  .studio-head-grid, .studio-process-head, .atlas-head, .places-grid, .people-grid { grid-template-columns: 1fr; }
  .doorways svg { width: 100%; }
  .doorways figcaption { flex-direction: column; }
  .process-body { grid-template-columns: 1fr; }
  .process-figure { top: calc(var(--header-h) + 8px); z-index: 2; background: var(--bg); padding-bottom: 8px; display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 16px; }
  .process-count { text-align: left; margin: 0; }
  .process-steps { padding: 4vh 0 16vh; gap: 14vh; }
  .atlas { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; }
  .atlas-item.is-tall { grid-row: span 1; }
  .atlas-cap span { opacity: 1; }
}

/* Back to the top: a small doorway whose frame fills as you read, with a roof that points the way up. */
.to-top { position: fixed; right: clamp(14px, 2.4vw, 32px); bottom: clamp(14px, 2.4vw, 32px); z-index: 35; width: 46px; height: 58px; padding: 0; border: 0; border-radius: 23px 23px 6px 6px; background: color-mix(in srgb, var(--plaster) 82%, transparent); backdrop-filter: blur(8px); color: var(--graphite); cursor: pointer; box-shadow: 0 6px 18px -10px rgba(27, 23, 20, 0.5); opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), background-color 0.35s var(--ease), color 0.35s; }
.to-top[hidden] { display: block; visibility: hidden; }
.to-top.is-shown { opacity: 1; transform: none; visibility: visible; }
.to-top svg { width: 100%; height: 100%; padding: 3px 3px 1px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.to-top-arch { stroke: currentColor; stroke-opacity: 0.2; stroke-width: 1.5; }
.to-top-trace { stroke: var(--brass); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--read, 0)); }
.to-top-roof, .to-top-post { stroke: currentColor; stroke-width: 1.7; transition: transform 0.45s var(--ease); }
.to-top-post { stroke-opacity: 0.45; }
.to-top:hover, .to-top:focus-visible { background: var(--graphite); color: #efe7da; }
.to-top:hover .to-top-roof, .to-top:focus-visible .to-top-roof { transform: translateY(-3px); }
.to-top:hover .to-top-post, .to-top:focus-visible .to-top-post { transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.to-top.on-dusk { background: color-mix(in srgb, var(--dusk) 80%, transparent); color: #efe7da; }
.to-top.on-dusk:hover, .to-top.on-dusk:focus-visible { background: #efe7da; color: var(--dusk); }
@media (max-width: 560px) { .to-top { width: 40px; height: 50px; } }
@media print { .to-top { display: none; } }
@media (max-width: 560px) { .icon-zoom { display: none; } }

/* ======================================================================
   PHILOSOPHY: a house built as you read. Each idea adds one part: the dream is the foundation,
   the worry we carry rests on our beam, integrity lives inside the walls, the roof is the shield,
   the covenant opens the door, and the nest is hung over it. is-s1…is-s6 mark what is built.
   ====================================================================== */
.pb { --pg: var(--plaster); background: var(--pg); color: var(--fg); transition: background-color 1.4s var(--ease), color 1.4s var(--ease); }
.pb.is-s4 { --pg: #2c2520; --fg: #efe7da; --bg: #2c2520; --muted: #b3a593; --rule: rgba(239, 231, 218, 0.16); --accent: var(--lamp); }
.pb.is-s5 { --pg: #221c18; --bg: #221c18; }
/* vi · calm, airy peach-and-spring morning atmosphere */
.pb.is-s6 { --pg: #faf4ec; --fg: #312822; --bg: #faf4ec; --muted: #6c5e53; --rule: rgba(49, 40, 34, 0.13); --accent: #a6623c; }
.page-philosophy .site-footer { margin-top: 0; }
.pb-head { min-height: 86vh; display: grid; align-content: end; padding-top: calc(var(--header-h) + 8vh); padding-bottom: 8vh; }
.pb-head .label { margin-bottom: 22px; }
.pb-head h1 { max-width: 13ch; font-size: clamp(2.8rem, 6.4vw, 6rem); }
.pb-head .lede { max-width: 40ch; }
.pb-cue { display: flex; align-items: center; gap: 14px; margin-top: 40px; font: 400 0.7rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pb-cue span { width: 1px; height: 44px; background: linear-gradient(var(--brass), transparent); }
@media (prefers-reduced-motion: no-preference) { .pb-cue span { animation: pb-cue 2.4s var(--ease) infinite; transform-origin: top; } }
@keyframes pb-cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.pb-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); }
/* The house and each chapter share one stage: both fill the screen below the header and centre
   their content, so the words you are reading always sit level with the drawing they describe. */
.pb-house { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--header-h) + 2vh) 0 4vh; align-self: start; margin: 0; display: grid; align-content: center; }
.pb-frame { position: relative; aspect-ratio: 600 / 640; width: min(100%, calc((100svh - var(--header-h) - 12vh - 40px) * 600 / 640)); margin-inline: auto; }
.pb-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--fg); transition: color 1.4s var(--ease); }
.pb-house figcaption { display: flex; justify-content: space-between; margin-top: 12px; font: 400 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pb-count b { font-weight: 400; color: var(--fg); }

.pb-svg text { font: 400 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; fill: currentColor; text-anchor: middle; }
.pb-line { stroke: currentColor; stroke-width: 2; fill: none; }
.pb-line.thin { stroke-width: 1; stroke-opacity: 0.6; }
.pb-ground .pb-line { stroke-opacity: 0.6; }

/* i · foundation */
.pb-course { fill: color-mix(in srgb, var(--brass) 18%, var(--pg)); stroke: currentColor; stroke-opacity: 0.4; }
.pb-found > * { opacity: 0.12; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--k) * 140ms); }
.pb.is-s1 .pb-found > * { opacity: 1; transform: none; }
.pb-found text { fill-opacity: 0.75; }

/* ii · walls, with the worries carried on the beam */
.pb-walls { transform-box: view-box; transform-origin: 300px 520px; transform: scaleY(0.02); opacity: 0.4; transition: transform 1.3s var(--ease), opacity 0.8s; }
.pb.is-s2 .pb-walls { transform: none; opacity: 1; }
.pb-wall { fill: currentColor; fill-opacity: 0.85; }
.pb-beam { fill: var(--brass); }
.pb-plaster { fill: color-mix(in srgb, var(--fg) 7%, var(--pg)); transition: fill 1.4s var(--ease); }
.pb-window { fill: color-mix(in srgb, #9fb4c8 30%, var(--pg)); stroke: currentColor; stroke-width: 2; transition: fill 1.4s var(--ease); }
.pb.is-s4 .pb-window { fill: var(--lamp); }
.pb.is-s6 .pb-window { fill: #fde5c2; }
.pb-cavity { fill: color-mix(in srgb, var(--fg) 4%, var(--pg)); }
.pb-conduit { fill: none; stroke: var(--brass); stroke-width: 3; stroke-linejoin: round; }
.pb-box { fill: var(--pg); stroke: var(--brass); stroke-width: 2; }
.pb-membrane { stroke: #5e86a6; stroke-width: 5; stroke-dasharray: 10 4; }
.pb-carcass { fill: color-mix(in srgb, #e2c89c 60%, var(--pg)); stroke: currentColor; stroke-opacity: 0.5; }
.pb-tag { font-size: 9px !important; text-anchor: start; fill-opacity: 0.8; }
.pb-xray-hole { r: var(--xr, 0px); transition: r 0.7s var(--ease); }
.pb.is-xray { --xr: 76px; }
.pb-stones g { opacity: 0; transform: translateY(-120px); transition: transform 0.9s cubic-bezier(0.34, 1.3, 0.5, 1), opacity 0.4s; }
.pb-stones g.is-placed { opacity: 1; transform: none; }
.pb:not(.is-s2) .pb-stones g { opacity: 0; }
.pb-stones rect { fill: color-mix(in srgb, var(--brass) 30%, var(--pg)); stroke: var(--brass); }
.pb-stones text { font-size: 9.5px !important; }

/* iv · roof, rain and the storm it keeps out */
.pb-roof { fill: none; stroke: currentColor; stroke-width: 16; stroke-linejoin: miter; stroke-linecap: square; transform: translateY(-90px); opacity: 0; transition: transform 1.1s cubic-bezier(0.34, 1.2, 0.5, 1), opacity 0.6s; }
.pb.is-s4 .pb-roof { transform: none; opacity: 1; }
.pb-rain line { stroke: #a9bfd2; stroke-width: 1.2; stroke-opacity: 0; stroke-linecap: round; }
.pb.is-s4 .pb-rain line { stroke-opacity: 0.55; }
.pb-rain line.heavy { display: none; }
.pb.is-storm .pb-rain line.heavy { display: inline; }
@media (prefers-reduced-motion: no-preference) {
  .pb.is-s4 .pb-rain line { animation: pb-fall var(--t, 1s) linear var(--d, 0s) infinite; }
  .pb.is-storm .pb-rain line { animation-duration: calc(var(--t, 1s) * 0.55); }
}
@keyframes pb-fall { from { transform: translate(0, -60px); } to { transform: translate(-24px, 320px); } }
.pb-flash { fill: #fff; opacity: 0; pointer-events: none; }
.pb.is-storm .pb-flash { animation: pb-flash 4.2s steps(1) 1; }
@keyframes pb-flash { 0%, 6%, 34%, 100% { opacity: 0; } 4%, 32% { opacity: 0.35; } }
.pb-storm { margin-top: 14px; }

/* v · the door opens */
.pb-opening { fill: color-mix(in srgb, var(--fg) 14%, var(--pg)); transition: fill 1.2s var(--ease); }
.pb.is-s5 .pb-opening { fill: #f6cf8e; }
.pb-leaf { fill: color-mix(in srgb, #8a5a35 75%, var(--pg)); stroke: currentColor; stroke-opacity: 0.5; transform-box: view-box; transition: transform 1.4s var(--ease-door); }
.pb-leaf-l { transform-origin: 244px 0; }
.pb-leaf-r { transform-origin: 356px 0; }
.pb.is-s5 .pb-leaf { transform: scaleX(0.16); }
.pb-spill { opacity: 0; transition: opacity 1.6s var(--ease) 0.4s; }
.pb.is-s5 .pb-spill { opacity: 1; }
.pb-walls .pb-line { stroke-opacity: 0; }

.pb.is-s6 .pb-stones g.is-placed { opacity: 0.1; transition: opacity 1.2s var(--ease); }

/* vi · a home, lived in. The structure softens to plaster, sand and terracotta; the foundation and
   the brick below quieten (they are still there, holding everything); the playable nest hangs over
   the home in the morning sky, balancing the house from the right; two birds flying home to it, plants either side, two lamps on
   the step. Calm first: everything moves slowly, and only a little. */
.pb-toran { position: absolute; left: 76%; width: 34%; top: 9%; transform: translate(-50%, -14px) scale(0.92); opacity: 0; pointer-events: none; transition: opacity 1.2s var(--ease) 0.5s, transform 1.4s var(--ease) 0.5s; touch-action: pan-y; cursor: crosshair; }
.pb.is-s6 .pb-toran { opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto; }
.pb-toran .nest-svg { filter: drop-shadow(0 6px 14px rgba(146, 90, 32, 0.28)); }
.pb-nest-ring { fill: none; stroke: #d9a46e; stroke-width: 1; stroke-dasharray: 2 6; stroke-opacity: 0.45; }

.pb.is-s6 .pb-roof { stroke: #b9734b; stroke-width: 12; }
.pb.is-s6 .pb-wall { fill: #e6d2bb; fill-opacity: 1; }
.pb.is-s6 .pb-beam { fill: #cfa877; }
.pb.is-s6 .pb-plaster { fill: #fffaf3; }
.pb.is-s6 .pb-opening { fill: #fbe0b4; }
.pb.is-s6 .pb-leaf { fill: #c39a72; stroke-opacity: 0.25; }
.pb.is-s6 .pb-window { fill: #fde8c8; stroke: #a98263; stroke-width: 1.5; }
.pb.is-s6 .pb-walls .pb-line.thin { stroke: #a98263; stroke-opacity: 0.45; }
.pb.is-s6 .pb-found > * { opacity: 0.5; }
.pb.is-s6 .pb-course { fill: #f3e8da; stroke-opacity: 0.18; }
.pb.is-s6 .pb-ground path[fill] { opacity: 0.12; }
.pb.is-s6 .pb-ground .pb-line { stroke-opacity: 0.25; }
.pb.is-s6 .pb-spill { opacity: 0.25; }
.pb.is-s6 .pb-stones g.is-placed { opacity: 0; transition: opacity 1.2s var(--ease); }

.pb-home { opacity: 0; pointer-events: none; transition: opacity 1.4s var(--ease) 0.2s; }
.pb.is-s6 .pb-home { opacity: 1; }
.pb-sun { fill: #f8cfa3; }
.pb-sun-glow { opacity: 0.9; }
.pb-bird { fill: none; stroke: #7a6252; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pb-bird.is-sm { stroke-width: 1.4; stroke-opacity: 0.75; }
.pb-bird-fly { opacity: 0; transform-box: fill-box; transform-origin: center; }
.pb-lawn { fill: #d7e2cd; }
.pb-glow { opacity: 0.9; }
.pb-step { fill: #ecdcc8; stroke: #c9ad8e; stroke-width: 1; }
.pb-diya-cup { fill: #c0703f; }
.pb-flame { fill: #f3b552; transform-box: fill-box; transform-origin: 50% 100%; }
.pb-curtain { fill: #f1c9a3; opacity: 0.85; }
.pb-pot { fill: #c47b4f; }
.pb-pot-rim { fill: #b06a40; }
.pb-leaf-g { fill: #87a37c; }
.pb-leaf-g.is-lt { fill: #a9c19c; }
.pb-plant { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0.6); transition: transform 1.2s var(--ease) calc(0.5s + var(--k) * 0.15s); }
.pb.is-s6 .pb-plant { transform: none; }
.pb-leaves { transform-box: fill-box; transform-origin: 50% 100%; }
.pb.is-s6 .pb-bird-fly { opacity: 0.8; }

@media (prefers-reduced-motion: no-preference) {
  .pb.is-s6 .pb-sun-glow { transform-box: fill-box; transform-origin: center; animation: pb-sun-breathe 12s ease-in-out infinite; }
  .pb.is-s6 .pb-bird-fly { animation: pb-home-flight 22s cubic-bezier(0.4, 0, 0.3, 1) 1.2s infinite; animation-delay: calc(1.2s + var(--d)); }
  .pb.is-s6 .pb-bird { transform-box: fill-box; transform-origin: 50% 100%; animation: pb-flap 0.9s ease-in-out infinite alternate; }
  .pb.is-s6 .pb-leaves { animation: pb-leaf-sway 9s ease-in-out 2s infinite; }
  .pb.is-s6 .pb-leaves.is-r { animation-duration: 11s; animation-direction: reverse; }
  .pb.is-s6 .pb-flame { animation: pb-flicker 1.8s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
}
@keyframes pb-sun-breathe { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.05); opacity: 1; } }
/* the birds glide in from the left, over the roof, and away; a long pause before they come round again */
/* the birds glide in from the left and settle into the nest; a long pause before the next pair */
@keyframes pb-home-flight {
  0% { transform: translate(-50px, 30px); opacity: 0; }
  8% { opacity: 0.85; }
  40% { transform: translate(310px, -34px) scale(0.85); opacity: 0.85; }
  48%, 100% { transform: translate(370px, -40px) scale(0.6); opacity: 0; }
}
@keyframes pb-flap { from { transform: scaleY(1); } to { transform: scaleY(0.45); } }
@keyframes pb-leaf-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(2.2deg); } }
@keyframes pb-flicker { from { transform: scale(0.9, 0.95); opacity: 0.85; } to { transform: scale(1.05, 1.08); opacity: 1; } }

/* Chapter 6 · Brand family seal */
.pb-family-seal { margin: 22px 0 18px; }
.pb-family-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  padding: 16px 22px;
  border-radius: 12px;
  background: color-mix(in srgb, #fffcf8 88%, transparent);
  border: 1px solid rgba(166, 114, 70, 0.24);
  box-shadow: 0 12px 30px -22px rgba(112, 74, 44, 0.28);
  cursor: pointer;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.pb-family-brand:hover { transform: translateY(-2px); border-color: rgba(166, 114, 70, 0.46); box-shadow: 0 16px 34px -22px rgba(112, 74, 44, 0.38); }
.pb-family-nest { width: 58px; flex: 0 0 auto; display: block; }
.pb-family-nest .nest-svg { width: 100%; height: auto; display: block; }
.pb-family-type { display: grid; gap: 4px; --brand-name: #ffc919; --brand-glint: #fffbe6; }
.pb-family-name { height: 24px; width: auto; display: block; fill: var(--brand-name); }
.pb-family-sub { font: 400 0.66rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* the words */
.pb-chapters { display: grid; gap: 0; padding: 0; }
.pb-chapter { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 2vh) 0 4vh; display: grid; align-content: center; scroll-snap-align: start; }
.pb-chapter:last-child { min-height: 110svh; }
@media (min-width: 861px) { html:has(.pb[data-house]) { scroll-snap-type: y proximity; } }
.pb-chapter { opacity: 0.3; transition: opacity 0.8s var(--ease); }
.pb-chapter.is-active { opacity: 1; }
.pb-chapter .label { display: block; margin-bottom: 18px; color: var(--brass); }
.pb.is-s4 .pb-chapter .label { color: var(--lamp); }
.pb.is-s6 .pb-chapter .label { color: var(--accent); }
.pb-chapter h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); max-width: 15ch; }
.pb-chapter p:not(.label) { color: var(--muted); max-width: 36ch; font-size: 1.08rem; }
.pb-try { font: italic 400 1.05rem/1.5 var(--serif) !important; color: var(--fg) !important; }
.pb-hand { margin-top: 26px; padding: 20px; border: 1px solid var(--rule); border-radius: 3px; max-width: 30rem; }
.pb-hand-q { margin: 0 0 14px; font: 400 0.72rem/1 var(--mono) !important; letter-spacing: 0.1em; text-transform: uppercase; }
.pb-hand-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-hand-row button { font: 500 0.9rem/1 var(--sans); padding: 11px 16px; border-radius: 3px; border: 1px solid var(--brass); background: color-mix(in srgb, var(--brass) 14%, transparent); color: var(--fg); cursor: pointer; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), background-color 0.3s; }
.pb-hand-row button:hover { background: color-mix(in srgb, var(--brass) 30%, transparent); }
.pb-hand-row button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.pb-hand-row button[aria-pressed='true'] { opacity: 0.35; transform: translateY(-6px); text-decoration: line-through; cursor: default; }
.pb-hand-a { margin: 14px 0 0 !important; font: italic 400 1.02rem/1.5 var(--serif) !important; color: var(--fg) !important; }

.pb-close { background: #17130f; color: #efe7da; padding: clamp(100px, 16vh, 200px) 0; text-align: center; }
.pb-close .label { margin-bottom: 26px; color: var(--lamp); }
.pb-promise { font: 400 clamp(2rem, 4.6vw, 3.8rem)/1.2 var(--serif); max-width: 22ch; margin: 0 auto 44px; text-wrap: balance; }
.pb-promise em { color: var(--lamp); }
.pb-close .btn-row { justify-content: center; }

/* without script, or with reduced motion, the house stands complete */
html:not(.js) .pb, .pb.is-static { --pg: var(--plaster); }
html:not(.js) .pb .pb-found > *, html:not(.js) .pb .pb-walls, html:not(.js) .pb .pb-roof, html:not(.js) .pb .pb-stones g { opacity: 1; transform: none; }
html:not(.js) .pb-chapter { opacity: 1; }

@media (max-width: 860px) {
  .pb-body { grid-template-columns: 1fr; }
  .pb-house { top: 0; height: auto; padding: calc(var(--header-h) + 4px) 0 8px; z-index: 2; background: var(--pg); transition: background-color 1.4s var(--ease); }
  .pb-frame { width: min(100%, calc(38svh * 600 / 640)); }
  html:has(.pb[data-house]) { scroll-snap-type: y proximity; scroll-padding-top: calc(var(--header-h) + 38svh + 40px); }
  .pb-chapter { min-height: calc(100svh - var(--header-h) - 38svh - 40px); padding: 20px 0 6vh; align-content: start; scroll-snap-align: start; }
  .pb-chapter:last-child { min-height: 70svh; }
  .pb-chapter h2 { font-size: 1.8rem; }
}
.pb-opening, .pb-leaf { opacity: 0; }
.pb.is-s2 .pb-opening, .pb.is-s2 .pb-leaf { opacity: 1; transition: opacity 0.8s var(--ease) 0.9s, transform 1.4s var(--ease-door), fill 1.2s var(--ease); }
.pb.is-s5 .pb-rain line { stroke-opacity: 0; transition: stroke-opacity 1.6s var(--ease); }

/* ======================================================================
   VISIT: an invitation. The tower in elevation, the lift rising to the seventh floor where our
   window is lit; the essentials beside it; then what to bring, and a note written in your words.
   ====================================================================== */
.vt-head { background: radial-gradient(60% 70% at 78% 60%, rgba(240, 200, 138, 0.12), transparent 70%), var(--dusk); color: #efe7da; padding: calc(var(--header-h) + clamp(48px, 9vh, 110px)) 0 clamp(56px, 8vw, 100px); }
.vt-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.vt-copy .label { color: var(--lamp); margin-bottom: 22px; }
.vt-copy h1 { font-size: clamp(2.8rem, 6.2vw, 5.8rem); margin: 0 0 0.3em; }
.vt-copy .lede { color: #d8ccb9; max-width: 36ch; }
.vt-card { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.vt-card-row { padding: 22px 28px 0 0; display: grid; gap: 12px; align-content: start; justify-items: start; }
.vt-card-row + .vt-card-row { padding-left: 28px; border-left: 1px solid var(--rule); }
.vt-card .label { color: #a99d8d; margin: 0; }
.vt-card address { font: normal 400 1.08rem/1.55 var(--serif); }
.vt-phones { margin: 0; font: 400 1.08rem/1.7 var(--serif); }
.vt-phones a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); }
.vt-phones a:hover { border-color: var(--lamp); }
.vt-tower { margin: 0; }
.vt-svg { width: 100%; max-height: 74vh; display: block; overflow: visible; cursor: pointer; }
.vt-ground { stroke: rgba(239, 231, 218, 0.35); }
.vt-body { fill: rgba(239, 231, 218, 0.04); stroke: rgba(239, 231, 218, 0.5); }
.vt-slab { stroke: rgba(239, 231, 218, 0.12); }
.vt-win { fill: rgba(239, 231, 218, 0.06); stroke: rgba(239, 231, 218, 0.2); transition: fill 0.6s var(--ease); }
/* A and C stand back: smaller, fainter, a few windows lit by their own neighbours */
.vt-block.is-side { opacity: 0.42; transition: opacity 0.8s var(--ease); }
.vt-block.is-side .vt-win.is-lit { fill: rgba(240, 200, 138, 0.35); }
.vt-tower:hover .vt-block.is-side { opacity: 0.3; }
/* B carries the attention */
.vt-block.is-ours > .vt-body:first-child { fill: rgba(239, 231, 218, 0.07); stroke: rgba(239, 231, 218, 0.78); stroke-width: 1.4; }
.vt-tower:hover .is-ours .vt-win { fill: rgba(240, 200, 138, calc(0.04 + var(--c) * 0.03 + var(--f) * 0.004)); }
.vt-win.is-ours { fill: var(--lamp); stroke: var(--lamp); filter: drop-shadow(0 0 12px rgba(240, 200, 138, 0.85)); }
.vt-block-name { font: 400 11px/1 var(--mono); letter-spacing: 0.2em; fill: #a99d8d; }
.is-ours .vt-block-name { fill: var(--lamp); font-size: 13px; }
.vt-shaft { fill: none; stroke: rgba(239, 231, 218, 0.22); stroke-dasharray: 3 4; }
.vt-lift { fill: var(--lamp); transform: translateY(-360px); }
.vt-door { fill: none; stroke: rgba(239, 231, 218, 0.6); }
.vt-tag path { stroke: var(--lamp); fill: none; }
.vt-tag text { font: 400 20px/1 var(--serif); fill: #efe7da; }
.vt-svg .vt-sub { font: 400 9.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; fill: #a99d8d; }
.vt-tower figcaption { margin-top: 10px; font: 400 0.7rem/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #a99d8d; }
.vt-also { margin: 6px 0 0; font-size: 0.85rem; color: #a99d8d; }
.vt-also a { color: #efe7da; }
@media (prefers-reduced-motion: no-preference) {
  .js .vt-block.is-side { animation: vt-side 1.2s var(--ease) 0.2s both; }
  .js .vt-lift { animation: vt-ride 3.6s cubic-bezier(0.45, 0, 0.25, 1) 0.8s both; }
  .js .vt-win.is-ours { animation: vt-lamp 0.8s var(--ease) 4.2s both; }
  .js .vt-tag { animation: vt-tag 0.8s var(--ease) 4.6s both; }
  .js .vt-tower.is-replay .vt-lift { animation-name: vt-ride2; animation-delay: 0.1s; }
  .js .vt-tower.is-replay .vt-win.is-ours { animation-name: vt-lamp2; animation-delay: 3.5s; }
}
@keyframes vt-side { from { opacity: 0; transform: translateY(14px); } }
@keyframes vt-ride { from { transform: none; } }
@keyframes vt-ride2 { from { transform: none; } }
@keyframes vt-lamp { from { fill: rgba(239, 231, 218, 0.06); filter: none; } }
@keyframes vt-lamp2 { from { fill: rgba(239, 231, 218, 0.06); filter: none; } }
@keyframes vt-tag { from { opacity: 0; } }

.vt-bring-head, .vt-write-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.vt-bring-head .label, .vt-write-head .label { grid-column: 1 / -1; }
.vt-bring-head h2, .vt-write-head h2 { margin: 0; max-width: 18ch; }
.vt-bring-head .lede, .vt-write-head .lede { margin: 0; }
.vt-things { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.vt-things li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--rule); }
.vt-things svg { width: 64px; height: 52px; fill: none; stroke: var(--graphite); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 8px; transition: transform 0.6s var(--ease), stroke 0.4s; }
.vt-things .vt-thin { stroke-width: 1; stroke-dasharray: 3 3; }
.vt-things li:hover svg { transform: translateY(-4px) rotate(-2deg); stroke: var(--brass); }
.vt-things h3 { font-size: 1.35rem; margin: 0; }
.vt-things p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.vt-paper { position: relative; background: #fbf8f3; padding: clamp(22px, 3vw, 36px); box-shadow: 0 1px 0 rgba(41, 36, 31, 0.06), 0 18px 40px -24px rgba(41, 36, 31, 0.35); transform: rotate(0.6deg); transition: transform 0.8s var(--ease); background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(41, 36, 31, 0.05) 27px 28px); }
.vt-paper:hover, .vt-paper:focus-within { transform: none; }
.vt-letterhead { display: flex; align-items: baseline; gap: 10px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid rgba(164, 132, 78, 0.4); }
.vt-letterhead .wordmark { height: 22px; width: auto; fill: #ffc919; }
.vt-letterhead span { font: 400 0.58rem/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.vt-paper .letter { background: none; padding: 0; font: 400 1.05rem/28px var(--serif); color: var(--ink-2); min-height: 12em; }
.vt-paper-foot { font-size: 0.82rem; color: var(--muted); margin: 16px 0 0; }
.vt-paper-foot button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: inherit; font: inherit; }

@media (max-width: 860px) {
  .vt-grid, .vt-bring-head, .vt-write-head { grid-template-columns: 1fr; }
  .vt-card { grid-template-columns: 1fr; }
  .vt-card-row + .vt-card-row { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 22px; }
  .vt-tower { max-width: 440px; }
  .vt-things { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .vt-things { grid-template-columns: 1fr; } }

/* ======================================================================
   CRAFT: the head carries a shutter edge in section at ten times life size. A drop of water
   lands on the sealed PUR edge, beads, and runs off without finding a way in.
   ====================================================================== */
.cr-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cr-edge { margin: 0; }
.cr-edge-svg { width: 100%; display: block; overflow: visible; }
.cr-core { fill: #e9dcc6; }
.cr-fibre line { stroke: #b89c7c; stroke-width: 1.1; stroke-linecap: round; opacity: 0.7; }
.cr-skin { fill: #8a6a48; }
.cr-band { fill: var(--brass); }
.cr-glue { stroke: #fbf8f3; stroke-width: 1; stroke-dasharray: 2 2; }
.cr-break { fill: none; stroke: var(--graphite); stroke-width: 1.2; }
.cr-dim path { fill: none; stroke: var(--graphite); stroke-width: 0.9; }
.cr-dim text { font: 400 11px/1 var(--mono); letter-spacing: 0.04em; fill: var(--fg); }
.cr-dim .cr-sub, .cr-scale { font: 400 9.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; fill: var(--muted); }
.cr-drop path { fill: #8fb3c9; fill-opacity: 0.85; stroke: #5d8aa6; stroke-width: 0.8; }
.cr-drop { transform: translate(250px, 72px); }
@media (prefers-reduced-motion: no-preference) {
  .js .cr-dim { opacity: 0; animation: cr-in 0.8s var(--ease) both; }
  .js .cr-dim:nth-of-type(2) { animation-delay: 0.3s; } .js .cr-dim:nth-of-type(3) { animation-delay: 0.5s; } .js .cr-dim:nth-of-type(4) { animation-delay: 0.7s; } .js .cr-dim:nth-of-type(5) { animation-delay: 0.9s; } .js .cr-dim:nth-of-type(6) { animation-delay: 1.1s; }
  .js .cr-drop { animation: cr-drop 7s cubic-bezier(0.5, 0, 0.5, 1) 1.6s infinite; }
}
@keyframes cr-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; } }
@keyframes cr-drop {
  0% { transform: translate(250px, -30px) scale(0.6); opacity: 0; }
  10% { transform: translate(250px, 78px) scale(1, 1); opacity: 1; }
  14% { transform: translate(250px, 80px) scale(1.25, 0.75); }
  20% { transform: translate(250px, 79px) scale(1.1, 0.9); }
  45% { transform: translate(342px, 79px) scale(1.1, 0.9); }
  55% { transform: translate(358px, 100px) scale(0.9, 1.1); opacity: 1; }
  80% { transform: translate(362px, 330px) scale(0.8, 1.2); opacity: 0.9; }
  86%, 100% { transform: translate(362px, 380px) scale(0.6); opacity: 0; }
}
.cr-deeper { border-top: 1px solid var(--rule); }
.cr-deeper-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.cr-deeper-head .label { grid-column: 1 / -1; }
.cr-deeper-head h2 { margin: 0; max-width: 16ch; }
.cr-deeper-head .lede { margin: 0; }
.cr-deeper-more { margin: clamp(36px, 5vw, 56px) 0 0; }
@media (max-width: 860px) {
  .cr-head-grid, .cr-deeper-head { grid-template-columns: 1fr; }
  .cr-edge { max-width: 520px; }
}
.footer-also { margin: 10px 0 0; font-size: 0.82rem; line-height: 1.5; color: #a99d8d; }
.footer-grid ul + .footer-also { margin-top: 14px; }
.footer-also a { color: var(--fg); white-space: nowrap; transition: color 0.25s var(--ease); }
.footer-also a:hover, .footer-also a:focus-visible { color: var(--accent); text-decoration: underline; }
/* Calm, single-flow note form with clear spacing and a clean preview beside it. */
.vt-write { padding-block: clamp(56px, 6vw, 84px); }
.vt-write-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.vt-write-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.vt-compose { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.vt-form { display: grid; gap: 20px; }
.vt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vt-form .field { gap: 8px; }
.vt-form .field label, .vt-form .field legend { font: 500 0.92rem/1.3 var(--sans); color: var(--fg); letter-spacing: 0; display: flex; align-items: baseline; gap: 8px; }
.vt-opt { font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.vt-form .field input, .vt-form .field textarea {
  background: #fbf8f3;
  border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent);
  border-radius: 8px;
  padding: 12px 14px;
  font: 400 1rem/1.5 var(--sans);
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vt-form .field textarea { min-height: 5.5em; resize: vertical; }
.vt-form .field input:focus, .vt-form .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.vt-form .field input::placeholder, .vt-form .field textarea::placeholder { color: color-mix(in srgb, var(--fg) 42%, transparent); }
.vt-form .choices { gap: 10px; margin-top: 2px; }
.vt-form .choices label { font-weight: 400; }
.vt-form .choices span {
  min-height: 40px;
  padding: 0 16px;
  background: #fbf8f3;
  border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent);
  color: var(--fg);
}
.vt-form .choices span:hover { border-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.vt-form .choices input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.vt-send { margin-top: 4px; gap: 12px; }
.vt-compose .compose-aside { top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .vt-compose { grid-template-columns: 1fr; } .vt-compose .compose-aside { position: static; } }
@media (max-width: 600px) { .vt-row { grid-template-columns: 1fr; } }

/* ======================================================================
   QUIET BEHIND-THE-SCENES ARTWORK: subtle architectural line drawings
   and minute subject-relative animations on text-led sections.
   Always non-competing, paused off-screen or when tab is hidden, and
   completely static under prefers-reduced-motion.
   ====================================================================== */
.is-tab-hidden [data-ambient] * { animation-play-state: paused !important; }

/* Shared horizontal architectural datum / drafting-mat rule */
.promises-datum, .vt-bring-mat { width: 100%; height: 22px; display: block; margin-bottom: clamp(24px, 3.5vw, 44px); pointer-events: none; color: var(--art-ink); opacity: 0.22; }
.promises-datum .amb-draw, .vt-bring-mat .amb-draw { stroke: currentColor; stroke-width: 1; }
.promises-datum .amb-ticks, .vt-bring-mat .amb-ticks { stroke: var(--brass); stroke-width: 1; opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-draw] .amb-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js [data-draw].is-in .amb-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease); }
}

/* 1. Home · Three promises: subtle architectural stamps tucked in each column's open corner */
.promises li { position: relative; }
.promises li > :not(.promise-art) { position: relative; z-index: 1; }
.promise-art {
  position: absolute; top: -6px; right: 0; width: clamp(104px, 9.2vw, 132px); height: auto;
  z-index: 0; pointer-events: none; color: var(--art-ink); opacity: 0.28;
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
}
.promises li:hover .promise-art, .promises li:focus-within .promise-art { opacity: 0.46; transform: translateY(-2px); }
.promise-art .pa-line { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.promise-art .pa-thin { stroke: currentColor; stroke-width: 0.9; stroke-opacity: 0.6; }
.promise-art .pa-dash { stroke: currentColor; stroke-width: 0.9; stroke-dasharray: 3 3; stroke-opacity: 0.55; }
.promise-art .pa-fill { fill: var(--art-soft); stroke: currentColor; stroke-width: 1.2; }
.promise-art .pa-beam { fill: color-mix(in srgb, var(--brass) 16%, transparent); stroke: var(--brass); stroke-width: 1.3; }
.promise-art .pa-acc { stroke: var(--brass); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.promise-art .pa-flow { stroke: var(--brass); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 0.08 0.12; }
.promise-art .pa-cavity { fill: rgba(41, 36, 31, 0.03); stroke: currentColor; stroke-width: 1; stroke-opacity: 0.5; }
.promise-art .pa-hatch line { stroke: currentColor; stroke-width: 0.7; stroke-opacity: 0.28; }
.promise-art .pa-node { fill: var(--plaster); stroke: var(--brass); stroke-width: 1.4; }
.promise-art .pa-edge { fill: color-mix(in srgb, var(--brass) 45%, transparent); stroke: var(--brass); stroke-width: 1; }
.promise-art .pa-scan { opacity: 0.22; transform: translateY(28px); }
.promise-art .pa-leaf { fill: color-mix(in srgb, var(--oak) 20%, transparent); stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; }
.promise-art .pa-dot { fill: var(--brass); }
.promise-art .pa-ring { stroke: var(--brass); stroke-width: 0.9; stroke-dasharray: 2 4; stroke-opacity: 0.45; }
.promise-art .pa-glow { opacity: 0.55; }

@media (prefers-reduced-motion: no-preference) {
  .promises-band.is-vis .pa-flow { animation: pa-flow 9s linear infinite; }
  .promises-band.is-vis .pa-scan { animation: pa-scan 11s ease-in-out infinite; }
  .promises-band.is-vis .pa-glow { animation: pa-glow 10s ease-in-out infinite; }
  .promises-band.is-vis .pa-ring { animation: pa-ring 10s ease-in-out calc(var(--r, 0) * 1.4s) infinite; }
}
@keyframes pa-flow { to { stroke-dashoffset: -1; } }
@keyframes pa-scan { 0%, 100% { transform: translateY(-20px); opacity: 0; } 20%, 80% { opacity: 0.42; } 50% { transform: translateY(72px); opacity: 0.52; } }
@keyframes pa-glow { 0%, 100% { opacity: 0.34; } 50% { opacity: 0.78; } }
@keyframes pa-ring { 0%, 100% { stroke-opacity: 0.22; } 50% { stroke-opacity: 0.62; } }

/* 2. Home · Honest pictures: light drafting-vellum Designed plate vs. solid dusk-walnut Built plate,
   divided by a live brass plumb seam. Visual-first with minimal copy. */
.honest-head {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap;
  gap: 16px clamp(32px, 5vw, 72px);
  margin-bottom: clamp(28px, 3.8vw, 48px);
}
.honest-head-main .label { margin: 0 0 14px; }
.honest-head-main h2 { margin: 0; max-width: 15ch; }
.honest-head-main h2 em { font-style: italic; color: var(--oak); }
.honest-head-note {
  margin: 0; max-width: 30ch; font-size: 0.96rem; line-height: 1.55; color: var(--muted);
}

.honest-diptych {
  display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  gap: 0; align-items: stretch;
}

/* Shared architectural plate frame */
.honest-plate {
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.2vw, 30px);
  border-radius: 4px; position: relative;
  transition: border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.honest-plate.is-designed {
  background-color: #faf6ee;
  background-image:
    linear-gradient(to right, rgba(41, 36, 31, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(41, 36, 31, 0.032) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid color-mix(in srgb, var(--brass) 32%, var(--rule));
  box-shadow: 0 22px 46px -34px rgba(41, 36, 31, 0.22);
}
.honest-plate.is-built {
  background: linear-gradient(162deg, #251f1a 0%, #1a1612 100%);
  border: 1px solid rgba(240, 200, 138, 0.24);
  color: var(--fg);
  box-shadow: 0 26px 52px -30px rgba(14, 10, 7, 0.55);
}
.honest-plate-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.honest-plate.is-built .honest-tag { color: var(--lamp); }

/* Center brass plumb seam ("We never blur the two") */
.honest-seam {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-block: 16px; user-select: none;
}
.honest-seam-line { flex: 1; width: 1px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brass) 65%, transparent) 22%, color-mix(in srgb, var(--brass) 65%, transparent) 78%, transparent); }
.honest-seam-mark { width: 32px; flex: none; padding-block: 6px; }
.honest-seam-mark svg { width: 100%; height: auto; }
.honest-seam-mark .hs-open { stroke: var(--graphite); stroke-width: 1.4; }
.honest-seam-mark .hs-rule { stroke: var(--brass); stroke-width: 1.25; }
.honest-seam-mark .hs-tick { stroke: var(--brass); stroke-width: 1; opacity: 0.7; }
.honest-seam-mark .hs-bob { fill: var(--brass); }
.honest-seam-mark .hs-solid { fill: var(--graphite); }

/* Shared specimen figure & compact controls bar */
.honest-stage { margin: 0 0 20px; display: grid; gap: 12px; }
.honest-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px 14px; flex-wrap: wrap;
}
.honest-pills {
  display: inline-flex; align-items: center; gap: 3px; padding: 3px;
  border-radius: 999px; border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--fg) 4%, transparent);
}
.honest-pills button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  padding: 6px 11px; border-radius: 999px;
  font: 400 0.68rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.honest-pills button:hover { color: var(--fg); }
.honest-pills button[aria-pressed='true'] { background: var(--fg); color: var(--bg); }
.honest-plate.is-built .honest-pills { background: rgba(239, 231, 218, 0.05); border-color: rgba(239, 231, 218, 0.16); }
.honest-plate.is-built .honest-pills button[aria-pressed='true'] { background: var(--lamp); color: var(--dusk); }
.honest-cap {
  font: 400 0.67rem/1.35 var(--mono); letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted);
}

/* Plate 01 (Designed): live 2-palette 360° room comparison */
.hd-viewport {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px;
  background: var(--linen); border: 1px solid var(--rule);
  user-select: none; touch-action: pan-y;
}
.hd-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hd-img.is-over { clip-path: inset(0 0 0 var(--split, 50%)); }
.hd-viewport.is-animating .hd-img.is-over { transition: clip-path 0.55s var(--ease); }
.hd-viewport.is-animating .hd-seam { transition: left 0.55s var(--ease); }

.hd-chip {
  position: absolute; top: 12px; z-index: 2; pointer-events: none;
  padding: 5px 9px; border-radius: 2px;
  background: rgba(24, 20, 16, 0.68); backdrop-filter: blur(6px);
  color: #f4ede2; font: 400 0.64rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  transition: opacity 0.3s var(--ease);
}
.hd-chip.is-left { left: 12px; }
.hd-chip.is-right { right: 12px; }
.hd-viewport.is-hide-left .hd-chip.is-left,
.hd-viewport.is-hide-right .hd-chip.is-right { opacity: 0; }

.hd-seam {
  position: absolute; top: 0; bottom: 0; left: var(--split, 50%); z-index: 3;
  width: 2px; translate: -50% 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(240, 200, 138, 0.55), #f0c88a 26%, #c9a25a 74%, rgba(240, 200, 138, 0.55));
  box-shadow: 0 0 14px rgba(240, 200, 138, 0.55);
}
.hd-handle {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(27, 23, 20, 0.9); color: var(--lamp);
  border: 1.5px solid var(--lamp);
  box-shadow: 0 6px 18px rgba(12, 9, 6, 0.45), 0 0 0 4px rgba(240, 200, 138, 0.16);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.hd-handle svg { width: 20px; height: 20px; }
.hd-viewport:hover .hd-handle { transform: scale(1.06); }
.hd-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 4;
  opacity: 0; cursor: ew-resize; touch-action: none;
}
.hd-range:focus-visible + .hd-corner,
.hd-viewport:has(.hd-range:focus-visible) .hd-handle {
  box-shadow: 0 0 0 3px var(--lamp), 0 0 0 6px rgba(27, 23, 20, 0.85);
}

/* Fine architectural viewport registration corners */
.hd-corner { position: absolute; width: 10px; height: 10px; z-index: 2; pointer-events: none; border-color: rgba(244, 237, 226, 0.62); border-style: solid; border-width: 0; }
.hd-corner.tl { left: 6px; top: 6px; border-top-width: 1px; border-left-width: 1px; }
.hd-corner.tr { right: 6px; top: 6px; border-top-width: 1px; border-right-width: 1px; }
.hd-corner.bl { left: 6px; bottom: 6px; border-bottom-width: 1px; border-left-width: 1px; }
.hd-corner.br { right: 6px; bottom: 6px; border-bottom-width: 1px; border-right-width: 1px; }

/* Plate 02 (Built): architectural 3-frame site-to-handover contact sheet */
.hb-viewport {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px;
  background: radial-gradient(75% 75% at 50% 48%, #221d17 0%, #15110e 100%);
  border: 1px solid rgba(240, 200, 138, 0.18);
  touch-action: pan-y;
}
.honest-stage[data-frame='joinery'] .hb-viewport { cursor: ew-resize; }
.hb-svg { width: 100%; height: 100%; display: block; }
.hb-bracket { stroke: rgba(239, 231, 218, 0.34); stroke-width: 1.4; stroke-linecap: square; }
.hb-floor { stroke: rgba(239, 231, 218, 0.24); stroke-width: 1.1; }
.hb-stamp { fill: rgba(239, 231, 218, 0.58); font: 400 12px/1 var(--mono); letter-spacing: 0.09em; }
.hb-stamp-r { fill: var(--lamp); opacity: 0.9; }
.hb-note { fill: rgba(239, 231, 218, 0.58); font: 400 11.5px/1 var(--mono); letter-spacing: 0.07em; }
.hb-callout { fill: var(--lamp); font: 400 12px/1 var(--mono); letter-spacing: 0.09em; }

/* Crossfade between the 3 site frames */
.hb-scene { opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); transform: translateY(4px); }
.honest-stage[data-frame='site'] .hb-scene.is-site,
.honest-stage[data-frame='joinery'] .hb-scene.is-joinery,
.honest-stage[data-frame='handover'] .hb-scene.is-handover { opacity: 1; transform: none; }

/* Shared drawing strokes inside Built contact sheet */
.hb-strong { stroke: #efe7da; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hb-mid { stroke: rgba(239, 231, 218, 0.55); stroke-width: 1.25; }
.hb-thin { stroke: rgba(239, 231, 218, 0.34); stroke-width: 1; }
.hb-dash { stroke: var(--lamp); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0.6; }
.hb-dim { stroke: rgba(239, 231, 218, 0.42); stroke-width: 1; }
.hb-fill-soft { fill: rgba(239, 231, 218, 0.06); stroke: rgba(239, 231, 218, 0.36); stroke-width: 1.1; }
.hb-hatch line { stroke: rgba(239, 231, 218, 0.14); stroke-width: 0.9; }
.hb-masonry-bg { fill: rgba(169, 92, 61, 0.06); stroke: rgba(239, 231, 218, 0.34); stroke-width: 1.1; }
.hb-bricks line { stroke: rgba(239, 231, 218, 0.18); stroke-width: 0.9; }
.hb-brick-warm { fill: rgba(169, 92, 61, 0.24); stroke: rgba(240, 200, 138, 0.25); stroke-width: 0.8; }
.hb-conduit { stroke: rgba(239, 231, 218, 0.65); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hb-box { fill: #1c1713; stroke: var(--lamp); stroke-width: 1.4; }
.hb-brass-fill { fill: var(--lamp); opacity: 0.88; }
.hb-brass-stroke { stroke: var(--lamp); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hb-dot { fill: var(--lamp); }

/* Frame 01: Plumb bob */
.hb-plumb { transform-origin: 454px 72px; }
.hb-plumb-line { stroke: var(--lamp); stroke-width: 1.4; }
.hb-plumb-bob { fill: color-mix(in srgb, var(--lamp) 28%, #1c1713); stroke: var(--lamp); stroke-width: 1.6; stroke-linejoin: round; }

/* Frame 02: Joinery & interactive spirit level */
.hb-ply-fill { fill: rgba(239, 231, 218, 0.08); stroke: rgba(239, 231, 218, 0.56); stroke-width: 1.3; }
.hb-ply-lines line { stroke: rgba(239, 231, 218, 0.2); stroke-width: 0.85; }
.hb-square { fill: rgba(240, 200, 138, 0.14); stroke: var(--lamp); stroke-width: 1.3; stroke-linejoin: round; }
.hb-level-body { fill: #2a231c; stroke: var(--lamp); stroke-width: 1.5; }
.hb-level-grip { fill: #16120f; stroke: rgba(239, 231, 218, 0.24); stroke-width: 1; }
.hb-vial-rim { stroke: rgba(240, 200, 138, 0.58); stroke-width: 1.25; }
.hb-vial-mark { stroke: rgba(239, 231, 218, 0.72); stroke-width: 1.2; }
.hb-bubble-track { transform: translateX(var(--tilt, 0px)); transition: transform 0.28s var(--ease); }
.hb-bubble { fill: var(--lamp); opacity: 0.92; filter: drop-shadow(0 0 6px rgba(240, 200, 138, 0.55)); }

/* Frame 03: Handover doorway & brass key */
.hb-door-leaf { fill: color-mix(in srgb, var(--oak) 36%, #1c1713); stroke: #efe7da; stroke-width: 1.4; stroke-linejoin: round; }
.hb-reticle { stroke: var(--lamp); stroke-width: 1.25; opacity: 0.72; transform-origin: 277px 204px; }
.hb-key-bow { fill: color-mix(in srgb, var(--lamp) 20%, #1c1713); stroke: var(--lamp); stroke-width: 2.4; }
.hb-key-hole { fill: #171310; stroke: var(--lamp); stroke-width: 1.5; }
.hb-key-shaft { stroke: var(--lamp); stroke-width: 3.2; stroke-linecap: round; }
.hb-key-teeth { fill: color-mix(in srgb, var(--lamp) 24%, #1c1713); stroke: var(--lamp); stroke-width: 2; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  .honest-band.is-vis .hb-plumb { animation: hb-plumb 12s ease-in-out infinite; }
  .honest-band.is-vis .hb-glow { animation: hb-glow 10s ease-in-out infinite; }
  .honest-band.is-vis .honest-stage:not(.is-tilting) .hb-bubble { animation: hb-bubble-idle 9s ease-in-out infinite; }
  .honest-stage.is-focus-pulse .hb-reticle { animation: hb-focus-lock 0.65s var(--ease) both; }
}
@keyframes hb-plumb { 0%, 100% { transform: rotate(-1.1deg); } 50% { transform: rotate(1.1deg); } }
@keyframes hb-glow { 0%, 100% { opacity: 0.76; } 50% { opacity: 1; } }
@keyframes hb-bubble-idle { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
@keyframes hb-focus-lock { 0% { transform: scale(1.22); opacity: 0.25; } 100% { transform: scale(1); opacity: 0.82; } }

/* Minimal plate footer: title + single-line note + single clear link */
.honest-plate-foot {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: end;
  gap: 14px 20px; flex-wrap: wrap;
}
.honest-plate-copy { display: grid; gap: 5px; }
.honest-plate-copy h3 { margin: 0; font-size: clamp(1.35rem, 1.9vw, 1.65rem); }
.honest-plate-copy p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.48; max-width: 38ch; }
.honest-plate-foot .text-link { white-space: nowrap; flex: none; }

/* 3. Home · Start with a cup of coffee: quiet ceramic cup + studio plan corner + rising steam */
.invite-band { overflow: hidden; }
.invite { position: relative; }
.invite > :not(.invite-coffee) { position: relative; z-index: 1; }
.invite-coffee {
  position: absolute; right: var(--gutter); bottom: -46px; width: clamp(190px, 19vw, 252px); height: auto;
  z-index: 0; pointer-events: none; color: var(--art-ink); opacity: 0.38;
}
.invite-coffee .cf-line { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.invite-coffee .cf-thin { stroke: currentColor; stroke-width: 0.9; stroke-opacity: 0.55; }
.invite-coffee .cf-dash { stroke: currentColor; stroke-width: 0.9; stroke-dasharray: 3 3; stroke-opacity: 0.5; }
.invite-coffee .cf-rule { stroke: currentColor; stroke-width: 0.85; stroke-opacity: 0.45; }
.invite-coffee .cf-saucer-fill { fill: rgba(41, 36, 31, 0.05); }
.invite-coffee .cf-cup { fill: color-mix(in srgb, var(--brass) 10%, var(--plaster)); stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.invite-coffee .cf-rim { fill: var(--linen); stroke: currentColor; stroke-width: 1.2; }
.invite-coffee .cf-brew { stroke: var(--oak); stroke-width: 1.4; stroke-linecap: round; stroke-opacity: 0.7; }
.invite-coffee .cf-wisp { stroke: var(--brass); stroke-width: 1.25; stroke-linecap: round; opacity: 0.38; }

@media (prefers-reduced-motion: no-preference) {
  .invite-band.is-vis .cf-wisp { animation: cf-steam calc(9.5s + var(--s, 0) * 1.8s) ease-in-out calc(var(--s, 0) * -3.1s) infinite; }
}
@keyframes cf-steam {
  0% { transform: translateY(7px); opacity: 0; }
  25% { opacity: 0.58; }
  75% { opacity: 0.42; }
  100% { transform: translateY(-13px); opacity: 0; }
}

/* 4. Visit · What to bring along: living architectural details on the 4 meeting items */
.vt-things .vt-bring-ico { width: 68px; height: 54px; overflow: visible; }
.vt-things .vt-acc-thin { stroke: var(--brass); stroke-width: 1; stroke-opacity: 0.75; }
.vt-things .vt-door-leaf { stroke: var(--brass); stroke-width: 1.7; transform-origin: 38px 34px; transition: transform 0.6s var(--ease); }
.vt-things .vt-lens-ring { stroke: var(--brass); stroke-width: 1.2; stroke-dasharray: 3 3; transform-origin: 40px 35px; }
.vt-things .vt-shutter-dot { fill: var(--brass); stroke: none; opacity: 0.55; }
.vt-things .vt-eaves { stroke: var(--brass); stroke-width: 1.25; stroke-opacity: 0.65; }
.vt-things .vt-child-fill { fill: var(--bg); }
.vt-things .vt-sw-sand { fill: color-mix(in srgb, var(--sand) 50%, transparent); }
.vt-things .vt-sw-clay { fill: color-mix(in srgb, var(--clay) 18%, transparent); }
.vt-things .vt-sw-brass { fill: color-mix(in srgb, var(--brass) 22%, transparent); stroke: var(--brass); }
.vt-things .vt-pin { fill: var(--brass); stroke: none; }
.vt-things .vt-sw-move { transition: transform 0.55s var(--ease); }
.vt-things li:hover .vt-door-leaf { transform: rotate(42deg); }
.vt-things li:hover .vt-sw-move { transform: translateY(-3px); }

@media (prefers-reduced-motion: no-preference) {
  .vt-bring.is-vis .vt-door-leaf { animation: vt-door-swing 8s ease-in-out infinite; }
  .vt-bring.is-vis .vt-lens-ring { animation: vt-lens-turn 10s ease-in-out infinite; }
  .vt-bring.is-vis .vt-shutter-dot { animation: vt-shutter 8s ease-in-out infinite; }
  .vt-bring.is-vis .vt-eaves { animation: vt-eaves 9s ease-in-out infinite; }
  .vt-bring.is-vis .vt-sw-move { animation: vt-swatch 8.5s ease-in-out infinite; }
}
@keyframes vt-door-swing { 0%, 20%, 100% { transform: rotate(0deg); } 50%, 62% { transform: rotate(42deg); } }
@keyframes vt-lens-turn { 0%, 25%, 100% { transform: rotate(0deg); } 55%, 70% { transform: rotate(28deg); } }
@keyframes vt-shutter { 0%, 58%, 74%, 100% { opacity: 0.4; } 64% { opacity: 1; } }
@keyframes vt-eaves { 0%, 100% { stroke-opacity: 0.42; transform: translateY(0); } 50% { stroke-opacity: 0.9; transform: translateY(-1.2px); } }
@keyframes vt-swatch { 0%, 25%, 100% { transform: translateY(0); } 55%, 68% { transform: translateY(-2.5px); } }

/* Purpose-built narrow-screen compositions: quieter, no overlap, no horizontal overflow */
@media (max-width: 960px) {
  .honest-diptych { grid-template-columns: 1fr; gap: 0; }
  .honest-seam { flex-direction: row; padding-block: 10px; padding-inline: 12px; }
  .honest-seam-line { width: auto; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brass) 65%, transparent) 22%, color-mix(in srgb, var(--brass) 65%, transparent) 78%, transparent); }
  .honest-seam-mark { width: 64px; height: 32px; padding: 0; display: grid; place-items: center; overflow: hidden; }
  .honest-seam-mark svg { transform: rotate(-90deg); width: 26px; height: auto; }
}
@media (max-width: 900px) {
  .promise-art { width: 102px; top: -4px; opacity: 0.24; }
  .invite-coffee { top: -20px; bottom: auto; right: var(--gutter); width: 136px; opacity: 0.26; }
}
@media (max-width: 520px) {
  .promise-art { width: 90px; opacity: 0.24; }
  .invite-coffee { width: 116px; top: -16px; opacity: 0.25; }
  .honest-plate { padding: 18px; }
  .honest-pills button { padding: 7px 10px; }
  .hd-handle { width: 34px; height: 34px; }
}
