/* LightControl marketing site — shared design system.
 *
 * Every token comes from Brand Kit v2 (Brand Kit.html in this repo).
 * The ground is showroom black; brass appears only as hairlines, marks,
 * and primary actions; "candle" is the light itself. Radius is 2px
 * everywhere. Fraunces carries display; Hanken Grotesk runs everything
 * else, including tracked-caps labels (mono was retired in v2).
 *
 * --glow is the page-wide dimmer level. The hero slider (site.js) drives
 * it; the hero bloom and every .glow-word respond.
 */

:root {
  /* Surfaces: the showroom at dusk */
  --obsidian:   #070605;
  --obsidian-2: #0C0A08;
  --umber:      #100D0A;
  --umber-hi:   #181410;

  /* Metal: antique brass, used sparingly */
  --brass:      #C6A15B;
  --brass-lo:   #8A6D3B;
  --brass-hair: rgba(198, 161, 91, .22);

  /* Light */
  --champagne:  #E8D6AE;
  --candle:     #F7ECD6;
  --alabaster:  #EFE7D8;
  --ash:        #F4EFE4;

  /* Cool counterpoint (rare) */
  --moonlight:  #9FB3C8;

  /* Text on dark */
  --smoke:      #B4AB9A;
  --smoke-2:    #8A8172;

  /* Ink on light surfaces */
  --ink:        #201A12;
  --ink-2:      #5D5340;
  --hair-lt:    #E3D9C4;

  /* Status (dark-theme values; see Brand Kit §03) */
  --ember:      #C4694F;
  --amber:      #C88A5B;
  --moss:       #9DB58A;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --r: 2px;
  --glow: 0.58;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--obsidian);
  color: var(--champagne);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--brass); color: var(--ink); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.page { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .page { padding: 0 22px; } }

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -0.02em; }
.display { font-family: var(--display); font-optical-sizing: auto; line-height: 1.04; }
em, .em { color: var(--candle); font-style: italic; }
.glow-word {
  color: var(--candle); font-style: italic;
  text-shadow: 0 0 28px rgba(247, 236, 214, calc(var(--glow) * 0.55)),
               0 0 64px rgba(230, 198, 126, calc(var(--glow) * 0.35));
}

/* Tracked-caps label — Hanken, not mono (Brand Kit v2) */
.kv {
  font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.kv-dim { color: var(--smoke-2); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--candle); color: var(--ink);
  padding: 10px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: var(--r);
  text-decoration: none; cursor: pointer; border: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--brass); color: var(--ink); }
.btn--primary::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--candle);
  box-shadow: 0 0 10px rgba(247, 236, 214, .9);
}
.btn--primary:hover { background: var(--champagne); }
.btn--ghost {
  background: transparent; color: var(--champagne);
  border: 1px solid var(--brass-hair);
}
.btn--ghost:hover { border-color: var(--brass); color: var(--candle); }
.btn-arrow { font-weight: 400; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }

/* ---------- Header / nav ---------- */
/* The blur lives on ::before, not the header itself: backdrop-filter on
   an element makes it the containing block for fixed descendants, which
   would trap the mobile nav drawer inside the 68px bar. A pseudo-element
   has no descendants, so .nav-links stays viewport-fixed. The header's
   z-index sits above the scrim (65) so the bar + open drawer stay lit. */
.site-head {
  position: sticky; top: 0; z-index: 70;
  border-bottom: 1px solid var(--brass-hair);
  transition: box-shadow .25s;
}
.site-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(12, 10, 8, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-head.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }
.site-head .page { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-lockup .mark { width: 27px; height: 27px; flex: none; }
.brand-lockup .name {
  font-family: var(--display); font-size: 19px; letter-spacing: -0.01em;
  color: var(--champagne);
}
.brand-lockup .name b { font-weight: 600; }
.brand-lockup .name i { font-style: italic; font-weight: 400; color: var(--candle); }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--smoke); text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--brass); }
.nav-links a[aria-current="page"] { color: var(--candle); }
.nav-links a.nav-cta {
  color: var(--ink); background: var(--brass);
  padding: 10px 18px; border-radius: var(--r);
  letter-spacing: 0.1em;
}
.nav-links a.nav-cta:hover { background: var(--champagne); color: var(--ink); }

.nav-toggle {
  display: none; position: relative; z-index: 75;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: ""; display: block; position: absolute; left: 10px; right: 10px;
  height: 1.5px; background: var(--champagne); transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }
