/* Nona Domus — design tokens */
:root {
  --ink: #0e0c13;
  --night: #15121c;
  --night-2: #1d1927;
  --line-d: rgba(233, 226, 211, .14);
  --text-d: #ece5d6;
  --muted-d: #aaa1b3;
  --paper: #f4eee2;
  --paper-2: #ebe3d3;
  --line-l: rgba(29, 24, 36, .14);
  --text-l: #1d1824;
  --muted-l: #5d5563;
  --gold: #c9a76c;
  --gold-hi: #e2c48f;
  --gold-deep: #7d5f2c;
  --danger: #b4483f;
  --serif: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text-d);
  font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .glyph { margin: 0 auto 1rem; }
.d-block { display: block; }
.muted { color: var(--muted-d); }
.small { font-size: 1rem; }
.measure { max-width: 60ch; }

/* Type */
.display, .display-2, .h2, .h3, h1, h2, h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; line-height: 1.45; margin: 0 0 .5em; }
.display { font-size: clamp(2.35rem, 5vw, 3.5rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
.display-2 { font-size: clamp(2.35rem, 5vw, 3.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
.h2 { font-size: 1rem; }
.h3 { font-size: 1rem; line-height: 1.15; }
.lede { font-size: 1rem; line-height: 1.55; color: var(--text-d); max-width: 54ch; }
.eyebrow {
  font: 500 1rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 1.2rem; display: flex; align-items: center; gap: .6em;
}
.eyebrow-gold { color: var(--gold-hi); }
em { font-style: italic; }

/* Glyphs */
.glyph { width: 28px; height: 28px; color: var(--gold); }
.glyph-inline { width: 18px; height: 18px; display: inline-block; }
.glyph-lg { width: 44px; height: 44px; }
.glyph-xl { width: 96px; height: 96px; stroke-width: .7; }
.gold { color: var(--gold); }

/* Buttons */
.btn {
  --bg: var(--text-d); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8rem 1.5rem;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg); border-radius: 0;
  font: 500 1rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --bg: var(--gold-hi); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-ghost { --bg: transparent; color: var(--text-d); border-color: var(--line-d); }
.btn-ghost:hover { --bg: transparent; color: var(--gold-hi); border-color: var(--gold); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); }
.btn-small { min-height: 40px; padding: .55rem 1rem; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { color: var(--gold); text-decoration: none; font-size: 1rem; white-space: nowrap; }
.link-arrow:hover { color: var(--gold-hi); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 12, 19, .82); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line-d); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--gold); transition: transform 1.2s var(--ease); }
.brand:hover .brand-mark { transform: rotate(30deg); }
.brand-name { font-family: var(--sans); font-size: 1rem; letter-spacing: .01em; margin: 0; line-height: 1; }
.brand-name em { color: var(--gold); }
.nav ul { list-style: none; display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 1rem; color: var(--muted-d); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-d); }
.nav .nav-cta a { color: var(--ink); }
.nav-toggle { display: none; }

/* Sections */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head-row .h2 { margin: 0; max-width: 18ch; }
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(32px, 5vw, 56px); }

