/* =========================================================
   Smartest Advertising — styles
   Brand: black + brushed gold (from logo / astrolabe marks)
   ========================================================= */

:root {
  color-scheme: dark;

  /* color tokens */
  --bg: #0b0b0c;
  --bg-2: #111113;
  --surface: #151517;
  --surface-2: #1b1b1e;
  --line: rgba(212, 166, 74, 0.28);
  --line-strong: rgba(212, 166, 74, 0.6);
  --line-soft: rgba(255, 255, 255, 0.08);

  --gold: #d4a64a;
  --gold-light: #ecc97d;
  --gold-deep: #a97a2c;
  --on-gold: #140f05;

  --text: #f4efe5;
  --text-muted: #b3ab9d;   /* 8.6:1 on --bg */
  --text-dim: #8d867b;     /* 5.3:1 on --bg */

  --success: #7fd19b;
  --danger: #ff8a7a;

  /* type */
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mark: "Cinzel", Georgia, serif;

  /* spacing (8pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  --header-h: 72px;
  --z-header: 100;
}

/* =========================================================
   LIGHT THEME (white background) — enabled with ?theme=light
   Gold is deepened for text so it passes 4.5:1 on white;
   bright gold is kept only for button/badge fills.
   ========================================================= */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f8f5ef;
  --surface: #ffffff;
  --surface-2: #faf6ee;
  --line: rgba(140, 100, 24, 0.28);
  --line-strong: rgba(140, 100, 24, 0.55);
  --line-soft: rgba(22, 19, 14, 0.10);

  --gold: #8c6418;        /* text gold, 5.3:1 on white */
  --gold-light: #6f4e10;  /* hover / emphasis gold */
  --gold-deep: #8c6418;
  --gold-fill: #d0a24a;   /* button + badge fills */
  --on-gold: #1a1206;

  --text: #16130e;
  --text-muted: #5b544a;  /* 7.3:1 on white */
  --text-dim: #756d61;    /* 4.9:1 on white */

  --success: #1f7a3f;
  --danger: #b3261e;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s4); top: -60px; z-index: 1000;
  background: var(--gold); color: var(--on-gold); padding: var(--s2) var(--s4);
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s4); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.gold { color: var(--gold); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* placeholder marker: content the owner still needs to supply */
.ph { outline: 1px dashed rgba(236, 201, 125, .55); outline-offset: 4px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 44px; padding: 10px 22px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--on-gold); }
.btn-gold:hover { box-shadow: 0 0 0 4px rgba(212, 166, 74, .18), 0 10px 30px -10px rgba(212, 166, 74, .7); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: rgba(11, 11, 12, .35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-lg { min-height: 52px; padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn[aria-busy="true"] .btn-label::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow {
  font-family: var(--font-mark); font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--s3);
}
/* larger label (about half the .section-title size) */
.eyebrow-lg { font-size: clamp(16px, 2vw, 23px); letter-spacing: .08em; line-height: 1.2; margin-bottom: var(--s4); }
/* About heading placed after the intro paragraphs */
.about-punch { margin-top: var(--s5); margin-bottom: var(--s2); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 11, 12, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-soft);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; min-height: 44px; }
.brand img { width: 54px; height: auto; filter: drop-shadow(0 0 10px rgba(212, 166, 74, .25)); }
.brand-word {
  font-family: var(--font-mark); font-weight: 700; font-size: 17px; letter-spacing: .06em;
  line-height: 1.05; display: flex; flex-direction: column; color: var(--gold-light);
}
.brand-word span { font-size: 11px; letter-spacing: .32em; color: var(--text-muted); font-weight: 600; }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text-muted);
  padding: 10px 12px; border-radius: 8px; transition: color var(--dur-fast);
}
.nav a:not(.btn):hover, .nav a.is-current { color: var(--gold-light); }
.nav a.is-current { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--gold-light);
  align-items: center; justify-content: center;
}
.nav-toggle .ico { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + var(--s8));
  padding-bottom: var(--s7);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); overflow: hidden; }