.nav-toggle.is-open::before { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::after { top: 21px; transform: rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 65;
  background: rgba(7, 6, 5, .6);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
    flex-direction: column; align-items: flex-start; gap: 6px;
    width: min(320px, 84vw);
    background: var(--obsidian-2);
    border-left: 1px solid var(--brass-hair);
    padding: 92px 30px 30px;
    transform: translateX(100%); transition: transform .28s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 13px; }
  .nav-links a.nav-cta { text-align: center; margin-top: 18px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(116px, 13vw, 168px) 0 clamp(88px, 9vw, 128px); overflow: hidden; }
.hero .wave {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("/assets/gold-wave-dark.jpg") no-repeat left center;
  background-size: cover;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.55) 34%, transparent 68%);
          mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.55) 34%, transparent 68%);
}
.hero .wave::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--obsidian) 100%);
}
/* Interior-hero variant: filament ribbons anchored right, fading toward
   the left so the headline sits on clean obsidian. */
.hero .wave--ribbons {
  background: url("/assets/gold-wave-dark-2.webp") no-repeat right center;
  background-size: cover;
  opacity: 0.38;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0,0,0,.5) 38%, transparent 72%);
          mask-image: linear-gradient(270deg, #000 0%, rgba(0,0,0,.5) 38%, transparent 72%);
}
.hero .bloom {
  position: absolute; left: 50%; top: 34%; width: 1100px; height: 1100px;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
  background: radial-gradient(circle,
    rgba(247, 236, 214, calc(var(--glow) * 0.20)) 0%,
    rgba(230, 198, 126, calc(var(--glow) * 0.12)) 24%,
    rgba(198, 161, 91,  calc(var(--glow) * 0.05)) 42%,
    transparent 66%);
}
.hero .page { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.eyebrow .rule { width: 46px; height: 1px; background: var(--brass); flex: none; }
.hero h1 {
  font-size: clamp(38px, 7vw, 108px);
  line-height: 1.0; font-weight: 300; letter-spacing: -0.03em;
  color: var(--candle);
}
.hero h1 .lo { display: block; color: var(--champagne); }
.hero .sub {
  max-width: 50ch; margin: 32px 0 0; color: var(--smoke);
  font-size: clamp(16px, 2.1vw, 19px); line-height: 1.55;
}
.hero .sub b { color: var(--champagne); font-weight: 600; }

/* Signature: the dimmer */
.dimmer { margin-top: 50px; max-width: 440px; }
.dimmer .drow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dimmer .dlabel {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--smoke);
}
.dimmer .dval {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--brass); font-variant-numeric: tabular-nums;
}
.dimmer input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 24px; background: transparent; cursor: pointer;
}
.dimmer input[type=range]::-webkit-slider-runnable-track { height: 1px; background: var(--brass-hair); }
.dimmer input[type=range]::-moz-range-track { height: 1px; background: var(--brass-hair); }
.dimmer input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; margin-top: -8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--candle); border: 1px solid var(--brass);
  box-shadow: 0 0 16px rgba(247, 236, 214, .7);
}
.dimmer input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--candle); border: 1px solid var(--brass);
  box-shadow: 0 0 16px rgba(247, 236, 214, .7);
}
.dimmer input[type=range]:focus-visible { outline: 2px solid var(--brass); outline-offset: 6px; }

.hero .meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  border-top: 1px solid var(--brass-hair);
  margin: 68px 0 0; padding-top: 22px;
}
@media (max-width: 720px) { .hero .meta { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.hero .meta dt {
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--smoke-2); margin-bottom: 7px;
}
.hero .meta dd { font-family: var(--display); font-size: 17px; margin: 0; color: var(--champagne); }
.hero .meta dd a { text-decoration: none; }

/* Soft hero for interior pages (contact, pricing, legal, 404) */
.hero--soft { padding: clamp(96px, 10vw, 140px) 0 64px; }
.hero--soft h1 { font-size: clamp(34px, 5vw, 64px); }

/* ---------- Sections ----------
   Generous vertical air on purpose: the space is part of the register. */
.section { border-top: 1px solid var(--brass-hair); padding: clamp(88px, 10vw, 148px) 0; }
section[id] { scroll-margin-top: 88px; }
.section--flush { padding-top: 64px; }
.head {
  display: grid; grid-template-columns: 200px 1fr; gap: 48px;
  align-items: baseline; margin-bottom: 52px;
}
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 14px; } }
.head h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.04; color: var(--champagne); }
.head .lede { color: var(--smoke); font-size: 17px; max-width: 54ch; margin: 18px 0 0; }
.head .lede strong { color: var(--champagne); font-weight: 600; }

