/* Self-hosted fonts (was Google Fonts) — latin + latin-ext, variable woff2. */
@font-face{font-family:'Hanken Grotesk';font-style:italic;font-weight:100 900;font-display:swap;src:url('/assets/fonts/hanken-grotesk-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Hanken Grotesk';font-style:italic;font-weight:100 900;font-display:swap;src:url('/assets/fonts/hanken-grotesk-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/hanken-grotesk-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/hanken-grotesk-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Young Serif';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/young-serif-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Young Serif';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/young-serif-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* ============================================================
   Maitland Shutters — site design system
   One idea: olive ink on late linen. The page is a wall at 5pm;
   paper -> linen -> stripe are three steps of the same afternoon,
   olive is the one applied decision per view, brass is hardware.
   Tokens are the brand kit's, verbatim. See brand-kit/system.md.
   ============================================================ */

:root {
  /* Grounds — three steps of the same afternoon; their alternation IS the shadow-stripe */
  --paper:        oklch(97.7% 0.010 87.5);   /* #FAF7F0 page ground — the wall at 5pm */
  --linen:        oklch(95.1% 0.016 82.8);   /* #F4EEE3 cards, bands, the logo tile (fixed) */
  --stripe:       oklch(91.4% 0.026 86.9);   /* #EAE2D0 shadow step — row shading, tool chassis */

  /* Ink */
  --ink:          oklch(26.8% 0.018 77.8);   /* #2B251C text/headings (fixed) — warm umber, never cold */
  --ink-soft:     oklch(44.7% 0.028 90.9);   /* #5A5443 secondary text, labels — AAA on paper */

  /* Primary — river-gum olive (hue ~122: yellow-green leaf, never the lake's cool eucalypt) */
  --olive:        oklch(50.7% 0.064 121.7);  /* #5F6B41 CTA, links, active states (fixed) */
  --olive-deep:   oklch(37.9% 0.047 121.3);  /* #3E4629 hover/pressed, support panels */
  --olive-dusk:   oklch(31.3% 0.035 122.0);  /* #2E3420 dark section grounds — hero frame, pre-footer, footer */

  /* Accent — sun-washed brass (hue 73+: the yellowest metal in the sibling set, never rose) */
  --brass:        oklch(69.6% 0.101 73.2);   /* #C39352 glints, big numerals, focus rings (fixed) — NEVER small text on light */
  --brass-ink:    oklch(51.3% 0.092 79.1);   /* #83601F brass AS TEXT on light — the only body-size brass on paper */
  --brass-bright: oklch(76.4% 0.099 74.4);   /* #D8A968 brass text on dark grounds */

  /* Support */
  --sage:         oklch(74.5% 0.060 117.5);  /* #A9B287 on-dark secondary text/rules (fixed, reversed logo) */
  --hairline:     oklch(87.1% 0.028 88.8);   /* #DCD4C0 1px rules, drawn louvre lines — decorative only */

  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --wrap-prose: 46rem;
  --ease: cubic-bezier(.33,.8,.35,1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* keep [data-lead-success]/[data-lead-error] honest */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--brass); color: var(--ink); }
::placeholder { color: color-mix(in oklab, var(--ink-soft) 32%, transparent); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 2px; }

a { color: var(--olive); text-decoration-color: color-mix(in oklab, var(--olive) 45%, transparent); text-underline-offset: 3px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
a:hover { color: var(--olive-deep); text-decoration-color: var(--olive-deep); }

h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.22rem; font-weight: 600; line-height: 1.3; margin: 0 0 .4em; }
h4 { font-size: 1.02rem; font-weight: 600; margin: 0 0 .35em; }
h1 em, h2 em { font-style: normal; color: var(--olive); } /* Young Serif has no italic: emphasis is olive, by design */
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.prose { max-width: var(--wrap-prose); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }

.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brass-ink); margin: 0 0 .9rem; display: flex; align-items: center; gap: .55rem;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--brass); border-radius: 2px; flex: 0 0 auto; }
.on-dark .kicker { color: var(--sage); }
.on-dark .kicker::before { background: var(--brass-bright); }

