/* =========================================================
   Northgate Physiotherapy — styles.css
   Owns the word: "Considered"
   Palette: cream + forest + brass
   Type: Fraunces (display) + Inter (body)
   ========================================================= */

/* ──────────────── Reset / Base ──────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote, figure, p { margin: 0; }
hr { border: 0; }

/* ──────────────── Tokens ──────────────── */
:root {
  --bg:        #F4EFE3;            /* warm cream */
  --bg-deep:   #ECE5D5;            /* slightly deeper cream — for plan paper */
  --bg-warm:   #F8F4EA;            /* lifted cream — for cards */
  --ink:       #1F3A2C;            /* deep forest green */
  --ink-soft:  #28473A;            /* hover / softened forest */
  --accent:    #A5764B;            /* warm brass */
  --accent-deep:#7E5635;
  --text:      #1F2421;            /* near-black w/ green undertone */
  --text-soft: #2E3633;
  --muted:     #7A736A;            /* warm taupe grey */
  --line:      rgba(31, 58, 44, 0.14);
  --line-strong: rgba(31, 58, 44, 0.28);
  --line-brass: rgba(165, 118, 75, 0.45);

  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --max:  1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-pad: clamp(72px, 10vw, 144px);

  --ease-out:  cubic-bezier(0.22, 0.6, 0.24, 1);
  --ease-soft: cubic-bezier(0.32, 0.08, 0.24, 1);
}

::selection { background: var(--ink); color: var(--bg); }

/* ──────────────── Document ──────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'ss02', 'cv11', 'cv02';
}

@media (max-width: 720px) {
  body { font-size: 16px; }
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ──────────────── Typography Primitives ──────────────── */
.display {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.014em;
  line-height: 1.04;
  color: var(--ink);
}

.display em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  color: var(--ink);
}

.eyebrow,
.section-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.lead {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 54ch;
}

.micro {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 18px;
}
.micro-dot { color: var(--line-strong); }

/* ──────────────── Header ──────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 227, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { display: inline-flex; }
.brand-mark svg { color: var(--ink); }
.brand-word {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.brand-word-top {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 32, 'SOFT' 30;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-word-sub {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent-deep);
  margin-top: 4px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.nav a {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 220ms var(--ease-out);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transition: right 320ms var(--ease-out);
}
.nav a:hover { color: var(--ink-soft); }
.nav a:hover::after { right: 0; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: 8px;
}
.hamburger-bar {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 220ms var(--ease-out), opacity 180ms var(--ease-out);
}
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}
.mobile-menu[data-open="true"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 24px;
  background: rgba(244, 239, 227, 0.98);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .mobile-menu-cta {
  margin-top: 12px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  text-align: center;
  border: 0;
}

/* ──────────────── Buttons ──────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out), transform 220ms var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.header-cta {
  padding: 11px 20px;
  font-size: 13.5px;
}

@media (max-width: 720px) {
  .header-cta { padding: 10px 16px; font-size: 12.5px; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .header-wrap { grid-template-columns: 1fr auto; }
}

/* ──────────────── Hero ──────────────── */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero-wrap {
  max-width: none;
  padding: 0;
  display: grid;
  grid-template-columns:
    max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)))
    minmax(0, 1fr)
    clamp(24px, 3.5vw, 56px)
    minmax(0, 1.35fr);
  align-items: center;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(28px, 3vw, 48px);
}
.hero-text {
  grid-column: 2;
  padding-left: 0;
  max-width: 660px;
  width: 100%;
}
.hero-figure {
  grid-column: 4;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (max-width: 980px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 32px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .hero-text {
    grid-column: 1;
    padding-left: 0;
    padding-right: 0;
    max-width: none;
    justify-self: stretch;
    order: 1;
  }
  .hero-strip {
    grid-column: 1;
    order: 2;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .hero-figure {
    grid-column: 1;
    margin: 0;
    order: 3;
  }
  .hero-image-frame {
    border-radius: 2px;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

.hero-text { max-width: 720px; }

.hero-headline {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.06;
  margin: 16px 0 22px;
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
}

.hero-headline .line-mute { color: var(--ink); }

.hero-headline .hero-gold {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  color: var(--accent);
}

.hero-headline .emph {
  display: inline-block;
  color: var(--ink);
  position: relative;
}

.hero-headline .emph::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
}

.js-reveal .hero-headline .emph::after {
  right: 100%;
  transition: right 1.2s 600ms var(--ease-out);
}

.js-reveal [data-reveal].is-revealed .emph::after { right: 0; }

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 24px;
}
@media (max-width: 980px) {
  .hero-cta { margin-top: 16px; }
}

/* HERO IMAGE */
.hero-figure {
  position: relative;
  margin: 0;
}
.hero-image-frame {
  position: relative;
  border-radius: 2px 0 0 2px;
  overflow: hidden;
  background: var(--bg-deep);
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 60vh;
  min-height: clamp(300px, 42vh, 440px);
  box-shadow: 0 40px 80px -40px rgba(31, 58, 44, 0.3);
}
.hero-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.02);
}
@media (max-width: 980px) {
  .hero-image-frame { aspect-ratio: 3 / 2; min-height: 0; border-radius: 2px; }
}

