/* ==========================================================================
   Organized Custom Designs — tokens derived from 02 - Strategy/DESIGN.md
   (DESIGN.md is truth; change it there first, then here)
   ========================================================================== */
:root {
  --navy: #14293D;
  --navy-2: #1B3550;          /* panel tone on navy grounds (tint of --navy) */
  --neutral: #E9E9E2;
  --champagne: #B2916A;
  --white: #FFFFFF;
  --rule-light: rgba(20, 41, 61, 0.16);
  --rule-dark: rgba(233, 233, 226, 0.18);

  --font-display: 'Cinzel', Georgia, serif;
  --font-serif: 'EB Garamond', Georgia, serif;
  --font-sans: 'Instrument Sans', system-ui, sans-serif;
  --font-hand: 'Architects Daughter', cursive;

  --gutter: 16px;
  --section: 96px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 1024px) {
  html { font-size: clamp(15px, 1.05vw, 18px); }   /* fluid root: the design scales as one object */
  :root { --gutter: 48px; --section: 11rem; --header-h: 104px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--neutral);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--navy); color: var(--neutral); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }

.container { width: 100%; max-width: 78rem; margin: 0 auto; padding: 0 var(--gutter); }

/* Draft ribbon — strip before launch */
.draftbar {
  position: relative; z-index: 60; padding: 6px var(--gutter);
  background: var(--champagne); color: var(--navy);
  font: 600 11px/1.4 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; text-align: center;
}

/* ---------- Type ---------- */
.eyebrow {
  font: 600 .8125rem/1.4 var(--font-sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);                      /* champagne fails on neutral (2.41:1) */
}
.eyebrow--dark { color: var(--champagne); } /* champagne on navy passes (5.06:1) */

.h2 {
  font: 700 clamp(2rem, 4.2vw, 3.25rem)/1.05 var(--font-display);
  letter-spacing: .04em; text-transform: uppercase; color: var(--navy);
  margin-top: .9rem;
}
.h2--on-dark { color: var(--neutral); }

