/* Phenomenal Living, full-vision private preview. Round 2: an editorial, gallery-calm experience.
   Light serif display (Cormorant Garamond), light sans text (Jost), warm paper, full-bleed photography. */

[hidden] { display: none !important; }

@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #F7F4EF;
  --stone: #EEE9E1;
  --white: #FFFFFF;
  --ink: #1E1D1B;
  --body: #3B3833;
  --muted: #645E56;
  --line: rgba(30, 29, 27, 0.14);
  --night: #15191A;
  --on-dark: #F2EEE8;
  --on-dark-muted: rgba(242, 238, 232, 0.8);
  --line-dark: rgba(242, 238, 232, 0.18);
  --focus: #2F6E8F;

  --serif: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --sans: "Jost", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;

  --f: 8px;                                   /* paper frame width */
  --head-h: 72px;                             /* header height on the light pages */
  --gutter: clamp(22px, 5vw, 72px);
  --chapter: clamp(64px, 8vw, 128px);
  --wide: 1320px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 1024px) {
  :root { --f: 14px; --head-h: 136px; }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
  scroll-behavior: smooth;
}
/* The paper frame sits over the viewport edge on every page and width. */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  border: var(--f) solid var(--paper);
  pointer-events: none;
  z-index: 60;
}
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 300 17px/1.75 var(--sans);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
strong { font-weight: 500; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
.page--light :focus-visible, .band--light :focus-visible, .band--paper :focus-visible, .band--stone :focus-visible { outline-color: var(--focus); }

.skip {
  position: absolute; left: calc(var(--f) + 12px); top: -90px; z-index: 80;
  background: var(--ink); color: var(--on-dark); padding: 12px 18px; text-decoration: none; font-size: 16px;
}
.skip:focus { top: calc(var(--f) + 12px); }

.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(860px + 2 * var(--gutter)); }
.center { text-align: center; }
.center p { margin-inline: auto; }

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 300; color: var(--ink); margin: 0; letter-spacing: 0.005em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(44px, 6.6vw, 100px); line-height: 1.02; }
h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.06; }
h3 { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.15; font-weight: 400; }
p { margin: 0 0 1em; max-width: 62ch; }
/* No single-word last lines in short copy and captions. */
p, figcaption, .cap, .option strong, .option small { text-wrap: balance; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font: 400 12px/1.4 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.7; }
.statement {
  font: 300 clamp(30px, 3.4vw, 50px)/1.2 var(--serif);
  color: var(--ink);
  max-width: 26ch;
  margin: 0;
}
.center .statement { margin-inline: auto; }
.num { font: 300 italic 22px/1 var(--serif); color: var(--muted); display: block; margin-bottom: 14px; }

/* ---------- Actions: quiet links and ghost buttons (never filled, never orange) ---------- */

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; margin-top: 34px; }
.center .actions, .actions.center { justify-content: center; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 50px; padding: 14px 30px;
  border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit;
  font: 400 12.5px/1.2 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease), transform 0.2s var(--ease);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero .btn-ghost:hover, .band--dark .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-ghost:active { transform: translateY(1px); }
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 400 12.5px/1.2 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px;
  transition: text-underline-offset 0.5s var(--ease);
}
.link:hover { text-underline-offset: 11px; }

/* ---------- Header: centered wordmark, category row, mega menus ---------- */

.masthead {
  position: fixed;
  top: var(--f); left: var(--f); right: var(--f);
  z-index: 50;
  color: var(--white);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
/* A soft fade behind the header over photos; gone once the header turns solid. */
.masthead::before {
  content: ""; position: absolute; inset: 0 0 -60px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 9, 0.7) 0%, rgba(10, 10, 9, 0.6) 72%, rgba(10, 10, 9, 0) 100%);
  transition: opacity 0.5s var(--ease);
}
.masthead:hover, .masthead:focus-within, .masthead.is-solid, .page--light .masthead {
  background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.masthead:hover::before, .masthead:focus-within::before, .masthead.is-solid::before, .page--light .masthead::before { opacity: 0; }

.masthead__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 64px;
  padding-inline: var(--gutter);
}
.wordmark {
  grid-column: 2;
  display: inline-flex; align-items: center; min-height: 44px;
  font: 400 19px/1 var(--serif); letter-spacing: 0.3em; margin-right: -0.3em;
  text-transform: uppercase; text-decoration: none; color: inherit; white-space: nowrap;
}
.menu-toggle { display: none; }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__top {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 400 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 50% calc(50% + 11px);
  transition: background-size 0.5s var(--ease);
}
.nav__top:hover, .nav__top[aria-current="page"], .nav__item:focus-within > .nav__row .nav__top { background-size: 100% 1px; }
.nav__row { display: flex; align-items: center; }
.nav__expand { display: none; }