/* Light sections (parchment) */
.split, .curriculum, .free-band, .journal-teaser,
body:not(.is-home) main { background: var(--paper); color: var(--text-l); color-scheme: light; }
body:not(.is-home) .product-head { background: var(--paper); }
.split .muted, .curriculum .muted, .free-band .muted, .journal-teaser .muted, body:not(.is-home) main .muted { color: var(--muted-l); }
.split .eyebrow, .curriculum .eyebrow, .free-band .eyebrow, .journal-teaser .eyebrow, body:not(.is-home) main .eyebrow { color: var(--gold-deep); }
.split .lede, body:not(.is-home) main .lede { color: var(--text-l); }
:is(.split, .curriculum, .free-band, .journal-teaser, body:not(.is-home) main) .btn { --bg: var(--text-l); --fg: var(--paper); }
:is(.split, .curriculum, .free-band, .journal-teaser, body:not(.is-home) main) .btn:hover { --bg: var(--gold-deep); color: var(--paper); }
:is(.split, .curriculum, .free-band, .journal-teaser, body:not(.is-home) main) .btn-ghost { --bg: transparent; color: var(--text-l); border-color: var(--line-l); }
:is(.split, .curriculum, .free-band, .journal-teaser, body:not(.is-home) main) .btn-gold { --bg: var(--text-l); --fg: var(--gold-hi); }
:is(.split, .curriculum, .free-band, .journal-teaser, body:not(.is-home) main) .glyph,
:is(.split, .curriculum, .free-band, .journal-teaser, body:not(.is-home) main) .link-arrow { color: var(--gold-deep); }
:is(.split, .curriculum, .free-band, .journal-teaser, body:not(.is-home) main) a:hover { color: var(--gold-deep); }
:is(.split, .curriculum, .free-band, .journal-teaser, body:not(.is-home) main) :focus-visible { outline-color: var(--gold-deep); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 120px); isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 600px at 78% 40%, rgba(201, 167, 108, .10), transparent 60%),
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.7), transparent 50%),
    radial-gradient(1px 1px at 32% 78%, rgba(255,255,255,.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 52% 12%, rgba(255,255,255,.6), transparent 50%),
    radial-gradient(1px 1px at 8% 66%, rgba(255,255,255,.45), transparent 50%),
    radial-gradient(1px 1px at 44% 40%, rgba(255,255,255,.35), transparent 50%),
    radial-gradient(1.2px 1.2px at 92% 86%, rgba(255,255,255,.5), transparent 50%),
    radial-gradient(1px 1px at 68% 92%, rgba(255,255,255,.4), transparent 50%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero .display { max-width: 11ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 3rem; }
.hero-facts { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin: 0; padding-top: 1.6rem; border-top: 1px solid var(--line-d); max-width: 520px; }
.hero-facts dt { font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); order: 2; }
.hero-facts div { display: flex; flex-direction: column-reverse; }
.hero-facts dd { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1; color: var(--gold-hi); }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-wheel { width: 100%; height: auto; color: var(--gold); opacity: .92; }
.wheel .w-sign { font-family: var(--sans); font-size: 1rem; fill: var(--gold-hi); stroke: none; }
.wheel .w-planet { font-family: var(--sans); font-size: 1rem; fill: var(--text-d); stroke: none; }
.wheel .w-house { font-family: var(--sans); font-size: 1rem; fill: currentColor; stroke: none; opacity: .65; }
.wheel .w-aspect { opacity: .45; }
.hero-wheel .w-rot { transform-origin: 50% 50%; animation: turn 240s linear infinite; }
@keyframes turn { to { transform: rotate(-360deg); } }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
.reveal:nth-child(2) { animation-delay: .08s; } .reveal:nth-child(3) { animation-delay: .16s; } .reveal:nth-child(4) { animation-delay: .24s; } .reveal:nth-child(5) { animation-delay: .32s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Traditions */
.traditions { background: var(--night); border-top: 1px solid var(--line-d); }
.quad { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.quad-item { padding: 2rem 1.6rem 2rem 0; border-right: 1px solid var(--line-d); }
.quad-item + .quad-item { padding-left: 1.6rem; }
.quad-item:last-child { border-right: 0; }
.quad-item h3 { font-size: 1rem; margin: 1.4rem 0 .6rem; }
.quad-item p { color: var(--muted-d); margin: 0; font-size: 1rem; }
.quad-glyph .glyph { width: 34px; height: 34px; }

/* Split */
.split-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-copy p { max-width: 56ch; }
.photo { margin: 0; overflow: hidden; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02); }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 2 / 1; }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0; }
.ticks li { position: relative; padding: .55rem 0 .55rem 1.9rem; border-top: 1px solid var(--line-l); }
.bundle-card .ticks li, .traditions .ticks li { border-color: var(--line-d); }
.ticks li::before { content: '✦'; position: absolute; left: 0; top: .55rem; color: var(--gold-deep); font-size: 1rem; }
.bundle-card .ticks li::before { color: var(--gold); }