.hero-media { /* astrolabe animation panel (right side), fading into the dark */
  position: absolute; top: 0; bottom: 0; right: 0; width: 64%; overflow: hidden;
  background: url("../video/frames/lg/f000.webp") center 40% / cover no-repeat; /* poster = first frame */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 22%, #000 45%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 22%, #000 45%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* scroll-driven hero: JS gives the track extra height and pins the hero while frames play */
.hero-scroll { position: relative; }
.hero-scroll.is-scrub .hero { position: sticky; top: var(--hero-stick, 0px); }
.hero-bg::after { /* bottom fade + warm glow over the bulb */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 0%, transparent 32%),
    linear-gradient(180deg, rgba(11,11,12,.6) 0%, transparent 18%),
    radial-gradient(circle at 68% 40%, rgba(236, 201, 125, .16), transparent 22%);
}
.hero-inner { margin-bottom: auto; margin-top: auto; }
.hero-title {
  font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; letter-spacing: -.02em; line-height: 1.06;
  max-width: 15ch; margin-bottom: var(--s5);
}
.hero-title .gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-title .white { color: #ffffff; }
@media (min-width: 561px) { .hero-title .white { white-space: nowrap; } }
:is([data-theme="light"], [data-theme="gold"]) .hero-title .white { color: var(--text); }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-muted); max-width: 52ch; margin-bottom: var(--s6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4);
  margin-top: var(--s8);
}
.trust-strip li {
  display: flex; align-items: center; gap: var(--s3);
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: rgba(21, 21, 23, .7); backdrop-filter: blur(6px);
  font-weight: 600; font-size: 14px;
}
.trust-strip .ico { color: var(--gold); }

/* ---------- sections ---------- */
.section { padding-block: var(--s9); position: relative; }
.section-tight { padding-block: var(--s7); }
.section-title { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.01em; margin-bottom: var(--s5); }
.section-title.center { text-align: center; margin-bottom: var(--s8); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s6); }
.section-head .section-title { margin-bottom: 0; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s8); align-items: center; }
.about-media { position: relative; margin: 0; }
.about-media img {
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%;
  box-shadow: 0 30px 80px -30px rgba(212, 166, 74, .35);
}
.about-media::before { /* offset gold frame */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.years-badge {
  position: absolute; left: -12px; bottom: 28px;
  display: flex; align-items: center; gap: var(--s3);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 14px 18px;
}
.years-badge strong { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--gold); }
.years-badge span { font-size: 13px; line-height: 1.3; color: var(--text-muted); font-weight: 600; }
.about-copy > p { color: var(--text); font-weight: 600; max-width: 62ch; }
.about-copy > .eyebrow-lg { font-weight: 700; }
.checklist { display: grid; gap: var(--s3); margin: var(--s5) 0 var(--s6); }
.checklist li { display: flex; gap: var(--s3); align-items: flex-start; font-weight: 500; }
.checklist .ico, .promo-list .ico {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  background: rgba(212, 166, 74, .14); color: var(--gold); margin-top: 1px;
}

/* ---------- process ---------- */
.process { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); counter-reset: none; }
.step { text-align: center; position: relative; padding-inline: var(--s3); }
.step:not(:last-child)::after { /* dotted connector */
  content: ""; position: absolute; top: 30px; left: calc(50% + 48px); right: calc(-50% + 48px);
  border-top: 2px dotted var(--line-strong);
}
.step-num {
  display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  margin-bottom: var(--s5); background: var(--bg);
  transition: background-color var(--dur), color var(--dur), box-shadow var(--dur);
}
.step.is-featured .step-num, .step:hover .step-num {
  background: var(--gold); color: var(--on-gold); box-shadow: 0 0 30px rgba(212, 166, 74, .45);
}
.step h3 { font-size: 22px; margin-bottom: var(--s3); }
.step p { color: var(--text-muted); max-width: 34ch; margin-inline: auto; }

