/* Holistic Yoga Center — brand tokens from the Visual & Editorial Identity book */
:root {
  --studio-white: #ffffff;
  --cool-white: #f4f4f4;
  --soft-grey: #a6a6a6;
  --ink: #000000;
  --ink-2: #000000;
  --rule: #dcdcdc;
  --destructive: #8a1f1f;
  --radius-control: 0px;
  --radius-frame: 28px;
  --head: Arial, Arimo, "Helvetica Neue", Helvetica, sans-serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 84px);
  --section: clamp(72px, 11vw, 152px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--studio-white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }

/* Type */
h1, h2, h3, .display {
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: clamp(38px, 5.6vw, 78px); }
h2 { font-size: clamp(30px, 3.7vw, 52px); }
h3 { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.25; }
h1 em, h2 em, h3 em, .display em { font-style: italic; font-weight: inherit; }
.display { font-weight: 700; }
p { margin: 0 0 1em; }
.label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-2); }
.fine { font-size: 14px; color: var(--ink-2); }

/* Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 1.5px solid var(--ink); border-radius: var(--radius-control);
  background: var(--ink); color: var(--studio-white);
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--studio-white); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--studio-white); }
.btn-light { background: var(--studio-white); color: var(--ink); border-color: var(--studio-white); }
.btn-light:hover { background: transparent; color: var(--studio-white); }
.text-link {
  font-weight: 600; font-size: 15px; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: transparent; }
.chip {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--soft-grey);
  border-radius: var(--radius-control); background: var(--studio-white);
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--studio-white); border-color: var(--ink); }
.chip[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.chip:not([disabled]):hover { border-color: var(--ink); }
.select {
  min-height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--soft-grey);
  border-radius: var(--radius-control); background: var(--studio-white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none; appearance: none; font-size: 15px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(1.2) blur(6px);
}
.bar { display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.brand .logo { display: block; width: 190px; height: 57px; }
.brand-word { font-family: var(--head); font-weight: 500; font-size: 21px; letter-spacing: 0.005em; margin-top: 4px; white-space: nowrap; }
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  background: none; border: 1px solid var(--ink); border-radius: var(--radius-control);
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.cart-count:not(:empty) { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; }
.nav-toggle { display: none; margin-left: auto; min-height: 40px; padding: 0 14px; background: none; border: 1px solid var(--ink); border-radius: var(--radius-control); font-size: 14px; font-weight: 600; cursor: pointer; }
@media (max-width: 900px) {
  .bar { flex-wrap: wrap; gap: 14px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px 0 12px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .brand .logo { width: 150px; height: 45px; }
  .brand-word { font-size: 18px; }
}

/* Sections */
.section { padding: var(--section) var(--gutter); }
.section.tight { padding-top: calc(var(--section) * .55); padding-bottom: calc(var(--section) * .55); }
.surface { background: var(--cool-white); }
.ink { background: var(--ink); color: var(--studio-white); }
.ink .lead, .ink .muted, .ink .fine, .site-footer .fine { color: #d6d6d6; }
.rule-top { border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .lead { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding: clamp(56px, 8vw, 120px) var(--gutter) 0; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.hero-copy .lead { margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.hero-figure { margin: clamp(48px, 7vw, 96px) 0 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); background: #ece9e8; overflow: hidden; }
.tiles img { display: block; width: calc(100% + 1px); max-width: none; height: auto; margin: 0 -1px -1px 0; }
.hero-figure figcaption, figure figcaption { font-size: 13px; color: var(--ink-2); margin-top: 14px; }
@media (max-width: 860px) { .hero-copy { grid-template-columns: 1fr; } }

/* Grids */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.cols-3 > div { border-top: 1.5px solid var(--ink); padding-top: 22px; }
.principle { padding: 28px 28px 8px 0; border-right: 1px solid var(--rule); }
.principle + .principle { padding-left: 28px; }
.principle:last-child { border-right: 0; }
.principle h3 { margin-bottom: 14px; }
@media (max-width: 960px) {
  .cols-3 { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: 1fr 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--rule); padding: 24px 0 !important; }
}
@media (max-width: 560px) { .cols-4 { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.frame { border-radius: var(--radius-frame); overflow: hidden; background: var(--cool-white); }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: var(--cool-white); }
.frame img, .arch img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 26px 0 34px; }
.ticks li { padding: 14px 0 14px 34px; border-top: 1px solid var(--rule); position: relative; }
.ink .ticks li { border-top-color: rgba(255, 255, 255, .2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 14px; height: 1.5px; background: currentColor; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Moments */
.moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.moment { aspect-ratio: 4 / 5; padding: 34px 28px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--rule); background: var(--studio-white); }
.moment.dark { background: var(--ink); color: var(--studio-white); border-color: var(--ink); }
.moment .display { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.22; }
.moment .sig { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
.moment .sig svg { width: 26px; height: 18px; }
@media (max-width: 1000px) { .moments { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .moments { grid-template-columns: 1fr; } .moment { aspect-ratio: auto; min-height: 260px; } }

.pause { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(56px, 8vw, 110px); }
.pause blockquote { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(21px, 2vw, 28px); line-height: 1.4; }
.pause blockquote p { margin: 0 0 .7em; }
@media (max-width: 860px) { .pause { grid-template-columns: 1fr; } }

/* Products */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
@media (max-width: 1100px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .products { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; }
.tile-link { text-decoration: none; display: block; }
.tile-media { position: relative; aspect-ratio: 4 / 5; background: var(--cool-white); overflow: hidden; }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.tile-media img.hover { opacity: 0; }
.tile-link:hover .tile-media img.hover { opacity: 1; }
.ribbons { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.ribbon { background: var(--studio-white); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; }
.tile-name { font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.3; margin: 16px 0 4px; }
.price { font-weight: 600; font-size: 15px; }
.price s { color: var(--ink-2); font-weight: 400; margin-left: 8px; }
.tile-meta { font-size: 13px; color: var(--ink-2); margin: 2px 0 0; }
.tile-action { margin-top: 14px; }
.tile-action .btn, .tile-action a.btn { min-height: 42px; padding: 0 18px; font-size: 14px; width: 100%; }
.skeleton { background: linear-gradient(90deg, var(--cool-white), #ececec, var(--cool-white)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } * { transition: none !important; } }

/* Shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 36px; }
.toolbar .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar .end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.facets { display: flex; flex-wrap: wrap; gap: 18px 32px; margin: -14px 0 30px; }
.facet { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.facet .label { margin: 0 6px 0 0; }
.state { padding: 60px 0; text-align: center; color: var(--ink-2); }
.state[role="alert"] { color: var(--destructive); }
.more { display: flex; justify-content: center; margin-top: 48px; }
.dim { opacity: .5; transition: opacity .2s; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.gallery-main { aspect-ratio: 4 / 5; background: var(--cool-white); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 92px; padding: 0; border: 1px solid var(--rule); background: var(--cool-white); cursor: pointer; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp h1 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 14px; }
.pdp .price { font-size: 20px; }
.opt { border: 0; padding: 0; margin: 28px 0 0; }
.opt legend { padding: 0; }
.opt .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--soft-grey); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 3px; }
.buy { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--soft-grey); min-height: 52px; }
.stepper button { width: 44px; height: 50px; background: none; border: 0; font-size: 20px; cursor: pointer; }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 36px; text-align: center; font-weight: 600; }
.buy .btn { flex: 1 1 200px; }
.note { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.alert { color: var(--destructive); font-size: 14px; margin-top: 12px; }
.desc { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rule); }
.desc :where(p, li) { color: var(--ink-2); }
.info details { border-top: 1px solid var(--rule); padding: 18px 0; }
.info summary { cursor: pointer; font-weight: 600; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } }

/* Course page */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: clamp(48px, 6vw, 80px); }
.facts div { padding: 26px 22px 22px 0; }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.facts strong { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; }
.facts span { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { border-left: 0; padding-left: 0; } .facts div { border-top: 1px solid var(--rule); } }
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--studio-white); }
.modules div { padding: 30px 24px 10px 0; }
.modules div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .2); }
.modules .display { font-size: clamp(30px, 3.4vw, 50px); font-style: italic; }
.modules span { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #bdbdbd; }
@media (max-width: 760px) { .modules { grid-template-columns: 1fr 1fr; } .modules div:nth-child(3) { border-left: 0; padding-left: 0; } }
.topics { columns: 2; column-gap: 48px; padding: 0; list-style: none; margin: 40px 0 0; }
.topics li { break-inside: avoid; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
@media (max-width: 560px) { .topics { columns: 1; } }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.steps div { border-top: 1.5px solid var(--ink); padding-top: 20px; }
.steps div::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; margin-bottom: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--rule); padding: 24px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--head); font-weight: 700; font-size: clamp(19px, 1.7vw, 22px); list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--ink-2); max-width: 44em; }
.band { text-align: center; }
.band h2 { max-width: 16em; margin: 0 auto 30px; }
.price-line { font-size: 15px; font-weight: 600; margin: 0 0 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 24px; }
.field > label, .field > .field-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--soft-grey);
  border-radius: var(--radius-control); background: var(--studio-white); font-size: 16px;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--destructive); }
