:root {
  --obsidian: #0a0a0c;
  --inkwell: #121216;
  --ink-elevated: #18181e;
  --hairline: #242429;
  --hairline-light: #32323a;
  --ivory: #f5f3ee;
  --silver: #9e9b95;
  --ash: #6b6862;
  --amber: #d4a359;
  --amber-soft: rgba(212, 163, 89, 0.14);
  --emerald: #2e8b6e;
  --emerald-soft: rgba(46, 139, 110, 0.12);
  --vellum: #f4f1ea;

  --ink: var(--ivory);
  --ink-soft: var(--silver);
  --ink-mute: var(--ash);
  --paper: var(--obsidian);
  --white: var(--inkwell);
  --line: var(--hairline);
  --line-strong: var(--hairline-light);
  --accent: var(--amber);
  --accent-deep: #e8c384;
  --accent-soft: var(--amber-soft);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 30px 90px -15px rgba(0, 0, 0, 0.9);

  --display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --brand: "Instrument Serif", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--obsidian);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(212, 163, 89, 0.3);
  color: var(--ivory);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-glow {
  pointer-events: none;
  position: fixed;
  inset: 0 0 auto;
  height: 680px;
  z-index: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(212, 163, 89, 0.1),
    rgba(46, 139, 110, 0.05) 45%,
    transparent 75%
  );
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ivory);
  color: var(--obsidian);
  padding: 0.5rem 0.8rem;
  z-index: 60;
}
.skip:focus { top: 1rem; }

.wrap {
  position: relative;
  z-index: 10;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Type */
.kicker {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ivory);
}

h1 {
  font-size: clamp(2.75rem, 6.5vw, 5.1rem);
  margin: 0;
  max-width: 16em;
}

.hero-copy h1 p { margin: 0; }
.hero-copy h1 i,
.hero-copy h1 em,
.studio-hero-copy h1 i,
.studio-hero-copy h1 em,
.editorial-accent {
  font-style: italic;
  white-space: nowrap;
  background: linear-gradient(120deg, #e8c384 0%, #d4a359 45%, #3ca382 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  margin: 0 0 1rem;
  max-width: 16em;
  line-height: 1.08;
}

h3 {
  font-size: 1.55rem;
  margin: 0 0 0.55rem;
  letter-spacing: -0.015em;
}

.lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--silver);
  max-width: 38rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  margin: 0;
  padding: 0.9rem max(1.25rem, calc((100% - var(--max)) / 2));
  background: rgba(10, 10, 12, 0.8);
  border-bottom: 1px solid rgba(36, 36, 41, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  border: 1px solid var(--hairline-light);
  background: var(--inkwell);
  color: var(--amber);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s var(--ease);
}

.brand:hover .mark { border-color: rgba(212, 163, 89, 0.5); }

.links {
  display: flex;
  gap: 2rem;
  margin-left: 1rem;
}

.links a {
  position: relative;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--silver);
  transition: color 0.2s var(--ease);
}

.links a:hover,
.links a[aria-current="page"] {
  color: var(--ivory);
}

.links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.65rem;
  height: 1px;
  background: var(--amber);
}

.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  background: transparent;
  color: var(--ivory);
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn-solid {
  background: var(--ivory);
  color: var(--obsidian);
  box-shadow: 0 0 35px rgba(212, 163, 89, 0.18);
}
.btn-solid:hover {
  background: #fff;
  box-shadow: 0 0 45px rgba(212, 163, 89, 0.28);
}

.btn-ghost {
  border-color: var(--hairline-light);
  background: rgba(18, 18, 22, 0.8);
  color: var(--ivory);
}
.btn-ghost:hover {
  border-color: rgba(212, 163, 89, 0.5);
  background: var(--ink-elevated);
}

.btn-teal {
  background: var(--amber);
  color: var(--obsidian);
}
.btn-teal:hover {
  background: #e0b46a;
  color: var(--obsidian);
}

