:root {
  --ink: #17140f;
  --ink-soft: #302b24;
  --paper: #f8f5ef;
  --paper-deep: #efe8dc;
  --paper-white: #fffdf9;
  --gold: #a77839;
  --gold-deep: #7d5528;
  --gold-pale: #d9bf91;
  --line: rgba(91, 68, 38, 0.22);
  --muted: #6f675d;
  --dark: #14120f;
  --dark-2: #1f1a14;
  --light-text: #f8f1e6;
  --serif: "EB Garamond", Georgia, serif;
  --hebrew: "Noto Serif Hebrew", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(45, 32, 17, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-200%);
  transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 239, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.12; letter-spacing: .12em; }
.brand span { font-size: .76rem; font-weight: 700; }
.brand small { margin-top: 4px; font-size: .64rem; color: var(--muted); letter-spacing: .15em; }
.nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-link { text-decoration: none; font-size: .9rem; color: var(--muted); }
.nav-link:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fffaf1;
  text-decoration: none;
  font-weight: 700;
  font-size: .93rem;
  letter-spacing: .01em;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}
.button:hover { transform: translateY(-2px); background: var(--gold-deep); }
.button-small { min-height: 42px; padding: 0 17px; font-size: .84rem; }
.button-dark { background: var(--ink); border-color: var(--ink); }
.button-dark:hover { background: #000; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--gold-pale); padding-bottom: 3px; }

.eyebrow { margin: 0 0 18px; font-size: .76rem; letter-spacing: .16em; font-weight: 800; color: var(--gold-deep); }
.eyebrow.light { color: #d5b276; }

h1, h2, h3, h4, blockquote p, .lead-serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3, h4 { margin: 0; line-height: .98; }
h1 { font-size: clamp(3.4rem, 7vw, 6.9rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.8rem, 5.4vw, 5.1rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
em { font-weight: 400; color: var(--gold); }

.hero { padding: 74px 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center; }
.hero-copy { padding: 24px 0; }
.hero-copy h1 { max-width: 760px; }
.hero-lead { max-width: 650px; margin: 30px 0 0; font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.founding-line { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.founding-line strong { color: var(--ink); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.micro { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }
.hero-visual { position: relative; min-height: 630px; }
.hero-visual::before { content: ""; position: absolute; inset: 28px -24px -28px 46px; border: 1px solid var(--gold-pale); z-index: 0; }
.hero-visual img { position: relative; z-index: 1; width: 100%; height: 630px; object-fit: cover; object-position: 59% center; box-shadow: var(--shadow); }
.hero-card { position: absolute; z-index: 2; left: -44px; bottom: 28px; width: min(360px, 84%); padding: 24px 28px; background: rgba(248,245,239,.96); border: 1px solid var(--gold-pale); box-shadow: var(--shadow); display: grid; gap: 6px; }
.hero-card .card-kicker { font-size: .69rem; letter-spacing: .15em; font-weight: 800; color: var(--gold-deep); }
.hero-card strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.1; }
.hero-card span:last-child { color: var(--muted); font-size: .88rem; }

.demo-section { background: var(--dark); color: var(--light-text); padding: 96px 0 88px; }
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.demo-intro h2 { max-width: 560px; font-size: clamp(3rem, 5vw, 5.3rem); }
.demo-intro p:not(.eyebrow) { max-width: 630px; color: #d5cabb; font-size: 1.03rem; }
.codex-card { background: #0b0a08; border: 1px solid rgba(216,190,145,.42); padding: 30px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.codex-topline { display: flex; justify-content: space-between; gap: 20px; color: #bda37a; font-size: .68rem; letter-spacing: .16em; font-weight: 800; border-bottom: 1px solid rgba(216,190,145,.2); padding-bottom: 14px; }
.codex-ref { margin: 26px 0 2px; color: #d7ccbb; font-size: .92rem; }
.codex-value { font-family: var(--serif); font-size: clamp(5rem, 9vw, 8rem); color: #f6ead7; line-height: .94; }
.math-flow { margin-top: 26px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid rgba(216,190,145,.2); }
.math-flow > div { display: grid; gap: 6px; }
.math-flow small { color: #a98c60; letter-spacing: .13em; font-weight: 800; }
.math-flow strong { font-size: 1rem; }
.math-flow > span { color: var(--gold-pale); font-size: 1.3rem; }

.discovery-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(216,190,145,.24); border-bottom: 1px solid rgba(216,190,145,.24); }
.discovery-step { position: relative; padding: 34px 26px 38px; border-right: 1px solid rgba(216,190,145,.18); }
.discovery-step:last-child { border-right: 0; }
.step-num { display: block; color: #8f744f; font-family: var(--serif); font-size: 1.2rem; }
.step-label { margin: 22px 0 10px; font-size: .67rem; letter-spacing: .15em; color: #b99a69; font-weight: 800; }
.discovery-step h3 { margin-bottom: 16px; line-height: 1.05; }
.discovery-step p:last-child, .discovery-step > p:not(.step-label):not(.hebrew) { color: #cabfaf; }
.discovery-step strong { color: #fff6e8; }
.hebrew, .hebrew-inline { font-family: var(--hebrew); }
.hebrew { font-size: 1.55rem; color: #e0c28f !important; letter-spacing: .02em; }
.hebrew-inline { color: #e3c28c; }
.accent-step { background: rgba(167,120,57,.08); }
.pattern-band { padding: 50px 0 0; text-align: center; }
.pattern-label { margin: 0 0 16px; color: #b99a69; font-size: .68rem; letter-spacing: .16em; font-weight: 800; }
.pattern-flow { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; align-items: center; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.3rem); color: #f2e6d4; }
.pattern-flow b { color: #a97e45; font-weight: 400; }
.pattern-note { max-width: 850px; margin: 22px auto 0; color: #afa494; font-size: .93rem; }

.purpose-section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.purpose-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 76px; align-items: start; }
.purpose-grid h2 { max-width: 500px; }
.lead-serif { margin: 0 0 16px; font-size: 1.75rem; line-height: 1.25; }
.purpose-copy > p:not(.lead-serif) { color: var(--muted); max-width: 720px; }
.method-row { margin-top: 34px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.method-row span { padding: 16px 10px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .84rem; }
.method-row b { display: block; margin-bottom: 8px; color: var(--gold-deep); }

.membership-section { padding: 104px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; align-items: end; }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 { max-width: 650px; }
.section-head > p:last-child { margin: 0; color: var(--muted); max-width: 500px; }
.benefit-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-card { position: relative; padding: 34px 28px 42px; border-right: 1px solid var(--line); }
.benefit-card:last-child { border-right: 0; }
.benefit-meta { display: block; margin-bottom: 26px; font-size: .7rem; letter-spacing: .14em; color: var(--gold-deep); font-weight: 800; }
.benefit-number { position: absolute; top: 31px; right: 25px; color: #a18c70; font-family: var(--serif); font-size: 1.45rem; }
.benefit-card h3 { padding-right: 18px; line-height: 1.03; }
.benefit-card p { color: var(--muted); }
.primary-benefit { background: #f2ecdf; }
.included-grid { margin-top: 38px; display: grid; gap: 24px; }
.included-card { border: 1px solid var(--line); background: var(--paper-white); padding: 42px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 52px; align-items: start; }
.tag { display: inline-block; margin-bottom: 16px; color: var(--gold-deep); font-size: .69rem; letter-spacing: .15em; font-weight: 800; }
.included-card h3 { margin-bottom: 12px; }
.included-card h4 { font-size: 1.9rem; line-height: 1.08; margin-bottom: 12px; }
.included-card p { color: var(--muted); }
.included-card strong { color: var(--ink); }
.subtle { font-size: .9rem; }
.course-benefit { background: var(--paper-deep); }
.course-stats { display: flex; gap: 9px; flex-wrap: wrap; align-content: flex-start; }
.course-stats span { padding: 8px 10px; border: 1px solid var(--gold-pale); font-size: .76rem; color: var(--gold-deep); background: rgba(255,255,255,.45); }

.proof-section { padding: 96px 0 110px; background: #eee7db; }
.proof-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: end; }
.proof-head .eyebrow { align-self: start; }
.proof-head h2 { max-width: 800px; }
.testimonials { margin-top: 56px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.testimonial { margin: 0; padding: 34px; border: 1px solid rgba(125,85,40,.28); background: rgba(255,253,249,.72); }
.testimonial p { margin: 0; font-size: 1.45rem; line-height: 1.3; }
.testimonial footer { margin-top: 22px; color: var(--gold-deep); font-size: .85rem; }
.featured-quote { grid-row: span 3; padding: 48px; background: var(--ink); color: #f7efe3; display: flex; flex-direction: column; justify-content: center; }
.featured-quote p { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.featured-quote footer { color: #d4b37c; }

.teacher-section { padding: 106px 0; }
.teacher-grid { display: grid; grid-template-columns: .72fr 1.08fr .7fr; gap: 50px; align-items: start; }
.teacher-photo { position: sticky; top: 110px; }
.teacher-photo img { width: 100%; aspect-ratio: .78; object-fit: cover; object-position: center 18%; box-shadow: var(--shadow); }
.teacher-copy h2 { font-size: clamp(2.9rem, 4.5vw, 4.5rem); }
.teacher-copy p { color: var(--muted); }
.teacher-copy strong { color: var(--ink); }
.teacher-id { margin-top: 28px; display: grid; gap: 2px; padding-top: 22px; border-top: 1px solid var(--line); }
.teacher-id span { color: var(--muted); font-size: .86rem; }
.welcome-card { margin-top: 32px; padding: 28px; border: 1px solid var(--gold-pale); background: #f1eadf; }
.welcome-card h3 { margin-bottom: 20px; }
.welcome-card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.welcome-card li { margin-bottom: 10px; }
.welcome-card p:last-child { margin-bottom: 0; color: var(--gold-deep); font-weight: 700; }

.pricing-section { padding: 100px 0; background: var(--dark); color: var(--light-text); }
.pricing-head { text-align: center; }
.pricing-head h2 { margin-inline: auto; max-width: 780px; }
.pricing-head > p:last-child { color: #cabdac; }
.price-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; }
.price-card { position: relative; padding: 38px; border: 1px solid rgba(216,190,145,.28); background: #201b15; }
.price-card.recommended { border-color: #c59a59; background: #f6efe4; color: var(--ink); transform: translateY(-10px); }
.recommend-badge { position: absolute; top: 0; right: 0; transform: translateY(-50%); padding: 8px 12px; background: var(--gold); color: white; font-size: .66rem; letter-spacing: .14em; font-weight: 800; }
.price-label { color: #cfb17f; font-size: .71rem; letter-spacing: .15em; font-weight: 800; }
.recommended .price-label { color: var(--gold-deep); }
.price { font-family: var(--serif); font-size: 6.6rem; line-height: .88; margin-top: 18px; }
.price span { font-size: 3rem; vertical-align: top; }
.price-period { color: #bcae9d; }
.recommended .price-period, .recommended > p:not(.price-label) { color: var(--muted); }
.price-card .button { width: 100%; margin-top: 20px; }
.price-card small { display: block; margin-top: 14px; color: #aa9e8f; }
.recommended small { color: var(--muted); }
.pricing-notes { max-width: 900px; text-align: center; margin-top: 36px; color: #b7aa99; font-size: .89rem; }

.faq-section { padding: 100px 0; }
.faq-wrap { display: grid; grid-template-columns: .62fr 1.38fr; gap: 70px; }
.faq-head h2 { font-size: clamp(2.9rem, 4.5vw, 4.5rem); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { list-style: none; cursor: pointer; font-family: var(--serif); font-size: 1.34rem; line-height: 1.2; padding-right: 36px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); color: var(--gold); font-family: var(--sans); }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; color: var(--muted); margin-bottom: 2px; }

.final-cta { padding: 110px 0; text-align: center; background: linear-gradient(rgba(20,18,15,.93), rgba(20,18,15,.93)), url('assets/torah-study.jpg') center / cover; color: #f8f0e5; }
.final-inner { max-width: 870px; }
.final-inner h2 { margin-inline: auto; }
.final-inner p:not(.eyebrow) { max-width: 680px; margin: 24px auto 30px; color: #d3c6b6; font-size: 1.05rem; }

.site-footer { background: #0f0d0b; color: #d9cdbc; border-top: 1px solid rgba(216,190,145,.16); }
.footer-inner { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand small { color: #9f9384; }
.site-footer a { color: #d9cdbc; text-decoration: none; font-size: .88rem; }

@media (max-width: 1020px) {
  .hero-grid, .demo-grid, .purpose-grid, .section-head, .proof-head, .teacher-grid, .faq-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .hero-visual { min-height: 520px; }
  .hero-visual img { height: 520px; }
  .hero-card { left: 18px; }
  .demo-grid { gap: 42px; }
  .discovery-grid { grid-template-columns: repeat(2, 1fr); }
  .discovery-step:nth-child(2) { border-right: 0; }
  .discovery-step:nth-child(-n+2) { border-bottom: 1px solid rgba(216,190,145,.18); }
  .method-row { grid-template-columns: repeat(3, 1fr); }
  .section-head { gap: 24px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-card:last-child { border-bottom: 0; }
  .included-card { grid-template-columns: 1fr; gap: 22px; }
  .testimonials { grid-template-columns: 1fr; }
  .featured-quote { grid-row: auto; }
  .teacher-grid { gap: 32px; }
  .teacher-photo { position: relative; top: auto; max-width: 520px; }
  .welcome-card { margin-top: 0; }
  .faq-wrap { gap: 38px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { position: relative; }
  .nav-wrap { min-height: 68px; }
  .nav-link { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { gap: 36px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.8rem); }
  h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .hero-lead { font-size: 1.04rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .hero-visual { min-height: 420px; }
  .hero-visual::before { inset: 14px -10px -14px 20px; }
  .hero-visual img { height: 420px; }
  .hero-card { left: 12px; right: 12px; width: auto; bottom: 14px; }
  .demo-section, .purpose-section, .membership-section, .proof-section, .teacher-section, .pricing-section, .faq-section { padding: 72px 0; }
  .codex-card { padding: 22px; }
  .codex-topline { flex-direction: column; gap: 4px; }
  .codex-value { font-size: 5.6rem; }
  .math-flow { grid-template-columns: 1fr; }
  .math-flow > span { transform: rotate(90deg); justify-self: center; }
  .discovery-grid { grid-template-columns: 1fr; }
  .discovery-step { border-right: 0; border-bottom: 1px solid rgba(216,190,145,.18); }
  .discovery-step:last-child { border-bottom: 0; }
  .pattern-flow { gap: 8px; }
  .method-row { grid-template-columns: 1fr 1fr; }
  .benefit-card, .included-card, .testimonial, .featured-quote, .price-card { padding: 26px; }
  .proof-head { gap: 16px; }
  .testimonial p { font-size: 1.28rem; }
  .featured-quote p { font-size: 1.8rem; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.recommended { transform: none; margin-top: 12px; }
  .price { font-size: 5.7rem; }
  .final-cta { padding: 80px 0; }
  .footer-inner { padding: 26px 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* V2 premium contrast pass */
.site-header {
  background: rgba(18, 15, 12, 0.94);
  border-bottom-color: rgba(216,190,145,.18);
}
.site-header .brand span,
.site-header .nav-link { color: #f3eadc; }
.site-header .brand small { color: #aa9c8b; }
.site-header .nav-link:hover { color: #fff8ec; }

.hero {
  background: var(--dark);
  color: var(--light-text);
  padding: 64px 0 88px;
}
.hero .shell { width: min(1280px, calc(100% - 40px)); }
.hero-grid { grid-template-columns: .76fr 1.24fr; gap: 64px; }
.hero-copy h1 { max-width: 620px; }
.hero-lead { color: #d4c8b8; }
.hero .text-link { color: #f4eadb; border-bottom-color: rgba(216,190,145,.42); }
.hero .founding-line { border-top-color: rgba(216,190,145,.2); color: #b8ab9b; }
.hero .founding-line strong { color: #f6ecde; }
.hero .micro { color: #9f9385; }
.hero-visual { min-height: 0; }
.hero-visual::before { inset: 24px -18px -24px 36px; border-color: rgba(216,190,145,.56); }
.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.hero-card {
  left: -28px;
  bottom: 24px;
  background: rgba(24,20,15,.95);
  border-color: rgba(216,190,145,.46);
  color: #f6eddf;
}
.hero-card .card-kicker { color: #d3aa6c; }
.hero-card span:last-child { color: #b9ac9b; }

.demo-section {
  background: #eee3d2;
  color: var(--ink);
  padding-top: 92px;
}
.demo-section .eyebrow.light { color: var(--gold-deep); }
.demo-intro p:not(.eyebrow) { color: #5f574d; }
.codex-card { background: #11100d; }
.math-flow { align-items: stretch; }
.reduction-block {
  min-height: 150px;
  padding: 16px 14px 12px;
  border: 1px solid rgba(216,190,145,.18);
  background: rgba(255,255,255,.02);
  align-content: center;
  text-align: center;
}
.reduction-block .equation {
  color: #c6b7a3;
  font-size: .9rem;
  letter-spacing: .04em;
}
.reduction-result {
  display: block;
  font-family: var(--serif);
  font-weight: 400 !important;
  font-size: clamp(4.2rem, 7vw, 6.4rem) !important;
  line-height: .8;
  color: #f0c985;
  margin-top: 8px;
}
.discovery-grid {
  border-top-color: rgba(92,67,36,.22);
  border-bottom-color: rgba(92,67,36,.22);
}
.discovery-step { border-right-color: rgba(92,67,36,.18); }
.discovery-step .step-num { color: #9a7748; }
.discovery-step .step-label { color: #7d5528; }
.discovery-step h3 { color: var(--ink); }
.discovery-step > p:not(.step-label):not(.hebrew),
.discovery-step p:last-child { color: #5d554c; }
.discovery-step strong { color: #231d17; }
.discovery-step .hebrew { color: #8b602c !important; }
.discovery-step .hebrew-inline { color: #8b602c; }
.accent-step { background: rgba(125,85,40,.07); }
.step-result {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(4.6rem, 7.5vw, 7.2rem);
  line-height: .78;
  letter-spacing: -.055em;
  color: #8e5f29;
}
.step-result.wide { font-size: clamp(3.8rem, 6.2vw, 5.8rem); }
.pattern-band {
  margin-top: 54px;
  padding: 42px 28px;
  background: #17130f;
  border: 1px solid rgba(125,85,40,.22);
}
.pattern-label { color: #c6a26d; }
.pattern-flow { color: #f4eadb; }
.pattern-note { color: #b8aa99; }

.purpose-section {
  background: #211b15;
  color: #f5ecdf;
  border-bottom-color: rgba(216,190,145,.18);
}
.purpose-section .eyebrow { color: #cba76f; }
.purpose-copy > p:not(.lead-serif) { color: #c4b7a6; }
.method-row span { color: #d7cbbb; border-top-color: rgba(216,190,145,.22); }
.method-row b { color: #d7b474; }

.membership-section {
  background: #12100d;
  color: #f6eddf;
  border-top: 1px solid rgba(216,190,145,.14);
}
.membership-section .eyebrow,
.membership-section .benefit-meta,
.membership-section .tag { color: #c9a66e; }
.section-head > p:last-child { color: #b7aa9a; }
.benefit-grid { border-top-color: rgba(216,190,145,.18); border-bottom-color: rgba(216,190,145,.18); }
.benefit-card { border-right-color: rgba(216,190,145,.14); background: #17130f; }
.benefit-number { color: #9b7b50; }
.benefit-card p { color: #c0b3a3; }
.primary-benefit { background: #211a13; }
.included-card {
  background: #191510;
  border-color: rgba(216,190,145,.2);
}
.included-card p { color: #bdb0a0; }
.included-card strong { color: #f3eadb; }
.included-card h4, .included-card h3 { color: #f6eddf; }
.course-benefit { background: #211910; }
.course-stats span {
  background: rgba(216,190,145,.06);
  border-color: rgba(216,190,145,.32);
  color: #d8b87f;
}

.proof-section { background: #dfd1bd; }
.testimonial { background: rgba(248,241,230,.82); border-color: rgba(92,67,36,.24); }
.featured-quote { background: #18140f; color: #f6eddf; }

.teacher-section {
  background: #1b1712;
  color: #f5ecdf;
}
.teacher-section .eyebrow { color: #cba76f; }
.teacher-copy p { color: #c2b5a4; }
.teacher-copy strong { color: #f5ecdf; }
.teacher-id { border-top-color: rgba(216,190,145,.2); }
.teacher-id span { color: #a99c8d; }
.welcome-card {
  background: #241d16;
  border-color: rgba(216,190,145,.3);
}
.welcome-card ul { color: #d3c7b7; }
.welcome-card p:last-child { color: #d8b778; }

.pricing-section {
  background: #0f0d0a;
  border-top: 1px solid rgba(216,190,145,.16);
}

.faq-section {
  background: #17130f;
  color: #f5ecdf;
}
.faq-section .eyebrow { color: #cba76f; }
.faq-list { border-top-color: rgba(216,190,145,.2); }
details { border-bottom-color: rgba(216,190,145,.18); }
details p { color: #c1b4a4; }
summary::after { color: #d1ad74; }

.final-cta { border-top: 1px solid rgba(216,190,145,.14); }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-visual { max-width: 900px; }
}

@media (max-width: 720px) {
  .site-header { background: #12100d; }
  .hero { padding-top: 42px; }
  .hero .shell { width: min(100% - 28px, 1280px); }
  .hero-visual { min-height: 0; }
  .hero-visual::before { inset: 10px -7px -10px 12px; }
  .hero-visual img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
  .hero-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 18px);
    margin: -12px 0 0 18px;
  }
  .math-flow { grid-template-columns: 1fr; }
  .reduction-block { min-height: 128px; }
  .reduction-result { font-size: 5rem !important; }
  .discovery-step { border-bottom-color: rgba(92,67,36,.18); }
  .pattern-band { margin-top: 34px; padding: 32px 18px; }
  .benefit-card { border-bottom-color: rgba(216,190,145,.16); }
}

/* V3 conversion/value pass */
.hero.hero-immersive {
  position: relative;
  min-height: 720px;
  padding: 0;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(90deg, #090806 0%, rgba(9,8,6,.99) 20%, rgba(9,8,6,.92) 37%, rgba(9,8,6,.60) 54%, rgba(9,8,6,.12) 75%, rgba(9,8,6,.02) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.48) 100%),
    url('assets/torah-study.jpg') center right / cover no-repeat;
  color: #f7efe2;
  overflow: hidden;
}
.hero.hero-immersive::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgba(9,8,6,.58));
  pointer-events: none;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 720px;
  padding: 74px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy { width: min(620px, 50%); padding: 0; }
.hero-copy h1 {
  max-width: none;
  font-size: clamp(4.8rem, 7.2vw, 7.4rem);
  line-height: .80;
  letter-spacing: -.055em;
  color: #f8f0e4;
}
.hero-subhead {
  margin: 24px 0 0;
  max-width: 610px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: .98;
  color: #eadbc7;
}
.hero-lead {
  margin-top: 28px;
  max-width: 610px;
  color: #d7c8b5;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.42;
}
.hero-offer-row {
  margin-top: 30px;
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  border-top: 1px solid rgba(215,180,122,.35);
  border-bottom: 1px solid rgba(215,180,122,.35);
  background: rgba(0,0,0,.18);
}
.hero-price,
.hero-founding { padding: 20px 22px; }
.hero-price {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(215,180,122,.24);
}
.hero-price > strong {
  font-family: var(--serif);
  font-size: 3.1rem;
  line-height: .8;
  color: #f5e9d5;
  font-weight: 400;
}
.hero-price > span {
  display: grid;
  gap: 2px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #e0cfb7;
}
.hero-price small { color: #d2a65e; font-size: .79rem; }
.hero-founding {
  display: grid;
  align-content: center;
  gap: 7px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.hero-founding-kicker {
  font-size: .60rem;
  letter-spacing: .17em;
  color: #cbb18a;
  font-weight: 800;
}
.hero-remaining { display: flex; align-items: center; gap: 11px; }
.hero-remaining strong {
  font-family: var(--serif);
  font-size: 3.35rem;
  line-height: .82;
  font-weight: 400;
  color: #e8b85f;
}
.hero-remaining > span {
  font-size: .68rem;
  line-height: 1.12;
  letter-spacing: .15em;
  color: #f2eadf;
  font-weight: 800;
}
.hero-progress {
  width: 100%;
  height: 4px;
  margin-top: 2px;
  overflow: visible;
  background: rgba(255,255,255,.10);
  border-radius: 999px;
}
.hero-progress i {
  display: block;
  position: relative;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg,
    #d9b86a 0%,
    #efbf5e 20%,
    #f2a347 44%,
    #df712f 70%,
    #c54a28 88%,
    #ad2f24 100%);
  box-shadow: 0 0 8px rgba(223,113,47,.28);
  transition: width .5s ease;
}
.hero-progress i::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,244,207,1) 0%, rgba(246,194,97,.98) 28%, rgba(228,122,48,.92) 56%, rgba(180,50,35,.78) 76%, rgba(180,50,35,0) 100%);
  box-shadow: 0 0 10px rgba(246,194,97,.8), 0 0 18px rgba(228,122,48,.72), 0 0 26px rgba(180,50,35,.45);
  animation: meterPulse 1.9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes meterPulse {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 10px rgba(246,194,97,.8), 0 0 18px rgba(228,122,48,.72), 0 0 26px rgba(180,50,35,.45);
  }
  50% {
    transform: translateY(-50%) scale(1.14);
    box-shadow: 0 0 12px rgba(248,205,113,.95), 0 0 24px rgba(230,122,55,.9), 0 0 34px rgba(180,50,35,.55);
  }
}
.hero-founding small {
  color: #b9aa96;
  font-size: .69rem;
  letter-spacing: .03em;
}
.hero-urgency {
  width: min(620px, 100%);
  margin-top: 18px;
  padding: 14px 18px;
  border-left: 3px solid #d5a958;
  background: linear-gradient(90deg, rgba(191,137,62,.18), rgba(191,137,62,.03));
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 5px 14px;
  align-items: baseline;
}
.hero-urgency > span { font-size: .62rem; letter-spacing: .15em; color: #d2ad72; font-weight: 800; }
.hero-urgency > strong { color: #fff3dc; font-size: .96rem; }
.hero-urgency > b { color: #e6b35f; font-size: .84rem; }
.hero-urgency > small { grid-column: 1 / -1; color: #b9aa96; font-size: .74rem; }
.hero-actions { margin-top: 22px; }
.hero-discovery-link { color: #eee1cf !important; border-bottom-color: rgba(215,180,122,.45) !important; }
.hero-manifesto {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 44px;
  width: 330px;
  padding-left: 18px;
  border-left: 1px solid rgba(217,184,125,.45);
  display: grid;
  gap: 2px;
  font-size: .68rem;
  letter-spacing: .09em;
  color: #b8aa97;
}
.hero-manifesto strong { color: #e5b85f; }

/* Membership benefits need to read as a five-part value stack */
.membership-section .section-head > p:last-child { font-size: 1.02rem; }
.benefit-card { min-height: 360px; padding: 44px 34px 40px; }
.benefit-number {
  position: static;
  display: block;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 6vw, 6.2rem);
  line-height: .72;
  color: #b88d53;
  letter-spacing: -.05em;
}
.benefit-meta { margin-bottom: 14px; }
.benefit-card h3 { padding-right: 0; }

.numbered-includes { gap: 18px; }
.major-value-card {
  grid-template-columns: 120px .88fr 1.12fr;
  gap: 34px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.major-value-number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 38px;
  font-family: var(--serif);
  font-size: clamp(5.2rem, 7vw, 7.4rem);
  line-height: .72;
  color: #c09457;
  background: rgba(196,145,74,.08);
  border-right: 1px solid rgba(216,190,145,.18);
  letter-spacing: -.06em;
}
.major-value-copy,
.major-value-detail { padding: 42px 0; }
.major-value-detail { padding-right: 42px; }
.major-value-copy h3 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: .98; }
.value-callout {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(216,190,145,.22);
  display: grid;
  gap: 2px;
}
.value-callout span { font-size: .63rem; letter-spacing: .15em; color: #a99780; font-weight: 800; }
.value-callout strong { font-family: var(--serif); font-size: 2.55rem; line-height: 1; color: #f1c778 !important; font-weight: 500; }
.value-callout b { color: #d9c6a9; font-size: .83rem; }
.course-benefit .value-callout strong { font-size: 3.2rem; }
.course-stats { margin-bottom: 20px; }
.value-stack-strip {
  padding: 28px 34px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px 28px;
  border: 1px solid rgba(216,190,145,.32);
  background: linear-gradient(90deg, rgba(181,129,58,.18), rgba(181,129,58,.04));
}
.value-stack-strip > span { font-size: .68rem; letter-spacing: .15em; color: #c9a66e; font-weight: 800; }
.value-stack-strip > strong { font-family: var(--serif); font-size: 4rem; line-height: .8; color: #f0c276; font-weight: 400; }
.value-stack-strip p { margin: 0; color: #c5b7a5; }

/* Founding price change is a major value proposition, not a footnote */
.founding-price-shift {
  margin-top: 44px;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px 30px;
  border: 1px solid rgba(225,184,111,.46);
  background: linear-gradient(90deg, rgba(197,142,63,.16), rgba(255,255,255,.03));
}
.founding-price-shift > div:not(.price-shift-arrow) { text-align: center; display: grid; gap: 3px; }
.founding-price-shift span { color: #c7a774; font-size: .66rem; letter-spacing: .14em; font-weight: 800; }
.founding-price-shift strong { font-family: var(--serif); font-size: 4.7rem; line-height: .82; color: #f7e9d2; font-weight: 400; }
.founding-price-shift small { color: #9f9283; font-size: .67rem; letter-spacing: .08em; }
.price-shift-arrow { color: #d9ac62; font-size: 2rem; }
.founding-price-shift > p {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(216,190,145,.18);
  text-align: center;
  color: #d2c4b1;
}
.pricing-lock-note {
  margin-top: 10px !important;
  padding: 16px 18px;
  border: 1px solid rgba(216,190,145,.22);
  color: #e1cfb3 !important;
}
.pricing-lock-note strong { color: #f2c476; }

@media (max-width: 1020px) {
  .hero.hero-immersive {
    min-height: 760px;
    background:
      linear-gradient(90deg, #090806 0%, rgba(9,8,6,.96) 30%, rgba(9,8,6,.72) 58%, rgba(9,8,6,.18) 100%),
      linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.48)),
      url('assets/torah-study.jpg') 62% center / cover no-repeat;
  }
  .hero-overlay { min-height: 760px; }
  .hero-copy { width: 64%; }
  .major-value-card { grid-template-columns: 100px 1fr; }
  .major-value-detail { grid-column: 2; padding: 0 34px 38px 0; }
  .major-value-copy { padding-right: 34px; }
  .value-stack-strip { grid-template-columns: 1fr auto; }
  .value-stack-strip p { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .hero.hero-immersive {
    min-height: 880px;
    background:
      linear-gradient(180deg, rgba(8,7,5,.18) 0%, rgba(8,7,5,.72) 42%, #090806 72%, #090806 100%),
      url('assets/torah-study.jpg') 70% top / auto 54% no-repeat,
      #090806;
  }
  .hero-overlay { min-height: 880px; padding-top: 330px; justify-content: flex-start; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(3.5rem, 17vw, 5.4rem); }
  .hero-subhead { font-size: 2rem; }
  .hero-offer-row { grid-template-columns: 1fr; }
  .hero-price { border-right: 0; border-bottom: 1px solid rgba(215,180,122,.24); }
  .hero-founding { padding-top: 18px; padding-bottom: 18px; }
  .hero-remaining strong { font-size: 3.7rem; }
  .hero-urgency { grid-template-columns: 1fr; }
  .hero-urgency > small { grid-column: auto; }
  .hero-manifesto { display: none; }
  .benefit-card { min-height: 0; }
  .major-value-card { grid-template-columns: 76px 1fr; }
  .major-value-number { font-size: 4.4rem; padding-top: 30px; }
  .major-value-copy { padding: 30px 22px 18px 0; }
  .major-value-detail { grid-column: 1 / -1; padding: 0 24px 30px; }
  .value-stack-strip { grid-template-columns: 1fr; }
  .value-stack-strip > strong { font-size: 3.4rem; }
  .founding-price-shift { grid-template-columns: 1fr; padding: 24px 20px; }
  .price-shift-arrow { transform: rotate(90deg); text-align: center; }
}

/* V4 brand and clarity pass */
.brand-lockup {
  flex-direction: row;
  align-items: center;
  gap: 11px;
  letter-spacing: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.12;
  letter-spacing: .12em;
}
.brand-copy > span { font-size: .76rem; font-weight: 700; color: #f3eadc; }
.brand-copy small { margin-top: 4px; font-size: .64rem; color: #aa9c8b; letter-spacing: .15em; }

.codex-hebrew-verse {
  margin: 10px 0 8px;
  max-width: 100%;
  font-family: var(--hebrew);
  font-size: clamp(.86rem, 1.25vw, 1.02rem);
  line-height: 1.85;
  color: #cdbb9e;
  text-align: right;
  opacity: .96;
}

.free-tag {
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(239,194,118,.55);
  background: rgba(202,145,66,.14);
  color: #f0c77d !important;
  font-size: .68rem;
  letter-spacing: .14em;
  font-weight: 900;
}
.major-value-card .value-callout b {
  color: #f0d5aa;
  font-size: .9rem;
}
.major-value-detail h4 { max-width: 720px; }

.footer-inner {
  min-height: 132px;
  align-items: center;
}
.footer-brand-family {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.footer-brand-family img {
  width: 250px;
  max-width: 44vw;
  height: auto;
}
.footer-brand-family p {
  margin: 0;
  max-width: 430px;
  color: #a99b89;
  font-size: .78rem;
  line-height: 1.45;
}
.footer-brand-family strong { color: #d7c5aa; font-weight: 600; }

@media (max-width: 720px) {
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy > span { font-size: .7rem; }
  .brand-copy small { font-size: .58rem; }
  .footer-brand-family { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-brand-family img { width: 220px; max-width: 78vw; }
  .footer-brand-family p { max-width: 100%; }
}


.brand-links-card {
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(180, 129, 58, 0.18);
  background: rgba(255,255,255,0.55);
}

.brand-links-card p {
  margin: 0 0 0.85rem;
}

.brand-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-link-list a, .footer-links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(180,129,58,0.35);
  padding-bottom: 0.15rem;
}

.brand-link-list a:hover, .footer-links a:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent-strong);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  margin-top: 0.9rem;
}

/* V9 membership model: weekly guided study + Genesis Codex self-study system */
.codex-value-label {
  margin: 18px 0 4px;
  text-align: center;
  color: #c9a66e;
  font-size: .68rem;
  letter-spacing: .16em;
  font-weight: 800;
}
.codex-primary-benefit { background: linear-gradient(180deg, rgba(188,137,69,.12), #17130f 46%); }
.codex-primary-benefit .benefit-meta { color: #e0b56d; }
.benefit-emphasis {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(216,190,145,.18);
  color: #e4d0b1 !important;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.35;
}
.self-study-bridge {
  margin-top: 38px;
  padding: 38px 42px;
  border: 1px solid rgba(216,190,145,.3);
  background: linear-gradient(115deg, rgba(181,129,58,.17), rgba(10,9,8,.96) 46%, rgba(26,22,18,.96));
  color: #f2e8d9;
}
.self-study-bridge h3 {
  max-width: 900px;
  margin: 8px 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
  line-height: 1;
  color: #f5ead8;
}
.self-study-bridge > p:not(.eyebrow) { max-width: 880px; color: #cbbca9; }
.self-study-flow {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  color: #e7bc74;
  font-size: .78rem;
  letter-spacing: .12em;
  font-weight: 800;
}
.self-study-flow b { color: #74634d; }

@media (max-width: 720px) {
  .self-study-bridge { padding: 28px 22px; }
  .self-study-flow { gap: 8px 10px; font-size: .68rem; }
}

/* V16 SCRIPTORIUM REDESIGN: presentation only, all checkout and counter logic retained */
:root {--ink:#20160f;--ink-soft:#44382c;--paper:#f2e7d6;--paper-deep:#e5d4bc;--paper-white:#fcf4e6;--gold:#b77c43;--gold-deep:#8b5029;--gold-pale:#d9b788;--line:rgba(111,70,38,.22);--dark:#100e0d;--dark-2:#1b1411;--light-text:#f6ecd9;--muted:#706054;--shadow:0 25px 65px rgba(22,11,5,.18)}
body {background:#f1e7d7}
.site-header {background:rgba(16,14,14,.96);border-bottom:1px solid rgba(220,161,92,.24);color:#f6e4c9}
.brand span {color:#f1c28b;letter-spacing:.19em}
.brand small {color:#d3b08a}
.nav-link {color:#e8d2b6}
.nav-link:hover {color:#fff}
.site-header .button {background:#bd8249;color:#170f0a;border-color:#d9a36d}
.button {background:linear-gradient(125deg,#e4b779,#b97d42);border:1px solid #d5a36c;color:#20120a;box-shadow:0 8px 24px rgba(20,9,1,.17);border-radius:3px;font-weight:750}
.button:hover {background:#e4bb85;color:#160d07}
.button-dark {background:#302018;border-color:#6b462b;color:#f7e9d1}
.eyebrow {color:#996032;letter-spacing:.22em}
.eyebrow.light {color:#e3b47b}
h1,h2,h3 {letter-spacing:-.028em}
.hero.hero-immersive {min-height:790px;background:linear-gradient(90deg,rgba(9,8,9,.90) 0%,rgba(10,8,9,.88) 24%,rgba(10,8,9,.72) 38%,rgba(10,8,9,.27) 60%,rgba(8,6,6,.02) 83%),linear-gradient(0deg,rgba(10,7,7,.40),transparent 32%),url('assets/hero-scroll.webp') center center / cover no-repeat}
.hero-overlay {min-height:790px;padding-top:82px;padding-bottom:65px}
.hero-copy {width:min(610px,53%)}
.hero-copy h1 {font-size:clamp(4.3rem,6.8vw,7rem);color:#fff1d9;text-shadow:0 3px 25px rgba(0,0,0,.35)}
.hero-subhead {color:#ebc391}
.hero-lead {color:#f0e1cf;text-shadow:0 2px 10px #100b09}
.hero-founding {background:rgba(20,13,10,.48);border-radius:4px}
.hero-progress {background:rgba(206,156,104,.23)}
.hero-progress i {background:linear-gradient(90deg,#a86835,#ffcc87);box-shadow:0 0 12px rgba(243,172,88,.5)}
.hero-urgency {background:rgba(19,13,10,.65);border-color:rgba(236,179,100,.44)}
.hero-manifesto {color:#f5e0bb}
.demo-section {background:#17120e;color:#f5e9d5}
.demo-section .demo-intro p {color:#d7c7b5}
.purpose-section {background:#e9dac6}
.membership-section {background:radial-gradient(ellipse at 50% 12%,rgba(97,48,26,.28),transparent 45%),#120f0e;padding-top:110px;padding-bottom:110px}
.membership-section .section-head h2 {color:#f8ebd5}
.membership-section .section-head em {color:#dca66d}
.collection-intro {display:flex;align-items:center;gap:24px;margin-top:50px;margin-bottom:24px}
.collection-intro p {margin:0;white-space:nowrap;color:#d0a878;letter-spacing:.23em;font-size:.72rem;font-weight:700}
.collection-rule {height:1px;flex:1;background:linear-gradient(90deg,transparent,#84603e,transparent)}
.collection-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;align-items:stretch}
.collection-card {min-width:0;background:linear-gradient(145deg,#241913,#171210);border:1px solid rgba(222,164,100,.28);box-shadow:0 15px 32px rgba(0,0,0,.22);overflow:hidden;display:flex;flex-direction:column}
.collection-art {overflow:hidden;background:#0b1016}
.collection-art img {width:100%;height:auto;aspect-ratio:1122/1402;object-fit:cover;transition:transform .3s ease}
.collection-card:hover .collection-art img {transform:scale(1.015)}
.collection-content {padding:26px 32px 32px;display:flex;flex-direction:column;flex:1}
.collection-index {font-size:.71rem;letter-spacing:.22em;color:#dca66d;font-weight:700}
.collection-content h3 {margin:13px 0;font-size:clamp(1.9rem,3vw,2.65rem);color:#f5dfbc}
.collection-content p {font-size:1rem;color:#d8c7b5;line-height:1.7;margin:0 0 22px}
.collection-included {margin-top:auto;display:block;border-top:1px solid rgba(227,172,105,.21);padding-top:15px;color:#ecc08a;font-weight:700;font-size:.85rem}
.self-study-bridge {margin-top:72px}
.collection-value {margin-top:46px;display:grid;grid-template-columns:auto 1fr auto;gap:34px;align-items:center;padding:30px 36px;background:linear-gradient(110deg,#402618,#241711);border:1px solid rgba(215,158,91,.38)}
.collection-value > div {display:flex;flex-direction:column}
.collection-value span {font-size:.69rem;color:#e9c597;letter-spacing:.12em;max-width:200px}
.collection-value strong {font:400 4.2rem var(--serif);line-height:1;color:#f5c68d}
.collection-value p {max-width:490px;margin:0;color:#e1ccb2;line-height:1.6}
.collection-value .button {white-space:nowrap;text-align:center}
.proof-section {background:#e5d4be}
.teacher-section {background:#f0e4d2}
.pricing-section {background:radial-gradient(circle at 50% 0%,#3d291d,#16100d 64%)}
.faq-section {background:#efe2d0}
.final-cta {background:linear-gradient(120deg,rgba(16,11,8,.95),rgba(23,13,9,.88)),url('assets/hero-scroll.webp') center/cover}
.site-footer {background:#100d0b}
@media(max-width:1020px){.hero.hero-immersive {background:linear-gradient(90deg,rgba(9,8,9,.96),rgba(9,8,9,.75) 51%,rgba(9,8,9,.17)),url('assets/hero-scroll.webp') 60% center/cover no-repeat}.hero-copy {width:min(650px,72%)}.collection-value{grid-template-columns:1fr 1fr}.collection-value .button {grid-column:1/-1;justify-self:start}}
@media(max-width:720px){.site-header .nav-link{display:none}.nav-wrap{min-height:66px}.hero.hero-immersive{min-height:0;background:linear-gradient(180deg,rgba(10,8,8,.04) 0%,rgba(10,8,8,.25) 28%,rgba(10,8,8,.93) 54%,#100d0b 68%),url('assets/hero-scroll.webp') 72% top / auto 380px no-repeat,#100d0b}.hero-overlay{min-height:0;padding-top:310px;padding-bottom:65px}.hero-copy{width:100%}.hero-copy h1{font-size:clamp(3.55rem,15.5vw,5.4rem)}.hero-lead{font-size:1.02rem}.collection-grid{grid-template-columns:1fr;gap:24px}.collection-intro p{white-space:normal;text-align:center;font-size:.66rem}.collection-intro{gap:12px}.collection-content{padding:22px 22px 26px}.collection-value{grid-template-columns:1fr;padding:26px;gap:16px}.collection-value .button{grid-column:auto;white-space:normal;width:100%}.membership-section{padding-top:75px;padding-bottom:75px}.self-study-bridge{margin-top:48px}}
@media(prefers-reduced-motion:reduce){.collection-art img{transition:none}}


/* V16.1: Restore accessible contrast on parchment sections.
   V15 dark-section overrides remain above; these intentional final selectors
   win only for the sections changed to light backgrounds in V16. */
.purpose-section, .proof-section, .teacher-section, .faq-section { color:#302016; }
.purpose-section h2, .purpose-section .lead-serif, .purpose-section .lead-serif strong,
.proof-section h2, .teacher-section h2, .faq-section h2 { color:#29190f; }
.purpose-section .eyebrow, .teacher-section .eyebrow, .faq-section .eyebrow,
.proof-section .eyebrow { color:#87502b; }
.purpose-section .purpose-copy > p:not(.lead-serif), .teacher-section .teacher-copy p,
.teacher-section .teacher-id span, .faq-section details p { color:#514032; }
.purpose-section .method-row span { color:#453323;border-top-color:rgba(88,53,27,.27); }
.purpose-section .method-row b { color:#945526; }
.teacher-section .teacher-copy strong { color:#29190f; }
.teacher-section .teacher-id { border-top-color:rgba(88,53,27,.26); }
.faq-section .faq-list {border-top-color:rgba(88,53,27,.27);}
.faq-section details {border-bottom-color:rgba(88,53,27,.25);}
.faq-section summary, .faq-section summary strong {color:#29190f;}
.faq-section summary::after {color:#925623;}
.proof-section .testimonial:not(.featured-quote) {color:#342319;}
.proof-section .testimonial:not(.featured-quote) p,
.proof-section .testimonial:not(.featured-quote) cite {color:#483629;}
.collection-bonus {background:rgba(220,161,82,.10);border:1px solid rgba(232,181,108,.50);padding:13px 15px !important;line-height:1.4;letter-spacing:.025em;color:#ffe3a9 !important;font-size:.9rem !important;}
.collection-bonus small {display:block;font-size:.83rem;font-weight:500;color:#e9d1b4;margin-top:5px;letter-spacing:0;}
.collection-card:has(.collection-bonus) .collection-content {padding-bottom:28px;}
@media(max-width:720px){.collection-bonus {font-size:.84rem !important;}}


/* V16.2: restore strong readability in the method / number-pattern section */
.demo-section {
  background: radial-gradient(circle at 50% 0%, rgba(115,70,38,.22), transparent 38%), #16110f;
  color: #f4ead9;
}
.demo-section h2,
.demo-section .demo-intro h2 { color:#f7eddc; }
.demo-section .eyebrow.light { color:#e0b273; }
.demo-section .demo-intro p:not(.eyebrow) { color:#dccbb7; }
.demo-section .codex-card {
  background: linear-gradient(180deg, rgba(38,27,20,.98), rgba(19,14,11,.98));
  border-color: rgba(224,181,112,.28);
}
.demo-section .codex-topline,
.demo-section .codex-ref,
.demo-section .codex-value-label { color:#d3ad78; }
.demo-section .codex-hebrew-verse { color:#efe0c5; }
.demo-section .codex-value { color:#f5cb88; }
.demo-section .reduction-block {
  border-color: rgba(224,181,112,.18);
  background: rgba(255,255,255,.03);
}
.demo-section .reduction-block .equation { color:#d8c7b2; }
.demo-section .math-flow small { color:#cda068; }
.demo-section .discovery-grid {
  border-top-color: rgba(224,181,112,.16);
  border-bottom-color: rgba(224,181,112,.16);
}
.demo-section .discovery-step {
  border-right-color: rgba(224,181,112,.14);
}
.demo-section .discovery-step .step-num { color:#d6ac74; }
.demo-section .discovery-step .step-label { color:#cc9961; }
.demo-section .discovery-step h3 { color:#f5ead8; }
.demo-section .discovery-step > p:not(.step-label):not(.hebrew),
.demo-section .discovery-step p:last-child { color:#dac9b5; }
.demo-section .discovery-step strong { color:#fff1d9; }
.demo-section .discovery-step .hebrew,
.demo-section .discovery-step .hebrew-inline { color:#efc37d !important; }
.demo-section .accent-step { background: rgba(176,119,52,.13); }
.demo-section .step-result { color:#ebb86f; }
.demo-section .pattern-band {
  background: linear-gradient(180deg, rgba(44,31,23,.98), rgba(25,18,14,.98));
  border-color: rgba(224,181,112,.18);
}
.demo-section .pattern-label { color:#d8ae73; }
.demo-section .pattern-flow { color:#f5ead8; }
.demo-section .pattern-flow b { color:#ebb96f; }
.demo-section .pattern-note { color:#d0bda8; }
@media (max-width:1020px){
  .demo-section .discovery-step:nth-child(-n+2) { border-bottom-color: rgba(224,181,112,.14); }
}
@media (max-width:720px){
  .demo-section .discovery-step { border-bottom-color: rgba(224,181,112,.14); }
}


/* V16.4: Teacher sidebar contrast repair, after V16 light-section overrides. */
.teacher-section .welcome-card {
  background:#251c16;
  border:1px solid rgba(230,181,111,.42);
  color:#f7ebd8;
}
.teacher-section .welcome-card .eyebrow {color:#e1b376;}
.teacher-section .welcome-card h3 {color:#fff0d5; opacity:1;}
.teacher-section .welcome-card ul,
.teacher-section .welcome-card li {color:#f0dfc8;}
.teacher-section .welcome-card p:last-child {color:#f0c27c;}
