/* =========================================================
   LA Music Lessons — Design System
   Warm, premium, human. Editorial / Anthropic-adjacent feel.
   ========================================================= */

:root {
  /* Palette — warm cream, terracotta, ink */
  --bg:           #F7F1E8;   /* aged paper */
  --bg-soft:      #EFE6D6;   /* slightly deeper cream */
  --bg-deep:      #E5D8C2;   /* sand */
  --ink:          #1A1612;   /* near-black, warm */
  --ink-soft:     #3A322A;
  --muted:        #7A6E5F;   /* warm taupe */
  --line:         #D9CBB3;   /* warm border */
  --accent:       #B5462A;   /* terracotta */
  --accent-deep:  #8E2F18;   /* burnt sienna */
  --gold:         #C8A35A;   /* warm gold accent */
  --cream-card:   #FBF6EC;

  /* Type */
  --serif:  "Cormorant Garamond", "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale */
  --step--2: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --step--1: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --step-0:  clamp(1rem, 0.94rem + 0.3vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 1.9rem);
  --step-3:  clamp(2rem, 1.6rem + 1.8vw, 2.7rem);
  --step-4:  clamp(2.6rem, 2rem + 2.8vw, 3.8rem);
  --step-5:  clamp(3.4rem, 2.4rem + 4.5vw, 5.5rem);
  --step-6:  clamp(4rem, 2.8rem + 6vw, 7.5rem);

  /* 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;

  /* Radii / shadow */
  --r-1: 4px;
  --r-2: 10px;
  --r-3: 18px;
  --r-pill: 999px;

  --shadow-1: 0 1px 0 rgba(26,22,18,.04), 0 1px 2px rgba(26,22,18,.04);
  --shadow-2: 0 1px 0 rgba(26,22,18,.04), 0 12px 28px -16px rgba(26,22,18,.18);

  --max: 1240px;
  --max-narrow: 880px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }

/* Selection */
::selection { background: var(--accent); color: var(--cream-card); }

/* ---------- Type ---------- */
.serif  { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.mono   { font-family: var(--mono); }
.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  margin-right: 8px; vertical-align: middle;
  transform: translateY(-1px);
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: var(--step-6); line-height: 0.98; }
h2 { font-size: var(--step-4); line-height: 1.02; }
h3 { font-size: var(--step-2); line-height: 1.15; }
h4 { font-size: var(--step-1); line-height: 1.2; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p  { margin: 0; }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 60ch; line-height: 1.45; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.container--narrow { width: min(100% - 48px, var(--max-narrow)); margin-inline: auto; }
.section { padding-block: var(--s-10); }
.section--tight { padding-block: var(--s-9); }
.section--soft { background: var(--bg-soft); }
.section--deep { background: var(--bg-deep); }
.section--ink {
  background: var(--ink);
  color: var(--cream-card);
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--cream-card); }
.section--ink .eyebrow { color: rgba(247,241,232,0.65); }
.grid { display: grid; gap: var(--s-5); }
.flex { display: flex; }
.row { display: flex; gap: var(--s-4); align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.center { align-items: center; }
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(s-3) ; }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }

/* ---------- Top bar / Nav ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
/* On mobile, the nav overlay is positioned:fixed inside this topbar.
   backdrop-filter creates a containing block for fixed-position descendants,
   which would clip the overlay to the topbar's height. Drop the blur
   on mobile so the overlay can fill the viewport. */
@media (max-width: 880px) {
  .topbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
  }
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) 0;
  gap: var(--s-5);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.25rem; letter-spacing: -0.01em;
}
.brand__mark {
  width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-deep));
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2), 0 1px 0 rgba(0,0,0,0.1);
}
.brand__mark::after {
  content: ""; position: absolute; inset: 6px;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 50%;
}
.brand__name { line-height: 1; }
.brand__name small {
  display: block; font-family: var(--sans); font-size: 0.65rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: var(--s-2); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  border-radius: var(--r-pill);
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover { color: var(--accent); background: color-mix(in oklab, var(--accent) 8%, transparent); }
.nav__link[aria-current="page"] { color: var(--accent); }
.nav__caret { font-size: 0.7em; opacity: 0.6; transition: transform .2s ease; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 260px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: 8px;
  box-shadow: var(--shadow-2);
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
}
.nav__item.is-open .nav__sub { display: grid; }
.nav__sub a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  font-size: 0.92rem;
  border-radius: var(--r-1);
  color: var(--ink-soft);
}
.nav__sub a:hover { background: var(--bg-soft); color: var(--accent); }
.nav__sub a small { color: var(--muted); margin-left: auto; font-size: 0.78rem; }

