/* ====================================================================
   PracticePod.ai — editorial style, deep Portuguese tile blue
   Reference language: raineslaw.com (cinematic, full-bleed, serif type)
==================================================================== */

:root {
  /* Portuguese tile palette */
  --blue-deepest: #0b1f3d;    /* near-black indigo */
  --blue-deep:    #122a52;    /* primary deep azulejo */
  --blue:         #1b3a6b;    /* mid azulejo */
  --blue-soft:    #2a4f87;    /* lighter blue */
  --blue-tint:    #d4dceb;    /* faint blue for borders */

  /* Warm contrast */
  --ivory:        #f6f1e8;    /* off-white background, like vintage tile grout */
  --ivory-soft:   #ece4d5;    /* warmer cream */
  --cream:        #ede5d3;
  --paper:        #fbf8f1;

  /* Accent — warm dusty gold replacing Raines' orange */
  --gold:         #c5a465;
  --gold-bright:  #d9b676;

  /* Type */
  --ink:          #1a1a1f;
  --ink-soft:     #4a4a52;
  --on-dark:      #f6f1e8;
  --on-dark-soft: #b9c2d4;

  /* Typography */
  --serif: 'Cormorant Garamond', 'Ivy Presto Headline', 'Playfair Display', Georgia, serif;
  --sans:  'Figtree', 'Helvetica Neue', system-ui, -apple-system, sans-serif;

  /* Fluid scale */
  --text-hero:   clamp(2.75rem, 7vw, 6rem);
  --text-2xl:    clamp(2rem, 5vw, 4rem);
  --text-xl:     clamp(1.625rem, 3vw, 2.5rem);
  --text-lg:     clamp(1.25rem, 1.8vw, 1.5rem);
  --text-base:   1.05rem;
  --text-sm:     0.875rem;
  --text-xs:     0.75rem;

  --container: 1200px;
  --container-narrow: 820px;

  --section-pad: clamp(4.5rem, 9vw, 8rem);
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--blue); color: var(--ivory); }

/* ---- layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.container.narrow { max-width: var(--container-narrow); }
.container.center { text-align: center; }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
  color: var(--on-dark);
}
.site-header.is-scrolled {
  background: rgba(11, 31, 61, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.9rem 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--on-dark);
}
.brand-mark { width: 32px; height: 32px; color: var(--on-dark); }
.brand-mark--lg { width: 44px; height: 44px; }
.brand-wordmark {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.brand-dot { color: var(--gold); font-style: italic; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.primary-nav a {
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark);
  font-weight: 500;
  transition: color 0.2s;
}
.primary-nav a:hover { color: var(--gold); }
.primary-nav a.nav-cta {
  border: 1px solid var(--on-dark);
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  transition: all 0.25s;
}
.primary-nav a.nav-cta:hover {
  background: var(--gold);
  color: var(--blue-deepest);
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px; height: 36px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: flex-end;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--on-dark);
  transition: all 0.3s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--blue-deepest);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--on-dark);
  font-weight: 300;
}
.mobile-menu a:hover { color: var(--gold); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  color: var(--on-dark);
  overflow: hidden;
  padding: clamp(7rem, 12vh, 10rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-1.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,31,61,0.4) 0%, rgba(11,31,61,0.55) 60%, rgba(11,31,61,0.85) 100%);
  z-index: 1;
}

.hero-mark {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
  color: var(--on-dark);
  margin: 0 auto clamp(2rem, 6vh, 4rem);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-monogram {
  width: clamp(90px, 9vw, 120px);
  height: clamp(90px, 9vw, 120px);
  border: 1.5px solid rgba(246,241,232,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: var(--serif);
  position: relative;
}
.mono-letter {
  font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1;
  font-style: italic;
  position: relative;
}
.mono-degree {
  font-size: 0.85rem;
  margin-left: 0.05em;
  position: relative;
  top: -1.2em;
  color: var(--gold);
}
.hero-monogram-label {
  margin-top: 1rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--on-dark);
  padding-left: 0.42em;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  width: 100%;
}
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: var(--text-xs);
  margin: 0 0 1.4rem;
  color: var(--gold-bright);
  font-weight: 500;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--text-hero);
  line-height: 1.05;
  margin: 0 0 1.5rem;
  letter-spacing: -0.005em;
  max-width: 18ch;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 300;
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--on-dark-soft);
  max-width: 50ch;
  margin: 0;
}

.hero-cities {
  position: absolute;
  bottom: 1.6rem;
  left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: rgba(246,241,232,0.55);
  font-weight: 500;
}

/* ---- SECTIONS ---- */
.section {
  padding: var(--section-pad) 0;
}
.section.tight-top { padding-top: 0; }

