/* =========================================================
   Plain Medical — concept v3.4
   Calming purple system, beautiful gradients, WCAG 2.2 AA.
   ========================================================= */

:root {
  /* Surface — soft off-white, not clinical */
  --surface:    #FAFAFC;
  --surface-2:  #F5F1FA;   /* lavender-tinted off-white */
  --surface-3:  #EDE6F4;   /* one step deeper */

  /* Ink — deep plum-black, calm not stark */
  --ink:        #1F1A2E;
  --ink-2:      #4A4263;
  --ink-3:      #847B95;
  --ink-on-dark: #FFFFFF;

  /* Brand — calming dusty purple */
  --primary:        #6B5FB0;   /* AA on white at 4.7:1 */
  --primary-deep:   #4D408F;   /* hover, small italic */
  --primary-soft:   #EFE9F8;   /* chip background */
  --accent:         #B589C9;   /* decorative only — display text size */

  /* Gradient stops */
  --grad-dark-a:    #1F1A2E;
  --grad-dark-b:    #2D2249;
  --grad-dark-c:    #3A2B5E;
  --grad-purple-a:  #5848A0;
  --grad-purple-b:  #7560B6;
  --grad-purple-c:  #B589C9;

  /* Functional */
  --hairline:        rgba(31, 26, 46, 0.10);
  --hairline-strong: rgba(31, 26, 46, 0.22);
  --focus:           var(--primary);

  /* Type scale */
  --t-display:    clamp(72px, 12vw, 220px);
  --t-h1:         clamp(48px, 7.5vw, 112px);
  --t-h2:         clamp(36px, 5vw, 72px);
  --t-h3:         clamp(22px, 2.5vw, 32px);
  --t-h4:         18px;
  --t-body:       18px;
  --t-body-sm:    16px;
  --t-micro:      13px;
  --t-eyebrow:    11px;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 192px; --s-12: 240px;

  --container: 1440px;
  --container-narrow: 1040px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* --- Typography --- */
.serif { font-family: 'Newsreader', 'Times New Roman', serif; }
h1, h2, h3 { margin: 0; }

h1 {
  font-family: 'Newsreader', serif;
  font-size: var(--t-h1);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h2 {
  font-family: 'Newsreader', serif;
  font-size: var(--t-h2);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.022em;
  color: var(--ink);
}
h3 {
  font-family: 'Newsreader', serif;
  font-size: var(--t-h3);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
p { margin: 0 0 var(--s-4); }
.lead {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
  font-weight: 400;
}

/* --- Focus --- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  top: -100px;
  left: var(--s-5);
  padding: var(--s-3) var(--s-5);
  background: var(--ink);
  color: var(--ink-on-dark);
  z-index: 100;
  text-decoration: none;
  border-radius: 4px;
}
.skip:focus { top: var(--s-3); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--s-5);
  margin: 0 auto;
}
@media (min-width: 720px)  { .container { padding: 0 var(--s-7); } }
@media (min-width: 1100px) { .container { padding: 0 var(--s-8); } }

.section { padding: var(--s-10) 0; }
@media (max-width: 720px) { .section { padding: var(--s-8) 0; } }

/* --- Nav --- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
.nav.is-fixed {
  position: fixed;
  background: rgba(250, 250, 252, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hairline);
  animation: navIn 220ms ease;
}
@keyframes navIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--ink);
}
.brand-symbol {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-symbol svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(107, 95, 176, 0.28);
}
.brand:hover .brand-symbol svg { transform: rotate(-5deg) scale(1.04); }
.brand-mark {
  font-family: 'Newsreader', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1;
}
.nav-links {
  display: none;
  gap: var(--s-7);
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--primary);
  color: var(--ink-on-dark);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, transform 150ms ease, box-shadow 200ms ease;
  box-shadow: 0 4px 14px rgba(107, 95, 176, 0.30);
}
.nav-cta:hover { background: var(--primary-deep); box-shadow: 0 6px 20px rgba(77, 64, 143, 0.35); }
.nav-cta:active { transform: translateY(1px); }
.nav-cta::after { content: "→"; }

@media (min-width: 880px) { .nav-links { display: flex; } }
@media (max-width: 480px) {
  .nav-cta { padding: 11px 16px; font-size: 13px; }
  .brand-mark { font-size: 22px; }
  .brand-symbol { width: 30px; height: 30px; }
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--surface);
  display: flex;
  align-items: center;
  padding: 120px 0 var(--s-9);
  overflow: hidden;
}
/* Soft purple wash */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 30%, rgba(181, 137, 201, 0.28), transparent 65%),
    radial-gradient(70% 60% at 10% 90%, rgba(107, 95, 176, 0.16), transparent 60%),
    radial-gradient(40% 40% at 50% 0%, rgba(239, 233, 248, 0.6), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  width: 100%;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: var(--s-9);
    align-items: stretch;
  }
}

.hero-text { padding-block: var(--s-5); }
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.hero-eyebrow-row .dot {
  width: 9px; height: 9px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

.hero-headline {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-size: clamp(64px, 10vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 0 0 var(--s-7);
  color: var(--ink);
}
.hero-headline em {
  font-style: italic;
  color: var(--primary-deep);
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(20px, 1.6vw, 26px);
  color: var(--ink-2);
  line-height: 1.45;
  max-width: 36ch;
  margin: 0 0 var(--s-7);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--ink);
  color: var(--ink-on-dark);
  padding: 18px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: background-color 220ms ease, transform 150ms ease, box-shadow 220ms ease;
  box-shadow: 0 6px 20px rgba(31, 26, 46, 0.18);
}
.btn-primary:hover {
  background: var(--primary-deep);
  box-shadow: 0 10px 28px rgba(77, 64, 143, 0.32);
}
.btn-primary:active { transform: translateY(1px); }
.btn-primary::after { content: "→"; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 18px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn-ghost:hover { background: var(--ink); color: var(--ink-on-dark); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-7);
  font-size: 14px;
  color: var(--ink-2);
  padding-top: var(--s-5);
  border-top: 1px solid var(--hairline);
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { color: var(--ink); font-weight: 600; font-size: 16px; }
.hero-meta .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Hero photo cell */
.hero-photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--surface-2);
  box-shadow: 0 30px 80px rgba(31, 26, 46, 0.18), 0 8px 24px rgba(107, 95, 176, 0.10);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 999px) {
  .hero-photo { aspect-ratio: 4/3; max-height: 60vh; }
  .hero { min-height: auto; padding-top: 100px; }
}

/* Floating availability badge — purple gradient */
.hero-badge {
  position: absolute;
  left: -24px;
  bottom: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--ink-on-dark);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  box-shadow: 0 14px 30px rgba(77, 64, 143, 0.40);
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--ink-on-dark);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
@media (max-width: 480px) {
  .hero-badge { left: 16px; bottom: 16px; padding: 11px 18px; font-size: 13px; }
}