.mega__inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px);
  gap: clamp(32px, 4vw, 72px);
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 36px var(--gutter) 44px;
  text-align: left;
}
.mega__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 40px; align-content: start; }
.mega__head { font: 500 11.5px/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a {
  display: inline-flex; align-items: center; min-height: 34px;
  font: 300 16px/1.3 var(--sans); letter-spacing: 0.01em; color: var(--ink); text-decoration: none;
}
.mega li a:hover { text-decoration: underline; text-underline-offset: 5px; }
.mega__all { grid-column: 1 / -1; }
.mega__all a { font: 300 italic 26px/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.mega__all a:hover { text-decoration: underline; text-underline-offset: 6px; }
.mega__media { margin: 0; }
.mega__media .ph { aspect-ratio: 4 / 3; }
.mega__media figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

@media (min-width: 1024px) {
  .masthead__bar { min-height: 74px; padding-top: 8px; }
  .wordmark { font-size: 25px; letter-spacing: 0.34em; margin-right: -0.34em; }
  .nav__list { display: flex; justify-content: center; gap: clamp(16px, 2vw, 34px); padding: 0 var(--gutter) 6px; }
  .mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); color: var(--ink);
    border-top: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(30, 29, 27, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.45s var(--ease), transform 0.55s var(--slow), visibility 0s linear 0.45s;
  }
  .nav__item:hover > .mega, .nav__item:focus-within > .mega {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.45s var(--ease), transform 0.55s var(--slow), visibility 0s;
  }
  .nav__item.is-dismissed > .mega { opacity: 0; visibility: hidden; }
}

/* Phone and tablet: one Menu button opens a full-screen menu with expandable groups. */
@media (max-width: 1023px) {
  .masthead.is-open { background: var(--paper); color: var(--ink); }
  .masthead.is-open::before { opacity: 0; }
  .js .menu-toggle {
    grid-column: 1; justify-self: start;
    display: inline-flex; align-items: center; min-height: 44px; min-width: 64px; padding: 0; border: 0; background: none; color: inherit;
    font: 400 12px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer;
  }
  .wordmark { position: relative; z-index: 2; font-size: 14.5px; letter-spacing: 0.22em; margin-right: -0.22em; }
  .masthead__bar { position: relative; z-index: 2; }
  .js .nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--paper); color: var(--ink);
    padding: calc(var(--f) + 84px) var(--gutter) 48px;
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .js .masthead.is-open .nav { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease), visibility 0s; }
  .nav__list > li { border-top: 1px solid var(--line); }
  .nav__row { justify-content: space-between; }
  .nav__top { font: 300 28px/1.2 var(--serif); letter-spacing: 0.02em; text-transform: none; min-height: 56px; background-image: none; }
  .js .nav__expand {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 0; background: none; color: inherit; cursor: pointer; font: 300 26px/1 var(--sans);
  }
  .nav__expand::before { content: "+"; transition: transform 0.4s var(--ease); }
  .nav__item.is-open .nav__expand::before { transform: rotate(45deg); }
  .js .mega { display: none; }
  .js .nav__item.is-open > .mega { display: block; }
  .mega__inner { grid-template-columns: 1fr; padding: 4px 0 22px; gap: 18px; }
  .mega__media, .mega__all { display: none; }
  .mega__cols { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .mega li a { min-height: 44px; }
}
@media (max-width: 1023px) and (min-width: 600px) {
  .wordmark { font-size: 22px; }
}

/* Light pages: the header starts solid, and the content starts below it. */
.page--light main { padding-top: calc(var(--f) + var(--head-h)); }

/* ---------- Hero: full-bleed photograph with a slow settle ---------- */

.hero {
  position: relative; min-height: 84svh; display: flex; align-items: flex-end; justify-content: center;
  color: var(--white); background: var(--night); overflow: hidden; isolation: isolate; text-align: center;
}
.hero--home { min-height: 92svh; }
.hero--page { min-height: 74svh; }
@media (min-width: 1024px) {
  .hero { min-height: 92svh; }
  .hero--home { min-height: 100svh; }
  .hero--page { min-height: 80svh; }
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  transform: scale(1.07); animation: settle 14s var(--slow) forwards;
}
/* Gradient behind the words only; tests/check.mjs measures the photo pixels behind every hero word (WCAG AA). */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(12, 11, 10, 0.8) 0%, rgba(12, 11, 10, 0.68) 32%, rgba(12, 11, 10, 0.58) 52%, rgba(12, 11, 10, 0.3) 68%, rgba(12, 11, 10, 0) 84%);
}
.hero__inner { width: 100%; padding-top: 150px; padding-bottom: clamp(44px, 7vw, 96px); }
.hero h1 { color: var(--white); max-width: 16ch; margin-inline: auto; font-size: clamp(42px, 5.6vw, 86px); text-shadow: 0 1px 30px rgba(0, 0, 0, 0.25); }
.hero .eyebrow { color: rgba(255, 255, 255, 0.92); }
.hero__sub { margin: 22px auto 0; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255, 255, 255, 0.92); max-width: 46ch; }
.hero .actions { justify-content: center; margin-top: 30px; }
.hero__caption { margin: 22px auto 0; font-size: 13px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.88); }
@keyframes settle { to { transform: scale(1); } }

