/* ===== Brand tokens — change these to re-theme the whole site ===== */
:root {
  --navy: #0E1A2B;
  --navy-2: #172840;
  --turquoise: #14B8B2;
  --turquoise-dark: #0B8C88;
  --turquoise-light: #8FEAE5;
  --pink: #E5287F;
  --pink-dark: #C01A67;
  --ink: #1A2233;
  --muted: #5E6676;
  --bg: #FFFFFF;
  --cream: #FAF7F2;
  --line: #E7E2D8;
  --accent-bar: linear-gradient(90deg, var(--turquoise), var(--pink));
  --radius: 6px;
  --max: 1160px;
  /* Fonts (client choice, 2026-10-21): the version 2 set */
  --display: "Plus Jakarta Sans", "Figtree", system-ui, sans-serif;   /* headlines */
  --sans: "Figtree", system-ui, sans-serif;                            /* body text */
  --accent: "Fraunces", Georgia, serif;                                /* italic introductions */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-variant-numeric: lining-nums;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-dark); }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.55rem; }
h4 { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #C9D0DC; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--turquoise-dark);
}
.rule { width: 64px; height: 3px; background: var(--accent-bar); border: 0; margin: 1.4rem 0 1.6rem; }
.center .rule { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 56px; }

/* Content still to be supplied — subtle so pages look finished, but easy to spot */
.placeholder { border-bottom: 1px dashed var(--pink); }

/* ===== Buttons ===== */
.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 1.05em 2em; border-radius: 2px; border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--pink); color: #fff; }
.btn--primary:hover { background: var(--pink-dark); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: var(--turquoise-light); color: var(--turquoise-light); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.center .btn-row { justify-content: center; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand-name { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--navy); line-height: 1; }
.brand-tag { display: block; margin-top: 5px; font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--turquoise-dark); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: .6em .85em;
  font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: .85em; right: .85em; bottom: .25em;
  height: 2px; background: var(--pink); transform: scaleX(0); transition: transform .2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--pink-dark); }
.nav-links .nav-cta a { background: var(--navy); color: #fff; margin-left: 10px; padding: .8em 1.4em; border-radius: 2px; }
.nav-links .nav-cta a::after { display: none; }
.nav-links .nav-cta a:hover { background: var(--pink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: var(--navy); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    background: #fff; border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 1em 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta a { margin: 16px 0 0; text-align: center; border: 0; }
}

/* ===== Heroes ===== */
.hero {
  position: relative; overflow: hidden; color: #C9D0DC;
  background:
    radial-gradient(ellipse 110% 140% at 0% 0%, rgba(6,88,94,.75), rgba(6,88,94,.35) 40%, transparent 75%),
    radial-gradient(ellipse 65% 78% at 100% 100%, rgba(229,40,127,.22), rgba(229,40,127,.07) 40%, transparent 68%),
    var(--navy);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--accent-bar); }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--turquoise-light); }
