/* IMA House and Memory Care, LLC — Direction A, Lamplight.
   Phone first. Breakpoints: 760px (tablet), 1040px (desktop). */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/fraunces-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;
}

/* ---------- tokens ---------- */
:root {
  --ivory: #FEF8EC;
  --lit: #FFF0CC;
  --shade: #F4E8D2;
  --honey: #DDB98A;
  --gold: #D4A339;
  --gold-lit: #E6C160;
  --brass: #76570F;
  --err: #8E2A1A;
  --green: #024B27;
  --green-band: #01512B;
  --ivory-on-green: #FEF9EC;
  --mist: #B9CDBE;
  --ink: #2A2118;
  --ink-soft: #4A3F33;
  --umber: 34, 20, 8;
  --glow: 255, 205, 120;
  --cast: 92, 58, 20;
  --lamp-x: 25%;
  --lamp-y: 27%;
  --pad: clamp(20px, 5vw, 72px);
  --gap: clamp(28px, 4.4vw, 72px);
  --room: clamp(72px, 9vw, 144px);
  --header-h: 65px;
  --callbar-h: 56px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --face: "Fraunces", Georgia, serif;
  --face-plain: Georgia, "Times New Roman", serif;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--face);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 70;
  font-variant-numeric: lining-nums;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* the lamp pool spills past the photograph; never past the viewport */
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}
.ftr a:focus-visible, .callbar:focus-visible { outline-color: var(--gold-lit); }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--green); color: var(--ivory);
  padding: 14px 20px; border-radius: 4px; font-size: 18px; text-decoration: none;
}
.skip:focus { top: 12px; outline: 3px solid var(--gold-lit); outline-offset: 2px; }

/* Fraunces draws "&" as an ornate form that reads like "®"; no OpenType feature in the
   file offers a plain one, so ampersands use a conventional serif ampersand. */
.amp { font-family: var(--face-plain); font-weight: 400; font-variation-settings: normal; font-size: .94em; }

/* ---------- type roles ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 16px; line-height: 1.4; font-weight: 600;
  letter-spacing: .11em; text-transform: uppercase; color: var(--brass);
}
.h1, .h2 {
  margin: 0; color: var(--green); font-weight: 400;
  letter-spacing: -.018em; line-height: 1.04;
  font-variation-settings: "SOFT" 100;
}
.h1 { font-size: clamp(38px, 10.8vw, 44px); line-height: 1.04; }
.h1 span, .h2 span { display: block; }
.visiting-head .h2 span { display: inline; }
.h2 { font-size: clamp(32px, 8.6vw, 38px); line-height: 1.08; }
.h3 { margin: 0 0 10px; color: var(--green); font-size: 26px; line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
.lead { font-size: 20px; line-height: 1.45; color: var(--ink); }
.body { max-width: 34em; }
.body + .body { margin-top: 1em; }
.note { font-size: 18px; color: var(--ink-soft); }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 30;
  background: var(--ivory);
  border-bottom: 1px solid rgba(221, 185, 138, .6);
}
.hdr-in {
  display: flex; align-items: center; gap: 12px;
  min-height: var(--header-h); padding: 8px 20px;
  max-width: 1440px; margin: 0 auto;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; min-height: 48px; line-height: 0; }
.logo img { height: 44px; width: auto; max-width: none; }
.menu-btn {
  order: 2; margin-left: auto;
  min-height: 48px; min-width: 76px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; font-size: 20px; font-weight: 500; color: var(--green);
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 7px;
}
.nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column;
  background: var(--ivory); border-bottom: 1px solid var(--honey);
  padding: 4px 20px 12px;
  box-shadow: 0 30px 40px -24px rgba(var(--cast), .35);
}
.nav.is-open { display: flex; }
.nav a {
  display: flex; align-items: center; min-height: 54px;
  font-size: 21px; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid rgba(221, 185, 138, .55);
}
.nav a:last-child { border-bottom: 0; }
.nav a:hover { color: var(--green); }
/* where am I: the current page's item carries the gold underline (phone menu: the Menu button's underline) */
.nav a[aria-current="page"] {
  color: var(--green); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 7px;
}
.call {
  display: none; order: 1;
  align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px;
  background: var(--green); color: var(--ivory); border-radius: 4px;
  font-size: 18px; font-weight: 600; letter-spacing: .01em;
  font-variant-numeric: lining-nums tabular-nums;
  text-decoration: none; white-space: nowrap;
  transition: box-shadow .4s var(--ease);
}
.call-word { font-weight: 400; margin-right: .45em; }
.call:hover, .btn:hover { box-shadow: 0 0 0 6px rgba(var(--glow), .55); }

/* ---------- buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 58px; padding: 0 30px;
  background: var(--green); color: var(--ivory); border-radius: 4px;
  font-size: 20px; font-weight: 500; text-decoration: none; text-align: center;
  transition: box-shadow .4s var(--ease);
}

/* ---------- persistent call bar (phone only) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 max(14px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(14px, env(safe-area-inset-left, 0px));
  background: var(--green); color: var(--ivory); text-decoration: none; white-space: nowrap;
  font-size: clamp(15px, 4.5vw, 19px); font-weight: 500;
  box-shadow: 0 -10px 30px -12px rgba(var(--umber), .45);
}
.callbar-num { font-weight: 700; letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- hero: the lamp lights the page ---------- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); overflow-x: clip; }
.hero-photo { position: relative; margin: 0; grid-row: 1; grid-column: 1; background: rgb(var(--umber)); }
.hero-photo img {
  position: relative; width: 100%;
  aspect-ratio: 4 / 5; max-height: 70svh;
  object-fit: cover; object-position: 5% 50%;
  animation: lamp-photo 2.8s var(--ease) both;
}
.hero-photo::after {
  content: ""; position: absolute; left: var(--lamp-x); top: var(--lamp-y);
  width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%);
  pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 232, 180, .5), rgba(255, 214, 140, .2) 45%, rgba(255, 214, 140, 0));
  animation: lamp-bloom 2.8s var(--ease) both;
}
.hero-text {
  grid-row: 2; grid-column: 1; position: relative;
  padding: 26px var(--pad) 8px;
  background: radial-gradient(ellipse 110% 100% at var(--lamp-x) 0, rgba(var(--glow), .34), rgba(var(--glow), .12) 55%, rgba(var(--glow), 0) 100%);
}
/* Eyebrow and h1 sit on the bottom of the photograph, over a soft umber scrim. */
.hero-head {
  position: absolute; left: 0; right: 0; bottom: 100%; z-index: 2;
  isolation: isolate;
  padding: 0 var(--pad) 26px;
}
.hero-head::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0;
  height: calc(100% + 190px);
  background: linear-gradient(to bottom,
    rgba(var(--umber), 0) 0%,
    rgba(var(--umber), .42) 24%,
    rgba(var(--umber), .74) 42%,
    rgba(var(--umber), .86) 62%,
    rgba(var(--umber), .88) 100%);
}
.hero-head .eyebrow { color: var(--gold-lit); margin-bottom: 12px; font-size: 14px; letter-spacing: .04em; text-shadow: 0 1px 8px rgba(var(--umber), .6); }
.hero-head .eyebrow .dot { display: none; }
.hero-head .eyebrow span { display: block; }
.hero-head .h1 { color: var(--ivory); line-height: 1.02; text-shadow: 0 2px 18px rgba(var(--umber), .55); }
.hero-text .lead { margin-top: 0; max-width: 24em; }
.hero-text .btn { margin-top: 24px; }
.licence { margin-top: 22px; font-size: 18px; line-height: 1.5; color: var(--ink); }
.licence strong { display: block; font-weight: 600; color: var(--green); }