/* --- Stats strip — gradient, NOT pure black --- */
.stats-strip {
  background: linear-gradient(135deg, #1F1A2E 0%, #2D2249 50%, #3A2B5E 100%);
  color: var(--ink-on-dark);
  padding: var(--s-8) 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 60% at 80% 50%, rgba(181, 137, 201, 0.18), transparent 60%);
  pointer-events: none;
}
.stats-strip > .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-7);
}
.stat-item { display: flex; flex-direction: column; gap: 8px; }
.stat-num {
  font-family: 'Newsreader', serif;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-on-dark);
}
.stat-num em { font-style: italic; color: var(--accent); }
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
  font-weight: 500;
  line-height: 1.5;
}

/* --- Section markers --- */
.section-marker {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.section-marker .num {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--primary-deep);
  font-weight: 400;
}
.section-marker .num-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}

/* --- Doctors row --- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.doc-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-7) var(--s-6);
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--hairline);
  position: relative;
  transition: background-color 240ms ease, transform 320ms ease;
}
.doc-card:last-child { border-right: none; }
.doc-card:hover { background: var(--surface-2); transform: translateY(-3px); }
@media (max-width: 720px) {
  .doc-card { border-right: none; border-bottom: 1px solid var(--hairline); }
}
.doc-name {
  font-family: 'Newsreader', serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
  color: var(--ink);
}
.doc-role {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
  font-weight: 600;
}
.doc-detail {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 var(--s-5);
  flex: 1;
}
.doc-slot {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 8px 14px;
  background: var(--primary);
  color: var(--ink-on-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  align-self: start;
}
.doc-slot.is-tomorrow { background: var(--ink); }

/* --- Visit / find us with photo right --- */
.visit {
  background: var(--surface-2);
  padding: clamp(80px, 10vw, 160px) 0;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
}
@media (min-width: 960px) {
  .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-9); }
}
.visit-text h2 {
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-7);
}
.visit-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: 0 30px 60px rgba(31, 26, 46, 0.16);
}
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }

.visit-detail dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
  margin-bottom: 6px;
}
.visit-detail dd {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 var(--s-5);
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: var(--ink);
}
.visit-detail a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--hairline); }
.visit-detail a:hover { color: var(--primary-deep); border-bottom-color: var(--primary-deep); }

/* --- Step list --- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
}
.step {
  padding: var(--s-7) var(--s-6);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.step:last-child { border-right: none; }
@media (max-width: 720px) { .step { border-right: none; } }
.step-num {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--primary-deep);
  font-weight: 400;
}
.step-time {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.step h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  margin: 0;
}
.step p { color: var(--ink-2); margin: 0; font-size: 15px; line-height: 1.55; }

/* --- Big quote on purple gradient --- */
.philosophy {
  background:
    linear-gradient(135deg, var(--grad-purple-a) 0%, var(--grad-purple-b) 55%, var(--grad-purple-c) 100%);
  color: var(--ink-on-dark);
  padding: clamp(96px, 12vw, 192px) 0;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 70% at 90% 20%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(40% 60% at 10% 80%, rgba(31,26,46,0.16), transparent 60%);
  pointer-events: none;
}
.philosophy > .container { position: relative; z-index: 1; }
.philosophy blockquote {
  margin: 0;
  font-family: 'Newsreader', serif;
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.022em;
  max-width: 22ch;
  color: var(--ink-on-dark);
}
.philosophy em {
  font-style: italic;
  color: var(--ink);
}
.philosophy footer {
  margin-top: var(--s-8);
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- Fees teaser table (2-col, on home) --- */
.fees-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
}
.fees-table th, .fees-table td {
  text-align: left;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--hairline);
}
.fees-table thead th {
  font-weight: 600;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
}
.fees-table td.amount {
  font-family: 'Newsreader', serif;
  font-size: 26px;
  text-align: right;
  font-weight: 400;
  color: var(--ink);
}
.fees-table td.amount em {
  font-style: normal;
  color: var(--ink-3);
  font-size: 13px;
  font-family: 'Inter Tight', sans-serif;
  margin-left: var(--s-3);
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* --- Service grid --- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.svc-card {
  padding: var(--s-7) var(--s-6);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: background-color 240ms ease, transform 320ms ease;
  min-height: 240px;
  position: relative;
}
.svc-card:hover {
  background: var(--primary-soft);
  transform: translateY(-3px);
}
.svc-card .svc-num {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--primary-deep);
  font-weight: 400;
}
.svc-card h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.05;
}
.svc-card p { color: var(--ink-2); margin: 0; font-size: 15px; line-height: 1.55; }
.svc-card .arr {
  margin-top: auto;
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.svc-card:hover .arr { color: var(--primary-deep); }
@media (max-width: 720px) {
  .svc-card { border-right: none; }
}

/* --- Page hero (sub pages) --- */
.page-hero {
  padding: 180px 0 var(--s-9);
  position: relative;
  background: var(--surface);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 90% 20%, rgba(181, 137, 201, 0.22), transparent 60%),
    radial-gradient(50% 50% at 10% 95%, rgba(107, 95, 176, 0.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
  margin: 0 0 var(--s-6);
  font-size: clamp(56px, 8.5vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.page-hero h1 em { font-style: italic; color: var(--primary-deep); }
.page-hero .lead { max-width: 56ch; }

/* --- "Things we don't do" honesty grid --- */
.not-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.not-grid li {
  padding: var(--s-7) var(--s-6);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.not-grid li:last-child { border-right: none; }
.not-grid h3 {
  font-family: 'Newsreader', serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.005em;
}
.not-grid p { color: var(--ink-2); margin: 0; font-size: 15px; line-height: 1.6; }
.not-grid strong { color: var(--ink); font-weight: 600; }
.not-grid a { color: var(--primary-deep); text-decoration: none; border-bottom: 1px solid var(--primary-deep); }
.not-grid a:hover { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 720px) { .not-grid li { border-right: none; } }

/* --- Full fees table — 4 columns --- */
.fees-full {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
  margin-bottom: var(--s-7);
}
.fees-full thead th {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: var(--s-4) var(--s-3) var(--s-4) 0;
  border-bottom: 2px solid var(--ink);
  text-align: right;
}
.fees-full thead th:first-child { text-align: left; }
.fees-full tbody td {
  padding: var(--s-5) var(--s-3) var(--s-5) 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 16px;
}
.fees-full tbody td:first-child {
  padding-left: 0;
  font-weight: 500;
  color: var(--ink);
  width: 38%;
}
.fees-full td.num {
  font-family: 'Newsreader', serif;
  font-size: 20px;
  font-weight: 400;
  text-align: right;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.fees-full td.num.pay {
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
}
.fees-full td.num.bb {
  color: var(--primary-deep);
  font-style: italic;
  font-family: 'Newsreader', serif;
  font-size: 18px;
}
@media (max-width: 720px) {
  .fees-full thead { display: none; }
  .fees-full, .fees-full tbody, .fees-full tr { display: block; }
  .fees-full tr {
    padding: var(--s-5) 0;
    border-bottom: 1px solid var(--hairline);
  }
  .fees-full tbody td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
    border: none;
    width: 100%;
  }
  .fees-full tbody td:first-child {
    font-family: 'Newsreader', serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: var(--s-3);
    width: 100%;
    display: block;
  }
  .fees-full td.num::before {
    content: attr(data-label);
    color: var(--ink-3);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Inter Tight', sans-serif;
  }
  .fees-full td.num { font-size: 18px; }
  .fees-full td.num.pay { font-size: 20px; }
}

/* Bulk billed criteria — chip list */
.bb-list {
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.bb-list li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Gap explainer — 2-col editorial */
.gap-explainer {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  padding: var(--s-9) 0;
  border-top: 1px solid var(--hairline);
}
@media (min-width: 900px) {
  .gap-explainer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s-9); }
}
.gap-explainer h2 {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0;
}
.gap-explainer h2 em { font-style: italic; color: var(--primary-deep); }
.gap-explainer .body p {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 var(--s-5);
}
.gap-explainer .body p strong { color: var(--ink); font-weight: 600; }

/* --- Soft gradient CTA strip (replaces marquee) --- */
.cta-strip {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--primary-soft) 100%);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-6);
}
.cta-strip h3 {
  font-family: 'Newsreader', serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.012em;
  max-width: 28ch;
  margin: 0;
}
.cta-strip h3 em { font-style: italic; color: var(--primary-deep); }
.cta-strip .points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.cta-strip .points li {
  padding: 8px 14px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid rgba(31, 26, 46, 0.08);
}

/* --- Dark CTA band --- */
.dark-cta {
  background: linear-gradient(135deg, #1F1A2E 0%, #2D2249 60%, #3A2B5E 100%);
  color: var(--ink-on-dark);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.dark-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 80% 50%, rgba(181, 137, 201, 0.18), transparent 60%);
  pointer-events: none;
}
.dark-cta > .container { position: relative; z-index: 1; }
.dark-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-7);
  justify-content: space-between;
}
.dark-cta h2 {
  font-size: clamp(32px, 4vw, 56px);
  color: var(--ink-on-dark);
  max-width: 22ch;
}
.dark-cta h2 em { color: var(--accent); font-style: italic; }
.dark-cta .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.dark-cta .btn-primary { background: var(--primary); }
.dark-cta .btn-primary:hover { background: var(--accent); color: var(--ink); }
.dark-cta .btn-ghost { border-color: var(--ink-on-dark); color: var(--ink-on-dark); }
.dark-cta .btn-ghost:hover { background: var(--ink-on-dark); color: var(--ink); }