.page-head { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 72px); text-align: center; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 18ch; margin-inline: auto; }
.page-head .lede { margin: 26px auto 0; }
/* Inquire: a shorter head so the first question sits closer to the top. */
.page-head--quiet { padding-top: clamp(36px, 4vw, 64px); padding-bottom: clamp(28px, 3vw, 44px); }
.page-head--quiet h1 { font-size: clamp(40px, 4.6vw, 68px); }
.page-head--quiet .lede + .lede { margin-top: 10px; }

/* ---------- Chapters ---------- */

.chapter { padding-block: var(--chapter); }
.chapter--tight { padding-block: calc(var(--chapter) * 0.6); }
.band--light { background: var(--paper); }
.band--paper { background: var(--white); }
.band--stone { background: var(--stone); }
.band--dark { background: var(--night); color: var(--on-dark-muted); }
.band--dark h2, .band--dark h3, .band--dark .statement { color: var(--on-dark); }
.band--dark .eyebrow, .band--dark .num { color: var(--on-dark-muted); }

.head { margin-bottom: clamp(32px, 4vw, 56px); }
.head.center h2 { max-width: 20ch; margin-inline: auto; }
.head .lede { margin-top: 18px; }

.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 7fr 5fr; gap: clamp(48px, 6vw, 104px); }
  .split--flip { grid-template-columns: 5fr 7fr; }
  .split--flip > :first-child { order: 2; }
  .split--even { grid-template-columns: 1fr 1fr; }
}
.split__text h2, .split__text h3 { margin-bottom: 18px; }

/* Full-bleed photograph inside the frame, followed by a centred text block (the ethos rhythm). */
.bleed { margin: 0; }
.bleed .ph { aspect-ratio: 16 / 8; }
@media (max-width: 759px) { .bleed .ph { aspect-ratio: 4 / 5; } }
.order { padding-block: clamp(36px, 5vw, 72px) var(--chapter); }
.order h2 { margin: 6px auto 18px; }

/* ---------- Photos ---------- */