@keyframes lamp-photo { from { filter: brightness(.8) saturate(.82); } to { filter: none; } }
@keyframes lamp-pool { from { opacity: .15; } to { opacity: 1; } }
@keyframes lamp-bloom { from { opacity: 0; } to { opacity: 1; } }

/* ---------- figures ---------- */
.figs { list-style: none; margin: 0; padding: 30px var(--pad) 0; }
.figs li {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--gold);
}
.figs li:last-child { border-bottom: 1px solid var(--gold); }
.figs b {
  flex: 0 0 104px; font-size: 58px; line-height: 1; font-weight: 300;
  letter-spacing: -.03em; color: var(--green); font-variation-settings: "SOFT" 100;
}
.figs b small {
  display: block; margin-top: 2px; font-size: 19px; font-weight: 400;
  letter-spacing: 0; line-height: 1.1;
}
.figs span { font-size: 19px; line-height: 1.3; }

/* ---------- sections ---------- */
.sec { padding: var(--room) 0; scroll-margin-top: calc(var(--header-h) + 12px); }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.lit { background: linear-gradient(100deg, var(--lit) 0%, var(--ivory) 46%, var(--shade) 100%); }
.shot { margin: 0; }
.shot img {
  width: 100%; border-radius: 2px;
  box-shadow: 10px 22px 44px -22px rgba(var(--cast), .5), 3px 5px 12px -8px rgba(var(--cast), .35);
}
.shot figcaption {
  margin-top: 14px; font-size: 18px; line-height: 1.4; color: var(--ink-soft);
  padding-left: 14px; border-left: 2px solid var(--gold);
}

/* owners */
.owners { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.owners .shot { margin: 0 calc(var(--pad) * -1); }
.owners .shot img { border-radius: 0; }
.owners .h2 { margin-bottom: 24px; }
.people { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin: 36px 0 0; padding: 0; }
.people div { padding-top: 18px; border-top: 2px solid var(--gold); }
.people dt { font-size: 27px; line-height: 1.15; font-weight: 500; color: var(--green); letter-spacing: -.01em; }
.people dd { margin: 6px 0 0; font-size: 18px; line-height: 1.45; }
.people dd + dd { margin-top: 0; color: var(--ink-soft); }

/* rooms */
.rooms-text .h2 { margin-bottom: 22px; }
.rooms-text .lead { color: var(--green); max-width: 22em; margin-bottom: 18px; }
.cluster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 44px; }
.cluster .shot.wide, .cluster .shot.tall, .cluster .shot.low { margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); }
.cluster .shot.wide img, .cluster .shot.tall img, .cluster .shot.low img { border-radius: 0; }
.cluster .shot.wide figcaption, .cluster .shot.tall figcaption, .cluster .shot.low figcaption { margin-left: var(--pad); }
.cluster .shot.tall img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }

/* gallery */
.gallery-head { margin-bottom: 36px; }
.gallery-head .h2 { margin-bottom: 20px; }
.gallery { display: flex; flex-direction: column; gap: 28px; }
/* Phone: landscapes and the kitchen portrait take the full column; the other portraits pair up. */
.g-row { display: flex; flex-wrap: wrap; gap: 28px 14px; align-items: flex-start; }
.g-pair { display: flex; gap: 14px; flex: 1 1 100%; align-items: flex-start; }
.gi { margin: 0; min-width: 0; flex: 1 1 100%; }
.gi-link { display: block; line-height: 0; border-radius: 2px; }
.gi-link img {
  width: 100%; border-radius: 2px;
  box-shadow: 8px 14px 30px -16px rgba(var(--cast), .5), 2px 4px 10px -6px rgba(var(--cast), .35);
}
.gi figcaption { margin-top: 10px; font-size: 18px; line-height: 1.35; color: var(--ink-soft); padding-left: 12px; border-left: 2px solid var(--gold); }
/* Grow factors are the photographs' width/height ratios, so every row is justified to one height. */
.g-pair .gi.ar-p { flex: .749 1 0; }
.g-pair .gi.ar-pn { flex: .565 1 0; }
.g-pair .gi.ar-po { flex: .729 1 0; }
.gi-link:focus-visible { outline-offset: 4px; }