/* --- Footer --- */
.foot {
  background: linear-gradient(180deg, #1F1A2E 0%, #14101F 100%);
  color: var(--ink-on-dark);
  padding: var(--s-9) 0 var(--s-6);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--s-7);
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
.foot h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 var(--s-5);
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li {
  margin-bottom: var(--s-3);
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.foot li a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 160ms ease;
}
.foot li a:hover { color: var(--accent); }
.foot .brand { color: var(--ink-on-dark); }
.foot .brand-mark { color: var(--ink-on-dark); }
.foot .muted { color: rgba(255,255,255,0.6); }
.foot-bottom {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.foot-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.foot-bottom a:hover { color: var(--accent); }

/* =========================================================
   Animations + motion
   ========================================================= */

/* Hero headline word-by-word reveal */
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordRise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-headline .word:nth-child(1) { animation-delay: 100ms; }
.hero-headline .word:nth-child(2) { animation-delay: 220ms; }
.hero-headline .word:nth-child(3) { animation-delay: 340ms; }
.hero-headline .word:nth-child(4) { animation-delay: 460ms; }
@keyframes wordRise { to { opacity: 1; transform: translateY(0); } }

/* Drawn-on underline beneath italic word */
.draw-underline { position: relative; }
.draw-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.06em;
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-deep) 0%, var(--accent) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  animation: drawUnderline 900ms cubic-bezier(0.65, 0, 0.35, 1) 800ms forwards;
  border-radius: 3px;
  opacity: 0.95;
}
@keyframes drawUnderline { to { transform: scaleX(1); } }

