/* ============================================================
   Novella Aesthetics : Gloss Editorial
   Fictional demo site (industry showcase portfolio).
   Bodoni Moda (didone display) + Figtree (body/UI).
   Porcelain #f6f2ee · Espresso Ink #1d1a18 · Plum Wine #5e2f4d (fills)
   Bare #e9d9cd (skin-tint bands) · Fog Gray #c9c4bd (hairlines)
   ============================================================ */

:root {
  /* palette */
  --porcelain: #f6f2ee;
  --porcelain-deep: #efe8e1;
  --ink: #1d1a18;
  --plum: #5e2f4d;
  --plum-deep: #4b2440;
  --plum-wash: #f0e6ec;
  --bare: #e9d9cd;
  --bare-soft: #f1e6dc;
  --fog: #c9c4bd;
  --hairline: #d8d2ca;
  --muted: #6d625c;
  --bone: #f3ece6;

  /* type */
  --serif: "Bodoni Moda", "Bodoni MT", Didot, serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.9rem, 1.1rem + 6.4vw, 6.4rem);
  --fs-h1: clamp(2.3rem, 1.3rem + 3.6vw, 3.9rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-kicker: 0.75rem;
  --fs-toc-num: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);

  /* spacing */
  --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --sec: clamp(88px, 60px + 5vw, 148px);
  --sec-tight: clamp(64px, 44px + 3vw, 96px);

  /* shape */
  --r: 2px;
  --r-lg: 4px;

  --shadow: 0 1px 2px rgba(29, 26, 24, 0.05), 0 4px 14px rgba(29, 26, 24, 0.06);
  --shadow-up: 0 2px 4px rgba(29, 26, 24, 0.07), 0 14px 30px rgba(29, 26, 24, 0.1);

  --fast: 150ms;
  --base: 240ms;
  --slow: 550ms;
}

/* ---------------- reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); line-height: 1.12; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
ul, ol { margin: 0 0 var(--s5); padding-left: 1.2em; }
em, .accent-word { font-style: italic; }
.accent-word { color: var(--plum); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-radius: var(--r); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--porcelain); padding: 10px 18px;
  font-size: var(--fs-small);
}
.skip-link:focus { left: 12px; top: 12px; }
::selection { background: var(--plum); color: var(--porcelain); }

/* ---------------- typography helpers ---------------- */
.kicker {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: var(--s3);
}
.kicker--num { color: var(--muted); }
.kicker--num strong { color: var(--plum); font-weight: 700; }
.lead {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}
.serif-stat {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.footnote {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}
.footnote--rule { border-top: 1px solid var(--hairline); padding-top: var(--s3); margin-top: var(--s5); }
.measure { max-width: 66ch; }

/* ---------------- layout primitives ---------------- */
.wrap { max-width: 1220px; margin-inline: auto; padding-inline: 28px; }
.wrap--wide { max-width: 1360px; }
.section { padding-block: var(--sec); }
.section--tight { padding-block: var(--sec-tight); }
.section--bare { background: var(--bare-soft); }
.section--wash { background: var(--plum-wash); }
.section--deep { background: var(--porcelain-deep); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
.section-head { max-width: 720px; margin-bottom: var(--s7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: var(--s6); flex-wrap: wrap;
}
.img-frame { overflow: hidden; border-radius: var(--r); position: relative; }
.img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  outline: 1px solid rgba(29, 26, 24, 0.08); outline-offset: -1px;
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.9375rem;
  letter-spacing: 0.04em;
  padding: 15px 30px; border-radius: var(--r);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color var(--fast) ease-out, color var(--fast) ease-out,
    border-color var(--fast) ease-out, transform 120ms ease-out;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; transform: translateX(1px); }
.btn--primary { background: var(--plum); color: var(--porcelain); }
.btn--primary:hover { background: var(--plum-deep); color: var(--porcelain); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--plum); color: var(--plum); }
.btn--bone { background: var(--porcelain); color: var(--plum); }
.btn--bone:hover { background: var(--bone); color: var(--plum-deep); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9375rem; color: var(--plum);
  text-decoration: none; border-bottom: 1px solid var(--plum);
  padding-bottom: 2px;
}
.text-link svg { width: 16px; height: 16px; transform: translateX(1px); transition: transform var(--fast) ease-out; }
.text-link:hover svg { transform: translateX(4px); }
.cta-row { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s6); }