.section--ivory   { background: var(--ivory);     color: var(--ink); }
.section--cream   { background: var(--cream);     color: var(--ink); }
.section--paper   { background: var(--paper);     color: var(--ink); }
.section--blue    { background: var(--blue);      color: var(--on-dark); }
.section--blue-deep { background: var(--blue-deepest); color: var(--on-dark); }

.section-eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--blue);
  margin: 0 0 1.6rem;
}
.section-eyebrow.light { color: var(--gold-bright); }

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--text-2xl);
  line-height: 1.08;
  margin: 0 0 1.5rem;
  letter-spacing: -0.005em;
  max-width: 22ch;
}
.section-title.light { color: var(--on-dark); max-width: 24ch; }

.lede p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  margin: 0 0 1.3rem;
  color: var(--ink-soft);
}
.lede p em {
  font-style: italic;
  color: var(--ink);
}

.section p { margin: 0 0 1.1rem; max-width: 65ch; }
.section .container.narrow p { max-width: none; }

.light-body {
  color: var(--on-dark-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 64ch;
}
.light-body--accent {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--gold-bright);
  margin-top: 2rem;
  line-height: 1.45;
}
.light-body em { color: var(--gold-bright); font-style: italic; }

.col-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--text-xl);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--on-dark);
  max-width: 14ch;
}
.col-title--dark { color: var(--ink); }
.col-body { color: var(--on-dark-soft); }
.col-body.dark { color: var(--ink-soft); }
.col-body p { font-size: 1.02rem; max-width: 56ch; }

/* two column section layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.rule-light {
  border: 0;
  border-top: 1px solid rgba(246,241,232,0.18);
  margin: clamp(3rem, 5vw, 4.5rem) 0;
}

/* ---- BLEED IMAGE SECTIONS ---- */
.bleed {
  width: 100%;
  height: clamp(380px, 50vh, 620px);
  background-size: cover;
  background-position: center;
  position: relative;
}
.bleed--fabric { background-image: url('images/fabric-texture.png'); }
.bleed--silk   {
  background-image: url('images/silk-motif.png');
  background-position: right center;
  background-size: cover;
}
.bleed-quote {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.bleed-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 1.18;
  color: var(--blue-deepest);
  max-width: 22ch;
  margin: 0;
  letter-spacing: -0.005em;
}

/* ---- PULLQUOTE ---- */
.pullquote-section { padding-bottom: 1.5rem; }
.pullquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: var(--blue-deep);
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
  max-width: 28ch;
}
.pullquote em {
  font-style: italic;
  color: var(--gold);
}
.pullquote-attr {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: var(--text-xs);
  color: var(--ink-soft);
  margin: 0;
}

