/* ============================================================
   Brain Life Center — The Golden Instrument (round 2)
   Dark, constellation-lit hero → bright, clinical body.
   ============================================================ */

/* ---------- fonts ---------- */
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/ClashDisplay-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/ClashDisplay-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/Switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/Switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/Switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --night: #101b1a;
  --deep: #0b2e2c;
  --teal: #0a5c5c;
  --teal-bright: #147a7a;
  --gold: #dba137;
  --gold-deep: #b9832a;
  --dawn: #e9be62;
  --glow: #f6d78a;
  --ivory: #faf6ec;
  --white: #fffdf6;
  --ink: #22302e;
  --body: #5f6e6a;
  --cardline: #eae1cc;

  --font-display: "Clash Display", "Helvetica Neue", sans-serif;
  --font-text: "Switzer", "Helvetica Neue", Arial, sans-serif;

  --container: 1140px;
  --radius: 16px;
  --shadow-soft: 0 14px 40px rgba(16, 27, 26, 0.08);
  --shadow-lift: 0 26px 60px rgba(16, 27, 26, 0.16);

  /* legacy aliases (interior pages) */
  --charcoal: #101b1a; --charcoal-2: #0b2e2c; --teal-ink: #0b2e2c;
  --gold-soft: #f6d78a; --silver: #f1ecdd; --paper: #faf6ec; --paper-warm: #f5f0e2;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