/* Hero photo Ken Burns */
.hero-photo img {
  animation: kenBurns 14s ease-out infinite alternate;
  transform-origin: center center;
}
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

/* Photo first-load fade */
.hero-photo {
  opacity: 0;
  animation: fadeUp 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) 250ms forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Floating availability badge */
.hero-badge {
  animation: badgeIn 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 1300ms forwards,
             badgeFloat 4.5s ease-in-out 2200ms infinite;
  opacity: 0;
}
@keyframes badgeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Eyebrow row reveal */
.hero-eyebrow-row {
  opacity: 0;
  animation: fadeIn 600ms ease-out 50ms forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* Hero subcopy and actions reveal */
.hero-sub, .hero-actions, .hero-meta {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-sub     { animation-delay: 700ms; }
.hero-actions { animation-delay: 820ms; }
.hero-meta    { animation-delay: 940ms; }

/* Scroll-triggered fade-ins */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.stat-num.counting { font-variant-numeric: tabular-nums; }

/* Reduced motion override */
@media (prefers-reduced-motion: reduce) {
  .hero-headline .word,
  .draw-underline::after,
  .hero-photo,
  .hero-photo img,
  .hero-badge,
  .hero-eyebrow-row,
  .hero-sub,
  .hero-actions,
  .hero-meta,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Util --- */
.muted { color: var(--ink-2); }
.text-c { text-align: center; }
.sr-only 

@media (prefers-reduced-motion: reduce) {
  .hero-headline .word, .draw-underline::after, .hero-photo, .hero-photo img,
  .hero-badge, .hero-eyebrow-row, .hero-sub, .hero-actions, .hero-meta, .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.muted { color: var(--ink-2); }
.text-c { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