/* ---------- Flow strip (the sale, in order) ---------- */
.flow {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .06em;
  color: var(--brass); font-variant-numeric: tabular-nums;
}
.flow .sep { color: var(--smoke-2); font-weight: 400; }
.flow .last { color: var(--candle); font-style: italic; font-family: var(--display); font-size: 15px; }

/* ---------- Cards / grids ---------- */
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .cells { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cells { grid-template-columns: 1fr; } }
.cell {
  border: 1px solid var(--brass-hair); background: var(--obsidian-2);
  padding: 34px; border-radius: var(--r);
}
.cell .kv { display: block; margin-bottom: 16px; }
.cell h3 { font-size: 23px; line-height: 1.14; color: var(--champagne); }
.cell p { color: var(--smoke); font-size: 14.5px; margin: 12px 0 0; }
.cell--feature {
  background: radial-gradient(120% 80% at 20% 0%, rgba(230, 198, 126, .09), transparent 60%), var(--umber);
}
.cell--feature h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 300; }

/* Two-up split (copy beside a visual) */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.split--rev { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; gap: 32px; } }
.split h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.06; color: var(--champagne); }
.split .kv { display: block; margin-bottom: 18px; }
.split p { color: var(--smoke); font-size: 15.5px; }
.split p strong { color: var(--champagne); font-weight: 600; }
.split ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.split ul li {
  padding-left: 22px; position: relative; color: var(--smoke); font-size: 14.5px;
}
.split ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 8px rgba(198, 161, 91, .8);
}
.split ul li b { color: var(--champagne); font-weight: 600; }

/* ---------- Product mock: the daytime floor (alabaster surface) ----------
   Staged like a floor sample: lifted off the obsidian on a soft shadow,
   with a spec-tag caption beneath (.exhibit wraps .ui + caption). */
.exhibit .ui {
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 10px 30px rgba(0, 0, 0, .45);
}
.exhibit-caption { display: block; text-align: center; margin-top: 22px; }

