/*
 * Khetiwe Richards — personal site.
 * Bookish, considered, Penguin Press / New Yorker register.
 * Cream is the dominant surface. Dark is rare (hero + footer only).
 * Accent: dark teal. Headlines: Fraunces serif. Body: Inter.
 *
 * Hand-rebuilt as a single static site from the Lovable design.
 * No build step, no dependencies — edit the markup and CSS directly.
 */

/* ------------------------------------------------------------------ *
 * Design tokens
 * ------------------------------------------------------------------ */
:root {
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  /* Core palette (oklch — warm cream ground, dark teal accent, ink text) */
  --cream: oklch(0.965 0.018 85);
  --ink: oklch(0.20 0.012 60);
  --ink-muted: oklch(0.42 0.012 60);
  --ink-subtle: oklch(0.58 0.010 60);
  --rule: oklch(0.86 0.015 75);
  --teal: oklch(0.42 0.075 195);
  --teal-bright: oklch(0.58 0.115 195);
  --dark: oklch(0.18 0.012 60);
  --dark-foreground: oklch(0.95 0.015 85);
  --dark-muted: oklch(0.68 0.015 75);

  /* Lifted surfaces + shadows (used by the outcome cards) */
  --paper: oklch(0.985 0.01 85); /* card that lifts off the cream */
  --cream-soft: oklch(0.93 0.018 80); /* badge chip ground */
  --rule-faint: color-mix(in oklab, var(--ink) 8%, transparent);
  --r-md: 10px;
  --shadow: 0 1px 2px rgba(27, 33, 31, 0.05), 0 8px 24px rgba(27, 33, 31, 0.06);
  --shadow-lift: 0 2px 6px rgba(27, 33, 31, 0.08), 0 16px 40px rgba(27, 33, 31, 0.1);
}

/* ------------------------------------------------------------------ *
 * Base
 * ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

::selection {
  background-color: var(--teal);
  color: var(--cream);
}

/* ------------------------------------------------------------------ *
 * Layout primitives
 * ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 5rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2.5rem;
  }
  .section {
    padding-block: 7rem;
  }
  .section-header {
    margin-bottom: 1.75rem;
  }
}

/* ------------------------------------------------------------------ *
 * Type components
 * ------------------------------------------------------------------ */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

.display-dark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--dark-foreground);
}

.section-header h2 {
  font-size: 2rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 3.25rem;
    line-height: 1.05;
  }
}

.prose-essay {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink);
  max-width: 38rem;
}

.prose-essay p + p {
  margin-top: 1.4em;
}

/* ------------------------------------------------------------------ *
 * Links & buttons
 * ------------------------------------------------------------------ */