/* ---------- services ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.filter {
  min-height: 44px; padding: 8px 18px; border-radius: var(--radius-pill);
  background: transparent; border: 1px solid var(--line-soft); color: var(--text-muted);
  font-weight: 600; font-size: 14px;
  transition: color var(--dur-fast), border-color var(--dur-fast), background-color var(--dur-fast);
}
.filter:hover { color: var(--gold-light); border-color: var(--line); }
.filter.is-active { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: var(--s5); border-radius: var(--radius);
  border: 1px dashed var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: border-color var(--dur), transform var(--dur) var(--ease-out), box-shadow var(--dur);
  animation: cardIn var(--dur) var(--ease-out) both;
}
.service-card:hover { border-style: solid; border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(212, 166, 74, .5); }
.service-card[hidden] { display: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
.service-card.is-highlight { border-style: solid; border-color: var(--line-strong); background: linear-gradient(160deg, rgba(212,166,74,.14), var(--surface) 55%); }
.service-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--gold);
  margin-bottom: var(--s4);
}
.service-icon .ico { width: 22px; height: 22px; }
.service-card h3 { font-size: 18px; margin-bottom: var(--s2); }
.service-card p { color: var(--text-muted); font-size: 15px; margin-bottom: var(--s4); }
.link-arrow {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  min-height: 44px; color: var(--gold); font-weight: 700; font-size: 14px; text-decoration: none;
}
.link-arrow .ico { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover { color: var(--gold-light); }
.link-arrow:hover .ico { transform: translateX(3px); }
/* stretch link over whole card */
.link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* ---------- promo ---------- */
.promo {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s7);
  border-radius: 24px; overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, #1d1a14, var(--bg-2) 70%);
  border: 1px solid var(--line-soft);
}
.promo-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 704 / 503; }
.promo-copy { padding: var(--s7) var(--s7) var(--s7) 0; }
.promo-copy h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: var(--s5); }
.promo-list { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.promo-list li { display: flex; gap: var(--s3); align-items: flex-start; color: var(--text); }

/* ---------- editorial (testimonials + stats) ---------- */
.ed-row {
  display: grid; grid-template-columns: 220px 1fr; gap: var(--s6);
  padding-block: var(--s7); border-top: 1px solid var(--line-soft);
}
.ed-row:last-child { border-bottom: 1px solid var(--line-soft); }
.ed-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--text-muted); }
.ed-label span { color: var(--gold); margin-right: 6px; }

.testi blockquote {
  margin: 0 0 var(--s5); font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.01em;
  position: relative; padding-left: 0;
}
.testi blockquote::before { content: "\201C"; display: block; font-family: var(--font-mark); color: var(--gold); font-size: 72px; line-height: .6; margin-bottom: var(--s3); }
.testi figcaption { color: var(--text-muted); font-weight: 600; display: inline-block; }
.testi figcaption::before { content: "— "; }
.testi.is-active { animation: fadeIn var(--dur) var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.testi-controls { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s6); }
.testi-controls[hidden] { display: none; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-strong); color: var(--gold-light);
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.round-btn:hover { background: var(--gold); color: var(--on-gold); }
.testi-count { font-variant-numeric: tabular-nums; color: var(--text-muted); font-weight: 600; font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.stats strong {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; margin-bottom: var(--s2);
}
.stats sup { color: var(--gold); font-size: .45em; vertical-align: top; margin-left: 2px; top: .2em; position: relative; }
.stats li > span { color: var(--text-muted); font-size: 14px; }
.ed-statement { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -.01em; margin: 0; max-width: 24ch; }

/* ---------- FAQ ---------- */
.faq {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23d4a64a' stroke-opacity='.10'%3E%3Cpath d='M20 40 90 20l60 50 70-30M20 40l40 80 90-50M60 120l-30 90 110-20 80 30M150 70l-10 120M140 190l80-110'/%3E%3C/g%3E%3Cg fill='%23d4a64a' fill-opacity='.22'%3E%3Ccircle cx='20' cy='40' r='2'/%3E%3Ccircle cx='90' cy='20' r='2'/%3E%3Ccircle cx='150' cy='70' r='2.5'/%3E%3Ccircle cx='220' cy='40' r='2'/%3E%3Ccircle cx='60' cy='120' r='2.5'/%3E%3Ccircle cx='30' cy='210' r='2'/%3E%3Ccircle cx='140' cy='190' r='2.5'/%3E%3Ccircle cx='220' cy='80' r='2'/%3E%3C/g%3E%3C/svg%3E") repeat,
    var(--bg);
}
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.faq-col { display: grid; gap: var(--s4); align-content: start; }
.faq-item {
  border: 1px dashed var(--line); border-radius: var(--radius-sm);
  background: rgba(17, 17, 19, .92);
  transition: border-color var(--dur);
}
.faq-item[open] { border-style: solid; border-color: var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: 16px 18px; min-height: 56px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 11px no-repeat;
  transition: transform var(--dur) var(--ease-out);
}
.faq-item[open] summary::after {
  background: linear-gradient(var(--gold), var(--gold)) center / 11px 1.5px no-repeat;
  transform: rotate(180deg);
}
.faq-body { padding: 0 18px 18px; color: var(--text-muted); }
.faq-body p { margin: 0; }
.faq-body a { color: var(--gold-light); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s8); align-items: start; }
.contact-info > p { color: var(--text-muted); max-width: 46ch; }
.contact-list { display: grid; gap: var(--s3); margin: var(--s5) 0 var(--s6); }
.contact-list li { display: flex; align-items: center; gap: var(--s3); min-height: 44px; overflow-wrap: anywhere; }
.contact-list li > * { min-width: 0; }
.contact-list .ico { color: var(--gold); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--gold-light); text-decoration: underline; }
.contact-card { border-radius: var(--radius); transform: rotate(-2deg); box-shadow: 0 30px 60px -30px #000; width: 100%; max-width: min(460px, 100%); }

.contact-form {
  padding: var(--s6); border-radius: 20px;
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2));
  display: grid; gap: var(--s4);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 14px; }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 16px;
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 166, 74, .22); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 0; min-height: 0; color: var(--danger); font-size: 13px; font-weight: 600; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--success); }
.form-status.is-err { color: var(--danger); }
.form-status a { color: var(--gold-light); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-top: var(--s8); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: var(--s6); padding-bottom: var(--s7); }
.footer-brand p { color: var(--text-muted); max-width: 36ch; margin-top: var(--s4); }
.site-footer h3 { font-size: 15px; color: var(--gold); margin-bottom: var(--s4); letter-spacing: .04em; }
.site-footer nav ul, .footer-contact { display: grid; gap: var(--s1); }
.site-footer nav a, .footer-contact a { color: var(--text-muted); text-decoration: none; display: inline-block; padding-block: 6px; }
.site-footer nav a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact li { color: var(--text-muted); padding-block: 6px; overflow-wrap: anywhere; }
.socials { display: flex; gap: var(--s3); margin-top: var(--s4); }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold); color: var(--on-gold); font-weight: 800; font-size: 13px; text-decoration: none;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap;
  border-top: 1px solid var(--line-soft); padding-block: var(--s5); font-size: 14px; color: var(--text-dim);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- "Brighter Idea" CTA band with hanging brand bulbs ---------- */