.lede { font-size: 1.16rem; font-weight: 500; line-height: 1.6; color: var(--ink-soft); max-width: 44rem; }
.on-dark .lede { color: var(--sage); }
small, .small { font-size: .88rem; }

/* the brand hr: olive sill + rising brass sun (divider.svg) */
hr, .sill-divider {
  border: 0; height: 14px; margin: 2.6rem auto; width: min(240px, 60%);
  background: url("/assets/brand/divider.svg") center / contain no-repeat;
}

/* feature lists take the sunrise bullet */
ul.sunrise { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.sunrise li { padding-left: 1.65rem; position: relative; margin-bottom: .55em; }
ul.sunrise li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 13px; height: 13px;
  background: url("/assets/brand/bullet.svg") center / contain no-repeat;
}

blockquote.pull {
  margin: 2rem 0; padding: .4rem 0 .4rem 3.4rem; position: relative;
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.85rem); line-height: 1.35; color: var(--ink);
}
blockquote.pull::before {
  content: ""; position: absolute; left: 0; top: .55rem; width: 36px; height: 33px;
  background: url("/assets/brand/quote.svg") center / contain no-repeat;
}
blockquote.pull cite { display: block; margin-top: .8rem; font-family: var(--font-body); font-style: normal; font-size: .88rem; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .85rem 1.5rem; border-radius: 7px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--olive); color: var(--paper); }
.btn-primary:hover { background: var(--olive-deep); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--olive); border-color: color-mix(in oklab, var(--olive) 55%, transparent); }
.btn-ghost:hover { border-color: var(--olive); color: var(--olive-deep); background: color-mix(in oklab, var(--olive) 7%, transparent); }
/* on dusk grounds the button flips: paper chip, ink label (olive would sink) */
.btn-on-dark { background: var(--paper); color: var(--ink); }
.btn-on-dark:hover { background: var(--linen); color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--brass-bright); border-color: color-mix(in oklab, var(--brass-bright) 55%, transparent); }
.btn-ghost-dark:hover { border-color: var(--brass-bright); color: var(--brass-bright); background: color-mix(in oklab, var(--brass-bright) 10%, transparent); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.06rem; }

/* ---------- header: paper bar on the brand's sill ---------- */
.site-header { background: var(--paper); position: relative; z-index: 40; }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.05rem;
}
.site-header .logo img { width: clamp(168px, 18vw, 216px); height: auto; }
.site-header .logo { display: inline-flex; }
/* the sill: the mark's olive baseline runs the full width under the header,
   with the brass sun-hub rising at the logo's edge (the fanlight grammar, at 1:1 scale) */
.site-sill { position: relative; height: 2px; background: var(--olive); }
.site-sill::after {
  content: ""; position: absolute; left: clamp(1.1rem, 4vw, 2.2rem); bottom: 0;
  width: 18px; height: 9px; background: var(--brass);
  border-radius: 18px 18px 0 0; /* the half-disc hub, resting on the sill */
}
.nav-primary { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.7rem); }
.nav-primary a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: .35rem 0; border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav-primary a:not(.btn):hover { color: var(--olive-deep); border-bottom-color: var(--brass); }
/* active page: olive underline (driven by body[data-page]) */
body[data-page="shutters"] .nav-primary a[data-nav="shutters"]:not(.btn),
body[data-page="areas"]    .nav-primary a[data-nav="areas"]:not(.btn),
body[data-page="guides"]   .nav-primary a[data-nav="guides"]:not(.btn),
body[data-page="tool"]     .nav-primary a[data-nav="tool"]:not(.btn),
body[data-page="about"]    .nav-primary a[data-nav="about"]:not(.btn) {
  color: var(--olive-deep); border-bottom-color: var(--olive);
}
.nav-toggle { display: none; }