.topbar__cta { display: flex; align-items: center; gap: var(--s-3); }
.phone {
  font-family: var(--mono); font-size: 0.82rem;
  color: var(--muted);
}
.phone:hover { color: var(--ink); }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 880px) {
  /* Hide desktop nav links + the phone topbar item; show the hamburger. */
  .nav, .topbar__cta .phone { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Mobile nav overlay — full-height, takes over the viewport. */
  .nav.is-mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 64px 0 0 0;             /* below the topbar */
    background: var(--bg);
    padding: var(--s-5);
    border-top: 1px solid var(--line);
    z-index: 49;
    gap: var(--s-1);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-mobile-open .nav__item { width: 100%; }
  .nav.is-mobile-open .nav__link {
    padding: 14px 16px;
    border-radius: var(--r-2);
    font-size: 1rem;
    justify-content: space-between;
    width: 100%;
  }

  /* Submenu inside the mobile overlay:
     - drops the absolute positioning
     - stacks as a vertical list (not a grid column)
     - fills the full width of the parent so long labels never get clipped
     - always shown when the parent is open, never when it isn't */
  .nav.is-mobile-open .nav__sub {
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 4px 0 8px 12px;
    margin: 0 0 4px 0;
    min-width: 0;
    width: 100%;
    display: block;
    grid-template-columns: none;
    gap: 0;
  }
  .nav.is-mobile-open .nav__sub a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--r-2);
    color: var(--ink-soft);
  }
  .nav.is-mobile-open .nav__sub a:hover,
  .nav.is-mobile-open .nav__sub a:focus-visible {
    background: var(--bg-soft);
    color: var(--accent);
  }
  .nav.is-mobile-open .nav__sub a small {
    color: var(--muted);
    font-size: 0.78rem;
    margin-left: 8px;
    text-align: right;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* When the menu is open, lock the page scroll behind it. */
  body.nav-open { overflow: hidden; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--ink); color: var(--cream-card);
}
.btn--primary:hover { background: var(--accent); }
.btn--accent {
  background: var(--accent); color: var(--cream-card);
}
.btn--accent:hover { background: var(--accent-deep); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: color-mix(in oklab, var(--ink) 18%, transparent);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--quiet {
  background: transparent; color: var(--ink-soft);
  padding: 10px 14px;
}
.btn--quiet:hover { color: var(--accent); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--lg { padding: 16px 26px; font-size: 1rem; }

/* ---------- Pills / Tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: var(--accent-deep);
  font-weight: 600;
}
.tag--neutral {
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  color: var(--ink-soft);
}
.tag--gold {
  background: color-mix(in oklab, var(--gold) 22%, transparent);
  color: #6B4F1E;
}

/* ---------- Cards ---------- */
.card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 12%, var(--bg));
  color: var(--accent-deep);
  display: grid; place-items: center;
  margin-bottom: var(--s-4);
  font-size: 1.2rem;
  font-family: var(--serif);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: var(--s-9) var(--s-9);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s-9);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero { padding-block: var(--s-8); }
}
.hero__title {
  font-size: var(--step-6);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin-top: var(--s-5);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero__sub {
  margin-top: var(--s-5);
  color: var(--ink-soft);
  font-size: var(--step-1);
  max-width: 52ch;
  line-height: 1.5;
}
.hero__cta { margin-top: var(--s-6); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero__meta {
  margin-top: var(--s-7);
  display: flex; gap: var(--s-7); flex-wrap: wrap;
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong {
  font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--ink);
}
.hero__meta span { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

/* Hero visual — typographic poster, no fake stock */
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-3);
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg-deep) 80%, var(--bg)) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.hero__visual .staff {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 22px,
    color-mix(in oklab, var(--ink) 8%, transparent) 22px,
    color-mix(in oklab, var(--ink) 8%, transparent) 23px
  );
  opacity: 0.45;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
}
.hero__visual .poster {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  text-align: center;
  padding: var(--s-6);
}
.hero__visual .poster .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  line-height: 1.2;
  color: var(--ink);
  max-width: 14ch;
}
.hero__visual .poster .by {
  margin-top: var(--s-4);
  font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.hero__visual .seal {
  position: absolute; top: var(--s-5); right: var(--s-5);
  width: 80px; height: 80px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-align: center;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: rotate(-8deg);
  background: color-mix(in oklab, var(--bg) 30%, transparent);
}
.hero__visual .corner {
  position: absolute; left: var(--s-5); bottom: var(--s-5);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.hero__visual .corner .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); }
  100% { box-shadow: 0 0 0 12px color-mix(in oklab, var(--accent) 0%, transparent); }
}

