/* RadixVista — site styles */
:root {
  --bg: #111111;
  --surface: #1A1A1A;
  --surface-2: #222222;
  --line: #2E2E2E;
  --gold: #C9A84C;
  --gold-hi: #E2C97E;
  --text: #F2F2F0;
  --muted: #A3A3A0;
  --faint: #8E8E8A;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* Type */
h1, h2, h3.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; }
h1 { font-size: clamp(48px, 8vw, 104px); }
h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 20px; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.35; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 60ch; }
p + p { margin-top: 14px; }
.muted { color: var(--muted); }
.gold { color: var(--gold-hi); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17,17,17,.82);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { font-family: var(--serif); font-size: 26px; text-decoration: none; letter-spacing: -0.01em; display: inline-flex; flex-direction: column; line-height: 1; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: #111; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font: 600 16px/1 var(--sans);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: #444; color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Sections */
section { padding: clamp(80px, 12vw, 140px) 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* Hero */
.hero { padding-top: clamp(64px, 10vw, 120px); padding-bottom: 0; }
.hero h1 { max-width: 12ch; }
.hero .lead { margin-top: 28px; }
.hero-strip { margin-top: clamp(56px, 8vw, 96px); position: relative; }
.hero-strip img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.hero-note { font-size: 14px; color: var(--faint); margin-top: 14px; }

/* Reveal slider — the signature moment */
.reveal-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.reveal {
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 1100 / 1676; margin-inline: auto;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal .top { clip-path: inset(0 0 0 var(--pos, 50%)); }
.reveal .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--gold-hi); transform: translateX(-1px); }
.reveal .knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #111;
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
  box-shadow: 0 0 0 6px rgba(201,168,76,.18);
}
.reveal .tag { position: absolute; bottom: 14px; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(17,17,17,.75); }
.reveal .tag.l { left: 14px; } .reveal .tag.r { right: 14px; color: var(--gold-hi); }
.reveal input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.reveal-copy ul { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.reveal-copy li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.reveal-copy li strong { color: var(--text); font-weight: 600; display: block; }

/* Audience */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; }
.cols h3 { margin-bottom: 10px; }
.cols p { color: var(--muted); font-size: 16px; }
.cols > div { border-top: 1px solid var(--gold); padding-top: 22px; }

/* Curriculum */
.modules { list-style: none; counter-reset: m; margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.modules li { counter-increment: m; display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.modules li::before { content: counter(m); font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--gold); }
.modules h3 { margin-bottom: 4px; }
.modules p { color: var(--muted); font-size: 15px; }
.includes { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 15px; }
.includes span::before { content: "✓"; color: var(--gold); margin-right: 8px; }

/* Cases */
.case-list { margin-top: 56px; display: grid; gap: 72px; }
.case figure { margin: 0; }
.case img { width: auto; max-width: 100%; max-height: min(62vh, 600px); border-radius: 12px; border: 1px solid var(--line); background: #000; }
.case figure { display: flex; flex-direction: column; align-items: center; }
.case figcaption { width: 100%; max-width: 900px; }
.hero-strip img { max-width: 1000px; margin-inline: auto; }
.hero-note { text-align: center; }
.zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.97); display: none; align-items: center; justify-content: center; padding: env(safe-area-inset-top, 0px) 16px env(safe-area-inset-bottom, 0px); cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(100%, 1100px); max-height: 80vh; width: auto; border-radius: 8px; }
.lightbox .close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: 500 14px var(--sans); cursor: pointer; }
.lightbox .hint { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: var(--faint); font-size: 13px; }
.case figcaption { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-top: 20px; }
.case figcaption p { color: var(--muted); font-size: 16px; }
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case-pair figcaption { grid-template-columns: 1fr; gap: 6px; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.portrait {
  aspect-ratio: 4/5; border-radius: 14px; border: 1px dashed #444; background: var(--surface-2);
  display: grid; place-items: center; text-align: center; color: var(--faint); font-size: 14px; padding: 24px;
}
.facts { margin-top: 32px; display: grid; gap: 14px; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; font-size: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt { color: var(--faint); } .facts dd { color: var(--text); }

/* Pricing */
.price-box {
  margin-top: 48px; border: 1px solid var(--gold); border-radius: 18px; padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; background: linear-gradient(180deg, #1c1a14, var(--surface));
}
.price { font-family: var(--serif); font-size: clamp(64px, 9vw, 96px); line-height: 1; }
.price small { font-family: var(--sans); font-size: 16px; color: var(--muted); margin-left: 8px; }
.price-box ul { list-style: none; display: grid; gap: 12px; }
.price-box li { color: var(--muted); padding-left: 26px; position: relative; }
.price-box li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }
.fineprint { font-size: 14px; color: var(--faint); margin-top: 16px; }
.checkout-note { display: none; margin-top: 16px; font-size: 14px; color: var(--gold-hi); }
.checkout-note.show { display: block; }

/* FAQ */
.faq { margin-top: 48px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-size: 26px; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 68ch; }

/* Closing + footer */
.closing { text-align: left; }
.closing h2 { max-width: 16ch; }
footer { border-top: 1px solid var(--line); padding: 48px 0 64px; font-size: 14px; color: var(--faint); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--muted); } footer a:hover { color: var(--gold-hi); }

/* Lesson + legal pages */
.article { max-width: 760px; }
.article h1 { font-size: clamp(44px, 7vw, 80px); margin-bottom: 24px; }
.article h2 { font-size: clamp(30px, 4vw, 42px); margin-top: 72px; }
.article h3 { margin-top: 28px; margin-bottom: 8px; }
.article p, .article li { color: #d6d6d3; }
.article ul { margin: 14px 0 0 20px; display: grid; gap: 8px; }
.article figure { margin: 40px 0; }
.article figure img { border-radius: 12px; border: 1px solid var(--line); width: 100%; }
.article figcaption { font-size: 14px; color: var(--faint); margin-top: 12px; }
.pull { border-left: 2px solid var(--gold); padding: 6px 0 6px 24px; margin: 36px 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.25; color: var(--text); }
.rule-list { list-style: none !important; margin-left: 0 !important; border-top: 1px solid var(--line); }
.rule-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rule-list strong { color: var(--text); display: block; margin-bottom: 2px; }
.quiz { margin-top: 24px; display: grid; gap: 14px; }
.q { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: var(--surface); }
.q p.qtext { color: var(--text); font-weight: 500; margin-bottom: 14px; }
.q button {
  display: block; width: 100%; text-align: left; font: inherit; font-size: 15px; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin-top: 8px; cursor: pointer;
}
.q button:hover { border-color: #555; }
.q button.right { border-color: var(--gold); color: var(--gold-hi); }
.q button.wrong { border-color: #7a3b3b; color: #d99; }
.q .why { display: none; margin-top: 14px; font-size: 15px; color: var(--muted); }
.q.done .why { display: block; }
.upsell { margin-top: 80px; padding: 40px; border: 1px solid var(--gold); border-radius: 16px; }
.legal-note { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; font-size: 14px; color: var(--gold-hi); margin-bottom: 40px; }

/* Responsive */
@media (max-width: 900px) {
  .reveal-grid, .about-grid, .price-box { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; gap: 32px; }
  .modules { grid-template-columns: 1fr; }
  .case figcaption, .case-pair { grid-template-columns: 1fr; gap: 10px; }
  .reveal { max-width: 440px; }
  .portrait { aspect-ratio: 16/10; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; } .nav-links a { display: block; padding: 12px 0; font-size: 17px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.portrait-img { padding: 0; border: 1px solid var(--line); object-fit: cover; object-position: 50% 30%; width: 100%; height: auto; background: var(--surface-2); }

/* Lesson pages */
.lesson blockquote { border-left: 2px solid var(--gold); padding: 6px 0 6px 24px; margin: 28px 0; }
.lesson blockquote p { font-family: var(--serif); font-size: clamp(21px, 2.6vw, 26px); line-height: 1.3; color: var(--text); }
.lesson ol { margin: 14px 0 0 22px; display: grid; gap: 8px; }
.lesson table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; display: block; overflow-x: auto; }
.lesson th, .lesson td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #d6d6d3; }
.lesson th { color: var(--gold-hi); font-weight: 600; }
.lesson pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; overflow-x: auto; margin: 24px 0; }
.lesson pre code { font-family: var(--sans); font-size: 14px; line-height: 1.7; color: #d6d6d3; white-space: pre; }
.lesson strong { color: var(--text); }
.modnav { display: flex; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); }
.modnav a { color: var(--gold-hi); text-decoration: none; font-size: 15px; }
.modules a.modlink { text-decoration: none; color: inherit; display: block; }
.modules a.modlink:hover h3 { color: var(--gold-hi); }
.lesson ul + p, .lesson ol + p { margin-top: 18px; }

/* Modules dropdown */
.has-drop { position: relative; }
.drop { display: none; position: absolute; top: 100%; left: -16px; padding-top: 14px; min-width: 280px; z-index: 60; }
.drop::before { content: ""; position: absolute; inset: 14px 0 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; z-index: -1; }
.drop a { display: flex; gap: 12px; padding: 9px 18px; font-size: 14px; color: var(--muted); }
.drop a:first-child { padding-top: 16px; } .drop a:last-child { padding-bottom: 16px; }
.drop a span { color: var(--gold); min-width: 18px; }
.drop a:hover { color: var(--text); }
.has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }
@media (max-width: 760px) {
  .drop { display: block; position: static; padding: 0 0 8px 12px; min-width: 0; }
  .drop::before { display: none; }
  .drop a { padding: 6px 0 !important; font-size: 15px; }
}

/* Hero photo */
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; object-position: 55% 40%; border-radius: 16px; border: 1px solid var(--line); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { order: -1; } .hero-photo img { aspect-ratio: 16/10; } }
/* Instructor box on lessons */
.instructor { display: flex; gap: 20px; align-items: center; margin-top: 56px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.instructor img { width: 72px; height: 72px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 1px solid var(--line); }
.instructor p { margin: 0; font-size: 15px; color: var(--muted); }
.instructor strong { color: var(--text); display: block; font-size: 16px; }

/* Research-paper case studies */
.paper { counter-reset: fig; }
.paper figure { counter-increment: fig; margin: 36px 0; }
.paper figure img { border-radius: 10px; border: 1px solid var(--line); width: 100%; }
.paper figcaption { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 10px; }
.paper figcaption::before { content: "Figure " counter(fig) ". "; color: var(--gold-hi); font-weight: 600; }
.paper .illus { display: block; margin-top: 4px; font-size: 12px; font-style: italic; color: var(--faint); }
.abstract { border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--surface); border-radius: 10px; padding: 22px 26px; margin: 28px 0 8px; }
.abstract h2 { font-size: 13px !important; font-family: var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 10px !important; }
.abstract p { font-size: 16px; }
.casemeta { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.casemeta th { text-align: left; color: var(--faint); font-weight: 500; width: 34%; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.casemeta td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.refs { font-size: 13px; color: var(--muted); margin: 14px 0 0 20px; display: grid; gap: 8px; }
.pending-note { font-size: 14px; color: var(--faint); border: 1px dashed #444; border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 40px; }
.cs-card { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); transition: border-color .2s; }
.cs-card:hover { border-color: var(--gold); }
.cs-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.cs-card div { padding: 18px 20px 22px; }
.cs-card small { color: var(--gold-hi); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.cs-card h3 { margin: 6px 0 6px; }
.cs-card p { color: var(--muted); font-size: 14px; }
.cs-card.draft { opacity: .75; }

/* Course navigation aids */
.modmeta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 8px; font-size: 14px; color: var(--muted, #a3a39f); }
.modmeta span::before { content: "• "; color: var(--gold); }
.modmeta span:first-child::before { content: ""; }
details.toc { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 18px 0 30px; background: var(--surface); }
details.toc summary { cursor: pointer; color: var(--gold-hi); font-weight: 600; }
details.toc ol { margin: 12px 0 0 20px; display: grid; gap: 6px; font-size: 15px; }
.lesson h2[id] { scroll-margin-top: 90px; }
.complete-box { display: flex; flex-wrap: wrap; gap: 12px; margin: 48px 0 8px; }
.js-complete.is-done { background: transparent; color: var(--gold-hi); border: 1px solid var(--gold); }
.path-head { margin: 28px 0 18px; }
.progress .bar { height: 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; margin-top: 12px; max-width: 520px; }
.progress .bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .4s; }
.progress p { font-size: 14px; color: var(--faint); margin-top: 8px; }
.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 10px 0 24px; }
.path-part { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--surface); }
.path-part h3 { font-size: 15px; color: var(--gold-hi); margin-bottom: 10px; }
.path-part ol { list-style: none; display: grid; gap: 6px; }
.path-part a { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--text); text-decoration: none; }
.path-part a:hover { color: var(--gold-hi); }
.pnum { min-width: 22px; color: var(--gold); font-weight: 600; }
.path-part a.is-done::after, .modules a.is-done h3::after { content: " ✓"; color: var(--gold-hi); }
.refs-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.all-mods { margin: 12px 0 14px; }
.cs-search { margin: 18px 0 22px; }
.cs-search input { width: 100%; max-width: 560px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.glossary dt { font-weight: 600; color: var(--gold-hi); margin-top: 18px; }
.glossary dd { margin: 4px 0 0; color: #d6d6d3; }
.proto { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 28px; }
@media print {
  header.nav, footer, .modnav, .complete-box, .instructor, details.toc, .menu-btn, .lightbox, .js-print, .quiz { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .lesson th, .lesson td, .lesson p, .lesson li, .lesson strong, .glossary dd { color: #111 !important; }
  .lesson blockquote p { color: #111 !important; }
  figure { break-inside: avoid; }
  a { color: #111 !important; }
}

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 28px 0 18px; }
.price-card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--bg); display: flex; flex-direction: column; gap: 14px; }
.price-card.featured { border-color: var(--gold); }
.price-card ul { list-style: none; display: grid; gap: 8px; font-size: 15px; color: #d6d6d3; flex: 1; }
.price-card ul li::before { content: "✓ "; color: var(--gold); }
.price-card .btn { text-align: center; }
.plabel { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); }
.buybox { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border: 1px solid var(--gold); border-radius: 14px; padding: 18px 20px; margin: 40px 0 8px; background: var(--surface); }
.buybox p { margin: 0; }
.bb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-price { margin: 14px 0 0; color: #d6d6d3; }
@media print { .buybox { display: none !important; } }

/* print v2 */
@media print {
  .article, .article * { color: #111 !important; background: transparent !important; border-color: #ccc !important; }
  .article .plabel, .article .muted { color: #555 !important; }
  .article img { max-height: 520px; object-fit: contain; }
  .more-cases figure, .article figure { page-break-inside: avoid; }
  .abstract, .casemeta { border: 1px solid #ccc !important; }
  .cs-search, .refs-links { display: none !important; }
}

/* print quiz */
@media print {
  .quiz { display: block !important; }
  .quiz .q { margin: 0 0 14px; page-break-inside: avoid; }
  .quiz .qtext { font-weight: 600; margin-bottom: 4px; }
  .quiz button { display: block !important; width: 100%; text-align: left; border: 0 !important; padding: 2px 0 2px 16px !important; font: inherit; font-size: 13px; background: none !important; color: #111 !important; }
  .quiz .why { display: block !important; font-size: 12px; color: #555 !important; font-style: italic; }
}

/* Instagram before / after feature */
.feature-ba { padding-top: 24px; }
.feature-ba .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 20px; }
.feature-ba figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.feature-ba img { display: block; width: 100%; height: auto; }
.feature-ba .tag { position: absolute; left: 14px; top: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(17,17,17,.78); color: var(--text); }
.feature-ba .tag.gold { color: var(--gold-hi); }
.ba-links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .feature-ba .ba { grid-template-columns: 1fr; } }

.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.ba-pair figure { margin: 0; }
@media (max-width: 760px) { .ba-pair { grid-template-columns: 1fr; } }
@media print { .ba-pair { grid-template-columns: 1fr 1fr; } }

.at-work { margin: 36px auto 0; max-width: 760px; }
.at-work img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; }
.at-work figcaption { font-size: 14px; color: var(--faint); margin-top: 8px; text-align: center; }

/* Visual layer */
.nav { backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); background: rgba(17,17,17,.78); }
.mod-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); isolation: isolate; }
.mod-hero::before { content: ""; position: absolute; inset: -60px; z-index: -2; background: var(--hero) center/cover no-repeat; filter: blur(48px) saturate(1.1); opacity: .32; }
.mod-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,.2), #111 96%); }
.mod-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.mh-photo { margin: 0; }
.mh-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
@media (max-width: 900px) { .mod-hero .wrap { grid-template-columns: 1fr; } .mh-photo { order: -1; } }
.mod-hero h1 { font-size: clamp(42px, 5.6vw, 80px); max-width: 14ch; }
.mod-hero .lead { color: #dcdcd8; margin-top: 14px; }
.mh-kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 14px; }
.mh-kicker span { color: rgba(255,255,255,.55); }
.mod-hero .modmeta { margin-top: 18px; }
.mod-hero .modmeta span { background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); border-radius: 99px; padding: 4px 12px; backdrop-filter: blur(6px); }
.mod-hero .modmeta span::before { display: none; }
.after-hero { padding-top: 32px !important; }
.readbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.readbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transform-origin: 0 50%; transform: scaleX(0); }
/* reading */
.article h2 { position: relative; padding-top: 22px; }
.article h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 2px; background: var(--gold); }
.article figure img { border-radius: 12px; transition: transform .35s ease, box-shadow .35s ease; }
.article figure img:hover { box-shadow: 0 18px 50px rgba(0,0,0,.5); }
@media (min-width: 1100px) { .lesson > figure { margin-left: -80px; margin-right: -80px; } }
/* home */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 72px); background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stats > div { background: var(--surface); padding: 22px 24px; }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--gold-hi); }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.modules:has(.modcard) { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; list-style: none; counter-reset: none; }
.modules:has(.modcard) li { display: block !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
.modules:has(.modcard) li::before { display: none !important; }
.modcard { height: 100%; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.modcard figure { position: relative; margin: 0; aspect-ratio: 16/10; overflow: hidden; }
.modcard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: saturate(.9); }
.modcard figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(17,17,17,.8)); }
.mnum { position: absolute; left: 14px; bottom: 10px; z-index: 1; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold-hi); }
.modcard > div { padding: 16px 18px 20px; }
.modcard h3 { margin-bottom: 6px; }
.modcard p { font-size: 15px; color: var(--muted); }
.modcard:hover { transform: translateY(-4px); border-color: rgba(201,168,76,.55); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.modcard:hover figure img { transform: scale(1.05); }
.case, .cs-card, .price-card { transition: transform .3s ease, border-color .3s ease; }
.case:hover, .cs-card:hover, .price-card:hover { transform: translateY(-3px); }
.btn { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-gold:hover { box-shadow: 0 10px 30px rgba(201,168,76,.28); transform: translateY(-1px); }
/* before / after slider */
.slider { position: relative; aspect-ratio: 3/2; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin: 22px 0; user-select: none; }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider .s-before { position: absolute; inset: 0; }
.slider .tag { position: absolute; top: 14px; z-index: 2; }
.slider .s-l { left: 14px; right: auto; } .slider .s-r { left: auto; right: 14px; }
.s-handle { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--gold-hi); transform: translateX(-1px); z-index: 2; pointer-events: none; }
.s-handle i { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: rgba(17,17,17,.75); border: 2px solid var(--gold-hi); }
.s-handle i::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-hi); font-size: 18px; letter-spacing: 2px; }
.slider input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }
@media (min-width: 900px) { .feature-ba .wrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; } .feature-ba .wrap > :not(.slider) { grid-column: 1 / -1; } }
/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } * { transition: none !important; } }
@media print { .mod-hero { background: none !important; min-height: 0; padding: 0; } .readbar, .slider input { display: none; } .rv { opacity: 1 !important; transform: none !important; } }