.ui {
  background: var(--ash); color: var(--ink);
  border: 1px solid var(--brass-hair); border-radius: var(--r);
  overflow: hidden;
}
.ui .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--hair-lt);
}
.ui .bar .lk { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 15px; }
.ui .bar .lk .mark { width: 20px; height: 20px; }
.ui .bar .lk i { font-style: italic; color: var(--brass-lo); }
.ui .bar .nav { display: flex; gap: 16px; font-size: 9.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #8A7F68; }
.ui .bar .nav .on { color: var(--brass-lo); border-bottom: 1px solid var(--brass-lo); padding-bottom: 3px; }
.ui .body { padding: 20px; display: grid; gap: 12px; align-content: start; }
.ui .qhead { display: flex; justify-content: space-between; align-items: baseline; }
.ui .qhead .t { font-family: var(--display); font-size: 22px; }
.ui .qhead .s { font-size: 10px; font-weight: 500; color: #8A7F68; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ui .room { font-size: 9.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-lo); margin-top: 6px; }
.ui .line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 11px 0; border-top: 1px solid #E7DDC8; }
.ui .line .nm { font-weight: 600; font-size: 14px; }
.ui .line .vn { font-size: 10px; font-weight: 500; color: #8A7F68; letter-spacing: .04em; }
.ui .line .pr { font-family: var(--display); font-size: 16px; text-align: right; font-variant-numeric: tabular-nums; }
.ui .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--ink); }
.ui .foot .tot .k { font-size: 9.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #8A7F68; }
.ui .foot .tot .n { font-family: var(--display); font-size: 26px; font-variant-numeric: tabular-nums; }
.ui .foot .cta {
  background: var(--ink); color: var(--candle);
  font-weight: 600; font-size: 13px; padding: 11px 20px; border-radius: var(--r);
  display: flex; align-items: center; gap: 8px;
}
.ui .foot .cta::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 8px var(--brass);
}

/* ---------- AI chase list vignette ---------- */
.chase {
  border: 1px solid var(--brass-hair); background: var(--umber);
  border-radius: var(--r); overflow: hidden;
}
.chase .chead {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 22px; border-bottom: 1px solid var(--brass-hair);
}
.chase .row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline;
  padding: 14px 22px; border-top: 1px solid rgba(198, 161, 91, .1);
}
.chase .row:first-of-type { border-top: 0; }
.chase .dot { width: 7px; height: 7px; border-radius: 50%; align-self: center; }
.chase .dot--moss { background: var(--moss); }
.chase .dot--amber { background: var(--amber); }
.chase .dot--ember { background: var(--ember); }
.chase .dot--moon { background: var(--moonlight); }
.chase .what { font-size: 14px; color: var(--champagne); }
.chase .what span { color: var(--smoke-2); font-size: 12px; display: block; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.chase .who { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.chase .who--moss { color: var(--moss); }
.chase .who--amber { color: var(--amber); }
.chase .who--ember { color: var(--ember); }
.chase .who--moon { color: var(--moonlight); }

/* ---------- Section wash ----------
   A faint molten-ribbon texture behind a section (used on the AI order
   desk — work flowing in the background). Anchored right, masked toward
   the left, and far quieter than the hero wave so cards stay legible. */
.section--wash { position: relative; overflow: hidden; }
.section--wash .wash {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url("/assets/gold-wave-dark-2.webp") no-repeat right center;
  background-size: cover;
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0,0,0,.4) 45%, transparent 78%);
          mask-image: linear-gradient(270deg, #000 0%, rgba(0,0,0,.4) 45%, transparent 78%);
}
.section--wash .page { position: relative; z-index: 1; }

/* ---------- Editorial moment ----------
   The beautiful thing itself, shown for its own sake — photography
   beside a manifesto line. No card chrome; a hairline frame and air. */
.editorial-img {
  border: 1px solid var(--brass-hair); border-radius: var(--r);
  overflow: hidden; max-height: 620px;
}
.editorial-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editorial blockquote {
  margin: 26px 0 0; font-family: var(--display); font-weight: 300; font-style: italic;
  font-size: clamp(28px, 3.8vw, 46px); line-height: 1.18; letter-spacing: -0.015em;
  color: var(--candle); max-width: 18ch;
}
.editorial .by { display: block; margin-top: 26px; }

/* ---------- Rails band (QuickBooks / Stripe) ---------- */
.rails { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .rails { grid-template-columns: 1fr; } }
.rail { border: 1px solid var(--brass-hair); background: var(--obsidian-2); padding: 36px; border-radius: var(--r); }
/* Partner mark (Stripe / QuickBooks), quiet brass, top-right of the card. */
.rail .partner {
  position: absolute; top: 34px; right: 34px; z-index: 1;
  width: 26px; height: 26px; fill: var(--brass-lo);
}
.rail h3 { font-size: 24px; color: var(--champagne); }
.rail p { color: var(--smoke); font-size: 14.5px; margin: 12px 0 0; }
.rail .kv { display: block; margin-bottom: 16px; }

/* ---------- Pricing ---------- */
.plan {
  border: 1px solid var(--brass-hair); border-radius: var(--r);
  background: radial-gradient(120% 90% at 18% 0%, rgba(230, 198, 126, .10), transparent 55%), var(--umber);
  padding: 46px; max-width: 760px;
}
.plan h3 { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 4vw, 44px); color: var(--candle); line-height: 1.06; }
/* align-items: center, not baseline — the label wraps to two lines on
   narrow screens, and baseline alignment pins the big word to the first
   line only, leaving the second dangling below. */
.plan .price-line { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.plan .price-line .k { line-height: 1.5; }
.plan .price-line .n { font-family: var(--display); font-size: 30px; color: var(--champagne); }
.plan .price-line .k { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--smoke-2); }
.plan p { color: var(--smoke); font-size: 15px; }