/* ---------------- utility bar + header ---------------- */
.utility {
  background: var(--ink); color: var(--bone);
  font-size: 0.8125rem; letter-spacing: 0.04em;
}
.utility .wrap {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: var(--s5);
}
.utility a { color: var(--bone); text-decoration: none; }
.utility a:hover { color: #fff; text-decoration: underline; }
.utility-meta { display: flex; gap: var(--s5); align-items: center; }
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: var(--s6);
}
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 1.55rem;
  letter-spacing: 0.02em; color: var(--ink); text-decoration: none;
  flex-shrink: 0; line-height: 1;
}
.wordmark span { color: var(--plum); font-style: italic; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav > a, .nav-drop > button {
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 500;
  color: var(--ink); text-decoration: none; background: none; border: 0;
  cursor: pointer; padding: 8px 0; letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
}
.nav > a:hover, .nav > a.active, .nav-drop > button:hover { border-bottom-color: var(--plum); color: var(--plum); }
.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop > button svg { width: 12px; height: 12px; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: var(--porcelain); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-up); min-width: 224px; padding: 10px 0;
  opacity: 0; visibility: hidden; transition: opacity var(--fast) ease-out;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; }
.nav-drop-menu a {
  display: block; padding: 9px 22px; color: var(--ink); text-decoration: none;
  font-size: 0.9rem;
}
.nav-drop-menu a:hover { background: var(--plum-wash); color: var(--plum); }
.header-cta { flex-shrink: 0; padding: 12px 24px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--hairline); border-radius: var(--r);
  padding: 9px 11px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.mobile-panel {
  display: none; border-top: 1px solid var(--hairline);
  background: var(--porcelain); padding: var(--s5) 28px var(--s6);
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block; padding: 12px 0; color: var(--ink); text-decoration: none;
  font-size: 1.05rem; border-bottom: 1px solid var(--hairline);
}
.mobile-panel a:hover { color: var(--plum); }
.mobile-panel .mp-group {
  font-size: var(--fs-kicker); text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--muted); font-weight: 600; padding: 18px 0 6px; border-bottom: 0;
}

/* ---------------- hero (didone overlapping the image edge) ---------------- */
.hero { position: relative; }
.hero-media {
  position: relative; height: clamp(400px, 58vh, 620px); overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--porcelain) 0%, rgba(246, 242, 238, 0.55) 14%, rgba(246, 242, 238, 0) 38%);
}
.hero-eyebrow {
  position: absolute; top: 28px; left: 0; right: 0; z-index: 2;
}
.hero-eyebrow .wrap { display: flex; justify-content: space-between; gap: var(--s5); }
.hero-eyebrow span {
  font-size: var(--fs-kicker); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--ink);
  background: rgba(246, 242, 238, 0.82); padding: 7px 14px; border-radius: var(--r);
}
.hero-copy { position: relative; z-index: 3; margin-top: calc(-1 * clamp(4rem, 2rem + 8vw, 9.5rem)); padding-bottom: var(--sec-tight); }
.hero-title {
  font-size: var(--fs-hero); font-weight: 500; line-height: 0.98;
  letter-spacing: -0.015em; margin: 0 0 var(--s6); max-width: 15ch;
}
.hero-title .line { display: block; }
.hero-title .line + .line { padding-left: clamp(2rem, 8vw, 9rem); }
.hero-lead { max-width: 46ch; }
.hero-proof { margin-top: var(--s6); }
.hero-proof .stars { color: var(--plum); display: inline-flex; gap: 2px; vertical-align: -2px; margin-right: 10px; }
.hero-proof .stars svg { width: 15px; height: 15px; }
.hero-proof-line { font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.hero-proof .footnote { margin-top: 4px; }

/* staged hero reveal */
.hero-title .line, .hero-copy .hero-lead, .hero-copy .cta-row, .hero-copy .hero-proof {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--slow) ease-out, transform var(--slow) ease-out;
}
.hero-copy.is-in .line, .hero-copy.is-in .hero-lead, .hero-copy.is-in .cta-row, .hero-copy.is-in .hero-proof {
  opacity: 1; transform: none;
}
.hero-copy.is-in .line:nth-child(2) { transition-delay: 130ms; }
.hero-copy.is-in .hero-lead { transition-delay: 300ms; }
.hero-copy.is-in .cta-row { transition-delay: 420ms; }
.hero-copy.is-in .hero-proof { transition-delay: 520ms; }