/* ---- STATS ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(246,241,232,0.18);
  border-bottom: 1px solid rgba(246,241,232,0.18);
}
.stat { text-align: left; }
.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--gold-bright);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.stat-label {
  font-family: var(--sans);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--on-dark-soft);
  line-height: 1.4;
  max-width: 26ch;
}

/* ---- TESTIMONIAL ---- */
.testimonial-section {
  background: var(--ivory-soft);
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.testimonial {
  margin: 0;
  text-align: center;
}
.testimonial p {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.42;
  color: var(--blue-deep);
  margin: 0 auto 2rem;
  max-width: 38ch;
}
.testimonial cite {
  font-family: var(--sans);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: var(--text-xs);
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---- STEPS ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.step {
  border-top: 1px solid var(--blue-tint);
  padding-top: 1.5rem;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.step-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
  color: var(--blue-deep);
  margin: 0 0 1rem;
  letter-spacing: -0.005em;
}
.step p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ---- KEEP LIST ---- */
.keep-list, .which-list, .call-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.keep-list li, .which-list li, .call-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 1.1rem;
  line-height: 1.65;
}
.keep-list li::before,
.which-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.7rem;
  height: 1px;
  background: var(--gold);
}
.call-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.which-list li strong { color: var(--blue-deep); }
.which-list li em { color: var(--gold); font-style: italic; }

/* ---- WHY GRID ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.why-card { padding: 0; }
.why-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.why-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.25;
  color: var(--blue-deep);
  margin: 0 0 1rem;
}
.why-card p { color: var(--ink-soft); font-size: 1rem; }

/* ---- PATHS ---- */
.paths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--blue-tint);
  margin-top: clamp(3rem, 6vw, 4rem);
  border: 1px solid var(--blue-tint);
}
@media (min-width: 900px) {
  .paths-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.path-card {
  background: var(--ivory);
  padding: clamp(2rem, 3.5vw, 3rem);
}
.path-card--featured {
  background: var(--blue-deepest);
  color: var(--on-dark);
}
.path-card--featured .path-tag { color: var(--gold-bright); }
.path-card--featured .path-title { color: var(--on-dark); }
.path-card--featured .path-deck { color: var(--on-dark); }
.path-card--featured .path-list li { color: var(--on-dark-soft); }
.path-card--featured .path-list li strong { color: var(--gold-bright); }
.path-card--featured .path-summary { color: var(--gold-bright); }
.path-card--featured .path-list li::before { background: var(--gold); }

.path-tag {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--blue);
  margin: 0 0 1.2rem;
}
.path-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
  color: var(--blue-deep);
  margin: 0 0 1rem;
  letter-spacing: -0.005em;
}
.path-deck {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  line-height: 1.4;
}
.path-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.path-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.path-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.7rem;
  height: 1px;
  background: var(--gold);
}
.path-summary {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 1.2rem 0 0;
  line-height: 1.55;
}
.path-callout {
  background: var(--ivory-soft);
  border-left: 2px solid var(--gold);
  padding: 1rem 1.2rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}
.path-callout strong { color: var(--blue-deep); }
.path-card p { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1rem; }

/* ---- CONTACT ---- */
.call-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  padding-top: 3rem;
  border-top: 1px solid rgba(246,241,232,0.18);
}
.call-label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: var(--text-xs);
  color: var(--gold-bright);
  font-weight: 500;
  margin: 0 0 1rem;
}

.contact-card {
  background: rgba(246,241,232,0.06);
  border: 1px solid rgba(246,241,232,0.15);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  margin-top: 2rem;
}
.contact-item { min-width: 0; }
.contact-card .contact-cta { justify-self: end; }
.contact-label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.7rem;
  color: var(--gold-bright);
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.contact-value {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--on-dark);
  margin: 0;
  white-space: nowrap;
}
.contact-value a { color: inherit; transition: color 0.2s; }
.contact-value a:hover { color: var(--gold-bright); }
.contact-cta {
  display: inline-block;
  padding: 1.1rem 2rem;
  background: var(--gold);
  color: var(--blue-deepest);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 0.25s, transform 0.25s;
  white-space: nowrap;
}
.contact-cta:hover { background: var(--gold-bright); transform: translateX(2px); }

/* ---- FOOTER ---- */
.site-footer {
  background: #050d1d;
  color: var(--on-dark-soft);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.footer-brand .brand-mark { color: var(--on-dark); margin-bottom: 1rem; }
.footer-wordmark {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--on-dark);
  margin: 0 0 0.5rem;
  font-weight: 400;
}
.footer-tagline {
  font-family: var(--sans);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--on-dark-soft);
  margin: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-nav a {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--text-xs);
  color: var(--on-dark-soft);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold-bright); }