.article figure.fig-narrow { max-width: 300px; margin-left: auto; margin-right: auto; }
.article figure.fig-narrow img { box-shadow: none; }

/* rv2 */
.logo b { font-weight: inherit; }
.logo small { font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

/* Galleries */
.more-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; align-items: start; width: min(1100px, calc(100vw - 32px)); position: relative; left: 50%; transform: translateX(-50%); }
.more-cases > *:not(figure):not(.ba-pair) { grid-column: 1 / -1; }
.more-cases > .ba-pair { grid-column: span 2; }
.more-cases figure { margin: 0 !important; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.more-cases figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #0c0c0c; border-radius: 0 !important; display: block; transition: transform .35s ease; }
.more-cases figure:hover img { transform: scale(1.03); }
.more-cases figure.wide { grid-column: span 2; }
.more-cases figure.wide img { aspect-ratio: auto; object-fit: contain; }
.more-cases figure.tall img { object-fit: contain; }
.flow-card li { margin: 0 !important; }
.more-cases figcaption { font-size: 13px !important; line-height: 1.4; padding: 0 12px; margin: 10px 0 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) { .more-cases { grid-template-columns: 1fr 1fr; gap: 10px; } .more-cases figure.wide { grid-column: 1 / -1; } .more-cases > .ba-pair { grid-column: 1 / -1; } .more-cases figcaption { -webkit-line-clamp: 2; font-size: 12px !important; } }

/* Lightbox gallery */
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: min(100%, 1100px); }
.lightbox figcaption { color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 12px; max-width: 760px; text-align: center; }
.lightbox figcaption strong { color: var(--text); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(34,34,34,.85); color: var(--gold-hi); font-size: 28px; line-height: 1; cursor: pointer; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
@media (max-width: 700px) { .lb-nav { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: none; } }

/* Module summary flow */
.flow { margin: 28px 0 8px; position: relative; }
.flow-stage { display: grid; grid-template-columns: 38px 1fr; gap: 16px; position: relative; padding-bottom: 18px; }
.flow-stage:not(:last-child)::before { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; background: linear-gradient(var(--gold), rgba(201,168,76,.15)); }
.flow-n { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); border: 1.5px solid var(--gold); color: var(--gold-hi); font: 600 15px/1 var(--sans); position: relative; z-index: 1; }
.flow-stage:only-child { grid-template-columns: 1fr; } .flow-stage:only-child .flow-n { display: none; }
.flow-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.flow-card h4 { font: 600 13px/1.3 var(--sans); letter-spacing: .14em; color: var(--gold-hi); margin: 0 0 8px; }
.flow-card ul { list-style: none; margin: 0; padding: 0; }
.flow-card li { position: relative; padding: 5px 0 5px 18px; font-size: 15.5px; line-height: 1.45; color: var(--text); border-top: 1px solid rgba(255,255,255,.04); }
.flow-card ul li:first-child { border-top: 0; }
.flow-card ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.flow-card i { font-style: normal; color: var(--gold); padding: 0 2px; }
.flow-card ol.chain { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.flow-card ol.chain li { padding: 10px 0; border: 0; }
.flow-card ol.chain li + li::before { content: "↓"; display: block; color: var(--gold); text-align: left; margin: -6px 0 4px; }
.flow-card ol.chain b { display: block; font-weight: 600; color: var(--text); }
.flow-card ol.chain span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }

/* Irrigation steps */
ol.steps-flow { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: st; }
ol.steps-flow li { counter-increment: st; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 12px; padding: 40px 14px 14px; font-size: 14.5px; line-height: 1.45; position: relative; color: var(--muted); }
ol.steps-flow li::before { content: counter(st); position: absolute; top: 10px; left: 14px; font: 600 13px/1 var(--sans); color: var(--gold-hi); letter-spacing: .1em; }
ol.steps-flow li strong { display: block; color: var(--text); margin-bottom: 4px; }
@media (max-width: 900px) { ol.steps-flow { grid-template-columns: 1fr; } ol.steps-flow li { padding: 14px 14px 14px 48px; } ol.steps-flow li::before { top: 16px; } }
.irr-mini { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 22px 0; }
.irr-mini .irr-label { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 12px; }
.irr-mini ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.irr-mini li { flex: 1 1 130px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; position: relative; }
.irr-mini li b { display: block; font-size: 15px; } .irr-mini li span { font-size: 13px; color: var(--muted); }
.irr-mini .irr-link { margin: 12px 0 0; font-size: 14px; } .irr-mini .irr-link a { color: var(--gold-hi); }

/* Decision diagram */
.decision { margin: 28px 0; display: flex; flex-direction: column; gap: 0; }
.dq { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 66px; position: relative; }
.dq .flow-n { position: absolute; left: 16px; top: 16px; }
.dq .dqq { font-family: var(--serif); font-size: 23px; line-height: 1.25; margin: 4px 0 4px; color: var(--text); }
.dq .hint { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.dsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.dout { border-radius: 10px; padding: 10px 14px; font-size: 15px; margin-top: 10px; }
.dsplit .dout { margin-top: 0; }
.dout b { font-weight: 600; } .dout small { display: block; color: var(--muted); font-size: 12.5px; }
.dout.no { border: 1px solid rgba(224,112,96,.5); background: rgba(224,112,96,.08); }
.dout.yes { border: 1px solid var(--gold); background: rgba(201,168,76,.10); }
.dout.alt { border: 1px solid var(--line); background: var(--bg); }
.darrow { text-align: center; color: var(--gold); font-size: 14px; letter-spacing: .08em; padding: 8px 0; }
@media (max-width: 600px) { .dsplit { grid-template-columns: 1fr; } .dq { padding-left: 20px; padding-top: 64px; } }

/* Pearls */
.pearls { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 22px 0 30px; }
.pearl { background: linear-gradient(160deg, rgba(201,168,76,.10), rgba(201,168,76,0) 60%), var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.pearl-n { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 10px; }
.pearl-n::before { content: "◆"; font-size: 10px; color: var(--gold); }
.pearl p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--text); }