.nav .btn { padding: 0.55rem 1rem; font-size: 0.85rem; }
.nav .btn-ghost {
  border: 0;
  background: transparent;
  color: var(--silver);
  border-radius: 0;
  padding-inline: 0.35rem;
  box-shadow: none;
}
.nav .btn-ghost:hover {
  color: var(--ivory);
  background: transparent;
  transform: none;
}
.btn.menu-toggle {
  display: none;
  border-radius: 0.6rem;
  border: 1px solid var(--hairline-light);
  padding: 0.5rem 0.8rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.hero-solo {
  grid-template-columns: 1fr;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.hero-solo h1,
.hero-solo .lede,
.hero-solo .fine {
  margin-inline: auto;
}

.hero-solo .actions { justify-content: center; }
.hero-solo h1 { max-width: 14em; }

.hero-copy .lede { margin-top: 1.35rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.85rem;
}

.fine {
  margin: 1.15rem 0 0;
  font-family: var(--mono);
  color: var(--ash);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
  justify-self: stretch;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(
    90deg,
    rgba(212, 163, 89, 0.15),
    rgba(46, 139, 110, 0.1),
    rgba(212, 163, 89, 0.15)
  );
  filter: blur(28px);
  opacity: 0.7;
  z-index: 0;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--hairline-light);
  box-shadow: var(--shadow-lg);
  background: var(--inkwell);
}

/* Coach stage */
.stage {
  background: var(--inkwell);
  border: 1px solid var(--hairline-light);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 132px minmax(0, 1.4fr) 188px;
  min-height: 460px;
  overflow: hidden;
}

.stage.duo {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
  min-height: 340px;
}

.doc {
  padding: 1.5rem 1.6rem 1.6rem;
  background: var(--inkwell);
}

.doc-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 1rem;
}

.doc h4 {
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.doc p {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(245, 243, 238, 0.9);
}

.hl {
  background: rgba(212, 163, 89, 0.22);
  border-bottom: 2px solid var(--amber);
  border-radius: 3px;
  padding: 0 0.2rem;
  box-decoration-break: clone;
}

.coach {
  background: rgba(10, 10, 12, 0.55);
  border-left: 1px solid var(--hairline);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.coach strong {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pills { display: flex; gap: 0.35rem; }
.pill {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid var(--hairline-light);
  color: var(--silver);
  background: var(--obsidian);
}
.pill.on {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: rgba(212, 163, 89, 0.35);
}

.note {
  margin: 0;
  background: var(--ink-elevated);
  border: 1px solid var(--hairline);
  border-radius: 0.85rem;
  padding: 0.85rem 0.9rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(245, 243, 238, 0.92);
}

.chip {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.coach-stage { margin-top: 2.4rem; }
.coach .chat { display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.note-writer {
  border-color: var(--hairline);
  background: var(--ink-elevated);
}
.note-coach {
  border-color: rgba(46, 139, 110, 0.35);
  background: var(--emerald-soft);
}
.note-coach .chip { color: var(--emerald); }

/* Sections */
.band {
  position: relative;
  z-index: 10;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-top: 1px solid rgba(36, 36, 41, 0.6);
}

.band-flush {
  padding: 0;
  border-top: 0;
}
.band-flush .feature { padding: 2.75rem 0; }

.band-ink {
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(46, 139, 110, 0.12), transparent 55%),
    linear-gradient(165deg, #0e0e12 0%, #0a0a0c 60%, #0c1210 100%);
  border-top: 1px solid rgba(36, 36, 41, 0.6);
  color: var(--ivory);
}

.band-ink h2,
.band-ink h3 { color: var(--ivory); }
.band-ink .lede { color: var(--silver); }
.band-ink .kicker { color: var(--emerald); }

.center { text-align: center; }
.center .lede,
.center h2 { margin-inline: auto; }

.section-head {
  max-width: 48rem;
  margin-bottom: 0.35rem;
}

/* Pillars / bento cards */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
  background: transparent;
  border: 0;
}

.pillars-2 { grid-template-columns: repeat(2, 1fr); }
.pillars-3 { grid-template-columns: repeat(3, 1fr); }
.pillars-4 { grid-template-columns: repeat(2, 1fr); }
.pillars-1 { grid-template-columns: 1fr; }

@media (min-width: 1100px) {
  .pillars-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--inkwell);
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  padding: 1.7rem 1.55rem 1.8rem;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.card:hover {
  border-color: rgba(212, 163, 89, 0.38);
  box-shadow: var(--shadow), 0 0 28px -8px rgba(212, 163, 89, 0.12);
  transform: translateY(-2px);
}

.card p:last-child {
  margin: 0;
  color: var(--silver);
  font-size: 0.98rem;
  line-height: 1.65;
}

.card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.65rem;
}

.num {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 0.9rem;
}

/* Features */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: 2.75rem 0 0;
}

.feature + .feature { border-top: 1px solid rgba(36, 36, 41, 0.6); }
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }
.feature p {
  margin: 0;
  color: var(--silver);
  font-size: 1.02rem;
  line-height: 1.7;
}
.feature-copy { max-width: 32rem; }
.feature-copy h3 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  margin-bottom: 0.85rem;
}