/* interior page hero */
.page-hero { padding: var(--sec-tight) 0 var(--s7); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: var(--s4); }
.page-hero-meta {
  display: flex; gap: var(--s6); flex-wrap: wrap; margin-top: var(--s6);
  padding-top: var(--s5); border-top: 1px solid var(--hairline);
}
.page-hero-meta div { font-size: var(--fs-small); }
.page-hero-meta dt {
  font-size: var(--fs-kicker); text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); font-weight: 600; margin-bottom: 2px;
}
.page-hero-meta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------------- press strip ---------------- */
.press-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding-block: var(--s6); }
.press-strip .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 72px); flex-wrap: wrap; }
.press-name { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--muted); white-space: nowrap; }
.press-note { width: 100%; text-align: center; margin-top: var(--s3); }

/* ---------------- the menu (magazine TOC) ---------------- */
.toc { display: grid; gap: 0; }
.toc-cat { border-top: 1px solid var(--hairline); padding: var(--s6) 0; display: grid; grid-template-columns: 180px 1fr; gap: var(--s6); }
.toc-cat:last-child { border-bottom: 1px solid var(--hairline); }
.toc-num {
  font-family: var(--serif); font-size: var(--fs-toc-num); font-weight: 500;
  color: var(--plum); line-height: 1; font-variant-numeric: tabular-nums;
}
.toc-num small {
  display: block; font-family: var(--sans); font-size: var(--fs-kicker);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  font-weight: 600; margin-top: 8px;
}
.toc-entries { display: grid; gap: 2px; }
.toc-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s5);
  padding: 10px 0; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid transparent;
}
.toc-row:hover .toc-name { color: var(--plum); }
.toc-row:hover .toc-name::after { transform: translateX(5px); opacity: 1; }
.toc-name {
  font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + 1vw, 1.8rem);
  font-weight: 500; line-height: 1.2; display: inline-flex; align-items: baseline; gap: 12px;
  transition: color var(--fast) ease-out;
}
.toc-name::after {
  content: "\2192"; font-family: var(--sans); font-size: 0.8em; color: var(--plum);
  opacity: 0; transition: transform var(--fast) ease-out, opacity var(--fast) ease-out;
}
.toc-rule { flex: 1; border-bottom: 1px solid var(--hairline); transform: translateY(-6px); min-width: 40px; }
.toc-price {
  font-family: var(--sans); font-size: var(--fs-small); font-weight: 600;
  color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums;
}

/* ---------------- image chapter ---------------- */
.chapter { position: relative; }
.chapter img { width: 100%; height: clamp(320px, 44vw, 560px); object-fit: cover; }
.chapter-caption {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(to top, rgba(29, 26, 24, 0.5), rgba(29, 26, 24, 0));
  padding: 72px 0 22px;
}
.chapter-caption span {
  color: var(--porcelain); font-size: var(--fs-kicker); font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
}