.footer-legal { font-size: 0.78rem; }
.footer-fineprint {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(246,241,232,0.4);
  font-size: 0.65rem;
  margin: 0 0 1rem;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0;
}
.footer-links a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--on-dark-soft);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-bright); }

/* ====================================================================
   v2 ADDITIONS — new content layout, hero CTAs, form, etc.
==================================================================== */

/* Hero deck (longer, sans, between headline and italic sub) */
.hero-deck {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--on-dark);
  max-width: 56ch;
  margin: 0 0 1.4rem;
  opacity: 0.95;
}
.hero-headline { max-width: 20ch; margin-bottom: 1.8rem; }
.hero-sub { margin-top: 0.4rem; }

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
  cursor: pointer;
  text-decoration: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--blue-deepest);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(246,241,232,0.55);
}
.btn--ghost:hover { background: rgba(246,241,232,0.08); border-color: var(--on-dark); }
.btn--lg { padding: 1.15rem 2.2rem; font-size: 0.85rem; }

/* ---- INSIDE GRID (What's inside the system) ---- */
.inside-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.inside-card {
  border-top: 1px solid var(--blue-tint);
  padding-top: 1.4rem;
}
.inside-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.inside-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.2;
  color: var(--blue-deep);
  margin: 0 0 0.9rem;
  letter-spacing: -0.005em;
}
.inside-card p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 1024px) { .inside-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .inside-grid { grid-template-columns: 1fr; } }

/* ---- PRINCIPLES (How it works) ---- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.principle {
  border-top: 1px solid rgba(246,241,232,0.22);
  padding-top: 1.6rem;
}
.principle-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin-bottom: 0.8rem;
}
.principle-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.22;
  color: var(--on-dark);
  margin: 0 0 1rem;
  letter-spacing: -0.005em;
}
.principle p { color: var(--on-dark-soft); font-size: 1rem; line-height: 1.65; max-width: 38ch; }
@media (max-width: 900px) { .principles-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

.sub-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  margin: 0 0 1.6rem;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.sub-h2.light { color: var(--on-dark); }
.sub-h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.25;
  margin: 1.8rem 0 0.9rem;
  color: var(--blue-deep);
  letter-spacing: -0.005em;
}
.sub-h3.light { color: var(--gold-bright); }

/* Path-mini (inside How It Works) */
.path-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 1.5rem;
}
.path-mini {
  background: rgba(246,241,232,0.05);
  border: 1px solid rgba(246,241,232,0.14);
  padding: 1.6rem 1.5rem;
  border-radius: 2px;
}
.path-mini-tag {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin: 0 0 0.8rem;
}
.path-mini p {
  color: var(--on-dark-soft);
  font-size: 0.97rem;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) { .path-mini-grid { grid-template-columns: 1fr; } }

/* Responsibility list (used in How It Works & Path detail) */
.responsibility-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.responsibility-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.responsibility-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.7rem;
  height: 1px;
  background: var(--gold);
}
.responsibility-list li strong { color: var(--blue-deep); }
.responsibility-list--light li { color: var(--on-dark-soft); }
.responsibility-list--light li { color: var(--on-dark-soft); }
.responsibility-list--light li strong { color: var(--gold-bright); }
.responsibility-list--bullets li strong { color: var(--gold-bright); }

/* ---- LAYERS (What the system actually provides) ---- */
.layers {
  display: grid;
  gap: clamp(1.2rem, 2vw, 1.6rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.layer {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: start;
  padding: 1.8rem 0;
  border-top: 1px solid var(--blue-tint);
}
.layer:last-child { border-bottom: 1px solid var(--blue-tint); }
.layer-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  color: var(--gold);
}
.layer-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.2;
  color: var(--blue-deep);
  margin: 0 0 0.8rem;
  letter-spacing: -0.005em;
}
.layer-body p { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; max-width: 62ch; margin: 0; }
@media (max-width: 600px) { .layer { grid-template-columns: 1fr; } }