.link-quiet {
  color: var(--teal);
  border-bottom: 1px solid color-mix(in oklab, var(--teal) 35%, transparent);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link-quiet:hover {
  color: var(--teal-bright);
  border-bottom-color: var(--teal-bright);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background-color: var(--teal);
  color: var(--cream);
  border-radius: 2px;
  transition: background-color 0.2s ease;
}
.btn-primary:hover {
  background-color: var(--teal-bright);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover {
  background-color: var(--ink);
  color: var(--cream);
}

/* ------------------------------------------------------------------ *
 * Nav
 * ------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  background-color: color-mix(in oklab, var(--cream) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--rule);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.nav .brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}
.nav .brand:hover {
  color: var(--teal);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--teal);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* ------------------------------------------------------------------ *
 * Hero (dark)
 * ------------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 65px);
  background-color: var(--dark);
  color: var(--dark-foreground);
}
.hero .container {
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.hero .eyebrow {
  color: var(--dark-muted);
}
.hero h1 {
  margin-top: 1.5rem;
  max-width: 64rem;
  font-size: 2.4rem;
  line-height: 1.08;
}
.hero-resume {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--dark-foreground);
}
.hero-resume span:first-child {
  border-bottom: 1px solid var(--dark-muted);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s ease;
}
.hero-resume:hover span:first-child {
  border-bottom-color: var(--dark-foreground);
}
.hero-resume .arrow {
  transition: transform 0.2s ease;
}
.hero-resume:hover .arrow {
  transform: translateX(0.25rem);
}
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--dark-muted);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}
@media (min-width: 768px) {
  .hero .container {
    padding-top: 10rem;
    padding-bottom: 7rem;
  }
  .hero h1 {
    font-size: 4.25rem;
    line-height: 1.05;
  }
}

/* ------------------------------------------------------------------ *
 * Outcomes
 * ------------------------------------------------------------------ */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 2vw, 1.25rem);
}
.outcome {
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  border: 1px solid var(--rule-faint);
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 3.5vw, 2rem);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.outcome:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.outcome .stat {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 4.6vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.outcome .outcome-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.outcome .outcome-body p:first-child {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin-bottom: 1.15rem;
}
.outcome .company {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background-color: var(--cream-soft);
  border: 1px solid var(--rule-faint);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

@media (min-width: 620px) {
  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ------------------------------------------------------------------ *
 * Building with AI
 * ------------------------------------------------------------------ */
.builds {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3.5rem;
}
.build {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}
.build h3 {
  margin-top: 0.75rem;
  font-size: 1.65rem;
}
.build .build-body {
  margin-top: 0.75rem;
  font-size: 0.98rem;
  line-height: 1.625;
  color: var(--ink-muted);
}
.build .link-quiet {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
}
.stack-line {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.625;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule-faint);
  padding-top: 1.4rem;
}
.stack-line strong {
  color: var(--ink);
  font-weight: 600;
}
.tutoring-turn {
  margin-top: 5rem;
  border-top: 1px solid var(--rule);
  padding-top: 3rem;
}
.tutoring-turn h3 {
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
}
.tutoring-turn .btn-primary {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .tutoring-turn h3 {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .builds {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }
  .build h3 {
    font-size: 1.85rem;
  }
}

/* ------------------------------------------------------------------ *
 * Bookshelf
 * ------------------------------------------------------------------ */
.bookshelf-intro {
  margin-top: 0;
  margin-bottom: 2.5rem;
}
.books {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.book {
  display: flex;
  gap: 1.5rem;
}
.book-cover {
  position: relative;
  flex-shrink: 0;
}
.book-cover img {
  position: relative;
  height: 11rem;
  width: 7.3rem;
  object-fit: cover;
  /* Grounded downward shadow so it reads on cream beneath dark covers too,
     while staying small. */
  box-shadow: 0 5px 9px -2px rgba(27, 33, 31, 0.22);
}
.book-text h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--ink);
}
.book-text .author {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
}
.book-text .note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.625;
  color: var(--ink-muted);
}

@media (min-width: 640px) {
  .book-cover img {
    height: 13rem;
    width: 8.7rem;
  }
}
@media (min-width: 768px) {
  .books {
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
    row-gap: 4rem;
  }
  .book {
    gap: 1.75rem;
  }
  .book-text h3 {
    font-size: 1.5rem;
  }
}

/* ------------------------------------------------------------------ *
 * Connect — three doors
 * ------------------------------------------------------------------ */
.connect-primary {
  margin-top: 1rem;
}
.connect-primary h2 {
  max-width: 56rem;
  font-size: 1.875rem;
}
.connect-primary .prose-essay {
  margin-top: 1.75rem;
}
.connect-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.connect-resume {
  margin-top: 1rem;
  font-size: 0.875rem;
}
.connect-secondary {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.door {
  display: flex;
  flex-direction: column;
}
.door h3 {
  margin-top: 0;
  font-size: 1.5rem;
}
.door p {
  flex: 1;
  margin-top: 0.75rem;
  font-size: 0.98rem;
  line-height: 1.625;
  color: var(--ink-muted);
}
.door > .link-quiet {
  display: inline-block;
  align-self: flex-start;
  margin-top: 1rem;
  font-size: 0.875rem;
}
.door > .door-links {
  margin-top: 1rem;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .connect-primary h2 {
    font-size: 3.25rem;
    line-height: 1.05;
  }
  .connect-secondary {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

/* ------------------------------------------------------------------ *
 * Footer (dark)
 * ------------------------------------------------------------------ */
.footer {
  background-color: var(--dark);
  color: var(--dark-foreground);
}
.footer .container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-block: 1.75rem;
}
.footer .name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.footer .loc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--dark-muted);
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--dark-muted);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer-links a {
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--dark-foreground);
}
.footer .copy {
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--dark-muted) 80%, transparent);
}

@media (min-width: 768px) {
  .footer .container {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-block: 2.25rem;
  }
  .footer-right {
    align-items: flex-end;
  }
}

/* ================================================================== *
 * ADVISORY SUB-PAGE (advisory.html) — ADDITIVE ONLY.
 * Reuses every primitive above; these are the few new patterns.
 * ================================================================== */

/* Hero — subhead + CTAs (on the dark hero) */
.hero-sub {
  margin-top: 1.75rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--dark-muted);
}
.hero-sub strong {
  color: var(--dark-foreground);
  font-weight: 500;
}
.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}
.hero-secondary {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--dark-muted);
}
.hero-secondary a {
  color: var(--dark-foreground);
  border-bottom: 1px solid var(--dark-muted);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s ease;
}
.hero-secondary a:hover {
  border-bottom-color: var(--dark-foreground);
}