/* ---------------- concern selector (tabs) ---------------- */
.tabs { border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--porcelain); }
.tablist { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--hairline); }
.tablist button {
  flex: 1 1 auto; background: none; border: 0; border-right: 1px solid var(--hairline);
  padding: 18px 20px; font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--muted); cursor: pointer; min-height: 44px;
  transition: color var(--fast) ease-out, box-shadow var(--fast) ease-out;
}
.tablist button:last-child { border-right: 0; }
.tablist button[aria-selected="true"] { color: var(--plum); box-shadow: inset 0 -2px 0 var(--plum); }
.tabpanel { padding: var(--s7); display: none; }
.tabpanel.active { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s7); align-items: start; }
.tabpanel h3 { font-size: var(--fs-h2); }
.tabpanel-list { display: grid; gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.tabpanel-list a {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4);
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--hairline);
  padding: 12px 2px; font-weight: 500;
}
.tabpanel-list a:hover { color: var(--plum); }
.tabpanel-list .tp-note { font-size: var(--fs-small); color: var(--muted); font-weight: 400; text-align: right; }

/* ---------------- cards ---------------- */
.card {
  background: var(--porcelain); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--s6); transition: transform var(--base) ease-out, box-shadow var(--base) ease-out;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.card .kicker { margin-bottom: var(--s3); }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .text-link { margin-top: auto; }
.card-flow { display: flex; flex-direction: column; gap: var(--s3); height: 100%; }
.card-flow p { margin: 0; }
a.card-link { text-decoration: none; color: inherit; display: block; height: 100%; }

/* editorial cat cards (treatments hub) */
.cat-card { position: relative; border-top: 2px solid var(--ink); padding-top: var(--s5); }
.cat-card .toc-num { font-size: 2.1rem; }

/* ---------------- pull quote ---------------- */
.pullquote { max-width: 880px; margin-inline: auto; text-align: center; }
.pullquote blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
  line-height: 1.28; font-weight: 500; font-style: italic;
}
.pullquote blockquote::before { content: "\201C"; color: var(--plum); }
.pullquote blockquote::after { content: "\201D"; color: var(--plum); }
.pullquote figcaption { margin-top: var(--s5); font-size: var(--fs-small); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

/* ---------------- results / B-A spread ---------------- */
.case-spread {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s7);
  align-items: center; border-top: 1px solid var(--hairline); padding: var(--s7) 0;
}
.case-spread:nth-child(even) { grid-template-columns: 1fr 1.5fr; }
.case-spread:nth-child(even) .case-media { order: 2; }
.case-media { position: relative; }
.case-media .img-frame { aspect-ratio: 16 / 9; }
.ba-labels { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.ba-labels span {
  font-size: var(--fs-kicker); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(246, 242, 238, 0.9); color: var(--ink); padding: 5px 10px; border-radius: var(--r);
}
.ba-tag {
  position: absolute; bottom: 12px; left: 12px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  background: rgba(29, 26, 24, 0.72); color: var(--porcelain);
  padding: 5px 10px; border-radius: var(--r); text-transform: uppercase;
}
.ba-tag--top { top: 12px; bottom: auto; }
.case-num {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--plum);
  letter-spacing: 0.06em; margin-bottom: var(--s3); display: block;
}
.case-facts { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: 8px; }
.case-facts li {
  display: flex; justify-content: space-between; gap: var(--s4);
  border-bottom: 1px solid var(--hairline); padding-bottom: 8px; font-size: var(--fs-small);
}
.case-facts li span:first-child { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: var(--fs-kicker); }
.case-facts li span:last-child { font-weight: 500; text-align: right; }
/* typeset case plate (photography-reserved entries) */
.case-plate {
  aspect-ratio: 16 / 9; border: 1px solid var(--hairline); border-radius: var(--r);
  background: var(--bare-soft); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--s3); text-align: center; padding: var(--s6);
}
.case-plate .plate-num { font-family: var(--serif); font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem); color: var(--plum); line-height: 1; }
.case-plate .plate-note { font-size: var(--fs-kicker); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; max-width: 30ch; }