/* Continue */
.continue { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 18px; padding: 12px 18px; border: 1px solid var(--gold); border-radius: 14px; text-decoration: none; color: var(--text); font-size: 15px; background: rgba(201,168,76,.06); }
.continue span { font: 600 11px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.continue:hover { background: rgba(201,168,76,.14); }

/* Certificate */
.cert-progress { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 10px 0 26px; max-width: 520px; }
.cert-progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.cert-form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.cert-form div { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-form input { flex: 1 1 240px; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.cert { margin: 30px 0; aspect-ratio: 1.414; max-width: 900px; background: #fbf8f0; color: #1a1a1a; border-radius: 6px; padding: clamp(24px, 5vw, 56px); text-align: center; display: flex; flex-direction: column; justify-content: center; box-shadow: inset 0 0 0 10px #fbf8f0, inset 0 0 0 11.5px #C9A84C, inset 0 0 0 15px #fbf8f0, inset 0 0 0 16px #C9A84C; }
.article .cert p { margin: 0; color: #1a1a1a; }
.article .cert-brand { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; align-items: center; line-height: 1; }
.article .cert-brand span { color: #a8862f; } .cert-brand small { font: 600 9px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #a8862f; margin-top: 6px; }
.article .cert-k { font: 600 clamp(11px, 1.3vw, 13px)/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #a8862f; margin-top: clamp(14px, 3vw, 30px) !important; }
.article .cert-sub { font-size: clamp(13px, 1.5vw, 16px); color: #555; margin-top: clamp(10px, 2vw, 20px) !important; }
.article .cert-name { font-family: var(--serif); font-size: clamp(32px, 6vw, 60px); line-height: 1.1; margin-top: 8px !important; border-bottom: 1px solid #d8cfb6; padding-bottom: 8px; display: inline-block; align-self: center; min-width: 60%; }
.article .cert-course { font-family: var(--serif); font-size: clamp(20px, 3vw, 30px); margin-top: 6px !important; }
.article .cert-foot { display: flex; justify-content: space-around; margin-top: clamp(18px, 4vw, 42px); font-size: clamp(12px, 1.5vw, 15px); }
.article .cert-foot div { display: flex; flex-direction: column; gap: 4px; min-width: 30%; border-top: 1px solid #d8cfb6; padding-top: 8px; }
.article .cert-foot small { color: #777; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.article .cert-sign { font-family: var(--serif); font-size: clamp(16px, 2.2vw, 22px); }
.cert-note { font-size: 13px; color: var(--faint); }
.cert-cta { margin-right: 8px; }
@media print {
  body.cert-page * { visibility: hidden; }
  .cert, .cert * { visibility: visible !important; }
  .cert { position: fixed; inset: 0; margin: 0; max-width: none; box-shadow: inset 0 0 0 10px #fbf8f0, inset 0 0 0 11.5px #C9A84C, inset 0 0 0 15px #fbf8f0, inset 0 0 0 16px #C9A84C; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: A4 landscape; margin: 0; }
  .flow-card, .pearl, .dq, .irr-mini, ol.steps-flow li { background: #fff !important; color: #111 !important; border-color: #ccc !important; }
  .flow-card li, .pearl p, .dq .dqq { color: #111 !important; }
}

/* rv3 — premium layer */
:root {
  --bg: #0D0C0B; --surface: #151412; --surface-2: #1D1B18; --line: rgba(255,255,255,.075);
  --text: #F3EFE7; --muted: #ABA59A; --faint: #716C63;
  --gold: #C9A84C; --gold-hi: #E4CB86; --gold-deep: #A8873A;
  --r: 16px; --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 50px 90px -45px rgba(0,0,0,.9), 0 18px 36px -24px rgba(0,0,0,.6);
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: rgba(201,168,76,.35); color: #fff; }

/* Typography */
h1, h2, h3.serif { letter-spacing: -0.022em; text-wrap: balance; }
h1 { line-height: .98; }
h2 { line-height: 1.04; margin-bottom: 22px; }
p, li, figcaption { text-wrap: pretty; }
.lead { color: var(--muted); line-height: 1.6; }
.plabel, .mh-kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1 var(--sans) !important; letter-spacing: .22em !important; text-transform: uppercase; color: var(--gold-hi) !important; }
.plabel { margin-bottom: 18px; }
.plabel::before, .mh-kicker::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
section > .wrap > h2:first-child::before, .band > .wrap > h2:first-child::before { content: ""; display: block; width: 44px; height: 1px; background: var(--gold); margin-bottom: 28px; opacity: .8; }

/* Rhythm */
section { padding: clamp(80px, 11vw, 136px) 0; }
.feature-ba { padding-top: clamp(40px, 6vw, 72px); }
.band { background: linear-gradient(180deg, var(--surface), #121110); border-block: 1px solid var(--line); }

/* Navigation */
header.nav { background: rgba(13,12,11,.62); border-bottom: 1px solid transparent; transition: background .4s var(--ease), border-color .4s var(--ease); }
header.nav.scrolled { background: rgba(13,12,11,.86); border-bottom-color: var(--line); }
.nav .wrap { height: 76px; transition: height .4s var(--ease); }
header.nav.scrolled .wrap { height: 62px; }
.nav-links a { font-size: 14.5px; letter-spacing: .01em; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

/* Buttons */
.btn { letter-spacing: .01em; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn-gold { background: linear-gradient(180deg, #E6CC86 0%, #C9A84C 55%, #B8953F 100%); color: #17130A; border: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.15), 0 12px 30px -12px rgba(201,168,76,.6); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 18px 40px -14px rgba(201,168,76,.75); }
.btn-ghost { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.025); }
.btn-ghost:hover { border-color: rgba(228,203,134,.7); color: var(--gold-hi); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; right: -18vw; top: -26vw; background: radial-gradient(closest-side, rgba(201,168,76,.13), transparent 72%); pointer-events: none; }
.hero .lead { font-size: clamp(18px, 1.7vw, 20px); }
.hero-photo img { border-radius: 20px; }
.hero-strip img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-note { font-size: 13px; letter-spacing: .02em; color: var(--faint); }
.continue[hidden] { display: none !important; }

/* Image frames */
.hero-photo img, .about-grid img, .at-work img, .feature-ba figure, .compare, .article figure img, .cs-card img, .case img, .price-card { border-radius: var(--r); }
.hero-photo img, .about-grid img, .at-work img, .compare, .article > figure img, .lesson > figure img { box-shadow: var(--shadow); border: 1px solid var(--line); }
.at-work img { width: 100%; max-height: 560px; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }
.at-work { max-width: 1000px; margin-inline: auto; }
.article figcaption, .at-work figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; letter-spacing: .005em; }

/* Stats */
.stats { background: var(--line); border: 1px solid var(--line); border-radius: 20px; }
.stats > div { background: linear-gradient(180deg, var(--surface), #121110); padding: 26px 28px; }
.stats b { font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #F0DCA2, #C9A84C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { letter-spacing: .04em; }

/* Archive grid on the home page */
.case-list { grid-template-columns: repeat(3, 1fr); gap: 34px 22px; margin-top: 48px; }
.case-list > .case, .case-list > .case-pair { margin: 0; }
.case-list > .case { display: flex; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.case-list > .case > a, .case-list > .case > img { display: block; overflow: hidden; }
.case-list .case img { width: 100%; max-width: none; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; border: 0; border-radius: 0; transition: transform .8s var(--ease); background: #0a0a0a; }
.case-list .case:hover img { transform: scale(1.04); }
.case-list .case.wide { grid-column: span 2; }
.case-list .case.wide img { aspect-ratio: auto; object-fit: contain; max-height: 420px; }
.case-list .case.tall img { object-fit: contain; }
.case-list .case figcaption { display: block; max-width: none; margin: 0; padding: 18px 20px 20px; }
.case-list .case figcaption h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 8px; }
.case-list .case figcaption p { font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-list > .case-pair { grid-column: 1 / -1; }
.case-list .is-hidden { display: none !important; }
.archive-more { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 10px; }
@media (max-width: 1000px) { .case-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .case-list { grid-template-columns: 1fr; gap: 22px; } .case-list .case.wide { grid-column: auto; } }

/* Pricing */
.price-card { background: linear-gradient(180deg, var(--surface), #121110); border: 1px solid var(--line); }
.price-card.featured { border: 1px solid rgba(201,168,76,.55); box-shadow: 0 0 0 1px rgba(201,168,76,.12), 0 40px 80px -40px rgba(201,168,76,.35); position: relative; }
.price-card.featured::before { content: "Start here"; position: absolute; top: -12px; left: 24px; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #17130A; background: linear-gradient(180deg, #E6CC86, #C9A84C); padding: 7px 12px; border-radius: 999px; }
.price { font-variant-numeric: tabular-nums; }

/* Cards everywhere */
.cs-card, .modcard, .path-part, .quiz .q, details.toc, .faq details { border-color: var(--line) !important; }
.cs-card { transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.cs-card h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; letter-spacing: -.01em; }
.cs-card:hover { border-color: rgba(201,168,76,.45) !important; box-shadow: 0 30px 60px -35px rgba(0,0,0,.9); }

/* Compare (replaces the drag line) */
.compare { position: relative; overflow: hidden; background: #0a0a0a; isolation: isolate; user-select: none; margin: 0; }
.compare .cmp-stage { position: relative; aspect-ratio: var(--ar, 3 / 2); cursor: pointer; }
.compare .cmp-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.1s var(--ease), transform 6s linear, filter 1.1s var(--ease); }
.compare .cmp-b { opacity: 0; filter: blur(4px); }
.compare.is-b .cmp-b { opacity: 1; filter: none; }
.compare.is-b .cmp-a { filter: blur(3px); }
.compare.in-view .cmp-stage img { transform: scale(1.035); }
.compare::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none; z-index: 1; }
.cmp-tabs { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px;
  background: rgba(13,12,11,.55); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.cmp-tabs button { position: relative; z-index: 1; border: 0; background: none; color: rgba(243,239,231,.75); font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 10px 18px; min-width: 104px; border-radius: 999px; cursor: pointer; transition: color .5s var(--ease); white-space: nowrap; }
.cmp-tabs button[aria-pressed="true"] { color: #17130A; }
.cmp-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(180deg, #E6CC86, #C9A84C); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); transition: transform .6s var(--ease); overflow: hidden; }
.compare.is-b .cmp-ind { transform: translateX(100%); }
.cmp-ind::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: rgba(23,19,10,.35); }
.compare.auto .cmp-ind::after { animation: cmpbar var(--dur, 3.6s) linear infinite; }
@keyframes cmpbar { from { width: 0; } to { width: 100%; } }
.compare .cmp-cap { position: absolute; z-index: 2; left: 18px; top: 16px; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); background: rgba(13,12,11,.55); border: 1px solid rgba(255,255,255,.1); padding: 7px 11px; border-radius: 999px; backdrop-filter: blur(10px); }
.feature-ba .cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 34px 0 26px; }
@media (max-width: 760px) { .feature-ba .cmp-grid { grid-template-columns: 1fr; } .cmp-tabs button { min-width: 92px; padding: 9px 14px; } }
.reveal-grid .compare { max-width: 460px; justify-self: center; width: 100%; }

/* Motion */
.rv { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.rv.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; filter: none !important; } .compare .cmp-stage img { transition: opacity .3s !important; transform: none !important; } }

/* Footer */
footer { border-top: 1px solid var(--line); background: #0B0A09; }
footer nav a { transition: color .3s; }
footer nav a:hover { color: var(--gold-hi); }
@media print { body::after { display: none; } .cmp-tabs { display: none; } }

/* rv4 — interactive case studies */
.csx-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; padding: 0 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.csx-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: saturate(.9); }
.csx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,12,11,.15) 0%, rgba(13,12,11,.55) 50%, rgba(13,12,11,.97) 100%), radial-gradient(80% 60% at 20% 100%, rgba(13,12,11,.8), transparent); }
.csx-hero .wrap { position: relative; z-index: 1; width: 100%; }
.csx-hero h1 { font-size: clamp(40px, 6.4vw, 84px); max-width: 15ch; margin: 14px 0 18px; }
.csx-hero .lead { max-width: 58ch; color: #d8d3c8; }
.csx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.csx-chips span { font-size: 13px; letter-spacing: .04em; padding: 8px 14px; border-radius: 999px; background: rgba(13,12,11,.55); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); color: var(--text); }
.csx-chips span b { color: var(--gold-hi); font-weight: 600; margin-right: 6px; }

.csx-section { margin-top: clamp(56px, 8vw, 96px); }
.csx-kicker { font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.csx-kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.glance { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 22px; }
.glance > div { background: linear-gradient(180deg, var(--surface), #121110); padding: 18px 20px; }
.glance dt { font: 600 11px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.glance dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.meter { display: inline-flex; gap: 4px; vertical-align: middle; margin-left: 8px; }
.meter i { width: 18px; height: 6px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line); }
.meter i.on { background: linear-gradient(90deg, #E6CC86, #C9A84C); border-color: transparent; }

.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin: 26px 0 6px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 15px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201,168,76,.25)); }
.timeline div { text-align: center; position: relative; padding: 0 6px; }
.timeline i { display: block; width: 30px; height: 30px; margin: 0 auto 10px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--gold); position: relative; z-index: 1; }
.timeline i::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--gold); }
.timeline b { display: block; font-size: 14.5px; color: var(--text); font-weight: 600; }
.timeline span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .timeline { grid-auto-flow: row; grid-template-columns: 1fr 1fr; row-gap: 22px; } .timeline::before { display: none; } .hs { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: 12.5px; } }

.decide { background: linear-gradient(160deg, rgba(201,168,76,.09), rgba(201,168,76,0) 55%), var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 34px); margin-top: 22px; }
.decide h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; margin: 0 0 8px; }
.decide-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.decide-opts button { text-align: left; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.02); color: var(--text); font: 500 15.5px/1.35 var(--sans); cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.decide-opts button small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; font-weight: 400; }
.decide-opts button:hover { border-color: rgba(228,203,134,.6); transform: translateY(-1px); }
.decide-opts button.right { border-color: var(--gold); background: rgba(201,168,76,.12); }
.decide-opts button.wrong { opacity: .5; }
.decide-answer { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.decide-answer[hidden] { display: none; }
@media (max-width: 760px) { .decide-opts { grid-template-columns: 1fr; } .glance { grid-template-columns: 1fr; } }

.hsmap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: center; margin-top: 22px; }
.hsmap-fig { position: relative; background: radial-gradient(120% 90% at 50% 30%, #1d1b18, #0f0e0d); border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: var(--shadow); }
.hsmap-fig svg { width: 100%; height: auto; display: block; }
.hsmap-art { position: relative; }
.hs { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid var(--gold-hi); background: rgba(13,12,11,.75); color: var(--gold-hi); font: 600 14px/1 var(--sans); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s, color .3s; }
.hs::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(228,203,134,.45); animation: hsp 2.4s ease-out infinite; }
@keyframes hsp { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.hs.on, .hs:hover { background: linear-gradient(180deg, #E6CC86, #C9A84C); color: #17130A; transform: scale(1.08); }
.hs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hs-list li { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); cursor: pointer; transition: border-color .3s, background .3s; }
.hs-list li b { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; }
.hs-list li b span { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-hi); display: inline-grid; place-items: center; font-size: 12.5px; flex: none; }
.hs-list li p { margin: 8px 0 0 34px; font-size: 14.5px; color: var(--muted); display: none; }
.hs-list li.on { border-color: rgba(201,168,76,.6); background: linear-gradient(160deg, rgba(201,168,76,.10), transparent 60%), var(--surface); }
.hs-list li.on p { display: block; }
.hs-note { font-size: 12.5px; color: var(--faint); margin-top: 10px; text-align: center; }
@media (max-width: 860px) { .hsmap { grid-template-columns: 1fr; } }

.stepper { margin-top: 24px; }
.st-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tabs button { flex: none; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.02); color: var(--muted); border-radius: 999px; padding: 10px 16px; font: 500 14px/1 var(--sans); cursor: pointer; transition: all .3s var(--ease); white-space: nowrap; }
.st-tabs button span { color: var(--gold-hi); margin-right: 6px; font-weight: 600; }
.st-tabs button[aria-selected="true"] { background: linear-gradient(180deg, #E6CC86, #C9A84C); color: #17130A; border-color: transparent; }
.st-tabs button[aria-selected="true"] span { color: #17130A; }
.st-bar { height: 2px; background: var(--surface-2); border-radius: 2px; margin: 12px 0 22px; overflow: hidden; }
.st-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #E6CC86, #C9A84C); transition: width .6s var(--ease); }
.st-panel { animation: stin .6s var(--ease); }
.st-panel[hidden] { display: none; }
@keyframes stin { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.st-panel h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; margin: 0 0 12px; }
.st-how { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 18px 0; }
.st-how p.t { font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 10px; }
.st-how ol { margin: 0; padding-left: 20px; } .st-how li { margin: 6px 0; color: var(--text); font-size: 15.5px; }
.st-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.st-nav .btn[disabled] { opacity: .35; pointer-events: none; }

.pitfalls { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 22px; }
.pitfalls > div { border: 1px solid rgba(224,112,96,.28); background: linear-gradient(160deg, rgba(224,112,96,.08), transparent 60%), var(--surface); border-radius: 16px; padding: 16px 18px; }
.pitfalls b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.pitfalls p { margin: 0; font-size: 14.5px; color: var(--muted); }
.pitfalls b::before { content: "!"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(224,112,96,.18); color: #E07060; font-size: 12px; margin-right: 10px; vertical-align: 2px; }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.checklist label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; transition: border-color .3s, background .3s; }
.checklist input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(228,203,134,.6); margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; }
.checklist input:checked { background: linear-gradient(180deg, #E6CC86, #C9A84C); border-color: transparent; }
.checklist input:checked::after { content: "✓"; color: #17130A; font-size: 14px; font-weight: 700; }
.checklist label:has(input:checked) { border-color: rgba(201,168,76,.5); }
.checklist span { font-size: 15.5px; } .checklist small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }

.csx-video { margin-top: 22px; }
.csx-video[hidden] { display: none; }
.csx-video video { width: 100%; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; }
.author-note { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; margin-top: 22px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.author-note img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(201,168,76,.5); }
.author-note p { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 24px); line-height: 1.35; color: var(--text); }
.author-note small { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.csx-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.csx-figs figure { margin: 0; }
.csx-figs figure.full { grid-column: 1 / -1; }
@media (max-width: 640px) { .csx-figs { grid-template-columns: 1fr; } }
@media print { .st-panel[hidden] { display: block !important; } .st-tabs, .st-nav, .hs { display: none !important; } .decide-answer[hidden] { display: block !important; } }

/* ---- video lessons (vids.py) ---- */
.nav-links a.nav-video { color: var(--gold); }
.nav-links a.nav-video::before { content: "\25B6"; font-size: 9px; margin-right: 6px; vertical-align: 2px; }
.vl-tag { display: inline-block; border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 3px 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.vl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 28px; }
.vl-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.02); }
.vl-card .vl-pic { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.vl-card .vl-pic img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); }
.vl-card .vl-pic::after { content: "\25B6"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); border: 1px solid var(--gold); color: var(--gold); font-size: 18px; padding-left: 3px; box-sizing: border-box; }
.vl-card .vl-body { padding: 16px 18px 20px; }
.vl-card small { color: var(--gold); letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; }
.vl-card h3 { margin: 6px 0 8px; font-size: 19px; }
.vl-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.vl-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.vl-feats div { border-top: 1px solid var(--gold); padding-top: 12px; }
.vl-feats b { display: block; margin-bottom: 4px; }
.vl-feats p { margin: 0; color: var(--muted); font-size: 14.5px; }
.vl-cta { margin-top: 40px; border: 1px solid var(--gold); border-radius: 16px; padding: clamp(22px,4vw,36px); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.vl-cta h2 { margin: 0 0 6px; }
.vl-cta p { margin: 0; color: var(--muted); }

/* csx-hero wrap fix */
.csx-hero .wrap { width: min(var(--wrap), 100% - 48px); }

/* ---- sell.py ---- */
.tier-head { margin-top: 44px; }
.price-grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.price-card .price small.tba { font-size: 15px; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.tm-card { margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.tm-card blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: #e4e0d6; }
.tm-card blockquote::before { content: "\201C"; color: var(--gold); font-family: 'Instrument Serif', Georgia, serif; font-size: 40px; line-height: 0; vertical-align: -14px; margin-right: 4px; }
.tm-card figcaption { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.tm-card figcaption img { border-radius: 50%; object-fit: cover; }
.tm-card figcaption b { display: block; color: var(--text); }
.tm-invite { margin-top: 26px; border: 1px dashed var(--gold); border-radius: 16px; padding: 26px 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.tm-invite p { margin: 0; max-width: 62ch; color: var(--muted); }
.tm-invite b { color: var(--text); }
.signup { margin-top: 56px; border: 1px solid var(--gold); border-radius: 16px; padding: clamp(22px, 4vw, 34px); display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; }
.signup .su-thumb { width: 120px; aspect-ratio: 210/297; border-radius: 6px; background: #f6f3ec; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.4); display: flex; flex-direction: column; }
.signup .su-thumb i { display: block; background: #12100e; height: 36%; padding: 10px; font-style: normal; font-family: 'Instrument Serif', Georgia, serif; color: #f1ece2; font-size: 12px; line-height: 1.15; }
.signup .su-thumb i em { color: var(--gold); font-style: normal; display: block; font-size: 7px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; }
.signup .su-thumb b { display: block; height: 4px; margin: 9px 10px 0; background: #e3ddd0; border-radius: 2px; }
.signup h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); }
.signup p { margin: 0 0 14px; color: var(--muted); }
.signup form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type=email] { flex: 1 1 220px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; color: var(--text); font: inherit; }
.signup input[type=email]:focus { outline: none; border-color: var(--gold); }
.signup .su-done p { color: var(--text); }
.signup small { display: block; margin-top: 10px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 560px) { .signup { grid-template-columns: 1fr; } .signup .su-thumb { width: 96px; } }
.signup form[hidden] { display: none; }
.price-card .price.soon { font-size: 44px; }
.price-card .founding { margin: -4px 0 0; font-size: 14px; color: var(--muted); }
.price-card .founding b { color: var(--gold); font-weight: 600; }
.price-card .pc-btns { display: grid; gap: 10px; }
.guarantee { margin: 22px 0 6px; padding: 16px 20px; border-left: 3px solid var(--gold); background: rgba(201,168,76,.06); border-radius: 0 12px 12px 0; font-size: 15px; color: #d6d2c8; }
.guarantee b { color: var(--text); }
.hero-offer { margin: 4px 0 22px; display: inline-flex; align-items: baseline; gap: 12px; padding: 10px 18px; border: 1px solid var(--gold); border-radius: 999px; color: #e4dfd3; font-size: 15.5px; }
.hero-offer b { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 30px; color: var(--gold); line-height: 1; }
.strip-sec .hero-strip { margin-top: 0; }
/* home rhythm: one even spacing between all home page sections */
.hero ~ section { padding-top: clamp(48px, 5.5vw, 76px); padding-bottom: clamp(48px, 5.5vw, 76px); }
.hero ~ section.closing { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); }
.vl-samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.vl-samples .csx-video { margin-top: 0; }
.vl-samples figcaption { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.vl-samples figcaption strong { color: var(--text); display: block; }

/* module clinical video */
.mod-watch { margin: 40px 0 8px; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, rgba(201,168,76,.10), rgba(201,168,76,0) 55%), var(--surface); }
.mod-watch .mw-kick { display: block; margin: 0 0 8px; line-height: 1.5 !important; font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.mod-watch .mw-kick::before { content: "\25B6"; font-size: 10px; color: var(--gold); margin-right: 8px; }
.mod-watch .mw-kick span { color: var(--muted); letter-spacing: .08em; }
.article .mod-watch h3 { margin: 0 0 6px; }
.mod-watch .mw-lead { margin: 0 0 14px; color: var(--muted); }
.mod-watch .csx-video { margin-top: 0; }
.mod-watch .mw-for { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mod-watch .mw-for li { position: relative; padding-left: 22px; font-size: 15.5px; }
.mod-watch .mw-for li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--gold); }
.mod-watch .mw-for-h { margin: 16px 0 0; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media print { .mod-watch { display: none; } }

/* journal: evidence box + materials */
.jr-evidence { margin: 40px 0; padding: 24px 24px 18px; border: 1px solid rgba(201,168,76,.35); border-left: 3px solid var(--gold); border-radius: 16px; background: linear-gradient(160deg, rgba(201,168,76,.08), rgba(201,168,76,0) 60%), var(--surface); }
.jr-evidence .jr-kick { margin: 0 0 6px; font: 600 11.5px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.article .jr-evidence h3 { margin: 0 0 12px; }
.jr-evidence ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.jr-evidence li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.6; }
.jr-evidence li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--gold); }
.jr-evidence sup { color: var(--gold-hi); font-weight: 600; margin-left: 1px; }
.jr-evidence .jr-sub { margin: 18px 0 8px; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.jr-evidence .jr-fit { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15.5px; }
.jr-evidence .jr-refs { margin-top: 14px; }
.jr-evidence .jr-refs summary { cursor: pointer; font: 600 12.5px/1.4 var(--sans); letter-spacing: .08em; color: var(--gold-hi); }
.jr-evidence .jr-refs ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.jr-evidence .jr-refs li { padding-left: 0; font-size: 13.5px; color: var(--muted); }
.jr-evidence .jr-refs li::before { display: none; }
.jr-evidence .jr-refs a { color: var(--gold-hi); word-break: break-all; }
.jr-materials .jr-fig, .jr-fig-solo { margin: 18px 0; }
.jr-fig svg { width: 100%; height: auto; display: block; border-radius: 16px; }
.jr-materials .jr-fig svg { width: 100%; height: auto; display: block; border-radius: 16px; }
.jr-fig .jr-narrow { display: none; }
@media (max-width: 720px) { .jr-fig .jr-wide { display: none; } .jr-fig .jr-narrow { display: block; } }
.jr-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 15px; }
.jr-table th { text-align: left; font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid rgba(201,168,76,.4); }
.jr-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.jr-table td:first-child { color: var(--gold-hi); font-weight: 600; width: 38%; }
@media (max-width: 640px) { .jr-table td:first-child { width: 42%; } .jr-evidence { padding: 18px 16px 14px; } }
@media print { .jr-evidence .jr-refs[open] summary { display: none; } }

/* jr2 */
.jr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 4px 0 18px; }
.jr-stat { padding: 14px 14px 12px; border: 1px solid rgba(201,168,76,.28); border-radius: 12px; background: rgba(0,0,0,.25); }
.jr-stat .jr-num { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.05; color: var(--gold-hi); letter-spacing: -.01em; }
.jr-stat .jr-lab { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.jr-stat sup { color: var(--gold-hi); }
.jr-evidence .jr-also { margin: 14px 0 0; font-size: 14px; color: var(--muted); font-style: italic; }
.jr-chipbox { margin: 8px 0 34px; }
.jr-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.jr-chips li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.jr-chips strong { display: block; color: var(--gold-hi); font-size: 14.5px; }
.jr-chips span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.jr-chipbox .jr-sub { margin: 0 0 8px; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.jr-fig { margin: 26px 0; }
.jr-fig svg { width: 100%; height: auto; display: block; border-radius: 16px; }
.jr-fig .jr-narrow { display: none; }
@media (max-width: 720px) { .jr-fig .jr-wide { display: none; } .jr-fig .jr-narrow { display: block; } .jr-stat .jr-num { font-size: 28px; } }
.jr-fig.jr-fig-sm { max-width: 620px; margin-left: auto; margin-right: auto; }
.jr-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 6px; }
.article .jr-photos figure, .paper .jr-photos figure { margin: 0; }
.jr-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #0c0c0c; display: block; box-shadow: none !important; }
.jr-photo figcaption { margin-top: 6px; font-size: 13.5px; color: var(--text); line-height: 1.4; }
.jr-credit { display: block; font-size: 11.5px; color: var(--faint, #716C63); margin-top: 2px; }
.jr-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); }

/* /jr2 */
.rv-was { color: var(--muted); font-size: .7em; margin-left: 6px; text-decoration-thickness: 1px; }
.price-grid.coming .price-card { opacity: .85; }
.price-card ul { align-content: start; }

.exp-note { margin: 14px 0 22px; padding: 12px 16px; border-left: 3px solid var(--gold); border-radius: 10px; background: rgba(201,168,76,.08); font-size: 15px; }
.exp-note a { color: var(--gold-hi); }
.jr-practice { border-left-width: 4px; }
.jr-sign { display: block; margin-top: 10px; font: italic 500 15px/1.4 var(--serif, Georgia, serif); color: var(--gold-hi); }

/* Starter cases: "Beyond this case" */
.cx-whatif { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 22px; }
.cx-whatif > div { border: 1px solid rgba(201,168,76,.28); background: linear-gradient(160deg, rgba(201,168,76,.08), transparent 60%), var(--surface); border-radius: 16px; padding: 16px 18px; }
.cx-whatif b { display: block; font-size: 15.5px; margin-bottom: 6px; color: var(--gold-hi); }
.cx-whatif p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.cx-talk, .cx-take { margin-top: 22px; border-radius: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid rgba(255,255,255,.08); }
.cx-talk .t, .cx-take .t { margin: 0 0 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.cx-talk blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--gold); font-style: italic; line-height: 1.65; }
.cx-take ol { margin: 0; padding-left: 20px; line-height: 1.65; }
.cx-take li + li { margin-top: 6px; }

/* Home: free case */
.free-case .fc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 22px 0 0; counter-reset: fc; }
.fc-steps li { background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; }
.fc-steps img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fc-steps span { display: block; padding: 10px 12px; font-size: 14px; line-height: 1.4; }
.fc-steps span::before { counter-increment: fc; content: counter(fc) " · "; color: var(--gold); }
.intro-video { margin: 0 0 28px; }

/* Course founding price */
.founding-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.founding-note b { color: var(--gold); font-weight: 600; }
.founding-note s { opacity: .8; }
.founding-note .rv-spots { color: var(--gold-hi); }

/* Irrigation sequence (Module 10) */
.irr-seq { list-style: none; counter-reset: irr; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; background: var(--surface); border-radius: 16px; }
.irr-seq li { counter-increment: irr; border: 1px solid rgba(201,168,76,.3); border-radius: 12px; padding: 12px 14px; }
.irr-seq li::before { content: counter(irr); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #111; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.irr-seq b { display: block; color: var(--gold-hi); }
.irr-seq span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 4px; }

/* ===== Learning layer (lx): section navigator, resume, next/previous cards ===== */
.free-case .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 20px; }
.free-case .ba figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.free-case .ba img { display: block; width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.free-case .tag { position: absolute; left: 14px; top: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(17,17,17,.78); color: var(--text); }
.free-case .tag.gold { color: var(--gold-hi); }
@media (max-width: 760px) { .free-case .ba { grid-template-columns: 1fr; } }
.free-case .ba-links { margin-top: 22px; }

.case-list.lx-collapsed > .lx-more { display: none; }
.lx-showall { margin-top: 28px; }

.lx-toc { position: fixed; top: 108px; width: 216px; max-height: calc(100vh - 150px); overflow: auto; z-index: 30; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(22,22,22,.92); backdrop-filter: blur(10px); font-size: 14px; display: none; scrollbar-width: thin; }
.lx-toc.lx-side { display: block; }
.lx-toc .lx-t { margin: 0 0 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); font-weight: 600; }
.lx-toc .lx-left { margin: 0 0 10px; font-size: 12.5px; color: var(--faint); }
.lx-toc .lx-bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); margin: 0 0 12px; overflow: hidden; }
.lx-toc .lx-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s linear; }
.lx-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.lx-toc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; line-height: 1.35; border-left: 2px solid transparent; }
.lx-toc a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.lx-toc a.lx-done { color: #8f8f8b; }
.lx-toc a.lx-done::after { content: " ✓"; color: var(--gold); }
.lx-toc a.lx-on { color: var(--text); background: rgba(201,168,76,.10); border-left-color: var(--gold); font-weight: 600; }
.lx-toc a.lx-on::after { content: ""; }
.lx-has-side details.toc { display: none; }

.lx-fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; border: 1px solid rgba(201,168,76,.45); background: rgba(22,22,22,.94); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.lx-fab b { color: var(--gold-hi); font-weight: 600; }
.lx-fab.lx-show { display: inline-flex; }
.lx-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.55); display: none; }
.lx-sheet-open .lx-scrim { display: block; }
.lx-sheet-open .lx-toc { display: block; top: auto; left: 0 !important; right: 0; bottom: 0; width: auto; max-height: 72vh; border-radius: 20px 20px 0 0; z-index: 50; padding: 20px 18px 28px; font-size: 16px; }
.lx-sheet-open .lx-toc a { padding: 11px 12px; }

.lx-top { position: fixed; right: 16px; bottom: 16px; z-index: 39; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(22,22,22,.94); color: var(--text); font-size: 18px; cursor: pointer; display: none; }
.lx-top.lx-show { display: block; }
.lx-fab.lx-show ~ .lx-top.lx-show, .lx-top.lx-up { bottom: 72px; }

.lx-resume { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 12px; max-width: min(560px, calc(100vw - 24px)); padding: 12px 14px 12px 18px; border-radius: 14px; border: 1px solid rgba(201,168,76,.45); background: rgba(22,22,22,.97); box-shadow: 0 16px 40px rgba(0,0,0,.5); font-size: 14.5px; }
.lx-resume span { color: var(--muted); min-width: 0; }
.lx-resume span b { color: var(--text); font-weight: 600; }
.lx-resume button { font: inherit; font-size: 14px; border-radius: 999px; padding: 8px 14px; cursor: pointer; white-space: nowrap; }
.lx-resume .lx-go { background: var(--gold); border: 1px solid var(--gold); color: #111; font-weight: 600; }
.lx-resume .lx-x { background: none; border: 1px solid var(--line); color: var(--muted); }

.modnav.lx-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; border-top: 0; padding-top: 0; }
.modnav.lx-nav a { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font-size: 16px; line-height: 1.35; transition: border-color .2s, transform .2s; }
.modnav.lx-nav a:hover { border-color: var(--gold); transform: translateY(-2px); }
.modnav.lx-nav a small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.modnav.lx-nav a.lx-next { text-align: right; border-color: rgba(201,168,76,.45); background: linear-gradient(160deg, rgba(201,168,76,.10), transparent 70%), var(--surface); }
.modnav.lx-nav a.lx-all { align-items: center; font-size: 14px; color: var(--muted); padding: 16px 14px; }
.modnav.lx-nav .lx-empty { visibility: hidden; }
@media (max-width: 700px) { .modnav.lx-nav { grid-template-columns: 1fr; } .modnav.lx-nav a.lx-next { order: -1; text-align: left; } .modnav.lx-nav .lx-empty { display: none; } }

.lesson h2[id] { scroll-margin-top: 96px; }
.lesson > p, .lesson > ul, .lesson > ol, .lesson > blockquote { max-width: 68ch; }
@media print { .lx-toc, .lx-fab, .lx-top, .lx-resume, .lx-scrim { display: none !important; } }

/* Shorter main menu: the home-page anchors duplicate "Modules" and "Case studies" */
.nav-links li:has(> a[href$="#cases"]), .nav-links li:has(> a[href$="#course"]:not(.drop-toggle)) { display: none; }

/* ===== Design pass 2 (lx2) ===== */
/* Photos that follow each other sit side by side on wide screens */
.lx-figrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; align-items: start; }
.lx-figrow > figure { margin: 0 !important; }
.lx-figrow > figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: zoom-in; }
@media (max-width: 760px) { .lx-figrow { grid-template-columns: 1fr; gap: 22px; } .lx-figrow > figure img { aspect-ratio: auto; } }
/* Module header chips become jump links */
.modmeta a.lx-chip { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: inherit; }
.modmeta span.lx-link { cursor: pointer; border-color: rgba(201,168,76,.45); color: var(--gold-hi); transition: background .2s; }
.modmeta span.lx-link:hover { background: rgba(201,168,76,.12); }
.modmeta span.lx-link::after { content: " ↓"; opacity: .8; }
/* Case study filters */
.lx-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.lx-filters button { font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: border-color .2s, color .2s; }
.lx-filters button:hover { color: var(--text); border-color: rgba(201,168,76,.45); }
.lx-filters button.lx-on { color: #111; background: var(--gold); border-color: var(--gold); font-weight: 600; }
.cs-search input { font-size: 16px; }
/* Case hero: keep text readable over bright radiographs, especially on phones */
.csx-hero::after { background: linear-gradient(180deg, rgba(13,12,11,.35) 0%, rgba(13,12,11,.72) 45%, rgba(13,12,11,.98) 100%), radial-gradient(90% 70% at 15% 100%, rgba(13,12,11,.85), transparent); }
@media (max-width: 760px) { .csx-hero::after { background: linear-gradient(180deg, rgba(13,12,11,.6) 0%, rgba(13,12,11,.86) 40%, rgba(13,12,11,.99) 100%); } .csx-hero h1, .csx-hero .lead { text-shadow: 0 1px 14px rgba(0,0,0,.6); } }
/* Protocols: numbered jump list uses the same navigator */
.lx-toc.lx-plain .lx-left, .lx-toc.lx-plain .lx-bar { display: none; }
/* Comfortable tap targets and reading on phones */
@media (max-width: 760px) {
  .article.lesson h2 { margin-top: 56px; }
  .q button, .quiz button { min-height: 48px; }
  .st-nav .btn { min-height: 48px; }
  .lesson table { font-size: 14.5px; }
}
/* Quiz: clear feedback */
.q button[data-ok].picked, .q button.is-right { border-color: #58b07a !important; }

/* Wide photos stop at the text edge when the section navigator is beside them */
@media (min-width: 1100px) { .lesson > .lx-figrow { margin-left: -80px; margin-right: -80px; } .lx-has-side .lesson > figure, .lx-has-side .lesson > .lx-figrow { margin-right: 0; } }
@media (max-width: 760px) { .lx-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-right: -24px; padding-right: 24px; } .lx-filters::-webkit-scrollbar { display: none; } .lx-filters button { white-space: nowrap; flex: none; } }

/* quiz cases */
.q .qfig{margin:0 0 16px}
.q .qfig img{display:block;width:100%;max-height:440px;object-fit:contain;border-radius:10px;background:#000;cursor:zoom-in}
.q .qcase{display:inline-block;margin-right:8px;padding:2px 9px;border:1px solid var(--gold);border-radius:99px;color:var(--gold-hi);font:600 11px/1.5 var(--sans,inherit);letter-spacing:.08em;text-transform:uppercase;vertical-align:2px}
.q .why strong{color:var(--text)}
@media print{.q .qfig img{max-height:220px;background:none}}
/* ===== Glossary terms (gl) */
.gl{border-bottom:1px dotted var(--gold);cursor:help}
.gl:focus{outline:none;background:rgba(201,168,76,.14);border-radius:3px}
.gl-pop{display:none;position:absolute;z-index:60;max-width:320px;width:calc(100vw - 24px);padding:12px 14px;border:1px solid rgba(201,168,76,.45);border-radius:12px;background:#17150f;color:#e9e7e1;font-size:14px;line-height:1.5;box-shadow:0 12px 34px rgba(0,0,0,.5)}
.gl-pop strong{display:block;color:var(--gold-hi);margin-bottom:2px}
.gl-pop span{display:block}
.gl-pop a{display:inline-block;margin-top:6px;font-size:13px}
.gl-search{width:100%;max-width:420px;margin:6px 0 10px;padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font:inherit}
.gl-index{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.gl-index a{min-width:30px;padding:4px 8px;border:1px solid var(--line);border-radius:8px;text-align:center;text-decoration:none;color:var(--gold-hi);font-size:14px}
.glossary dt{scroll-margin-top:96px}
.glossary dt:target{background:rgba(201,168,76,.14);border-radius:6px;padding:2px 6px;margin-left:-6px}
@media print{.gl{border-bottom:0}.gl-pop,.gl-search,.gl-index{display:none!important}}
/* ===== end gl */
/* reference links */
.ref-find{white-space:nowrap;font-size:.92em;color:var(--gold-hi)}
@media print{.ref-find{display:none}}
/* ===== Motion layer (mx) */
@media (prefers-reduced-motion: no-preference) {
  /* page-to-page: a soft cross-fade, the header stays in place */
  @view-transition { navigation: auto; }
  header.nav { view-transition-name: mx-nav; }
  ::view-transition-old(root) { animation: mx-out .26s var(--ease) both; }
  ::view-transition-new(root) { animation: mx-in .55s var(--ease) both; }
  @keyframes mx-out { to { opacity: 0; transform: translateY(-6px); } }
  @keyframes mx-in { from { opacity: 0; transform: translateY(12px); } }

  /* hero entrance: text rises line by line, the photograph unveils */
  @keyframes mx-rise { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } }
  @keyframes mx-photo { from { opacity: 0; transform: scale(1.07); clip-path: inset(0 0 100% 0 round 20px); } to { clip-path: inset(0 0 0 0 round 20px); } }
  @keyframes mx-ken { from { opacity: .35; transform: scale(1.16); } }
  .hero-text > *, .mh-text > *, .csx-hero .wrap > *, .ex > .ex-k, .js-ex-intro > *, .c2-wrap > .c2-k0, .c2-wrap > h1, .c2-wrap > .lead, .c2-wrap > .c2-req { animation: mx-rise 1s var(--ease) backwards; }
  .hero-text > :nth-child(2), .mh-text > :nth-child(2), .csx-hero .wrap > :nth-child(2), .js-ex-intro > :nth-child(2), .c2-wrap > h1 { animation-delay: .09s; }
  .hero-text > :nth-child(3), .mh-text > :nth-child(3), .csx-hero .wrap > :nth-child(3), .js-ex-intro > :nth-child(3), .c2-wrap > .lead { animation-delay: .18s; }
  .hero-text > :nth-child(4), .mh-text > :nth-child(4), .csx-hero .wrap > :nth-child(4), .js-ex-intro > :nth-child(4), .c2-wrap > .c2-req { animation-delay: .27s; }
  .hero-text > :nth-child(5), .mh-text > :nth-child(5), .csx-hero .wrap > :nth-child(5), .js-ex-intro > :nth-child(5) { animation-delay: .36s; }
  .hero-text > :nth-child(n+6), .mh-text > :nth-child(n+6), .js-ex-intro > :nth-child(n+6) { animation-delay: .45s; }
  .hero-photo img, .mh-photo img { animation: mx-photo 1.5s var(--ease) .15s backwards; will-change: transform; }
  .csx-hero > img { animation: mx-ken 2.4s var(--ease) backwards; will-change: transform; }
  /* a slow drift of the gold light behind the home hero */
  @keyframes mx-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6vw, 5vw, 0) scale(1.12); } }
  .hero::before { animation: mx-drift 16s ease-in-out infinite alternate; }

  /* staggered reveal inside grids */
  .rv { transition-delay: var(--mx-d, 0s); }
  /* the gold rule above each section heading draws itself */
  .article h2.rv::before { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .3s; }
  .article h2.rv.in::before { transform: none; }
  /* figures settle into place */
  .article figure.rv img:not(:hover) { transform: scale(1.04); transition: transform 1.5s var(--ease); }
  .article figure.rv.in img:not(:hover) { transform: none; }

  /* gold buttons: a sheen crosses on hover */
  .btn-gold { position: relative; overflow: hidden; isolation: isolate; }
  .btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.6) 50%, transparent 68%); transform: translateX(-130%); transition: transform 0s; pointer-events: none; }
  .btn-gold:hover::after { transform: translateX(130%); transition: transform .95s var(--ease); }
  .btn:active { transform: translateY(1px) scale(.985); }

  /* cards: a soft light follows the pointer */
  .mx-spot { position: relative; }
  .mx-glow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); z-index: 2;
    background: radial-gradient(420px circle at var(--mx-x, 50%) var(--mx-y, 50%), rgba(230,204,134,.13), transparent 62%); }
  .mx-spot:hover > .mx-glow { opacity: 1; }

  /* quizzes and the assessment */
  @keyframes mx-pop { 40% { transform: scale(1.018); box-shadow: 0 0 0 6px rgba(201,168,76,.16); } }
  @keyframes mx-shake { 20% { transform: translateX(-5px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-2px); } }
  @keyframes mx-fade { from { opacity: 0; transform: translateY(8px); } }
  .q button.right { animation: mx-pop .6s var(--ease); }
  .q button.wrong { animation: mx-shake .42s ease-out; }
  .q.done .why { animation: mx-fade .5s var(--ease) .15s backwards; }
  .ex-card.mx-swap { animation: mx-fade .45s var(--ease); }
  .ex-opt { transition: border-color .2s, background .2s, transform .2s var(--ease); }
  .ex-opt:hover { transform: translateX(3px); }
  .js-ex-done:not([hidden]) .ex-part .b span { animation: mx-grow 1.1s var(--ease) .4s backwards; transform-origin: left; }
  @keyframes mx-grow { from { transform: scaleX(0); } }
  .js-ex-done:not([hidden]) .ex-miss { animation: mx-fade .6s var(--ease) backwards; }

  /* module completed */
  @keyframes mx-ring { from { box-shadow: 0 0 0 0 rgba(201,168,76,.55); } to { box-shadow: 0 0 0 22px rgba(201,168,76,0); } }
  .js-complete.mx-just { animation: mx-ring .9s var(--ease); }

  /* the certificate arrives, then the seal is stamped */
  @keyframes mx-cert { from { opacity: 0; transform: translateY(26px) scale(.975); filter: blur(6px); } }
  @keyframes mx-seal { from { opacity: 0; transform: scale(1.7) rotate(-28deg); } 70% { transform: scale(.96) rotate(2deg); } }
  @keyframes mx-ink { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  .cert2:not([hidden]) { animation: mx-cert 1s var(--ease); }
  .cert2:not([hidden]) .c2-seal { animation: mx-seal .9s var(--ease) .75s backwards; transform-origin: center; }
  .cert2:not([hidden]) .c2-name { animation: mx-ink 1.2s var(--ease) .35s backwards; }

  /* glossary pop-over and small touches */
  .gl-pop { animation: mx-fade .22s var(--ease); }
  .lx-toc a, .cs-card img, .modcard figure img { will-change: auto; }
}
@media print { .hero-text > *, .mh-text > *, .hero-photo img, .mh-photo img, .csx-hero > img, .cert2, .cert2 * { animation: none !important; } }
/* ===== end mx */
/* brand mark */
.auth-mark{width:68px;height:68px;margin:0 0 22px;border:1px solid rgba(201,168,76,.65);border-radius:50%;display:grid;place-items:center;position:relative}
.auth-mark:before{content:"";position:absolute;inset:5px;border:1px solid rgba(201,168,76,.3);border-radius:50%}
.auth-mark svg{width:34px;height:34px}
@media (prefers-reduced-motion:no-preference){.auth-mark{animation:mx-seal .9s var(--ease) .2s backwards}.auth-card>h1,.auth-card>.lead,.auth-card>form,.auth-card>.auth-alt{animation:mx-rise .9s var(--ease) .15s backwards}}
/* ===== Reading mode (rm) */
.rm-toggle { position: fixed; left: 18px; bottom: 18px; z-index: 55; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px 10px 12px; border-radius: 999px; border: 1px solid rgba(201,168,76,.45); background: rgba(17,16,14,.86); color: #e9e7e1; font: 500 13px/1 var(--sans); letter-spacing: .02em; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .3s var(--ease), border-color .3s, background .3s, color .3s; }
.rm-toggle:hover { transform: translateY(-2px); border-color: var(--gold-hi); }
.rm-ico { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(90deg, #fbf8f0 50%, transparent 50%); border: 1.5px solid #e4cb86; transition: transform .5s var(--ease); }
html.rm .rm-ico { transform: rotate(180deg); }
html.rm .rm-toggle { background: rgba(251,248,240,.92); color: #1c1b18; border-color: rgba(143,114,38,.55); box-shadow: 0 10px 30px rgba(60,50,20,.18); }
html.rm .rm-ico { background: linear-gradient(90deg, #1c1b18 50%, transparent 50%); border-color: #8f7226; }
@media (max-width: 720px) { .rm-toggle { left: 12px; bottom: 14px; padding: 9px 12px 9px 10px; } }
@media print { .rm-toggle { display: none !important; } }
html.rm-anim main, html.rm-anim main * { transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease) !important; }

/* the paper itself: everything in the lesson below the hero */
html.rm main { --bg: #fbf8f0; --surface: #ffffff; --surface-2: #f1ecde; --line: rgba(28,27,24,.13); --text: #1c1b18; --muted: #5a574f; --faint: #8a867b; --gold: #a8862f; --gold-hi: #8f7226; --gold-deep: #7a6120; --shadow: 0 30px 60px -40px rgba(60,50,20,.35), 0 10px 24px -18px rgba(60,50,20,.25); background: #fbf8f0; color: #1c1b18; }
html.rm main .mod-hero, html.rm main .csx-hero { --bg: #0D0C0B; --surface: #151412; --surface-2: #1D1B18; --line: rgba(255,255,255,.075); --text: #F3EFE7; --muted: #ABA59A; --faint: #716C63; --gold: #C9A84C; --gold-hi: #E4CB86; --gold-deep: #A8873A; color: #F3EFE7; background-color: #0D0C0B; }
html.rm main .article p, html.rm main .article li, html.rm main .article td, html.rm main .article dd { color: #2b2a26; }
html.rm main .article .lead, html.rm main .article .muted, html.rm main .article figcaption { color: #5a574f; }
html.rm main .article strong, html.rm main .article h2, html.rm main .article h3, html.rm main .article h4, html.rm main .article th { color: #1c1b18; }
html.rm main .article a.gold, html.rm main .article a { color: #7a6120; }
html.rm main .article a.btn-gold { color: #17130A; }
html.rm main .article a.btn-ghost, html.rm main .article .btn-ghost { color: #1c1b18; border-color: rgba(28,27,24,.3); }
html.rm main .gl { border-bottom-color: #a8862f; }
html.rm header.nav { background: rgba(13,12,11,.94); }
html.rm main .glance > div { background: #ffffff; }
html.rm main .q button { color: #2b2a26; }
html.rm main .q button.right, html.rm main .q button[data-ok].picked, html.rm main .q button.is-right { border-color: #3d7d57 !important; color: #23573a; background: #eef6f0; }
html.rm main .q button.wrong { border-color: #b4554f; color: #8e332d; background: #fbefee; }
html.rm main .q .why, html.rm main .q .why strong { color: #3a3833; }
html.rm main .decide-opts button:not(.right), html.rm main .st-tabs button:not([aria-selected="true"]), html.rm main .hs-list li:not(.on), html.rm main .checklist label { border-color: rgba(28,27,24,.16); background: #ffffff; color: #2b2a26; }
html.rm main .csx-chips span { color: #F3EFE7; }
html.rm main ::selection { background: rgba(168,134,47,.3); color: #1c1b18; }
html.rm main .decide-opts button.right { background: #f6efd9; border-color: #a8862f; color: #1c1b18; }
html.rm main .hs-list li.on { background: #f6efd9; border-color: #a8862f; }
/* ===== end rm */

/* ===== premium pass (pm) */
/* -- 1. cards: one curated collection */
.cs-card img, .modcard figure img { aspect-ratio: 16/10; object-fit: cover; filter: grayscale(1) sepia(.2) contrast(1.06) brightness(.84); transition: filter .9s var(--ease, ease), transform 1.2s var(--ease, ease); }
.cs-card:hover img, .cs-card:focus-visible img, .modcard:hover figure img, .modlink:focus-visible .modcard figure img { filter: grayscale(0) sepia(0) contrast(1) brightness(1); }
.cs-card { position: relative; }
.cs-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 16/10; pointer-events: none; background: linear-gradient(180deg, rgba(13,13,12,0) 55%, rgba(13,13,12,.55)); z-index: 1; transition: opacity .6s; }
.cs-card:hover::before { opacity: .4; }
.cs-card > div { position: relative; z-index: 2; }
.modcard figure::after { background: linear-gradient(180deg, transparent 50%, rgba(13,13,12,.7)); }
.modcard figure img { filter: grayscale(1) sepia(.2) contrast(1.06) brightness(.84); }
.modcard:hover figure img { transform: scale(1.03); }
@media (hover: none) { .cs-card img, .modcard figure img { filter: grayscale(.55) sepia(.18) brightness(.9); } }
html.rm .cs-card img, html.rm .modcard figure img { filter: grayscale(1) sepia(.12) contrast(1.05); }
/* -- 2. calmer home */
.cs-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 4vw, 48px); }
.teaser-more { margin-top: clamp(28px, 3vw, 40px); }
@media (max-width: 900px) { .cs-teaser { grid-template-columns: 1fr; } }
/* -- 3. type and space (home) */
body.home main > section { padding: clamp(96px, 13vw, 176px) 0; }
body.home main > section.hero { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(56px, 7vw, 96px); }
body.home .band { background: linear-gradient(180deg, #121211, #151514 50%, #121211); border-block: 0; }
body.home h2 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; max-width: 18ch; margin-bottom: 26px; }
body.home .lead { max-width: 54ch; line-height: 1.65; font-size: clamp(18px, 1.7vw, 20px); }
body.home .plabel { margin-bottom: 22px; }
body.home b, body.home strong { font-weight: 600; }
body.home .closing h2 { max-width: 20ch; margin-inline: auto; }
body.home main h3 { letter-spacing: -.005em; }
/* -- 4. gold, used sparingly */
.nav-links a.nav-video { color: var(--muted); }
.nav-links a.nav-video:hover { color: var(--text); }
.nav-links a.nav-video::before { color: var(--gold); }
.hero-offer { display: flex; align-items: baseline; gap: 16px; padding: 18px 0 0; margin: 26px 0 10px; border: 0; border-top: 1px solid var(--line); border-radius: 0; max-width: 46ch; color: var(--muted); font-size: 15px; line-height: 1.5; }
.hero-offer b { color: var(--text); font-size: 34px; flex: none; }
.founding-note { color: var(--faint, #716C63); }
.founding-note b { color: var(--gold-hi); font-weight: 500; }
.founding-note .rv-spots { color: var(--muted); }
.stats b { background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text) !important; }
.stats span { color: var(--faint, #716C63); }
.faq summary::after { color: var(--faint, #716C63); font-weight: 300; }
.faq details[open] summary::after { color: var(--gold); }
.price-card.featured::before { background: #0D0C0B; color: var(--gold-hi); border: 1px solid rgba(201,168,76,.5); }
.price-card .founding b { color: var(--text); }
.btn-gold { box-shadow: none; }
.btn-gold:hover { box-shadow: 0 10px 30px -12px rgba(201,168,76,.5); }
/* -- 5. signature About */
@media (min-width: 901px) { body.home #about .about-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; } }
body.home #about .portrait-img { position: sticky; top: 110px; aspect-ratio: 4/5; object-position: 50% 22%; filter: grayscale(1) sepia(.16) contrast(1.05) brightness(.92); border-color: rgba(255,255,255,.06); box-shadow: 0 50px 100px -50px rgba(0,0,0,.95); }
body.home #about h2 { margin-bottom: 22px; }
.sig-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 36px 0 34px; border-block: 1px solid var(--line); }
.sig-stats > div { padding: 22px 18px 22px 0; }
.sig-stats > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.sig-stats b { display: block; font: 400 clamp(36px, 4vw, 52px)/1 var(--serif); color: var(--text); letter-spacing: -.02em; }
.sig-stats span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--faint, #716C63); }
.about-line { margin: 30px 0 6px; padding-left: 22px; border-left: 1px solid var(--gold); font: 400 clamp(22px, 2.2vw, 28px)/1.3 var(--serif); color: var(--text); max-width: 30ch; }
.intro-video[data-src=""] { display: none; }
@media (max-width: 900px) { body.home #about .portrait-img { position: static; aspect-ratio: 4/4.4; } .sig-stats > div { padding-right: 10px; } .sig-stats > div + div { padding-left: 12px; } }
/* -- 6. inner pages: quiet chrome, consistent photos */
.mod-hero .modmeta { gap: 6px 0; }
.mod-hero .modmeta span { background: none; border: 0; border-radius: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--muted); font-size: 14px; }
.mod-hero .modmeta span + span::before { display: inline; content: "·"; margin: 0 12px; color: var(--faint, #716C63); }
.modmeta span.lx-link { border: 0; background: none !important; color: var(--gold-hi); }
.modmeta span.lx-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.mh-photo img { filter: grayscale(.92) sepia(.16) contrast(1.05) brightness(.9); transition: filter 1s var(--ease, ease); border-color: rgba(255,255,255,.07); }
.mh-photo:hover img { filter: none; }
.csx-chips span { background: rgba(13,12,11,.4); border-color: rgba(255,255,255,.1); }
.csx-chips span b { color: var(--faint, #8a8478); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.pull, .lesson blockquote { border-left-width: 1px; }
.jr-num { color: var(--text) !important; background: none !important; -webkit-text-fill-color: currentColor; }
.modnav.lx-nav a.lx-next { background: var(--surface); border-color: rgba(201,168,76,.32); }
.modnav.lx-nav a:hover { border-color: rgba(201,168,76,.6); }
.toc { border-color: var(--line) !important; }
html.rm .mh-photo img { filter: none; }
.csx-hero > img { filter: grayscale(.9) sepia(.14) blur(3px) brightness(.82) contrast(1.05); transform: scale(1.05); }
html.rm .csx-hero > img { filter: grayscale(.4) blur(3px); }
main ol > li, main ul > li { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) { main .article table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
/* -- 7. focused pricing */
.px-main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(36px, 5vw, 56px); padding: clamp(32px, 4.5vw, 56px) !important; border-radius: 22px; background: radial-gradient(120% 120% at 0% 0%, rgba(201,168,76,.07), transparent 55%), var(--surface); }
.px-main .price { font-size: clamp(64px, 7vw, 96px) !important; }
.px-main .btn { margin-top: 22px; }
.px-small { margin-top: 14px; font-size: 13.5px; color: var(--faint, #716C63); }
.px-list { list-style: none; margin: 0; padding: 0 0 0 clamp(0px, 3vw, 40px); border-left: 1px solid var(--line); display: grid; gap: 14px; }
.price-card .px-list li { position: relative; padding-left: 26px; margin: 0; color: var(--muted); line-height: 1.55; }
.price-card .px-list li::before, .px-main .px-list li::before { content: "" !important; border: 0 !important; transform: none !important; color: transparent; position: absolute; left: 0; top: .62em; width: 12px; height: 1px; background: var(--gold); }
.px-list b { color: var(--text); font-weight: 600; }
.px-side { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); margin-top: clamp(16px, 2vw, 24px); }
.px-mini { padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; }
.px-mini .plabel { margin-bottom: 14px; }
.px-mini-price { font: 400 34px/1 var(--serif); color: var(--text); margin: 0 0 12px; }
.px-mini-price small { font: 400 14px/1.4 var(--sans); color: var(--faint, #716C63); }
.px-mini p:not(.plabel):not(.px-mini-price) { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0 0 14px; }
.px-mini b { color: var(--text); font-weight: 600; }
.px-link { color: var(--text); text-decoration: none; font-size: 15px; border-bottom: 1px solid rgba(201,168,76,.45); padding-bottom: 2px; }
.px-link:hover { border-color: var(--gold); }
.px-later { margin-top: clamp(28px, 3vw, 40px); font-size: 15px; color: var(--faint, #716C63); max-width: 70ch; }
.px-later a { color: var(--muted); }
@media (max-width: 900px) { .px-main, .px-side { grid-template-columns: 1fr; } .px-list { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; } }
/* -- 8. footer, 404, finishing details */
footer.ft2 { padding: clamp(64px, 8vw, 104px) 0 32px; border-top: 1px solid var(--line); background: #0B0A09; }
footer.ft2 .ft2-grid { display: grid; align-items: start; justify-content: stretch; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.ft2-brand p { margin: 18px 0 16px; max-width: 34ch; font-size: 14.5px; line-height: 1.6; color: var(--faint, #716C63); }
.ft2-ig, footer.ft2 nav a { display: block; color: var(--muted); text-decoration: none; font-size: 14.5px; line-height: 1.5; padding: 4px 0; transition: color .2s; }
.ft2-ig:hover, footer.ft2 nav a:hover { color: var(--text); }
footer.ft2 nav { display: block; }
footer.ft2 h4 { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); margin: 6px 0 16px; }
footer.ft2 .ft2-base { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint, #716C63); }
@media (max-width: 900px) { footer.ft2 .ft2-grid { grid-template-columns: 1fr 1fr; } .ft2-brand { grid-column: 1 / -1; } }
.nf { min-height: 70vh; display: flex; align-items: center; }
.nf h1 { font-size: clamp(48px, 7vw, 96px); max-width: 14ch; margin-bottom: 22px; }
.nf .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
html.ld-js main img[loading="lazy"] { opacity: 0; transition: opacity .7s var(--ease, ease); }
html.ld-js main img[loading="lazy"].ld { opacity: 1; }
::selection { background: rgba(201,168,76,.35); color: #fff; }
html.rm footer.ft2 { background: #EFEAE0; }
@media print { footer.ft2 { display: none; } }
footer.ft2 .logo { color: var(--text); }
.dash-note { margin-top: 14px; font-size: 13.5px; color: var(--faint, #716C63); }
/* ===== end pm */

/* ===== intro video (iv) */
.iv-row { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.iv-row .csx-video { margin: 0; position: relative; }
.csx-video.vert video { aspect-ratio: 9 / 16; object-fit: cover; max-height: 78vh; border-radius: 20px; }
.iv-copy h3 { font: 400 clamp(30px, 3.4vw, 44px)/1.08 var(--serif); letter-spacing: -.015em; margin: 0 0 16px; max-width: 16ch; }
.iv-copy p:not(.plabel):not(.iv-meta) { color: var(--muted); line-height: 1.65; max-width: 46ch; margin: 0 0 14px; }
.iv-meta { font-size: 13.5px; color: var(--faint, #716C63); margin: 0 0 22px; }
.mod-watch.iv-mod { margin: 32px 0 40px; }
.mod-watch.iv-mod .iv-row { margin-top: 0; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
.mod-watch.iv-mod .iv-copy h3 { font-size: clamp(24px, 2.6vw, 32px); }
@media (max-width: 760px) { .iv-row, .mod-watch.iv-mod .iv-row { grid-template-columns: 1fr; } .iv-row .csx-video { max-width: 340px; width: 100%; margin-inline: auto; } }
/* ===== end iv */
/* ===== start here (sh) */
.sh-hero { padding: clamp(80px, 11vw, 150px) 0 clamp(48px, 6vw, 80px); }
.sh-hero h1 { font-size: clamp(48px, 7vw, 92px); max-width: 14ch; margin-bottom: 22px; }
.sh-cont { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(32px, 4vw, 48px); padding: 26px 30px; border: 1px solid rgba(201,168,76,.35); border-radius: 20px; background: radial-gradient(120% 140% at 0% 0%, rgba(201,168,76,.07), transparent 55%), var(--surface); max-width: 860px; }
.sh-cont-txt { flex: 1 1 320px; }
.sh-cont-k { font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 12px; }
.sh-cont-h { font: 400 28px/1.15 var(--serif); color: var(--text); margin: 0 0 14px; }
.sh-cont-s { font-size: 14.5px; color: var(--faint, #716C63); margin: 12px 0 0; }
.sh-cont .progress .bar { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.sh-cont .progress .bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #C9A84C, #E6CC86); transition: width 1s var(--ease, ease); }
main > .sh-sec { padding: clamp(72px, 10vw, 128px) 0; }
.sh-steps { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sh-steps li { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.sh-n { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(201,168,76,.55); display: inline-flex; align-items: center; justify-content: center; font: 400 18px/1 var(--serif); color: var(--gold-hi); }
.sh-steps h3, .sh-tools h3, .sh-card h3, .sh-help h3 { font: 400 23px/1.2 var(--serif); margin: 2px 0 8px; color: var(--text); }
.sh-steps p, .sh-tools p, .sh-card p, .sh-help p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.sh-note { margin-top: 28px; color: var(--muted); max-width: 70ch; }
.sh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 4vw, 48px); }
.sh-card { display: block; padding: 28px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: var(--surface); transition: border-color .3s, transform .3s; }
.sh-card:hover { border-color: rgba(201,168,76,.55); transform: translateY(-3px); }
.sh-card small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 16px; }
.sh-tools { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.sh-tools li { padding: 24px 22px 0 0; }
.sh-tools li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.sh-end { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.sh-end .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sh-help { padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.dash-start { margin: 0 0 28px; }
@media (max-width: 900px) { .sh-steps, .sh-cards { grid-template-columns: 1fr; } .sh-tools { grid-template-columns: 1fr 1fr; } .sh-tools li:nth-child(3) { border-left: 0; padding-left: 0; } .sh-end { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sh-tools { grid-template-columns: 1fr; } .sh-tools li + li { border-left: 0; padding-left: 0; } }
/* ===== end sh */

/* ===== case planner (pl) */
.pl-hero { padding: clamp(80px, 11vw, 150px) 0 clamp(24px, 3vw, 40px); }
.pl-hero h1 { font-size: clamp(46px, 6.6vw, 88px); max-width: 13ch; margin-bottom: 22px; }
main > .pl-sec { padding: clamp(24px, 3vw, 40px) 0 clamp(80px, 10vw, 128px); }
.pl-card { max-width: 860px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(120% 140% at 0% 0%, rgba(201,168,76,.06), transparent 55%), var(--surface); scroll-margin-top: 100px; }
.pl-top { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.pl-step { flex: none; font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); }
.pl-bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.pl-bar span { display: block; height: 100%; background: linear-gradient(90deg, #C9A84C, #E6CC86); transition: width .5s var(--ease, ease); }
.pl-q { font-size: clamp(30px, 3.6vw, 44px); max-width: 22ch; margin: 0 0 12px; }
.pl-h { color: var(--muted); margin: 0 0 26px; max-width: 60ch; }
.pl-opts { display: grid; gap: 10px; }
.pl-opt { text-align: left; font: 500 16.5px/1.45 var(--sans); color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; cursor: pointer; transition: border-color .2s, background .2s; }
.pl-opt:hover, .pl-opt:focus-visible, .pl-opt.on { border-color: rgba(201,168,76,.6); background: rgba(201,168,76,.06); }
.pl-back { margin-top: 22px; background: none; border: 0; color: var(--muted); font: 500 14.5px var(--sans); cursor: pointer; padding: 4px 0; }
.pl-back:hover { color: var(--text); }
.pl-res { padding: 26px 28px; border-radius: 16px; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: rgba(0,0,0,.25); }
.pl-res.pl-ex { border-left-color: #B5654A; } .pl-res.pl-warn { border-left-color: #D8B45A; } .pl-res.pl-surg { border-left-color: #8FA6B8; } .pl-res.pl-ok { border-left-color: #7FA37A; }
.pl-k { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--faint, #716C63); margin: 0 0 12px; }
.pl-res h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 12px; }
.pl-why { color: var(--muted); margin: 0 0 6px; max-width: 62ch; }
.pl-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 30px; }
.pl-cols h3 { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 14px; }
.pl-cols h3 + ol, .pl-cols h3 + ul { margin-bottom: 26px; }
.pl-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); line-height: 1.55; }
.pl-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl-links a { display: flex; gap: 12px; align-items: baseline; color: var(--text); text-decoration: none; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.pl-links a:hover { border-color: rgba(201,168,76,.6); }
.pl-links span { font: 400 18px/1 var(--serif); color: var(--gold-hi); min-width: 22px; }
.pl-again { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.pl-again .pl-back { margin: 0; }
.pl-note { max-width: 860px; margin-top: 22px; font-size: 14px; color: var(--faint, #716C63); }
.pl-cta { margin: 40px 0; padding: 26px 28px; border: 1px solid rgba(201,168,76,.35); border-radius: 18px; background: rgba(201,168,76,.04); }
.pl-cta h3 { font: 400 28px/1.1 var(--serif); margin: 0 0 8px; } .pl-cta p:not(.plabel) { color: var(--muted); margin: 0 0 18px; }
@media (max-width: 760px) { .pl-cols { grid-template-columns: 1fr; } }
/* ===== end pl */

/* ===== before-after slider (ba) */
.bas { position: relative; width: 100%; overflow: hidden; border-radius: var(--r, 16px); background: #000; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.bas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; filter: none !important; }
.bas-top { position: absolute; inset: 0; will-change: clip-path; }
.bas-line { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(243,239,231,.9); box-shadow: 0 0 12px rgba(0,0,0,.6); pointer-events: none; }
.bas-knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(13,12,11,.75); border: 1.5px solid #E6CC86; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bas-knob::before, .bas-knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px; border: 5px solid transparent; }
.bas-knob::before { left: 9px; border-right-color: #E6CC86; } .bas-knob::after { right: 9px; border-left-color: #E6CC86; }
.bas-lab { position: absolute; top: 12px; font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #F3EFE7; background: rgba(13,12,11,.6); padding: 6px 9px; border-radius: 999px; pointer-events: none; }
.bas-lb { left: 12px; } .bas-la { right: 12px; }
.bas-range { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; pointer-events: none; }
.bas-range:focus-visible { pointer-events: auto; }
.bas:focus-within { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.bas-hint { margin: 10px 0 0; font-size: 13px; color: var(--faint, #716C63); text-align: center; }
@media print { .bas-line, .bas-lab, .bas-hint { display: none; } }
/* ===== end ba */

/* ===== module summary (ms) */
.ms-box { margin: 0 0 clamp(36px, 5vw, 56px); padding: clamp(26px, 3.6vw, 44px); border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(120% 140% at 0% 0%, rgba(201,168,76,.06), transparent 55%), var(--surface); max-width: none !important; }
.ms-kick { font: 600 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 26px; display: flex; align-items: center; gap: 12px; }
.ms-kick::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.ms-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); }
.ms-h { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--faint, #716C63); margin: 0 0 14px; }
.ms-quote { font: 400 clamp(22px, 2.3vw, 29px)/1.3 var(--serif); color: var(--text); margin: 0; letter-spacing: -.01em; }
.ms-obj ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ms-obj li { position: relative; padding-left: 24px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.ms-obj li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--gold); }
.ms-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-top: clamp(26px, 3vw, 36px); border-block: 1px solid var(--line); }
.ms-facts > div { padding: 16px 16px 16px 0; }
.ms-facts > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.ms-facts b { display: block; font: 400 26px/1 var(--serif); color: var(--text); }
.ms-facts span { display: block; margin-top: 6px; font-size: 13px; color: var(--faint, #716C63); }
.ms-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.ms-link { color: var(--muted); text-decoration: none; font-size: 14.5px; border-bottom: 1px solid rgba(201,168,76,.4); padding-bottom: 2px; }
.ms-link:hover { color: var(--text); border-color: var(--gold); }
@media (max-width: 760px) { .ms-grid { grid-template-columns: 1fr; } .ms-facts { grid-template-columns: 1fr 1fr; } .ms-facts > div:nth-child(3) { border-left: 0; padding-left: 0; } .ms-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
html.rm .ms-box { background: #F6F2EA; }
@media print { .ms-links { display: none; } }
/* ===== end ms */

/* ===== launch (lp) */
/* -- design system: tokens */
:root {
  --faint: #918A7E;                         /* AA on every dark surface (was #716C63, 3.3:1) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --fs-xs: 12.5px; --fs-sm: 14.5px; --fs-base: 17px; --fs-lg: clamp(18px, 1.7vw, 20px);
  --fs-h3: clamp(22px, 2.2vw, 28px); --fs-h2: clamp(36px, 5vw, 64px); --fs-h1: clamp(46px, 7vw, 96px);
  --radius-sm: 10px; --radius: 14px; --radius-lg: 18px; --radius-xl: 22px; --radius-pill: 999px;
  --shadow-sm: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 24px -18px rgba(0,0,0,.8);
  --shadow-md: 0 30px 60px -36px rgba(0,0,0,.9);
  --dur: .25s; --dur-slow: .6s;
}
/* -- design system: one radius scale for every card-like surface */
.cs-card, .modcard, .price-card, .px-mini, .sh-card, .sh-steps li, .sh-help, .dash-card, .mod-watch, .ev-box, .jr-evidence, .quiz .q, details.toc, .pl-cta, .decide, .buybox, .upsell, .pearl, .flow-card, .tm-card, .rv-lockbox { border-radius: var(--radius-lg) !important; }
.px-main, .ms-box, .pl-card, .sh-cont, .cert2 { border-radius: var(--radius-xl) !important; }
.pl-opt, .pl-links a, .modnav.lx-nav a, .quiz .q button, input[type=email], input[type=text], input[type=password] { border-radius: var(--radius) !important; }
/* -- one primary button, one secondary button */
.btn { border-radius: var(--radius-pill); font-weight: 600; letter-spacing: .005em; transition: background var(--dur), border-color var(--dur), box-shadow var(--dur), transform var(--dur); }
.btn:active { transform: translateY(1px); }
.btn-gold, .btn-gold:visited { background: linear-gradient(180deg, #D9BD6E, #C9A84C); color: #14110A; border: 0; }
.btn-gold:hover { background: linear-gradient(180deg, #E4CB86, #D1B058); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.16); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.03); }
/* -- motion: short and quiet */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
/* -- focus that is visible on dark and light */
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
html.rm { --faint: #6A645A; }

/* -- launch: landing sections */
.why-sec { padding: var(--space-9) 0; }
.why-sec h2, .for-sec h2 { max-width: 20ch; }
.why-grid { display: grid; gap: var(--space-5); margin-top: var(--space-7); }
@media (min-width: 860px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-grid > div { background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-lg); padding: var(--space-6); }
.why-grid h3 { font-size: var(--fs-h3); margin: var(--space-2) 0 var(--space-3); line-height: 1.15; }
.why-grid p { color: var(--muted); margin: 0; }
.why-n { font-family: var(--serif, 'Instrument Serif', serif); color: var(--gold); font-size: 28px; margin: 0 !important; }
.why-change { margin-top: var(--space-7); border-top: 1px solid rgba(255,255,255,.08); padding-top: var(--space-6); }
.why-change ul { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: var(--space-4); }
@media (min-width: 860px) { .why-change ul { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.why-change li { color: var(--muted); }
.why-change b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.cur { display: grid; gap: var(--space-6); margin-top: var(--space-6); }
.cur-part h3 { font-size: var(--fs-h3); margin: 2px 0 var(--space-3); }
.cur-k { color: var(--gold); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.cur-mod { border-top: 1px solid rgba(255,255,255,.08); }
.cur-mod:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.cur-mod summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr auto 18px; gap: var(--space-3); align-items: baseline; padding: var(--space-4) 0; }
.cur-mod summary::-webkit-details-marker { display: none; }
.cur-mod summary::after { content: '+'; color: var(--gold); font-size: 20px; line-height: 1; transition: transform var(--dur); }
.cur-mod[open] summary::after { transform: rotate(45deg); }
.cur-n { color: var(--faint); font-variant-numeric: tabular-nums; }
.cur-t { color: var(--text); font-weight: 500; }
.cur-m { color: var(--faint); font-size: var(--fs-sm); white-space: nowrap; }
.cur-free { display: inline-block; margin-left: 8px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-hi); border: 1px solid rgba(201,168,76,.4); border-radius: var(--radius-pill); padding: 1px 8px; vertical-align: 2px; }
.cur-body { padding: 0 0 var(--space-5) 52px; }
.cur-body ul { margin: 0 0 var(--space-3); padding-left: 18px; color: var(--muted); }
.cur-body li { margin: 4px 0; }
.cur-body a { color: var(--gold-hi); font-size: var(--fs-sm); }
.cur-mod.done .cur-n::before { content: '✓ '; color: var(--gold); }
@media (max-width: 560px) { .cur-mod summary { grid-template-columns: 30px 1fr 18px; } .cur-m { display: none; } .cur-body { padding-left: 42px; } }
.for-sec { padding: var(--space-9) 0; }
.for-grid { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
@media (min-width: 860px) { .for-grid { grid-template-columns: 1fr 1fr; } }
.for-grid > div { border-radius: var(--radius-lg); padding: var(--space-6); border: 1px solid rgba(255,255,255,.08); }
.for-yes { background: var(--surface); }
.for-grid h3 { font-size: 20px; margin: 0 0 var(--space-4); }
.for-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); color: var(--muted); }
.for-grid li { padding-left: 26px; position: relative; }
.for-yes li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); }
.for-no li::before { content: '–'; position: absolute; left: 2px; color: var(--faint); }
.px-refund { color: var(--muted); font-size: var(--fs-sm); margin: var(--space-3) 0 0; }
.px-refund a { color: var(--gold-hi); }
.closing-lead { margin: var(--space-4) auto var(--space-5); max-width: 46ch; color: var(--muted); }
.cur + .refs-links { margin-top: var(--space-6); }
.dp { background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-xl); padding: var(--space-6); margin-top: var(--space-4); }
.dp-top { display: grid; gap: var(--space-5); align-items: center; margin-bottom: var(--space-5); }
@media (min-width: 860px) { .dp-top { grid-template-columns: 1fr 1fr; } }
.dp-n { margin: 4px 0 10px; color: var(--muted); } .dp-n b { font-family: var(--serif, serif); font-size: 40px; color: var(--gold-hi); font-weight: 400; margin-right: 6px; }
.dp-bar { height: 6px; border-radius: var(--radius-pill); background: rgba(255,255,255,.08); overflow: hidden; } .dp-bar span { display: block; height: 100%; background: var(--gold); }
.dp-go { display: block; border: 1px solid rgba(201,168,76,.45); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); color: var(--text); text-decoration: none; transition: background var(--dur); }
.dp-go:hover { background: rgba(201,168,76,.07); } .dp-go span { display: block; color: var(--gold); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.dp-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: 2px; }
@media (min-width: 860px) { .dp-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(10, auto); grid-auto-flow: column; column-gap: var(--space-6); } }
.dash-badge:empty { display: none; }
.dp-list a { display: flex; gap: var(--space-3); align-items: center; padding: 10px 0; color: var(--muted); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.05); }
.dp-list a:hover { color: var(--text); } .dp-list .done a { color: var(--text); }
.dp-i { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid rgba(255,255,255,.14); color: var(--faint); }
.dp-list .done .dp-i { background: var(--gold); border-color: var(--gold); color: #14110A; }
.ft2-base span:last-child { max-width: 62ch; text-align: right; } .ft2-base a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .ft2-base span:last-child { text-align: left; } }

/* ===== end lp */
/* ===== reading design (rd) 2026-12-01: calmer, more scannable lessons */
/* part kicker above module part titles (span added by members.js) */
.lesson h2 .h2-k { display: block; font-family: var(--sans, 'Instrument Sans', sans-serif); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
/* numbered steps: gold numbers in rings, one step per line */
.article.lesson > ol { counter-reset: rdstep; list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.article.lesson > ol > li { counter-increment: rdstep; position: relative; padding: 14px 16px 14px 58px; background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius, 14px); }
.article.lesson > ol > li::before { content: counter(rdstep); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(201,168,76,.6); color: var(--gold-hi); font-size: 14px; font-weight: 600; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.article.lesson > ol > li > strong:first-child { color: var(--text); }
/* bullet lists: short gold dash instead of the default dot */
.article.lesson > ul { list-style: none; margin-left: 0; padding-left: 0; }
.article.lesson > ul > li { position: relative; padding-left: 24px; }
.article.lesson > ul > li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 10px; height: 1.5px; background: var(--gold); opacity: .85; }
/* sub-headings: a touch more air and a quiet gold tick */
.article.lesson > h3 { margin-top: 40px; display: flex; align-items: baseline; gap: 10px; }
.article.lesson > h3::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-3px); }
/* paper (light) reading mode keeps the same structure */
html.rm .article.lesson > ol > li { background: #fff; border-color: rgba(0,0,0,.08); }
html.rm .article.lesson > ol > li::before { color: #8a6d1d; border-color: rgba(138,109,29,.5); }
@media (max-width: 560px) {
  .article.lesson > ol > li { padding: 12px 14px 12px 50px; }
  .article.lesson > ol > li::before { left: 10px; width: 28px; height: 28px; }
}
@media print { .article.lesson > ol > li { background: none; border: 0; padding-left: 36px; } }
/* ===== end rd */
/* ===== members (mem) */
/* -- members: search, protocol card, phone lesson bar */
.nav-search { display: flex; align-items: center; }
.sr-btn { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 1px solid rgba(255,255,255,.14); color: var(--muted); border-radius: var(--radius-pill, 999px); padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, color .2s; }
.sr-btn:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
@media (min-width: 1101px) and (max-width: 1280px) { .sr-btn span { display: none; } }
html.sr-lock { overflow: hidden; }
.sr-back { position: fixed; inset: 0; z-index: 1000; background: rgba(8,7,6,.72); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; }
.sr-back.open { display: flex; }
.sr-panel { width: min(680px, 100%); max-height: 76vh; display: flex; flex-direction: column; background: var(--surface, #151412); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg, 18px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); overflow: hidden; }
.sr-top { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sr-in { flex: 1; background: transparent; border: 0 !important; outline: 0; color: var(--text); font: inherit; font-size: 18px; padding: 6px 2px; }
.sr-x-btn { background: transparent; color: var(--faint); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; font-size: 12px; padding: 4px 8px; cursor: pointer; }
.sr-list { overflow-y: auto; padding: 8px; }
.sr-item { display: grid; gap: 2px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--text); }
.sr-item.on, .sr-item:hover { background: rgba(201,168,76,.09); }
.sr-k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.sr-t { font-weight: 500; }
.sr-x { color: var(--muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-item mark { background: rgba(201,168,76,.28); color: inherit; border-radius: 3px; padding: 0 1px; }
.sr-empty { color: var(--muted); padding: 18px 12px; margin: 0; }
.pc-print { margin-left: 14px; vertical-align: middle; font-family: var(--sans, inherit); }
.ms-watch { display: inline-flex; align-items: center; gap: 6px; }
#print-card { display: none; }
@media print {
  html.print-card body > *:not(#print-card) { display: none !important; }
  html.print-card #print-card { display: block !important; color: #111; background: #fff; font: 11pt/1.45 Georgia, serif; }
  html.print-card #print-card h1 { font-size: 20pt; margin: 4pt 0 10pt; color: #111; }
  html.print-card #print-card h2 { font-size: 14pt; color: #111; }
  html.print-card #print-card table { width: 100%; border-collapse: collapse; }
  html.print-card #print-card th, html.print-card #print-card td { border: 1px solid #bbb; padding: 4pt 6pt; color: #111; background: #fff; text-align: left; }
  html.print-card #print-card .pc-brand, html.print-card #print-card .pc-foot { font: 9pt Arial, sans-serif; color: #7a6320; letter-spacing: .04em; }
  html.print-card #print-card .pc-foot { margin-top: 14pt; color: #555; }
  html.print-card #print-card * { color: #111 !important; background: transparent !important; box-shadow: none !important; }
}
.lbar { display: none; }
@media (max-width: 760px) {
  .lbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: grid; grid-template-columns: 48px 1fr auto; gap: 8px; align-items: center; padding: 8px; background: rgba(21,20,18,.94); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.9); transition: transform .3s, opacity .3s; }
  .lbar.hide { transform: translateY(140%); opacity: 0; }
  .lbar a, .lbar button { font: inherit; font-size: 14.5px; text-decoration: none; border-radius: 999px; min-height: 40px; display: grid; place-items: center; }
  .lbar-p { color: var(--text); border: 1px solid rgba(255,255,255,.14); }
  .lbar-c { background: transparent; color: var(--text); border: 1px solid rgba(201,168,76,.5); padding: 0 12px; cursor: pointer; }
  .lbar-c.on { background: rgba(201,168,76,.14); color: var(--gold-hi); }
  .lbar-n { background: linear-gradient(180deg, #D9BD6E, #C9A84C); color: #14110A !important; font-weight: 600; padding: 0 16px; }
  html.has-lbar body { padding-bottom: 76px; }
  html.has-lbar .lx-top { bottom: 92px !important; }
  html.has-lbar .rm-toggle { bottom: 92px !important; }
}
/* -- articles */
.art .art-by { color: var(--faint); font-size: var(--fs-sm, 14.5px); margin-top: -8px; }
.art .plabel a { color: inherit; }
.art-cta { margin: var(--space-7, 48px) 0 var(--space-5, 24px); padding: var(--space-6, 32px); background: var(--surface); border: 1px solid rgba(201,168,76,.3); border-radius: var(--radius-lg, 18px); }
.art-cta h3 { margin-top: 4px; }
.art-cta-b { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.art-note { color: var(--faint); font-size: 13px; }
.art-grid { display: grid; gap: var(--space-5, 24px); padding-bottom: var(--space-9, 96px); }
@media (min-width: 760px) { .art-grid { grid-template-columns: 1fr 1fr; } }
.art-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg, 18px); overflow: hidden; padding-bottom: var(--space-5, 24px); transition: border-color .25s, transform .25s; }
.art-card:hover { border-color: rgba(201,168,76,.4); transform: translateY(-2px); }
.art-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 8px; }
.art-card > :not(img) { padding: 0 var(--space-5, 24px); }
.art-card h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 0; line-height: 1.15; }
.art-card p { color: var(--muted); margin: 0; }
.art-more { color: var(--gold-hi); font-size: 14.5px; margin-top: auto; padding-top: 8px; }
.sr-in::-webkit-search-cancel-button { display: none; }
@media print { html.print-card #print-card * { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; } }
.art-card { background: #151412 !important; color: #F3EFE7 !important; }
.art-card h2 { color: #F3EFE7 !important; } .art-card p { color: #ABA59A !important; } .art-card .plabel { color: #C9A84C !important; } .art-more { color: #E4CB86 !important; }
.art-cta .btn-gold, .art-cta .btn-gold:visited { background: linear-gradient(180deg, #D9BD6E, #C9A84C) !important; color: #14110A !important; border: 0 !important; }

/* -- recall (spaced review) */
.rc-wrap { max-width: 760px; margin: 0 auto; }
.rc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: var(--space-5, 24px) 0; }
.rc-stats > div { background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg, 18px); padding: 16px; text-align: center; }
.rc-stats b { display: block; font-family: var(--serif, serif); font-weight: 400; font-size: 40px; color: var(--gold-hi); line-height: 1; }
.rc-stats span { color: var(--muted); font-size: 13.5px; }
.rc-h { color: var(--gold); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin: 24px 0 10px; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-chip { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
.rc-chip.on { background: var(--gold); border-color: var(--gold); color: #14110A; font-weight: 600; }
.rc-chip.done:not(.on) { border-color: rgba(201,168,76,.5); color: var(--text); }
.rc-note { color: var(--muted); font-size: 14.5px; }
.rc-go { margin-top: 20px; } .rc-clear { color: var(--text); }
.rc-card { background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-xl, 22px); padding: clamp(18px, 4vw, 32px); }
.rc-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--faint); font-size: 13px; margin: 0 0 10px; }
.rc-bar { height: 4px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 18px; } .rc-bar i { display: block; height: 100%; background: var(--gold); }
.rc-fig { margin: 0 0 16px; } .rc-fig img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 12px; background: #000; }
.rc-q { font-size: clamp(18px, 2vw, 21px); color: var(--text); line-height: 1.45; margin: 0 0 6px; }
.rc-think { color: var(--faint); font-size: 13.5px; margin: 0 0 16px; }
.rc-opts { display: grid; gap: 10px; }
.rc-opts button { text-align: left; font: inherit; color: var(--text); background: transparent; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius, 14px); padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.rc-opts button:hover:not(:disabled) { border-color: rgba(201,168,76,.6); }
.rc-opts button.right { border-color: #6FB58A; background: rgba(111,181,138,.12); }
.rc-opts button.wrong { border-color: #D07A6A; background: rgba(208,122,106,.12); }
.rc-opts button:disabled { cursor: default; }
.rc-after { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }
.rc-res { font-weight: 600; margin: 0 0 6px; } .rc-res.ok { color: #8FD0A6; } .rc-res.no { color: #E59A8A; }
.rc-why { color: var(--muted); margin: 0 0 12px; }
.rc-next-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--faint); }
.rc-link { color: var(--gold-hi); }
.rc-score { font-size: 20px; } .rc-score b { font-family: var(--serif, serif); font-size: 48px; color: var(--gold-hi); font-weight: 400; margin-right: 6px; }
.rc-dash { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 16px 20px; border: 1px solid rgba(201,168,76,.45); border-radius: var(--radius-lg, 18px); text-decoration: none; color: var(--text); }
.rc-dash span { color: var(--gold); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; display: block; }
.rc-quizlink { margin-top: 14px; font-size: 14.5px; } .rc-quizlink a { color: var(--gold-hi); }

/* ===== end mem */
/* ===== perf (img) 2026-12-01: images now carry width/height; keep grid cells from growing to the image's pixel width */
figure, picture, .ba-pair > *, .fig-grid > *, .csx-grid > * { min-width: 0; }
/* ===== end perf img */
/* ===== compare (cmp) 2026-12-01 */
.cmp-sec { padding: var(--space-9, 96px) 0; }
.cmp-lead { max-width: 52ch; color: var(--muted); }
.cmp-wrap { margin-top: var(--space-6, 32px); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-xl, 22px); overflow: hidden; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.06); }
.cmp thead th { border-top: 0; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cmp thead th.cmp-us { color: var(--gold); }
.cmp tbody th { color: var(--text); font-weight: 600; width: 22%; }
.cmp td { color: var(--muted); }
.cmp td.cmp-us { color: var(--text); background: rgba(201,168,76,.05); }
.cmp-no { color: var(--faint); }
.cmp-note { color: var(--faint); font-size: 13px; margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 720px) {
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.06); }
  .cmp tr:first-child { border-top: 0; }
  .cmp th, .cmp td { border: 0; padding: 4px 0; }
  .cmp tbody th { width: auto; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
  .cmp td.cmp-us { background: none; }
  .cmp td.cmp-us::before { content: "This course: "; color: var(--gold-hi); font-weight: 600; }
  .cmp td:not(.cmp-us)::before { content: "Alternatives: "; color: var(--faint); }
}
/* ===== end cmp */
/* ===== module cases (mc) 2026-12-01 */
.article .mc-list, .mc-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .mc-list { grid-template-columns: 1fr 1fr; } }
.mc-list a { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius, 14px); background: var(--surface); text-decoration: none; color: var(--text); height: 100%; transition: border-color .2s; }
.mc-list a:hover { border-color: rgba(201,168,76,.5); }
.mc-n { grid-row: span 3; font-family: var(--serif, serif); font-size: 26px; color: var(--gold-hi); line-height: 1; min-width: 32px; }
.mc-t { font-weight: 600; line-height: 1.3; }
.mc-w { color: var(--muted); font-size: 14px; }
.mc-tag { justify-self: start; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; border: 1px solid rgba(255,255,255,.16); color: var(--faint); }
.mc-tag.inc { border-color: rgba(201,168,76,.5); color: var(--gold-hi); }
.mc-more { margin-top: 12px; font-size: 14.5px; } .mc-more a { color: var(--gold-hi); }
html.rm .mc-list a { background: #fff; border-color: rgba(0,0,0,.08); color: #1c1b18; }
/* ===== end mc */

/* video lessons: samples grouped by topic */
.vl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.vl-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--text); font: 500 14px/1.2 var(--sans); text-decoration: none; background: var(--surface); transition: border-color var(--dur) var(--ease); }
.vl-chips a:hover, .vl-chips a:focus-visible { border-color: var(--gold); }
.vl-chips a span { color: var(--gold-hi); font-size: 12.5px; }
.vl-group { margin-top: 38px; scroll-margin-top: 90px; }
.vl-gh { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.vl-gh span { font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* before-you-read warm-up (pretest question from the module's own quiz) */
.warmup { margin: 34px 0 10px; padding: 20px 22px 16px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 16px; background: var(--surface); }
.warmup .wu-kick { margin: 0 0 6px; font: 600 11.5px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.warmup .wu-grid { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 18px; align-items: start; }
.warmup .wu-grid img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.warmup .wu-q { margin: 0 0 8px; font-size: 17px; line-height: 1.5; color: var(--text); }
.warmup .wu-hint { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.warmup details summary { display: inline-block; cursor: pointer; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--text); font: 500 14px/1.2 var(--sans); list-style: none; }
.warmup details summary::-webkit-details-marker { display: none; }
.warmup details summary:hover, .warmup details summary:focus-visible { border-color: var(--gold); }
.warmup details[open] summary { margin-bottom: 12px; }
.warmup .wu-a { margin: 0 0 6px; color: var(--text); }
.warmup .wu-a strong { color: var(--gold-hi); }
.warmup .wu-why { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .warmup .wu-grid { grid-template-columns: 1fr; } .warmup .wu-grid img { max-width: 260px; } }

/* part milestones between module parts */
.part-done { display: flex; align-items: center; gap: 14px; margin: 46px 0 8px; padding: 12px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.part-done .pd-tick { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background .5s ease, border-color .5s ease; }
.part-done .pd-tick::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #141210; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.4); opacity: 0; transition: transform .4s ease .2s, opacity .3s ease .2s; }
.part-done.seen .pd-tick { background: var(--gold); border-color: var(--gold); }
.part-done.seen .pd-tick::after { transform: rotate(45deg) scale(1); opacity: 1; }
.part-done .pd-t { display: flex; flex-direction: column; gap: 2px; font: 500 14px/1.4 var(--sans); }
.part-done .pd-t b { color: var(--gold-hi); font-weight: 600; letter-spacing: .02em; }
.part-done .pd-n { color: var(--muted); }
.part-done + h2 { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .part-done .pd-tick, .part-done .pd-tick::after { transition: none; } }
@media print { .part-done { display: none; } }

/* a common trap: first common mistake, surfaced mid-module */
.trap { position: relative; margin: 40px 0 6px; padding: 18px 20px 16px 62px; border-radius: 16px; background: linear-gradient(150deg, rgba(217,113,78,.12), rgba(217,113,78,0) 60%), var(--surface); border: 1px solid rgba(217,113,78,.35); }
.trap::before { content: "!"; position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--sans); color: #141210; background: #D9714E; }
.trap .tr-k { margin: 0 0 4px; font: 600 11.5px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #E39274; }
.trap .tr-t { margin: 0 0 6px; font-size: 17.5px; line-height: 1.45; color: var(--text); font-weight: 600; }
.trap .tr-x { margin: 0; color: var(--muted); }
.trap .tr-more { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--gold-hi); }

/* home trailer */
.trailer-sec .wrap { max-width: 1040px; }
.trailer-sec h2 { margin-bottom: 18px; }
.trailer-sec .csx-video video { border-radius: 20px; }

/* Retreatment at a glance (protocols page) */
.gmap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.gl-col { display: flex; flex-direction: column; gap: 10px; position: relative; }
.gl-col + .gl-col::before { content: ""; position: absolute; left: -11px; top: 14px; width: 8px; height: 8px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); }
.gl-part { margin: 0 0 4px; font: 600 13px/1.35 var(--sans); color: var(--text); }
.gl-part span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.gl-card { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color var(--dur) var(--ease); }
.gl-card:hover, .gl-card:focus-visible { border-color: var(--gold); }
.gl-n { font: 600 11px/1 var(--sans); color: var(--gold-hi); letter-spacing: .1em; }
.gl-t { font: 600 14px/1.3 var(--sans); }
.gl-k { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.article .glance-sec h2 { margin-top: 10px; }
@media (max-width: 980px) { .gmap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gl-col + .gl-col::before { display: none; } }
@media (max-width: 560px) { .gmap { grid-template-columns: 1fr; } }
@media print {
  #print-card .gmap { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  #print-card .gl-card { background: #fff !important; border: 1px solid #bbb; color: #111; padding: 6px; break-inside: avoid; }
  #print-card .gl-k { color: #333; font-size: 8.5pt; } #print-card .gl-t { font-size: 9.5pt; } #print-card .gl-part, #print-card .gl-part span { color: #111; }
  #print-card .js-print-card, #print-card .lead { display: none; }
}
.article a.gl-card, .article a.gl-card:hover { text-decoration: none; color: var(--text); }

/* accessibility: skip link, visible focus, reduced motion */
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #141210; font: 600 15px/1 var(--sans); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.vl-trailer { margin: 0 0 46px; }
.vl-trailer figcaption { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.vl-trailer figcaption strong { color: var(--text); }

/* Laptop fit (2026-12-02): on shorter desktop screens (laptops), scale headings, spacing and media to the window height */
@media (min-width: 901px) and (max-height: 900px) {
  h1 { font-size: clamp(44px, 11.5vh, 96px); }
  .hero h1 { font-size: clamp(48px, 12vh, 96px); }
  .article h1, .mod-hero h1, .csx-hero h1, .sh-hero h1, .pl-hero h1, .nf h1 { font-size: clamp(40px, 9.5vh, 76px); }
  h2 { font-size: clamp(30px, 7vh, 54px); }
  body.home h2 { font-size: clamp(34px, 8.2vh, 64px); }
  section { padding: clamp(48px, 11vh, 110px) 0; }
  .hero { padding-top: clamp(36px, 7vh, 80px); }
  .hero ~ section { padding-top: clamp(40px, 8vh, 72px); padding-bottom: clamp(40px, 8vh, 72px); }
  body.home main > section { padding: clamp(56px, 12vh, 120px) 0; }
  body.home main > section.hero { padding-top: clamp(36px, 7vh, 80px); padding-bottom: clamp(36px, 7vh, 72px); }
  .hero-photo img { max-height: 70vh; }
  .trailer-sec .wrap { max-width: min(1040px, calc(74vh * 16 / 9)); }
  .csx-video video { max-height: 78vh; }
  main figure > img, main figure > a > img, main figure > picture img { max-height: 78vh; width: auto; margin-inline: auto; }
  .feature-ba img { max-height: 72vh; object-fit: contain; }
}