.included { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .included { grid-template-columns: 1fr; } }
.included li { position: relative; padding-left: 22px; color: var(--smoke); font-size: 14px; }
.included li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 8px rgba(198, 161, 91, .8);
}
.included li b { color: var(--champagne); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
details.faq-item { border-top: 1px solid var(--brass-hair); }
details.faq-item:last-of-type { border-bottom: 1px solid var(--brass-hair); }
details.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 22px 4px;
  font-family: var(--display); font-size: 19px; color: var(--champagne);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; color: var(--brass); font-family: var(--sans); font-weight: 300; font-size: 22px;
  transition: transform .2s; flex: none;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .a { padding: 0 4px 24px; color: var(--smoke); font-size: 15px; max-width: 62ch; }
details.faq-item .a strong { color: var(--champagne); font-weight: 600; }

/* ---------- Final CTA (signage) ---------- */
.sign {
  position: relative; text-align: center; padding: clamp(110px, 12vw, 160px) 0; overflow: hidden;
  border-top: 1px solid var(--brass-hair);
  /* The ribbed brass swell rises from the bottom of the frame. A soft
     dark ellipse sits behind the text block so the headline stays
     legible where the swell crosses it, without flattening the ribbing
     at the edges. */
  background:
    radial-gradient(circle at 50% 42%, rgba(230, 198, 126, .16), transparent 58%),
    radial-gradient(ellipse 58% 52% at 50% 55%, rgba(7, 6, 5, .68), transparent 98%),
    linear-gradient(0deg, rgba(12, 10, 8, .5), rgba(12, 10, 8, .5)),
    url("/assets/gold-wave-dark-3.webp") center bottom/cover,
    var(--obsidian);
}
.sign .kv { color: var(--champagne); text-shadow: 0 1px 12px rgba(7, 6, 5, .9); }
.sign .page { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sign .mark { width: 58px; height: 58px; }
.sign h2 {
  font-weight: 300; font-size: clamp(28px, 4.4vw, 48px); line-height: 1.1;
  color: var(--candle); max-width: 18ch;
  text-shadow: 0 2px 26px rgba(7, 6, 5, .85), 0 0 40px rgba(247, 236, 214, .3);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; margin-bottom: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--smoke);
}
.form-field input,
.form-field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--umber); color: var(--candle);
  border: 1px solid var(--brass-hair); border-radius: var(--r);
  font-family: var(--sans); font-size: 15px;
  transition: border-color .2s;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--smoke-2); }
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--brass); }
.form-note { font-size: 12.5px; color: var(--smoke-2); margin-top: 14px; max-width: 46ch; }

.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.form-error {
  display: none; margin-bottom: 20px; padding: 14px 18px;
  border: 1px solid rgba(196, 105, 79, .5); background: rgba(196, 105, 79, .09);
  color: var(--ember); border-radius: var(--r); font-size: 14px;
}
.form-success {
  display: none; padding: 34px;
  border: 1px solid rgba(157, 181, 138, .45); background: rgba(157, 181, 138, .09);
  border-radius: var(--r);
}
.form-success h3 { font-size: 24px; color: var(--candle); margin-bottom: 8px; }
.form-success p { margin: 0; color: var(--smoke); }
.form-success a { color: var(--champagne); }

.contact-block { border: 1px solid var(--brass-hair); background: var(--obsidian-2); border-radius: var(--r); padding: 32px; overflow: hidden; }
/* Photograph bleeding to the card edges above the contact rows. */
.contact-block .aside-img { margin: -32px -32px 22px; border-bottom: 1px solid var(--brass-hair); }
.contact-block .aside-img img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: 30% 30%; }
.contact-block .row { padding: 14px 0; border-top: 1px solid rgba(198, 161, 91, .1); }
.contact-block .row:first-child { border-top: 0; padding-top: 0; }
.contact-block .k {
  font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--smoke-2); margin-bottom: 5px;
}
.contact-block .v { font-family: var(--display); font-size: 17px; color: var(--champagne); }
.contact-block .v a { text-decoration: none; }
.contact-block .v a:hover { color: var(--candle); }
.contact-block p { color: var(--smoke); font-size: 14px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; padding-bottom: 40px; }
.legal h2 { font-size: 24px; color: var(--champagne); margin: 44px 0 14px; }
.legal p, .legal li { color: var(--smoke); font-size: 15px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--champagne); font-weight: 600; }
.legal .kv { display: block; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-foot {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--brass-hair); background: var(--obsidian-2); padding: 88px 0 52px;
}
/* Sculpted near-black ribs — material, not light. Kept at a whisper so
   the statement line owns the surface. */