/* Rows (curriculum) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid currentColor; }
.row { border-bottom: 1px solid var(--line-l); }
.row-link { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 11rem 5rem 5rem 1.5rem; gap: 1rem; align-items: center; padding: 1.4rem 0; text-decoration: none; transition: padding .35s var(--ease), background .35s var(--ease); }
a.row-link:hover { padding-left: .8rem; background: rgba(201,167,108,.10); }
.row-num { font-family: var(--sans); font-size: 1rem; color: var(--gold-deep); }
.row-title { display: block; font-family: var(--sans); font-size: 1rem; line-height: 1.1; }
.row-sub { display: block; color: var(--muted-l); font-size: 1rem; margin-top: .2rem; }
.row-meta { font-size: 1rem; color: var(--muted-l); }
.row-price { font-family: var(--sans); font-size: 1rem; text-align: right; }
.row-arrow { color: var(--gold-deep); transition: transform .3s var(--ease); }
a.row-link:hover .row-arrow { transform: translateX(4px); }

/* Bundle band */
.bundle-band { overflow: hidden; isolation: isolate; }
.bundle-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .32; filter: saturate(.7); }
.bundle-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 15%, rgba(14,12,19,.6)); }
.bundle-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.bundle-card { background: rgba(21, 18, 28, .82); border: 1px solid rgba(201,167,108,.35); padding: clamp(24px, 3vw, 40px); backdrop-filter: blur(6px); }
.bundle-price { font-family: var(--sans); font-size: 1rem; line-height: 1; margin: 1.4rem 0 .4rem; color: var(--gold-hi); }
.bundle-price s, .buy-price s, .bundle-inline-price s { font-size: 1rem; margin-left: .3em; }