.feature-media {
  position: relative;
  overflow: hidden;
  background: var(--inkwell);
  border: 1px solid var(--hairline-light);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 1rem;
  padding: 0.28rem;
  width: fit-content;
  max-width: 100%;
  background: var(--inkwell);
  border: 1px solid var(--hairline-light);
  border-radius: 9999px;
}

.tab {
  border: 0;
  border-radius: 9999px;
  background: transparent;
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: var(--silver);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.tab:hover { color: var(--ivory); }
.tab[aria-selected="true"] {
  background: var(--ivory);
  color: var(--obsidian);
}

.panel[hidden] { display: none; }
.panel {
  background: var(--inkwell);
  border: 1px solid var(--hairline-light);
  border-radius: 1rem;
  padding: 0.65rem;
  box-shadow: var(--shadow-sm);
}

.panel-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.7rem;
}
.panel-copy { color: var(--silver); max-width: 42rem; padding: 1rem; }
.panel-copy p { margin: 0; }

/* Studio map */
.six {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
  background: transparent;
  border: 0;
}

.six article {
  padding: 1.4rem 1.3rem 1.5rem;
  background: rgba(255, 252, 247, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.six article:hover {
  background: rgba(255, 252, 247, 0.05);
  border-color: rgba(212, 163, 89, 0.28);
}
.six h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.six p {
  margin: 0;
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing */
.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2.6rem;
  align-items: stretch;
}

.price {
  background: var(--inkwell);
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  padding: 1.7rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.price:hover {
  border-color: rgba(212, 163, 89, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.price.pop {
  background: linear-gradient(165deg, #16161c 0%, #121216 100%);
  border-color: rgba(212, 163, 89, 0.4);
  box-shadow: var(--shadow), 0 0 40px -18px rgba(212, 163, 89, 0.35);
}

.price .amt {
  font-family: var(--display);
  font-size: 2.85rem;
  margin: 0.35rem 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ivory);
}

.price .amt small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ash);
}

.price.pop .num { color: var(--amber); }

.price ul {
  margin: 0 0 1.4rem;
  padding-left: 1.05rem;
  color: var(--silver);
  flex: 1;
  font-size: 0.95rem;
}

.price li + li { margin-top: 0.45rem; }

.flag {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.55rem;
}

.spend {
  margin-top: 1.6rem;
  color: var(--ash);
  font-size: 0.9rem;
  max-width: 52rem;
  line-height: 1.65;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 2rem auto 0;
}

.faq details {
  border-top: 1px solid var(--hairline);
  padding: 1.1rem 0;
}

.faq details:last-child { border-bottom: 1px solid var(--hairline); }

.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--ivory);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--amber);
}

.faq details[open] summary::after { content: "–"; }

.faq p {
  margin: 0.75rem 0 0.15rem;
  color: var(--silver);
  line-height: 1.7;
}

/* Close */
.close {
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3.25rem, 6vw, 4.5rem);
  position: relative;
  border-top: 1px solid rgba(36, 36, 41, 0.6);
}

.close .kicker { color: var(--amber); }