.subline {
  font: italic 500 clamp(1.25rem, 2vw, 1.6rem)/1.3 var(--font-serif);
  color: var(--navy); margin-top: .8rem;
}
.subline--on-dark { color: var(--champagne); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 1.6rem; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  font: 600 .75rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--navy { background: var(--navy); color: var(--neutral); }
.btn--navy:hover { background: var(--navy-2); }
.btn--light { background: var(--neutral); color: var(--navy); }
.btn--light:hover { background: var(--white); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; gap: .6rem; align-items: center; margin-top: 3rem;
  font: 600 .75rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 6px;
  transition: background-size .3s var(--ease);
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow--on-dark { color: var(--neutral); }

/* ---------- Header & nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(233, 233, 226, 0); transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid { background: var(--neutral); box-shadow: 0 1px 0 var(--rule-light); }
.site-header__inner {
  height: 100%; max-width: 90rem; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-header__logo .logo { height: 54px; width: auto; }
@media (min-width: 1024px) { .site-header__logo .logo { height: 74px; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 6px; justify-content: center;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.nav-toggle__bar { display: block; height: 1.5px; background: var(--navy); transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--neutral);
  padding: 1.5rem var(--gutter) 3rem; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.site-nav__list { display: flex; flex-direction: column; gap: .25rem; }
.site-nav__link {
  display: inline-block; padding: .9rem 0; background: none; border: 0; cursor: pointer; color: var(--navy);
  font: 600 .8125rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
}
.site-nav__item--cta { margin-top: 1.25rem; }

.mega { display: none; padding: .25rem 0 1rem; }
.mega.is-open { display: block; }
.mega__inner { display: grid; gap: 1.25rem; }
.mega__col { display: flex; flex-direction: column; gap: .35rem; }
.mega__group {
  font: 700 .95rem/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); text-decoration: none;
  margin-bottom: .2rem;
}
.mega__link { color: var(--navy); text-decoration: none; font-size: .95rem; }
.mega__link:hover, a.mega__group:hover { color: var(--champagne); }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; inset: auto; padding: 0; background: none; overflow: visible; visibility: visible; opacity: 1; }
  .site-nav__list { flex-direction: row; align-items: center; gap: 2.2rem; }
  .site-nav__item--cta { margin-top: 0; margin-left: .6rem; }
  .site-nav__link {
    padding: .5rem 0;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .25s var(--ease);
  }
  .site-nav__link:hover, .site-nav__trigger[aria-expanded="true"] { background-size: 100% 1px; }
  .site-nav__item--mega { position: static; }
  .mega {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--neutral); box-shadow: 0 1px 0 var(--rule-light);
    padding: 2.5rem var(--gutter) 3rem;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .mega.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .mega__inner { max-width: 78rem; margin: 0 auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .mega__col { border-left: 1px solid var(--rule-light); padding-left: 1.5rem; }
}

/* ---------- Brand rail: rotating diamond + wooden rule (desktop only, on trial) ---------- */
.rail { display: none; }
@media (min-width: 1024px) {
  .rail {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    position: fixed; left: 18px; top: calc(var(--header-h) + 64px); z-index: 40; pointer-events: none;
  }
  .rail__diamond { width: 20px; height: 20px; fill: var(--champagne); will-change: transform; }
  .rail__rule {
    position: relative; width: 16px; height: 34vh; overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(60, 35, 18, .35), 0 1px 2px rgba(20, 41, 61, .25);
  }
  .rail__grain { position: absolute; inset: 0; }
  .rail__ticks {
    position: absolute; inset: 0;
    background:
      repeating-linear-gradient(to bottom, transparent 0 calc(10% - 1px), var(--champagne) calc(10% - 1px) 10%) right / 9px 100% no-repeat,
      repeating-linear-gradient(to bottom, transparent 0 calc(2.5% - 1px), rgba(178, 145, 106, .75) calc(2.5% - 1px) 2.5%) right / 4px 100% no-repeat;
  }
  .rail__joint {
    position: absolute; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #8c6a3f, #d9bf8f 45%, #8c6a3f);
  }
  .rail__joint--top { top: 0; }
  .rail__joint--bottom { bottom: 0; }
  .rail__marker {
    position: absolute; left: -2px; right: -2px; top: 0; height: 2px; background: var(--champagne);
    box-shadow: 0 0 0 1px rgba(20, 41, 61, .35); will-change: transform;
  }
  .rail__label { font: 700 .7rem/1 var(--font-display); letter-spacing: .08em; color: var(--champagne); }
}

/* ---------- 1 · Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--header-h)); margin-top: calc(var(--header-h) * -1);
  display: flex; align-items: flex-end; overflow: hidden; background: var(--navy);
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__img, .measure { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: center; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 95% 125% at 0% 100%, rgba(20,41,61,.92) 0%, rgba(20,41,61,.78) 42%, rgba(20,41,61,.38) 72%, rgba(20,41,61,0) 100%);
}
.hero__copy {
  position: relative; z-index: 2; width: 100%; max-width: 36rem;
  padding: 7rem var(--gutter) 3rem;
}
@media (min-width: 1024px) { .hero__copy { padding: 0 0 4.5rem calc(var(--gutter) + 40px); } }
.hero__title {
  margin-top: 1rem;
  font: 700 clamp(2.5rem, 6vw, 4.6rem)/1.02 var(--font-display);
  letter-spacing: .04em; text-transform: uppercase; color: var(--neutral);
}
.hero__copy .btn { margin-top: 2rem; }

/* Measured overlay — handwritten dimensions over the photograph */
.measure { pointer-events: none; }
.measure__lines line { stroke: var(--navy); stroke-linecap: round; fill: none; }
.m-ext { stroke-width: 1.1; }
.m-dim, .m-tick { stroke-width: 1.8; }
.measure__text text { font: 24px var(--font-hand); fill: var(--navy); }
@media (max-width: 767px) { .measure { display: none; } }

/* ---------- 2 · Trust strip (static) ---------- */
.trust { background: var(--neutral); border-bottom: 1px solid var(--rule-light); }
.trust__list {
  max-width: 78rem; margin: 0 auto; padding: 2.75rem var(--gutter);
  display: grid; gap: 2rem; text-align: center;
}
.trust__item { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.trust__over { font: 600 .75rem/1 var(--font-sans); letter-spacing: .22em; text-transform: uppercase; }
.trust__figure { font: 700 clamp(2.4rem, 4.5vw, 3.4rem)/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.trust__label { font: 600 .75rem/1.3 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; }
@media (min-width: 768px) {
  .trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .trust__item + .trust__item { border-left: 1px solid var(--rule-light); }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) 0; overflow: hidden; }
.section--light { background: var(--neutral); color: var(--navy); }
.section--dark { background: var(--navy); color: var(--neutral); }
.section-head { max-width: 44rem; margin-bottom: 3.5rem; position: relative; z-index: 1; }

/* Tagline marquee behind headlines (House of Honey's technique: one phrase, repeating, very slow) */
.underlay {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  overflow: hidden; pointer-events: none; z-index: 0;
}
.problem .underlay, .consult .underlay { top: 38%; }
.standards .underlay { top: 6rem; transform: none; }
.underlay__track {
  display: flex; width: max-content;
  font: italic 400 clamp(6rem, 18vw, 17rem)/1 var(--font-serif); letter-spacing: -.02em;
  color: var(--champagne); opacity: .22; white-space: nowrap;
  animation: marquee 110s linear infinite;
}
.underlay--reverse .underlay__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 3 · Problem ---------- */
.problem__inner { position: relative; z-index: 1; max-width: 50rem; }
.problem__body { display: grid; gap: 1.2rem; margin-top: 2.2rem; max-width: 38rem; font-size: 1.0625rem; }

/* ---------- 4 · Cabinet doors → Spaces ----------
   Doors only appear once main.js adds .js-motion; without motion this is a plain navy heading block. */
.doors { position: relative; background: var(--navy); }
.doors__stage { position: relative; padding: var(--section) 0 3rem; }
.doors__reveal {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 0 var(--gutter);
}
.js-motion .doors { height: 190vh; }
.js-motion .doors__stage { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); padding: 0; overflow: hidden; perspective: 1600px; }
.js-motion .doors__reveal { position: absolute; inset: 0; }
/* The heading sits mid-screen while the doors are pinned, leaving the lower half empty.
   Pull the cards up into that empty navy so they land ~5rem under the heading (main.js finishes the doors first). */
.js-motion .doors + .spaces { margin-top: min(0px, calc(7.5rem - (100vh - var(--header-h)) / 2)); }
.door {
  position: absolute; top: 0; bottom: 0; width: 50%; background: var(--navy-2);
  display: flex; align-items: center; will-change: transform;
}
html:not(.js-motion) .door { display: none; }
.door--left { left: 0; width: calc(50% + 1px); transform-origin: left center; justify-content: flex-end; border-right: 1px solid rgba(0,0,0,.25); }
.door--right { right: 0; transform-origin: right center; justify-content: flex-start; border-left: 1px solid rgba(255,255,255,.05); }
.door__grain {                                 /* real oak grain (door-oak.jpg) showing through the navy paint */
  position: absolute; inset: 0; pointer-events: none;
  background: url(/assets/img/door-oak.jpg) center / cover;
  filter: grayscale(1) contrast(1.4); mix-blend-mode: overlay; opacity: .45;
}
.door--right .door__grain { transform: scaleX(-1); }   /* book-matched: the pair mirrors like real doors */
/* Stained oak, chosen by Madyson 2026-09-28 (the navy-paint version above is the fallback if .doors--oak is removed) */
.doors--oak .door { background: #9a6a3c; }
.doors--oak .door__grain { filter: sepia(.2) saturate(1.1) brightness(.88); mix-blend-mode: normal; opacity: 1; }
.doors--oak .door__panel { box-shadow: inset 3px 3px 7px rgba(50,28,10,.38), inset -1px -1px 0 rgba(255,236,205,.28), 0 0 0 1px rgba(50,28,10,.4); }
.doors--oak .door--left { border-right-color: rgba(40,22,8,.5); }
.door__panel {                                 /* shaker inset */
  position: absolute; inset: 7% 9%;
  box-shadow: inset 0 0 0 1px rgba(178,145,106,.35), inset 0 0 0 10px var(--navy-2), inset 0 0 0 11px rgba(0,0,0,.25);
}
.door__pull {
  position: relative; width: 6px; height: 22vh; margin: 0 2.4rem;
  background: linear-gradient(90deg, #8c6a3f, #e0c89b 50%, #8c6a3f); border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}

.spaces { position: relative; background: var(--navy); color: var(--neutral); padding: 0 0 var(--section); }
/* Gallery: tall photos nearly edge to edge, caps title, one quiet line (House of Honey pattern) */
.spaces__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 10px; padding: 0 10px; }
@media (min-width: 1100px) { .spaces__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3rem 10px; } }   /* 10 spaces: 5 across, 2 rows */
.space { display: flex; flex-direction: column; gap: .55rem; color: var(--neutral); text-decoration: none; }
.space__media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy-2); margin-bottom: .45rem; }
.space__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.space:hover .space__media img, .space:focus-visible .space__media img { transform: scale(1.04); }
.space__name { font: 500 clamp(.95rem, 1.2vw, 1.2rem)/1.2 var(--font-sans); letter-spacing: .02em; text-transform: uppercase; transition: color .3s var(--ease); }
.space:hover .space__name, .space:focus-visible .space__name { color: var(--champagne); }
.space__meta { font: italic 500 clamp(.95rem, 1.1vw, 1.08rem)/1.35 var(--font-serif); color: var(--champagne); }
@media (max-width: 559px) { .space__meta { font-size: .92rem; } }

/* See More Projects: the button sits on a dimension line spanning the gallery (the hero's measuring motif).
   Extension lines and ticks mark the full width; on hover the line draws out from the button to meet them. */
.spaces__more { padding: 0 var(--gutter); margin-top: 4.5rem; }
@media (min-width: 1024px) { .spaces__more { margin-top: 6rem; } }
.measure-link { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem); text-decoration: none; }
.measure-link__label { flex: 0 0 auto; }
.measure-link__line { position: relative; flex: 1 1 0; height: 28px; }
.measure-link__line::before {                                    /* the dimension line */
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--champagne);
  transform: scaleX(.35); transition: transform .7s var(--ease);
}
.measure-link__line--l::before { transform-origin: right center; }
.measure-link__line--r::before { transform-origin: left center; }
.measure-link__line::after {                                     /* extension line at the outer end */
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--champagne); opacity: .7;
}
.measure-link__line--l::after { left: 0; }
.measure-link__line--r::after { right: 0; }
.measure-link__tick {                                            /* 45° architectural tick where line meets extension */
  position: absolute; top: 50%; width: 14px; height: 1px; background: var(--champagne); transform: translate(-50%, -50%) rotate(-45deg);
}
.measure-link__line--l .measure-link__tick { left: 0; }
.measure-link__line--r .measure-link__tick { left: 100%; }
.measure-link:hover .measure-link__line::before, .measure-link:focus-visible .measure-link__line::before { transform: scaleX(1); }
/* Phrase lists (Spaces extras, footer): phrases never split; no line opens with a separator */
[data-extras] .extra-item { white-space: nowrap; }
[data-extras] .is-line-start .sep { display: none; }