/* results filter chips */
.filter-row { display: flex; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s6); }
.chip {
  font-family: var(--sans); font-size: var(--fs-small); font-weight: 600;
  border: 1px solid var(--hairline); background: var(--porcelain); color: var(--muted);
  border-radius: 999px; padding: 9px 20px; cursor: pointer; min-height: 40px;
  transition: color var(--fast) ease-out, border-color var(--fast) ease-out, background-color var(--fast) ease-out;
}
.chip:hover { color: var(--plum); border-color: var(--plum); }
.chip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--porcelain); }

/* ---------------- membership (subscription pair + matrix) ---------------- */
.sub-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); max-width: 940px; margin-inline: auto; }
.sub-card {
  border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--porcelain);
  padding: var(--s7) var(--s6); display: flex; flex-direction: column; gap: var(--s4);
  position: relative;
}
.sub-card--reserve { background: var(--ink); border-color: var(--ink); }
.sub-card .sub-issue { font-size: var(--fs-kicker); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--plum); }
.sub-card h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 0; }
.sub-price { font-family: var(--serif); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.sub-price small { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.sub-card ul { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: 10px; }
.sub-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.sub-card li svg { width: 17px; height: 17px; color: var(--plum); flex-shrink: 0; margin-top: 4px; }
.sub-card .btn { margin-top: auto; justify-content: center; }
/* dark reserve card overrides (cascade guard) */
.sub-card--reserve h3, .sub-card--reserve .sub-price, .sub-card--reserve li { color: var(--porcelain); }
.sub-card--reserve .sub-price small { color: var(--fog); }
.sub-card--reserve p { color: var(--fog); }
.sub-card--reserve li svg { color: var(--bare); }
.sub-card--reserve .sub-issue { color: var(--bare); }

.matrix { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.matrix th, .matrix td { padding: 14px 16px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.matrix thead th {
  font-size: var(--fs-kicker); text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--ink);
}
.matrix td:nth-child(2), .matrix td:nth-child(3), .matrix th:nth-child(2), .matrix th:nth-child(3) { text-align: center; }
.matrix td svg { width: 18px; height: 18px; color: var(--plum); display: inline-block; }
.matrix .dash { color: var(--fog); }
.matrix-scroll { overflow-x: auto; }

/* ---------------- providers ---------------- */
.provider-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.provider-plate {
  aspect-ratio: 4 / 5; border: 1px solid var(--hairline); border-radius: var(--r);
  background: linear-gradient(160deg, var(--bare-soft), var(--porcelain-deep));
  display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s5);
}
.provider-plate .initials { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 4rem); color: var(--plum); line-height: 1; margin-bottom: auto; }
.provider-plate .reserved { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.provider-card h3 { margin: var(--s4) 0 2px; font-size: 1.25rem; }
.provider-card .cred {
  font-size: var(--fs-kicker); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--plum); display: block; margin-bottom: var(--s3);
}
.provider-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------------- steps rail ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); counter-reset: step; }
.step { border-top: 1px solid var(--ink); padding-top: var(--s4); }
.step .step-num { font-family: var(--serif); font-size: 1.9rem; color: var(--plum); font-weight: 600; display: block; margin-bottom: var(--s3); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------------- stat band ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
.stat { border-left: 1px solid var(--hairline); padding-left: var(--s5); }
.stat .num {
  font-family: var(--serif); font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem);
  font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink);
}
.stat .num sup { font-size: 0.45em; color: var(--plum); }
.stat .label { font-size: var(--fs-small); color: var(--muted); margin-top: 8px; }