.close h2 {
  max-width: 18em;
  margin-inline: auto;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.close .lede {
  margin: 0 auto;
  max-width: 34rem;
}

.close .actions { justify-content: center; }

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem 0 2.6rem;
  border-top: 1px solid rgba(36, 36, 41, 0.8);
  color: var(--ash);
  font-size: 0.82rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer a {
  color: var(--ash);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer a:hover { color: var(--ivory); }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero-copy.reveal { transition-delay: 0.05s; }
.hero-media.reveal { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .card:hover,
  .price:hover { transform: none; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0a0a0c; }
::-webkit-scrollbar-thumb { background: #242429; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #383842; }

/* Responsive */
@media (max-width: 980px) {
  .hero,
  .feature,
  .feature.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero-media::before { inset: -0.5rem; }

  .stage,
  .stage.duo { grid-template-columns: 1fr; }

  .coach {
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }

  .pillars,
  .pillars-2,
  .pillars-3,
  .pillars-4,
  .prices,
  .six {
    grid-template-columns: 1fr;
  }

  .links { display: none; }

  .nav {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  /* Brand | CTA | Menu — one row, no wrap collision */
  .nav-cta {
    order: 2;
    margin-left: auto;
    gap: 0.5rem;
  }

  .nav-cta .btn-ghost { display: none; }

  .nav .btn-solid {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .btn.menu-toggle {
    display: inline-flex;
    order: 3;
    margin-left: 0.35rem;
  }

  .nav.is-open .links {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    order: 4;
    gap: 0.85rem;
    padding: 0.65rem 0 0.2rem;
  }

  .nav.is-open .links a[aria-current="page"]::after { display: none; }

  html { scroll-padding-top: 8rem; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 2rem)); }
  h1 { max-width: none; }
  .nav { padding-inline: 1rem; }

  /* Narrow phones: CTAs live in the open menu so the bar stays clean */
  .nav-cta { display: none; }

  .btn.menu-toggle { margin-left: auto; }

  .nav.is-open .nav-cta {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    order: 5;
    margin-left: 0;
    gap: 0.65rem;
    padding: 0.35rem 0 0.15rem;
  }

  .nav.is-open .nav-cta .btn-ghost,
  .nav.is-open .nav-cta .btn-solid {
    display: inline-flex;
    width: 100%;
  }

  .nav.is-open .nav-cta .btn-ghost {
    justify-content: flex-start;
    padding-inline: 0.15rem;
  }
}

/* —— Mock-aligned studio hero —— */
.studio-hero {
  padding: clamp(3.5rem, 8vw, 5.75rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.studio-hero-copy {
  max-width: 48rem;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.studio-hero-copy h1 {
  max-width: 15em;
  margin-inline: auto;
  font-size: clamp(2.85rem, 7vw, 5.1rem);
}

.studio-hero-copy .lede {
  margin: 1.35rem auto 0;
  max-width: 36rem;
}

.studio-hero-copy .actions { justify-content: center; }
.studio-hero-copy .fine { margin-inline: auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid var(--hairline-light);
  background: rgba(18, 18, 22, 0.9);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.hero-badge-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(46, 139, 110, 0.55);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(46, 139, 110, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(46, 139, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 139, 110, 0); }
}

.studio-window-shell {
  position: relative;
  max-width: 72rem;
  margin-inline: auto;
}

.studio-window-glow {
  position: absolute;
  inset: -0.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(90deg, rgba(212,163,89,0.15), rgba(46,139,110,0.1), rgba(212,163,89,0.15));
  filter: blur(28px);
  opacity: 0.7;
}

.studio-window {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--hairline-light);
  background: var(--inkwell);
  box-shadow: var(--shadow-lg);
}

.studio-window-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--hairline);
  background: rgba(10, 10, 12, 0.7);
}

.studio-window-dots {
  display: flex;
  gap: 0.35rem;
}
.studio-window-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: #3a3a42;
}

.studio-window-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
}
.studio-window-label em {
  font-style: normal;
  color: var(--amber);
  font-weight: 500;
}

.studio-window-mode {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}

.studio-window-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.studio-pane {
  min-width: 0;
  padding: 1.1rem 1.15rem 1.25rem;
}
.studio-pane-left {
  border-right: 1px solid var(--hairline);
  background: rgba(10, 10, 12, 0.4);
  display: none;
}
.studio-pane-center {
  border-bottom: 1px solid var(--hairline);
}
.studio-pane-right {
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 12, 0.5);
}

@media (min-width: 980px) {
  .studio-window-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr) minmax(0, 1fr);
    min-height: 420px;
  }
  .studio-pane-left { display: flex; flex-direction: column; }
  .studio-pane-center {
    border-right: 1px solid var(--hairline);
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .studio-window-bar {
    gap: 0.5rem;
    padding: 0.7rem 0.9rem;
  }

  .studio-window-mode { display: none; }

  .studio-pane {
    padding: 1rem 0.95rem 1.15rem;
  }

  .studio-pane-center h3 {
    font-size: 1.55rem;
  }

  .studio-prose p {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .studio-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
  }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
    text-align: left;
    letter-spacing: 0.1em;
    line-height: 1.45;
  }
}

.studio-pane-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.studio-pane-head .ok { color: var(--emerald); }
.studio-pane-center h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 0 0 1rem;
}

.studio-prose p {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(245, 243, 238, 0.9);
}

.studio-prose mark {
  background: rgba(212, 163, 89, 0.22);
  border-bottom: 2px solid var(--amber);
  border-radius: 3px;
  color: inherit;
  padding: 0 0.2rem;
}