/* ---------- 5 · Standards ---------- */
.standards .container { position: relative; z-index: 1; }
.standards__grid { display: grid; gap: 0; border-top: 1px solid var(--rule-light); }
.standard { padding: 2rem 0; border-bottom: 1px solid var(--rule-light); }
.standard__title { font: 700 1.2rem/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .6rem; }
@media (min-width: 768px) {
  .standards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
}
@media (min-width: 1024px) {
  .standards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 6 · Process ---------- */
.steps { display: grid; gap: 2.5rem; counter-reset: step; }
.step { border-top: 1px solid var(--rule-dark); padding-top: 1.5rem; }
.step__num { display: block; font: 700 1rem/1 var(--font-display); letter-spacing: .1em; color: var(--champagne); margin-bottom: 1rem; }
.step__title { font: 700 1.25rem/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .6rem; }
.step p { color: rgba(233,233,226,.85); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

/* ---------- 7 · Stories ---------- */
.stories__inner { text-align: center; max-width: 56rem; }
.stories__pending { margin-top: 1.6rem; font: italic 400 1.25rem/1.4 var(--font-serif); opacity: .75; }
.stories { padding-bottom: calc(var(--section) * .5); }

/* ---------- 8 · Consultation ---------- */
.consult { padding-top: calc(var(--section) * .5); }
.consult__grid { position: relative; z-index: 1; display: grid; gap: 3rem; }
.consult__note { margin-top: 1.5rem; max-width: 26rem; }
@media (min-width: 1024px) { .consult__grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; } }

.form { display: grid; gap: 1.4rem; padding: 2rem; background: var(--white); box-shadow: 0 0 0 1px var(--rule-light); }
@media (min-width: 768px) { .form { padding: 2.75rem; } }
.form__row { display: grid; gap: 1.4rem; }
@media (min-width: 768px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: .45rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend {
  font: 600 .72rem/1.3 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); padding: 0;
}
.field__optional { font-weight: 400; letter-spacing: .08em; text-transform: none; opacity: .7; margin-left: .3rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .1rem; border: 0; border-bottom: 1px solid rgba(20,41,61,.35);
  border-radius: 0; background: transparent; color: var(--navy); font: 400 1rem/1.4 var(--font-sans);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 1px 0 var(--navy); }
.field--chips legend, .field--inline legend { margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input, .radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; cursor: pointer;
  border: 1px solid rgba(20,41,61,.3); font-size: .9rem; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.chip input:checked + span { background: var(--navy); color: var(--neutral); border-color: var(--navy); }
.chip input:focus-visible + span, .radio input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 2px; }
.field--inline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
.field--inline legend { width: 100%; }
.radio span { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer; }
.radio span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(20,41,61,.45); }
.radio input:checked + span::before { background: var(--navy); box-shadow: inset 0 0 0 4px var(--white); }
.form__status { min-height: 1.4em; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--neutral); padding: 5rem 0 2rem; }
.site-footer__grid { display: grid; gap: 3rem; }
.site-footer__brand .logo { width: 220px; height: auto; }
.site-footer__brand .btn { margin-top: 1.8rem; }
.site-footer__col { display: flex; flex-direction: column; gap: .55rem; }
.site-footer__col a { text-decoration: none; opacity: .85; }
.site-footer__col a:hover { opacity: 1; color: var(--champagne); }
.site-footer__head { font: 600 .72rem/1 var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); margin-bottom: .6rem; }
.site-footer__everything { font: italic 400 1.1rem/1.6 var(--font-serif); opacity: .9; }
.site-footer__legal {
  display: flex; gap: 1.5rem; justify-content: space-between; margin-top: 4rem; padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark); font-size: .8rem; opacity: .7;
}
.site-footer__legal a { text-decoration: none; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.6fr; } }