/* kill the grey tap-flash on mobile everywhere (buttons, links, dropdowns, FAQ toggles) */
a, button, summary, [role="button"], [data-jotform-open], .faq-q, .video-embed, .btn, input, select, textarea { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-bright); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-family: var(--font-text); font-weight: 600; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--gold-deep); }
p { margin: 0 0 1.1em; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--teal); color: #fff; padding: 10px 18px; }
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.measure { max-width: 720px; margin-left: auto; margin-right: auto; }
.lead { font-size: 1.17rem; line-height: 1.7; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.on-dark .eyebrow, .section-dark .eyebrow, .section-teal .eyebrow { color: var(--dawn); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-text); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.09em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: 17px 34px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--dawn); outline-offset: 3px; }
.btn-gold { background: linear-gradient(135deg, #eec263, var(--gold) 60%, var(--gold-deep)); color: #241a08; box-shadow: 0 12px 30px rgba(219, 161, 55, 0.3); }
.btn-gold:hover { color: #241a08; box-shadow: 0 16px 38px rgba(219, 161, 55, 0.42); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-bright); color: #fff; }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--ivory); }
.on-dark .btn-outline, .section-dark .btn-outline, .section-teal .btn-outline { border-color: rgba(246, 215, 138, 0.7); color: var(--glow); }
.on-dark .btn-outline:hover, .section-dark .btn-outline:hover, .section-teal .btn-outline:hover { background: rgba(246, 215, 138, 0.12); color: var(--glow); }

/* ============================================================
   HEADER  (dropdown gap bug fixed with an invisible hover bridge)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 236, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cardline);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(16, 27, 26, 0.08); }
.header-inner {
  max-width: 1320px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand svg { display: block; flex-shrink: 0; }
.brand img { display: block; height: 46px; width: auto; }
@media (max-width: 600px) { .brand img { height: 40px; } }

.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav a, .site-nav button {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 0.94rem; font-weight: 500; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 10px 13px; border-radius: 10px;
}
.site-nav a:hover, .site-nav button:hover { background: rgba(10, 92, 92, 0.07); color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.header-phone { padding: 11px 22px; font-size: 0.78rem; }

/* dropdown: always rendered, revealed via opacity/visibility so the
   invisible bridge can keep it open while the cursor crosses the gap. */
.dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 12px; z-index: 120;
  min-width: 270px;
  background: var(--deep);
  border: 1px solid rgba(233, 190, 98, 0.25);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(16, 27, 26, 0.3);
  padding: 6px;
  list-style: none;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
/* the bridge: an invisible strip that overlaps the whole gap between the
   button and the panel, so a hover never falls through the dead space
   (the bug that killed the Ontario Tinting dropdown). */
.has-dropdown::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px;
}
@media (hover: hover) {
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.16s ease, transform 0.18s ease;
  }
}
.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.16s ease, transform 0.18s ease;
}
.dropdown li { width: 100%; }
.dropdown a { display: block; width: 100%; color: #efe9d8; padding: 13px 20px 13px 14px; border-radius: 10px; }
.dropdown a:hover { background: rgba(233, 190, 98, 0.12); color: var(--glow); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bar { display: block; width: 26px; height: 2.5px; margin: 5.5px 0; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); border-bottom: 1px solid var(--cardline);
    box-shadow: 0 24px 40px rgba(16, 27, 26, 0.12);
    padding: 18px 24px 26px; flex-direction: column; align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a, .site-nav button { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 1.05rem; }
  .has-dropdown::after { display: none; }
  .dropdown {
    position: static; margin-top: 4px; box-shadow: none; padding: 4px;
    opacity: 1; visibility: visible; transform: none; transition: none;
    display: none;
  }
  .has-dropdown.open .dropdown { display: flex; }
  .header-phone { margin-top: 12px; text-align: center; }
  body.nav-open { overflow: hidden; }
  .nav-open .nav-toggle-bar:nth-child(2) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle-bar:nth-child(3) { opacity: 0; }
  .nav-open .nav-toggle-bar:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-tight { padding: 68px 0; }
.section-silver { background: #f1ebdd; }
.section-dark { background: linear-gradient(174deg, var(--night), var(--deep)); color: #c9d3cd; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #faf6ec; }
.section-dark p { color: #b9c6c0; }
.section-teal { background: linear-gradient(172deg, var(--deep), #0e3a37 80%); color: #d9e6e2; }
.section-teal h2, .section-teal h3 { color: #fff; }
.section-teal p { color: #cfe0da; }

/* ============================================================
   HERO — full golden image, constellation overlay, dark ink type
   ============================================================ */
.hero-home {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(78vh, 680px);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: 78% center; }
.hero-constellation { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(96deg, rgba(250, 246, 236, 0.97) 0%, rgba(250, 246, 236, 0.94) 30%, rgba(250, 246, 236, 0.66) 46%, rgba(250, 246, 236, 0.14) 66%, rgba(250, 246, 236, 0) 84%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; padding-top: 68px; padding-bottom: 68px; }
.hero-home h1 { color: var(--ink); max-width: 15ch; font-size: clamp(2.2rem, 4.2vw, 3.15rem); }
.hero-home .lead { color: #45463b; max-width: 40ch; margin: 20px 0 28px; font-size: 1.1rem; }
.hero-home .gi-ctas, .hero-home .gi-note { max-width: 44ch; }
.gi-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.gi-note { font-size: 0.86rem; color: #6a6a58; margin-top: 16px; max-width: 46ch; }
.gi-note strong { color: var(--gold-deep); }

/* hero CTA block: primary sets the width; the two options split it, so all
   three line up edge-to-edge. */
.hero-ctas-stack { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.hero-cta-primary { width: 100%; }
.hero-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-cta-row .btn { width: 100%; padding: 15px 10px; font-size: 0.72rem; letter-spacing: 0.05em; }
@media (max-width: 430px) { .hero-cta-row { grid-template-columns: 1fr; } }

/* emphasize the word "Free" inside a CTA button */
.cta-free {
  text-decoration: underline; text-decoration-thickness: 2px;
  text-decoration-color: rgba(36, 26, 8, 0.5); text-underline-offset: 4px;
}
@media (max-width: 680px) {
  .hero-bg { background-position: 70% center; }
  .hero-scrim { background: linear-gradient(178deg, rgba(250, 246, 236, 0.9) 22%, rgba(250, 246, 236, 0.5) 58%, rgba(250, 246, 236, 0.12)); }
  .hero-home:not(.hero-compact) { min-height: auto; }
  .hero-inner { padding-top: 90px; padding-bottom: 104px; }
}

/* ============================================================
   STATS BAND + PRESS MARQUEE
   ============================================================ */
.gi-stats-band { padding: 70px 0 60px; background: var(--white); border-bottom: 1px solid var(--cardline); }
.gi-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
@media (max-width: 720px) { .gi-stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; } }
.gi-stat { display: flex; flex-direction: column; gap: 6px; }
.gi-stat-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1;
  color: var(--gold-deep); font-variant-numeric: tabular-nums;
}
.gi-stat-label { font-size: 0.86rem; letter-spacing: 0.05em; color: var(--body); font-weight: 500; }
.gi-press-label {
  text-align: center; margin: 54px 0 0;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
}
.marquee {
  overflow: hidden; margin-top: 26px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
/* one continuous row of 4 identical logo sets, translated by exactly half its
   width — so the loop is seamless with no blank gap, at any viewport width. */
.marquee-inner {
  display: flex; align-items: center; width: max-content;
  animation: bl-marquee 60s linear infinite;
}
.marquee-inner img { height: 32px; width: auto; opacity: 0.78; margin-right: 58px; flex-shrink: 0; }
@keyframes bl-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask: none; mask: none; }
  .marquee-inner { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; gap: 30px 40px; }
  .marquee-inner img { margin-right: 0; }
  .marquee-inner img[aria-hidden] { display: none; }
}

/* ============================================================
   OUTCOME CARDS
   ============================================================ */
.outcome-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px;
}
@media (max-width: 900px) { .outcome-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .outcome-grid { grid-template-columns: 1fr; } }
.outcome-card {
  position: relative; overflow: hidden;
  background:
    url("/assets/images/card-constellation.svg") center / cover no-repeat,
    linear-gradient(158deg, var(--night), var(--deep));
  border: 1px solid rgba(233, 190, 98, 0.22);
  border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  color: #b9c6c0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.outcome-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(233, 190, 98, 0.45); }
.outcome-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 13px; background: rgba(233, 190, 98, 0.14); border: 1px solid rgba(233, 190, 98, 0.22); margin-bottom: 16px; }
.outcome-icon svg { width: 30px; height: 30px; }
.outcome-card h3 { margin-bottom: 6px; font-size: 1.28rem; color: #faf6ec; }
.outcome-card p { margin: 0; font-size: 0.96rem; color: #b9c6c0; }
.outcome-note { text-align: center; max-width: 60ch; margin: 36px auto 0; color: var(--body); font-style: italic; }

/* ============================================================
   TESTIMONIAL SPLIT (video left, copy right)
   ============================================================ */
.gi-testimonial { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; max-width: 1240px; }
@media (max-width: 860px) { .gi-testimonial { grid-template-columns: 1fr; gap: 34px; } }
.gi-video-player {
  width: 100%; aspect-ratio: 16 / 9; display: block; background: #000;
  border-radius: var(--radius); border: 1px solid rgba(233, 190, 98, 0.3);
  box-shadow: var(--shadow-lift);
}
.gi-video {
  position: relative; display: block; width: 100%; padding: 0; cursor: pointer;
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  border: 1px solid rgba(233, 190, 98, 0.3); overflow: hidden;
  background: var(--night) center / cover no-repeat; box-shadow: var(--shadow-lift);
}
.gi-video iframe, .gi-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gi-video .play-badge {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(219, 161, 55, 0.95); display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease; pointer-events: none;
}
.gi-video:hover .play-badge { transform: scale(1.08); }
.video-caption { text-align: center; font-size: 0.92rem; margin: 16px 0 0; font-style: italic; color: var(--body); }
.gi-testimonial-copy h2 { margin-bottom: 24px; }

/* ============================================================
   MISSION (dark, constellation, editorial quote)
   ============================================================ */
.gi-mission { position: relative; overflow: hidden; isolation: isolate; }
.mission-constellation { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.gi-mission > .container { position: relative; z-index: 1; }
.gi-halo { display: block; margin: 0 auto 16px; }
.gi-mission blockquote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.36; color: #faf6ec;
  max-width: 30ch; margin: 0 auto 18px;
}
.gi-mission blockquote em { font-style: normal; color: var(--dawn); }
.gi-mission-pillars { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dawn); font-weight: 600; margin: 0; }

/* ============================================================
   STEPS FLOW (1 · 2 · 3)
   ============================================================ */
.gi-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px;
  position: relative;
}
.gi-steps::before {
  content: ""; position: absolute; top: 27px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  opacity: 0.5;
}
@media (max-width: 820px) { .gi-steps { grid-template-columns: 1fr; gap: 30px; max-width: 460px; margin-left: auto; margin-right: auto; } .gi-steps::before { display: none; } }
.gi-step { text-align: center; position: relative; }
.gi-step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #eec263, var(--gold) 60%, var(--gold-deep));
  color: #241a08; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(219, 161, 55, 0.32);
  margin-bottom: 18px; position: relative; z-index: 1;
}
.gi-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.gi-step p { font-size: 0.94rem; margin: 0; color: var(--body); max-width: 34ch; margin-left: auto; margin-right: auto; }

/* interior hero: shorter than the homepage, adds an eyebrow */
.hero-home.hero-compact { min-height: min(64vh, 540px); }
.hero-bg-truck { background-position: 64% center; }
@media (max-width: 680px) { .hero-bg-truck { background-position: 72% center; } }
.hero-home.hero-compact .hero-inner { padding-top: 92px; padding-bottom: 92px; }
.hero-home .eyebrow { color: var(--teal); }

/* individuals: 1-2-3 steps carried by real photos */
.step-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
@media (max-width: 820px) { .step-photo-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; } }
.step-photo-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4 / 3; }
.step-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step-photo-n {
  position: absolute; left: 16px; bottom: 16px;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #eec263, var(--gold) 60%, var(--gold-deep));
  color: #241a08; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(219, 161, 55, 0.4);
}
.step-photo h3 { margin: 18px 0 8px; font-size: 1.25rem; }
.step-photo p { margin: 0; font-size: 0.95rem; color: var(--body); }

/* big, inviting Reserve button under the 3 steps */
.steps-cta { margin-top: 56px; }
.btn-hero-cta {
  font-size: 1rem; padding: 22px 52px; letter-spacing: 0.08em;
  display: inline-flex; align-items: center; gap: 12px;
  animation: cta-breathe 2.8s ease-in-out infinite;
}
.btn-hero-cta .btn-arrow { transition: transform 0.2s ease; }
.btn-hero-cta:hover { transform: translateY(-3px) scale(1.02); }
.btn-hero-cta:hover .btn-arrow { transform: translateX(5px); }
@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 12px 30px rgba(219, 161, 55, 0.34); }
  50% { box-shadow: 0 20px 52px rgba(219, 161, 55, 0.58); }
}
.steps-cta-note { margin-top: 16px; font-size: 0.82rem; letter-spacing: 0.03em; color: var(--body); }
@media (prefers-reduced-motion: reduce) { .btn-hero-cta { animation: none; } }

/* ---------- FAQ (animated accordion: slide + fade) ---------- */
.faq-list { max-width: 840px; margin: 44px auto 0; }
.faq-item { background: var(--white); border: 1px solid var(--cardline); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 26px; font-family: var(--font-text); font-weight: 600;
  color: var(--ink); font-size: 1.02rem;
}
.faq-q:hover { color: var(--teal); }
.faq-icon { flex-shrink: 0; width: 12px; height: 12px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--gold-deep);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a-wrap { overflow: hidden; transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-a { opacity: 1; transition: opacity 0.34s ease; }
.faq-list[data-enhanced] .faq-item:not(.open) .faq-a { opacity: 0; }
.faq-a p { margin: 0; padding: 4px 26px 22px; font-size: 0.96rem; }
@media (prefers-reduced-motion: reduce) {
  .faq-a-wrap { transition: none; }
  .faq-a { transition: none; }
}

/* ---------- audience cards ---------- */
.audience-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 40px; }
.audience-card {
  border-radius: 18px; padding: 44px 38px; color: #efe9d8;
  background: linear-gradient(164deg, var(--night), var(--deep));
  border: 1px solid rgba(233, 190, 98, 0.25);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.audience-card h3 { color: #faf6ec; font-size: 1.4rem; }
.audience-card p { color: #b9c6c0; font-size: 0.96rem; }
.audience-card.gold { background: linear-gradient(164deg, #2b2313, #4a3a17); border-color: rgba(233, 190, 98, 0.4); }
/* solid gold buttons — high contrast on the dark cards (were teal-on-teal) */
.audience-card .btn {
  margin-top: 18px;
  background: linear-gradient(135deg, #eec263, var(--gold) 60%, var(--gold-deep));
  color: #241a08; border-color: transparent;
  box-shadow: 0 10px 24px rgba(219, 161, 55, 0.28);
}
.audience-card .btn:hover { color: #241a08; box-shadow: 0 14px 32px rgba(219, 161, 55, 0.42); }

/* ============================================================
   LEGACY SHIMS (interior pages inherit the new world)
   ============================================================ */
.hero-page { position: relative; padding: 104px 0 116px; background: linear-gradient(174deg, var(--night), var(--deep)); color: #c9d3cd; overflow: hidden; }
.hero-page.hero-light { background: linear-gradient(180deg, var(--paper-warm), var(--ivory)); color: var(--body); }
.hero-page h1 { color: #faf6ec; }
.hero-page.hero-light h1 { color: var(--ink); }
.hero-page .hero-bg { display: none; }
.hero-page .container { position: relative; z-index: 1; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-ctas.center { justify-content: center; }

.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-top: 44px; }
.card { background: var(--white); border: 1px solid var(--cardline); border-radius: var(--radius); padding: 38px 32px; box-shadow: var(--shadow-soft); }
.card h3 { margin-bottom: 10px; }
.card-teal { border-top: 3px solid var(--teal); }

.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { padding: 8px 0 8px 36px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background-color: var(--gold);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.6 16.6 5 12l-1.4 1.4 6 6 12-12L20.2 6z"/></svg>') center / 12px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.6 16.6 5 12l-1.4 1.4 6 6 12-12L20.2 6z"/></svg>') center / 12px no-repeat;
}
.section-dark .check-list li, .section-teal .check-list li { color: #dfe5e0; }

.feature-row { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; padding: 44px 0; }
.feature-row img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.feature-row.plain img, .feature-row img.plain { box-shadow: none; border-radius: 0; }

.tech-block { background: var(--white); border: 1px solid var(--cardline); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 44px 40px; margin-top: 30px; }
.tech-block h3 { color: var(--teal); }
.pillars { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 40px 0 0; }
.pillar { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(233, 190, 98, 0.3); border-radius: 14px; padding: 26px 24px; text-align: center; color: #e6ebe4; font-weight: 500; }
.pillar .pillar-icon { color: var(--dawn); font-size: 1.2rem; display: block; margin-bottom: 8px; }

.story { display: grid; gap: 44px; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); align-items: center; padding: 54px 0; }
.story:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
.story:nth-child(even) .story-media { order: 2; }
.story h3 em { color: var(--gold-deep); font-style: normal; }
@media (max-width: 860px) { .story, .story:nth-child(even) { grid-template-columns: 1fr; gap: 22px; } .story:nth-child(even) .story-media { order: 0; } }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid rgba(233, 190, 98, 0.3); overflow: hidden; background: var(--night) center / cover no-repeat; box-shadow: var(--shadow-lift); cursor: pointer; padding: 0; width: 100%; display: block; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed .play-badge { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: rgba(219, 161, 55, 0.95); display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; pointer-events: none; }
.video-embed:hover .play-badge { transform: scale(1.08); }

.post-list { display: grid; gap: 26px; margin-top: 48px; }
.post-card { display: grid; gap: 34px; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: center; background: var(--white); border: 1px solid var(--cardline); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; }
.post-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.post-card-body { padding: 30px 34px 30px 0; }
.post-card:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.post-card:nth-child(even) img { order: 2; }
.post-card:nth-child(even) .post-card-body { padding: 30px 0 30px 34px; }
.post-meta { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
@media (max-width: 780px) { .post-card, .post-card:nth-child(even) { grid-template-columns: 1fr; gap: 0; } .post-card:nth-child(even) img { order: 0; } .post-card-body, .post-card:nth-child(even) .post-card-body { padding: 26px 28px 30px; } }
.post-hero { padding: 90px 0 40px; }
.post-hero .post-meta { display: block; margin-bottom: 14px; }
.post-body { max-width: 760px; margin: 0 auto; padding-bottom: 80px; }
.post-body img { border-radius: var(--radius); box-shadow: var(--shadow-soft); margin: 34px auto; }
.post-body h2 { font-size: 1.6rem; margin-top: 1.6em; }
.post-body h3 { font-size: 1.25rem; margin-top: 1.5em; }
.post-body blockquote { margin: 30px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--gold); font-style: italic; color: var(--ink); }

/* interior closing CTA — teal, no sun-lamp glow */
.cta-band { background: linear-gradient(172deg, var(--deep), #0e3a37 85%); color: #fff; text-align: center; padding: 92px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0da; }
.cta-band .btn { margin-top: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #9aa8a2; }
/* EEG-reading separator drawn across the top of the footer */
.footer-eeg { line-height: 0; background: var(--night); padding: 22px 0 10px; }
.footer-eeg svg { display: block; width: 100%; height: 44px; }
.eeg-line { stroke-dasharray: 5200; stroke-dashoffset: 5200; }
.footer-eeg.drawn .eeg-line { transition: stroke-dashoffset 2.4s ease; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .eeg-line { stroke-dashoffset: 0; } }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 66px 24px 40px; display: grid; gap: 44px; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.footer-brand .brand { color: #efe9d8; font-size: 0.95rem; margin-bottom: 16px; }
.footer-brand .brand img { height: 54px; }
.footer-brand p { font-size: 0.95rem; }
.site-footer h3 { color: var(--dawn); font-family: var(--font-text); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 10px; }
.footer-col h3 + p { margin-bottom: 22px; }
.site-footer a { color: #d9dfd8; text-decoration: none; }
.site-footer a:hover { color: var(--dawn); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.social-row { display: flex; gap: 14px; margin-bottom: 24px; }
.social-row a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(233, 190, 98, 0.35); color: #efe9d8; transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.social-row a:hover { border-color: var(--dawn); color: var(--dawn); transform: translateY(-2px); }
.footer-cta { font-size: 0.74rem; padding: 14px 22px; }
.footer-legal { border-top: 1px solid rgba(233, 190, 98, 0.14); padding: 26px 24px 34px; text-align: center; font-size: 0.82rem; color: #7d8b85; }
.footer-legal p { max-width: 860px; margin: 0 auto 8px; }
@media (max-width: 980px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; gap: 34px; } }

/* ============================================================
   AUDIENCE ICONS (person / people)
   ============================================================ */
.aud-ico { width: 1.05em; height: 1.05em; vertical-align: -0.16em; margin-right: 0.5em; flex-shrink: 0; }
.aud-title { display: inline-flex; align-items: center; gap: 0.5em; }
.aud-title .aud-ico { margin-right: 0; width: 1.1em; height: 1.1em; vertical-align: baseline; }

/* ============================================================
   GROUPS PAGE — convergence / ripple / pop-up / reach / owner / nonprofit
   ============================================================ */
.convergence, .reach { position: relative; overflow: hidden; isolation: isolate; }
.conv-constellation, .reach-constellation { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.convergence > .container, .reach > .container { position: relative; z-index: 1; }

.conv-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 820px) { .conv-pillars { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.conv-pillar { text-align: center; padding: 32px 26px; border-radius: 16px; border: 1px solid rgba(233, 190, 98, 0.22); background: rgba(10, 46, 44, 0.42); transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.conv-pillar:hover { transform: translateY(-6px); border-color: rgba(233, 190, 98, 0.55); background: rgba(10, 46, 44, 0.68); }
.conv-icon { display: inline-flex; width: 66px; height: 66px; align-items: center; justify-content: center; border-radius: 16px; background: rgba(233, 190, 98, 0.1); border: 1px solid rgba(233, 190, 98, 0.25); margin-bottom: 16px; }
.conv-icon svg { width: 38px; height: 38px; }
.conv-pillar h3 { color: #faf6ec; font-size: 1.2rem; margin-bottom: 8px; }
.conv-pillar p { color: #b9c6c0; font-size: 0.94rem; margin: 0; }

/* the funnel spans the full pillar row so each line starts at its card */
.conv-merge { position: relative; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.conv-funnel { width: 100%; height: auto; display: block; }
@media (max-width: 820px) { .conv-funnel { display: none; } .conv-hub { margin-top: 30px; } }
.conv-line { stroke-dasharray: 300; stroke-dashoffset: 300; opacity: 0; }
.conv-merge.drawn .conv-line { transition: stroke-dashoffset 1.1s ease, opacity 0.5s ease; stroke-dashoffset: 0; opacity: 0.85; }
@media (prefers-reduced-motion: reduce) { .conv-line { stroke-dashoffset: 0; opacity: 0.85; } }
.conv-hub { position: relative; margin-top: 2px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 46px; border-radius: 18px; background: linear-gradient(160deg, #123230, #0b2e2c); border: 1px solid rgba(233, 190, 98, 0.5); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); }
/* a true circle, centered on the hub, never clipped by the hub's shape */
.conv-hub-glow {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: 460px; height: 460px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(246, 215, 138, 0.3), rgba(246, 215, 138, 0.08) 45%, transparent 68%);
  animation: hub-breathe 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hub-breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
.conv-hub-logo { height: 68px; width: auto; }
.conv-hub-tag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dawn); font-weight: 600; }
.conv-result { text-align: center; max-width: 62ch; margin: 42px auto 0; color: #d3ddd7; font-size: 1.1rem; }
.conv-result em { font-style: normal; color: var(--dawn); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .conv-line { stroke-dashoffset: 0; } .conv-hub-glow { animation: none; } }

.ripple-band { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 44px; }
.ripple-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--cardline); border-radius: 16px; padding: 26px 32px; box-shadow: var(--shadow-soft); min-width: 156px; }
.ripple-ico { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(219, 161, 55, 0.12); color: var(--gold-deep); }
.ripple-ico svg { width: 26px; height: 26px; }
.ripple-ico .aud-ico { width: 26px; height: 26px; margin: 0; vertical-align: baseline; }
.ripple-stage span:last-child { font-weight: 600; color: var(--ink); font-size: 0.96rem; }
.ripple-arrow { color: var(--gold); font-size: 1.7rem; }
@media (max-width: 620px) { .ripple-arrow { transform: rotate(90deg); } .ripple-band { flex-direction: column; } }

.org-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
@media (max-width: 820px) { .org-cols { grid-template-columns: 1fr; } }
.org-col-h { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 18px; }
.org-col-ico { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 11px; background: rgba(10, 92, 92, 0.1); color: var(--teal); }
.org-col-ico .aud-ico { width: 22px; height: 22px; margin: 0; vertical-align: baseline; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .mini-grid { grid-template-columns: 1fr; } }
.mini-card { position: relative; display: flex; align-items: center; background: var(--white); border: 1px solid var(--cardline); border-radius: 10px; padding: 14px 16px 14px 44px; font-size: 0.92rem; color: var(--ink); font-weight: 500; }
.mini-card::before { content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; background-color: var(--gold);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.6 16.6 5 12l-1.4 1.4 6 6 12-12L20.2 6z"/></svg>') center / 11px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.6 16.6 5 12l-1.4 1.4 6 6 12-12L20.2 6z"/></svg>') center / 11px no-repeat; }

.popup-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .popup-grid { grid-template-columns: 1fr; gap: 32px; } }
.popup-figure { margin: 0; }
.popup-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--cardline); box-shadow: var(--shadow-lift); background: #fff; }
.popup-figure figcaption { text-align: center; font-size: 0.88rem; color: var(--body); font-style: italic; margin-top: 14px; }
.popup-stats { display: flex; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.popup-stat { display: flex; flex-direction: column; }
.popup-stat-n { font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--gold-deep); line-height: 1; }
.popup-stat span:last-child { font-size: 0.82rem; color: var(--body); letter-spacing: 0.04em; margin-top: 4px; }

.reach-map { max-width: 760px; margin: 44px auto 6px; }
.reach-map svg { width: 100%; height: auto; display: block; }
/* the USA cutout */
.usa-shape { fill: rgba(233, 190, 98, 0.05); stroke: rgba(233, 190, 98, 0.5); stroke-width: 1.6; stroke-linejoin: round; }
/* animated dotted travel routes radiating from home base */
.route {
  fill: none; stroke: var(--dawn); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 2 10; opacity: 0.75;
  animation: route-march 1.1s linear infinite;
}
.usa-routes .route:nth-child(1) { animation-delay: 0s; }
.usa-routes .route:nth-child(2) { animation-delay: 0.2s; }
.usa-routes .route:nth-child(3) { animation-delay: 0.4s; }
.usa-routes .route:nth-child(4) { animation-delay: 0.6s; }
.usa-routes .route:nth-child(5) { animation-delay: 0.8s; }
@keyframes route-march { to { stroke-dashoffset: -12; } }
.dest-pin { fill: var(--dawn); transform-box: fill-box; transform-origin: center; animation: reach-pulse 2.8s ease-in-out infinite; }
.usa-pins .dest-pin:nth-child(2) { animation-delay: 0.5s; }
.usa-pins .dest-pin:nth-child(3) { animation-delay: 1s; }
.usa-pins .dest-pin:nth-child(4) { animation-delay: 1.5s; }
.usa-pins .dest-pin:nth-child(5) { animation-delay: 2s; }
.home-pin { fill: #fff; }
.home-ring { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: home-ring 2.4s ease-out infinite; }
@keyframes home-ring { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes reach-pulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.55); } }
.reach-home-label { display: block; text-align: center; margin-top: 10px; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--dawn); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .route, .dest-pin, .home-ring { animation: none; } .home-ring { opacity: 0.4; } }
/* Michigan highlighted so "we're located here" reads at a glance */
.usa-michigan { fill: rgba(233, 190, 98, 0.24); stroke: #e9be62; stroke-width: 1.6; stroke-linejoin: round; }
.usa-routes .route:nth-child(6) { animation-delay: 1s; } .usa-routes .route:nth-child(7) { animation-delay: 0.3s; } .usa-routes .route:nth-child(8) { animation-delay: 0.7s; } .usa-routes .route:nth-child(9) { animation-delay: 0.5s; } .usa-routes .route:nth-child(10) { animation-delay: 0.9s; }
.usa-pins .dest-pin:nth-child(6) { animation-delay: 0.8s; } .usa-pins .dest-pin:nth-child(7) { animation-delay: 1.8s; } .usa-pins .dest-pin:nth-child(8) { animation-delay: 1.2s; } .usa-pins .dest-pin:nth-child(9) { animation-delay: 2.4s; } .usa-pins .dest-pin:nth-child(10) { animation-delay: 0.6s; }

.serve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 36px; }
.serve-chip { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(233, 190, 98, 0.22); color: #dfe6e1; font-weight: 500; font-size: 0.95rem; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease; }
.serve-chip svg { width: 24px; height: 24px; color: var(--dawn); flex-shrink: 0; }
.serve-chip:hover { transform: translateY(-3px); border-color: rgba(233, 190, 98, 0.6); background: rgba(233, 190, 98, 0.1); color: #fff; }

.owner .container { max-width: 1280px; }
.owner-grid { display: grid; grid-template-columns: 0.66fr 1.34fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .owner-grid { grid-template-columns: 1fr; gap: 32px; } }
.owner-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.owner-sign { margin-top: 20px; }
.owner-sign strong { color: var(--ink); }
.owner-video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; border-radius: var(--radius); border: 1px solid rgba(233, 190, 98, 0.3); box-shadow: var(--shadow-lift); }

.nonprofit .np-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.nonprofit .np-grid > * { min-width: 0; }
@media (max-width: 860px) { .nonprofit .np-grid { grid-template-columns: 1fr; gap: 32px; } }
.np-copy h2 { color: #faf6ec; }
.np-copy p { color: #b9c6c0; }
.np-copy .btn { margin-top: 8px; }
.np-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(233, 190, 98, 0.3); background: #0b1a19; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.np-frame:hover { transform: translateY(-4px); box-shadow: 0 30px 72px rgba(0, 0, 0, 0.55); }
.np-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #0e2321; border-bottom: 1px solid rgba(233, 190, 98, 0.2); }
.np-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(233, 190, 98, 0.4); }
.np-bar b { margin-left: 10px; font-family: var(--font-text); font-weight: 400; font-size: 0.78rem; color: #9aa8a2; letter-spacing: 0.02em; }
.np-viewport { position: relative; width: 100%; height: 340px; overflow: hidden; background: #fff; }
.np-viewport iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: top left; pointer-events: none; }
.np-open { position: absolute; inset: 0; z-index: 2; display: block; }
@media (max-width: 520px) { .np-viewport { height: 260px; } }

/* ---------- Jotform loading overlay ---------- */
.jf-loading {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: rgba(16, 27, 26, 0.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 0.2s ease;
}
/* CRITICAL: the hidden attribute must win over display:flex, or this invisible
   full-screen overlay sits on top of the page and eats every click. */
.jf-loading[hidden] { display: none; }
.jf-loading p { color: #f2ead6; font-family: var(--font-text); font-size: 0.95rem; letter-spacing: 0.02em; margin: 0; }
.jf-spinner {
  width: 52px; height: 52px; border-radius: 50%;
  border: 4px solid rgba(246, 215, 138, 0.25); border-top-color: var(--gold);
  animation: jf-spin 0.8s linear infinite;
}
@keyframes jf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .jf-spinner { animation-duration: 1.6s; } }

/* ---------- motion (CSS-transition driven; JS flips classes) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TECHNOLOGIES PAGE — three-device showcase
   ============================================================ */

/* a dark/teal section carrying a soft background constellation */
.section-dark, .section-teal { overflow: hidden; isolation: isolate; }
.section-constellation { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.section-dark > .container, .section-teal > .container { position: relative; z-index: 1; }

/* "How it works" — three pillar cards (the integrated program) */
.pillar-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
@media (max-width: 820px) { .pillar-cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }
.pillar-card {
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(233, 190, 98, 0.28);
  border-radius: 16px; padding: 36px 28px 30px; text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
@media (hover: hover) { .pillar-card:hover { transform: translateY(-6px); border-color: rgba(233, 190, 98, 0.6); background: rgba(255, 255, 255, 0.07); } }
.pillar-ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; color: var(--dawn);
  background: radial-gradient(circle, rgba(233, 190, 98, 0.2), rgba(233, 190, 98, 0.04));
  border: 1px solid rgba(233, 190, 98, 0.4);
}
.pillar-ico svg { width: 30px; height: 30px; }
.pillar-card h3 { color: #fff; font-size: 1.22rem; margin: 0 0 8px; }
.pillar-card p { color: #cfe0da; font-size: 0.95rem; margin: 0; line-height: 1.6; }
.combine-note {
  text-align: center; margin: 34px 0 0; color: var(--dawn);
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem;
}

.tech-showcase { display: grid; gap: 84px; margin-top: 64px; }

.tech-item { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.tech-item:nth-child(even) .tech-figure { order: 2; }
@media (max-width: 900px) {
  .tech-item { grid-template-columns: 1fr; gap: 28px; }
  .tech-item:nth-child(even) .tech-figure { order: 0; }
}

.tech-figure {
  position: relative; margin: 0;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(233, 190, 98, 0.28);
  box-shadow: 0 30px 70px rgba(16, 27, 26, 0.30);
}
.tech-figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tech-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 90% at 18% 8%, rgba(246, 215, 138, 0.16), transparent 52%);
}
@media (hover: hover) { .tech-item:hover .tech-figure img { transform: scale(1.035); } }

.tech-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tech-num { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.tech-role { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }

.tech-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.tech-head h3 { margin: 0; font-size: clamp(1.5rem, 2.7vw, 2.05rem); }
.tech-abbr {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--teal); background: rgba(10, 92, 92, 0.07);
  border: 1px solid rgba(10, 92, 92, 0.2); border-radius: 999px; padding: 5px 13px;
}
.tech-tag { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: var(--gold-deep); margin: 0 0 16px; }
.tech-body > p { margin: 0 0 0.95em; }
.tech-body em { font-style: normal; color: var(--gold-deep); font-weight: 500; }

.tech-helps { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 20px 0 0; }
.tech-helps li {
  position: relative; font-size: 0.8rem; font-weight: 500; color: var(--ink);
  background: var(--white); border: 1px solid var(--cardline); border-radius: 999px;
  padding: 7px 15px 7px 26px;
}
.tech-helps li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }

/* the gains follow you home */
.tech-athome {
  display: flex; align-items: center; gap: 24px; margin: 72px auto 0; max-width: 860px;
  background: var(--white); border: 1px solid var(--cardline); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 30px 34px;
}
.tech-athome-mark {
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 14px;
  display: grid; place-items: center; color: var(--teal);
  background: rgba(10, 92, 92, 0.08); border: 1px solid rgba(10, 92, 92, 0.16);
}
.tech-athome h3 { margin: 0 0 6px; font-size: 1.2rem; }
.tech-athome p { margin: 0; font-size: 0.97rem; }
@media (max-width: 560px) { .tech-athome { flex-direction: column; text-align: center; align-items: center; } }

.module-list { text-align: left; display: inline-block; }

/* ---- "Where transformation deepens": neuroscience + wisdom = breakthroughs ---- */
.deepen-meet { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin: 42px auto 6px; max-width: 900px; }
.meet-node { padding: 13px 24px; border-radius: 999px; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: #fff; background: rgba(255,255,255,0.05); border: 1px solid rgba(233,190,98,0.35); }
.meet-op { color: var(--dawn); font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.meet-result { padding: 13px 26px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; color: #23180a; background: linear-gradient(135deg, var(--dawn), var(--gold)); box-shadow: 0 12px 32px rgba(219,161,55,0.3); }
@media (max-width: 640px) { .deepen-meet { flex-direction: column; } .meet-op { transform: rotate(90deg); } }
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 32px; }
.module-card { display: flex; align-items: center; gap: 13px; text-align: left; background: rgba(255,255,255,0.04); border: 1px solid rgba(233,190,98,0.22); border-radius: 12px; padding: 16px 18px; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
@media (hover: hover) { .module-card:hover { transform: translateY(-3px); border-color: rgba(233,190,98,0.55); background: rgba(255,255,255,0.07); } }
.module-card .mc-ico { flex-shrink: 0; width: 24px; height: 24px; color: var(--dawn); }
.module-card h4 { margin: 0; color: #eef3ef; font-size: 0.97rem; font-family: var(--font-text); font-weight: 600; line-height: 1.3; }

/* ---- "The human element" pull-quote ---- */
.human-quote { margin: 24px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; color: var(--ink); line-height: 1.36; font-style: normal; }

/* ---- Testimonials: living-wall collage hero ---- */
.hero-page.hero-collage { padding: 0; min-height: min(76vh, 660px); display: flex; align-items: center; }
.hero-page.hero-collage .hero-bg {
  display: block; background-position: center; background-size: cover;
  filter: brightness(1.32) saturate(0.9) contrast(1.03);
  animation: collage-drift 46s ease-in-out infinite alternate; will-change: transform;
}
@keyframes collage-drift { from { transform: scale(1.08) translate(-1%, -0.6%); } to { transform: scale(1.15) translate(1%, 0.6%); } }
@media (prefers-reduced-motion: reduce) { .hero-page.hero-collage .hero-bg { animation: none; transform: scale(1.08); } }
/* left-anchored fade: text readable on the left, faces visible on the right */
/* much lighter wash — reveal the wall; readability comes from text shadow */
.hero-page.hero-collage::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg, rgba(8,25,23,0.5) 0%, rgba(8,25,23,0.22) 20%, rgba(8,25,23,0.04) 42%, rgba(8,25,23,0) 62%),
    linear-gradient(0deg, rgba(8,25,23,0.4) 0%, rgba(8,25,23,0) 44%);
}
.hero-page.hero-collage .container { position: relative; z-index: 2; padding-top: 44px; padding-bottom: 44px; }
.hero-collage-inner { max-width: 680px; }
.hero-collage-inner .eyebrow { color: var(--dawn); display: flex; align-items: center; gap: 12px; text-shadow: 0 1px 6px rgba(0,0,0,0.9), 0 2px 3px rgba(0,0,0,0.7); }
.hero-collage-inner .eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); display: inline-block; box-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.hero-collage-inner h1 { color: #faf6ec; font-size: clamp(1.9rem, 3.5vw, 2.9rem); line-height: 1.12; text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 3px 12px rgba(0,0,0,0.78), 0 6px 36px rgba(0,0,0,0.6); margin-bottom: 10px; }
.hero-collage-inner .lead-count { color: var(--glow); font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 4px; text-shadow: 0 1px 8px rgba(0,0,0,0.9), 0 2px 3px rgba(0,0,0,0.7); }
.hero-collage-inner .btn-outline { background: rgba(8,25,23,0.36); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.hero-collage-inner .hero-ctas { margin-top: 26px; }
@media (max-width: 760px) {
  .hero-page.hero-collage::after { background: linear-gradient(0deg, rgba(8,25,23,0.93) 6%, rgba(8,25,23,0.62) 52%, rgba(8,25,23,0.34)); }
  .hero-collage-inner { max-width: 100%; }
}
.story { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); }
.story:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
@media (max-width: 860px) { .story, .story:nth-child(even) { grid-template-columns: 1fr; } }

/* EEG = the CORE technology (gold badge; support items stay plain) */
.tech-role-core { color: #23180a; background: linear-gradient(135deg, var(--dawn), var(--gold)); padding: 4px 12px; border-radius: 999px; box-shadow: 0 6px 18px rgba(219,161,55,0.3); }

/* Individuals: animated "aim at your goals" graphic (replaces the flat clipboard art) */
.goal-graphic {
  position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1 / 1;
  border-radius: var(--radius); overflow: hidden; padding: 26px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, #123230, var(--deep) 68%, var(--night));
  border: 1px solid rgba(233,190,98,0.28); box-shadow: var(--shadow-lift);
}
.goal-svg { width: 100%; height: 100%; overflow: visible; }
.goal-svg .g-ring { fill: none; stroke: rgba(233,190,98,0.5); stroke-width: 2; }
.goal-svg .g-ring-1 { stroke: rgba(233,190,98,0.2); }
.goal-svg .g-ring-2 { stroke: rgba(233,190,98,0.36); }
.goal-svg .g-bull { fill: var(--gold); transform-origin: 160px 160px; animation: g-bull-scale 4s ease-in-out infinite; }
.goal-svg .g-pulse { fill: none; stroke: var(--dawn); stroke-width: 2; opacity: 0; transform-origin: 160px 160px; animation: g-hit 4s ease-in-out infinite; }
.goal-svg .g-arrow { transform-origin: center; animation: g-fly 4s ease-in-out infinite; }
.goal-svg .g-shaft { stroke: var(--glow); stroke-width: 4; stroke-linecap: round; }
.goal-svg .g-head { fill: var(--glow); }
.goal-svg .g-fletch { stroke: var(--glow); stroke-width: 3; stroke-linecap: round; fill: none; }
.goal-svg .g-checks circle { fill: none; stroke: rgba(233,190,98,0.45); stroke-width: 2; }
.goal-svg .g-checks path { fill: none; stroke: var(--dawn); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes g-fly { 0% { transform: translate(-70px,-70px); opacity: 0; } 22% { opacity: 1; } 38%,82% { transform: translate(0,0); opacity: 1; } 94% { transform: translate(0,0); opacity: 0; } 100% { transform: translate(-70px,-70px); opacity: 0; } }
@keyframes g-hit { 0%,34% { transform: scale(1); opacity: 0; } 41% { transform: scale(1); opacity: 0.85; } 70% { transform: scale(3.4); opacity: 0; } 100% { opacity: 0; } }
@keyframes g-bull-scale { 0%,34%,100% { transform: scale(1); } 42% { transform: scale(1.2); } 60% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .goal-svg .g-arrow, .goal-svg .g-pulse, .goal-svg .g-bull { animation: none; } .goal-svg .g-arrow { transform: translate(0,0); opacity: 1; } }