/* ---------------- reviews ---------------- */
.review-card { border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: var(--s6); background: var(--porcelain); display: flex; flex-direction: column; gap: var(--s4); }
.review-card .stars { display: flex; gap: 3px; color: var(--plum); }
.review-card .stars svg { width: 15px; height: 15px; }
.review-card blockquote { margin: 0; font-size: 0.98rem; line-height: 1.6; flex: 1; }
.review-card .who { font-size: var(--fs-small); color: var(--muted); font-weight: 600; }
.review-card .who span { display: block; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; font-size: var(--fs-kicker); margin-top: 2px; }

/* ---------------- faq ---------------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: var(--s5); padding: 20px 2px;
  font-family: var(--serif); font-size: 1.18rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--plum); transition: transform var(--base) ease-out; }
.faq details[open] summary .faq-icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 2px 22px; max-width: 62ch; }

/* ---------------- forms ---------------- */
.form-card {
  background: var(--porcelain); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--s7); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-kicker); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #fbf8f5; border: 1px solid var(--hairline); border-radius: var(--r);
  padding: 13px 14px; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--plum); outline-offset: 1px; border-color: var(--plum); }
.form-actions { margin-top: var(--s5); display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.form-note { font-size: 0.8125rem; color: var(--muted); }
.form-success {
  display: none; border: 1px solid var(--plum); border-radius: var(--r-lg);
  background: var(--plum-wash); padding: var(--s6); text-align: center;
}
.form-success.show { display: block; }
.form-success h3 { color: var(--plum); margin-bottom: var(--s2); }
.form-success p { margin: 0; color: var(--ink); }
form.submitted { display: none; }

/* ---------------- offer footnote band ---------------- */
.offer-band { background: var(--bare); }
.offer-band .wrap {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s7); align-items: center;
  padding-block: var(--sec-tight);
}
.offer-band h2 { margin-bottom: var(--s3); }
.offer-band p { color: #58493d; }
.offer-form { display: flex; gap: var(--s3); }
.offer-form input {
  flex: 1; font-family: var(--sans); font-size: 1rem; padding: 13px 16px; min-height: 50px;
  border: 1px solid #cdb8a7; border-radius: var(--r); background: #fdfaf7; color: var(--ink);
}
.offer-form input:focus { outline: 2px solid var(--plum); outline-offset: 1px; }
.offer-fine { margin-top: var(--s3); }

/* ---------------- quiz ---------------- */
.quiz-shell { max-width: 720px; margin-inline: auto; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--porcelain); padding: var(--s7); }
.quiz-progress { display: flex; gap: 6px; margin-bottom: var(--s6); }
.quiz-progress span { flex: 1; height: 2px; background: var(--hairline); }
.quiz-progress span.done { background: var(--plum); }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step h3 { font-size: var(--fs-h2); margin-bottom: var(--s5); }
.quiz-opts { display: grid; gap: var(--s3); }
.quiz-opt {
  text-align: left; font-family: var(--sans); font-size: 1rem; font-weight: 500;
  background: #fbf8f5; color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--r);
  padding: 16px 18px; cursor: pointer; min-height: 48px;
  transition: border-color var(--fast) ease-out, background-color var(--fast) ease-out;
}
.quiz-opt:hover { border-color: var(--plum); background: var(--plum-wash); }
.quiz-result { display: none; }
.quiz-result.show { display: block; }
.quiz-result .kicker { margin-bottom: var(--s4); }
.quiz-reco { border-top: 1px solid var(--hairline); padding: var(--s4) 0; display: flex; justify-content: space-between; gap: var(--s5); align-items: baseline; }
.quiz-reco a { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; }
.quiz-reco .footnote { text-align: right; }
.quiz-restart { margin-top: var(--s5); }

