/* ---------------------------------------------------------------
   spencelifecoaching.com
   Look follows the clean, light "teaching" style of drdemartini.com:
   Poppins, white and pale-grey sections broken by deep-navy bands,
   bright-blue pill buttons, a yellow announcement bar, big rounded
   images and cards. Doug's own photos, words and video only.
   --------------------------------------------------------------- */

:root {
  --ink:        #202857;   /* navy text */
  --navy:       #003282;   /* deep-navy bands */
  --navy-deep:  #021B45;
  --blue:       #2684FF;   /* decorative blue */
  --blue-btn:   #1D74F0;   /* button fill: white text passes on it */
  --blue-btn-h: #135BC4;
  --blue-text:  #1561D6;   /* blue as text on white */
  --gold:       #FAC346;
  --paper:      #FFFFFF;
  --tint:       #F3F5F7;
  --white:      #FFFFFF;
  --muted:      #4A5060;
  --on-dark:    #D5DEF0;

  --sans: "Poppins", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --nav-h: 76px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --gap: clamp(1.75rem, 3.4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 24px;

  /* Surface tokens: a navy band re-points these instead of overriding every
     component. Defaults are the light theme. */
  --surface:        var(--white);
  --surface-border: #E4E8EF;
  --surface-title:  var(--ink);
  --surface-text:   var(--muted);
  --rule:           #E4E8EF;
  --accent:         var(--blue-text);
  --ghost-fg:       var(--ink);
  --ghost-border:   rgba(32, 40, 87, .3);
}

.section-dark,
.contact,
.men-band,
.footer {
  --surface:        rgba(255, 255, 255, .06);
  --surface-border: rgba(255, 255, 255, .14);
  --surface-title:  var(--white);
  --surface-text:   var(--on-dark);
  --rule:           rgba(255, 255, 255, .18);
  --accent:         var(--gold);
  --ghost-fg:       var(--white);
  --ghost-border:   rgba(255, 255, 255, .5);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1.1em; }

/* The accent word in a heading is simply blue. */
em { font-style: normal; color: var(--accent); }

a { color: var(--blue-text); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: .75rem 1.25rem;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
[hidden] { display: none !important; }

.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-inline {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  display: inline-block;
  flex: none;
}

/* ---------------- nav ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-border);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  margin-right: auto;
}
.nav-logo {
  width: 38px;
  height: 38px;
  flex: none;
  color: var(--navy);
}
.nav-brand-text { display: flex; flex-direction: column; }
/* Spaced capitals, like the reference wordmark. */
.nav-brand-title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}
.nav-brand-tag {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-text);
}
.nav-links {
  display: flex;
  gap: clamp(.9rem, 1.8vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav-links a:hover { color: var(--blue-text); }
.nav-links a.is-active { color: var(--blue-text); border-bottom-color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

.nav-burger,
.nav-close { display: none; }

@media (max-width: 1040px) {
  #primary-nav { display: none; }
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: -.5rem;
    padding: 0 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav-close { display: block; }
}
@media (max-width: 460px) {
  .nav-brand-tag { display: none; }
  .nav-brand-title { letter-spacing: .14em; font-size: .92rem; }
  .nav-cta { padding: .6rem .85rem; font-size: .78rem; }
}

.nav-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: calc(var(--nav-h) + 1rem) var(--pad) var(--pad);
  border: 0;
  background: var(--white);
  color: var(--ink);
}
.nav-dialog::backdrop { background: rgba(2, 27, 69, .6); }
.nav-dialog .nav-links { flex-direction: column; gap: .25rem; }
.nav-dialog .nav-links a {
  display: block;
  padding: .9rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
}
.nav-close {
  position: absolute;
  top: 1rem;
  right: var(--pad);
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}
body.nav-open { overflow: hidden; }

/* ---------------- announcement bar ---------------- */

.announce {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem 1.5rem;
  padding: .9rem clamp(2.75rem, 6vw, 4rem) .9rem var(--pad);
  position: relative;
  background: var(--gold);
  color: var(--ink);
  font-size: .95rem;
}
.announce p { margin: 0; max-width: 78ch; line-height: 1.45; }
.announce-close {
  position: absolute;
  top: 50%;
  right: .75rem;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  padding: .95rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.btn-primary {
  background: var(--blue-btn);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-btn-h);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(29, 116, 240, .35);
}
.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--ghost-fg);
  border-color: var(--ghost-border);
}
.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--ghost-fg);
  background: rgba(32, 40, 87, .06);
  transform: translateY(-2px);
}
.section-dark .btn-ghost:hover,
.contact .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: .6rem 1.2rem; font-size: .82rem; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: .95rem; }
button[disabled] { opacity: .6; cursor: progress; }