/* hanging pendant bulbs: cord + ring + bulb, gentle sway */
.hanging-bulbs { position: absolute; inset: 0 0 auto 0; height: 0; pointer-events: none; }
.hb {
  position: absolute; top: 0; left: var(--x);
  display: flex; flex-direction: column; align-items: center;
  transform: translateX(-50%); transform-origin: 50% 0;
  animation: sway 7s ease-in-out infinite; animation-delay: var(--d, 0s);
}
@keyframes sway {
  0%, 100% { transform: translateX(-50%) rotate(-2deg); }
  50%      { transform: translateX(-50%) rotate(2deg); }
}
.hb::before { /* cord ending in a small brass ring */
  content: ""; width: 12px; height: var(--len);
  background:
    radial-gradient(circle at 50% calc(100% - 5px), transparent 3px, var(--gold) 3.5px, var(--gold) 4.8px, transparent 5.3px),
    linear-gradient(180deg, rgba(212, 166, 74, .08), rgba(212, 166, 74, .8)) center top / 1.5px calc(100% - 9px) no-repeat;
}
.hb img { width: calc(58px * var(--s, 1)); height: auto; margin-top: -2px; filter: var(--bulb-glow); }
.hb::after { /* warm halo */
  content: ""; position: absolute; left: 50%; bottom: 0; z-index: -1;
  width: calc(170px * var(--s, 1)); aspect-ratio: 1; transform: translate(-50%, 30%);
  background: radial-gradient(circle, var(--bulb-halo), transparent 62%);
}