.hero-figure figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.caption-rule {
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--accent);
}

/* HERO STRIP — spans both columns under text + image on desktop */
.hero-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(32px, 4vw, 48px);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-cell {
  padding: 16px 20px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--line);
  position: relative;
}
.strip-cell:last-child { border-right: 0; }
.strip-cell:not(:first-child) { padding-left: 20px; }

.strip-num {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 60, 'SOFT' 0;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.strip-label {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 860px) {
  .hero-strip { grid-template-columns: 1fr; }
  .strip-cell {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .strip-cell:not(:first-child) { padding-left: 0; }
  .strip-cell:last-child { border-bottom: 0; }
  .strip-num { font-size: 15px; }
  .strip-label { text-align: right; font-size: 10.5px; letter-spacing: 0.16em; }
}

/* ──────────────── Section Heads ──────────────── */
.section-head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 96px);
  text-align: center;
}
.section-title {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.06;
  margin: 18px 0 22px;
}
.section-lead {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}

/* ──────────────── Trigger ──────────────── */
.trigger {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trigger-wrap {
  max-width: 880px;
  text-align: center;
}
.trigger-quote {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  font-style: normal;
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.28;
  color: var(--ink);
  margin: 28px auto 32px;
  letter-spacing: -0.005em;
}
.trigger-quote p {
  margin: 0 0 12px;
}
.trigger-quote .quoted {
  color: var(--text-soft);
}
.trigger-turn em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
}
.trigger-mark {
  color: var(--accent);
  display: flex;
  justify-content: center;
}

/* ──────────────── What we treat ──────────────── */
.treat { padding: var(--section-pad) 0; }

.treat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.treat-card {
  padding: 40px 36px 44px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 320ms var(--ease-out);
}
.treat-card:hover { background: var(--bg-warm); }

.treat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; height: 3px; width: 0;
  background: var(--accent);
  transition: width 480ms var(--ease-out);
}
.treat-card:hover::before { width: 100%; }

.treat-tag {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 24px;
}
.treat-title {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 96, 'SOFT' 40;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.treat-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .treat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .treat-grid { grid-template-columns: 1fr; }
  .treat-card { padding: 32px 24px; }
}

/* ──────────────── Journey strip ──────────────── */
.journey {
  padding: clamp(40px, 6vw, 80px) 0 var(--section-pad);
}
.journey-eyebrow {
  display: block;
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.journey-eyebrow::before {
  display: inline-block;
  margin-right: 12px;
  vertical-align: middle;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}
.journey-step { margin: 0; }
.journey-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-deep);
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 40px -28px rgba(31, 58, 44, 0.25);
}
.journey-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(1.02);
  transition: transform 900ms var(--ease-out);
}
.journey-step:hover .journey-frame img { transform: scale(1.025); }
.journey-step figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 4px;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.journey-num {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 60, 'SOFT' 0;
  font-feature-settings: 'tnum';
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  grid-row: 1;
}
.journey-label {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 96, 'SOFT' 0;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  letter-spacing: -0.01em;
  grid-row: 1;
}
.journey-note {
  grid-column: 2;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}