/* Steps */
.how { background: var(--night); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.steps li { border-top: 1px solid var(--gold); padding-top: 1.4rem; }
.step-n { font-family: var(--sans); font-size: 1rem; color: var(--gold); letter-spacing: .1em; }
.steps h3 { font-size: 1rem; margin: .8rem 0 .5rem; }
.steps p { color: var(--muted-d); margin: 0; }

/* Free band */
.free-band { background: var(--paper-2); }
.free-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.free-art { display: grid; place-items: center; color: var(--gold-deep); }
.free-art .glyph-xl { width: min(260px, 60vw); height: auto; color: var(--gold-deep); }
.free-head .free-grid { grid-template-columns: 1.2fr .8fr; }
.free-head .wheel { color: var(--gold-deep); width: 100%; }
.free-head .wheel .w-sign { fill: var(--gold-deep); }
.free-head .wheel .w-planet { fill: var(--text-l); }

/* Forms */
.signup { display: grid; grid-template-columns: 1fr auto; gap: .6rem; max-width: 560px; margin-top: 1.6rem; }
.signup .signup-note, .signup .form-msg { grid-column: 1 / -1; margin: .2rem 0 0; }
input[type=email], input[type=text], input:not([type]), textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem; font: inherit; font-size: 1rem; color: inherit; background: transparent;
  border: 1px solid currentColor; border-radius: 0; opacity: .95;
}
input::placeholder, textarea::placeholder { color: inherit; opacity: .55; }
.form { display: grid; gap: 1.1rem; margin-top: 2rem; }
.form label { display: grid; gap: .35rem; font-size: 1rem; }
.form-msg { min-height: 1.4em; font-size: 1rem; }
.form-msg.ok, .form-ok { color: #2f6b45; }
.form-msg.err, .form-error { color: var(--danger); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; line-height: 1.45; margin: 1.2rem 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--gold-deep); flex: none; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.card a { display: flex; flex-direction: column; height: 100%; padding: 1.8rem 0; border-top: 1px solid var(--text-l); text-decoration: none; }
.card-title { font-size: 1rem; line-height: 1.12; margin: .6rem 0 .8rem; }
.card a:hover .card-title { color: var(--gold-deep); }
.card .link-arrow { margin-top: auto; padding-top: 1rem; }

/* Product */
.product-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.crumbs { margin-bottom: 2rem; color: var(--muted-l); }
.crumbs a { color: inherit; }
.product-aside { position: sticky; top: 96px; }
.buy-box { background: #fffcf5; border: 1px solid var(--line-l); padding: 1.8rem; box-shadow: 0 30px 60px -40px rgba(29,24,36,.35); }
.buy-price { font-family: var(--sans); font-size: 1rem; line-height: 1; margin: 0 0 .4rem; }
.buy-box .signup { grid-template-columns: 1fr; }
.pay-icons { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 1rem 0 .4rem; }
.pay-icons li { border: 1px solid var(--line-l); padding: .2rem .5rem; font-size: 1rem; }
.product-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); }
.chapters { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.chapters li { display: grid; grid-template-columns: 3rem 1fr; gap: .8rem; padding: 1.1rem 0; border-top: 1px solid var(--line-l); }
.bundle-inline { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; padding: 1.8rem; background: var(--text-l); color: var(--paper) !important; text-decoration: none; }
.bundle-inline .muted { color: #bdb4c4 !important; }
.bundle-inline .eyebrow { color: var(--gold) !important; margin-bottom: .5rem; }
.bundle-inline-glyph .glyph { color: var(--gold) !important; }
.bundle-inline-price { font-family: var(--sans); font-size: 1rem; color: var(--gold-hi); white-space: nowrap; }
.bundle-inline:hover { background: #2a2333; }
.note-card { border: 1px solid var(--line-l); padding: clamp(24px, 4vw, 40px); margin: 2rem 0; background: rgba(255,255,255,.35); }

/* Prose */
.prose { font-size: 1rem; }
.prose h2 { font-size: 1rem; margin: 2.2em 0 .5em; }
.prose p, .prose li { max-width: 66ch; }
.prose strong { font-weight: 600; }
.prose a { color: var(--gold-deep); }
.prose ul { padding-left: 1.2rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--line-l); }
.faq details:last-child { border-bottom: 1px solid var(--line-l); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2rem 1.2rem 0; position: relative; font-family: var(--sans); font-size: 1rem; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 1.1rem; font-family: var(--sans); font-weight: 300; font-size: 1rem; color: var(--gold-deep); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--muted-l); max-width: 64ch; }

/* Library */
.lib-item { padding: 1.6rem 0; border-top: 1px solid var(--line-l); }
.lib-item h2 { display: flex; gap: .6rem; align-items: center; }
.lib-files { list-style: none; padding: 0; margin: 0; }
.lib-files li { padding: .5rem 0; }

/* Footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-d); padding: clamp(56px, 8vw, 96px) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer-brand .brand-name { font-size: 1rem; margin-bottom: .8rem; }
.footer-brand p { max-width: 34ch; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-list a { color: var(--muted-d); text-decoration: none; font-size: 1rem; }
.footer-list a:hover { color: var(--gold-hi); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-d); }
.footer-base p { margin: 0; max-width: 70ch; }
.lang-note span { opacity: .7; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .split-grid, .bundle-grid, .free-grid, .free-head .free-grid, .product-grid, .product-body { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; order: -1; opacity: .9; }
  .hero { padding-top: 32px; }
  .quad { grid-template-columns: 1fr 1fr; }
  .quad-item { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line-d); }
  .quad-item:nth-child(odd) { padding-right: 1.6rem; border-right: 1px solid var(--line-d); }
  .quad-item:nth-child(even) { padding-left: 1.6rem !important; }
  .row-link { grid-template-columns: 2.6rem minmax(0, 1fr) auto; }
  .row-meta, .row-arrow { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-aside { position: static; }
  .free-art { max-width: 280px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-grid; place-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; }
  .nav-toggle span:not(.sr) { display: block; width: 22px; height: 1px; background: var(--text-d); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav ul { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 2rem; background: var(--ink); border-bottom: 1px solid var(--line-d); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s; }
  .nav ul.open { transform: none; opacity: 1; visibility: visible; }
  .nav li a { display: block; padding: 1rem 0; font-size: 1rem; border-bottom: 1px solid var(--line-d); }
  .nav .nav-cta { margin-top: 1rem; } .nav .nav-cta a { border: 0; }
  .signup { grid-template-columns: 1fr; }
  .quad { grid-template-columns: 1fr; }
  .quad-item { padding: 1.6rem 0 !important; border-right: 0 !important; }
  .hero-facts dd { font-size: 1rem; }
  .bundle-inline { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .row-price { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer { display: none; } body { background: #fff; color: #000; } }
@media (max-width: 760px) { .hero-art { max-width: 300px; } }

/* ---- Framed details: double hairlines like an old manuscript plate ---- */
.btn { position: relative; isolation: isolate; }
.btn::after {
  content: ''; position: absolute; inset: 3px; border: 1px solid currentColor; opacity: .32; pointer-events: none;
  transition: inset .3s var(--ease), opacity .3s var(--ease);
}
.btn:hover::after { inset: 5px; opacity: .55; }
.btn-gold::after, .btn:not(.btn-ghost)::after { border-color: var(--gold); opacity: .7; }
.btn-ghost { border-color: rgba(201, 167, 108, .55); }
.btn-ghost::after { border-color: var(--gold); opacity: .25; }
.btn[disabled]::after { display: none; }

.photo { position: relative; padding: 12px; border: 1px solid rgba(125, 95, 44, .45); background: var(--paper); }
.photo::before { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(125, 95, 44, .25); pointer-events: none; }
.photo::after { content: ''; position: absolute; inset: 24px; border: 1px solid rgba(242, 236, 224, .6); pointer-events: none; }
.photo img { position: relative; z-index: 0; }

.bundle-card, .buy-box, .note-card { position: relative; }
.bundle-card::after, .buy-box::after, .note-card::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(201, 167, 108, .3); pointer-events: none; }
.buy-box::after, .note-card::after { border-color: rgba(125, 95, 44, .22); }
.signup input[type=email] { border-color: rgba(125, 95, 44, .55); }
.signup input[type=email]:focus { border-color: var(--gold-deep); outline: 1px solid var(--gold-deep); outline-offset: 2px; }