/* ---- PATHS GRID adjustments (3 equal columns now) ---- */
@media (min-width: 900px) {
  .paths-grid { grid-template-columns: 1fr 1fr 1.2fr; }
}
.path-card--featured-mid {
  background: var(--blue);
  color: var(--on-dark);
}
.path-card--featured-mid .path-tag { color: var(--gold-bright); }
.path-card--featured-mid .path-title { color: var(--on-dark); }
.path-card--featured-mid .path-deck { color: var(--on-dark); }
.path-card--featured-mid .path-list li { color: var(--on-dark-soft); }
.path-card--featured-mid .path-list li strong { color: var(--gold-bright); }
.path-card--featured-mid .path-summary { color: var(--on-dark); font-style: italic; }
.path-card--featured-mid .path-list li::before { background: var(--gold); }
.path-card--featured-mid .path-link { color: var(--gold-bright); border-color: rgba(246,241,232,0.4); }
.path-card--featured-mid .path-link:hover { color: var(--on-dark); border-color: var(--on-dark); }

.path-link {
  display: inline-block;
  margin-top: 1.3rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--blue-deep);
  border-bottom: 1px solid var(--blue-tint);
  padding-bottom: 0.35rem;
  transition: color 0.2s, border-color 0.2s;
}
.path-link:hover { color: var(--gold); border-color: var(--gold); }
.path-link--gold { color: var(--gold-bright); border-color: rgba(246,241,232,0.4); }
.path-link--gold:hover { color: var(--on-dark); border-color: var(--on-dark); }

/* Path-card rate line (replaces removed path-list/path-summary in card) */
.path-rate {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0.4rem 0 0;
}
.path-rate strong {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--blue-deep);
}
.path-card--featured .path-rate,
.path-card--featured-mid .path-rate { color: var(--on-dark-soft); }
.path-card--featured .path-rate strong,
.path-card--featured-mid .path-rate strong { color: var(--gold-bright); }

/* Intro lede under "What's inside the system" */
.inside-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  margin: 0 0 clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.5;
  max-width: 50ch;
}

/* "Three ways to participate" block under inside cards */
.three-ways {
  margin: clamp(3rem, 5vw, 4.5rem) auto 0;
  padding-top: clamp(2rem, 3.5vw, 2.8rem);
  border-top: 1px solid var(--blue-tint);
}
.three-ways .sub-h3 {
  margin-top: 0;
}
.three-ways p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.three-ways p:last-child {
  color: var(--blue);
  font-size: 0.98rem;
}

/* Narrow-inner helper (constrained width inside wide containers) */
.narrow-inner {
  max-width: 760px;
}

/* Vertical stack variant for path-mini-grid (used in "What this looks like, by path") */
.path-mini-grid--stack {
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.path-mini-grid--stack .path-mini {
  padding: 1.7rem clamp(1.5rem, 2.5vw, 2rem);
}

/* Lead-in line before the "On that call" bullet list */
.call-intro {
  margin: clamp(1.8rem, 3vw, 2.4rem) 0 0.9rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.call-intro strong {
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}
.call-intro.light { color: var(--on-dark); }

/* ---- CALLOUTS (used on path detail pages) ---- */
.callout {
  border-radius: 2px;
  padding: clamp(1.4rem, 2.5vw, 1.8rem) clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 1.8rem 0;
}
.callout--ivory {
  background: var(--ivory-soft);
  border-left: 3px solid var(--gold);
}
.callout--blue {
  background: rgba(246,241,232,0.06);
  border-left: 3px solid var(--gold-bright);
}
.callout--gold {
  background: rgba(217,182,118,0.14);
  border-left: 3px solid var(--gold);
  color: var(--on-dark);
  margin-top: 2.2rem;
}
.callout-label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin: 0 0 0.9rem;
}
.callout-label.light { color: var(--gold-bright); }
.callout-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.callout-list li {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--blue-deep);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.callout-list li strong { font-weight: 500; color: var(--blue-deepest); }
.callout-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.18;
  color: var(--on-dark);
  margin: 0;
}
.callout-headline strong { color: var(--gold-bright); font-weight: 400; }
.callout--gold p { color: var(--on-dark); margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; }
.callout--gold strong { color: var(--gold-bright); }