.field .help { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.field .err { font-size: 13px; color: var(--destructive); margin: 6px 0 0; }
.thanks { border-top: 1.5px solid var(--ink); padding-top: 24px; }
.thanks p { font-family: var(--head); font-size: clamp(21px, 2.1vw, 28px); font-weight: 700; line-height: 1.35; }

/* Cart drawer */
.cart-layer { position: fixed; inset: 0; z-index: 40; }
.cart-layer[hidden] { display: none; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.cart-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--studio-white); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.12); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--rule); }
.cart-head h2 { font-size: 26px; }
.cart-head button { background: none; border: 0; font-weight: 600; cursor: pointer; text-decoration: underline; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 26px 26px; display: flex; flex-direction: column; }
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.cart-line img { width: 76px; height: 92px; object-fit: cover; background: var(--cool-white); }
.cart-line h3 { font-family: var(--head); font-size: 16px; margin: 0 0 4px; }
.cart-line .meta { font-size: 13px; color: var(--ink-2); margin: 0; }
.cart-line .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cart-line .stepper { min-height: 36px; }
.cart-line .stepper button { width: 32px; height: 34px; font-size: 16px; }
.cart-line .remove { background: none; border: 0; font-size: 13px; text-decoration: underline; cursor: pointer; color: var(--ink-2); }
.totals { margin-top: auto; padding-top: 20px; }
.totals dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0 0 8px; font-size: 15px; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; text-align: right; font-weight: 600; }
.totals .grand { font-size: 18px; color: var(--ink); }
.totals .btn { width: 100%; margin-top: 16px; }
body.locked { overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: var(--studio-white); padding: clamp(64px, 8vw, 110px) var(--gutter) 36px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .9fr); gap: 40px clamp(32px, 6vw, 96px); padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.site-footer .brand { color: var(--studio-white); align-items: flex-start; }
.site-footer .brand .logo { width: 250px; height: 75px; }
.site-footer .brand-word { font-size: 28px; }
.brand-line { font-family: var(--head); font-style: italic; font-weight: 700; font-size: 19px; margin: 18px 0 0; color: #d6d6d6; }
.footer-nav { display: grid; gap: 10px; }
.footer-nav a, .site-footer a { text-decoration: none; }
.footer-nav a:hover, .site-footer a:hover { text-decoration: underline; }
.disclaimer { font-size: 13px; color: #bdbdbd; max-width: 60em; margin: 28px 0 10px; }
.copy { font-size: 13px; color: #9a9a9a; margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Home: offer bar, intro, neurodivergence list, membership offer, benefits */
.promo-bar { background: var(--ink); color: var(--studio-white); text-align: center; padding: 11px var(--gutter); font-size: 14px; line-height: 1.5; }
.promo-bar p { margin: 0; }
.promo-bar a { color: var(--studio-white); font-weight: 600; margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; }
.code { display: inline-block; border: 1px dashed currentColor; padding: 0 8px; font-weight: 700; letter-spacing: .12em; }
.intro { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.intro .lead { margin-bottom: 1.2em; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }
.nd-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; font-family: var(--sans); font-weight: 400; font-size: clamp(19px, 2vw, 26px); line-height: 1.7; }
.nd-list li:not(:last-child)::after { content: "\00b7"; color: var(--soft-grey); margin: 0 .42em; }
.offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin: 30px 0 8px; }
.offer-price .now { font-family: var(--head); font-weight: 700; font-size: clamp(42px, 4.6vw, 60px); line-height: 1; }
.offer-price s { color: #bdbdbd; }
.offer-note { font-size: 15px; color: #d6d6d6; margin: 0; }
.ink .fine a { color: var(--studio-white); }
.benefits svg { display: block; width: 44px; height: 44px; margin-bottom: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.benefits svg .knob { fill: var(--studio-white); }
.benefits h3 { margin-bottom: 10px; }

/* Free e-book */
.ebook { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.book { aspect-ratio: 3 / 4; max-width: 360px; width: 100%; justify-self: center; background: var(--studio-white); border: 1px solid var(--rule); border-left: 14px solid var(--ink); box-shadow: 18px 18px 0 rgba(0, 0, 0, .06); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; }
.book .display { font-size: clamp(30px, 3vw, 40px); line-height: 1.12; }
.book .sig { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; margin: 0; }
.book .sig svg { width: 26px; height: 18px; }
@media (max-width: 860px) { .ebook { grid-template-columns: 1fr; } .book { max-width: 280px; } }
.thanks .btn { margin-top: 8px; }

/* Forms on a dark section */
.ink .field input, .ink .field textarea, .ink .field select { background: transparent; color: var(--studio-white); border-color: #6b6b6b; }
.ink .field input:focus, .ink .field textarea:focus, .ink .field select:focus { border-color: var(--studio-white); box-shadow: 0 0 0 1px var(--studio-white); }
.ink .field .err, .ink .alert { color: #ffb4b4; }
.ink .field [aria-invalid="true"] { border-color: #ffb4b4; }
.ink form .btn { background: var(--studio-white); color: var(--ink); border-color: var(--studio-white); }
.ink form .btn:hover { background: transparent; color: var(--studio-white); }
.ink .thanks { border-top-color: var(--studio-white); }

/* Footer extras and legal pages */
.follow a { display: block; margin-bottom: 6px; }
.copy a { margin-left: 18px; }
.legal h1 { font-size: clamp(34px, 4.6vw, 62px); margin-bottom: clamp(32px, 4vw, 56px); }
.legal-body { max-width: 46em; }
.legal-body p { color: var(--ink-2); margin-bottom: 1.4em; }

/* Photography */
.hero-figure .hero-img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.photo-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.photo-band figure { margin: 0; }
.photo-band img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-band figcaption.label { margin: 16px 0 0; color: var(--ink); }
@media (max-width: 760px) { .photo-band { grid-template-columns: 1fr; } .photo-band img { aspect-ratio: 3 / 2; } }
.cover-figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.cover-figure img { display: block; width: 100%; max-width: 400px; height: auto; box-shadow: 0 24px 50px rgba(0, 0, 0, .28); }
.cover-figure figcaption { margin-top: 22px; text-align: center; max-width: 26em; }
.ink figure figcaption { color: #d6d6d6; }
.ebook-cover { margin: 0; justify-self: center; width: 100%; max-width: 420px; }
.ebook-cover img { display: block; width: 100%; height: auto; box-shadow: 0 24px 50px rgba(0, 0, 0, .18); }

/* Why we teach */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); }
.reasons > div { border-top: 1.5px solid var(--ink); padding: 28px 0 44px; }
.reasons h3 { margin-bottom: 14px; max-width: 18em; }
.reasons p { margin: 0; max-width: 36em; }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

/* E-book pop-up */
.popup-layer { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.popup { position: relative; width: min(880px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--studio-white); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.popup:focus { outline: none; }
.popup-cover { background: var(--cool-white); display: flex; align-items: center; justify-content: center; padding: 36px 30px; }
.popup-cover img { display: block; width: 100%; max-width: 300px; height: auto; box-shadow: 0 18px 40px rgba(0, 0, 0, .2); }
.popup-body { padding: clamp(30px, 4vw, 48px); }
.popup-body h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; padding-right: 24px; }
.popup-body .muted { margin-bottom: 22px; }
.popup .field { margin-bottom: 16px; }
.popup .field input { min-height: 46px; }
.popup-close { position: absolute; top: 8px; right: 10px; z-index: 1; width: 44px; height: 44px; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink); }
.popup-later { display: inline-block; margin-top: 18px; padding: 0 0 2px; background: none; border: 0; border-bottom: 1.5px solid currentColor; font-size: 14px; color: var(--ink-2); cursor: pointer; }
@media (max-width: 680px) { .popup { grid-template-columns: 1fr; } .popup-cover { display: none; } }
@media (prefers-reduced-motion: no-preference) { .popup { animation: popup-in .3s ease-out; } @keyframes popup-in { from { opacity: 0; transform: translateY(14px); } } }

/* Course offer and Note To Self, as two sections */
.split.offer { align-items: start; }
.offer .ticks { margin-top: 0; }
.offer .hero-actions { margin-top: 30px; }

/* Offer bar stays on screen with the header */
.masthead { position: sticky; top: 0; z-index: 20; }
.masthead .site-header { position: relative; }
.promo-short { display: none; }
@media (max-width: 760px) { .promo-full { display: none; } .promo-short { display: inline; } .promo-bar { padding: 8px 14px; font-size: 13px; } }

/* Founder and her book */
.founder-book { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 0 28px; align-items: start; margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--rule); }
.founder-book img { display: block; width: 100%; height: auto; box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }
.founder-book h3 { margin-bottom: 10px; }
.founder-book .muted { margin-bottom: 14px; }
.book-price { font-size: 15px; margin: 0 0 18px; }
@media (max-width: 480px) { .founder-book { grid-template-columns: 96px minmax(0, 1fr); gap: 0 18px; } }

/* ===================== Luxury layer: elevated bohemian, monochrome ===================== */
:root { --line: rgba(0, 0, 0, .14); --ease: cubic-bezier(.2, .7, .2, 1); }

/* Type and controls */
.label { letter-spacing: .22em; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; line-height: 1.4; }
.eyebrow .num { font-family: var(--head); font-size: 13px; letter-spacing: .08em; }
.eyebrow .eb-line { width: 40px; height: 1px; background: currentColor; opacity: .5; flex: none; }
.btn { border-radius: 999px; min-height: 54px; padding: 0 32px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn .arr { display: inline-block; font-size: 15px; letter-spacing: 0; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.chip { border-radius: 999px; }
.text-link { letter-spacing: .02em; }
.site-nav a { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.cart-btn, .nav-toggle { border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 0 18px; }
.promo-bar { letter-spacing: .03em; }
@media (max-width: 900px) { .bar { gap: 10px; } .brand .logo { width: 140px; height: 42px; } .cart-btn, .nav-toggle { min-height: 38px; padding: 0 14px; font-size: 11px; letter-spacing: .1em; } }

/* Grain texture on tinted and dark sections */
.grain { position: relative; isolation: isolate; }
.grain::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ink.grain::before { filter: invert(1); opacity: .3; }

/* Lotus watermark */
.has-mark { position: relative; overflow: hidden; isolation: isolate; }
.watermark { position: absolute; z-index: -1; width: clamp(360px, 48vw, 760px); height: auto; aspect-ratio: 64 / 40; right: -8%; top: 50%; transform: translateY(-50%); opacity: .045; pointer-events: none; }
.ink .watermark { opacity: .06; }

/* Full-bleed hero */
.hero-lux { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(88vh, 900px); padding: clamp(120px, 14vw, 200px) var(--gutter) clamp(52px, 7vw, 100px); background: var(--ink); color: var(--studio-white); }
.hero-lux.short { min-height: min(74vh, 760px); }
.hero-lux-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: hero-drift 18s ease-out both; }
.hero-lux::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .58) 40%, rgba(0, 0, 0, .12) 78%), linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 46%); }
.hero-lux-copy { max-width: 780px; }
.hero-lux h1 { font-size: clamp(40px, 6vw, 86px); line-height: 1.03; letter-spacing: -0.02em; margin-bottom: 26px; }
.hero-lux .lead { color: rgba(255, 255, 255, .86); max-width: 34em; margin: 0 0 34px; }
.hero-lux .price-line { color: var(--studio-white); margin-bottom: 28px; }
.hero-lux .text-link { color: var(--studio-white); }
@keyframes hero-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (max-width: 760px) {
  .hero-lux, .hero-lux.short { min-height: 640px; }
  .hero-lux::after { background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .62) 55%, rgba(0, 0, 0, .28) 100%); }
}

/* Circular seal */
.seal { position: absolute; right: var(--gutter); bottom: clamp(48px, 6vw, 96px); width: clamp(128px, 12vw, 172px); color: var(--studio-white); pointer-events: none; }
.seal svg { display: block; width: 100%; height: auto; overflow: visible; }
.seal text { font-family: var(--sans); font-size: 11px; font-weight: 700; fill: currentColor; }
@media (max-width: 900px) { .seal { display: none; } }

/* Arches */
.arch img { transition: transform 1.4s var(--ease); }
.arch-frame { position: relative; margin: 0; }
.arch-frame::before { content: ""; position: absolute; inset: 16px -14px -16px 14px; border: 1px solid currentColor; border-radius: 999px 999px 0 0; opacity: .25; pointer-events: none; }
.arch-frame .arch { position: relative; }
.arch-frame:hover .arch img, .ritual:hover .arch img { transform: scale(1.045); }

/* Ritual arches */
.rituals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 48px); align-items: start; }
.ritual { margin: 0; }
.ritual:nth-child(2) { margin-top: clamp(0px, 7vw, 110px); }
.ritual .arch { aspect-ratio: 3 / 4; }
.ritual figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; margin-top: 22px; color: var(--ink); font-size: inherit; }
.ritual-num { grid-row: span 2; font-family: var(--head); font-style: italic; font-weight: 700; font-size: 15px; }
.ritual-name { font-family: var(--head); font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.ritual-note { grid-column: 2; font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) {
  .rituals { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .rituals::-webkit-scrollbar { display: none; }
  .ritual { scroll-snap-align: start; }
  .ritual:nth-child(2) { margin-top: 0; }
}

/* Mantra band */
.mantra { padding: clamp(52px, 7vw, 100px) var(--gutter); text-align: center; overflow: hidden; }
.mantra-line { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .12em .42em; font-family: var(--head); font-weight: 700; font-size: clamp(34px, 7vw, 104px); line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; }
.mantra-line .outline { color: transparent; -webkit-text-stroke: 1.2px var(--studio-white); }
.mantra-line svg { flex: none; width: .52em; height: .33em; opacity: .7; }
@supports not (-webkit-text-stroke: 1px #fff) { .mantra-line .outline { color: var(--soft-grey); } }

/* Neurodivergence chips */
.nd-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 7vw, 120px); align-items: center; }
.nd-list { gap: 12px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.4; }
.nd-list li { padding: 11px 22px; border: 1px solid rgba(0, 0, 0, .22); border-radius: 999px; background: rgba(255, 255, 255, .7); transition: background .3s var(--ease), color .3s var(--ease); }
.nd-list li:hover { background: var(--ink); color: var(--studio-white); }
.nd-list li:not(:last-child)::after { content: none; }
@media (max-width: 860px) { .nd-wrap { grid-template-columns: 1fr; } }

/* Membership price card */
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(56px, 8vw, 130px); align-items: center; }
.offer-grid .ticks { margin-bottom: 30px; }
.price-card { justify-self: center; width: 100%; max-width: 440px; text-align: center; padding: clamp(84px, 9vw, 120px) clamp(28px, 4vw, 52px) clamp(40px, 4vw, 54px); border: 1px solid rgba(255, 255, 255, .42); border-radius: 999px 999px 28px 28px; outline: 1px solid rgba(255, 255, 255, .16); outline-offset: 12px; background: radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 62%); }
.price-lotus { display: block; width: 58px; height: 36px; margin: 0 auto 20px; }
.price-card .label { margin-bottom: 16px; }
.price-now { margin: 0 0 12px; font-family: var(--head); font-weight: 700; font-size: clamp(58px, 6vw, 86px); line-height: 1; letter-spacing: -0.03em; }
.price-was { margin: 0 0 4px; font-size: 15px; color: #bdbdbd; }
.price-code { margin: 0 0 30px; font-size: 15px; color: #d6d6d6; }
.price-card .btn { width: 100%; }
.price-card .fine { margin: 18px 0 0; }
.price-card .fine + .fine { margin-top: 6px; }
@media (max-width: 860px) { .offer-grid { grid-template-columns: 1fr; } .price-card { outline-offset: 8px; } }

/* Benefit rings */
.benefits-lux { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
.benefit .ring { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 26px; border: 1px solid rgba(0, 0, 0, .22); border-radius: 50%; transition: border-color .35s var(--ease), transform .5s var(--ease); }
.benefit:hover .ring { border-color: var(--ink); transform: rotate(-8deg); }
.benefit .ring svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; color: var(--ink); }
.benefit .ring svg[viewBox="0 0 64 40"] { width: 46px; height: 29px; }
.benefit .ring svg .knob { fill: var(--studio-white); }
.benefit-num { margin: 0 0 8px; font-family: var(--head); font-style: italic; font-weight: 700; font-size: 14px; color: var(--soft-grey); }
.benefit h3 { margin-bottom: 10px; }
@media (max-width: 960px) { .benefits-lux { grid-template-columns: 1fr 1fr; } }
@media (max-width: 360px) { .benefits-lux { grid-template-columns: 1fr; } }

/* Lotus divider */
.divider { display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); }
.divider span { flex: 1; height: 1px; background: var(--line); }
.divider svg { width: 48px; height: 30px; color: var(--ink); }

/* Arched moment cards */
.moment { border-color: var(--line); border-radius: 999px 999px 20px 20px; padding: clamp(86px, 8vw, 112px) 28px 30px; text-align: center; align-items: center; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.moment:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0, 0, 0, .09); }
.moment .sig { justify-content: center; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 520px) { .moment { min-height: 320px; } }