.hero .lead { color: #C9D0DC; }
.hero .placeholder { border-color: var(--turquoise-light); }

.hero--home { padding: 110px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.hero-logo { position: relative; justify-self: center; width: min(400px, 100%); }
.hero-logo::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,160,74,.35), transparent 70%); filter: blur(30px);
}
.hero-logo img { position: relative; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.hero-meta strong { display: block; color: var(--turquoise-light); font-family: var(--display); font-size: 1.35rem; font-weight: 600; }

.hero--page { padding: 88px 0 92px; text-align: center; }
.hero--page .lead { margin: 0 auto; }
.hero--page .rule { margin-left: auto; margin-right: auto; }
.hero-mark { width: 120px; margin: 0 auto 24px; filter: drop-shadow(0 12px 28px rgba(0,0,0,.45)); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-logo { width: 220px; }
  .hero--home { padding: 72px 0 84px; }
}

/* ===== Grids & cards ===== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
@media (max-width: 700px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--pink); transform: translateY(-3px); }
.card p:last-child { margin-bottom: 0; }
.card .num { display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--turquoise); margin-bottom: 18px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(160deg, #F1ECE3, #E9F5F4);
  display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--muted); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
}
.photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid var(--turquoise); border-radius: 3px; pointer-events: none; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 8px 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--display); font-size: 3.2rem; font-weight: 600; line-height: 1.1; color: var(--navy); }
.stat > span { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; }
}

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: .7em 0 .7em 32px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.25em; width: 14px; height: 2px; background: var(--pink);
}
.section--navy .checklist li { border-color: rgba(255,255,255,.12); }

.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts li > span:first-child { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts li > span:last-child { text-align: right; font-weight: 500; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
td .mod { color: var(--turquoise); margin-right: .4em; }

/* Tuition conversation (Program page) */
.tuition-card { padding: 40px; }
.tuition-card h3 { margin-bottom: .6em; }

/* Testimonials */
.quote { position: relative; padding-top: 56px; }
.quote::before { content: "\201C"; position: absolute; top: 4px; left: 30px; font-family: var(--display); font-size: 5rem; line-height: 1; color: var(--pink); }
.quote p { font-family: var(--display); font-size: 1.4rem; line-height: 1.45; color: var(--navy); }
.quote cite { display: block; margin-top: 1.4em; font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--turquoise-dark); }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 96px 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(20,184,178,.2), transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(229,40,127,.2), transparent 60%),
    var(--navy);
  color: #C9D0DC;
}
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--accent-bar); }
.cta h2 { color: #fff; }
.cta img { width: 64px; margin: 0 auto 20px; }

/* ===== FAQ ===== */
.faq { max-width: 860px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: 64px; }
.faq h2 { font-size: 2rem; margin-bottom: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 24px 56px 24px 0; font-size: 1.12rem; font-weight: 500; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--pink);
  transition: transform .2s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--pink-dark); }
.faq .answer { padding: 0 56px 24px 0; color: var(--muted); }