@media (max-width: 880px) {
  .journey-grid { grid-template-columns: 1fr; gap: 32px; }
  .journey-frame { aspect-ratio: 3 / 2; }
}

/* ──────────────── Your Plan (signature) ──────────────── */
.plan {
  padding: var(--section-pad) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(165, 118, 75, 0.06), transparent 60%),
    var(--bg);
}

.plan-wrap { max-width: 1180px; margin: 0 auto; }

.plan-card {
  position: relative;
  background: var(--bg-deep);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(31, 58, 44, 0.04) 31px 32px);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: clamp(28px, 4.5vw, 56px) clamp(28px, 5vw, 72px);
  box-shadow:
    0 1px 0 var(--accent) inset,
    0 -1px 0 var(--accent) inset,
    0 40px 80px -40px rgba(31, 58, 44, 0.25);
  max-width: 920px;
  margin: 0 auto;
}

.plan-card::before, .plan-card::after {
  content: '';
  position: absolute;
  background: var(--accent);
}
.plan-card::before { top: 14px; left: 14px; right: 14px; height: 1px; opacity: 0.45; }
.plan-card::after { bottom: 14px; left: 14px; right: 14px; height: 1px; opacity: 0.45; }

.plan-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-brass);
  margin-bottom: 28px;
}
.plan-card-mark { color: var(--ink); }
.plan-card-titling { line-height: 1.1; }
.plan-card-eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 6px;
}
.plan-card-title {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--ink);
  letter-spacing: -0.012em;
  margin: 0;
}
.plan-card-meta {
  display: grid;
  gap: 4px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink);
  text-align: right;
  line-height: 1.4;
}
.plan-card-meta p { display: flex; gap: 10px; justify-content: flex-end; }
.plan-card-meta span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  width: 72px;
  text-align: left;
}

.plan-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-brass);
}
.plan-row:last-of-type { border-bottom: 0; }

.plan-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  padding-top: 4px;
}

.plan-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.plan-body p { margin: 0; }

.plan-milestones {
  display: grid;
  gap: 8px;
}
.plan-milestones li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: baseline;
}
.ms-week {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}
.ms-text {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}

.plan-homework {
  counter-reset: hw;
  display: grid;
  gap: 14px;
}
.plan-homework li {
  counter-increment: hw;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: baseline;
}
.plan-homework li::before {
  content: counter(hw, decimal) ".";
  grid-column: 1;
  grid-row: 1;
  font-family: var(--serif);
  font-variation-settings: 'opsz' 14, 'SOFT' 40;
  font-style: italic;
  font-size: 16px;
  color: var(--accent-deep);
  text-align: right;
  padding-right: 2px;
}
.hw-name { grid-column: 2; grid-row: 1; font-weight: 500; }
.hw-why {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--text-soft);
  margin-top: 0;
}

.plan-target {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 60, 'SOFT' 0, 'WONK' 0;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
}

.plan-card-foot {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-brass);
  text-align: right;
}
.plan-signoff {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.plan-signature {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 80, 'WONK' 1;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--ink);
  line-height: 1;
  margin: 0;
}
.plan-signature-role {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

@media (max-width: 720px) {
  .plan-card-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .plan-card-meta {
    text-align: left;
  }
  .plan-card-meta p { justify-content: flex-start; }
  .plan-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .plan-milestones li,
  .plan-homework li {
    grid-template-columns: 64px 1fr;
  }
}

/* ──────────────── First Hour ──────────────── */
.first-hour { padding: var(--section-pad) 0; }

.hour-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.hour-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background 320ms var(--ease-out);
}
.hour-row::before {
  content: '';
  position: absolute;
  top: 0; left: 0; height: 1px; width: 0;
  background: var(--accent);
  transition: width 600ms var(--ease-out);
}
.hour-row:hover::before { width: 200px; }