/* specialties */
.spec { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.spec-block + .spec-block { margin-top: 44px; }
.spec-block .h3 { margin-bottom: 12px; }
.rule-list { list-style: none; margin: 22px 0 0; padding: 0; border-bottom: 1px solid var(--honey); max-width: 34em; }
.rule-list li { padding: 14px 0; border-top: 1px solid var(--honey); line-height: 1.4; }

/* care lists */
.care { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.care-intro .h2 { margin-bottom: 22px; }
.care-list { margin: 0; padding: 0; border-bottom: 1px solid var(--honey); }
.care-list div { padding: 24px 0 26px; border-top: 1px solid var(--honey); }
.care-list dt { font-size: 25px; line-height: 1.2; font-weight: 500; color: var(--green); letter-spacing: -.01em; }
.care-list dd { margin: 10px 0 0; max-width: 34em; }

/* visiting services */
.visiting { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.visiting-head .h2 { margin-bottom: 22px; }
.visiting-head .lead { max-width: 30em; }
.fine {
  font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 48em;
  padding-left: 14px; border-left: 2px solid var(--gold);
}

/* referrals */
.refer { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.refer .h2 { margin-bottom: 22px; }
.refer .note { margin-top: 1em; max-width: 34em; }

/* move-in offer */
.offer { padding-bottom: 0; }
.offer-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.offer-wrap::after { content: ""; grid-column: 1 / -1; height: 1px; margin-top: max(0px, calc(var(--room) / 2 - var(--gap))); background: var(--gold); }
.offer .h2 { margin-bottom: 22px; }
.offer-intro .lead { max-width: 30em; }
.offer-intro .body { margin-top: 1em; }
.offer-cta { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 30px; }
.offer-mail { display: inline-flex; align-items: center; min-height: 48px; font-size: 20px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.offer-year .eyebrow { margin-bottom: 12px; }
.offer-months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.offer-months li { display: grid; grid-template-rows: calc(14px * 1.4) auto; align-content: start; padding: 12px 0 12px 12px; border-top: 1px solid var(--honey); border-left: 1px solid var(--honey); }
.offer-months li:nth-child(-n+4) { border-top: 0; }
.offer-months li:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.offer-m { font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.offer-d { grid-row: 2; font-size: 32px; line-height: 1.1; font-weight: 300; letter-spacing: -.02em; color: var(--green); }
.offer-months .free { background: var(--green); border-top: 3px solid var(--gold); }
.offer-months .free .offer-m { color: var(--gold-lit); }
.offer-months .free .offer-d { color: var(--ivory); }
.offer-months i { font-style: normal; font-size: 18px; line-height: 1.2; font-weight: 600; letter-spacing: .04em; color: var(--gold-lit); }
.offer-year .note { margin-top: 16px; max-width: 30em; }
.offer-how .h3 { margin-bottom: 18px; }
.offer-steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--honey); }
.offer-steps li { padding: 24px 0 26px; border-top: 1px solid var(--honey); }
.offer-steps li:last-child { padding-top: 23px; border-top: 2px solid var(--gold); }
.offer-n { display: block; margin-bottom: 8px; font-size: 32px; line-height: 1; font-weight: 300; letter-spacing: -.02em; color: var(--green); }
.offer-steps li:last-child .offer-n { color: var(--brass); }
.offer-st { display: block; font-size: 25px; line-height: 1.2; font-weight: 500; color: var(--green); letter-spacing: -.01em; }
.offer-steps p { margin: 10px 0 0; max-width: 34em; }
.offer-fine { margin: 0; }
.offer-fine strong { font-weight: 600; color: var(--green); }

/* workers' comp (OWCP) */
.wc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.wc-intro .h2 { margin-bottom: 22px; }
.wc-intro .lead { max-width: 30em; }
.wc-intro .body { margin-top: 1em; }
.wc-intro .body strong, .wc-partners .body strong { font-weight: 600; color: var(--green); }
.wc-glance { padding: 28px 24px 30px; background: var(--green); border-top: 3px solid var(--gold); color: var(--ivory-on-green); align-self: start; }
.wc-glance .eyebrow { margin-bottom: 16px; color: var(--gold-lit); }
.wc-checks { list-style: none; margin: 0; padding: 0; }
.wc-checks li { position: relative; padding: 0 0 14px 34px; font-size: 19px; line-height: 1.4; }
.wc-checks li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 7px; height: 13px; border: solid var(--gold-lit); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wc-call { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 12px; padding: 0 20px; background: var(--ivory); color: var(--green); border-radius: 4px; font-size: 20px; font-weight: 500; text-decoration: none; }
.wc-call:hover { box-shadow: 0 0 0 6px rgba(var(--glow), .55); }
.wc-glance a:focus-visible { outline-color: var(--gold-lit); }
.wc-how .h3 { margin-bottom: 18px; }
.wc-steps { list-style: none; margin: 0; padding: 0; }
.wc-steps li { padding: 22px 0 26px; border-top: 2px solid var(--gold); }
.wc-steps p { margin: 10px 0 0; max-width: 34em; }
.wc-st { display: block; font-size: 25px; line-height: 1.2; font-weight: 500; color: var(--green); letter-spacing: -.01em; }
.wc-n { display: block; margin-bottom: 10px; font-size: 58px; line-height: 1; font-weight: 300; letter-spacing: -.03em; color: var(--green); font-variation-settings: "SOFT" 100; }
.wc-partners { padding: 28px 24px 30px; background: var(--lit); border: 1px solid var(--honey); align-self: start; }
.wc-partners .eyebrow { margin-bottom: 12px; }
.wc-partners .h3 { margin-bottom: 14px; }
/* ruled rows, like the contact facts; each link fills its 48px row */
.wc-contact { list-style: none; margin: 20px 0 0; padding: 0; border-bottom: 1px solid var(--honey); font-size: 19px; line-height: 1.3; }
.wc-contact li { display: flex; flex-wrap: wrap; align-items: center; column-gap: .28em; min-height: 48px; border-top: 1px solid var(--honey); }
.wc-contact a { display: inline-flex; align-items: center; min-height: 48px; overflow-wrap: anywhere; }
.wc-faq .faq { margin-top: 12px; }
.wc-fine { margin: 0; }
#owcp + .sec { padding-top: 0; }

/* dedicated workers' comp page */
.wcp-tease, .wcp-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.wcp-tease .h2, .wcp-contact .h2 { margin-bottom: 22px; }
.wcp-trio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.wcp-trio .shot img { aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.wcp-link { display: inline-block; margin-top: 18px; font-size: 20px; font-weight: 500; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.wcp-owners { margin-top: 28px; padding-top: 22px; border-top: 2px solid var(--gold); }
.wcp-contact .facts { margin-top: 0; }
.wcp-contact .note { margin: 14px 0 0; max-width: 34em; }
.wcp-contact .fine { margin-top: 22px; max-width: 34em; }
.wc-share { margin: 6px 0 0; font-size: 18px; }
.wc-share a { display: inline-flex; align-items: center; min-height: 48px; text-decoration-color: var(--gold); text-underline-offset: 4px; }
/* the badge wraps as one unit, never mid-phrase */
.wc-badge a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.contact .h2 { margin-bottom: 22px; }
.contact .shot { margin: 0 calc(var(--pad) * -1); }
.contact .shot img { border-radius: 0; }
.faq { margin-top: 30px; border-bottom: 1px solid var(--honey); }
.faq details { border-top: 1px solid var(--honey); }
.faq summary {
  display: list-item; list-style-position: inside; cursor: pointer;
  min-height: 56px; padding: 14px 0; line-height: 1.3;
  font-size: 21px; font-weight: 500; color: var(--green);
}
.faq summary::marker { color: var(--green); }
.faq details p { padding: 0 0 20px; max-width: 34em; }
.who { margin-top: 34px; font-size: 18px; }
.who strong { display: block; font-size: 22px; font-weight: 500; color: var(--green); }
.facts { margin: 22px 0 0; padding: 0; border-bottom: 1px solid var(--honey); }
.facts div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; border-top: 1px solid var(--honey); }
.facts dt { font-size: 16px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--brass); }
.facts dd { margin: 0; font-size: 22px; line-height: 1.35; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
.facts address { font-style: normal; }
.facts dd a { display: inline-flex; align-items: center; min-height: 48px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.facts .big a { font-size: clamp(34px, 9vw, 40px); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.contact .btn { margin-top: 30px; }

/* ---------- callback form: call first, form on tap (F) ---------- */
.cbf { margin: 0; }
.cbf-lead { margin: 0 0 18px; font-size: 18px; line-height: 1.5; max-width: 34em; }
.cbf-lab { display: block; padding: 0; font-size: 16px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--brass); }
.cbf fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.cbf legend { padding: 0; margin-bottom: 2px; }
.cbf-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 28px; margin-bottom: 18px; }
/* brass underline: honey on ivory is only 1.75:1, brass is about 6:1 */
.cbf input[type=text], .cbf input[type=tel] {
  display: block; width: 100%; min-height: 48px; padding: 8px 0 6px; margin: 0;
  font: inherit; font-size: 20px; line-height: 1.3; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--brass); border-radius: 0;
  appearance: none; -webkit-appearance: none; font-variant-numeric: lining-nums;
}
.cbf input[type=text]:focus, .cbf input[type=tel]:focus {
  outline: 3px solid var(--green); outline-offset: 3px; border-bottom-color: var(--green); border-radius: 1px;
}
.cbf input[aria-invalid=true] { border-bottom-color: var(--err); border-bottom-width: 2px; }
.cbf-err { margin: 2px 0 6px; font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--err); }
.cbf-err[hidden] { display: none; }
.cbf-opts { display: flex; flex-wrap: wrap; margin-left: -5px; }
.cbf-opts label { position: relative; display: block; cursor: pointer; }
.cbf-opts input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cbf-opts span {
  display: flex; align-items: center; min-height: 48px; padding: 2px 5px 0; box-sizing: border-box;
  font-size: 17px; white-space: nowrap; color: var(--ink-soft); border-bottom: 2px solid transparent;
}
.cbf-opts label:hover span { color: var(--green); }
.cbf-opts input:checked + span { color: var(--green); font-weight: 600; border-bottom-color: var(--green); }
.cbf-opts input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 2px; }
.cbf-consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; margin: 24px 0 22px; }
.cbf-consent input { width: 24px; height: 24px; margin: 3px 0 0; accent-color: var(--green); }
.cbf-consent input:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.cbf-consent label { font-size: 17px; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.cbf-consent a { color: var(--green); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cbf-consent .cbf-err { grid-column: 2; margin: 0; }
.cbf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.contact .cbf-actions .btn { margin-top: 0; }
.cbf-actions button.btn { border: 0; cursor: pointer; font-family: inherit; }
.cbf-actions button.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.cbf-actions button.btn[disabled] { opacity: .6; cursor: progress; }
.cbf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cbf-fail { margin: 0 0 18px; font-size: 18px; font-weight: 600; color: var(--err); }
.cbf-fail:empty { display: none; }
/* "Rather we call you? +" disclosure: the call button comes first, the form opens on tap */
.cbf-tuck { flex: 0 1 auto; }
.cbf-tuck > summary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 2px; cursor: pointer; list-style: none;
  font-size: 20px; font-weight: 500; color: var(--green);
}
.cbf-tuck > summary > span { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cbf-tuck > summary::-webkit-details-marker { display: none; }
.cbf-tuck > summary::after { content: "+"; content: "+" / ""; font-size: 24px; font-weight: 400; text-decoration: none; display: inline-block; line-height: 1; }
.cbf-tuck[open] > summary::after { content: "\2212"; content: "\2212" / ""; }
.cbf-tuck > summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.cbf-tuck[open] { flex-basis: 100%; }
.cbf-tuck[open] > summary { margin-bottom: 4px; }
.cbf-tuck .cbf { padding-top: 12px; }
.cbf-tuck .cbf .btn { margin-top: 0; }
/* thank-you state, shared with the server-side banner for no-JS posts */
.cbf-done .t, .enquiry-status { margin: 0 0 4px; font-size: 30px; font-weight: 400; letter-spacing: -.01em; line-height: 1.15; color: var(--green); }
.cbf-done p { margin: 0; font-size: 19px; }
.cbf-done:focus { outline: none; }
/* no-JS result line, placed by the Worker just above the form inside the open details */
p.enquiry-status { margin: 8px 0 14px; padding: 0; font-size: 24px; line-height: 1.25; }
#enquiry-status { scroll-margin-top: calc(var(--header-h) + 24px); } /* the 303 and 400 land on it, clear of the sticky header */
p.enquiry-status.is-error { font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: 0; color: var(--err); }
@media (min-width: 760px) {
  .cbf-pair { grid-template-columns: 1fr 1fr; }
}

/* footer */
.ftr {
  background: var(--green-band); color: var(--ivory-on-green);
  padding: 44px var(--pad) calc(48px + var(--callbar-h) + env(safe-area-inset-bottom, 0px));
}
.ftr-in { max-width: 1296px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.ftr img { height: 62px; width: auto; }
.ftr p { font-size: 18px; line-height: 1.55; }
.ftr p + p { color: var(--gold-lit); }
.ftr a { color: var(--ivory-on-green); text-decoration: underline; text-underline-offset: 3px; }
.ftr a:hover { color: var(--gold-lit); }
.ftr .build { margin-top: 10px; font-size: 15px; color: var(--mist); letter-spacing: .02em; }
.ftr-links { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: 18px; line-height: 1.55; }
.ftr-links a { display: inline-flex; align-items: center; min-height: 32px; white-space: nowrap; }
@media (max-width: 480px) { .ftr-links a { white-space: normal } }
.ftr-links a[aria-current="page"] { text-decoration: none; }

/* lightbox */
.lb {
  padding: 0; border: 0; background: var(--ivory); color: var(--ink);
  width: min(1180px, 100vw); max-width: 100vw; max-height: 100svh;
  margin: auto; border-radius: 2px; overflow: hidden;
}
.lb::backdrop { background: rgba(var(--umber), .9); }
.lb-in { padding: 12px 12px 8px; }
.lb-fig { margin: 0; }
.lb-img { margin: 0 auto; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 190px); object-fit: contain; }
.lb-fig figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px 0; font-size: 18px; line-height: 1.35; }
.lb-count { color: var(--ink-soft); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.lb-bar { display: flex; gap: 8px; padding: 6px 0 4px; }
.lb-bar button {
  flex: 1 1 0; min-height: 52px; padding: 0 12px; cursor: pointer;
  font: inherit; font-size: 19px; font-weight: 500; color: var(--green);
  background: transparent; border: 0; border-top: 2px solid var(--gold);
}
.lb-bar button:hover { background: var(--lit); }
html:has(dialog[open]) { overflow: hidden; }

/* ---------- 404 ---------- */
.nf { padding: 72px var(--pad) 120px; max-width: 760px; margin: 0 auto; }
.nf .build { margin-top: 48px; font-size: 15px; color: var(--ink-soft); letter-spacing: .02em; }
.nf .h1 { margin-bottom: 20px; }
.nf .h2 { margin: 48px 0 16px; }
.nf .fine { margin-top: 32px; max-width: 34em; }
.nf .faq { margin-top: 20px; }
.nf .body strong { font-weight: 600; color: var(--green); }
.nf .h1, .nf .h2 { text-wrap: balance; }
.nf .tbl { margin: 20px 0 1em; overflow-x: auto; }
.nf table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--gold); border-bottom: 1px solid var(--honey); }
.nf th, .nf td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-top: 1px solid var(--honey); line-height: 1.35; }
.nf thead th { color: var(--green); font-weight: 600; border-top: 0; }
.nf tbody th { font-weight: 500; color: var(--green); }
.nf .btn { width: auto; display: inline-flex; margin-top: 28px; }