/* always dark, in every theme */
.bright-band {
  --bulb-glow: drop-shadow(0 0 14px rgba(236, 201, 125, .5)); --bulb-halo: rgba(236, 201, 125, .28); --gold: #d4a64a;
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 150px 24px 64px; border-radius: 24px;
  background: radial-gradient(ellipse 70% 80% at 50% 25%, #2b2314, #0e0d0b 70%);
  border: 1px solid rgba(212, 166, 74, .3); color: #f4efe5;
}
.bright-logo { width: 150px; height: auto; margin: 0 auto var(--s5); filter: drop-shadow(0 0 30px rgba(236, 201, 125, .45)); }
.bright-band h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: var(--s4); }
.bright-band .gold { color: #d4a64a; }
.bright-band p { color: #b3ab9d; max-width: 56ch; margin: 0 auto var(--s6); }
.bright-actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }
.bright-band .btn-gold { background: linear-gradient(180deg, #ecc97d, #d4a64a); color: #140f05; }
.bright-band .btn-outline { background: transparent; border-color: rgba(212, 166, 74, .6); color: #f4efe5; }
.bright-band .btn-outline:hover { border-color: #d4a64a; color: #ecc97d; background: transparent; }

@media (max-width: 900px) {
  .bright-band { padding-top: 120px; }
  .bright-band .hb::before { height: calc(var(--len) * .35); }
  .bright-band .hb img { width: calc(44px * var(--s, 1)); }
}

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { gap: var(--s7); }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s4) 20px var(--s6);
    background: rgba(11, 11, 12, .97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a.is-current { box-shadow: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: var(--s5); }
  .site-header.menu-open { background: rgba(11, 11, 12, .97); }

  .hero-media {
    width: 100%; bottom: auto; height: calc(var(--header-h) + 52vh);
    background-position: 50% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 35%, rgba(0,0,0,.35) 70%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 35%, rgba(0,0,0,.35) 70%, transparent 100%);
  }
  .hero-bg::after { background: linear-gradient(180deg, rgba(11,11,12,.5) 0%, transparent 20%); }

  .about-grid, .contact-grid, .promo { grid-template-columns: minmax(0, 1fr); }
  .contact-grid > *, .about-grid > * { min-width: 0; }

  .hero { justify-content: flex-start; min-height: 0; padding-top: calc(var(--header-h) + 30vh); }
  .hero-inner { margin: 0; }
  .about-media { max-width: 420px; margin-inline: auto; width: calc(100% - 18px); }
  .promo { gap: 0; }
  .promo-copy { padding: var(--s6); }

  .steps { grid-template-columns: 1fr; gap: var(--s7); }
  .step:not(:last-child)::after { top: auto; bottom: calc(var(--s7) * -0.8); left: 50%; right: auto; height: calc(var(--s7) * .6); border-top: 0; border-left: 2px dotted var(--line-strong); }

  .ed-row { grid-template-columns: 1fr; gap: var(--s4); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--s6); }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding-block: var(--s8); }
  .trust-strip { grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s7); }
  .trust-strip li { border-radius: var(--radius-sm); }
  .hero-actions .btn { flex: 1 1 100%; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: var(--s5); }
  .footer-grid { grid-template-columns: 1fr; }
  .years-badge { left: -8px; bottom: 16px; padding: 10px 14px; }
  .years-badge strong { font-size: 32px; }
  .brand-word { font-size: 15px; }
  .brand-word span { font-size: 10px; }
}