/* mobile drawer: a dusk panel, reversed logo, generous type */
@media (max-width: 900px) {
  .nav-primary { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
    padding: .6rem .4rem; cursor: pointer;
  }
  .nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav-drawer {
    position: fixed; inset: 0; z-index: 60; background: var(--olive-dusk);
    display: flex; flex-direction: column; padding: 1.2rem 1.4rem 2rem;
    transform: translateX(102%); transition: transform .32s var(--ease);
    overflow-y: auto;
  }
  .nav-drawer.open { transform: translateX(0); }
  .nav-drawer .drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.2rem; }
  .nav-drawer .drawer-top img { width: 180px; height: auto; }
  .drawer-close { background: none; border: 0; color: var(--sage); font-size: 2rem; line-height: 1; cursor: pointer; padding: .4rem .6rem; }
  .nav-drawer nav { display: flex; flex-direction: column; gap: .2rem; }
  .nav-drawer nav a:not(.btn) {
    color: var(--paper); text-decoration: none; font-family: var(--font-display);
    font-size: 1.75rem; padding: .55rem 0; border-bottom: 1px solid color-mix(in oklab, var(--sage) 25%, transparent);
  }
  .nav-drawer nav a:not(.btn):hover { color: var(--brass-bright); }
  .nav-drawer .drawer-cta { margin-top: 2rem; }
  .nav-drawer .drawer-note { color: var(--sage); font-size: .88rem; margin-top: 1.4rem; }
}
@media (min-width: 901px) { .nav-drawer { display: none; } }

/* ---------- bands: the afternoon as page structure ---------- */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; }
.band--paper { background: var(--paper); }
.band--linen { background: var(--linen) url("/assets/brand/texture-linen-whisper.webp") center / cover no-repeat; }
.band--stripe { background: var(--stripe); }
.band--rake { background: var(--paper) url("/assets/brand/texture-rake-whisper.webp") center / cover no-repeat; } /* the one raked band per page */
.band--dusk { background: var(--olive-dusk); color: var(--paper); }
.band--dusk-weave { background: var(--olive-dusk) url("/assets/brand/texture-olive-weave.webp") center / cover no-repeat; color: var(--paper); }
.on-dark h1, .on-dark h2 { color: var(--paper); }
.on-dark h1 em, .on-dark h2 em { color: var(--brass-bright); }
.on-dark { color: var(--paper); }
.on-dark p { color: color-mix(in oklab, var(--paper) 92%, var(--sage)); }
.on-dark a:not(.btn) { color: var(--brass-bright); text-decoration-color: color-mix(in oklab, var(--brass-bright) 45%, transparent); }
.on-dark a:not(.btn):hover { color: var(--brass-bright); text-decoration-color: var(--brass-bright); }

/* watermark: the fanlight, large and cropped behind feature content */
.watermarked { position: relative; overflow: hidden; }
.watermarked > .wm {
  position: absolute; right: -6%; bottom: -18%; width: clamp(320px, 38vw, 560px); aspect-ratio: 1;
  background: url("/assets/brand/watermark-mark.svg") center / contain no-repeat;
  color: var(--ink); pointer-events: none;
}
.on-dark.watermarked > .wm, .band--dusk .wm, .band--dusk-weave .wm { color: #F5EFE4; filter: none; }

/* ---------- hero ---------- */
.hero { overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.7rem; align-items: center; }
.hero figure { margin: 0; position: relative; }
.hero figure img { border-radius: 10px; box-shadow: 0 22px 48px -18px rgba(15, 14, 8, .55); }
.hero figcaption { margin-top: .75rem; font-size: .85rem; color: var(--sage); }
/* the louvre strip: five blades that tilt open on arrival (see site.js + MOTION.md).
   Markup default = OPEN (JS-off safe); site.js adds .shut then releases it. */
.louvre-strip { display: block; width: min(300px, 42%); margin-bottom: 1.6rem; overflow: visible; }
.louvre-strip rect { transform-box: fill-box; transform-origin: center; transform: rotate(-18deg); transition: transform 1s var(--ease); }
.louvre-strip rect:nth-child(2) { transition-delay: .06s; }
.louvre-strip rect:nth-child(3) { transition-delay: .12s; }
.louvre-strip rect:nth-child(4) { transition-delay: .18s; }
.louvre-strip rect:nth-child(5) { transition-delay: .24s; }
.louvre-strip.shut rect { transform: rotate(64deg); transition: none; }
@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero figure { order: 2; }
}