/* ---- Type scale: three UI sizes only (body 17 · meta 14 · label 12) ---- */
:root { --fs-body: 1.0625rem; --fs-meta: .875rem; --fs-label: .75rem; }
.small, .row-sub, .row-meta, .crumbs, .check, .signup-note, .form-msg, .footer-list a, .nav a, .faq details p { font-size: 1rem; }
.btn { font-size: 1rem; letter-spacing: .04em; }
.btn-small { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.row-sub { font-size: 1rem; }
/* Lining figures for every price and number set in the serif */
.buy-price, .bundle-price, .bundle-inline-price, .row-price, .hero-facts dd, .row-num, .step-n { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: 'lnum' 1, 'tnum' 1; }

/* Buy box */
.buy-box { padding: 2rem 1.8rem 1.6rem; }
.buy-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-l); }
.buy-price { font-size: 1rem; font-weight: 500; margin: 0; letter-spacing: -.01em; }
.buy-vat { margin: 0; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-l); }
.buy-meta { margin: 0; padding: .4rem 0; }
.buy-meta div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line-l); font-size: 1rem; }
.buy-meta dt { color: var(--muted-l); }
.buy-meta dd { margin: 0; text-align: right; }
.buy-box .check { margin: 1.3rem 0 1.2rem; color: var(--muted-l); }
.buy-box .check a { color: var(--text-l); }
.buy-foot { margin: 1.1rem 0 0; text-align: center; font-size: 1rem; line-height: 1.8; letter-spacing: .04em; color: var(--muted-l); }
.pay-icons { display: none; }

/* ---- Five traditions ---- */
.quad { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .quad { grid-template-columns: 1fr 1fr; } .quad-item:last-child { grid-column: 1 / -1; border-right: 0 !important; } }
@media (max-width: 760px) { .quad { grid-template-columns: 1fr; } }

/* ---- Rounded: pill buttons and inputs, soft-cornered frames ---- */
:root { --r-lg: 22px; --r-md: 14px; }
.btn, .signup input[type=email], .form input, .form textarea { border-radius: 999px; }
.form textarea { border-radius: var(--r-md); }
.btn::after { border-radius: 999px; }
.photo { border-radius: var(--r-lg); }
.photo::before { border-radius: calc(var(--r-lg) - 5px); }
.photo::after { border-radius: calc(var(--r-lg) - 16px); }
.photo img { border-radius: calc(var(--r-lg) - 12px); }
.bundle-card, .buy-box, .note-card, .bundle-inline { border-radius: var(--r-lg); }
.bundle-card::after, .buy-box::after, .note-card::after { border-radius: calc(var(--r-lg) - 6px); }
.bundle-band .bundle-card { overflow: hidden; }
.check input { border-radius: 6px; }
.skip { border-radius: 999px; }


/* Use the same type family in every interface element. */
body * { font-family: var(--sans); }
.row-title, .row-price, .bundle-price, .bundle-inline-price, .buy-price, .hero-facts dd {
  font-weight: 600;
}

/* Small pointer motion adds depth to the natal wheel without affecting touch users. */
.hero-wheel {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-origin: center;
  transition: transform .55s var(--ease);
}
.photo img { transition: transform .65s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .photo:hover img { transform: scale(1.025); }
  a.row-link:focus-visible .row-arrow { transform: translateX(4px); }
}


/* Shared typography: Geist throughout, one readable text size. */
body, body * { font-family: var(--sans) !important; }
body { font-size: 1rem; }
body * { font-size: 1rem !important; }
.display, .display-2 {
  font-size: clamp(2.35rem, 4.8vw, 3.5rem) !important;
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}
h1, h2, h3, h4, .h2, .h3, .card-title, .row-title, .faq summary {
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}
.nav-toggle, .btn, .btn-small, .motion-toggle { min-height: 48px; }
.nav-toggle { min-width: 48px; }
.motion-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  min-width: 48px;
  padding: .7rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(14, 12, 19, .9);
  color: var(--text-d);
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { transform: translateY(-2px); background: var(--night-2); }
.motion-toggle:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.hero-wheel .w-rot { transform-box: fill-box; transform-origin: center; }
.hero-wheel.is-paused .w-rot { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .hero-wheel .w-rot { animation: none !important; }
  .motion-toggle { display: none !important; }
}