.site-foot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/assets/dark-wave-3.webp") no-repeat center / cover;
  opacity: .5;
}
.site-foot .page { position: relative; z-index: 1; }
.site-foot .statement {
  font-family: var(--display); font-weight: 300; font-style: normal;
  font-size: clamp(28px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--champagne); margin: 0 0 60px; max-width: 22ch;
}
.site-foot .statement em { color: var(--candle); }
.site-foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .site-foot .cols { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .site-foot .cols { grid-template-columns: 1fr; } }
.site-foot .foot-tag { color: var(--smoke); font-size: 14px; margin: 16px 0 0; max-width: 30ch; }
.site-foot .foot-tag i { color: var(--candle); font-family: var(--display); }
.site-foot h4 {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--smoke-2);
  margin: 0 0 16px;
}
.site-foot .links { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.site-foot .links a { font-size: 13px; color: var(--smoke); text-decoration: none; }
.site-foot .links a:hover { color: var(--brass); }

/* Hairline underline that draws in on hover — nav and footer links. */
.site-foot .links a,
.nav-links a:not(.nav-cta) {
  background: linear-gradient(var(--brass), var(--brass)) no-repeat 0 100% / 0 1px;
  transition: background-size .3s ease, color .2s;
  padding-bottom: 2px;
}
.site-foot .links a:hover,
.nav-links a:not(.nav-cta):hover { background-size: 100% 1px; }
.site-foot .foot-bottom {
  border-top: 1px solid var(--brass-hair); margin-top: 52px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--smoke-2); font-variant-numeric: tabular-nums;
}

/* ---------- Scrollbar ----------
   A near-black page deserves a finished frame; the default light
   scrollbar reads as unpainted trim. */
html { scrollbar-width: thin; scrollbar-color: var(--umber-hi) var(--obsidian); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb {
  background: var(--umber-hi);
  border: 3px solid var(--obsidian);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--brass-lo); }

/* ---------- Motion layer ----------
   Everything below is gated behind .m-armed on <html>, which site.js adds
   only when motion is allowed (no prefers-reduced-motion) and
   IntersectionObserver exists. No-JS and reduced-motion visitors get the
   fully-visible static page — start states are armed, never assumed. */

/* Hero entrance: elements rise as the lights come on. site.js ramps
   --glow from near-dark to the dimmer's resting value in the same beat. */
.m-armed .hero [data-rise] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--rd, 0s);
}
.m-armed .hero.is-on [data-rise] { opacity: 1; transform: none; }

/* Scroll reveal: one-shot fade on intersection. --rd staggers siblings.
   No movement at all — purely light coming up on content already in
   place. */
.m-armed [data-reveal] {
  opacity: 0;
  transition: opacity .4s ease-out;
  transition-delay: var(--rd, 0s);
}
.m-armed [data-reveal].is-in { opacity: 1; }

/* Flow strip: the sale lights up in order, ending on the final glow. */
.m-armed .flow > span { opacity: .22; transition: opacity .5s ease, text-shadow .5s ease; transition-delay: var(--rd, 0s); }
.m-armed .flow.is-lit > span { opacity: 1; }
.m-armed .flow.is-lit > .last {
  text-shadow: 0 0 22px rgba(247, 236, 214, .5), 0 0 52px rgba(230, 198, 126, .3);
}

/* Chase list: rows land one at a time, as if just finished. */
.m-armed .chase .row {
  opacity: 0; transform: translateX(-14px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--rd, 0s);
}
.m-armed .chase.is-live .row { opacity: 1; transform: none; }

/* The blocking item smolders until dealt with. (Pulses opacity on a
   pre-painted glow, so the animation is composite-only.) */
.chase .dot { position: relative; }
.chase .dot--ember::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 12px rgba(196, 105, 79, .85);
  opacity: 0; animation: emberPulse 2.4s ease-in-out infinite;
}
@keyframes emberPulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Candlelight spotlight: a warm pool follows the pointer across cards.
   site.js sets --mx/--my per card on fine pointers only. */
.cell, .rail, .plan { position: relative; overflow: hidden; }
.cell::after, .rail::after, .plan::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(230, 198, 126, .11), transparent 65%);
}
.cell:hover::after, .rail:hover::after, .plan:hover::after { opacity: 1; }
.cell > *, .rail > *, .plan > * { position: relative; z-index: 1; }
.cell, .rail { transition: border-color .35s ease; }
.cell:hover, .rail:hover { border-color: rgba(198, 161, 91, .45); }

/* Primary buttons carry a faint living glow. */
.btn--primary { box-shadow: 0 0 0 rgba(198, 161, 91, 0); transition: background .2s, box-shadow .35s ease; }
.btn--primary:hover { box-shadow: 0 0 26px rgba(198, 161, 91, .35); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