/* ---------- Marquee strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}
.strip__track {
  display: flex; gap: var(--s-7);
  padding: var(--s-4) 0;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
}
.strip__track span {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: var(--s-7);
}
.strip__track span::after {
  content: "✦"; color: var(--accent); font-size: 0.8em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
  .hero__visual .corner .pulse { animation: none; }
}

/* ---------- Section header ---------- */
.shead { display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); flex-wrap: wrap; }
.shead__title { max-width: 22ch; }
.shead__sub { max-width: 42ch; color: var(--ink-soft); }

/* ---------- Instruments grid ---------- */
.instruments {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--s-3);
}
.instrument {
  display: flex; flex-direction: column;
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--cream-card);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  min-height: 132px;
  justify-content: space-between;
}
.instrument:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--bg);
}
.instrument__glyph {
  font-family: var(--serif); font-style: italic;
  font-size: 1.5rem; color: var(--accent-deep);
}
.instrument__name { font-weight: 600; font-size: 1.05rem; }
.instrument__hint { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-5);
}
.step {
  position: relative;
  padding: var(--s-6);
  border-radius: var(--r-3);
  background: var(--cream-card);
  border: 1px solid var(--line);
}
.step .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: var(--s-3);
  display: flex; align-items: center; gap: 8px;
}
.step .num::after {
  content: ""; height: 1px; flex: 1; background: var(--line);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}
.quote {
  padding: var(--s-6);
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  display: flex; flex-direction: column;
  gap: var(--s-5);
}
.quote__stars { color: var(--accent); letter-spacing: 2px; }
.quote__body {
  font-family: var(--serif);
  font-size: 1.2rem; line-height: 1.4;
  color: var(--ink);
  flex: 1;
}
.quote__by {
  display: flex; align-items: center; gap: 12px;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.quote__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  color: var(--cream-card);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 500;
}
.quote__name { font-weight: 600; font-size: 0.95rem; }
.quote__meta { font-size: 0.78rem; color: var(--muted); }