/* Section titles are main titles too: one step up from body, still restrained. */
body .h2, body .section-head .h2, body .page-head .h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem) !important; line-height: 1.15; letter-spacing: -.015em; }

/* Breathing room: nothing sits flush against the footer, cards get generous inner space. */
main > :last-child { padding-bottom: clamp(72px, 9vw, 128px); }
.article .note-card, .page-head .note-card { margin: clamp(40px, 6vw, 72px) 0 0; }
.note-card { padding: clamp(28px, 4vw, 44px); }
.note-card > :first-child { margin-top: 0; }
.note-card .h3 { margin-bottom: .4rem; }
.note-card .signup { margin-top: 1.4rem; gap: .75rem; align-items: stretch; }
.note-card .signup-note { margin-top: .6rem; max-width: 52ch; }
.note-card .form-msg:empty { display: none; }
.signup input[type=email], .signup .btn { min-height: 52px; }
.signup .btn { padding-inline: 1.6rem; white-space: nowrap; }

/* Mobile polish: quieter tracking so labels never break mid phrase. */
.hero-facts dt { letter-spacing: .08em; white-space: nowrap; }
.hero-facts dd { font-size: 1.25rem !important; font-weight: 600; }
@media (max-width: 760px) {
  .eyebrow { letter-spacing: .12em; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1rem; }
  .hero-facts dt { letter-spacing: .04em; }
  .quad-item, .quad-item:nth-child(even), .quad-item + .quad-item { padding: 1.6rem 0 !important; border-right: 0 !important; }
}
@media (max-width: 760px) { .eyebrow-extra { display: none; } }
/* No pause button: the wheel pauses while the pointer rests on it. */
.motion-toggle { display: none !important; }
@media (hover: hover) { .hero-art:hover .w-rot { animation-play-state: paused; } }
/* Navigation in antique gold, like the eyebrow labels. */
.nav a:not(.btn) { color: var(--gold); }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--gold-hi); }
/* Human Design tool */
.hd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hd-form input[type=date], .hd-form input[type=time] { width: 100%; min-height: 52px; padding: .75rem 1rem; font: inherit; color: inherit; background: transparent; border: 1px solid rgba(125,95,44,.55); border-radius: 999px; }
.hd-suggest { list-style: none; margin: -.6rem 0 0; padding: .4rem; border: 1px solid var(--line-l); border-radius: 18px; background: #fffdf8; }
.hd-suggest li { padding: .6rem .8rem; border-radius: 12px; cursor: pointer; }
.hd-suggest li[aria-selected="true"], .hd-suggest li:hover { background: #f1e8d6; }
.hd-result { margin: 2.5rem 0; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-l); border-radius: 22px; background: #fffdf8; }
.hd-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; margin: 1.5rem 0; }
.hd-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-l); }
.hd-facts dt { color: var(--muted-l); } .hd-facts dd { margin: 0; font-weight: 600; text-align: right; }
.hd-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; } .hd-acts ul { list-style: none; padding: 0; margin: 0; } .hd-acts li { padding: .25rem 0; }
.hd-notes ol { padding-left: 1.2rem; } .hd-notes li { margin-bottom: .4rem; overflow-wrap: anywhere; }
@media (max-width: 640px) { .hd-row, .hd-facts, .hd-acts { grid-template-columns: 1fr; } }
/* Header call to action: same type size and case as the other menu items */
.nav .nav-cta .btn-small { min-height: 40px; padding: .5rem 1.1rem; font-size: 1rem; font-weight: 400; letter-spacing: normal; text-transform: none; line-height: 1; }
/* Podcast episodes in the library */
.lib-audio { display: grid; gap: .5rem; padding: .9rem 0; border-bottom: 1px solid var(--line, rgba(0,0,0,.08)); }
.lib-audio:last-child { border-bottom: 0; }
.lib-audio-title { font-weight: 500; }
.lib-audio audio { width: 100%; max-width: 560px; height: 40px; border-radius: 999px; }