/* ---------- light theme: component overrides ---------- */
[data-theme="light"] .ph { outline-color: rgba(140, 100, 24, .5); }
[data-theme="light"] .btn-gold,
[data-theme="light"] .skip-link { background: linear-gradient(180deg, #ebc877, var(--gold-fill)); color: var(--on-gold); }
[data-theme="light"] .btn-gold:hover { box-shadow: 0 0 0 4px rgba(208, 162, 74, .22), 0 10px 26px -10px rgba(140, 100, 24, .55); }
[data-theme="light"] .btn-outline { background: rgba(255, 255, 255, .8); }
[data-theme="light"] .filter.is-active,
[data-theme="light"] .step.is-featured .step-num,
[data-theme="light"] .step:hover .step-num,
[data-theme="light"] .round-btn:hover,
[data-theme="light"] .socials a { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--on-gold); }
[data-theme="light"] .step.is-featured .step-num,
[data-theme="light"] .step:hover .step-num { box-shadow: 0 8px 24px -8px rgba(140, 100, 24, .55); }

[data-theme="light"] .site-header.is-scrolled { background: rgba(255, 255, 255, .88); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
[data-theme="light"] .trust-strip li { background: rgba(255, 255, 255, .9); box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .3); }
[data-theme="light"] .faq-item { background: rgba(255, 255, 255, .94); }
[data-theme="light"] .promo { background: var(--bg-2); }
[data-theme="light"] .service-card:hover { box-shadow: 0 18px 40px -24px rgba(140, 100, 24, .45); }
[data-theme="light"] .contact-card { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
[data-theme="light"] .brand img { filter: brightness(.62) saturate(1.5) contrast(1.35); }

/* hero: artwork becomes a framed card on the right instead of fading into black */
:is([data-theme="light"], [data-theme="gold"]) .hero-media {
  top: calc(var(--header-h) + 24px); bottom: 150px; right: max(20px, calc((100vw - 1200px) / 2 + 20px));
  width: min(44%, 560px); border-radius: 24px;
  -webkit-mask-image: none; mask-image: none;
  box-shadow: 0 40px 80px -40px rgba(60, 40, 5, .55), 0 0 0 1px var(--line);
}
:is([data-theme="light"], [data-theme="gold"]) .hero-bg::after { background: none; }
:is([data-theme="light"], [data-theme="gold"]) .hero-lead { max-width: 44ch; }
:is([data-theme="light"], [data-theme="gold"]) .hero-title { font-size: clamp(34px, 4vw, 54px); }

@media (max-width: 900px) {
  [data-theme="light"] .nav,
  [data-theme="light"] .site-header.menu-open { background: rgba(255, 255, 255, .98); }
  :is([data-theme="light"], [data-theme="gold"]) .hero { padding-top: calc(var(--header-h) + 34vh + 32px); }
  :is([data-theme="light"], [data-theme="gold"]) .hero-media {
    top: calc(var(--header-h) + 8px); bottom: auto; left: 20px; right: 20px;
    width: auto; height: 34vh; border-radius: 20px; background-position: 50% 45%;
  }
  :is([data-theme="light"], [data-theme="gold"]) .hero-lead { max-width: 52ch; }
}

/* =========================================================
   GOLD THEME — enabled with ?theme=gold
   Brushed-gold page, near-black text, black buttons with gold type.
   Accent "gold" text becomes deep bronze so it still reads on gold.
   ========================================================= */
:root[data-theme="gold"] {
  color-scheme: light;
  --bg: #d6b15f;
  --bg-2: #cda653;
  --surface: #e2c274;
  --surface-2: #e9cd88;
  --line: rgba(26, 18, 6, 0.24);
  --line-strong: rgba(26, 18, 6, 0.5);
  --line-soft: rgba(26, 18, 6, 0.14);

  --gold: #4d3305;        /* accent text (deep bronze), 6.9:1 on --bg */
  --gold-light: #2a1c03;  /* hover / emphasis */
  --gold-deep: #6b4a0c;
  --gold-fill: #17120a;   /* filled buttons + badges are black */
  --on-gold: #ecca7c;     /* gold type on black fills */

  --text: #17120a;        /* 9.6:1 on --bg */
  --text-muted: #3d2f14;  /* 6.1:1 on --bg */
  --text-dim: #4f3f20;    /* 4.8:1 on --bg */

  --success: #0f4f25;
  --danger: #7a120d;
}
[data-theme="gold"] body {
  background:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(255, 240, 200, .35), transparent 60%),
    linear-gradient(180deg, #dcb866, #d2ab58 40%, #caa14d);
}
[data-theme="gold"] .ph { outline-color: rgba(26, 18, 6, .45); }
[data-theme="gold"] .btn-gold,
[data-theme="gold"] .skip-link { background: linear-gradient(180deg, #2a2114, #120e07); color: var(--on-gold); }
[data-theme="gold"] .btn-gold:hover { box-shadow: 0 0 0 4px rgba(23, 18, 10, .18), 0 12px 28px -12px rgba(23, 18, 10, .7); }
[data-theme="gold"] .btn-outline { background: rgba(255, 245, 220, .35); border-color: var(--text); color: var(--text); }
[data-theme="gold"] .btn-outline:hover { background: var(--text); color: var(--on-gold); }
[data-theme="gold"] .filter.is-active,
[data-theme="gold"] .step.is-featured .step-num,
[data-theme="gold"] .step:hover .step-num,
[data-theme="gold"] .round-btn:hover,
[data-theme="gold"] .socials a { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--on-gold); box-shadow: none; }
[data-theme="gold"] .step-num { background: transparent; border-color: var(--text); color: var(--text); }

[data-theme="gold"] .site-header.is-scrolled { background: rgba(214, 177, 95, .92); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .5); }
[data-theme="gold"] .trust-strip li,
[data-theme="gold"] .faq-item { background: rgba(255, 244, 214, .38); }
[data-theme="gold"] .service-card { background: linear-gradient(180deg, rgba(255, 244, 214, .45), rgba(255, 244, 214, .18)); }
[data-theme="gold"] .service-card.is-highlight { background: var(--gold-fill); border-color: var(--gold-fill); }
[data-theme="gold"] .service-card.is-highlight h3 { color: #f6e7c4; }
[data-theme="gold"] .service-card.is-highlight p { color: #d9c9a6; }
[data-theme="gold"] .service-card.is-highlight .link-arrow { color: var(--on-gold); }
[data-theme="gold"] .service-card.is-highlight .service-icon { background: #2a2114; border-color: rgba(236, 202, 124, .35); color: var(--on-gold); }
[data-theme="gold"] .service-card:hover { box-shadow: 0 18px 40px -22px rgba(23, 18, 10, .55); }
[data-theme="gold"] .service-icon { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--on-gold); }
[data-theme="gold"] .checklist .ico,
[data-theme="gold"] .promo-list .ico { background: var(--gold-fill); color: var(--on-gold); }
[data-theme="gold"] .promo { background: var(--gold-fill); border-color: var(--gold-fill); color: #f6e7c4; }
[data-theme="gold"] .promo .eyebrow,
[data-theme="gold"] .promo .gold { color: var(--on-gold); }
[data-theme="gold"] .promo-list li { color: #f6e7c4; }
[data-theme="gold"] .promo .btn-gold { background: linear-gradient(180deg, #f0d28c, #d6ad58); color: #17120a; }
[data-theme="gold"] .years-badge { background: var(--gold-fill); border-color: var(--gold-fill); }
[data-theme="gold"] .years-badge strong { color: var(--on-gold); }
[data-theme="gold"] .years-badge span { color: #d9c9a6; }
[data-theme="gold"] .about-media img { box-shadow: 0 30px 70px -30px rgba(23, 18, 10, .6); border-color: var(--line); }
[data-theme="gold"] .contact-form { background: rgba(255, 244, 214, .4); }
[data-theme="gold"] .field input,
[data-theme="gold"] .field select,
[data-theme="gold"] .field textarea { background: #fbf1d8; border-color: rgba(26, 18, 6, .22); }
[data-theme="gold"] .field input:focus,
[data-theme="gold"] .field select:focus,
[data-theme="gold"] .field textarea:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(23, 18, 10, .18); }
[data-theme="gold"] .contact-card { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
[data-theme="gold"] .site-footer { background: var(--gold-fill); color: #f6e7c4; }
[data-theme="gold"] .site-footer h3 { color: var(--on-gold); }
[data-theme="gold"] .site-footer .brand-word { color: var(--on-gold); }
[data-theme="gold"] .site-footer .brand-word span,
[data-theme="gold"] .footer-brand p,
[data-theme="gold"] .site-footer nav a,
[data-theme="gold"] .footer-contact a,
[data-theme="gold"] .footer-contact li,
[data-theme="gold"] .footer-bottom a { color: #cdbd98; }
[data-theme="gold"] .site-footer nav a:hover,
[data-theme="gold"] .footer-contact a:hover,
[data-theme="gold"] .footer-bottom a:hover { color: var(--on-gold); }
[data-theme="gold"] .footer-bottom { color: #a89a7a; border-top-color: rgba(236, 202, 124, .15); }
[data-theme="gold"] .site-footer { border-top: 0; }
[data-theme="gold"] .socials a { background: var(--on-gold); color: #17120a; }
[data-theme="gold"] .site-footer .ph { outline-color: rgba(236, 202, 124, .5); }
[data-theme="gold"] .site-footer .brand img { filter: none; }
[data-theme="gold"] .brand img { filter: brightness(.28) saturate(1.4) contrast(1.4); }
[data-theme="gold"] .faq { background-color: transparent; }
[data-theme="gold"] .process { background: transparent; }
[data-theme="gold"] .hero-bg { background: transparent; }
[data-theme="gold"] .hero-media { box-shadow: 0 40px 80px -36px rgba(23, 18, 10, .7), 0 0 0 1px rgba(23, 18, 10, .35); }
[data-theme="gold"] .hero-title .gold { background: linear-gradient(180deg, #5b3d07, #2e1f03); -webkit-background-clip: text; background-clip: text; }
[data-theme="gold"] :focus-visible { outline-color: #17120a; }
@media (max-width: 900px) {
  [data-theme="gold"] .nav,
  [data-theme="gold"] .site-header.menu-open { background: rgba(214, 177, 95, .98); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}