/* Why me — prose beside a portrait */
.whyme {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: start;
}
.whyme .prose-essay {
  max-width: 40rem;
}
.whyme-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--cream-soft);
  border: 1px dashed var(--rule);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--ink-subtle);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.whyme-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
}
@media (min-width: 900px) {
  .whyme {
    grid-template-columns: 1fr 2.3fr;
    gap: 4rem;
  }
  .whyme-photo {
    order: -1;
  }
}

/* Is this for you — axis + two lists */
.fit-axis {
  max-width: 44rem;
}
.fit-lists {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.fit-col h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.fit-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.fit-col li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.fit-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.fit-for li::before {
  content: "\2713";
  color: var(--teal);
}
.fit-not li::before {
  content: "\2717";
  color: var(--ink-subtle);
}
.fit-col li .aside {
  color: var(--ink-subtle);
}
.fit-offramp {
  margin-top: 2.75rem;
  font-size: 1.0625rem;
  color: var(--ink-muted);
}
@media (min-width: 768px) {
  .fit-lists {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

/* What you get — examples + pricing + leave-with */
.whatyouget-lead {
  margin-top: 0.25rem;
  font-size: 1rem;
  color: var(--ink);
}
.examples {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
}
.examples li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background-color: var(--teal);
}
.pricing-line,
.leave-with {
  max-width: 42rem;
  margin-top: 2rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}

/* Final CTA */
.start h2 {
  max-width: 40rem;
  font-size: 1.875rem;
}
.start .prose-essay {
  margin-top: 1.5rem;
}
.start-ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}
.start-secondary {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .start h2 {
    font-size: 3rem;
    line-height: 1.05;
  }
}

/* ================================================================== *
 * CHOSEN ADVISORY IDENTITY PASS — ADDITIVE ONLY.
 * Nav logo swap, hero portrait grid, booking embed, hidden testimonials,
 * footer logo. Reuses every primitive above; these are the few new patterns.
 * ================================================================== */

/* Nav — logo brand mark. The nav strip sits on cream in every state
 * (it does not overlay the dark hero), so only the dark-text logo is used.
 *
 * Without JS the scroll handler can never add .scrolled, so the solid cream
 * backing is the DEFAULT; the transparent-at-top look is opt-in via html.js. */
.nav {
  background-color: var(--cream);
  border-bottom-color: var(--rule);
}
.js .nav:not(.scrolled) {
  background-color: transparent;
  border-bottom-color: transparent;
}
.nav .brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .brand-logo {
    height: 42px;
  }
}

/* Hero — portrait beside the tagline */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-photo {
  justify-self: center;
}
.hero-photo img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--r-md);
  object-fit: cover;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
  }
  .hero-photo {
    justify-self: end;
  }
}

/* Get started — cal.com inline embed. (The photographic puzzle band is retired:
 * the puzzle motif is logo-only now, matching the portal's 2026-08-03 call.) */
.booking-embed {
  margin-top: 2.25rem;
  max-width: 42rem;
}
/* Reserve the scheduler's height only when JS will fill it (html.js is set in
 * <head>); without JS the noscript button renders with no blank void below.
 * If embed.js never populates the slot (blocked/failed), a watchdog adds
 * .cal-failed and the reservation collapses onto the fallback link. */
.js #cal-inline {
  min-height: 560px;
}
.js #cal-inline.cal-failed {
  min-height: 0;
}
.cal-fallback {
  margin-top: 1rem;
  font-size: 0.85rem;
}

/* Testimonials (built but hidden — see the HTML comment above the footer) */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 2vw, 1.25rem);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  border: 1px solid var(--rule-faint);
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 3.5vw, 2rem);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.testimonial-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
.testimonial-card footer {
  margin-top: 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Footer — logo mark */
.footer-logo {
  height: 40px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .footer-logo {
    height: 48px;
  }
}

/* ================================================================== *
 * SITE REFRESH 2026-08 — ADDITIVE ONLY.
 * Pain band (dark teal ground), credo pull-quote, program timeline,
 * plan cards, FAQ accordion. The teal band is a deliberate extension of
 * the palette rules: dark teal joins dark as a section ground, used once.
 * ================================================================== */

/* Soft teal for accents that sit ON the dark teal ground */
:root {
  --teal-soft: oklch(0.78 0.08 195);
}

/* --- Pain section (dark teal band) --- */
.section-teal {
  background-color: var(--teal);
  color: var(--cream);
}
.section-teal .eyebrow {
  color: var(--teal-soft);
}
.section-teal .display {
  color: var(--cream);
}
.pains {
  margin-top: 2.5rem;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  list-style: none;
}
.pain {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
}
.pain .num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--teal-soft);
  min-width: 2rem;
}
.pain h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.pain p {
  margin-top: 0.6rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: color-mix(in oklab, var(--cream) 78%, var(--teal));
}
.pain-close {
  margin-top: 3rem;
  max-width: 44rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--cream);
}
@media (min-width: 768px) {
  .pain h3 {
    font-size: 1.55rem;
  }
  .pain .num {
    font-size: 2.8rem;
  }
}