/* ---------- phone only: the fixed call bar does this job ---------- */
@media (max-width: 759px) {
  .hero-text .btn { display: none; }
  /* keyboard focus must not land under the fixed call bar (WCAG 2.4.11) */
  html { scroll-padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px) + 12px); }
}

/* ---------- tablet (760px+) ---------- */
@media (min-width: 760px) {
  :root { --header-h: 80px; --lamp-x: 17.5%; --lamp-y: 24%; }
  body { font-size: 19px; }
  .eyebrow { font-size: 16px; margin-bottom: 18px; }
  .hero-head .eyebrow { font-size: 16px; letter-spacing: .11em; }
  .hdr-in { padding: 10px var(--pad); gap: 14px; }
  .logo img { height: 54px; }
  .call { display: inline-flex; margin-left: auto; }
  .menu-btn { margin-left: 0; }
  .callbar { display: none; }
  .ftr { padding-bottom: 56px; }
  .h1 { font-size: clamp(48px, 7.2vw, 62px); }
  .h2 { font-size: clamp(36px, 4.6vw, 50px); }
  .lead { font-size: clamp(21px, 2.3vw, 25px); }
  .btn { width: auto; display: inline-flex; }

  .hero-photo img { aspect-ratio: 3 / 2; max-height: 70svh; object-position: 0 50%; }
  .hero-head { padding-bottom: 36px; }
  .hero-head::before { height: calc(100% + 200px); }
  .hero-head .eyebrow span { display: inline; }
  .hero-head .eyebrow .dot { display: inline; }
  .hero-text { padding-top: 36px; padding-bottom: 12px; }
  .hero-text .lead { max-width: 28em; }
  .hero-text .btn { margin-top: 28px; }

  .figs { display: flex; gap: 0; padding-top: 44px; max-width: 1440px; margin: 0 auto; }
  .figs li { flex: 1 1 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 22px 20px 24px 0; gap: 16px; }
  .figs li + li { padding-left: 28px; border-left: 1px solid var(--honey); }
  .figs li:last-child { flex-grow: 1.5; }
  .figs b { flex: 0 0 auto; font-size: clamp(56px, 6.2vw, 92px); }
  .figs b small { display: inline; margin: 0 0 0 .2em; font-size: .38em; }
  .figs span { max-width: 10em; font-size: 19px; }

  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }

  .cluster { grid-template-columns: minmax(0, 1.331fr) minmax(0, .749fr); gap: 48px 32px; margin-top: 64px; }
  .cluster .shot.wide, .cluster .shot.tall, .cluster .shot.low { margin-left: 0; margin-right: 0; }
  .cluster .shot.wide img, .cluster .shot.tall img, .cluster .shot.low img { border-radius: 2px; }
  .cluster .shot.tall img { aspect-ratio: auto; object-fit: fill; object-position: 50% 50%; }
  .cluster .shot.wide figcaption, .cluster .shot.tall figcaption, .cluster .shot.low figcaption { margin-left: 0; }
  /* Row 1: bedroom and bathroom share one height. Row 2: kitchen spans the full cluster as a cropped panoramic strip. */
  .cluster .wide { grid-column: 1; grid-row: 1; }
  .cluster .tall { grid-column: 2; grid-row: 1; width: auto; margin: 0; }
  .cluster .low { grid-column: 1 / -1; grid-row: 2; }
  .cluster .low img { aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 42%; }

  .gallery { gap: 40px; }
  .g-row { gap: 40px 24px; }
  .g-pair { display: contents; }
  .g-row .gi.ar-l { flex: 1.332 1 0; }
  .g-row .gi.ar-p { flex: .749 1 0; }
  .g-row .gi.ar-pn { flex: .565 1 0; }
  .g-row .gi.ar-po { flex: .729 1 0; }
  .g-row .gi.ar-d { flex: 1.223 1 0; }
  .g-row .gi.ar-d img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 65%; }

  .care-list div { display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 8px 36px; align-items: baseline; }
  .care-list dd { margin: 0; }
  .svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); border-bottom: 0; }
  .svc-list div { display: block; border-bottom: 0; }
  .svc-list dd { margin-top: 10px; }
  .offer-cta { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 28px; }
  .offer-months li { padding: 16px 0 16px 18px; }
  .offer-months li:nth-child(4n+1) { padding-left: 0; }
  .offer-d { font-size: 40px; }
  .offer-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); border-bottom: 0; }
  .wc { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
  .wc-how, .wc-partners, .wc-faq, .wc-fine { grid-column: 1 / -1; }
  .wc-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
  .wc-n { font-size: clamp(56px, 6.2vw, 92px); margin-bottom: 14px; }
  .wcp-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts div { grid-template-columns: 9.5em minmax(0, 1fr); align-items: baseline; gap: 16px; }
  .facts .big a { font-size: clamp(34px, 3.4vw, 46px); }
  .ftr-in { flex-wrap: nowrap; }
  .lb-in { padding: 20px 24px 12px; }
  .lb { width: min(1180px, 94vw); max-height: 94svh; }
  .lb-img { max-height: calc(94svh - 200px); }
  .lb-bar { gap: 16px; }
}

