/* Comox Valley Lighting — one stylesheet for every page.
   Tokens come from the Massey 2.0 app (MasseyApps/apps/massey-core/public/style.css) so the
   two read as one family. The only accent is "lamp" amber. No pink. See ../DESIGN.md. */

:root {
  --bg: #f5f4f0; --bg2: #ecebe5; --surface: #ffffff; --raised: #fbfaf7;
  --ink: #231F20; --ink2: #3d393a; --muted: #6b6766; --faint: #a9a4a1;
  --line: #e6e3dc; --line2: #d9d5cc;
  --on-ink: #ffffff; --on-ink-muted: #c9c5c3;
  --lamp: #ffb547; --lamp-deep: #d98a1c; --lamp-ink: #8a5300; --lamp-soft: #fff2d9;
  --ok: #138a5e;
  --night: #121011; --night2: #1c1a1b; --night-line: #2c2a2b;
  --shadow: 0 1px 2px rgba(35,31,32,.04), 0 8px 24px rgba(35,31,32,.06);
  --shadow-lg: 0 20px 60px rgba(35,31,32,.16);
  --radius: 20px; --radius-sm: 14px; --tap: 48px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  --thin: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --max: 1200px; --gutter: 20px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121011; --bg2: #1c1a1b; --surface: #1a1819; --raised: #222021;
    --ink: #f4f2ef; --ink2: #d6d2cf; --muted: #a29d9a; --faint: #6f6a68;
    --line: #2c2a2b; --line2: #3a3738;
    --on-ink: #121011; --on-ink-muted: #4a4546;
    --lamp-ink: #ffb547; --lamp-soft: #33270f;
    --night: #000000; --night2: #121011; --night-line: #262324;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
    --shadow-lg: 0 24px 70px rgba(0,0,0,.6);
  }
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--lamp-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--lamp); }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .95; text-wrap: balance; }
h1 { font-size: clamp(46px, 8vw, 92px); }
h2 { font-size: clamp(36px, 5vw, 58px); }
h3 { font: 700 20px/1.3 var(--font); letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lamp); color: #231F20; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- mockup bar (dropped from the live build) ---------- */
.proto { background: var(--lamp-soft); color: var(--ink); border-bottom: 1px solid var(--line2); font: 500 13px/1.4 var(--font); }
.proto .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 8px; }
.proto strong { font-weight: 800; }
.proto nav { display: flex; flex-wrap: wrap; gap: 6px; }
.proto nav a { text-decoration: none; padding: 3px 10px; border: 1px solid var(--line2); border-radius: 999px; background: var(--surface); }
.proto nav a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 52px; height: auto; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 27px; letter-spacing: .03em; white-space: nowrap; }
.brand-sub { font-family: var(--thin); font-weight: 300; font-size: 12.5px; letter-spacing: .62em; margin-top: 3px; text-transform: uppercase; margin-right: -.62em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.menu-btn { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 999px; color: var(--ink2); white-space: nowrap; }
.nav a:not(.btn):hover { background: var(--bg2); color: var(--ink); }
.nav a:not(.btn)[aria-current="page"] { color: var(--ink); background: var(--bg2); }
.nav .btn { margin-left: 8px; }
@media (max-width: 1179px) {
  .js .menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface); color: var(--ink); font: 700 15px var(--font); cursor: pointer; }
  .menu-btn svg { width: 18px; height: 18px; }
  .nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .js .nav:not(.open) { display: none; }
  .nav a:not(.btn) { font-size: 18px; padding: 14px 12px; border-radius: var(--radius-sm); }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .no-js .site-header .wrap { flex-wrap: wrap; }
  .no-js .nav { position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 0 0 12px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-lamp { background: var(--lamp); color: #231F20; }
.btn-lamp:hover { background: #ffc46b; }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.tight { padding-block: clamp(44px, 6vw, 72px); }
.alt { background: var(--bg2); }
.night { background: var(--night); color: #f4f2ef; --ink: #f4f2ef; --ink2: #d6d2cf; --muted: #a29d9a; --line: #2c2a2b; --line2: #3a3738; --surface: #1a1819; --bg2: #1c1a1b; --lamp-ink: #ffb547; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 800 13px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp-ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lamp) 25%, transparent), 0 0 16px var(--lamp); }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink2); max-width: 62ch; }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--night); overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,8,9,.86) 0%, rgba(10,8,9,.62) 46%, rgba(10,8,9,.12) 100%), linear-gradient(0deg, rgba(10,8,9,.7) 0%, rgba(10,8,9,0) 45%); }
.hero .wrap { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 120px clamp(48px, 8vw, 88px); }
.hero.short .wrap { min-height: min(64vh, 560px); }
.hero h1 { max-width: 14ch; }
.hero .lede { color: #e9e5e1; margin-top: 18px; }
.hero .btn-row { margin-top: 28px; }
.hero .eyebrow { color: var(--lamp); }
.hero-note { margin-top: 18px; font-size: 14px; color: #c9c5c3; }
@media (max-width: 719px) {
  .hero::before { background: linear-gradient(0deg, rgba(10,8,9,.92) 0%, rgba(10,8,9,.72) 50%, rgba(10,8,9,.25) 100%); }
  .hero .wrap { min-height: 600px; padding-top: 180px; }
  .hero.short .wrap { min-height: 480px; }
}
.reveal { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } }

.endorse-hero { display: flex; width: fit-content; align-items: center; gap: 18px; margin-bottom: 28px; padding: 14px 24px 14px 20px; border-radius: 16px; background: rgba(10,8,9,.62); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.endorse-hero span { font: 800 13px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp); white-space: nowrap; }
.endorse-hero svg { height: 80px; width: auto; color: #fff; }
.endorse-hero .lg-ground { fill: #1b1819; }
@media (max-width: 719px) { .endorse-hero { gap: 12px; padding: 10px 14px; } .endorse-hero svg { height: 56px; } }

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding-block: 18px; }
.trust li { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14.5px; color: var(--ink2); }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 24px; display: grid; gap: 10px; align-content: start; }
.card-body p { color: var(--ink2); }
.card .more { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.card .more::after { content: "→"; transition: transform .15s; }
.card:hover .more::after { transform: translateX(3px); }
.card-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg2); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover .card-photo img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .card-photo img, .card .more::after { transition: none; } }
.subject .tag { font: 800 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp-ink); }
.subject h3 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: .02em; }

/* ---------- promise trio ---------- */
.promise { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.promise .big { font-family: var(--display); font-size: 40px; line-height: .95; margin: 0; }
.promise .big span { color: var(--lamp-deep); }
.night .promise { background: var(--night2); }
.night .promise .big span { color: var(--lamp); }

/* ---------- split (text + media) ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > *, .grid > *, .screens > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } .split.wide-text { grid-template-columns: 1.1fr .9fr; } }
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 3 / 2; }
.prose { display: grid; gap: 14px; }
.prose p { color: var(--ink2); }
.prose h3 { margin-top: 10px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--lamp); box-shadow: 0 0 10px color-mix(in srgb, var(--lamp) 70%, transparent); }
.ticks strong { color: var(--ink); }

/* ---------- layers of light ---------- */
.layer { display: grid; grid-template-rows: auto 1fr; }
.layer .card-photo { aspect-ratio: 1 / 1; }
.layer .num { font-family: var(--display); font-size: 18px; letter-spacing: .14em; color: var(--lamp-ink); }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.steps.row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.step { position: relative; padding: 24px 24px 24px 84px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 400 24px/1 var(--display); color: #231F20; background: radial-gradient(circle at 40% 35%, #ffe2a6, var(--lamp) 55%, var(--lamp-deep)); box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--ink); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink2); font-size: 16px; }
.step .who { display: inline-block; margin-bottom: 8px; font: 800 11.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--bg2); color: var(--ink2); }
.step .who.you { background: var(--lamp-soft); color: var(--lamp-ink); }
.steps.row .step { padding: 84px 24px 24px; }
.night .step { background: var(--night2); }
.night .step::before { box-shadow: 0 0 0 4px var(--night2), 0 0 0 6px #f4f2ef; }

/* ---------- callout ---------- */
.side-stick { display: grid; gap: 20px; align-content: start; }
@media (min-width: 900px) { .side-stick { position: sticky; top: 96px; } }
.callout { border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); background: var(--lamp-soft); border: 1px solid color-mix(in srgb, var(--lamp) 45%, transparent); display: grid; gap: 8px; }
.callout h3 { color: var(--lamp-ink); }
.callout p { color: var(--ink); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.stat { padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font: 400 44px/1 var(--display); letter-spacing: .02em; }
.stat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.night .stat { background: var(--night2); }
.night .stat b { color: var(--lamp); }

/* ---------- app screens ---------- */
.screens { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .screens { grid-template-columns: auto auto 1fr; } }
@media (min-width: 900px) { .screens.duo { grid-template-columns: auto 1fr; } }
.phone { width: min(280px, 78vw); margin-inline: auto; border-radius: 40px; padding: 10px; background: #050505; box-shadow: 0 0 0 1px #3a3738, var(--shadow-lg); }
.phone img { border-radius: 30px; aspect-ratio: 1000 / 2165; object-fit: cover; object-position: top; width: 100%; }
.screen-cap { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); max-width: 280px; margin-inline: auto; }
.paper { background: #fff; border-radius: 6px; box-shadow: 0 1px 0 #d9d5cc, var(--shadow-lg); overflow: hidden; }
.paper img { width: 100%; }
.sample-tag { display: inline-block; font: 800 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; background: var(--lamp); color: #231F20; padding: 6px 10px; border-radius: 999px; }

/* ---------- video slot ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b0a0a; display: grid; place-items: center; color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
@media (max-width: 719px) { .video { aspect-ratio: 4 / 3; } }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.video .play { position: relative; display: grid; gap: 14px; justify-items: center; padding: 24px; }
.video .play i { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--lamp); box-shadow: 0 0 40px rgba(255,181,71,.55); }
.video .play i::after { content: ""; border-left: 22px solid #231F20; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video .play b { font: 400 30px/1 var(--display); letter-spacing: .03em; }
.video .play span { font-size: 14px; color: #c9c5c3; max-width: 46ch; }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; } .gallery .w2 { grid-column: span 2; } .gallery .h2 { grid-row: span 2; } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg2); aspect-ratio: 1; }
@media (min-width: 720px) { .gallery figure { aspect-ratio: auto; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; font-size: 12.5px; line-height: 1.35; color: #fff; background: linear-gradient(0deg, rgba(10,8,9,.8), rgba(10,8,9,0)); }
@media (max-width: 719px) { .gallery figcaption { display: none; } }

/* ---------- kelvin scale ---------- */
.kelvin { display: grid; gap: 10px; }
.kelvin-bar { height: 64px; border-radius: var(--radius-sm); background: linear-gradient(90deg, #ff9b3d 0%, #ffb46b 18%, #ffc993 36%, #ffdcb8 54%, #fff0e4 74%, #f4f6ff 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.kelvin-marks { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 13px; color: var(--muted); }
.kelvin-marks b { display: block; color: var(--ink); font: 400 22px/1 var(--display); letter-spacing: .03em; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.swatch { border-radius: var(--radius-sm); padding: 18px; color: #231F20; display: grid; gap: 6px; min-height: 150px; align-content: end; }
.swatch b { font: 400 30px/1 var(--display); }
.swatch span { font-size: 14px; line-height: 1.45; }

/* ---------- learn hub ---------- */
.toc { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); list-style: none; }
.toc a { display: grid; gap: 4px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; height: 100%; }
.toc a:hover { border-color: var(--lamp); }
.toc b { font-weight: 800; }
.toc span { font-size: 14px; color: var(--muted); }
.article { padding-block: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.article:first-of-type { border-top: 0; }
.article .kicker { font: 800 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.article h2 { margin: 10px 0 18px; }
.article .prose { max-width: 70ch; }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg2); }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font: 400 28px/1 var(--display); color: var(--lamp-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding-bottom: 18px; color: var(--ink2); }

/* ---------- massey band ---------- */
.massey { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .massey { grid-template-columns: 1fr 1fr; } }
.massey-logo { width: min(400px, 100%); color: var(--ink); margin: 4px 0 10px; }
.massey-logo .lg-ground { fill: var(--bg2); }
.night .massey-logo { color: #f4f2ef; }
.night .massey-logo .lg-ground { fill: var(--night); }

/* ---------- cta band ---------- */
.cta { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 5vw, 64px); background: var(--night); color: #f4f2ef; display: grid; gap: 18px; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,181,71,.5), rgba(255,181,71,0) 65%); pointer-events: none; }
.cta h2 { max-width: 16ch; }
.cta p { color: #d6d2cf; max-width: 56ch; }
.cta .btn-line { color: #f4f2ef; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form .row2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 14.5px; }
.field .hint { font-size: 13.5px; color: var(--muted); }
input, select, textarea { width: 100%; min-height: var(--tap); padding: 12px 14px; font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--raised); border: 1px solid var(--line2); border-radius: 12px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--lamp) 60%, transparent); outline-offset: 0; border-color: var(--lamp-deep); }
fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--raised); font-weight: 600; font-size: 15px; cursor: pointer; }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--lamp); outline-offset: 2px; }
.form .note { font-size: 13.5px; color: var(--muted); }
.contact-cards { display: grid; gap: 12px; }
.contact-cards a, .contact-cards div { display: grid; gap: 2px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; }
.contact-cards b { font: 400 30px/1 var(--display); letter-spacing: .02em; }
.contact-cards b.txt { font: 700 19px/1.3 var(--font); letter-spacing: 0; overflow-wrap: anywhere; }
.contact-cards span { font-size: 14px; color: var(--muted); }

/* ---------- legal page ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(30px, 4vw, 40px); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink2); }
.legal ul { padding-left: 22px; display: grid; gap: 6px; margin-bottom: 1em; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #d6d2cf; padding-block: 56px 32px; font-size: 15px; }
.site-footer a { color: #f4f2ef; }
.foot { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brand { color: #f4f2ef; }
.foot h4 { font: 800 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #a29d9a; margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { text-decoration: underline; }
.endorse { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 16px; border: 1px solid #2c2a2b; border-radius: var(--radius-sm); }
.endorse svg { width: 120px; flex: none; color: #f4f2ef; }
.endorse svg .lg-ground { fill: var(--night); }
.endorse p { font-size: 14px; line-height: 1.45; }
.legal-line { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2c2a2b; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px; color: #a29d9a; }
.legal-line a { color: #d6d2cf; }

/* ---------- print ---------- */
@media print {
  .site-header, .proto, .site-footer, .btn-row, .cta, .skip { display: none !important; }
  .hero { color: #000; background: none; }
  .hero::before, .hero-img { display: none; }
  body { background: #fff; color: #000; }
}