/* Pause quote */
.pause blockquote { position: relative; padding-top: 58px; }
.pause blockquote::before { content: "\201C"; position: absolute; top: -22px; left: -4px; font-family: var(--head); font-weight: 700; font-size: 130px; line-height: 1; opacity: .12; }

/* Products in arches */
.tile-media { aspect-ratio: 1 / 1; border-radius: 22px; }
.tile-media img { transition: opacity .35s ease, transform 1.2s var(--ease); }
.tile-link:hover .tile-media img { transform: scale(1.04); }
.ribbons { left: 14px; top: 14px; }
@media (max-width: 1100px) and (min-width: 521px) { .moments { grid-template-columns: 1fr 1fr; } }

/* Founder and book */
.founder-book { margin-top: 44px; padding: 28px; border-top: 0; border-radius: 24px; background: var(--cool-white); }

/* Covers on arched backdrops */
.ebook-cover, .cover-figure.arched { position: relative; isolation: isolate; padding: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 52px) 0; }
.ebook-cover::before, .cover-figure.arched::before { content: ""; position: absolute; z-index: -1; inset: 0 0 -26px; border: 1px solid var(--line); border-radius: 999px 999px 0 0; background: var(--studio-white); }
.cover-figure.arched::before { background: var(--cool-white); }
.surface .cover-figure.arched::before { background: var(--studio-white); }

