/* The story is ordinary document flow; motion only adds a decorative layer. */
:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #1b1c22;
  --muted: #55545a;
  --orange: #aa3815;
  --night: #1c1f2a;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: #e8c086; color: #171922; }
:focus-visible { outline: 3px solid #2452ab; outline-offset: 5px; }
.skip-link { position: fixed; z-index: 200; top: -80px; left: 18px; padding: 12px 16px; color: #fff; background: #171922; }
.skip-link:focus { top: 12px; }

.experience-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 76px; padding: 0 clamp(22px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; background: rgba(247,245,239,.94); border-bottom: 1px solid rgba(23,25,34,.08); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-brand { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; line-height: 1.12; letter-spacing: .1em; }
.header-brand img { border-radius: 8px; }
.header-right { display: flex; align-items: center; gap: 26px; }
.header-progress-label { color: #625f59; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.header-quiz { display: inline-flex; align-items: center; gap: 14px; padding: 11px 16px; border: 1px solid #c8c5bc; border-radius: 99px; color: #171922; text-decoration: none; font-size: 12px; font-weight: 700; transition: background .2s, border-color .2s; }
.header-quiz:hover { background: #eae6dc; border-color: #99958a; }
.header-progress { position: absolute; inset: auto 0 -1px; height: 2px; background: rgba(23,25,34,.06); }
.header-progress span { display: block; width: calc(var(--story-progress, 0) * 100%); height: 100%; background: #a9431d; }

.story-flow { position: relative; }
.story-wheel-track { position: absolute; inset: 0 0 auto; height: 100svh; overflow: hidden; z-index: 1; pointer-events: none; }
.has-motion .story-wheel-track { position: sticky; top: 0; margin-bottom: -100svh; }
.story-wheel { position: absolute; width: clamp(380px, 56vw, 760px); left: 50%; top: 50%; opacity: var(--wheel-opacity, .17); transform: translate3d(calc(-50% + var(--wheel-x, 0vw)), calc(-50% + var(--wheel-y, 0vh)), 0) rotate(var(--wheel-turn, 0deg)) scale(var(--wheel-scale, 1)); transform-origin: center; will-change: transform, opacity; }
.story-wheel img { width: 100%; height: auto; }
.chapter { position: relative; overflow: clip; }
.scene-content { position: relative; z-index: 2; }
.chapter-inner { width: min(100% - 80px, 1200px); margin-inline: auto; }
.eyebrow { font-size: 10px; line-height: 1.4; font-weight: 800; letter-spacing: .16em; color: #765028; }
.light-eyebrow { color: #f1c992; }
.display-text { font-size: clamp(52px, 7.1vw, 104px); line-height: 1.01; font-weight: 700; letter-spacing: -.065em; }
.display-text em, .natures-intro em, .invitation-inner em, .quiz-intro em { color: #e3a663; font-family: var(--serif); font-weight: 500; font-style: italic; letter-spacing: -.035em; }
.chapter-copy { max-width: 540px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.75; }

.hero { display: grid; place-items: center; min-height: max(690px, 100svh); padding: 135px 24px 150px; background: radial-gradient(ellipse at 50% 47%, #fffdf8 3%, #f7f5ef 60%, #ece7dc 100%); text-align: center; }
.hero-content { max-width: 950px; }
.hero .eyebrow { display: flex; justify-content: center; align-items: center; gap: 9px; margin-bottom: 28px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #ad501b; box-shadow: 0 0 0 4px rgba(173,80,27,.11); }
.hero h1 { max-width: 950px; margin: auto; font-size: clamp(56px, 7.2vw, 100px); line-height: 1; font-weight: 750; letter-spacing: -.075em; }
.hero h1 em { color: #a93e17; font-family: var(--serif); font-weight: 500; font-style: italic; letter-spacing: -.045em; }
.hero-subtitle { max-width: 590px; margin: 25px auto 30px; color: #4f4d4d; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.primary-action { min-height: 60px; display: inline-flex; justify-content: center; align-items: center; gap: 25px; padding: 18px 26px; border: 1px solid var(--orange); border-radius: 999px; background: var(--orange); color: #fff; font-size: 15px; line-height: 1.3; font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease; box-shadow: 0 9px 24px rgba(157,66,29,.14); }
.primary-action:hover { background: #852b10; transform: translateY(-2px); }
.primary-action span { font-size: 18px; }
.action-note { margin-top: 17px; color: #5f5b55; font-size: 9px; line-height: 1.5; font-weight: 800; letter-spacing: .13em; }
.action-note span { margin: 0 6px; color: #856746; }
.scroll-cue { position: absolute; z-index: 3; bottom: 32px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 5px; color: #5e5a54; text-decoration: none; font-size: 9px; font-weight: 750; letter-spacing: .15em; white-space: nowrap; }
.scroll-arrow { font-size: 20px; font-weight: 400; line-height: 1; }

.chapter-question { display: grid; align-items: center; min-height: 86svh; padding: 120px 0; background: linear-gradient(180deg, #ece7dc, #e9e2d6 70%, #dcd5c8); }
.question-inner h2 { max-width: 700px; margin-top: 25px; }
.question-inner h2 em { color: #a13c19; }
.story-copy { max-width: 460px; margin-top: 31px; color: #4f4c49; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.75; }
.story-copy p + p { margin-top: 16px; }
.chapter-index { position: absolute; right: 4vw; bottom: -.19em; color: rgba(41,34,25,.04); font-size: clamp(180px, 32vw, 430px); font-weight: 800; line-height: 1; letter-spacing: -.1em; pointer-events: none; }
.chapter-reframe { display: grid; align-items: center; min-height: 88svh; padding: 140px 0 115px; color: #fffaf2; background: linear-gradient(180deg, #dcd5c8 0%, #292b33 18%, #1b1f2a 55%, #181e2a 100%); }
.reframe-inner .eyebrow { margin-bottom: 28px; }
.reframe-inner h2 { max-width: 760px; }
.reframe-inner .chapter-copy { margin-top: 28px; color: #ebe5db; }
.chapter-line { position: absolute; bottom: 0; left: 4%; right: 4%; height: 1px; background: rgba(232,196,147,.22); }

.chapter-battle { display: grid; align-items: center; min-height: 100svh; padding: 135px 0 125px; color: #fffaf1; background: #151b28; }
.battle-image, .battle-shade, .dharma-image, .dharma-image-shade { position: absolute; inset: 0; z-index: 0; }
.battle-image img, .dharma-image img { width: 100%; height: 100%; object-fit: cover; }
.battle-image img { object-position: 56% center; }
.battle-shade { background: linear-gradient(180deg, #181e2a 0%, transparent 26%, rgba(20,24,32,.15) 70%, #1b1c24 100%), linear-gradient(90deg, rgba(15,20,31,.95) 0%, rgba(15,20,31,.74) 45%, rgba(15,20,31,.17) 100%); }
.battle-inner .eyebrow { margin-bottom: 26px; }
.battle-inner h2 { max-width: 720px; }
.battle-inner .chapter-copy { max-width: 510px; color: #f2ece3; margin-top: 23px; }
.battle-caption { position: absolute; bottom: 32px; right: clamp(30px, 4vw, 65px); color: #eee7d5; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.battle-caption span { margin: 0 5px; }

.chapter-dharma { display: grid; align-items: center; min-height: 94svh; padding: 125px 0; background: #1b1c24; color: #fffaf2; }
.dharma-image img { object-position: 35% center; }
.dharma-image-shade { background: linear-gradient(180deg, #1b1c24 0%, transparent 22%, transparent 72%, #1b1d28 100%), linear-gradient(90deg, rgba(20,23,30,.26) 0%, rgba(22,24,31,.55) 40%, #1b1c24 70%); }
.dharma-inner { display: flex; justify-content: flex-end; }
.dharma-copy { width: min(100%, 520px); }
.dharma-copy .eyebrow { margin-bottom: 24px; }
.dharma-copy h2 { font-size: clamp(88px, 11vw, 160px); line-height: .9; font-weight: 750; letter-spacing: -.08em; }
.dharma-copy h2 span { color: #e2a05d; }
.pronunciation { margin-top: 16px; color: #d8c7b4; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.pronunciation span { margin: 0 8px; color: #ae9580; }
.dharma-lead { margin: 42px 0 17px; font-size: clamp(27px, 3.2vw, 42px); line-height: 1.2; font-weight: 700; letter-spacing: -.045em; }
.dharma-copy .chapter-copy { color: #eee8df; }
.dharma-aside { margin-top: 23px; font-size: 14px; font-weight: 700; color: #e5bf90; }

.chapter-natures { display: grid; align-items: center; min-height: 94svh; padding: 120px 0; background: linear-gradient(180deg, #1b1d28, #20212b 70%, #28252a); color: #fbf7ef; }
.natures-inner { width: min(100% - 80px, 1200px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(60px, 9vw, 140px); align-items: center; }
.natures-intro .eyebrow { margin-bottom: 26px; }
.natures-intro h2, .quiz-intro h2 { font-size: clamp(52px, 6.2vw, 86px); line-height: 1; letter-spacing: -.06em; }
.natures-intro > p:not(.eyebrow) { max-width: 470px; margin-top: 27px; color: #e7e0d7; line-height: 1.75; }
.natures-intro .natures-equality { color: #e1d5c7; font-size: 13px; }
.nature-explorer { padding: 24px; border: 1px solid rgba(245,235,218,.22); border-radius: 4px; background: rgba(24,26,35,.9); }
.explorer-label { display: flex; justify-content: space-between; padding: 0 0 18px; color: #edc991; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.explorer-label span { font-size: 15px; }
.nature-controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.nature-controls button { display: flex; align-items: center; gap: 12px; min-height: 53px; padding: 13px 15px; border: 1px solid #77767a; border-radius: 4px; color: #fffaf2; background: transparent; text-align: left; font-size: 15px; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.nature-controls button span { color: #d4c9ba; font-size: 10px; letter-spacing: .1em; }
.nature-controls button:hover { border-color: #e0be88; }
.nature-controls button[aria-pressed="true"] { color: #1b1b21; border-color: #f2d2a0; background: #f2d2a0; }
.nature-controls button[aria-pressed="true"] span { color: #634527; }
.nature-controls button:focus-visible { outline-color: #f2d2a0; }
.nature-content { min-height: 161px; margin-top: 24px; padding-top: 23px; border-top: 1px solid rgba(245,235,218,.25); }
.nature-field { color: #eec48d; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nature-content h3 { margin: 10px 0 9px; font-size: 30px; line-height: 1.1; letter-spacing: -.045em; }
.nature-content > p:last-child { max-width: 420px; color: #f0e9df; font-size: 15px; line-height: 1.7; }
.nature-noscript { margin-top: 4px; color: #f1e7db; font-size: 14px; line-height: 1.7; }

.chapter-invitation { display: grid; place-items: center; min-height: 72svh; padding: 100px 24px 110px; background: linear-gradient(180deg, #28252a 0%, #e8dfd1 23%, #f7f5ef 100%); text-align: center; }
.invitation-inner { max-width: 780px; }
.invitation-inner h2 { margin-top: 24px; font-size: clamp(50px, 6vw, 84px); line-height: 1.02; letter-spacing: -.06em; }
.invitation-inner em { color: #a6421c; }
.invitation-inner > p:not(.eyebrow) { max-width: 540px; margin: 25px auto 0; color: #4d4a48; font-size: 17px; }
.text-action { display: inline-flex; gap: 16px; align-items: center; margin-top: 27px; color: #8e3214; font-weight: 750; text-underline-offset: 5px; }
.text-action span { font-size: 20px; }

.quiz-section { padding: 115px clamp(28px, 5vw, 72px) 115px; background: #f7f5ef; scroll-margin-top: 76px; }
.quiz-section-inner { width: min(100%, 1200px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(58px, 8vw, 120px); align-items: start; }
.quiz-intro { padding-top: 26px; }
.quiz-intro .eyebrow { margin-bottom: 25px; }
.quiz-intro em { color: #a6421c; }
.quiz-intro > p:not(.eyebrow):not(.quiz-privacy) { max-width: 410px; margin-top: 24px; color: #55545a; font-size: 18px; line-height: 1.7; }
.quiz-privacy { max-width: 400px; margin-top: 28px; color: #5f5b55; font-size: 10px; font-weight: 800; line-height: 1.7; letter-spacing: .1em; }
.quiz-root { min-width: 0; }
.experience-footer { display: flex; justify-content: space-between; gap: 30px; padding: 32px clamp(28px, 5vw, 72px); background: #171922; color: #ddd9d0; font-size: 11px; }
.experience-footer > div { display: flex; flex-wrap: wrap; gap: 17px; }
.experience-footer strong { color: #fffaf1; letter-spacing: .1em; }
.experience-footer a { text-decoration-color: #a8a29a; text-underline-offset: 3px; }

@media (max-width: 760px) {
  html { scroll-padding-top: 65px; }
  .experience-header { height: 65px; padding-inline: 20px; }
  .header-progress-label { display: none; }
  .header-quiz { padding: 10px 13px; font-size: 11px; }
  .header-brand img { width: 30px; height: 30px; }
  .header-brand { font-size: 9px; }
  .chapter-inner, .natures-inner { width: min(100% - 44px, 600px); }
  .story-wheel { width: clamp(360px, 100vw, 560px); opacity: calc(var(--wheel-opacity, .17) * .7); }
  .hero { min-height: max(650px, 100svh); padding: 112px 22px 125px; }
  .hero h1 { font-size: clamp(49px, 10.7vw, 74px); line-height: 1.02; }
  .hero .eyebrow { margin-bottom: 24px; font-size: 9px; }
  .hero-subtitle { max-width: 340px; margin: 23px auto 26px; font-size: 16px; }
  .primary-action { min-height: 56px; }
  .scroll-cue { bottom: 25px; }
  .chapter-question, .chapter-reframe, .chapter-dharma, .chapter-natures { min-height: 0; padding: 115px 0; }
  .chapter-question, .chapter-reframe { min-height: 78svh; }
  .display-text { font-size: clamp(50px, 10.5vw, 78px); }
  .story-copy { max-width: 350px; }
  .chapter-battle { min-height: 95svh; padding: 120px 0 120px; }
  .battle-image img { object-position: 55% center; }
  .battle-shade { background: linear-gradient(180deg, #181e2a 0%, transparent 25%, #1b1c24 100%), linear-gradient(90deg, rgba(15,20,31,.91), rgba(15,20,31,.55)); }
  .battle-caption { left: 22px; right: 22px; bottom: 27px; font-size: 8px; }
  .chapter-dharma { min-height: 83svh; }
  .dharma-image img { object-position: 35% center; }
  .dharma-image-shade { background: linear-gradient(180deg, #1b1c24 0%, rgba(27,28,36,.72) 28%, rgba(27,28,36,.88) 72%, #1b1d28 100%); }
  .dharma-inner { justify-content: flex-start; }
  .dharma-copy h2 { font-size: clamp(82px, 19vw, 125px); }
  .dharma-lead { margin-top: 35px; }
  .natures-inner { grid-template-columns: 1fr; gap: 38px; }
  .natures-intro h2, .quiz-intro h2 { font-size: clamp(48px, 10vw, 70px); }
  .nature-explorer { padding: 20px; }
  .nature-controls button { min-height: 52px; padding: 11px; font-size: 14px; }
  .nature-content { min-height: 145px; }
  .chapter-invitation { min-height: 65svh; padding: 110px 22px 85px; }
  .invitation-inner h2 { font-size: clamp(48px, 10vw, 68px); }
  .quiz-section { padding: 75px 20px 75px; scroll-margin-top: 65px; }
  .quiz-section-inner { grid-template-columns: 1fr; gap: 30px; }
  .quiz-intro { padding-top: 0; }
  .quiz-intro .eyebrow { margin-bottom: 17px; }
  .quiz-intro h2 { font-size: clamp(42px, 9vw, 58px); }
  .quiz-intro > p:not(.eyebrow):not(.quiz-privacy) { margin-top: 16px; font-size: 16px; line-height: 1.55; }
  .quiz-privacy { margin-top: 17px; }
  .experience-footer { flex-direction: column; padding: 30px 22px; gap: 17px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 45px; }
  .action-note { font-size: 8px; letter-spacing: .08em; }
  .nature-controls button { gap: 7px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .story-wheel-track { position: absolute !important; margin: 0 !important; }
  .story-wheel { transform: translate(-50%, -50%) !important; opacity: .17; will-change: auto; }
}
