/* Afterglow — afterglowbend.com
   Layout: a night-scene "blueprint" world. Dark ground taken from the logo,
   gold used sparingly, warm bulb-white for text, mono labels for the
   technical/plan voice (coordinates, linear feet, step codes). */
:root {
  --night: #151518;        /* logo background */
  --night-2: #1b1b20;      /* raised surfaces */
  --night-3: #23232a;
  --line: rgba(236, 226, 206, 0.13);
  --line-strong: rgba(236, 226, 206, 0.26);
  --fg: #ede6d6;           /* warm bulb white */
  --muted: #a39b8d;
  --dim: #6f695f;
  --gold: #d3a24a;
  --gold-hi: #f5d888;
  --gold-lo: #a8762a;
  --bulb: #ffdfa6;
  --gold-grad: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-lo) 100%);

  --f-display: "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif;
  --f-body: "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --radius: 4px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; line-height: 1.08; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type helpers ---------- */
.label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.label--gold { color: var(--gold); }
.display {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { font-size: var(--step-1); color: var(--muted); max-width: 38ch; line-height: 1.5; }
.prose { max-width: 62ch; color: var(--muted); display: grid; gap: 1em; }
.prose strong { color: var(--fg); font-weight: 400; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  font-family: var(--f-body); font-size: 0.95rem; font-weight: 400;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--fg);
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--gold {
  background: var(--gold-grad); color: #1a1408; border-color: transparent; font-weight: 500;
  box-shadow: 0 0 0 0 rgba(245, 216, 136, 0);
}
.btn--gold:hover { color: #1a1408; box-shadow: 0 0 32px 2px rgba(245, 216, 136, 0.35); }
.btn--sm { padding: 0.6em 1.1em; font-size: 0.85rem; }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(21, 21, 24, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 30px; width: auto; }
.brand span { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: 0.08em; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"]::before { content: "● "; color: var(--gold); font-size: 0.6em; vertical-align: 2px; }
.nav-phone { font-family: var(--f-mono); font-size: 0.8rem; color: var(--fg); text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--fg); border-radius: 999px; padding: 8px 14px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: .12em; cursor: pointer; }
@media (max-width: 1020px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-block; }
  .nav .btn--gold { display: none; }
  .site-header.menu-open { background: var(--night); }
  .site-header.menu-open .nav-links {
    display: grid; position: absolute; top: calc(72px + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    background: var(--night); padding: 12px var(--gutter) 28px; gap: 4px; border-bottom: 1px solid var(--line);
  }
  .site-header.menu-open .nav-links a { display: block; padding: 12px 0; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
  .site-header.menu-open .nav-links .mobile-only { display: block; }
}
.nav-links .mobile-only { display: none; }

/* ---------- preloader (index) ---------- */
.boot {
  position: fixed; inset: 0; z-index: 100; background: var(--night);
  display: grid; place-items: center; padding: 24px;
  transition: opacity .6s ease, visibility .6s;
}
.boot.is-done { opacity: 0; visibility: hidden; }
.boot-inner { width: min(440px, 100%); display: grid; gap: 18px; }
.boot-head { display: flex; justify-content: space-between; align-items: baseline; }
.boot-count { font-family: var(--f-display); font-size: 3.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.boot-list { list-style: none; margin: 0; padding: 0; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--dim); display: grid; gap: 4px; }
.boot-list li { display: flex; gap: 14px; transition: color .2s; }
.boot-list li.on { color: var(--fg); }
.boot-list li.on b { color: var(--gold); }
.boot-list b { font-weight: 400; min-width: 2.6em; }
.boot-bar { height: 1px; background: var(--line); position: relative; overflow: hidden; }
.boot-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  height: clamp(640px, 94vh, 940px);
  background: radial-gradient(120% 80% at 70% 100%, #1d1a17 0%, var(--night) 60%), var(--night);
  isolation: isolate;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: none; }
.hero.no-cursor canvas { cursor: crosshair; }
.hero-ui { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-ui .wrap { height: 100%; position: relative; }
.hero-meta {
  position: absolute; top: calc(104px + env(safe-area-inset-top, 0px)); left: var(--gutter);
  list-style: none; margin: 0; padding: 0; display: grid; gap: 3px;
}
.hero-meta li { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.hero-meta li b { color: var(--dim); font-weight: 400; display: inline-block; min-width: 8.5em; }
.hero-copy {
  position: absolute; left: var(--gutter); bottom: clamp(40px, 9vh, 96px);
  max-width: min(620px, 44%); display: grid; gap: 22px; pointer-events: auto;
}
.hero-copy { pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero-copy h1 { font-family: var(--f-display); font-size: clamp(2.6rem, 1rem + 3vw, 3.9rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.02; }
.hero-copy h1 em { font-style: normal; }
.hero-copy .lede { max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel {
  position: absolute; right: var(--gutter); top: calc(104px + env(safe-area-inset-top, 0px));
  display: grid; gap: 12px; justify-items: end; pointer-events: auto; text-align: right;
}
.hero-hint { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--fg); text-transform: uppercase; animation: pulse 2.4s ease-in-out infinite; }
.hero-progress { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.hero-progress b { color: var(--gold-hi); font-weight: 400; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.swatch {
  font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line-strong); background: rgba(21,21,24,.6); color: var(--muted);
  border-radius: 999px; padding: 6px 10px 6px 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.swatch i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.swatch[aria-pressed="true"] { color: var(--fg); border-color: var(--gold); }
.hero-btns { display: flex; gap: 8px; }
.hero-coords { position: absolute; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }
.hero-coords.br { bottom: 18px; right: var(--gutter); text-align: right; }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--dim); text-transform: uppercase; white-space: nowrap; }
.hero-toast {
  position: absolute; left: 50%; top: 22%; transform: translate(-50%, 8px); opacity: 0;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi);
  transition: opacity .6s, transform .6s; white-space: nowrap; text-align: center;
}
.hero-toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes pulse { 50% { opacity: 0.45; } }

@media (min-width: 900px) and (max-width: 1180px) {
  .hero-meta { display: none; }
  .hero-copy h1 { font-size: clamp(2.4rem, 1rem + 3.4vw, 3.4rem); }
}
@media (max-width: 899px) {
  /* phone/tablet: scene on top, copy flows underneath */
  .hero { height: auto; }
  .hero-ui { position: relative; inset: auto; }
  .hero-ui .wrap { height: auto; }
  .hero-meta, .hero-coords.br, .hero-scroll { display: none; }
  .hero-copy { position: relative; left: auto; bottom: auto; max-width: none; gap: 16px; padding-top: calc(206px + 62vw); padding-bottom: 56px; }
  .hero-copy h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .hero-panel {
    left: var(--gutter); right: var(--gutter); top: calc(88px + env(safe-area-inset-top, 0px));
    grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: start; text-align: left; gap: 6px 12px;
  }
  .hero-hint { grid-column: 1 / -1; }
  .hero-panel .swatches { grid-column: 1 / -1; justify-content: flex-start; order: 3; }
  .hero-panel .swatch { padding: 5px 8px 5px 6px; font-size: 0.6rem; }
  .hero-btns [data-reset] { display: none; }
  .hero-toast { display: none; }
  .hero-copy { margin-inline: var(--gutter); }
}

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--night); }
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 14px 0; animation: tick 40s linear infinite; }
.ticker span { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ticker span::before { content: "✦"; color: var(--gold); margin-right: 48px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section--rule { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-family: var(--f-display); font-size: var(--step-3); font-weight: 500; }
.sec-head .label { grid-column: 1 / -1; }
.sec-head p { color: var(--muted); max-width: 46ch; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* page hero (inner pages) */
.page-hero { padding-top: calc(160px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { font-family: var(--f-display); font-size: var(--step-4); font-weight: 500; max-width: 16ch; margin-top: 18px; }
.page-hero .lede { margin-top: 22px; }
.page-hero::after {
  content: ""; position: absolute; right: -6%; top: 30%; width: 46vw; max-width: 640px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(245, 216, 136, 0.13), transparent 62%);
  pointer-events: none;
}
.crumbs { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }

/* value points */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: 28px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.value + .value { padding-left: 24px; border-left: 1px solid var(--line); }
.value h3 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; }
.value p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding-left: 0; border-left: 0; }
  .value + .value { border-top: 1px solid var(--line); }
}

/* placeholders */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px dashed rgba(211, 162, 74, 0.45);
  background:
    repeating-linear-gradient(135deg, rgba(236,226,206,0.025) 0 10px, transparent 10px 20px),
    var(--night-2);
  display: grid; place-items: center; text-align: center; padding: 20px;
  min-height: 160px;
}
.ph-label { display: grid; gap: 6px; justify-items: center; }
.ph-label .label { color: var(--gold); }
.ph-label small { font-family: var(--f-mono); font-size: 0.68rem; color: var(--dim); letter-spacing: 0.06em; }
.ph--night { background: radial-gradient(80% 60% at 50% 70%, rgba(255, 210, 140, 0.16), transparent 70%), repeating-linear-gradient(135deg, rgba(236,226,206,0.025) 0 10px, transparent 10px 20px), #121216; }
.ph-inline { border-bottom: 1px dashed var(--gold); color: var(--gold-hi); font-family: var(--f-mono); font-size: 0.85em; }

/* before / after */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }
.ba { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); overflow: hidden; --pos: 50%; user-select: none; }
.ba .ph { position: absolute; inset: 0; min-height: 0; border-radius: 0; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba .ba-before { background: repeating-linear-gradient(135deg, rgba(236,226,206,0.04) 0 10px, transparent 10px 20px), #2a2a2f; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--gold-hi); box-shadow: 0 0 14px var(--gold-hi); pointer-events: none; }
.ba-line::after { content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--night); border: 1px solid var(--gold); color: var(--gold-hi); font-size: 0.6rem; letter-spacing: 0.2em; padding: 8px 10px; border-radius: 999px; white-space: nowrap; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 14px; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 8px; background: rgba(21,21,24,.75); border-radius: 2px; pointer-events: none; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; color: var(--gold-hi); }
.ba-cap { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; }

/* services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--night); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 14px; align-content: start; position: relative; text-decoration: none; transition: background .3s; }
.service:hover { background: var(--night-2); }
.service .label { display: flex; justify-content: space-between; }
.service h3 { font-family: var(--f-display); font-size: var(--step-2); font-weight: 500; }
.service p { color: var(--muted); max-width: 44ch; }
.service .more { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.service:hover .more { color: var(--gold-hi); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 24px 0 0; display: grid; gap: 12px; align-content: start; position: relative; }
.step-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bulb); box-shadow: 0 0 18px 4px rgba(255, 223, 166, 0.5); position: relative; z-index: 1; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--gold) 0%, var(--line-strong) 100%); }
.step h3 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; margin-top: 18px; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 36px; padding-left: 30px; }
  .steps::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), var(--line-strong)); }
  .step-dot { position: absolute; left: -30px; top: 4px; }
  .step h3 { margin-top: 0; }
}

/* season timeline */
.season { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.season > div { padding: 22px 20px; display: grid; gap: 8px; align-content: start; }
.season > div + div { border-left: 1px solid var(--line); }
.season .m { font-family: var(--f-display); font-size: 1.6rem; }
.season p { color: var(--muted); font-size: 0.9rem; }
.season .on { background: linear-gradient(180deg, rgba(211,162,74,0.12), transparent); }
@media (max-width: 900px) {
  .season { grid-template-columns: 1fr; }
  .season > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* split / about */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split > * { min-width: 0; }
.split .ph { aspect-ratio: 4 / 5; max-width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .ph { aspect-ratio: 4 / 3; } }
.split h2 { font-family: var(--f-display); font-size: var(--step-3); font-weight: 500; margin: 16px 0 24px; }
.parent-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.parent-badge .label { color: var(--dim); }
.parent-badge strong { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; color: var(--fg); }

/* video cards */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 960px; }
.video { text-decoration: none; display: grid; gap: 12px; }
.video .ph { aspect-ratio: 9 / 16; max-width: 100%; min-height: 0; transition: border-color .3s; }
.video:hover .ph { border-color: var(--gold-hi); }
.play { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; margin-bottom: 8px; }
.play::after { content: ""; border-left: 14px solid var(--gold-hi); border-block: 9px solid transparent; margin-left: 4px; }
.video-meta { display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .videos { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .video { scroll-snap-align: start; } }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reviews .ph { min-height: 220px; align-content: center; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* areas */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--line); }
.areas--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.areas--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .areas, .areas--3, .areas--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .areas, .areas--3, .areas--5 { grid-template-columns: 1fr; } }
.area { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-width: 0; }
.area h3 { font-family: var(--f-display); font-size: 1.35rem; font-weight: 500; }
.area .label { font-size: 0.64rem; }
.area.home h3::after { content: " ●"; color: var(--gold); font-size: 0.5em; vertical-align: 4px; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--f-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); color: var(--gold); font-size: 1.3rem; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 70ch; display: grid; gap: 0.8em; }
.faq-cat { margin: 56px 0 8px; }
.faq-cat:first-child { margin-top: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; padding-block: clamp(90px, 13vw, 180px); border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; left: 50%; bottom: -40%; width: 120%; aspect-ratio: 2.4; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(245, 216, 136, 0.18), transparent); pointer-events: none; }
.cta-band h2 { font-family: var(--f-display); font-size: var(--step-4); font-weight: 500; max-width: 15ch; margin: 18px auto 20px; }
.cta-band p { color: var(--muted); max-width: 46ch; margin: 0 auto 32px; }
.cta-band .hero-actions { justify-content: center; }
.bulb-row { display: flex; justify-content: center; gap: clamp(18px, 4vw, 44px); margin-bottom: 36px; position: relative; }
.bulb-row::before { content: ""; position: absolute; left: 10%; right: 10%; top: 2px; height: 20px; border-top: 1px solid #3a3a3e; border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: scaleY(-1); }
.bulb-row i { width: 12px; height: 20px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: var(--bulb); box-shadow: 0 0 22px 6px rgba(255, 214, 140, 0.45); position: relative; top: 12px; animation: glow 3.2s ease-in-out infinite; }
.bulb-row i:nth-child(2n) { animation-delay: .8s; top: 18px; }
.bulb-row i:nth-child(3n) { animation-delay: 1.6s; top: 20px; }
@keyframes glow { 50% { opacity: .72; box-shadow: 0 0 14px 3px rgba(255, 214, 140, 0.3); } }

/* service detail */
.detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.detail:first-of-type { border-top: 0; }
.detail > * { min-width: 0; }
.detail h2 { font-family: var(--f-display); font-size: var(--step-3); font-weight: 500; margin: 14px 0 20px; }
.detail .ph { aspect-ratio: 16 / 10; max-width: 100%; margin-bottom: 28px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.checks li { padding-left: 22px; position: relative; color: var(--fg); font-size: 0.95rem; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--bulb); box-shadow: 0 0 8px var(--bulb); }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } }

.options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.option { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.option h3 { font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; }
.option p { color: var(--muted); font-size: 0.9rem; }
.chips { display: flex; gap: 6px; }
.chips i { width: 12px; height: 18px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; display: block; }
@media (max-width: 960px) { .options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .options { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.gallery .ph { min-height: 0; }
.g-a { grid-column: span 7; aspect-ratio: 16 / 11; }
.g-b { grid-column: span 5; aspect-ratio: 4 / 5; }
.g-c { grid-column: span 4; aspect-ratio: 1; }
.g-d { grid-column: span 4; aspect-ratio: 1; }
.g-e { grid-column: span 4; aspect-ratio: 1; }
.gallery .ph { max-width: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .g-a, .g-b, .g-c, .g-d, .g-e { grid-column: auto; aspect-ratio: 4 / 3; } }

/* quote form */
.quote-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--night-2); padding: clamp(20px, 4vw, 44px); min-width: 0; }
.progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 32px; }
.progress li { list-style: none; display: grid; gap: 8px; font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.progress li::before { content: ""; height: 2px; background: var(--line-strong); border-radius: 2px; }
.progress li.done::before, .progress li.active::before { background: var(--gold); box-shadow: 0 0 10px rgba(211, 162, 74, .6); }
.progress li.active { color: var(--fg); }
.progress { padding: 0; margin-top: 0; }
@media (max-width: 520px) { .progress li span { display: none; } }
.fstep { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
.fstep legend { font-family: var(--f-display); font-size: var(--step-2); font-weight: 500; padding: 0; margin-bottom: 4px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > .flabel { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field .opt { color: var(--dim); text-transform: none; letter-spacing: 0; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--night); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(211, 162, 74, 0.18); }
input[type="file"] { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); }
.field.invalid input, .field.invalid select { border-color: #e0715c; }
.err { color: #f0937f; font-size: 0.82rem; min-height: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: 10px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.tile span { display: grid; gap: 4px; padding: 14px 14px 14px 40px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--night); transition: border-color .2s, background .2s; height: 100%; }
.tile span::before { content: ""; position: absolute; left: 14px; top: 17px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--muted); transition: all .2s; }
.tile b { font-weight: 400; }
.tile small { color: var(--dim); font-size: 0.8rem; line-height: 1.4; }
.tile input:checked + span { border-color: var(--gold); background: rgba(211, 162, 74, 0.07); }
.tile input:checked + span::before { background: var(--bulb); border-color: var(--bulb); box-shadow: 0 0 10px var(--bulb); }
.tile input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.review { display: grid; gap: 0; border-top: 1px solid var(--line); }
.review div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.review dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.review dd { margin: 0; overflow-wrap: anywhere; }
.success { text-align: center; padding: 32px 0; display: grid; gap: 16px; justify-items: center; }
.success h2 { font-family: var(--f-display); font-size: var(--step-3); font-weight: 500; }
.success p { color: var(--muted); max-width: 44ch; }
.aside { display: grid; gap: 28px; position: sticky; top: 100px; }
.aside-block { display: grid; gap: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.aside-block .big { font-family: var(--f-display); font-size: 1.8rem; font-weight: 500; text-decoration: none; user-select: all; }
.aside-block p { color: var(--muted); font-size: 0.92rem; }
.copy-btn { justify-self: start; background: none; border: 0; padding: 0; color: var(--gold); font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 960px) { .aside { position: static; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 72px 32px; background: #121215; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid > * { min-width: 0; }
.foot-brand img { width: min(260px, 100%); height: auto; margin-bottom: 18px; }
.foot-brand p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; }
.foot-col h4 { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.foot-col a:hover { color: var(--fg); }
.socials { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.socials a { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 1px dashed rgba(211, 162, 74, 0.5); padding: 6px 10px; border-radius: 999px; color: var(--muted); }
.socials a:hover { color: var(--gold-hi); }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* reveal */
.reveal { transition: opacity .9s ease, transform .9s ease; }
.js .reveal.pre { opacity: 0.001; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal.pre { opacity: 1; transform: none; }
}
.hero-hint .coarse { display: none; }
@media (pointer: coarse) { .hero-hint .fine { display: none; } .hero-hint .coarse { display: inline; } }

/* simplified service list (home) */
.svc-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.svc-list > div { padding: 24px 24px 0 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.svc-list > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.svc-list h3 { font-family: var(--f-display); font-size: 1.4rem; font-weight: 500; }
.svc-list p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) {
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-list > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .svc-list > div:nth-child(n+3) { margin-top: 24px; }
}
@media (max-width: 520px) {
  .svc-list { grid-template-columns: 1fr; }
  .svc-list > div, .svc-list > div + div { padding: 20px 0 0; border-left: 0; margin-top: 0; }
  .svc-list > div + div { border-top: 1px solid var(--line); margin-top: 20px; }
}
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps--3 { grid-template-columns: 1fr; } }
.detail .lede { max-width: 46ch; }

/* ===== Type + layout refresh (Helvetica-style grotesk, tight headlines) ===== */
:root {
  --f-display: "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif;
  --f-body: "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif;
}
body { font-weight: 400; }
h1, h2, h3, legend, .faq summary, .boot-count, .aside-block .big {
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
}
.hero-copy h1, .page-hero h1, .cta-band h2 { font-weight: 700 !important; letter-spacing: -0.045em !important; line-height: 0.98; }
.sec-head h2, .detail h2, .split h2 { letter-spacing: -0.04em !important; line-height: 1; }
h1 em, h2 em { font-style: normal; }
.gold-flat { color: var(--gold); background: none; -webkit-text-fill-color: currentColor; }
.lede { letter-spacing: -0.01em; }

.wordmark { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.05em; color: var(--fg); }
.wordmark b { font-weight: 600; color: var(--gold); }

.label--rule { display: inline-flex; align-items: center; gap: 14px; }
.label--rule::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: 0.7; }

/* hero bottom strip */
.hero .strip { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; display: grid; grid-template-columns: repeat(3, 1fr); z-index: 3; }
.strip i:nth-child(1) { background: #efe6d3; }
.strip i:nth-child(2) { background: #dcc48f; }
.strip i:nth-child(3) { background: var(--gold); }

/* What we do: color panels */
.panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel { min-height: 300px; padding: clamp(22px, 2.6vw, 34px); display: grid; grid-template-rows: auto 1fr auto; gap: 18px; min-width: 0; color: #1c1a16; }
.panel .label { color: rgba(28, 26, 22, 0.7); }
.panel h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1; align-self: center; }
.panel p { font-size: 0.95rem; color: rgba(28, 26, 22, 0.82); }
.panel.p1 { background: #efe6d3; }
.panel.p2 { background: #e2cd98; }
.panel.p3 { background: #c99a45; }
.panel.p4 { background: var(--night-3); color: var(--fg); }
.panel.p4 .label { color: var(--gold); }
.panel.p4 p { color: var(--muted); }
@media (max-width: 1000px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .panels { grid-template-columns: 1fr; } .panel { min-height: 220px; } }

/* How it works: bordered cards */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line-strong); background: var(--night-2); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card h3 { font-size: 1.5rem; }
.card p { color: var(--muted); }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

.pullquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 26px; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); line-height: 1.4; letter-spacing: -0.02em; max-width: 34ch; color: var(--fg); }
.pullquote strong { font-weight: 700; display: block; }

/* What we do: uniform dark cards with a warm glow (replaces swatch colors) */
.panels { gap: 16px; }
.panel, .panel.p1, .panel.p2, .panel.p3, .panel.p4 {
  background: radial-gradient(120% 70% at 50% 115%, rgba(255, 214, 150, 0.14), transparent 60%), var(--night-2);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  min-height: 280px;
  position: relative;
  transition: border-color .3s, background .3s;
}
.panel:hover { border-color: rgba(211, 162, 74, 0.6); }
.panel .label, .panel.p4 .label { color: var(--gold); }
.panel p, .panel.p4 p { color: var(--muted); }
.panel::after {
  content: ""; position: absolute; top: 26px; right: 26px; width: 9px; height: 14px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--bulb); box-shadow: 0 0 16px 4px rgba(255, 214, 140, 0.45);
}
@media (max-width: 520px) { .panel, .panel.p1, .panel.p2, .panel.p3, .panel.p4 { min-height: 200px; } }
.panel h3 { align-self: start; margin-top: 18px; }
.ba-single { max-width: 980px; }
.ba .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Header wordmark: the original serif caps in gold (rest of the site stays on the sans) */
.brand .wordmark-classic { font-family: "OPTI Bodoni Antiqua", "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif; font-size: 1.3rem; font-weight: 500; letter-spacing: 0.08em; }

/* Scripture band */
.verse-q { margin: 0 auto; max-width: 820px; text-align: center; }
.verse-q p { font-family: var(--f-display); font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.03em; color: var(--fg); text-wrap: balance; }
.verse-q cite { display: block; margin-top: 22px; font-style: normal; }