/* ---------- Reveals (progressive enhancement: only hidden once JS confirms motion) ---------- */
.js-motion [data-reveal] { opacity: 0; transform: translateY(24px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .underlay__track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.hero--page { min-height: calc(82svh - var(--header-h)); }
.hero--plain { min-height: auto; align-items: stretch; background: var(--navy); }
.hero--plain .hero__copy { max-width: 48rem; padding-top: calc(var(--header-h) + 5rem); padding-bottom: 5rem; }
@media (min-width: 1024px) { .hero--plain .hero__copy { padding-top: calc(var(--header-h) + 7rem); padding-bottom: 6rem; } }
/* Draft notes — visible in review drafts only; every one is removed before launch */
.draft-note {
  margin-top: 1.5rem; padding: 1rem 1.2rem; border: 1px dashed var(--champagne);
  font: 500 .85rem/1.5 var(--font-sans); color: inherit; background: rgba(178,145,106,.08);
}
.draft-note::before { content: "Draft note — "; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; color: var(--champagne); }
.section--light .draft-note::before { color: #7a5f3f; }

.prose { max-width: 40rem; display: grid; gap: 1.1rem; font-size: 1.0625rem; margin-top: 2rem; }
.section .container { position: relative; z-index: 1; }

/* Layout B — headline band above a full photograph (H2 sections only, never heroes) */
.band { background: var(--neutral); }
.band__head { padding: var(--section) 0 3rem; position: relative; overflow: hidden; }
.band__head-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .band__head-grid { grid-template-columns: 1fr auto; align-items: end; } .band__head-grid .subline { text-align: right; } }
.band__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* Route cards (e.g. walk-in vs reach-in on the closets hub) */
.routes { display: grid; gap: 1rem; }
@media (min-width: 768px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.route {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem; min-height: 22rem; padding: 2.2rem;
  background: var(--navy-2); color: var(--neutral); text-decoration: none; box-shadow: inset 0 0 0 1px var(--rule-dark);
  transition: box-shadow .3s var(--ease);
}
.route:hover { box-shadow: inset 0 0 0 1px var(--champagne); }
.route__name { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.route p { color: rgba(233,233,226,.85); max-width: 26rem; }
.route__cta { font: 600 .72rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; }
.route__cta::after { content: " →"; }

/* FAQ */
.faq { max-width: 50rem; border-top: 1px solid var(--rule-light); }
.faq details { border-bottom: 1px solid var(--rule-light); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.5rem 2.5rem 1.5rem 0; position: relative;
  font: 700 1.1rem/1.3 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 1.3rem; font: 400 1.6rem/1 var(--font-sans); color: var(--champagne); }
.faq details[open] summary::after { content: "–"; }
.faq__answer { padding: 0 0 1.6rem; max-width: 42rem; }

/* Process, full */
.steps--full { grid-template-columns: 1fr !important; gap: 0; max-width: 52rem; }
.steps--full .step { display: grid; gap: .4rem 2rem; padding: 2rem 0; }
@media (min-width: 768px) { .steps--full .step { grid-template-columns: 5rem 1fr; } .steps--full .step__num { grid-row: span 2; margin: 0; } }

.flagship { display: grid; gap: 2rem; margin-top: 3rem; padding: 2.5rem; box-shadow: inset 0 0 0 1px var(--rule-dark); background: var(--navy-2); }
.flagship__name { font: 700 1.8rem/1.1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }

.site-nav__link[aria-current="page"] { background-size: 100% 1px; }

.notfound { min-height: 70svh; display: flex; align-items: center; }
.problem__also { margin-top: 1.5rem; font-size: .95rem; }
.hero .draft-note { color: var(--neutral); }
/* Steps on a light ground (full process page) — numerals go navy: champagne fails on neutral */
.section--light .step { border-top-color: var(--rule-light); }
.section--light .step p { color: var(--navy); }
.section--light .step__num { color: var(--navy); }
/* Phones: the corner shadow is too narrow to hold the copy — shade the full width from the bottom up */
@media (max-width: 767px) {
  .hero__shade {
    background: linear-gradient(to top, rgba(20,41,61,.94) 0%, rgba(20,41,61,.86) 45%, rgba(20,41,61,.4) 72%, rgba(20,41,61,0) 90%);
  }
}
.nowrap { white-space: nowrap; }

/* ---------- Round-1 review fixes (2026-09-26) ---------- */
/* Diamond drawn as a square turned 45°, like the logo — the ◆ glyph is not in EB Garamond and got faux-italicised */
.dia { display: inline-block; width: .2em; height: .2em; margin: 0 .3em; background: currentColor; transform: rotate(45deg); vertical-align: .22em; font-style: normal; }
.site-footer__everything .dia { width: .32em; height: .32em; margin: 0 .25em; vertical-align: .12em; }
/* Every header is solid now, so heroes start below it instead of sliding under it */
.hero { margin-top: 0; }
.hero--plain .hero__copy { padding-top: 5rem; }
@media (min-width: 1024px) { .hero--plain .hero__copy { padding-top: 7rem; } }
/* Headline: one line per phrase on tablet and up */
.hero__copy { max-width: 50rem; }
.hero__title { font-size: clamp(2.3rem, 5vw, 4.2rem); }
/* Smallest phones: one long word ("Entertainment") must still fit the screen (Madyson 11/10) */
@media (max-width: 389px) { .hero__title { font-size: 2.05rem; } }
@media (min-width: 768px) { .hero__line { display: block; white-space: nowrap; } }
/* Eyebrow over a photograph: champagne loses to warm wood, so it goes to the light neutral */
.hero:not(.hero--plain) .eyebrow { color: var(--neutral); }

/* Primary CTA (Request a Consultation): a champagne hairline set inside the button, like a shaker door's inset panel */
.btn--cta { box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 5px var(--champagne); transition: box-shadow .3s var(--ease), background-color .25s var(--ease); }
.btn--cta:hover { box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 4px var(--champagne); }
.btn--light.btn--cta { box-shadow: inset 0 0 0 4px var(--neutral), inset 0 0 0 5px var(--champagne); }
.btn--light.btn--cta:hover { background: var(--neutral); box-shadow: inset 0 0 0 3px var(--neutral), inset 0 0 0 4px var(--champagne); }
/* Secondary action over a photo: outline only, so it never competes with the CTA */
.btn--ghost { background: transparent; color: var(--neutral); border-color: rgba(233,233,226,.7); }
.btn--ghost:hover { background: var(--neutral); color: var(--navy); border-color: var(--neutral); }
.doors--oak .door__pull { background: linear-gradient(90deg, #2b1f15, #6b5238 50%, #2b1f15); box-shadow: 1px 3px 6px rgba(40,22,8,.45); }
.doors--oak .door__panel { box-shadow: inset 4px 4px 8px rgba(50,28,10,.42), inset -2px -2px 0 rgba(255,236,205,.3), 0 0 0 1px rgba(50,28,10,.5), 2px 2px 0 rgba(255,236,205,.18); }

/* ---------- Page transition (See More Projects → Projects) ---------- */
.page-curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--navy);
  transform: translateY(100%); transition: transform .65s cubic-bezier(.76, 0, .24, 1);
}
.page-curtain.is-in { transform: translateY(0); }
body.is-leaving main { transform: translateY(-6vh); opacity: .5; transition: transform .65s cubic-bezier(.76, 0, .24, 1), opacity .65s ease; }
/* Arrival: the page loads under a navy curtain that lifts off the top */
html.is-arriving body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; background: var(--navy); pointer-events: none;
  animation: curtain-lift .8s cubic-bezier(.76, 0, .24, 1) .15s forwards;
}
@keyframes curtain-lift { to { transform: translateY(-100%); } }
html.is-arriving .hero__copy { animation: arrive-up .9s var(--ease) .45s backwards; }
@keyframes arrive-up { from { opacity: 0; transform: translateY(2rem); } }

/* ---------- Projects page ---------- */
/* Big script word drifting across the bottom of the hero (House of Honey "Our Spaces" pattern) */
.hero--projects { overflow: hidden; }
.script-marquee { position: absolute; left: 0; right: 0; bottom: -.12em; z-index: 2; pointer-events: none; overflow: hidden; }
.script-marquee__track { display: flex; width: max-content; animation: script-drift 40s linear infinite; }
.script-marquee__track span {
  display: inline-flex; align-items: center; white-space: nowrap; padding-right: .3em;
  font: italic 400 clamp(5rem, 14vw, 13rem)/1 var(--font-serif); color: var(--champagne); opacity: .85;
}
.script-marquee .dia { width: .12em; height: .12em; margin: 0 .35em; vertical-align: middle; }
@keyframes script-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .script-marquee__track { animation: none; } }
.hero--projects .hero__copy { z-index: 3; }

.projects__grid { display: grid; gap: 2.5rem 12px; margin-top: 2.5rem; }
@media (min-width: 700px) { .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .projects__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project { margin: 0; }
.project__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-2); margin-bottom: 1rem; }
.project__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project__name { margin: 0 0 .35rem; font: 500 clamp(1.05rem, 1.4vw, 1.3rem)/1.2 var(--font-sans); letter-spacing: .02em; text-transform: uppercase; color: var(--neutral); }
.project__meta { margin: 0; font: italic 500 1.05rem/1.35 var(--font-serif); color: var(--champagne); }
/* Projects hero: headline centred near the top, script word along the bottom, even shade for centred text */
.hero--projects { min-height: calc(94svh - var(--header-h)); align-items: flex-start; justify-content: center; }
.hero--projects .hero__shade { background: rgba(20, 41, 61, .5); }
.hero--projects .hero__copy { margin: clamp(3rem, 12vh, 8rem) auto 0; max-width: 62rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero--projects .hero__line { white-space: normal; }
/* Gallery sides clear the fixed scroll ruler on desktop */
@media (min-width: 1024px) { .spaces__grid { padding: 0 var(--gutter); } }
.measure-link:hover .measure-link__label, .measure-link:focus-visible .measure-link__label { background: var(--white); }
@media (hover: none) { .measure-link__line::before { transform: scaleX(1); } }   /* touch screens have no hover: show the full dimension */

/* ---------- Client story: quote first, the finished project one click away ---------- */
.story { margin: 0 auto; max-width: 54rem; }
.story[hidden] { display: none; }
.story:not([hidden]) { animation: story-in .5s var(--ease); }
@keyframes story-in { from { opacity: 0; transform: translateX(1.5rem); } }
@media (prefers-reduced-motion: reduce) { .story:not([hidden]) { animation: none; } }
.story__quote { margin: 0; }
.story__quote p { margin: 0; font: italic 500 clamp(1.4rem, 2.6vw, 2rem)/1.35 var(--font-serif); color: var(--navy); }
/* Pull quote: one oversized champagne mark above the quote, no box */
.story__quote::before { content: "\201C"; display: block; font: 400 clamp(5rem, 10vw, 7.5rem)/.7 var(--font-serif); color: var(--champagne); margin-bottom: .75rem; }
.story__who { margin-top: 1.5rem; display: flex; justify-content: center; align-items: center; gap: .9rem; font: 600 .8rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; }
.story__who .story__room { color: var(--champagne); }
.story__who .story__room::before { content: ""; display: inline-block; width: .45em; height: .45em; margin-right: .9rem; background: var(--champagne); transform: rotate(45deg); vertical-align: .1em; }
.story__link { margin-top: 2rem; display: inline-flex; }
/* Arriving from a story: the linked project is framed so it is obvious which one it is */
.project { scroll-margin-top: calc(var(--header-h) + 2rem); }
.project:target .project__media { box-shadow: 0 0 0 2px var(--navy), 0 0 0 3px var(--champagne); }
.project:target .project__name::after { content: "Client story"; display: block; margin-top: .4rem; font: 600 .7rem/1 var(--font-sans); letter-spacing: .2em; color: var(--champagne); }

/* The story box: framed like the brand button (inset champagne hairline), arrows + count underneath */
.stories__box {
  margin: 2.5rem auto 0; max-width: 58rem; padding: clamp(2rem, 5vw, 3.75rem) clamp(1.25rem, 5vw, 4rem) 1.75rem;
  background: none; box-shadow: none;
}
.stories__slides { min-height: 15rem; display: flex; align-items: center; }
.stories__nav { margin-top: 2rem; display: flex; justify-content: center; align-items: center; gap: 1.25rem; }
.stories__btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: transparent; color: var(--navy); border: 1px solid var(--champagne); border-radius: 0;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.stories__btn:hover, .stories__btn:focus-visible { background: var(--navy); color: var(--neutral); }
.stories__count { min-width: 3.5rem; font: 600 .8rem/1 var(--font-sans); letter-spacing: .18em; color: var(--navy); }
/* Stories keep the height of the longest one, so the arrows never jump */
.stories__slides { display: grid; min-height: 0; }
.stories__slides .story { grid-area: 1 / 1; align-self: center; }
.stories__slides .story[hidden] { display: block; visibility: hidden; }
.story__link { justify-content: center; text-align: center; }

/* One-line process pointer on space pages (the four steps live on the homepage and /process/) */
.pointer { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.pointer__inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.pointer__text { margin: 0; max-width: 40rem; font: italic 500 clamp(1.35rem, 2.4vw, 1.9rem)/1.3 var(--font-serif); color: var(--neutral); }
/* Room features: 4 items → 2x2 then 4 across; 3 items → 3 across. Never a lone item on its own row. */
@media (min-width: 1024px) {
  .features .features__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .features .features__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features .features__grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1023px) { .features .features__grid--3 { grid-template-columns: 1fr; } }

/* Route cards with a photo (Custom Closets: Walk-In / Reach-In) */
.route--photo { padding-top: 0; overflow: hidden; justify-content: flex-start; }
.route__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin: 0 -2.2rem .75rem; background: var(--navy-2); }
.route__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.route--photo:hover .route__media img { transform: scale(1.04); }
/* A real photo in a space page's intro, in place of the image slot */
.intro-photo { margin: 2rem 0 0; }
.intro-photo img { width: 100%; height: auto; display: block; }
/* Full-width photograph between sections (no headline) */
.photo-break { margin: 0; }
.photo-break img { display: block; width: 100%; height: clamp(18rem, 56vw, 44rem); object-fit: cover; }
/* Looping card video over its still photo; fades in only once it is actually playing */
.route__media { position: relative; }
.route__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.route__loop.is-playing { opacity: 1; }
.route--photo:hover .route__loop { transform: scale(1.04); }
/* Photo route cards: the sentence runs the card's full width; if it must wrap, lines balance so no word sits alone */
.route--photo p { max-width: none; text-wrap: balance; }
/* Overlays drawn in a 2400-wide photo space: scale strokes and labels to match the 1600-wide homepage overlay */
.measure--2400 .m-ext { stroke-width: 1.65; }
.measure--2400 .m-dim, .measure--2400 .m-tick { stroke-width: 2.7; }
.measure--2400 .measure__text text { font-size: 36px; }
/* Dark photographs (navy cabinetry): light lines and labels */
.measure--light .measure__lines line { stroke: var(--neutral); }
.measure--light .measure__text text { fill: var(--neutral); }

/* Placeholder photo grids (Commercial rooms, About owner + shop) */
.photo-grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .photo-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .photo-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo-card { margin: 0; }
.photo-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.photo-card figcaption { margin-top: .7rem; font: italic 500 1.05rem/1.3 var(--font-serif); color: var(--champagne); }
.section--light .photo-card figcaption { color: #7a5f3f; }
/* Headings and sublines balance their lines, so a word like "When" never sits alone on the last line */
h1, h2, h3, .h2, .subline { text-wrap: balance; }
/* no single word stranded on the last line of a paragraph */
p, li, blockquote, figcaption { text-wrap: pretty; }

/* Process: a photo beside each step */
.steps--photos { max-width: 68rem; }
.step__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-top: 1rem; }
@media (min-width: 768px) {
  .steps--photos .step { grid-template-columns: 5rem 1fr 18rem; align-items: start; }
  .steps--photos .step__img { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; }
}

/* Commercial: a slow, continuous strip of room photos (no scroll trigger); pauses on hover */
.marquee { overflow: hidden; margin-top: 3rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; will-change: transform; backface-visibility: hidden; }  /* 80s -> 40s, Madyson 11/10 */
.marquee__set { display: flex; gap: 1.25rem; padding-right: 1.25rem; }
.marquee__card { margin: 0; flex: 0 0 auto; }
.marquee__card img { height: clamp(14rem, 26vw, 20rem); width: auto; display: block; }
.marquee__card figcaption { margin-top: .7rem; font: italic 500 1.05rem/1.3 var(--font-serif); color: var(--champagne); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
  .marquee__set[aria-hidden] { display: none; }
}
@media (min-width: 768px) { .steps--photos .step { grid-template-rows: auto 1fr; } }
@media (min-width: 1024px) { .marquee { margin-left: var(--gutter); } }
/* Our work: Jolene's real job photos. Tall 3:4 cards like the homepage Spaces gallery; landscape shots span two columns. */
.gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 10px; }
@media (min-width: 1100px) { .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery__item { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy-2); }
.gallery__item[hidden] { display: none; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.gallery__item--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__more { margin-top: 2rem; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
@media (max-width: 1099px) { .gallery__item--feature { grid-row: auto; aspect-ratio: 3 / 4; } }
/* A tall (portrait) photo in place of a landscape intro photo */
.intro-photo--tall { max-width: 28rem; }
/* Before and After on /process/: each pair side by side, two columns at every width */
.gallery__grid--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; }
@media (min-width: 1100px) { .gallery__grid--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery__grid--pairs .gallery__item--wide { grid-column: auto; }
/* Designers & Builders: the iConcierge photos follow the room strip on the same navy ground, so no second top gap */
.rooms-strip + .gallery.section--dark { padding-top: 0; }
/* iConcierge photos: hover zoom on devices with a pointer. Uses the separate `scale` property so it stacks with the scroll drift (a transform). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery--motion .gallery__item img { transition: scale .9s var(--ease); }
  .gallery--motion .gallery__item:hover img { scale: 1.05; }
}
/* Before and After: centered, with a typed label on each photo */
.gallery--pairs .section-head { text-align: center; }
.gallery__grid--pairs { margin-inline: auto; }
.gallery__item { position: relative; }
.gallery__label { position: absolute; left: 12px; bottom: 12px; padding: .35rem .7rem; background: var(--navy); color: var(--neutral);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.gallery--pairs .section-head { margin-inline: auto; }
/* Client stories: carousel dots (added by main.js only when there are 2+ stories) */
.stories__dots { display: flex; justify-content: center; gap: 4px; margin-top: 2rem; }
.stories__dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.stories__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--navy); transition: background-color .3s, transform .3s; }
.stories__dot[aria-current="true"]::before { background: var(--navy); transform: scale(1.15); }
.stories__dot:focus-visible { outline: 1px solid var(--navy); outline-offset: 2px; }

/* prose block directly under a section head: the head already carries the spacing */
.section-head + .prose { margin-top: 0; }

/* back-to-back light sections share one ground: don't stack two full paddings between them */
.section--light + .section--light:not(.consult) { padding-top: calc(var(--section) * .4); }
.section-head__lead { margin: .9rem 0 0; max-width: 40rem; font-size: 1.0625rem; }
/* walk-in floor plans: storage in champagne, the room in navy, door swing dashed */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); max-width: 44rem; margin: 3rem 0 0; }
.plan { margin: 0; }
.plan svg { display: block; width: 100%; height: auto; }
.plan__storage { fill: var(--champagne); opacity: .55; }
.plan__wall { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: square; }
.plan__door { fill: none; stroke: var(--navy); stroke-width: 1.25; stroke-dasharray: 3 3; }
.plan figcaption { margin-top: .75rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.section--light:has(+ .section--light:not(.consult)) { padding-bottom: calc(var(--section) * .4); }
/* walk-in layout section: copy left, the floor plans fill the right column (option A, 10/17) */
.split { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 4rem; align-items: center; } }
.split .plans { grid-template-columns: 1fr; gap: 1.75rem; max-width: none; margin: 0; }
.split .plan { display: grid; grid-template-columns: minmax(0, 15rem) auto; justify-content: start; align-items: center; gap: 1.75rem; }
.plan__symbols rect, .plan__symbols line, .plan__symbols path { fill: none; stroke: var(--navy); stroke-width: .9; }
.plan__symbols .plan__fine { stroke-width: .7; opacity: .7; }
.plan__symbols .plan__rod { stroke-dasharray: 4 2; }
.plan__symbols .plan__pull { stroke-width: 1.3; }
.plan .plan__wall { fill: none; stroke: var(--navy); stroke-width: 3.2; stroke-linecap: square; }
.plan .plan__door { fill: none; stroke: var(--navy); stroke-width: .8; stroke-dasharray: 2 2; }
.plan__dims line { stroke: var(--champagne); stroke-width: .9; stroke-linecap: round; }
.plan__num { font: 15px var(--font-hand); fill: var(--champagne); }
.split .plan figcaption { margin: 0; text-align: left; }
@media (max-width: 767px) { .split .plan { grid-template-columns: minmax(0, 13rem) auto; gap: 1.25rem; } }
/* the feature card takes its size from the grid (two rows of 3:4 cards), never from the photo's own height,
   so a very tall phone photo can't stretch the rows and leave holes */