.fineprint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  border-top: 1px solid var(--blue-tint);
  padding-top: 1.4rem;
  margin-top: 2rem;
}

/* ---- CALL LIST (light variant) ---- */
.call-list--light li { color: var(--on-dark-soft); }

/* ---- FORM ---- */
.form-card {
  background: rgba(246,241,232,0.05);
  border: 1px solid rgba(246,241,232,0.18);
  padding: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  border-radius: 2px;
}
.form-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--on-dark);
  margin: 0 0 0.4rem;
  letter-spacing: -0.005em;
}
.form-sub {
  font-family: var(--sans);
  color: var(--on-dark-soft);
  margin: 0 0 1.8rem;
  font-size: 0.95rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field--full { grid-column: 1 / -1; }
.form-label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-bright);
}
.form-optional {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--on-dark-soft);
  font-weight: 400;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(246,241,232,0.32);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.7rem 0;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.form-field textarea {
  border: 1px solid rgba(246,241,232,0.25);
  padding: 0.9rem 1rem;
  border-radius: 2px;
  min-height: 110px;
  font-family: var(--sans);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(246,241,232,0.4);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(246,241,232,0.04);
}
.form-field input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #d97a6c;
}

.radio-group {
  border: 0;
  padding: 0;
  margin: 1.5rem 0 0.4rem;
}
.radio-group legend { padding: 0; margin-bottom: 0.8rem; }
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio span {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--on-dark-soft);
  border: 1px solid rgba(246,241,232,0.32);
  border-radius: 999px;
  transition: all 0.2s;
}
.radio input:checked + span {
  background: var(--gold);
  color: var(--blue-deepest);
  border-color: var(--gold);
}
.radio:hover span { color: var(--on-dark); border-color: rgba(246,241,232,0.55); }
.radio input:checked + span,
.radio input:checked + span:hover { color: var(--blue-deepest); border-color: var(--gold); }
.radio input:focus-visible + span { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246,241,232,0.12);
}
.form-fine {
  font-size: 0.78rem;
  color: rgba(246,241,232,0.5);
  margin: 0;
  max-width: 36ch;
}
.form-card.is-submitting .schedule-form { opacity: 0.55; pointer-events: none; }

.form-success {
  text-align: center;
  padding: 1.5rem 0;
}
.form-success-eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--gold-bright);
  font-weight: 600;
  margin: 0 0 1rem;
}
.form-success-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--on-dark);
  margin: 0 0 1rem;
  letter-spacing: -0.005em;
}
.form-success p {
  color: var(--on-dark-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto;
}

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .two-col, .steps, .why-grid, .call-grid, .footer-inner, .stats-row,
  .principles-grid, .path-mini-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .hero-ctas { margin-top: 1.8rem; }
  .btn { width: 100%; max-width: 360px; }
  .stats-row {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(246,241,232,0.18);
  }
  .contact-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-cta { text-align: center; }
  .hero-cities { font-size: 0.6rem; gap: 0.4rem 1rem; }
  .hero-headline { max-width: 100%; }
  .col-title { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero { min-height: 92vh; padding-bottom: 5rem; }
  .hero-cities { display: none; }
  .footer-legal { grid-column: 1; }
}

/* ============================================================
   HERO SLIDESHOW — rotating cinematic background images
   Replaces the single static .hero-image. Each slide is a
   full-bleed background; we crossfade by toggling .is-active.
   ============================================================ */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.8s ease-in-out, transform 9s ease-out;
  transform: scale(1.04);
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.0);
}

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.4s ease; transform: none; }
  .hero-slide.is-active { transform: none; }
}