/* ---------------- shared section furniture ---------------- */

.section { padding-block: var(--section-y); }
.section-tint { background: var(--tint); }
.section-dark {
  background: var(--navy);
  color: var(--on-dark);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.center { margin-inline: auto; text-align: center; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9rem;
}
.section-title { max-width: 22ch; color: var(--surface-title); }
.section-lede {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  max-width: 60ch;
  color: var(--surface-text);
}
.sub-title {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--rule);
}
.section-cta-group {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------------- scroll reveals ---------------- *
 * Hidden state is scoped to .js and lives in CSS, so nothing flashes on load
 * and nothing stays invisible if the script never runs.
 */
.js .reveal,
.js .reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}
.js .reveal.is-visible,
.js .reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}
.js .reveal-group.is-visible > * { transition-delay: calc(80ms * var(--i, 0)); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-group > *,
  .js .hero-fade,
  .js .hero-title .word > span {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

/* ---------------- 1. hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F2F6FB 0%, var(--white) 100%);
}
/* Soft blue wash behind the portrait. Taller than the hero so it can drift
   without exposing an edge; --py is set by main.js. */
.hero::before {
  content: "";
  position: absolute;
  inset: -15% 0;
  background:
    radial-gradient(45% 60% at 82% 45%, rgba(38, 132, 255, .16), transparent 70%),
    radial-gradient(35% 45% at 6% 100%, rgba(250, 195, 70, .12), transparent 70%);
  transform: translate3d(0, calc(var(--py, 0) * .12px), 0);
  will-change: transform;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--gap);
  align-items: center;
  min-height: min(80vh, 720px);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.hero-title {
  color: var(--ink);
  font-size: clamp(2.5rem, 5.8vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: .35em;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}
.hero-title .word > span { display: inline-block; }
.hero-title .word-accent > span { color: var(--blue-text); }

.js .hero-title .word > span {
  transform: translateY(115%);
  animation: word-rise .9s cubic-bezier(.22, 1, .36, 1) forwards;
}
.js .hero-title .word:nth-of-type(1) > span { animation-delay: .15s; }
.js .hero-title .word:nth-of-type(2) > span { animation-delay: .22s; }
.js .hero-title .word:nth-of-type(3) > span { animation-delay: .29s; }
.js .hero-title .word:nth-of-type(4) > span { animation-delay: .36s; }
.js .hero-title .word:nth-of-type(5) > span { animation-delay: .6s; }
@keyframes word-rise { to { transform: none; } }

.js .hero-fade {
  opacity: 0;
  animation: fade-up .8s ease .35s forwards;
}
.js .hero-figure.hero-fade { animation-delay: .1s; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.lede-track { display: grid; margin-block: 1.25rem 1.25rem; }
.lede {
  grid-area: 1 / 1;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
.lede.is-active { opacity: 1; visibility: visible; }
.lede em { font-weight: 600; color: var(--blue-text); }

.hero-dots { display: flex; gap: .6rem; padding: 0 0 1.75rem; }
.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(32, 40, 87, .35);
  background: transparent;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.hero-dot:hover { background: rgba(38, 132, 255, .35); }
.hero-dot[aria-selected="true"] { background: var(--blue); border-color: var(--blue); transform: scale(1.3); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-credit { margin: 1.75rem 0 0; font-size: .88rem; color: var(--muted); }

.hero-figure {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 500px);
}
.hero-figure img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(32, 40, 87, .18);
}
.hero-live {
  position: absolute;
  left: -1.25rem;
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(32, 40, 87, .18);
  color: var(--muted);
  font-size: .82rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-live strong { color: var(--ink); margin-right: .2rem; }
.hero-live:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(32, 40, 87, .24); }

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #E5383B;
  box-shadow: 0 0 0 0 rgba(229, 56, 59, .6);
  animation: pulse 2s infinite;
  flex: none;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(229, 56, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 56, 59, 0); }
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 1.5rem 3.5rem;
    gap: 1.25rem;
  }
  .hero-figure { order: -1; justify-self: center; width: min(100%, 380px); }
  .hero-live { left: 50%; transform: translateX(-50%); bottom: -1rem; white-space: nowrap; }
  .hero-live:hover { transform: translateX(-50%) translateY(-2px); }
}

/* ---------------- marquee ---------------- */

.marquee {
  overflow: hidden;
  background: var(--white);
  border-block: 1px solid var(--rule);
  padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee-list {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0 clamp(.875rem, 1.75vw, 1.5rem);
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
}
.marquee-list li { display: flex; align-items: center; gap: clamp(1.75rem, 3.5vw, 3rem); }
.marquee-list li::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.marquee-brand { color: var(--blue-text); font-weight: 600; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .marquee-track > .marquee-list[aria-hidden="true"] { display: none; }
}

/* ---------------- 1b. where to start (navy tiles) ---------------- */

.tiles {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.section-dark .tile h3 { color: var(--ink); margin: 0; font-size: 1.1rem; }
.tile-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #EAF2FF;
  color: var(--blue-btn);
  transition: background-color .25s ease, color .25s ease;
}
.tile-icon svg { width: 42px; height: 42px; }
.tile:hover .tile-icon { background: var(--gold); color: var(--ink); }

/* ---------------- 2. why ---------------- */

.why-grid {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.why-card {
  padding: clamp(1.6rem, 2.4vw, 2rem);
  border-radius: var(--radius);
  background: var(--tint);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(32, 40, 87, .12);
}
.why-num {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 1rem;
}
.why-card h3 { margin-bottom: .5rem; }
.why-card p { margin: 0; font-size: .93rem; color: var(--muted); }

.creds-layout {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) var(--gap);
  font-size: .93rem;
  color: var(--muted);
}
.creds span {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.creds-figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.creds-figure img { width: 100%; transform: scale(1.14); }
@media (max-width: 860px) {
  .creds-layout { grid-template-columns: 1fr; }
}

/* ---------------- 3. coaching ---------------- */

.areas {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.area {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  box-shadow: 0 6px 24px rgba(32, 40, 87, .06);
}
.area-icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 50%;
  color: var(--blue-btn);
  background: #EAF2FF;
  margin-bottom: 1.1rem;
}
.area h3 { margin-bottom: .9rem; }
.area ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
  font-size: .92rem;
  color: var(--muted);
}
.area li { padding-left: 1rem; position: relative; }
.area li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.area a { color: inherit; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.area a:hover { color: var(--blue-text); }

.men-band {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius);
  color: var(--on-dark);
  background: linear-gradient(120deg, var(--navy) 0%, #0B4DB0 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.men-copy { max-width: 64ch; }
.men-band h3 { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.men-band p:last-child { margin: 0; }
.eyebrow-on-dark { color: var(--gold); }

/* Packages as dated-list rows, like "Upcoming Breakthrough Experience Dates". */
.plans {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.plan {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .5rem clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2.4vw, 1.75rem) 0;
  border-bottom: 1px solid var(--rule);
}
.plan-num {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
  min-width: 2.2ch;
}
.plan h4 { margin: 0 0 .25rem; }
.plan p { margin: 0; font-size: .93rem; color: var(--muted); max-width: 56ch; }
.plan-badge {
  display: inline-block;
  margin-left: .6rem;
  padding: .15rem .65rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: .15em;
}
.plan-link {
  padding: .7rem 1.4rem;
  border-radius: 999px;
  background: var(--blue-btn);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.plan-link:hover { background: var(--blue-btn-h); transform: translateY(-2px); }
@media (max-width: 640px) {
  .plan { grid-template-columns: auto 1fr; }
  .plan-link { grid-column: 1 / -1; justify-self: start; }
}

/* ---------------- 4. demartini ---------------- */

.dm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.dm-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  border-left: 4px solid var(--gold);
  background: var(--tint);
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 46ch;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(32, 40, 87, .08);
}
.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .93rem; color: var(--muted); }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: .9rem 2rem;
}
.checklist li,
.contact-points li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.checklist svg,
.contact-points svg {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  padding: .25rem;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  margin-top: .15rem;
}
@media (max-width: 860px) {
  .dm-layout { grid-template-columns: 1fr; }
}

/* ---------------- 5. podcast ---------------- */

.podcast-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.podcast-header .section-title,
.podcast-header .section-lede { margin-inline: auto; }

.t-wall {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}
.t-facade {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.t-facade:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.t-thumb { display: block; aspect-ratio: 16 / 9; }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 27, 69, .35));
}
.t-play svg {
  width: 60px;
  height: 60px;
  padding: 8px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-btn);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.t-facade:hover .t-play svg { transform: scale(1.1); }
.t-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: #E5383B;
  color: var(--white);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.t-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
}
.t-title { margin: .9rem 0 0; font-weight: 500; color: var(--white); line-height: 1.4; }