/* ===== Forms ===== */
.form { display: grid; gap: 22px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; }
@media (max-width: 640px) { .form-card { padding: 28px 22px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; margin-bottom: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 13px 14px; border: 1px solid #D5D0C6; border-radius: 3px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(20,184,178,.18); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.check input { width: auto; margin-top: 6px; accent-color: var(--pink); }
.form .btn { justify-self: start; border: 0; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { display: none; padding: 16px 18px; border-left: 3px solid var(--turquoise); background: #EEF9F8; font-weight: 500; }
.form-status.show { display: block; }

.doc-card { display: flex; flex-direction: column; }
.doc-card .btn { margin-top: auto; align-self: flex-start; }
.doc-card p { margin-bottom: 28px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { flex: none; width: 22px; height: 22px; margin-top: 3px; stroke: var(--pink); }
.contact-list strong { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--pink-dark); }

/* ===== Footer ===== */
.site-footer { background: #0A1320; color: #98A2B3; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h4 { color: var(--turquoise-light); margin-bottom: 1.2em; }
.site-footer a { color: #C9D0DC; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer .brand { margin-bottom: 18px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: var(--turquoise-light); }
.site-footer p { max-width: 360px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 24px; font-size: .85rem; }

/* Credentials line under a name */
.credentials { margin: -.2em 0 0; font-size: .82rem; font-weight: 600; letter-spacing: .2em; color: var(--turquoise-dark); }

/* Cards and placeholders on dark sections */
.section--navy .eyebrow { color: var(--turquoise-light); }
.section--navy .lead { color: #C9D0DC; }
.section--navy .card { background: var(--navy-2); border-color: rgba(255,255,255,.1); }
.section--navy .card:hover { border-color: var(--turquoise); }
.section--navy .card .num { color: var(--pink); }
.section--navy .card p { color: #AEB7C5; }
.section--navy .photo { background: linear-gradient(160deg, #1D3350, #183A44); color: #AEB7C5; }
.photo--banner { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .photo--banner { aspect-ratio: 4 / 3; } }

/* Leave room for the sticky header when jumping to a section */
[id] { scroll-margin-top: 100px; }

/* Curriculum table becomes stacked cards on phones */
@media (max-width: 700px) {
  .table-wrap { border: 0; background: none; overflow: visible; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; min-width: 0; }
  .table-wrap thead { display: none; }
  .table-wrap tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; margin-bottom: 14px; }
  .table-wrap td { border: 0; padding: 0; }
  .table-wrap td:first-child { white-space: normal; font-size: 1.35rem; margin-bottom: 10px; }
  .table-wrap td[data-label] { display: flex; gap: 14px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 10px; color: var(--muted); }
  .table-wrap td[data-label]::before {
    content: attr(data-label); flex: none; width: 58px; padding-top: 3px;
    font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
  }
}

/* Studio: clickable equipment cards swap the photo above them */
.studio-viewer { overflow: hidden; scroll-margin-top: 110px; }
.studio-viewer img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .35s ease;
}
.studio-viewer.has-photo img { opacity: 1; }
.studio-viewer.has-photo::after, .studio-viewer.has-photo .studio-viewer__label { display: none; }
.studio-card {
  display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
}
.studio-card:focus-visible { outline: 2px solid var(--turquoise-light); outline-offset: 3px; }
.section--navy .studio-card.is-active { border-color: var(--turquoise); background: #1C3049; }
.card-link {
  display: block; margin-top: 18px;
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--turquoise-light);
}
.card-link .showing, .studio-card.is-active .card-link .view { display: none; }
.studio-card.is-active .card-link .showing { display: inline; }

/* Credential lines inside cards */
.cred-list { list-style: none; margin: 0; padding: 0; }
.cred-list li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.5; }
.cred-list li:first-child { border-top: 0; padding-top: 0; }
.section--navy .cred-list li { border-color: rgba(255,255,255,.1); color: #AEB7C5; }

/* ===== upLift method (Home) ===== */
.uplift-block { margin-top: 56px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.1); }
.uplift-intro { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.uplift-intro h3 { font-size: 1.9rem; }
.uplift-intro p { color: #AEB7C5; margin: 0; }

/* The 5 Spine Shapes */
.shapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.shapes li {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; transition: border-color .2s ease, transform .2s ease;
}
.shapes li:hover { border-color: var(--turquoise); transform: translateY(-3px); }
.shapes .num { display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--pink); margin-bottom: 14px; }
.shapes h4 { font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff; margin-bottom: .35em; }
.shapes p { font-size: .92rem; line-height: 1.5; color: #AEB7C5; margin: 0; }
@media (max-width: 980px) { .shapes { grid-template-columns: repeat(6, 1fr); } .shapes li { grid-column: span 2; } .shapes li:nth-child(4) { grid-column: 2 / span 2; } }
@media (max-width: 600px) { .shapes { grid-template-columns: 1fr; } .shapes li, .shapes li:nth-child(4) { grid-column: auto; } }

/* The full system, in order */
.sequence {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(7, 1fr); position: relative;
}
.sequence::before {
  content: ""; position: absolute; top: 21px; left: 7%; right: 7%; height: 2px; background: var(--accent-bar);
}
.sequence li {
  counter-increment: step; position: relative; text-align: center; padding: 0 6px;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.sequence li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--navy); border: 2px solid var(--turquoise);
  font-family: var(--display); font-size: 1.3rem; letter-spacing: 0; color: var(--turquoise-light);
}
@media (max-width: 760px) {
  .sequence { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; gap: 14px; }
  .sequence::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--turquoise), var(--pink)); }
  .sequence li { display: flex; align-items: center; gap: 18px; text-align: left; padding: 0; }
  .sequence li::before { margin: 0; flex: none; }
}

/* Open-studio card spans the full row above the equipment cards */
.studio-card--wide { grid-column: 1 / -1; }
@media (min-width: 901px) {
  .studio-card--wide { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 32px; align-items: center; }
  .studio-card--wide .num { grid-row: span 2; margin: 0; }
  .studio-card--wide h3 { margin: 0; }
  .studio-card--wide p { grid-column: 2; }
  .studio-card--wide .card-link { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}

/* Tagline under the Home headline */
.hero-tagline {
  margin: -.15em 0 .9em; font-family: var(--display); font-size: clamp(1.56rem, 3.6vw, 2.64rem);
  font-style: italic; font-weight: 500; line-height: 1.2; color: var(--turquoise-light);
}

/* Phones: eyebrow + headline, then the star, then the tagline and the rest */
@media (max-width: 900px) {
  .hero-grid { row-gap: 0; }
  .hero-text { display: contents; }
  .hero-text .eyebrow { order: 1; text-align: center; }
  .hero-text h1 { order: 2; margin-bottom: 0; text-align: center; }
  .hero-logo { order: 3; margin: 32px auto 28px; }
  .hero-tagline { order: 4; margin: 0 0 .7em; text-align: center; }
  .hero-text .lead { order: 5; }
  .hero-text .btn-row { order: 6; justify-content: center; }
  .hero-text .btn-row .btn { width: 100%; max-width: 290px; text-align: center; }
  .hero-text .hero-meta { order: 7; justify-content: center; text-align: center; }
}

/* Desktop: keep the Home banner compact so it fits on a laptop screen */
@media (min-width: 901px) {
  .hero--home { padding: 72px 0 84px; }
  .hero--home .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .hero--home h1 { font-size: clamp(2.6rem, 4.2vw, 3.6rem); margin-bottom: .35em; }
  .hero--home .hero-tagline { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: .8em; }
  .hero--home .lead { margin-bottom: 0; }
  .hero--home .btn-row { margin-top: 1.8rem; }
  .hero--home .hero-meta { margin-top: 2rem; padding-top: 1.3rem; }
  .hero--home .hero-logo { width: min(340px, 100%); }
}

/* ===== Gentle motion (js/animations.js adds the scroll reveals; all of it is skipped for visitors
   whose device asks for reduced motion, and content stays visible if the script doesn't run) ===== */
.site-header { transition: box-shadow .4s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(14, 26, 43, .35); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
  @keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
  @keyframes appear { from { opacity: 0; scale: .96; } to { opacity: 1; scale: 1; } }

  /* Banners: content drifts softly into place on arrival */
  .hero-text > *, .hero--page .container > * { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
  .hero-text > :nth-child(1), .hero--page .container > :nth-child(1) { animation-delay: .05s; }
  .hero-text > :nth-child(2), .hero--page .container > :nth-child(2) { animation-delay: .18s; }
  .hero-text > :nth-child(3), .hero--page .container > :nth-child(3) { animation-delay: .31s; }
  .hero-text > :nth-child(4), .hero--page .container > :nth-child(4) { animation-delay: .44s; }
  .hero-text > :nth-child(5), .hero--page .container > :nth-child(5) { animation-delay: .57s; }
  .hero-text > :nth-child(6), .hero--page .container > :nth-child(6) { animation-delay: .7s; }

  /* The star appears softly, then floats slowly */
  .hero-logo { animation: appear 1.4s ease .3s both; }
  .hero-logo img { animation: float 7s ease-in-out 1.6s infinite; }
  .hero--page .container > .hero-mark { animation: rise 1s cubic-bezier(.2,.7,.2,1) .05s both, float 7s ease-in-out 1.2s infinite; }
  .cta img { animation: float 7s ease-in-out infinite; }

  /* Scroll reveals */
  .motion-ready .reveal {
    opacity: 0; translate: 0 26px;
    transition: opacity 1s ease, translate 1s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .motion-ready .reveal.is-visible { opacity: 1; translate: 0 0; }

  /* Timeline: the line draws across, then the steps appear in order */
  .motion-ready .sequence.reveal { opacity: 1; translate: 0 0; }
  .motion-ready .sequence.reveal::before { scale: 0 1; transform-origin: left center; transition: scale 1.6s cubic-bezier(.4,0,.2,1) .1s; }
  .motion-ready .sequence.reveal.is-visible::before { scale: 1 1; }
  .motion-ready .sequence.reveal li { opacity: 0; translate: 0 12px; transition: opacity .7s ease, translate .7s ease; }
  .motion-ready .sequence.reveal.is-visible li { opacity: 1; translate: 0 0; }
  .motion-ready .sequence.reveal li:nth-child(1) { transition-delay: .15s; }
  .motion-ready .sequence.reveal li:nth-child(2) { transition-delay: .35s; }
  .motion-ready .sequence.reveal li:nth-child(3) { transition-delay: .55s; }
  .motion-ready .sequence.reveal li:nth-child(4) { transition-delay: .75s; }
  .motion-ready .sequence.reveal li:nth-child(5) { transition-delay: .95s; }
  .motion-ready .sequence.reveal li:nth-child(6) { transition-delay: 1.15s; }
  .motion-ready .sequence.reveal li:nth-child(7) { transition-delay: 1.35s; }
  @media (max-width: 760px) {
    .motion-ready .sequence.reveal::before { transform-origin: center top; scale: 1 0; }
    .motion-ready .sequence.reveal.is-visible::before { scale: 1 1; }
  }

  /* Buttons lift a touch on hover */
  .btn { transition: background .2s ease, color .2s ease, border-color .2s ease, translate .25s ease, box-shadow .25s ease; }
  .btn:hover { translate: 0 -2px; box-shadow: 0 10px 22px -12px rgba(14, 26, 43, .45); }
}

/* Keep "Kristin Salmans Pilates" on one line in the header */
.site-header .brand-name { white-space: nowrap; }
@media (max-width: 480px) {
  .site-header .brand { gap: 9px; }
  .site-header .brand img { width: 36px; height: 36px; }
  .site-header .brand-name { font-size: 1.06rem; }
  .site-header .brand-tag { letter-spacing: .16em; font-size: .58rem; }
}
@media (max-width: 360px) { .site-header .brand-name { font-size: .98rem; } }

/* ===== Client revisions (2026-10-21): version 2 fonts, twinkling stars, expanding banner line ===== */

/* Type: Plus Jakarta Sans headlines, Figtree body, Fraunces italic for the short introductions */
body { font-size: 1.08rem; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.lead { font-family: var(--accent); font-style: italic; font-size: 1.28rem; line-height: 1.5; font-variation-settings: "SOFT" 100; }
.hero--home .lead { font-family: var(--sans); font-style: normal; font-size: 1.1rem; line-height: 1.7; }
.hero-tagline { font-family: var(--display); font-style: normal; font-weight: 500; letter-spacing: -.01em; }
@media (min-width: 901px) {
  .hero--home h1 { font-size: clamp(2.4rem, 3.8vw, 3.3rem); }
  .hero--home .hero-tagline { font-size: clamp(1.3rem, 2vw, 1.7rem); }
}
.brand-name { font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.card .num, .shapes .num { font-weight: 300; letter-spacing: -.04em; }
.stat strong { font-weight: 300; letter-spacing: -.03em; }
td:first-child { font-size: 1.08rem; }
.hero-meta strong { font-size: 1.2rem; }
.quote p { font-family: var(--accent); font-style: italic; font-weight: 400; }
.faq summary { font-weight: 600; }

/* Twinkling stars in the navy areas (added by js/stars.js) */
.section--navy { position: relative; overflow: hidden; }
.hero > .container, .section--navy > .container, .cta > .container { position: relative; z-index: 1; }
.starfield { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.starfield .s { position: absolute; border-radius: 50%; background: #fff; opacity: var(--o); }
.starfield .s--bright { box-shadow: 0 0 6px 1px rgba(143, 234, 229, .55); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes twinkle { 0%, 100% { opacity: var(--o); } 50% { opacity: calc(var(--o) * .15); } }
  .starfield .s { animation: twinkle var(--d, 4s) ease-in-out var(--delay, 0s) infinite; }
}

/* Banner bottom line: a centered turquoise-to-pink bar that grows outward from the middle (as in version 3) */
.hero::after {
  left: 50%; right: auto; z-index: 2;
  width: min(85%, 1100px); translate: -50% 0; border-radius: 10px 10px 0 0;
}
@media (max-width: 700px) { .hero::after { width: 86%; height: 8px; } }
@media (prefers-reduced-motion: no-preference) {
  @keyframes divider-grow { from { scale: 0 1; } to { scale: 1 1; } }
  .hero::after { animation: divider-grow 1.4s cubic-bezier(.22, .7, .2, 1) .5s both; }
}
/* Phones: the introduction is centered like the lines around it */
@media (max-width: 900px) { .hero-text .lead { text-align: center; margin-left: auto; margin-right: auto; } }

/* Larger type and a smaller star (client request, 2026-10-21) */
body { font-size: 1.14rem; }
.lead { font-size: 1.34rem; }
.hero--home .lead { font-size: 1.18rem; }
@media (min-width: 901px) {
  .hero--home .hero-grid { grid-template-columns: 1.7fr 1fr; }
  .hero--home h1 { font-size: clamp(2.9rem, 4.8vw, 4.4rem); }
  .hero--home .hero-tagline { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
  .hero--home .hero-logo { width: min(260px, 100%); }
}
@media (max-width: 900px) {
  .hero--home h1 { font-size: clamp(2.7rem, 9vw, 3.4rem); }
  .hero-logo { width: 170px; }
}
.hero-mark { width: 96px; }

/* Banner bottom line: full width (still grows outward from the center as the page opens) */
.hero::after { left: 0; right: 0; width: auto; translate: none; border-radius: 0; transform-origin: center; }
@media (max-width: 700px) { .hero::after { width: auto; } }

/* Star a little bigger (client request, 2026-10-21) */
@media (min-width: 901px) { .hero--home .hero-logo { width: min(300px, 100%); } }
@media (max-width: 900px) { .hero-logo { width: 195px; } }
.hero-mark { width: 110px; }

/* Contact page form: a turquoise-to-pink gradient border (client request, 2026-10-21) */
#contact-form {
  border: 3px solid transparent; border-radius: 14px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--turquoise), var(--pink)) border-box;
  box-shadow: 0 30px 60px -36px rgba(14, 26, 43, .35);
}

/* Program page · "What you'll learn": seven simple, equal cards (four across, then three centered) */
.learn-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 64px; }
.learn-card { flex: 0 1 calc((100% - 72px) / 4); padding: 30px 28px; }
.learn-card::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 18px; border-radius: 3px; background: var(--accent-bar); }
.learn-card h3 { font-size: 1.2rem; margin-bottom: .35em; }
@media (max-width: 1000px) { .learn-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 700px) { .learn-grid { margin-top: 48px; gap: 16px; } .learn-card { flex-basis: 100%; } }

/* Program page: "At a glance" stacked above "What you'll learn" (2026-10-22) */
.glance-card { padding: 40px 44px; }
.glance-card h3 { margin-bottom: .6em; }
@media (min-width: 801px) {
  .glance-card .facts { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 44px; }
  .glance-card .facts li { flex-direction: column; justify-content: flex-start; gap: 2px; padding: 16px 0; }
  .glance-card .facts li:last-child { border-bottom: 1px solid var(--line); }
  .glance-card .facts li:nth-child(n+4) { border-bottom: 0; }
  .glance-card .facts li > span:last-child { text-align: left; font-size: 1.15rem; }
}
.glance-card .btn-row { margin-top: 26px; }
.learn-head { margin-top: 96px; }
.learn-head p { max-width: 760px; margin-left: auto; margin-right: auto; color: var(--muted); }
.learn-grid { margin-top: 0; }
@media (max-width: 700px) { .glance-card { padding: 30px 24px; } .learn-head { margin-top: 72px; } }
/* "At a glance" title and Apply Now button centered */
.glance-card h3 { text-align: center; }
.glance-card .btn-row { justify-content: center; }