/* ---------- desktop (1040px+) ---------- */
@media (min-width: 1040px) {
  :root { --lamp-x: 17.5%; --lamp-y: 27%; }
  .menu-btn { display: none; }
  .nav {
    display: flex; flex-direction: row; position: static; order: 0; margin-left: auto;
    padding: 0; border: 0; box-shadow: none; background: transparent;
    gap: clamp(4px, 1.2vw, 22px);
  }
  .nav a { min-height: 48px; padding: 0 8px; font-size: 18px; border: 0; position: relative; white-space: nowrap; }
  .nav a::after {
    content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease);
  }
  .nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav a[aria-current="page"] { font-weight: 400; text-decoration: none; }
  .call { margin-left: 12px; padding: 0 20px; min-height: 50px; }
  .sec { scroll-margin-top: 92px; }
  .cluster .low img { aspect-ratio: 21 / 9; }

  .hero {
    grid-template-columns: minmax(0, 4.7fr) minmax(0, 7.3fr); align-items: center;
    column-gap: clamp(32px, 4vw, 64px); padding: 36px 0 0 var(--pad);
    max-width: 1440px; margin: 0 auto; overflow-x: visible;
  }
  .hero-text { grid-row: 1; grid-column: 1; padding: 0 0 12px; background: none; }
  .hero-photo { grid-row: 1; grid-column: 2; background: none; }
  .hero-photo img {
    aspect-ratio: 1536 / 1153; max-height: none; object-position: 50% 50%;
    border-radius: 2px 0 0 2px; box-shadow: 0 34px 70px -34px rgba(var(--cast), .6);
  }
  .hero-photo::before {
    content: ""; position: absolute; z-index: -1; left: var(--lamp-x); top: var(--lamp-y);
    width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
    background: radial-gradient(closest-side, rgba(var(--glow), .7), rgba(var(--glow), .42) 30%, rgba(var(--glow), .2) 55%, rgba(var(--glow), .07) 78%, rgba(var(--glow), 0));
    animation: lamp-pool 2.8s var(--ease) both;
  }
  .hero-head { position: static; padding: 0; isolation: auto; }
  .hero-head::before { content: none; }
  .hero-head .eyebrow { color: var(--brass); margin-bottom: 22px; text-shadow: none; }
  .hero-head .eyebrow span { display: block; }
  .hero-head .eyebrow .dot { display: none; }
  .hero-head .h1 { color: var(--green); text-shadow: none; line-height: 1.04; font-size: clamp(48px, 4.3vw, 62px); }
  .hero-text .lead { margin-top: 26px; max-width: 24em; }
  .hero-text .btn { margin-top: 34px; }
  .licence { margin-top: 28px; }
  .figs { padding-top: 56px; }

  .owners { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .owners .shot { margin: 0 0 0 calc(var(--pad) * -1); }
  .owners .shot img { border-radius: 0 2px 2px 0; }
  .rooms-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--gap); align-items: start; }
  .rooms-text .h2 { margin-bottom: 0; }
  .rooms-text .eyebrow { grid-column: 1 / -1; }

  .gallery-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--gap); align-items: end; margin-bottom: 56px; }
  .gallery-head .eyebrow { grid-column: 1 / -1; }
  .gallery-head .h2 { margin-bottom: 0; }
  .gallery { gap: 48px; }
  .g-row { gap: 48px 28px; }

  .spec { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .spec-intro { position: sticky; top: 128px; align-self: start; }
  .care { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .care-intro { position: sticky; top: 128px; align-self: start; }
  .visiting { gap: 56px; }
  .visiting-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--gap); align-items: start; }
  .visiting-head .eyebrow { grid-column: 1 / -1; }
  .visiting-head .h2 { margin-bottom: 0; }
  .visiting-head .h2 span { display: block; }
  .refer { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .offer-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .offer-how, .offer-fine { grid-column: 1 / -1; }
  .contact { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; }
  .wc { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .wc-intro { grid-column: 1 / 9; }
  .wc-glance { grid-column: 9 / 13; }
  .wc-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wc-partners { grid-column: 1 / 7; }
  .wc-faq { grid-column: 7 / 13; }
  .wcp-tease { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .wcp-contact { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; }
  .contact .shot { margin: 0 calc(var(--pad) * -1) 0 0; position: sticky; top: 120px; }
  .contact .shot img { border-radius: 2px 0 0 2px; }
  .lb-img { max-height: calc(94svh - 200px); }
}

/* ---------- seven nav items: tighter header between 1040px and 1279px ---------- */
@media (min-width: 1040px) and (max-width: 1279px) {
  .hdr-in { padding-left: 20px; padding-right: 20px; gap: 8px; }
  .nav { gap: 0; }
  .nav a { font-size: 16px; padding: 0 5px; }
  .nav a::after { left: 5px; right: 5px; }
  .call { margin-left: 4px; padding: 0 12px; font-size: 16px; }
}
/* 1280-1439px: the full-size header needs about 1440px once a classic scrollbar takes its
   15px, so the nav steps down one size here rather than pushing the Phone button off-screen */
@media (min-width: 1280px) and (max-width: 1439px) {
  .nav { gap: 0; }
  .nav a { font-size: 17px; padding: 0 7px; }
  .nav a::after { left: 7px; right: 7px; }
  .call { margin-left: 8px; padding: 0 16px; font-size: 17px; }
}

/* ---------- very narrow phones ---------- */
@media (max-width: 359px) {
  .hdr-in { padding-left: 14px; padding-right: 14px; gap: 8px; }
  .logo img { height: 40px; }
  .figs b { flex-basis: 92px; font-size: 52px; }
  .hero-head .eyebrow { font-size: 13.5px; letter-spacing: .05em; }
  .callbar { padding-left: 12px; padding-right: 12px; }
  .offer-months li { padding-left: 7px; }
  .offer-m { letter-spacing: .03em; }
  .wc-partners { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img, .hero-photo::before, .hero-photo::after { animation: none; }
  .call, .btn, .nav a::after { transition: none; }
}

@media print {
  .callbar { display: none; }
  .offer-months .free { background: none; border-top: 3px solid #000; }
  .offer-months .free .offer-d, .offer-months .free .offer-m, .offer-months .free i { color: #000; }
}

@media (forced-colors: active) {
  .offer-months .free { outline: 2px solid CanvasText; outline-offset: -2px; }
}

/* ---------- house hero (body.home-house, 1.9.0) ----------
   The alternative home page: a full-bleed photograph of the house, a header that is clear over it and solid once
   the page scrolls, and a cream stats bar (the figures plus the payment line). The photograph carries no dark layer:
   the white text, the nav and the logo hold their own with layered shadows, and one soft halo sits behind the text
   block only (founder pick 2026-11-05, "E soft halo", brightness level 3). Every rule starts with body.home-house,
   so the classic home page, /workers-comp and the 404 page are untouched. The Worker serves this page at "/" when
   staff choose it in /admin (Site tab). Without JavaScript the header stays solid (noscript.css). */
body.home-house .hdr { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom: 1px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
body.home-house .hdr .logo .logo-solid { display: none; }
body.home-house .hdr .logo .logo-light { display: block; height: 44px; width: auto; }
body.home-house .hdr:not(.is-solid) .logo-light { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)) drop-shadow(0 2px 10px rgba(0, 0, 0, .45)); }
body.home-house .hdr .menu-btn { color: #fff; text-decoration-color: var(--gold-lit); }
body.home-house .hdr:not(.is-solid) .menu-btn { font-weight: 600; text-shadow: 0 1px 1px rgba(0, 0, 0, .7), 0 1px 4px rgba(0, 0, 0, .6), 0 2px 14px rgba(0, 0, 0, .55), 0 0 30px rgba(0, 0, 0, .45), 0 0 6px rgba(0, 0, 0, .6); }
body.home-house .hdr .call { box-shadow: 0 0 0 1px rgba(var(--glow), .55); }
body.home-house .hdr.is-solid { background: var(--ivory); border-bottom-color: rgba(221, 185, 138, .6); }
body.home-house .hdr.is-solid .logo .logo-solid { display: block; }
body.home-house .hdr.is-solid .logo .logo-light { display: none; }
body.home-house .hdr.is-solid .menu-btn { color: var(--green); text-decoration-color: var(--gold); }
body.home-house .hdr.is-solid .call { box-shadow: none; }
body.home-house .hdr-in { min-height: var(--header-h); }
body.home-house, body.hero-light { --hero-shadow: 0 1px 1px rgba(0, 0, 0, .7), 0 1px 4px rgba(0, 0, 0, .6), 0 2px 14px rgba(0, 0, 0, .55), 0 0 30px rgba(0, 0, 0, .45); }
body.home-house .hero.hero-c { position: relative; isolation: isolate; overflow: clip;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch;
  grid-template-rows: minmax(calc(100svh - var(--callbar-h) - env(safe-area-inset-bottom, 0px)), auto) auto;
  max-width: none; margin: 0; padding: 0;
  background: #0a0a0a; color: var(--ivory); }
body.home-house .hero-c .hero-photo { grid-area: 1 / 1; position: relative; order: 0; left: 0; right: 0; top: 0; height: 100%; min-height: 0; margin: 0; background: none; }
body.home-house .hero-c .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto;
  object-fit: cover; object-position: 40% 60%; border-radius: 0; box-shadow: none; }
body.home-house .hero-c .hero-photo::before, body.home-house .hero-c .hero-photo::after { content: none; }
body.home-house .hero-c .hero-text { grid-area: 1 / 1; align-self: start; position: relative; background: none; padding: calc(var(--header-h) + 14px) var(--pad) 18px; margin-top: 0; max-width: none; z-index: 1; }
body.home-house .hero-c .hero-head { position: static; padding: 0; isolation: auto; }
body.home-house .hero-c .hero-head::before { content: none; }
body.home-house .hero-c .hero-text::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -10px -50px -30px -60px;
  background: radial-gradient(ellipse closest-side, rgba(10, 10, 10, .3) 0%, rgba(10, 10, 10, .2) 55%, rgba(10, 10, 10, 0) 100%); }
body.home-house .hero-c .hero-head .eyebrow { color: #FFE7A0; text-shadow: var(--hero-shadow); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
body.home-house .hero-c .hero-head .h1 { color: #fff; text-shadow: var(--hero-shadow); font-size: clamp(30px, 8.4vw, 34px); }
body.home-house .hero-c .lead { color: #fff; text-shadow: var(--hero-shadow); font-size: 16px; line-height: 1.38; margin-top: 10px; max-width: 24em; }
body.home-house .hero-c .licence { color: #fff; text-shadow: var(--hero-shadow); font-size: 14px; line-height: 1.4; margin-top: 10px; }
body.home-house .hero-c .licence strong { color: var(--gold-lit); }
body.home-house .hero-c .hero-head .h1 span { display: inline; }
body.home-house .hero-c .figs { display: flex; margin: auto 0 0; padding: 0 var(--pad);
  border-top: 1px solid rgba(221, 185, 138, .8); background: #F4E8D2;
  grid-area: 2 / 1; position: relative; z-index: 1; }
body.home-house .hero-c .figs li,
body.home-house .hero-c .figs li:last-child { flex: 1 1 0; min-width: 0; display: grid; grid-template-rows: auto 1fr; align-content: start; justify-items: start; gap: 4px;
  border: 0; padding: 12px 8px 12px 0; }
body.home-house .hero-c .figs li + li { border-left: 1px solid rgba(118, 87, 15, .3); padding-left: 12px; }
body.home-house .hero-c .figs span { font-size: 10.5px; line-height: 1.25; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; color: #76570F; max-width: none; }
body.home-house .hero-c .figs span { grid-row: 1; min-height: 3.75em; }
body.home-house .hero-c .figs b { grid-row: 2; align-self: start; line-height: 1; flex: none; font-size: 30px; color: #024B27; font-weight: 300; }
body.home-house .hero-c .figs b small { display: inline; margin: 0 0 0 .2em; font-size: .42em; }
@media (min-width: 760px) {
  body.home-house .hero.hero-c { display: flex; flex-direction: column; min-height: 100svh; justify-content: flex-start; }
  body.home-house .hero-c .hero-photo { position: absolute; z-index: -1; inset: 0; height: 100%; min-height: 0; order: 0; }
  body.home-house .logo .logo-light,
  body.home-house .hdr .logo .logo-light { height: 54px; }
  body.home-house .hero-c .hero-photo img { object-position: 30% 62%; }
  body.home-house .hero-c .figs { position: relative; z-index: 1; }
  body.home-house .hero-c .hero-text { margin-top: 0; padding: 112px var(--pad) 36px; }
  body.home-house .hero-c .hero-text::before { inset: 60px auto -10px -90px; width: 760px; }
  body.home-house .hero-c .hero-head .eyebrow { font-size: 15px; }
  body.home-house .hero-c .hero-head .h1 { font-size: clamp(44px, 6vw, 62px); max-width: 15em; }
  body.home-house .hero-c .lead { font-size: clamp(19px, 2.2vw, 23px); max-width: 30em; }
  body.home-house .hero-c .licence { font-size: 17px; max-width: 34em; }
  body.home-house .hero-c .btn { margin-top: 26px; }
  body.home-house .hero-c .figs li,
  body.home-house .hero-c .figs li:last-child { padding: 18px 16px 18px 0; }
  body.home-house .hero-c .figs li + li,
  body.home-house .hero-c .figs li + li:last-child { padding-left: 28px; }
  body.home-house .hero-c .figs span { font-size: 12.5px; min-height: 0; }
  body.home-house .hero-c .figs b { font-size: clamp(34px, 3.4vw, 46px); }
}
@media (min-width: 1040px) {
  body.home-house .hero.hero-c { max-width: none; padding: 0; margin: 0; }
  body.home-house .hero-c .hero-photo img { object-position: 0% 62%; }
  body.home-house .hdr:not(.is-solid) .nav a { color: #fff; font-weight: 600; text-shadow: 0 1px 1px rgba(0, 0, 0, .7), 0 1px 4px rgba(0, 0, 0, .6), 0 2px 14px rgba(0, 0, 0, .55), 0 0 30px rgba(0, 0, 0, .45), 0 0 6px rgba(0, 0, 0, .6); }
  body.home-house .hdr:not(.is-solid) .nav a::after { background: var(--gold-lit); }
  body.home-house .hero-c .hero-text { padding: 112px var(--pad) 28px; }
  body.home-house .hero-c .hero-head .h1 span { display: inline; }
  body.home-house .hero-c .hero-head .h1 { max-width: 11.5em; }
  body.home-house .hero-c .hero-text > * { max-width: 560px; }
  body.home-house .hero-c .hero-head .eyebrow span { display: inline; }
  body.home-house .hero-c .hero-head .eyebrow .dot { display: inline; }
  body.home-house .hero-c .hero-head .eyebrow { font-size: 14px; letter-spacing: .1em; }
  body.home-house .hero-c .hero-head .h1 { font-size: clamp(40px, 3.9vw, 54px); }
  body.home-house .hero-c .lead { max-width: 25em; font-size: 20px; }
  body.home-house .hero-c .licence { font-size: 16px; }
  body.home-house .hero-c .btn { margin-top: 22px; }
  body.home-house .hero-c .figs { padding: 0 var(--pad); }
  body.home-house .hero-c .figs li { flex: 1 1 0; }
  body.home-house .hero-c .figs li:last-child { flex-grow: 1.4; }
}
body.home-house .hero-c .licence-quiet { color: #fff; text-shadow: var(--hero-shadow); font-size: 14px; line-height: 1.5; margin-top: 10px; max-width: 28em; }
body.home-house .hero-c .figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.home-house .hero-c .licence-quiet { font-size: 13.5px; }
body.home-house .hero-c .figs li,
body.home-house .hero-c .figs li:last-child { border-top: 0; padding: 8px 8px 8px 0; gap: 2px; }
body.home-house .hero-c .figs b { font-size: 26px; }
body.home-house .hero-c .figs span { font-size: 10px; }
body.home-house .hero-c .figs li:nth-child(n+3) { border-top: 1px solid rgba(118, 87, 15, .3); }
body.home-house .hero-c .figs li + li { border-left: 0; padding-left: 0; }
body.home-house .hero-c .figs li:nth-child(even) { border-left: 1px solid rgba(118, 87, 15, .3); padding-left: 14px; }
body.home-house .hero-c .figs span { min-height: 0; }
body.home-house .hero-c .figs li.pay b { font-size: 16px; margin-top: 5px; line-height: 1.15; font-weight: 400; }
body.home-house .hero-c .figs li.pay a { color: #024B27; text-decoration: underline; text-decoration-color: rgba(2, 75, 39, .45); text-decoration-thickness: 1px; text-underline-offset: 4px; }
body.home-house .hero-c .figs li.pay a:hover,
body.home-house .hero-c .figs li.pay a:focus-visible { text-decoration-color: #024B27; }
@media (min-width: 760px) {
  body.home-house .hero-c .licence-quiet { font-size: 16px; }
  body.home-house .hero-c .figs b { font-size: clamp(34px, 3.4vw, 46px); }
  body.home-house .hero-c .figs span { font-size: 12.5px; }
  body.home-house .hero-c .figs { grid-template-columns: repeat(4, 1fr); align-items: start; }
  body.home-house .hero-c .figs li,
  body.home-house .hero-c .figs li:last-child { padding: 18px 16px 18px 0; }
  body.home-house .hero-c .figs li:nth-child(n+3) { border-top: 0; }
  body.home-house .hero-c .figs li + li,
  body.home-house .hero-c .figs li:nth-child(even) { border-left: 1px solid rgba(118, 87, 15, .3); padding-left: 28px; }
  body.home-house .hero-c .figs li.pay b { font-size: clamp(18px, 1.6vw, 22px); margin-top: 8px; }
}
@media (min-width: 1040px) {
  body.home-house .hero-c .licence-quiet { font-size: 16px; }
}
/* the payment line: "OWCP (FECA)" never splits; it is a link to #owcp (underline shows it) */
body.home-house .hero-c .figs li.pay a .nw { white-space: nowrap; font-style: normal; }
@media (max-width: 420px) {
  body.home-house .hero-c .figs li.pay b { font-size: 15px; }
}
body.home-house .hero-c .figs span { min-height: 2.5em; } /* two label lines everywhere, so the values share a baseline (three on tablets, where one label wraps to three) */
@media (min-width: 760px) and (max-width: 1039px) {
  body.home-house .hero-c .figs span { min-height: 3.75em; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-house .hdr { transition: none; }
}

/* ---------- light phone hero (body.hero-light, 1.13.0; was body.home-open in 1.12.0) ----------
   Every photo hero except the house page (home, workers' comp, back deck). On phones the dark umber scrim under the eyebrow and
   headline is replaced by the house page's treatment: white text, one shared --hero-shadow, a soft radial halo
   around the text only, and no wash over the photo. 760px and up is the classic hero, unchanged. */
@media (max-width: 759px) {
  body.hero-light .hero-photo img { object-position: 80% 50%; }
  body.home-deck .hero-photo img { object-position: 50% 50%; }
  body.hero-light .hero-head::before { left: -30px; right: -30px; bottom: -6px; height: calc(100% + 24px);
    background: radial-gradient(ellipse closest-side, rgba(10, 10, 10, .3) 0%, rgba(10, 10, 10, .2) 55%, rgba(10, 10, 10, 0) 100%); }
  body.hero-light .hero-head .eyebrow { color: #FFE7A0; text-shadow: var(--hero-shadow); font-weight: 700; }
  body.hero-light .hero-head .h1 { color: #fff; text-shadow: var(--hero-shadow); }
}

/* ---------- Back to admin: shown by site.js only when the staff marker cookie is set ---------- */
.staff-back {
  position: fixed; right: 12px; bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px) + 12px); z-index: 25;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  background: #01502A; color: #FEF8EC; border: 1px solid rgba(254, 248, 236, .55); border-radius: 22px;
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}
.staff-back:hover { background: #013f21; }
.staff-back:focus-visible { outline: 3px solid #E6C160; outline-offset: 2px; }
@media (min-width: 760px) {
  .staff-back { bottom: 16px; right: 16px; }
}

/* careers page: the application form reuses .cbf; these cover its extra field types and status line */
.apply-form { margin-top: 24px; max-width: 34em; }
.apply-form .cbf-f { margin-bottom: 22px; }
.apply-form input[type=email], .apply-form input[type=tel] {
  display: block; width: 100%; min-height: 48px; padding: 8px 0 6px; margin: 0;
  font: inherit; font-size: 20px; line-height: 1.3; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--brass); border-radius: 0;
  appearance: none; -webkit-appearance: none;
}
.apply-form textarea {
  display: block; width: 100%; min-height: 168px; padding: 10px 12px; margin: 6px 0 0;
  font: inherit; font-size: 19px; line-height: 1.45; color: var(--ink); resize: vertical;
  background: transparent; border: 1.5px solid var(--brass); border-radius: 2px;
}
.apply-form input[type=email]:focus, .apply-form input[type=tel]:focus, .apply-form input[type=file]:focus, .apply-form textarea:focus { outline: 3px solid var(--green); outline-offset: 3px; border-color: var(--green); }
.apply-form input[type=email][aria-invalid=true], .apply-form input[type=tel][aria-invalid=true], .apply-form input[type=file][aria-invalid=true], .apply-form textarea[aria-invalid=true] { border-color: var(--err); border-width: 2px; }
.apply-form input[type=file] {
  display: block; width: 100%; min-height: 56px; padding: 12px; margin: 6px 0 0;
  font: inherit; font-size: 18px; line-height: 1.3; color: var(--ink); cursor: pointer;
  background: transparent; border: 1.5px solid var(--brass); border-radius: 2px;
}
.apply-form input[type=file]::file-selector-button {
  min-height: 44px; margin: 0 14px 0 0; padding: 8px 18px; font: inherit; font-size: 17px; font-weight: 600;
  color: var(--green); background: transparent; border: 1.5px solid var(--green); border-radius: 2px; cursor: pointer;
}
.apply-form .cbf-lab { margin-bottom: 8px; }
.apply-form .cbf-hint { margin-top: -2px; margin-bottom: 8px; }
.apply-form .cbf-hint.apply-required { margin: 0 0 20px; }
.apply-form .cbf-f .cbf-hint + .cbf-hint { margin-top: 0; }
.nf .apply-form .fine { margin-top: 0; margin-bottom: 22px; padding-left: 0; border-left: 0; font-size: 17px; }
.nf .apply-form .fine.apply-withdraw { margin: 18px 0 0; }
.apply-received .apply-received-file { margin-top: 18px; font-size: 16px; color: var(--ink-soft); padding-left: 0; border-left: 0; }
.cbf-hint { margin: 4px 0 0; font-size: 17px; line-height: 1.45; color: var(--ink-soft); }
.apply-status { scroll-margin-top: calc(var(--header-h) + 24px); }
.apply-status:empty { display: none; }
.apply-status p { margin: 0 0 12px; font-size: 22px; line-height: 1.3; color: var(--green); }
.apply-status p.is-note { font-size: 17px; line-height: 1.4; color: var(--ink-soft); }
.apply-status p.is-error { font-size: 19px; font-weight: 600; color: var(--err); }
.apply-status:focus { outline: none; }
.apply-form button.btn { border: 0; cursor: pointer; font-family: inherit; }
.apply-form button.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.apply-form button.btn[disabled] { opacity: .6; cursor: progress; }
.nf .eeo { margin-top: 20px; border-left: 0; padding-left: 0; font-size: 16px; color: var(--ink-soft); }
.careers-photo { margin: 28px 0 8px; }
.careers-photo img { display: block; width: 100%; height: auto; border-radius: 2px; }
.apply-received, .apply-closed { margin: 24px 0; padding: 20px 0 4px; border-top: 2px solid var(--gold); max-width: 34em; }
.apply-received[hidden], .apply-closed[hidden] { display: none; }
.apply-received-file { overflow-wrap: anywhere; }
.btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.apply-received:focus, .apply-closed:focus, .apply-received .h3:focus { outline: none; }
.apply-withdraw { margin: 18px 0 0; padding-left: 0; border-left: 0; font-size: 17px; }
.apply-withdraw a { color: var(--green); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cbf-count { margin: 6px 0 0; font-size: 16px; color: var(--ink-soft); }
.cbf-count[hidden] { display: none; }
.apply-nofee { margin: 0 0 12px; font-size: 17px; font-weight: 600; color: var(--green); }
.nf .apply-updated { margin-top: 8px; padding-left: 0; border-left: 0; font-size: 15px; }