/* Course and inner pages */
.modules span { letter-spacing: .2em; }
.facts { border-color: var(--line); }
.hero.has-mark { padding-bottom: clamp(56px, 8vw, 110px); }

/* Footer */
.site-footer { position: relative; }
.footer-nav a { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }

/* Gentle reveal on scroll (skipped when reduced motion is requested) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-lux-img { animation: none; }
  .arch img, .tile-media img, .moment, .benefit .ring { transition: none; }
}

/* Arch stage: the whole photo sits inside an arched alcove, nothing cropped */
.arch-stage { margin: 0; width: 100%; max-width: 520px; justify-self: center; container-type: inline-size; }
.arch-stage.narrow { max-width: 440px; }
.arch-stage-in { position: relative; isolation: isolate; padding: 120px 44px 44px; padding: 26cqw 9cqw 9cqw; }
.arch-stage-in::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px 999px 0 0; background: var(--cool-white); }
.arch-stage-in::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -2; border: 1px solid currentColor; border-radius: 999px 999px 0 0; opacity: .25; }
.surface .arch-stage-in::before { background: var(--studio-white); }
.arch-stage img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 50px rgba(0, 0, 0, .16); }
.arch-crown { position: absolute; left: 50%; top: 9cqw; width: 11cqw; height: auto; aspect-ratio: 64 / 40; transform: translateX(-50%); opacity: .55; }
@media (max-width: 860px) { .arch-stage-in::after { inset: 12px -10px -12px 10px; } }