/* --- Validation: credo pull-quote --- */
.credo {
  margin-top: 2.5rem;
  max-width: 40rem;
  border-left: 3px solid var(--teal);
  padding-left: 1.5rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--teal);
}
@media (min-width: 768px) {
  .credo {
    font-size: 1.85rem;
    padding-left: 2rem;
  }
}

/* --- What's inside: program timeline --- */
.arc {
  position: relative;
  margin-top: 3rem;
  margin-bottom: 4rem;
  max-width: 46rem;
  padding-left: 0.25rem;
}
.arc::before {
  content: "";
  position: absolute;
  /* The steps sit inside the .arc padding (0.25rem), so the rail needs that
   * offset too: padding + dot radius - half the rail width centers it. */
  left: calc(0.5rem + 8px);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background-color: var(--rule);
}
.arc-step {
  position: relative;
  padding-left: 3rem;
}
.arc-step + .arc-step {
  margin-top: 2.5rem;
}
.arc-step::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.35rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--teal);
}
.arc-step.arc-between::before {
  left: calc(0.25rem + 4px);
  top: 0.4rem;
  width: 10px;
  height: 10px;
  background-color: var(--cream);
  border: 2px solid var(--teal);
}
.arc-step .step-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}
.arc-step h3 {
  margin-top: 0.4rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.arc-step .step-body {
  margin-top: 0.6rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 40rem;
}
.arc-step.arc-between .step-body {
  font-size: 1rem;
  color: var(--ink-subtle);
}
@media (min-width: 768px) {
  .arc-step h3 {
    font-size: 1.75rem;
  }
}

/* --- Who you're working with: bio list + photo caption --- */
.bio-list {
  margin-top: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.bio-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-muted);
}
.bio-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background-color: var(--teal);
}
.bio-list li strong {
  color: var(--ink);
  font-weight: 600;
}
.whyme-photo figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-subtle);
  text-align: center;
}

/* --- Mid-page CTA pair (ruled band, centered) --- */
.cta-strip {
  padding-block: 3.25rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.cta-strip-lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cta-strip-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
}
@media (min-width: 768px) {
  .cta-strip {
    padding-block: 4rem;
  }
  .cta-strip-lead {
    font-size: 2rem;
  }
}

/* --- Pick your path: plan cards --- */
.plans {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.plan-card {
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  border: 1px solid var(--rule-faint);
  border-radius: var(--r-md);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.plan-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.plan-price {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--ink);
}
.plan-price .plan-meta {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.plan-body {
  margin-top: 1.1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-muted);
}
.plan-list {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.plan-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1rem;
  line-height: 1.55;
}
.plan-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
}
.plan-card .btn-primary,
.plan-card .btn-ghost {
  margin-top: 1.75rem;
  align-self: flex-start;
}
.plan-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Featured card sits on the dark teal ground */
.plan-featured {
  background-color: var(--teal);
  border-color: transparent;
  color: var(--cream);
}
.plan-featured h3,
.plan-featured .plan-price {
  color: var(--cream);
}
.plan-featured .plan-price .plan-meta {
  color: color-mix(in oklab, var(--cream) 78%, var(--teal));
}
.plan-featured .plan-list li {
  color: color-mix(in oklab, var(--cream) 88%, var(--teal));
}
.plan-featured .plan-list li::before {
  color: var(--teal-soft);
}
.plan-featured .plan-note {
  color: color-mix(in oklab, var(--cream) 72%, var(--teal));
}
.plan-featured .btn-primary {
  background-color: var(--cream);
  color: var(--teal);
}
.plan-featured .btn-primary:hover {
  background-color: var(--paper);
}
.plans-note {
  margin-top: 1.75rem;
  font-size: 1.0625rem;
  color: var(--ink-muted);
}
@media (min-width: 820px) {
  .plans {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

/* --- FAQ accordion (native details/summary) --- */
.faq {
  margin-top: 2.5rem;
  max-width: 46rem;
  border-bottom: 1px solid var(--rule);
}
.faq details {
  border-top: 1px solid var(--rule);
  padding: 1.35rem 0;
}
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq summary:hover {
  color: var(--teal);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--teal);
  flex-shrink: 0;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  margin-top: 0.9rem;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-muted);
}
.faq details ul {
  margin-top: 0.9rem;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq details ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.faq details ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background-color: var(--teal);
}
@media (min-width: 768px) {
  .faq summary {
    font-size: 1.35rem;
  }
}