.binder-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.binder-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  font-size: 0.78rem;
  color: rgba(158, 155, 149, 0.85);
}
.binder-list li span:last-child {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ash);
}
.binder-list li.on {
  border: 1px solid rgba(212, 163, 89, 0.35);
  background: rgba(212, 163, 89, 0.1);
  color: var(--amber);
  font-weight: 500;
}
.binder-list li.muted { color: rgba(158, 155, 149, 0.5); font-style: italic; }

.touchstone-mini {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(36, 36, 41, 0.7);
}
.touchstone-mini .label,
.author-lock strong,
.voice-quote .label,
.voice-adapt .label,
.voice-profiles-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 0.55rem;
}

.chip-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.55rem;
  border: 1px solid var(--hairline);
  background: rgba(24, 24, 30, 0.6);
  font-size: 0.72rem;
  color: var(--silver);
}
.chip-row i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: var(--amber);
}
.chip-row.emerald i { background: var(--emerald); }

.author-lock {
  margin-top: auto;
  padding: 0.7rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(46, 139, 110, 0.25);
  background: rgba(46, 139, 110, 0.1);
}
.author-lock strong {
  color: var(--emerald);
  margin-bottom: 0.25rem;
}
.author-lock p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--silver);
  line-height: 1.45;
}

.coach-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ivory);
}
.coach-live i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--amber);
}

.mode-tag {
  border: 1px solid var(--hairline-light);
  border-radius: 9999px;
  padding: 0.2rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
}

.coach-prompt {
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(46, 139, 110, 0.2);
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--emerald);
}

.coach-compose {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ash);
}
.coach-compose span:last-child {
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: var(--ink-elevated);
  color: var(--silver);
}

.sandbox-stage .doc h4 { font-size: 2rem; }
.sandbox-line {
  font-family: var(--serif) !important;
  font-size: 1.2rem !important;
  line-height: 1.8 !important;
}

/* Bento */
.pillars-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .pillars-bento {
    grid-template-columns: 1.35fr 1fr;
  }
  .pillars-bento .card:nth-child(1),
  .pillars-bento .card:nth-child(4) {
    grid-column: span 1;
  }
}

/* Voice DNA */
.voice-dna-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 980px) {
  .voice-dna-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: center;
  }
}

.voice-dna-copy h2 p { margin: 0; }
.voice-dna-copy h2 i,
.voice-dna-copy h2 em {
  font-style: italic;
  background: linear-gradient(120deg, #e8c384 0%, #d4a359 45%, #3ca382 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.voice-profiles { margin-top: 1.75rem; }
.voice-profile {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 0.65rem;
  padding: 1rem 1.05rem;
  border-radius: 0.85rem;
  border: 1px solid var(--hairline);
  background: var(--inkwell);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.voice-profile.is-active,
.voice-profile:hover {
  border-color: rgba(212, 163, 89, 0.45);
  background: rgba(212, 163, 89, 0.1);
}
.voice-profile-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}
.voice-profile-top strong {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ivory);
}
.voice-profile-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}
.voice-profile.is-active .voice-profile-tag { color: var(--amber); }
.voice-profile-blurb {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--silver);
}

.voice-analyzer {
  border-radius: 1rem;
  border: 1px solid var(--hairline-light);
  background: var(--inkwell);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.voice-analyzer-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}
.voice-analyzer-head h3 {
  margin: 0.35rem 0 0;
  font-size: 1.6rem;
}
.voice-quote {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--hairline);
  background: rgba(10, 10, 12, 0.7);
}
.voice-quote p {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(245, 243, 238, 0.9);
}
.voice-metrics {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) {
  .voice-metrics { grid-template-columns: 1fr 1fr; }
}
.voice-metric-label {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--silver);
}
.voice-metric-label span:last-child { color: var(--amber); }
.voice-bar {
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--obsidian);
  overflow: hidden;
}
.voice-bar i {
  display: block;
  height: 100%;
  border-radius: 9999px;
  background: var(--amber);
}
.voice-bar.emerald i { background: var(--emerald); }
.voice-adapt {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(46, 139, 110, 0.3);
  background: rgba(46, 139, 110, 0.1);
}
.voice-adapt .label { color: var(--emerald); }
.voice-adapt p {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  color: rgba(245, 243, 238, 0.9);
  line-height: 1.6;
}

/* Manifesto */
.close-manifesto {
  max-width: 52rem;
  margin-inline: auto;
}
.manifesto-quote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ivory);
}
.manifesto-quote p { margin: 0; }
.manifesto-quote i,
.manifesto-quote em {
  font-style: italic;
  background: linear-gradient(120deg, #e8c384 0%, #d4a359 45%, #3ca382 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.close-manifesto .lede {
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}