.hour-time {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 60, 'SOFT' 30;
  font-feature-settings: 'tnum';
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.hour-title {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 96, 'SOFT' 60;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.hour-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 56ch;
}

@media (max-width: 720px) {
  .hour-row { grid-template-columns: 1fr; gap: 8px; }
  .hour-row:hover::before { width: 100%; }
}

/* ──────────────── Interlude (two photos) ──────────────── */
.interlude { padding: 0 0 var(--section-pad); }
.interlude-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
}
.interlude-figure { margin: 0; }
.interlude-frame {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-deep);
  box-shadow: 0 30px 60px -30px rgba(31, 58, 44, 0.25);
}
.interlude-tall .interlude-frame { aspect-ratio: 16 / 11; }
.interlude-figure:not(.interlude-tall) .interlude-frame { aspect-ratio: 4 / 5; }
.interlude-frame img { width: 100%; height: 100%; object-fit: cover; }
.interlude-figure figcaption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 880px) {
  .interlude-grid { grid-template-columns: 1fr; gap: 32px; }
  .interlude-figure:not(.interlude-tall) .interlude-frame { aspect-ratio: 16 / 10; }
}

/* ──────────────── Team ──────────────── */
.team { padding: var(--section-pad) 0; background: var(--bg-warm); }

.team-photo {
  max-width: 1180px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-deep);
  box-shadow: 0 30px 60px -30px rgba(31, 58, 44, 0.25);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.team-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.team-card {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-warm);
  position: relative;
}
.team-name {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 96, 'SOFT' 50;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.team-role {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 8px;
}
.team-cred {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.team-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

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

/* ──────────────── Pricing ──────────────── */
.pricing { padding: var(--section-pad) 0; }
.pricing-wrap { max-width: 1080px; margin: 0 auto; }
.pricing-head { margin-bottom: clamp(36px, 5vw, 64px); }

.price-list {
  border-top: 1px solid var(--ink);
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: baseline;
  padding: 28px 0 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.price-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 600ms var(--ease-out);
}
.price-row:hover::before { width: 60px; }

.price-name { display: flex; flex-direction: column; gap: 4px; }
.price-name-top {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 96, 'SOFT' 50;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.price-name-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-soft);
}
.price-meta {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.price-amount {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-feature-settings: 'tnum';
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
  text-align: right;
  white-space: nowrap;
  position: relative;
}
.price-save {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-top: 4px;
}
.price-note {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 28px;
  text-align: center;
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .price-row { grid-template-columns: 1fr auto; gap: 12px; }
  .price-meta { grid-column: 1 / 2; grid-row: 2; }
  .price-amount { grid-column: 2 / 3; grid-row: 1 / 3; align-self: center; }
}

/* ──────────────── Reviews ──────────────── */
.reviews { padding: var(--section-pad) 0; background: var(--bg-warm); }

.reviews-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
}
.review {
  position: relative;
  padding-top: 32px;
}
.review::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: -8px;
  font-family: var(--serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  font-size: 80px;
  color: var(--accent);
  line-height: 1;
  font-style: italic;
}
.review blockquote p {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 96, 'SOFT' 0, 'WONK' 0;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.review figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-name {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 60, 'SOFT' 40;
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
}
.review-meta {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 880px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ──────────────── Outcome (closing moment) ──────────────── */
.outcome {
  padding: var(--section-pad) 0;
  background: var(--bg-warm);
}
.outcome-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.outcome-figure { margin: 0; }
.outcome-frame {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-deep);
  box-shadow: 0 40px 80px -40px rgba(31, 58, 44, 0.3);
}
.outcome-frame img { width: 100%; height: 100%; object-fit: cover; }
.outcome-text { display: flex; flex-direction: column; gap: 10px; }
.outcome-text .section-eyebrow { margin-bottom: 22px; }
.outcome-line {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.02;
  color: var(--ink);
  letter-spacing: -0.014em;
  margin: 0;
}
.outcome-line em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  color: var(--accent-deep);
}
.outcome-line-emph {
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  margin-bottom: 24px;
}
.outcome-sub {
  font-family: var(--sans);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 46ch;
  margin: 0;
}
@media (max-width: 880px) {
  .outcome-wrap { grid-template-columns: 1fr; gap: 40px; }
  .outcome-frame { aspect-ratio: 3 / 2; }
}

/* ──────────────── FAQ ──────────────── */
.faq { padding: var(--section-pad) 0; }
.faq-wrap { max-width: 880px; margin: 0 auto; }

.faq-list { border-top: 1px solid var(--line); }

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 26px 56px 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 220ms var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 60, 'SOFT' 50;
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink);
  letter-spacing: -0.005em;
}