/* ---------- feature rows (the services hierarchy is the layout) ---------- */
.feature-row {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.6rem, 3.6vw, 3.2rem); align-items: center;
  padding-block: clamp(1.6rem, 3vw, 2.6rem);
}
.feature-row.flip > figure { order: -1; }
.feature-row figure { margin: 0; }
.feature-row figure img { border-radius: 10px; }
.feature-row .tag-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem 0 1.1rem; }
@media (max-width: 820px) {
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; }
  .feature-row.flip > figure { order: 0; }
}

.tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: .28rem .7rem; border-radius: 999px; background: var(--sage); color: var(--ink);
}
.tag--outline { background: transparent; border: 1px solid var(--hairline); color: var(--ink-soft); }

/* smaller paired cards (the lower tiers of the hierarchy) */
.card-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 720px) { .card-pair { grid-template-columns: 1fr; } }
.svc-card {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(43, 37, 28, .4); border-color: var(--brass); }
.svc-card img { aspect-ratio: 3 / 2; object-fit: cover; }
.svc-card .pad { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.svc-card .pad > a { margin-top: auto; font-weight: 600; text-decoration: none; }
.svc-card .pad > a:hover { text-decoration: underline; }
.svc-card .icon { width: 44px; height: 44px; object-fit: contain; margin-bottom: .5rem; }

/* ---------- area cards: the two-era split ---------- */
.era-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
@media (max-width: 900px) { .era-grid { grid-template-columns: 1fr; } }
.era-card {
  position: relative; border-radius: 12px; overflow: hidden; min-height: 340px;
  display: flex; align-items: flex-end; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.era-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(20, 18, 10, .5); }
.era-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.era-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(178deg, rgba(46,52,32,0) 26%, rgba(30,34,20,.55) 58%, rgba(30,34,20,.9) 78%);
}
.era-card .txt { position: relative; padding: 1.4rem 1.4rem 1.5rem; color: var(--paper); }
.era-card .txt .where { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brass-bright); display: block; margin-bottom: .35rem; }
.era-card .txt h3 { color: var(--paper); margin-bottom: .3rem; }
.era-card .txt p { color: var(--sage); font-size: .92rem; margin: 0; }

/* ---------- process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: .4rem; }
.step .num {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--brass); line-height: 1;
  display: block; margin-bottom: .6rem;
}
.step img { width: 52px; height: 52px; object-fit: contain; margin-bottom: .7rem; }

/* ---------- guide listing ---------- */
.guide-list { list-style: none; margin: 0; padding: 0; }
.guide-list li { border-bottom: 1px solid var(--hairline); }
.guide-list a {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 1rem;
  padding: 1.15rem .2rem; text-decoration: none; color: var(--ink);
  transition: background-color .2s var(--ease), padding-left .25s var(--ease);
}
.guide-list a:hover { background: var(--linen); padding-left: .8rem; color: var(--ink); }
.guide-list .g-title { font-weight: 600; font-size: 1.08rem; }
.guide-list .g-sub { display: block; color: var(--ink-soft); font-size: .92rem; font-weight: 400; margin-top: .15rem; }
.guide-list .g-go { color: var(--olive); font-weight: 700; }

/* ---------- comparison + measure tables ---------- */
.tbl-wrap { overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; font-size: .96rem; }
table.spec caption { text-align: left; font-weight: 600; padding-bottom: .6rem; }
table.spec th, table.spec td { padding: .7rem .85rem; text-align: left; border-bottom: 1px solid var(--hairline); vertical-align: top; }
table.spec thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); border-bottom: 2px solid var(--olive); }
table.spec tbody tr:nth-child(even) { background: color-mix(in oklab, var(--stripe) 55%, transparent); }
table.spec td.fig { text-align: right; font-weight: 600; white-space: nowrap; }
table.spec .tick { color: var(--olive); font-weight: 700; }