/* Seated yogi icon */
.benefit .ring svg.yogi { width: 44px; height: 44px; }
.benefit .ring svg.yogi .f { fill: var(--ink); stroke: none; }
.benefit .ring svg.yogi .s { fill: none; stroke: var(--ink); stroke-width: 2.1; }
.ritual figcaption { display: flex; flex-direction: column; gap: 2px; }
.founder-book .btn { white-space: nowrap; }
@media (max-width: 480px) { .founder-book { grid-template-columns: 1fr; } .founder-book img { width: 110px; margin-bottom: 18px; } }

/* About page */
.statement { text-align: center; }
.statement-big { margin: 0 auto 28px; max-width: 14em; font-family: var(--head); font-weight: 700; font-size: clamp(44px, 7.4vw, 110px); line-height: 1; letter-spacing: -0.025em; }
.statement .lead { margin: 0 auto; max-width: 36em; color: rgba(255, 255, 255, .84); }
.you-can { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
.you-can li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }
.you-can svg { flex: none; width: 28px; height: 18px; margin-top: 4px; }
@media (max-width: 760px) { .you-can { grid-template-columns: 1fr; } }
.closing-line { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 22em; text-align: center; font-family: var(--head); font-weight: 700; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.25; letter-spacing: -0.01em; }
.vision { text-align: center; }
.statement .eyebrow, .vision .eyebrow { justify-content: center; }
.vision h2 { margin-bottom: 32px; }
.vision-text { max-width: 46em; margin: 0 auto; }
.vision-text .lead { margin: 0 auto 18px; }
.vision-text p:not(.lead) { color: rgba(255, 255, 255, .78); }
.question-shift { display: grid; gap: 12px; max-width: 980px; margin: clamp(52px, 6vw, 84px) auto 0; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, .2); }
.question-shift p { margin: 0; }
.q-lead { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #bdbdbd; }
.q-old { font-family: var(--head); font-weight: 700; font-size: clamp(22px, 2.6vw, 34px); color: #8f8f8f; text-decoration: line-through; text-decoration-thickness: 1px; margin-bottom: 14px !important; }
.q-new { font-family: var(--head); font-weight: 700; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.1; letter-spacing: -0.02em; }

/* About: pillars, classes, mission and vision */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(80px, 7vw, 104px) 26px 34px; border: 1px solid var(--line); border-radius: 999px 999px 20px 20px; background: var(--studio-white); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0, 0, 0, .09); }
.pillar.dark { background: var(--ink); color: var(--studio-white); border-color: var(--ink); }
.pillar svg { width: 44px; height: 28px; margin-bottom: 18px; }
.pillar .label { margin-bottom: 10px; }
.pillar-title { margin: 0 0 14px; font-family: var(--head); font-weight: 700; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; }
.pillar p:last-child { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.pillar.dark p:last-child { color: #d0d0d0; }
@media (max-width: 1100px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.classes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); }
.class-card .arch-frame { max-width: 440px; }
.class-card h3 { margin: 34px 0 12px; }
@media (max-width: 760px) { .classes { grid-template-columns: 1fr; } }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); }
.mv > div { border-top: 1px solid var(--ink); padding-top: 30px; }
.mv h3 { margin-bottom: 14px; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.surface .question-shift { border-top-color: var(--line); text-align: center; }
.surface .q-lead { color: var(--ink-2); }
.surface .q-old { color: #9a9a9a; }

/* About: tall arches and inline price */
.arch-frame.tall { width: 100%; max-width: 440px; justify-self: center; }
.price-inline { display: flex; align-items: center; gap: 22px; margin: 34px 0 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.price-inline .price-now { margin: 0; }
.price-meta { margin: 0; font-size: 15px; line-height: 1.6; color: #d6d6d6; }

/* ---------- One deep black, one paragraph size ---------- */
.lead, .muted, .fine, .note, .ritual-note, .pillar p:last-child, .price-meta, .price-was, .price-code, .offer-note, .book-price, .price-line, .you-can li, .nd-list, .tile-meta, .disclaimer, .copy, figure figcaption { font-size: 17px; line-height: 1.7; }
.offer-note, .price-meta, .price-was, .price-code { color: var(--ink-2); }
.ink .lead, .ink .muted, .ink .fine, .site-footer .fine, .ink .offer-note, .ink .price-meta, .ink .price-was, .ink .price-code, .disclaimer, .copy { color: #d6d6d6; }
.ink.grain::before { display: none; }
.price-inline { border-top-color: var(--line); }
.ink .price-inline { border-top-color: rgba(255, 255, 255, .2); }
.hero-lux.short .hero-lux-img { object-position: 84% 50%; }

/* ---------- Course plan: module dropdowns ---------- */
.plan { border-top: 1px solid var(--ink); }
.pm { border-bottom: 1px solid var(--line); }
.pm summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 130px minmax(0, 1fr) auto 46px; align-items: center; gap: 24px; padding: 30px 0; }
.pm summary::-webkit-details-marker { display: none; }
.pm summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.pm-num, .pm-meta { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.pm-title { font-family: var(--head); font-weight: 700; font-size: clamp(26px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.015em; }
.pm-icon { position: relative; width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; transition: background .35s var(--ease); }
.pm-icon::before, .pm-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .45s var(--ease), background .35s var(--ease); }
.pm-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.pm summary:hover .pm-icon, .pm[open] .pm-icon { background: var(--ink); }
.pm summary:hover .pm-icon::before, .pm summary:hover .pm-icon::after, .pm[open] .pm-icon::before, .pm[open] .pm-icon::after { background: var(--studio-white); }
.pm[open] .pm-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.pm-body { padding: 0 0 44px 154px; }
.pm-body > .muted { max-width: 40em; margin: 0 0 26px; }
.pm-lessons { list-style: none; counter-reset: lesson; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
.pm-lessons li { counter-increment: lesson; break-inside: avoid; display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.pm-lessons li::before { content: counter(lesson, decimal-leading-zero); min-width: 24px; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.pm-lessons li > span:first-child { flex: 1; }
.pm-tag { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--ink); border-radius: 999px; padding: 1px 10px; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { .pm[open] .pm-body { animation: pm-in .55s var(--ease) both; } }
@keyframes pm-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .pm summary { grid-template-columns: minmax(0, 1fr) 42px; gap: 8px 18px; padding: 24px 0; }
  .pm-num { grid-column: 1; grid-row: 1; }
  .pm-title { grid-column: 1; grid-row: 2; }
  .pm-meta { grid-column: 1; grid-row: 3; }
  .pm-icon { grid-column: 2; grid-row: 1 / span 3; width: 42px; height: 42px; }
  .pm-body { padding-left: 0; }
  .pm-lessons { columns: 1; }
}

/* ---------- Pricing plan card ---------- */
.plan-card { justify-self: center; width: 100%; max-width: 460px; background: var(--studio-white); color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 34px 80px rgba(0, 0, 0, .45); }
.plan-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.plan-body { padding: clamp(30px, 3.4vw, 44px); text-align: center; }
.plan-body .label { margin: 0 0 14px; }
.plan-body .price-now { margin: 0 0 10px; }
.plan-was { margin: 0 0 26px; }
.plan-body .btn { width: 100%; }
.plan-list { list-style: none; margin: 30px 0 0; padding: 0; }
.plan-list li { padding: 16px 6px; border-top: 1px solid var(--line); }

/* ---------- Header: member log in ---------- */
.login-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); white-space: nowrap; transition: background .35s var(--ease), color .35s var(--ease); }
.login-btn:hover { background: var(--ink); color: var(--studio-white); }
.site-nav .nav-login { display: none; }
@media (max-width: 1320px) and (min-width: 1141px) { .bar { gap: 18px; } .site-nav { gap: 20px; } .site-nav a { letter-spacing: .12em; } .brand .logo { width: 160px; height: 48px; } }
@media (max-width: 1140px) {
  .bar { flex-wrap: wrap; gap: 10px; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; font-size: 11px; letter-spacing: .1em; }
  .site-nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px 0 12px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .brand .logo { width: 140px; height: 42px; }
  .login-btn { display: none; }
  .site-nav .nav-login { display: block; }
}
@media (max-width: 360px) { .brand .logo { width: 118px; height: 36px; } .bar { gap: 8px; } }
.site-footer a[href^="mailto"] { overflow-wrap: anywhere; }

/* ---------- Classes ---------- */
.class-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 44px; }
.class-filter[hidden] { display: none; }
.class-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(44px, 4vw, 60px) clamp(24px, 3vw, 40px); }
.class-tile[hidden] { display: none; }
.class-link { display: block; text-decoration: none; color: inherit; }
.class-media { position: relative; aspect-ratio: 2 / 1; border-radius: 22px; overflow: hidden; background: var(--cool-white); }
.class-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.class-link:hover .class-media img { transform: scale(1.04); }
.class-play { position: absolute; left: 16px; bottom: 16px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .94); transition: background .35s var(--ease); }
.class-play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); transition: border-color .35s var(--ease); }
.class-link:hover .class-play { background: var(--ink); }
.class-link:hover .class-play::before { border-left-color: var(--studio-white); }
.class-time { position: absolute; right: 16px; bottom: 16px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--studio-white); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.class-tile .label, .post-card .label { margin: 22px 0 8px; }
.class-tile h3 { margin: 0 0 10px; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; }
.class-tile .muted { margin: 0 0 16px; }
.class-cta { display: inline-block; padding-bottom: 3px; border-bottom: 1.5px solid currentColor; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: inherit; }
.pillar .class-cta { margin-top: 22px; }
.band .hero-actions { justify-content: center; }
@media (max-width: 1000px) { .class-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .class-grid, .post-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .class-media img, .post-media img { transition: none; } }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(44px, 4vw, 60px) clamp(24px, 3vw, 40px); }
.post-card a { display: block; text-decoration: none; color: inherit; }
.post-media { aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; background: var(--cool-white); }
.post-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card a:hover .post-media img { transform: scale(1.04); }
.post-card h3 { margin: 0 0 10px; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; }
.post-card .muted { margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-status:empty { display: none; }
.blog-more { display: flex; margin: 56px auto 0; }
.blog-more[hidden] { display: none; }
.article { max-width: 760px; margin: 0 auto; }
.article-back { display: inline-flex; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.article-tag { padding: 4px 14px; border: 1px solid var(--ink); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.article h1 { margin: 22px 0 18px; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.article-meta { margin: 0 0 40px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.article-cover { margin: 0 0 52px; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--cool-white); }
.article-cover[hidden] { display: none; }
.article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 17px; line-height: 1.7; }
.prose h2, .prose h3, .prose h4 { margin: 1.9em 0 .6em; font-family: var(--head); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); }
.prose h3, .prose h4 { font-size: clamp(21px, 2.2vw, 26px); }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin: 0 0 .6em; padding-left: .3em; }
.prose li p { margin: 0; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--ink); font-family: var(--head); font-weight: 700; font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; }
.prose blockquote p { margin: 0; }
.prose a { color: inherit; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.related { margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(56px, 7vw, 90px); border-top: 1px solid var(--line); }
.site-nav a { white-space: nowrap; }

/* ---------------------------------------------------------------- Member sign-in */
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { text-decoration: none; }
.link-button[disabled] { opacity: .5; cursor: default; }
.auth-split { align-items: start; }
.auth-wrap { max-width: 520px; }
.auth-lead { margin: 24px 0 30px; }
.auth-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.auth-tabs[hidden] { display: none; }
.auth-form .btn { width: 100%; margin-top: 4px; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 520px) { .auth-row { grid-template-columns: 1fr; } }
.auth-error { margin: 0 0 18px; padding: 12px 16px; border-left: 2px solid var(--destructive); background: #faf3f3; color: var(--destructive); font-size: 15px; line-height: 1.5; }
.auth-note { margin: 18px 0 0; }
.auth-message { padding: 26px 28px; border: 1px solid var(--line); border-radius: 22px; }
.account-facts { display: grid; gap: 18px; margin: 32px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.account-facts div { margin: 0; }
.account-facts dt { margin: 0 0 6px; }
.account-facts dd { margin: 0; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.buy-status { margin: 14px 0 0; font-size: 15px; line-height: 1.5; }
.ink .buy-status { color: #d6d6d6; }
.ink .plan-card .buy-status { color: var(--ink); }
@media (max-width: 860px) { .auth-art { display: none; } }

/* ---------------------------------------------------------------- Course player */
.learn-head { padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.learn-head-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.learn-head h1 { font-size: clamp(34px, 4.4vw, 60px); }
.learn-who { display: flex; align-items: center; gap: 18px; margin: 0; font-size: 15px; }
.learn-who[hidden] { display: none; }
.learn-who span { font-weight: 600; }
.learn { padding: clamp(36px, 5vw, 72px) var(--gutter) var(--section); }
.learn-gate { display: flex; justify-content: center; }
.learn-gate[hidden] { display: none; }
.gate-card { width: 100%; max-width: 640px; padding: clamp(36px, 5vw, 56px); border: 1px solid var(--line); border-radius: 999px 999px 22px 22px; text-align: center; padding-top: clamp(80px, 8vw, 110px); }
.gate-card[hidden] { display: none; }
.gate-card .hero-actions { justify-content: center; margin: 28px 0 0; }
.gate-card .fine { margin: 24px 0 0; }
.gate-title { margin: 0 0 16px; font-family: var(--head); font-weight: 700; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.learn-app { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.learn-app[hidden] { display: none; }
.learn-side { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow-y: auto; padding-right: 6px; }
.learn-progress { padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.learn-progress .label { margin-bottom: 8px; }
.learn-pct { margin: 0 0 12px; font-family: var(--head); font-weight: 700; font-size: 40px; line-height: 1; }
.learn-bar { height: 4px; border-radius: 4px; background: var(--rule); overflow: hidden; margin-bottom: 10px; }
.learn-bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .6s var(--ease); }
.learn-progress .fine { margin: 0; }
.learn-toc-wrap > summary { display: none; }
.toc-module { padding: 24px 0 6px; border-bottom: 1px solid var(--line); }
.toc-module-label { display: flex; justify-content: space-between; margin: 0 0 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.toc-module-count { letter-spacing: .04em; color: var(--ink-2); font-weight: 600; }
.toc-module-title { margin: 0 0 10px; font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.2; }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-item { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; width: 100%; padding: 9px 10px; margin: 0 -10px; width: calc(100% + 20px); border: 0; border-radius: 10px; background: none; text-align: left; font-size: 15px; line-height: 1.45; cursor: pointer; transition: background .25s var(--ease); }
.toc-item:hover { background: var(--cool-white); }
.toc-item[aria-current="step"] { background: var(--ink); color: var(--studio-white); }
.toc-check { width: 16px; height: 16px; margin-top: 3px; border: 1px solid currentColor; border-radius: 50%; opacity: .55; }
.toc-item.is-done .toc-check { opacity: 1; background: currentColor; box-shadow: inset 0 0 0 3px var(--studio-white); }
.toc-item.is-done[aria-current="step"] .toc-check { box-shadow: inset 0 0 0 3px var(--ink); }
.toc-item.is-quiz .toc-text { font-style: italic; font-weight: 600; }
.learn-main { max-width: 760px; outline: none; }
.learn-crumb { margin-bottom: 18px; }
.learn-title { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 clamp(28px, 3vw, 40px); }
.learn-loading { color: var(--ink-2); }
.prose table { width: 100%; margin: 1.6em 0 2em; border-collapse: collapse; font-size: 16px; line-height: 1.55; }
.prose th, .prose td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:first-child td, .prose th { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1.5px solid var(--ink); }
.prose td p, .prose th p { margin: 0; }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.learn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin: clamp(36px, 4vw, 56px) 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.learn-done { margin: 0; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.learn-done::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 3px var(--studio-white); border: 1px solid var(--ink); }
.learn-done[hidden] { display: none; }
.learn-pager { display: flex; justify-content: space-between; gap: 20px; margin: 30px 0 0; font-size: 15px; }
.learn-pager [hidden] { display: none; }
.learn-pager [data-next] { margin-left: auto; }
@media (max-width: 960px) {
  .learn-app { grid-template-columns: 1fr; gap: 28px; }
  .learn-side { position: static; max-height: none; overflow: visible; padding: 0; }
  .learn-toc-wrap { border-bottom: 1px solid var(--line); }
  .learn-toc-wrap > summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
  .learn-toc-wrap > summary::-webkit-details-marker { display: none; }
  .learn-toc-wrap > summary::after { content: "+"; font-size: 22px; font-weight: 300; letter-spacing: 0; }
  .learn-toc-wrap[open] > summary::after { content: "\2212"; }
  .toc-module:last-child { border-bottom: 0; }
}

/* ---------------------------------------------------------------- Quizzes */
.quiz { margin-top: 8px; }
.quiz[hidden] { display: none; }
.quiz-q { margin: 0 0 22px; padding: 26px 26px 22px; border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s var(--ease); }
.quiz-q legend { display: flex; gap: 14px; padding: 0; font-family: var(--head); font-weight: 700; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.35; float: left; width: 100%; margin-bottom: 10px; }
.quiz-q legend + * { clear: both; }
.quiz-num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; margin-top: -1px; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--sans); font-size: 13px; }
.quiz-hint { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.quiz-opt { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 12px 14px; margin: 0 0 8px; border: 1px solid var(--rule); border-radius: 12px; cursor: pointer; font-size: 16px; line-height: 1.5; transition: border-color .25s var(--ease), background .25s var(--ease); }
.quiz-opt:hover { border-color: var(--ink); }
.quiz-opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #000; }
.quiz-opt:has(input:checked) { border-color: var(--ink); background: var(--cool-white); }
.quiz-result { margin: 12px 0 0; font-weight: 700; font-size: 15px; }
.quiz-q.is-right { border-color: var(--ink); }
.quiz-q.is-wrong { border-color: var(--destructive); }
.quiz-q.is-wrong .quiz-result { color: var(--destructive); }
.quiz-q .field { margin: 0; }
.quiz-q textarea { min-height: 160px; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.quiz-score { margin: 0; font-weight: 600; }