.podcast-cta {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.live-band {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.live-band > div { max-width: 60ch; }
.live-band h3 { color: var(--ink); font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.section-dark .live-band h3 { color: var(--ink); }
.live-band p:last-child { margin: 0; }
.live-kicker {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: .9rem;
}

/* ---------------- 6. testimonials ---------------- */

#testimonials .eyebrow,
#testimonials .section-title { text-align: center; margin-inline: auto; }

/* One quote at a time, crossfading. Slides stack in one grid cell so the stage
   is as tall as the longest quote and nothing jumps when they swap. */
.tcarousel {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  max-width: 920px;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(32, 40, 87, .08);
  text-align: center;
}
.tstage { display: grid; }
.tslide {
  grid-area: 1 / 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease, visibility .6s ease;
}
.tslide.is-active { opacity: 1; visibility: visible; transform: none; }
.tslide blockquote { margin: 0; max-width: 52ch; }
.tslide blockquote p {
  margin: 0;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.65;
  color: var(--muted);
}
.tslide blockquote p::before {
  content: "\201C";
  display: block;
  font-size: 4rem;
  font-weight: 600;
  line-height: .8;
  color: var(--blue);
  margin-bottom: .35rem;
}
.tslide figcaption {
  margin-top: 1.5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-text);
}
.tslide figcaption::before { content: "\2014\00a0"; }

.tcontrols {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.tnav {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.tnav:hover { background: var(--blue-btn); border-color: var(--blue-btn); color: var(--white); }
.tnav svg { display: block; width: 100%; height: 100%; }
.tnav:first-child svg { transform: scaleX(-1); }
.tdots { display: flex; gap: .55rem; }
.tdot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #CBD3E0;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.tdot[aria-selected="true"] { background: var(--blue); transform: scale(1.35); }

/* ---------------- 7. about ---------------- */

.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.bio-aside { position: sticky; top: calc(var(--nav-h) + 2rem); }
.bio-photo { margin: 0; }
.bio-photo img {
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(32, 40, 87, .18);
}
.bio-copy { max-width: 62ch; padding-top: clamp(0rem, 4vw, 3.5rem); }
.bio-copy p { color: var(--muted); }
.bio-copy .bio-open {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.thesis,
.pull-quote {
  margin: 2rem 0;
  padding: 1rem 0 1rem 1.5rem;
  border-left: 4px solid var(--gold);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 500;
  line-height: 1.5;
}
.bio-copy .thesis,
.bio-copy .pull-quote p { color: var(--ink); }
.pull-quote p { margin: 0; }
.pull-quote p::before { content: "\201C"; }
.pull-quote p::after  { content: "\201D"; }
.pull-quote cite {
  display: block;
  margin-top: .6rem;
  font-size: .78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-text);
}
.pull-quote cite::before { content: "\2014\00a0"; }

@media (max-width: 860px) {
  .bio-layout { grid-template-columns: 1fr; }
  .bio-aside { position: static; }
}

/* ---------------- 8. blog ---------------- */

.posts {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.post {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(32, 40, 87, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(32, 40, 87, .14); }
.post img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-tag {
  margin: 1.4rem 1.5rem .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-text);
}
.post h3 { margin: 0 1.5rem 1rem; flex: 1; }
.post-more {
  margin: 0 1.5rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
}
.post:hover .post-more { color: var(--blue-text); }

/* ---------------- 9. faq ---------------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.faq-list { display: grid; gap: .75rem; }
.faq {
  background: var(--tint);
  border-radius: 20px;
  padding: 0 1.5rem;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.faq[open] { background: var(--white); box-shadow: 0 0 0 2px var(--blue), 0 12px 30px rgba(32, 40, 87, .08); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 500;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-text);
  font-size: 1.3rem;
  font-weight: 500;
  transition: transform .25s ease;
}
.faq[open] summary::after { transform: rotate(45deg); background: var(--tint); }
.faq p { margin: 0 0 1.4rem; color: var(--muted); }
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; }
}

/* ---------------- 10. contact ---------------- */

.contact {
  color: var(--on-dark);
  background:
    radial-gradient(50% 70% at 90% 20%, rgba(38, 132, 255, .45), transparent 70%),
    var(--navy);
}
.contact h2 { color: var(--white); }
.contact .section-lede { color: var(--on-dark); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.contact-points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: .9rem;
  color: var(--white);
}
.contact-form {
  background: var(--white);
  color: var(--ink);
  border-radius: 32px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: 1rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1rem;
}
.field { display: grid; gap: .4rem; }
.field > span { font-size: .85rem; font-weight: 500; color: var(--ink); }
.field small { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  padding: .85rem 1rem;
  color: var(--ink);
  background: var(--tint);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #C9D3E4; }
.field input:focus,
.field select:focus,
.field textarea:focus { background: var(--white); border-color: var(--blue); }
.contact-submit { width: 100%; margin-top: .5rem; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-status.is-ok    { color: #137A3B; font-weight: 600; }
.form-status.is-error { color: #C0262D; font-weight: 600; }

/* Off-screen rather than display:none — some bots skip hidden inputs. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ---------------- footer ---------------- */

.footer {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2rem);
}
.footer .nav-brand-title { color: var(--white); }
.footer .nav-brand-tag { color: var(--gold); }
.footer .nav-logo { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.footer-brand { margin: 0 0 1.25rem; display: inline-flex; }
.footer-tag { font-size: .93rem; max-width: 42ch; margin-bottom: 1.5rem; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.footer-heading {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-nav a { color: var(--on-dark); text-decoration: none; font-size: .92rem; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.copyright { font-size: .82rem; color: #8E9BB8; margin: 0; }
.footer-quote { font-style: italic; }

.social { list-style: none; margin: 0; padding: 0; display: flex; gap: .85rem; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--on-dark);
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------------- parallax ---------------- */

[data-parallax] { will-change: transform; }

/* ---------------- scroll progress ---------------- */

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ---------------- free live-session popup ---------------- */

.popup {
  width: min(540px, calc(100vw - 2rem));
  padding: 0;
  border: 0;
  border-radius: 32px;
  color: var(--muted);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(2, 27, 69, .5);
}
.popup[open] { animation: pop-in .45s cubic-bezier(.22, 1, .36, 1); }
.popup::backdrop { background: rgba(2, 27, 69, .6); backdrop-filter: blur(4px); }
@keyframes pop-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.popup-dismiss { display: flex; justify-content: flex-end; margin: 0; padding: .6rem .6rem 0; }
.popup-dismiss button {
  width: 40px;
  height: 40px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.popup-dismiss button:hover { background: var(--tint); color: var(--ink); }
.popup-inner { padding: 0 clamp(1.5rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.75rem); }
.popup h2 { color: var(--ink); font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.popup-actions { display: grid; gap: .75rem; margin-top: 1.5rem; }