/* ---------- Pricing teaser ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-4);
}
.price {
  padding: var(--s-6);
  border-radius: var(--r-3);
  background: var(--cream-card);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.price--featured {
  background: var(--ink); color: var(--cream-card); border-color: var(--ink);
}
.price--featured h3 { color: var(--cream-card); }
.price--featured .price__amt { color: var(--gold); }
.price--featured .price__list li { color: rgba(247,241,232,0.78); }
.price__amt { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.price__amt small { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); margin-left: 4px; font-weight: 400; }
.price--featured .price__amt small { color: rgba(247,241,232,0.65); }
.price__list { display: grid; gap: 8px; margin-top: var(--s-3); }
.price__list li { font-size: 0.92rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: start; }
.price__list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.price--featured .price__list li::before { color: var(--gold); }
.price__cta { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: var(--cream-card);
  border-radius: var(--r-3);
  padding: var(--s-9) var(--s-7);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-7); align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 1.5px solid rgba(247,241,232,0.25);
}
.cta-band::before {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
}
.cta-band h2 { color: var(--cream-card); max-width: 16ch; }
.cta-band p { color: rgba(247,241,232,0.85); margin-top: var(--s-3); max-width: 42ch; }
.cta-band .actions { display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .btn--primary { background: var(--cream-card); color: var(--accent); }
.cta-band .btn--primary:hover { background: var(--ink); color: var(--cream-card); }
.cta-band .btn--ghost { color: var(--cream-card); border-color: rgba(247,241,232,0.45); }
.cta-band .btn--ghost:hover { border-color: var(--cream-card); background: rgba(247,241,232,0.08); }
@media (max-width: 880px) {
  .cta-band { grid-template-columns: 1fr; padding: var(--s-7) var(--s-5); }
  .cta-band .actions { justify-content: flex-start; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(247,241,232,0.78);
  padding-block: var(--s-9) var(--s-5);
  margin-top: var(--s-9);
}
.footer a { color: rgba(247,241,232,0.78); transition: color .15s ease; }
.footer a:hover { color: var(--gold); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-7);
}
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__brand p { margin-top: var(--s-3); max-width: 36ch; line-height: 1.5; font-size: 0.92rem; }
.footer__col h4 {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-4);
  font-weight: 600;
}
.footer__col ul { display: grid; gap: 10px; font-size: 0.92rem; }
.footer__bottom {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(247,241,232,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  font-size: 0.82rem; color: rgba(247,241,232,0.55);
}
.footer__bottom .social { display: flex; gap: var(--s-3); }
.footer__bottom .social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(247,241,232,0.2);
}
.footer__bottom .social a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- About page specifics ---------- */
.about-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-9); align-items: end;
  padding-block: var(--s-9);
}
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; gap: var(--s-6); } }
.about-hero__text h1 { margin-top: var(--s-4); }
.about-hero__visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-3);
  background:
    linear-gradient(160deg, color-mix(in oklab, var(--accent) 18%, var(--bg-soft)), var(--bg));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.about-hero__visual .signature {
  position: absolute; bottom: var(--s-5); right: var(--s-5);
  font-family: var(--serif); font-style: italic; font-size: 1.6rem;
  color: var(--accent-deep);
}
.about-hero__visual .established {
  position: absolute; top: var(--s-5); left: var(--s-5);
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-5);
}
.team__card {
  padding: var(--s-6);
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}
.team__card .role {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-top: 4px;
}
.team__card p { color: var(--ink-soft); margin-top: var(--s-3); font-size: 0.95rem; }
.team__card h3 { margin-top: var(--s-4); }
.team__card--founder {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--s-7);
  background: linear-gradient(160deg, var(--cream-card), color-mix(in oklab, var(--cream-card) 70%, var(--accent) 8%));
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
}
.team__card--founder h3 {
  font-size: 1.8rem;
  margin-top: 0;
}
.team__card--founder p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
}

.timeline {
  display: grid; gap: var(--s-5);
  border-left: 1px solid var(--line);
  padding-left: var(--s-6);
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: calc(-1 * var(--s-6) - 5px); top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--accent);
}
.timeline__year { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.16em; }
.timeline__item h4 { margin: 4px 0 6px; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.timeline__item p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Misc utilities ---------- */
.divider {
  height: 1px; background: var(--line); margin-block: var(--s-7);
}
.kicker { display: flex; gap: var(--s-3); align-items: center; font-size: 0.86rem; color: var(--muted); }
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--line); }

.center-text { text-align: center; }
.italic { font-style: italic; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

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

/* Reveal-on-scroll — adds a subtle fade-up for elements that opt in.
   Content is fully visible by default. JS adds .js-reveal-then to elements
   that started below the fold, then transitions them in once they enter view. */
.reveal {
  /* visible by default — never hide content from non-JS / a11y / no-scroll */
}
.reveal.is-then {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-then.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal.is-then { opacity: 1 !important; transform: none !important; transition: none !important; }
}