.ph { position: relative; overflow: hidden; background: var(--stone); }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.8s var(--slow); }
.ph:hover img { transform: scale(1.02); }
.ph--land { aspect-ratio: 4 / 3; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--tall { aspect-ratio: 4 / 5; }
.cap { margin-top: 12px; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.band--dark .cap { color: var(--on-dark-muted); }

/* One controlled grid: every cell shares one ratio. */
.gallery { display: grid; gap: 22px; }
.gallery .ph { aspect-ratio: 4 / 3; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .gallery--two { grid-template-columns: repeat(2, 1fr); }
  .gallery--four { grid-template-columns: repeat(4, 1fr); }
}

/* Category tiles (home): tall photo, serif label, one line. */
.tiles { display: grid; gap: 40px 22px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { text-decoration: none; color: inherit; display: block; }
.tile .ph { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 16px; margin: 0; }
.tile:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* ---------- Lists ---------- */

.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.band--dark .ruled { border-color: var(--line-dark); }
.ruled > li { display: grid; gap: 6px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.band--dark .ruled > li { border-color: var(--line-dark); }
.ruled .num { margin: 0; }
.ruled p { margin: 0; }
@media (min-width: 760px) { .ruled > li { grid-template-columns: 64px 5fr 7fr; align-items: baseline; } }

.grid-4 { display: grid; gap: 36px; }
@media (min-width: 760px) { .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 48px 44px; } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-4 > div { padding-top: 18px; border-top: 1px solid var(--line); }
.band--dark .grid-4 > div { border-color: var(--line-dark); }
.grid-4 h3 { margin: 4px 0 10px; font-size: 26px; }

.cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 36px; font: 300 clamp(28px, 3.4vw, 46px)/1.3 var(--serif); color: var(--ink); }

.panels { display: grid; gap: 22px; }
@media (min-width: 900px) { .panels { grid-template-columns: repeat(3, 1fr); } }
.panel { padding: 34px; border: 1px solid var(--line); background: var(--white); }
.panel h3 { margin: 14px 0 10px; }
.tag { display: inline-block; font: 400 11.5px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; padding: 9px 12px; border: 1px solid currentColor; margin: 0 8px 10px 0; color: var(--muted); }

/* Anchored sections land below the fixed header. */
[id] { scroll-margin-top: calc(var(--f) + var(--head-h) + 12px); }

/* ---------- Inquire intake ---------- */

.intake { max-width: 760px; margin-inline: auto; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { font: 300 clamp(32px, 4vw, 50px)/1.1 var(--serif); color: var(--ink); padding: 0; margin-bottom: 10px; }
.step__hint { color: var(--muted); margin-bottom: 26px; }
.options { display: grid; gap: 10px; }
.option {
  position: relative; display: flex; align-items: center; gap: 18px; min-height: 64px; padding: 16px 20px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 17px; color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
.option:hover { border-color: rgba(30, 29, 27, 0.5); }
.option input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; }
.option input[type="checkbox"] { border-radius: 0; }
.option input::after { content: ""; width: 10px; height: 10px; border-radius: inherit; background: var(--ink); transform: scale(0); transition: transform 0.3s var(--ease); }
.option input:checked::after { transform: scale(1); }
.option:has(input:checked) { border-color: var(--ink); }
.option input:focus-visible { outline: 1px solid var(--focus); outline-offset: 4px; }
.option strong { font-weight: 400; }
.option small { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { font-size: 16px; color: var(--ink); font-weight: 400; }
.field input, .field textarea { font: 300 17px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0; min-height: 54px; padding: 14px 16px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 1px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: #8A2C1B; }
.field__error { margin: -8px 0 16px; color: #8A2C1B; font-size: 16px; }
.field__error:empty { display: none; }
/* Honeypot: off screen, out of the tab order and hidden from assistive tech. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field__opt { color: var(--muted); }
.intake__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; color: var(--ink); }
.intake__nav .link { background: none; border: 0; padding: 0; cursor: pointer; }
.intake__error { min-height: 1.6em; margin-top: 18px; color: #8A2C1B; font-size: 16px; }
.done { max-width: 760px; margin-inline: auto; }
.done h2 { margin-bottom: 20px; }
.done__flag { display: inline-block; font: 400 16px/1.3 var(--sans); letter-spacing: 0.04em; padding: 12px 16px; border: 1px solid var(--ink); color: var(--ink); margin-bottom: 28px; }
.done__fallback { margin: -12px 0 32px; display: grid; gap: 16px; justify-items: start; }
.done__fallback p { margin: 0; color: var(--ink); }
.summary { margin: 32px 0 0; border-top: 1px solid var(--line); }
.summary div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .summary div { grid-template-columns: 200px 1fr; } }
.summary dt { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.summary dd { margin: 0; color: var(--ink); font-size: 17px; }

/* ---------- Footer ---------- */

.footer { background: var(--stone); color: var(--body); padding-top: clamp(64px, 8vw, 112px); padding-bottom: calc(var(--f) + 36px); font-size: 16px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer__brand { text-align: center; margin-bottom: 48px; }
.footer__brand .wordmark { color: var(--ink); font-size: 24px; }
.footer__brand p { margin: 12px auto 0; color: var(--muted); }
.footer__cols { display: grid; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
.footer h2 { font: 500 11.5px/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__legal { display: grid; gap: 6px; padding-top: 24px; text-align: center; }
.footer__legal p { max-width: none; margin: 0; }
/* Licence line: small print by design, the only place it appears. */
.fine { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.fine a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Motion: slow fade-in on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.2s var(--slow), transform 1.4s var(--slow); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal .ph img { transform: scale(1.04); transition: transform 2.4s var(--slow); }
.js .reveal.is-in .ph img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero__media img { transform: none; animation: none; }
  .js .reveal, .js .reveal .ph img { opacity: 1; transform: none; }
}

/* Inline links inside running text still give a 44px tap target. */
main p a:not(.link):not(.btn-ghost), .ruled h3 a { display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle; text-underline-offset: 4px; }
.ruled h3 a { text-decoration: none; }
.ruled h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.mt-l { margin-top: clamp(32px, 4vw, 56px); }
.mt-m { margin-top: 26px; }
.muted { color: var(--muted); }
.pos-low { --pos: 50% 72%; }
.pos-mid { --pos: 50% 50%; }
.pos-60 { --pos: 50% 60%; }
.pos-80 { --pos: 50% 80%; }
.pos-top { --pos: 50% 30%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Phone polish (foreman, 2026-11-30): iPhone notch and home bar, menu end visible, hero subhead weight. */
.masthead { top: max(var(--f), env(safe-area-inset-top)); }
@media (max-width: 1023px) {
  .js .nav { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .nav__list > li:last-child { border-bottom: 1px solid var(--line); }
  .js .menu-toggle { min-width: 72px; }
  .hero__sub { font-weight: 400; color: #fff; }
  .hero::before { background: linear-gradient(0deg, rgba(12, 11, 10, 0.86) 0%, rgba(12, 11, 10, 0.74) 36%, rgba(12, 11, 10, 0.6) 56%, rgba(12, 11, 10, 0.3) 72%, rgba(12, 11, 10, 0) 88%); }
}
@media (max-width: 1023px) { .masthead.is-open .masthead__bar { background: var(--paper); } }

/* Round 3 (2026-12-01): phone menu top, footer languages and proof, text-a-photo, reserve explainer. */
@media (max-width: 1023px) {
  /* The list starts below the header bar; site.js measures the bar when the menu opens. */
  .js .nav { padding-top: calc(var(--menu-top, calc(var(--f) + 72px)) + 16px); }
}
.footer__langs ul { list-style: none; margin: 0; padding: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; }
.footer__langs a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--muted); }
.footer__langs a[aria-current] { color: var(--ink); }
.footer__proof { margin: 10px auto 0; font: 400 16px/1.5 var(--sans); letter-spacing: 0.04em; color: var(--ink); }
/* One quiet line under the form: call or text a photo. */
.intake__text { max-width: 760px; margin: 32px auto 0; font-size: 16px; color: var(--body); }
.intake__text a { color: var(--ink); }
.reserve { margin-top: 36px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); background: var(--white); }
.reserve h3 { margin-bottom: 14px; }
.reserve__steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.reserve__steps .num { display: inline; margin: 0 10px 0 0; font-size: 18px; }
.reserve__note { color: var(--muted); margin: 0; }

/* ---------- Round 4 (2026-12-01): concierge Inquire, Collection, ADU, Circle, film slot, playful details ---------- */

::selection { background: #E4DCCF; color: var(--ink); }
.btn-ghost .arrow { display: inline-block; transition: transform 0.5s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.tile:hover p { color: var(--body); }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Inquire: progress as words, one question per screen */
.step:not([hidden]) { animation: rise 0.6s var(--slow); }
.step__note { color: var(--ink); font: 300 italic 21px/1.4 var(--serif); margin: -10px 0 22px; }
.step__aside { margin-top: 6px; color: var(--muted); }
.field__group { margin: 8px 0 10px; font-size: 16px; color: var(--ink); }
.options--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 22px; }
.options--inline .option { min-height: 52px; padding: 12px 14px; gap: 10px; font-size: 16px; }
@media (min-width: 760px) { .options--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Photo cards where the choice is visual */
.options--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .options--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.option--card { flex-direction: column; align-items: stretch; gap: 0; padding: 0; min-height: 0; overflow: hidden; }
.option--card input { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7); }
.option__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.option__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--slow); }
.option--card:hover .option__ph img { transform: scale(1.04); }
.option__text { display: block; padding: 12px 14px 14px; line-height: 1.35; }
.option--card:has(input:checked) { box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 759px) {
  .options--three { grid-template-columns: 1fr; }
  .options--three .option--card { flex-direction: row; align-items: center; }
  .options--three .option__ph { flex: none; width: 112px; aspect-ratio: 1; }
}

/* The concierge: questions beside a running brief (desktop), or above a bottom sheet (phone) */
.brief-panel__title { display: none; }
.brief-panel .summary { margin-top: 0; }
.brief-panel .summary div { grid-template-columns: 1fr; padding: 12px 0; }
.brief-panel .summary dd { font-size: 16px; }
.brief-panel__empty { color: var(--muted); font-size: 16px; margin: 0; }
@media (min-width: 1024px) {
  .concierge { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; max-width: 1124px; margin-inline: auto; align-items: start; }
  .concierge .intake { max-width: none; margin: 0; }
  .brief-panel { position: sticky; top: calc(var(--f) + var(--head-h) + 24px); padding: 26px; background: var(--white); border: 1px solid var(--line); }
  .brief-panel__toggle { display: none; }
  .brief-panel__title { display: block; font: 300 28px/1.2 var(--serif); color: var(--ink); margin: 0 0 14px; }
}
@media (max-width: 1023px) {
  .page--inquire .chapter--tight { padding-bottom: 120px; }
  html:has(.page--inquire) { scroll-padding-bottom: 96px; }
  .brief-panel {
    position: fixed; z-index: 40; left: var(--f); right: var(--f); bottom: max(var(--f), env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -18px 36px -28px rgba(30, 29, 27, 0.45);
    transition: transform 0.5s var(--ease), visibility 0s;
  }
  .brief-panel.is-away, .brief-panel.is-empty { transform: translateY(120%); visibility: hidden; transition: transform 0.5s var(--ease), visibility 0s linear 0.5s; }
  .brief-panel__toggle {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 var(--gutter);
    border: 0; background: none; color: var(--ink); cursor: pointer; font: 400 16px/1.2 var(--sans); letter-spacing: 0.04em;
  }
  .brief-panel__count { color: var(--muted); }
  .brief-panel__count::after { content: "\25B4"; margin-left: 10px; display: inline-block; transition: transform 0.4s var(--ease); }
  .brief-panel.is-open .brief-panel__count::after { transform: rotate(180deg); }
  .brief-panel__body { display: none; max-height: 52vh; overflow-y: auto; padding: 0 var(--gutter) 18px; }
  .brief-panel.is-open .brief-panel__body { display: block; }
}

/* Your brief: the end screen */
.done .lede { margin-bottom: 22px; }
.done__note { margin: 0 0 12px; max-width: none; padding: 16px 20px; border-left: 2px solid var(--ink); background: var(--white); color: var(--ink); }
.brief-card { margin-top: 26px; padding: clamp(20px, 3vw, 34px); background: var(--white); border: 1px solid var(--line); }
.brief-card .summary { margin: 0; border-top: 0; }
.brief-card .summary div:first-child { padding-top: 0; }
.brief-card .summary div:last-child { border-bottom: 0; }
.after { margin-top: 36px; }
.after h3 { margin-bottom: 14px; }
.after__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.after__steps .num, .reserve__steps .num { display: inline; margin: 0 10px 0 0; font-size: 18px; }

/* Film slot: a still, a play mark, and a calm "coming soon" dialog */
.film { margin-top: 40px; }
.film--home { max-width: 980px; margin: 0 auto; text-align: center; }
.film__open { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; cursor: pointer; }
.film__still { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.film__still img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--slow); }
.film__open:hover .film__still img { transform: scale(1.02); }
.film__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.92); background: rgba(12, 11, 10, 0.35); transition: transform 0.6s var(--slow), background-color 0.6s var(--ease); }
.film__play::after { content: ""; position: absolute; left: 31px; top: 25px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.film__open:hover .film__play { transform: scale(1.06); background: rgba(12, 11, 10, 0.5); }
.film__label { display: block; margin-top: 16px; font: 300 italic clamp(22px, 2vw, 28px)/1.3 var(--serif); color: var(--ink); }
.film__len { font: 400 16px/1 var(--sans); font-style: normal; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.film-modal { border: 0; padding: 0; width: min(560px, calc(100vw - 40px)); background: var(--paper); color: var(--body); }
.film-modal::backdrop { background: rgba(12, 11, 10, 0.62); }
.film-modal__inner { padding: clamp(28px, 4vw, 48px); }
.film-modal h2 { margin: 6px 0 14px; }
.film-modal .actions { margin-top: 26px; }
.film-modal[open] { animation: rise 0.5s var(--slow); }

/* The Signature Collection */
.tiles--three { grid-template-columns: 1fr; }
@media (min-width: 760px) { .tiles--three { grid-template-columns: repeat(3, 1fr); } }
.pieces { display: grid; gap: 44px; }
@media (min-width: 1024px) { .pieces { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.piece { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: box-shadow 0.8s var(--ease); }
.piece:hover { box-shadow: 0 30px 50px -40px rgba(30, 29, 27, 0.5); }
.piece__ph { aspect-ratio: 4 / 3; }
.piece__body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.4vw, 32px); }
.piece__price { margin: 4px 0 14px; font: 300 clamp(26px, 2.2vw, 32px)/1.2 var(--serif); color: var(--ink); }
.piece__list { list-style: none; margin: 8px 0 24px; padding: 0; border-top: 1px solid var(--line); }
.piece__list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.swatches { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.swatches legend { grid-column: 1 / -1; padding: 0; margin-bottom: 12px; font: 500 12px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.swatch { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 44px; cursor: pointer; font-size: 16px; line-height: 1.3; color: var(--ink); }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.swatch__ph { display: block; aspect-ratio: 1; overflow: hidden; outline: 1px solid var(--line); transition: outline-color 0.3s var(--ease), outline-offset 0.3s var(--ease); }
.swatch__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--slow); }
.swatch:hover .swatch__ph img { transform: scale(1.08); }
.swatch input:checked + .swatch__ph { outline: 2px solid var(--ink); outline-offset: 3px; }
.swatch input:focus-visible + .swatch__ph { outline: 2px solid var(--focus); outline-offset: 3px; }
.swatches__note { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.chosen { min-height: 1.5em; margin: 10px 0 18px; font: 300 italic 21px/1.3 var(--serif); color: var(--ink); }
.chosen:not(:empty) { animation: rise 0.6s var(--slow); }
.piece .btn-ghost { margin-top: auto; align-self: flex-start; }
.fineprint { margin: 36px auto 0; max-width: 70ch; color: var(--muted); font-size: 16px; }

/* ADU: who it is for, and the questions owners ask */
.purposes { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .purposes { grid-template-columns: repeat(2, 1fr); gap: 36px 40px; } }
@media (min-width: 1100px) { .purposes { grid-template-columns: repeat(5, 1fr); } }
.purposes li { padding-top: 18px; border-top: 1px solid var(--line); }
.purposes h3 { margin: 4px 0 8px; font-size: 26px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0; cursor: pointer; font: 300 clamp(22px, 2vw, 28px)/1.25 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 26px/1 var(--sans); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding-bottom: 22px; }

/* Circle, 404, footer sign-off */
.circle__flag { display: inline-block; margin: 26px auto 0; padding: 12px 18px; border: 1px solid var(--ink); color: var(--ink); font: 400 16px/1.3 var(--sans); letter-spacing: 0.04em; }
.page-head--lost { min-height: 56vh; display: grid; align-content: center; }
.lost-links { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; }
.footer__signoff { margin: 30px auto 0; max-width: none; text-align: center; font: 300 italic 20px/1.4 var(--serif); color: var(--body); }

/* ---------- Fix round after round 4 (foreman phone review, 2026-12-01) ---------- */

/* Inquire: progress as plain text, never a tab. */
.stage-label { margin: 0 0 14px; font: 400 16px/1.4 var(--sans); letter-spacing: 0.06em; color: var(--body); cursor: default; user-select: none; }
/* Phone: headline, one line, then the first question and its photo cards on the first screen. */
@media (max-width: 759px) {
  .page-head--quiet { padding-top: 22px; padding-bottom: 18px; }
  .page-head--quiet h1 { font-size: 36px; }
  .page-head--quiet .lede { margin-top: 16px; font-size: 17px; line-height: 1.5; }
  .chapter--intake { padding-top: 18px; }
  .chapter--intake .step legend { font-size: 30px; margin-bottom: 4px; }
  .chapter--intake .step__hint { margin-bottom: 12px; }
}

/* Phone header: Menu left, wordmark centred, Inquire right, all at one size. */
.masthead__inquire { display: none; }
@media (max-width: 1023px) {
  .masthead__inquire {
    grid-column: 3; justify-self: end; display: inline-flex; align-items: center; min-height: 44px;
    font: 400 12px/1 var(--sans); letter-spacing: 0.24em; margin-right: -0.24em; text-transform: uppercase; text-decoration: none; color: inherit;
  }
  .js .menu-toggle { min-width: 0; }
  .wordmark { letter-spacing: 0.18em; margin-right: -0.18em; }
}
@media (max-width: 599px) {
  /* Room for all three on a 390px phone, with clear space either side of the wordmark. */
  .masthead__bar { padding-inline: 16px; }
  .wordmark { font-size: 12.5px; letter-spacing: 0.12em; margin-right: -0.12em; }
  .js .menu-toggle, .masthead__inquire { font-size: 11px; letter-spacing: 0.16em; }
  .masthead__inquire { margin-right: -0.16em; }
}

/* Collection hero: the subhead in a short measure, and a quiet way down to the pieces. */
.hero--collection .hero__sub { max-width: 32ch; line-height: 1.55; }
.hero--collection .actions .link { min-height: 48px; }
.pos-pool { --pos: 30% 84%; }
/* The added link lifts the eyebrow higher on the photo; the fade reaches a little further up to keep it AA. */
.hero--collection::before { background: linear-gradient(0deg, rgba(12, 11, 10, 0.8) 0%, rgba(12, 11, 10, 0.7) 35%, rgba(12, 11, 10, 0.62) 58%, rgba(12, 11, 10, 0.36) 74%, rgba(12, 11, 10, 0) 90%); }

/* ADU hero: a lighter fade (about 40 percent; tests/check.mjs still measures AA behind the words) and one solid light button. */
.hero--adu::before { background: linear-gradient(0deg, rgba(12, 11, 10, 0.44) 0%, rgba(12, 11, 10, 0.4) 55%, rgba(12, 11, 10, 0.22) 78%, rgba(12, 11, 10, 0) 94%); }
.pos-adu { --pos: 70% 62%; }
.hero--adu h1 { max-width: none; }
@media (max-width: 599px) { .hero--adu h1 { font-size: 34px; } }
/* The section after the ADU hero starts right under it: no reveal delay, a short top margin on phones. */
@media (max-width: 759px) { .chapter--after-hero { padding-top: 32px; } }
.btn-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 14px 30px;
  border: 1px solid var(--paper); border-radius: 0; background: var(--paper); color: var(--ink);
  font: 500 12.5px/1.2 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease), transform 0.2s var(--ease);
}
.btn-solid:hover { background: var(--white); border-color: var(--white); }
.btn-solid:hover .arrow { transform: translateX(4px); }
.btn-solid .arrow { display: inline-block; transition: transform 0.5s var(--ease); }
.btn-solid:active { transform: translateY(1px); }

/* ---------- Kept pages (tools/restyle.py): the current site's copy, in this type ---------- */
.doc-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.doc-figure img { width: 100%; }
.doc-figure--hero img { max-height: 70vh; object-fit: cover; }
.doc-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.doc-figure--hero { margin-top: clamp(28px, 3vw, 44px); }
.prose { font-size: 17px; line-height: 1.7; color: var(--body); }
/* Resets first, at the same weight as the spacing rule, so the spacing wins. */
.prose :where(p, ul, ol) { margin: 0; }
/* Long paragraphs: avoid a lone last word without balancing every line short. */
.prose :where(p, li) { text-wrap: pretty; }
.prose > * + * { margin-top: 20px; }
.prose > h2 { font-size: clamp(30px, 3.4vw, 44px); }
.prose > * + h2 { margin-top: clamp(48px, 5vw, 72px); }
.prose > .eyebrow + h2 { margin-top: 12px; }
.prose h3 { font-size: clamp(22px, 2vw, 27px); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose .links { list-style: none; padding: 0; display: grid; gap: 0 24px; }
@media (min-width: 640px) { .prose .links { grid-template-columns: 1fr 1fr; } }
.prose .links li + li { margin-top: 0; }
/* inline-block, not inline-flex: a long link title wraps inside a phone column; the padding keeps a 44px tap height. */
.prose li a, .prose .nearby a { display: inline-block; max-width: 100%; padding-block: 8px; color: var(--ink); text-underline-offset: 4px; }
.prose .qa { border-top: 1px solid var(--line); padding-top: 20px; }
.prose .qa p { margin-top: 10px; }
.prose .facts { display: grid; gap: 20px; }
@media (min-width: 640px) { .prose .facts { grid-template-columns: repeat(3, 1fr); } }
.prose .fact { border-top: 1px solid var(--line); padding-top: 14px; }
.prose .fact h3 { font-size: clamp(26px, 2.4vw, 32px); }
.prose .fact p { margin-top: 8px; font-size: 15px; }
.prose .partners { list-style: none; padding: 0; display: grid; gap: 12px; }
.prose .partners a { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.prose .partners img { width: auto; max-width: 160px; max-height: 40px; }
.prose .doc-figure { margin-top: 32px; }
.table-scroll { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.prose th small, .prose td small { display: block; margin-top: 2px; font-size: 13px; font-weight: 300; color: var(--muted); }
.doc-close .actions { justify-content: center; }

/* ---------- Ported tools (round 8): city price, water calculators, referral, Backyard Blueprint ---------- */
.tool__form { display: grid; gap: 4px; margin-top: 28px; }
.tool__form [hidden] { display: none; }
.tool__form .field { margin-bottom: 14px; }
.tool__set { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; display: grid; gap: 4px; }
.tool__set legend { padding: 0; margin-bottom: 12px; font: 400 12px/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.tool__row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .tool__row { grid-template-columns: 1fr 1fr; } }
.tool__form .options { margin-bottom: 14px; }
.options--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool__form--inline { align-items: end; }
@media (min-width: 640px) { .tool__form--inline { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; } .tool__form--inline .field { margin-bottom: 0; } }
.tool__form .actions { margin-top: 8px; }
.tool__out { margin-top: 24px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); }
.tool__out > * + * { margin-top: 8px; }
.tool__big { font: 300 clamp(28px, 3.6vw, 40px)/1.2 var(--serif); color: var(--ink); }
.tool__verdict { font-weight: 400; color: var(--ink); }
.tool__note { color: var(--ink); }
.tool__done { margin-top: 24px; padding: 22px 24px; border: 1px solid var(--ink); }
.tool__done > * + * { margin-top: 10px; }
.field__error a { color: inherit; }