/* ---------- enquiry form: a measure sheet being opened ---------- */
.measure-sheet {
  background: var(--linen); border: 1px solid var(--hairline); border-radius: 12px;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
}
.measure-sheet .sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-bottom: 2px solid var(--olive); padding-bottom: .9rem; margin-bottom: 1.4rem;
}
.measure-sheet .sheet-head img { width: 40px; height: 40px; }
.measure-sheet .sheet-head .sheet-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .35rem; }
.field label .req { color: var(--brass-ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--hairline); border-radius: 7px; padding: .72rem .85rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px color-mix(in oklab, var(--olive) 18%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .86rem; color: var(--ink-soft); }
.form-msg { border-radius: 10px; padding: 1.3rem 1.4rem; margin-top: 1.2rem; }
.form-msg.ok { background: var(--paper); border: 1px solid var(--olive); display: flex; gap: 1.1rem; align-items: center; }
.form-msg.ok img { width: 86px; flex: 0 0 auto; }
.form-msg.err { background: var(--paper); border: 1px solid var(--brass); }

/* ---------- the 5pm test (tool chassis) ---------- */
.tool-shell { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(1.6rem, 3.4vw, 3rem); align-items: start; }
@media (max-width: 940px) { .tool-shell { grid-template-columns: 1fr; } }
.tool-panel {
  background: var(--stripe); border: 1px solid var(--hairline); border-radius: 14px;
  padding: clamp(1.2rem, 2.6vw, 1.9rem);
}
.tool-panel .q { margin-bottom: 1.5rem; }
.tool-panel .q > .q-label { font-weight: 600; margin-bottom: .6rem; display: block; }
.tool-panel .q > .q-label .q-num { font-family: var(--font-display); color: var(--brass-ink); margin-right: .45rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice {
  font: inherit; font-size: .94rem; font-weight: 500; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--hairline); border-radius: 8px;
  padding: .55rem 1rem; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.choice:hover { border-color: var(--olive); transform: translateY(-1px); }
.choice[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--paper); font-weight: 600; }
.tool-viz {
  position: sticky; top: 1.2rem; background: var(--linen);
  border: 1px solid var(--hairline); border-radius: 14px; padding: 1.1rem 1.1rem 1.4rem;
}
@media (max-width: 940px) { .tool-viz { position: static; } }
.tool-viz svg { display: block; width: 100%; height: auto; }
.sun-slider { display: flex; align-items: center; gap: .9rem; margin-top: .9rem; }
.sun-slider label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.sun-slider input[type="range"] { flex: 1; accent-color: var(--olive); }
.sun-slider output { font-weight: 700; font-size: .95rem; min-width: 3.4em; text-align: right; }
.tilt-toggle { display: flex; gap: .5rem; margin-top: .7rem; }
.viz-note { font-size: .82rem; color: var(--ink-soft); margin-top: .7rem; }
.result-card {
  background: var(--paper); border: 1.5px solid var(--olive); border-radius: 12px;
  padding: 1.4rem 1.5rem; margin-top: 1.4rem;
}
.result-card h3 { color: var(--olive-deep); }
.result-card .honesty {
  border-top: 1px solid var(--hairline); margin-top: 1.1rem; padding-top: .9rem;
  font-size: .86rem; color: var(--ink-soft);
}

/* ---------- pre-footer CTA + footer ---------- */
.cta-band .inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.4rem; align-items: center; }
@media (max-width: 820px) { .cta-band .inner { grid-template-columns: 1fr; } }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.site-footer { padding-block: clamp(2.6rem, 5vw, 4rem) 1.6rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.4rem; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .cols img { width: 190px; height: auto; margin-bottom: 1rem; }
.site-footer h4 { color: var(--paper); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer nav { display: flex; flex-direction: column; gap: .35rem; }
.site-footer a:not(.btn) { color: var(--sage); text-decoration: none; font-size: .95rem; }
.site-footer a:not(.btn):hover { color: var(--brass-bright); }
.site-footer .blurb { color: var(--sage); font-size: .92rem; max-width: 30rem; }
.site-footer .legal {
  border-top: 1px solid color-mix(in oklab, var(--sage) 28%, transparent);
  padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center;
  color: var(--sage); font-size: .82rem;
}
.site-footer .legal a:not(.btn) { font-size: .82rem; text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--sage) 45%, transparent); }

/* ---------- page hero (inner pages): dusk strip, plain-what-where H1 ---------- */
.page-head { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.page-head .lede { margin-top: .4rem; }
.crumbs { font-size: .84rem; margin-bottom: 1.1rem; color: var(--sage); }
.crumbs a:not(.btn) { color: var(--sage); }
.crumbs span { opacity: .7; }

/* figure w/ caption used through articles */
figure.shot { margin: 2rem 0; }
figure.shot img { border-radius: 10px; }
figure.shot figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .6rem; }