@media (min-width: 1100px) { .gallery__item--feature img { position: absolute; inset: 0; } }
/* reach-in corners plan sits on navy: linework reverses out to champagne and bone */
.plan__shade { fill: var(--champagne); opacity: .22; stroke: none; }
.section--dark .plan__symbols rect, .section--dark .plan__symbols line { stroke: var(--champagne); }
.section--dark .plan__symbols .plan__shade { stroke: none; opacity: .3; }
.section--dark .plan .plan__wall { stroke: var(--neutral); }
.section--dark .plan .plan__door { stroke: var(--neutral); }
.section--dark .plan figcaption { color: var(--champagne); }
.plan__symbols .plan__zone { stroke-width: .7; stroke-dasharray: 2.5 2.5; opacity: .75; }

/* Designers & Builders: text menu of every space (option E, 10/21) */
.trade-rooms { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; column-gap: 2.4rem; row-gap: 1.4rem; }
.trade-rooms a, .trade-rooms span { display: inline-block; padding-bottom: .45rem; border-bottom: 1px solid var(--champagne); font: 600 .8rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.trade-rooms a:hover, .trade-rooms a:focus-visible { border-bottom-width: 2px; }
.trade-rooms span { border-bottom-color: transparent; color: var(--champagne); }

/* About: headshot slot (11/2). Placeholder until Jolene's photographer delivers; swap the slot for an <img>. */
.headshot { margin: 0; max-width: 26rem; }
.headshot__slot { aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 2rem; text-align: center;
  background: #EDE6DC; border: 1px dashed var(--champagne); color: #7a5f3f; font: italic 500 1.1rem/1.4 var(--font-serif); }
.headshot figcaption { margin-top: .7rem; font: italic 500 1.05rem/1.3 var(--font-serif); color: #7a5f3f; }
.quote-slot { max-width: 44rem; margin: 0 auto; padding: 3.5rem 2rem; text-align: center; border: 1px dashed var(--champagne);
  color: var(--champagne); font: italic 500 1.4rem/1.4 var(--font-serif); }

/* About: Jolene's pull quote on the dark section (11/6). Same pull-quote style as the homepage stories. */
.about-quote { margin: 0 auto; max-width: 48rem; text-align: center; }
.about-quote .story__quote p { color: var(--white); }
.about-quote .story__name { color: var(--white); }

/* About: real headshot (11/6) replaces the dashed slot. */
.headshot__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* Footer contact (11/6, Madyson): phone + email under the consultation button, every page. */
.site-footer__contact { margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: .45rem; }
.site-footer__contact a { text-decoration: none; opacity: .85; letter-spacing: .02em; }
.site-footer__contact a:hover, .site-footer__contact a:focus-visible { opacity: 1; color: var(--champagne); }

/* 11/10: project write-up under a gallery header (iConcierge Med Spa) */
.gallery__body { max-width: 40rem; margin: .9rem 0 0; font-size: 1.0625rem; line-height: 1.6; }
.section--dark .gallery__body { color: var(--neutral); }

/* 11/10: tagline inside About copy, Jolene's pick (Option 2) = logo serif italic in champagne */
.tagline-inline { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.18em; color: var(--champagne); }

/* Garage hero on phones: crop toward the workbench and the cabinet legs (Madyson 11/10) */
@media (max-width: 767px) { .hero__img[src*="hero-garage2"] { object-position: 68% center; } }

/* Form result line (forms.js sets data-state) */
.form__status[data-state="error"] { color: #9b2c2c; }
.form__status[data-state="ok"] { color: var(--navy); font-weight: 600; }

/* Privacy policy subheads */
.prose--policy h3 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); margin: 1.2rem 0 -.4rem; }
.prose--policy a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