.faq-icon {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform 280ms var(--ease-out);
}
.faq-icon::before {
  top: 50%; left: 0; right: 0;
  height: 1px; transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%; top: 0; bottom: 0;
  width: 1px; transform: translateX(-50%);
}
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-a {
  padding: 0 0 26px;
  max-width: 64ch;
}
.faq-a p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
}

.faq-item[open] summary { color: var(--ink); }
.faq-item summary:hover { color: var(--accent-deep); }

/* ──────────────── Visit ──────────────── */
.visit {
  padding: var(--section-pad) 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
}
.anchor-shim { display: block; height: 0; visibility: hidden; }

.visit .section-eyebrow,
.visit .display,
.visit .display em { color: var(--bg); }
.visit .section-eyebrow::before { background: var(--accent); }

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.visit-info { display: grid; gap: 32px; }

.visit-block {
  border-top: 1px solid rgba(244, 239, 227, 0.18);
  padding-top: 18px;
}
.visit-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.55);
  margin-bottom: 10px;
}
.visit-line {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  color: var(--bg);
  line-height: 1.6;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.visit-line a {
  color: var(--bg);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.visit-line a:hover { color: var(--accent); }

.visit .btn-primary {
  background: var(--bg);
  color: var(--ink);
  margin-top: 12px;
  align-self: flex-start;
}
.visit .btn-primary:hover { background: var(--accent); color: var(--bg); }

.visit .btn-secondary {
  border-color: rgba(244, 239, 227, 0.4);
  color: var(--bg);
  align-self: flex-start;
}
.visit .btn-secondary:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.visit-or {
  font-family: var(--sans);
  font-size: 12.5px;
  color: rgba(244, 239, 227, 0.7);
  margin: 6px 0 4px;
  letter-spacing: 0.02em;
}

.visit-photo { margin: 0; }
.visit-photo-frame {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(244, 239, 227, 0.06);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.4);
}
.visit-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.visit-photo figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.6);
}

@media (max-width: 980px) {
  .visit-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ──────────────── Footer ──────────────── */
.site-footer {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(56px, 7vw, 96px) 0 32px;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 64px;
  margin-bottom: 56px;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { color: var(--ink); }
.footer-word {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.footer-word em {
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'SOFT' 0, 'WONK' 0;
}
.footer-strap {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 6px;
  line-height: 1.55;
}
.footer-col a { color: var(--text-soft); text-decoration: none; transition: color 220ms var(--ease-out); }
.footer-col a:hover { color: var(--accent-deep); }
.footer-h {
  font-family: var(--sans);
  font-size: 11px !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink) !important;
  font-weight: 500;
  margin-bottom: 14px !important;
}

.footer-fine {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.footer-built a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.footer-built a:hover { color: var(--accent-deep); border-color: var(--accent); }

@media (max-width: 980px) {
  .footer-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ──────────────── Reveal Animations (off by default; content always visible) ──────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  }
  .js-reveal [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
  .js-reveal [data-reveal-delay='1'] { transition-delay: 90ms; }
  .js-reveal [data-reveal-delay='2'] { transition-delay: 180ms; }
  .js-reveal [data-reveal-delay='3'] { transition-delay: 270ms; }
  .js-reveal [data-reveal-delay='4'] { transition-delay: 360ms; }
  .js-reveal [data-reveal-delay='5'] { transition-delay: 450ms; }
}

/* ──────────────── Anchor offset to clear sticky header ──────────────── */
section[id] { scroll-margin-top: 96px; }