/* two-up image row */
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 2rem 0; }
@media (max-width: 680px) { .shot-pair { grid-template-columns: 1fr; } }
.shot-pair figure { margin: 0; }
.shot-pair img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.shot-pair figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }

/* references block (guides) */
.refs { border-top: 1px solid var(--hairline); margin-top: 2.6rem; padding-top: 1.4rem; font-size: .9rem; color: var(--ink-soft); }
.refs h2, .refs h3 { font-family: var(--font-body); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.refs ol { padding-left: 1.2rem; margin: .6rem 0 0; }
.refs li { margin-bottom: .5rem; }

/* FAQ details */
details.faq { border-bottom: 1px solid var(--hairline); padding: .35rem 0; }
details.faq summary {
  cursor: pointer; font-weight: 600; padding: .8rem .2rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--brass-ink); transition: transform .25s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .a { padding: 0 .2rem 1rem; color: var(--ink-soft); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 3.4vw, 3rem); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--olive); color: var(--paper);
  padding: .6rem 1rem; border-radius: 0 0 8px 0; z-index: 100; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ============================================================
   node-motion pass — additive interaction layer.
   Nothing here changes the page AT REST; it only governs how the
   node behaves on hover, focus and entry. All movement rides the
   kit's one easing curve and animates transform/opacity only.
   Rationale lives in MOTION.md. site.js already owns the hero
   louvre arrival, the section reveal and the drawer; this layer
   adds the Sun-Catch CTA signature, focus-visible parity, and a
   capped card-settle stagger driven by motion.js.
   ============================================================ */

/* ── Signature: "The Sun-Catch" ──
   The low western sun rakes across the enquiry CTA the moment a
   visitor reaches for it, the way light catches a brass tilt-rod as
   a blade is set. The ::after sheen is invisible and off-screen at
   rest; motion.js adds .sun-catch to run one sweep per hover/focus
   (JS-gated, so reduced-motion never sees it). Reserved for the
   buttons that lead to the measure, so the one flourish on the page
   belongs to the click that matters. */
.btn-primary, .btn-on-dark { position: relative; overflow: hidden; }
.btn-primary::after, .btn-on-dark::after {
  content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 62%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%,
    color-mix(in oklab, var(--brass-bright) 50%, transparent) 50%, transparent 100%);
  transform: translateX(-180%); opacity: 0;
}
.btn-primary.sun-catch::after, .btn-on-dark.sun-catch::after { animation: sun-catch .5s var(--ease) forwards; }
@keyframes sun-catch {
  0%   { transform: translateX(-180%); opacity: 0; }
  22%  { opacity: 1; }
  100% { transform: translateX(320%); opacity: 0; }
}

/* ── Focus-visible parity ──
   Keyboard users get the same affordance hover gives, mirroring the
   existing hover states exactly. The global brass outline is kept
   untouched; these rules add the movement/tint on top of it. */
.btn:focus-visible { transform: translateY(-1px); }
.nav-primary a:not(.btn):focus-visible { color: var(--olive-deep); border-bottom-color: var(--brass); }
.guide-list a:focus-visible { background: var(--linen); padding-left: .8rem; color: var(--ink); }
.era-card:focus-visible { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(20, 18, 10, .5); }
.svc-card:focus-within { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(43, 37, 28, .4); border-color: var(--brass); }
.choice:focus-visible { border-color: var(--olive); transform: translateY(-1px); }

/* ── Blade-settle: capped stagger on card groups ──
   Card groups rise a touch into place as they enter, a gentle
   cascade that walks the eye down through the options toward the
   measure CTA. motion.js adds .settle at runtime, so no-JS and
   reduced-motion visitors rest in place; transform only, so
   visibility never depends on JS. */
.settle { transform: translateY(12px); transition: transform .5s var(--ease); }
.settle.set { transform: none; }

/* ---------- reduced motion: the floor ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .louvre-strip rect { transition: none; }
  .btn-primary::after, .btn-on-dark::after { display: none; }
  .settle { transform: none !important; }
}