/* ---------------- price plate ---------------- */
.price-plate {
  border: 1px solid var(--hairline); border-left: 3px solid var(--plum); border-radius: var(--r);
  background: var(--porcelain); padding: var(--s5) var(--s6); display: flex; flex-wrap: wrap;
  gap: var(--s6); align-items: baseline;
}
.price-plate .amount { font-family: var(--serif); font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.7rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.price-plate .amount small { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.price-plate .meta { font-size: var(--fs-small); color: var(--muted); flex: 1; min-width: 200px; }

/* ---------------- CTA band + footer ---------------- */
.cta-band { background: var(--plum); color: var(--porcelain); }
.cta-band .wrap { padding-block: var(--sec-tight); display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s7); align-items: center; }
.cta-band h2 { color: var(--porcelain); font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); margin-bottom: var(--s3); }
.cta-band p { color: #e8d3e0; max-width: 52ch; margin: 0; }
.cta-band .cta-side { display: flex; flex-direction: column; gap: var(--s4); align-items: flex-start; }
.cta-band .cta-phone { color: var(--porcelain); text-decoration: none; font-weight: 600; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 10px; }
.cta-band .cta-phone svg { width: 18px; height: 18px; }
.cta-band .cta-phone:hover { text-decoration: underline; }

.footer { background: var(--ink); color: #b7aea7; font-size: 0.92rem; }
.footer a { color: #d9d2cb; text-decoration: none; }
.footer a:hover { color: var(--porcelain); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: var(--s7); padding-block: var(--s9) var(--s7); }
.footer .wordmark { color: var(--porcelain); display: inline-block; margin-bottom: var(--s4); }
.footer .wordmark span { color: var(--bare); }
.footer h4 { font-family: var(--sans); font-size: var(--fs-kicker); letter-spacing: 0.16em; text-transform: uppercase; color: #8d837c; margin-bottom: var(--s4); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer .contact-row { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact-row svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--bare); }
.footer-legal { border-top: 1px solid #35302c; padding-block: var(--s6); font-size: 0.78rem; line-height: 1.6; color: #8d837c; }
.footer-legal p { margin-bottom: var(--s3); }
.footer-legal p:last-child { margin-bottom: 0; }

/* ---------------- journal ---------------- */
.post-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s7); border-top: 1px solid var(--hairline); padding: var(--s7) 0; align-items: center; }
.post-row .img-frame { aspect-ratio: 4 / 3; }
.post-meta { font-size: var(--fs-kicker); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: var(--s3); display: block; }
.article { max-width: 720px; }
.article p { margin-bottom: var(--s5); }
.article h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-top: var(--s7); }
.article .lead { color: var(--ink); }

/* ---------------- reveal system ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--base) ease-out, transform var(--base) ease-out; transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1020px) {
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--s7) var(--s6); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .toc-cat { grid-template-columns: 1fr; gap: var(--s4); }
  .tabpanel { padding: var(--s5); grid-template-columns: 1fr; gap: var(--s5); }
  .case-spread, .case-spread:nth-child(even) { grid-template-columns: 1fr; }
  .case-spread:nth-child(even) .case-media { order: 0; }
  .sub-pair { grid-template-columns: 1fr; }
  .offer-band .wrap { grid-template-columns: 1fr; gap: var(--s5); }
  .cta-band .wrap { grid-template-columns: 1fr; gap: var(--s5); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .post-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .utility .utility-meta span.u-hours { display: none; }
  .hero-title .line + .line { padding-left: clamp(1rem, 6vw, 3rem); }
  .hero-media { height: clamp(300px, 46vh, 460px); }
  .page-hero-meta { gap: var(--s5); }
}
@media (max-width: 560px) {
  .steps, .stats, .grid-4, .provider-grid { grid-template-columns: 1fr; }
  .offer-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .tablist button { flex: 1 1 50%; border-bottom: 1px solid var(--hairline); }
  .cta-row .btn { width: 100%; justify-content: center; }
  .hero-copy { margin-top: calc(-1 * clamp(2.6rem, 1rem + 8vw, 4.5rem)); }
}

/* ---------------- reduced motion (mandatory) ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal, .hero-title .line, .hero-copy .hero-lead, .hero-copy .cta-row, .hero-copy .hero-proof {
    opacity: 1 !important; transform: none !important;
  }
}
