/* The Memory Theatre. Approved visual references: docs/design/theatre-*.png. */
.theatre-home { background: #09120c; }
.theatre-home .site-head { position: absolute; inset: 0 0 auto; z-index: 3; border: 0; padding: 2rem 0; }
.theatre-home .site-head .shell { width: 92%; max-width: none; }
.theatre-home .wordmark { font-size: 1.8rem; font-weight: 300; }
.theatre-home .wordmark svg { width: 1.65rem; height: 1.65rem; }
.theatre-home .site-head nav { gap: 2.7rem; font: 300 1.02rem var(--story); }
.hero { position: relative; isolation: isolate; min-height: 780px; height: 100svh; max-height: 1250px; overflow: clip; background: #09120c; }
.stage-image, .projection-light { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.stage-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 8%; background: linear-gradient(transparent, #09120c); z-index: -1; pointer-events: none; }
.hero-content.shell { width: 92%; max-width: none; padding-top: clamp(12rem, 22.5vh, 19rem); }
.hero-copy { width: 70%; max-width: 63rem; }
.hero h1 { font-size: clamp(3.6rem, 5.35vw, 6rem); line-height: 1.18; letter-spacing: -.045em; font-weight: 300; text-wrap: initial; margin: 0 0 2rem; }
.hero h1 em { white-space: nowrap; font-weight: 300; }
.hero .lede { font: 300 clamp(1.15rem, 1.6vw, 1.5rem)/1.6 var(--story); color: var(--ink); max-width: none; }
.hero-actions { display: flex; align-items: center; gap: 2.8rem; margin-top: 2.3rem; }
.hero .btn { min-width: 12.8rem; font: 400 1.05rem var(--story); padding: .85rem 1.7rem; min-height: 3.2rem; }
.text-link { font: 300 1.05rem var(--story); text-decoration-thickness: 1px; text-underline-offset: .4em; }
.hero-note { position: absolute; bottom: 2.2rem; left: 1.5rem; right: 1.5rem; margin: 0; text-align: center; font: italic 300 1.05rem/1.5 var(--story); }
.hero-note::after { content: ''; display: block; width: 3.3rem; height: 1px; background: #cbb18180; margin: 1.1rem auto 0; }
.projection-light { z-index: -1; background: url('/assets/theatre-stage.webp') center / cover; mix-blend-mode: screen; opacity: .045; mask-image: radial-gradient(ellipse 33% 30% at 75% 35%, #000, transparent); }
.projector-dust { position: absolute; left: 12%; top: 50%; width: 24%; height: 15%; pointer-events: none; z-index: -1; }
.projector-dust i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #efd2a1; opacity: .12; animation: dust-drift 11s ease-in-out infinite alternate; animation-play-state: paused; }
.projector-dust i:nth-child(1) { left: 13%; top: 70%; animation-delay: -3s; }
.projector-dust i:nth-child(2) { left: 25%; top: 59%; animation-delay: -8s; }
.projector-dust i:nth-child(3) { left: 45%; top: 64%; animation-delay: -1s; }
.projector-dust i:nth-child(4) { left: 69%; top: 32%; animation-delay: -5s; }
.projector-dust i:nth-child(5) { left: 74%; top: 76%; animation-delay: -9s; }
.projector-dust i:nth-child(6) { left: 81%; top: 14%; animation-delay: -7s; }
.projector-dust i:nth-child(7) { left: 32%; top: 56%; animation-delay: -2s; }
.projector-dust i:nth-child(8) { left: 91%; top: 80%; animation-delay: -6s; }
[data-atmosphere='playing'] .projection-light { animation: projection-breathe 18s ease-in-out infinite alternate; }
[data-atmosphere='playing'] .projector-dust i { animation-play-state: running; }
.motion-toggle { position: absolute; bottom: 2.1rem; right: 2.1rem; color: var(--ink); background: #0b160e55; width: 2.65rem; height: 2.65rem; padding: .7rem; border: 1px solid #d3c8a344; border-radius: 50%; cursor: pointer; }
.motion-toggle:hover { background: #283421; border-color: #cbb181; }
.motion-toggle svg { width: 100%; height: 100%; }
.motion-toggle .play-icon { display: none; }
.motion-toggle[aria-pressed='true'] .pause-icon { display: none; }
.motion-toggle[aria-pressed='true'] .play-icon { display: block; }
@keyframes projection-breathe { from { opacity: .015; } to { opacity: .1; } }
@keyframes dust-drift { from { transform: translate(-5px, 5px); opacity: .05; } to { transform: translate(16px, -11px); opacity: .45; } }
/* Open sections retain the darkness, with warm paper as a physical object. */
.how-band { padding: 6.5rem 0 4.5rem; border-bottom: 1px solid var(--line); background: #0c170f; }
.how-band h2 { text-align: center; margin-bottom: 4rem; font-weight: 300; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; }
.how-steps li { padding: 0 2.5rem; }
.how-steps li:first-child { padding-left: 0; }
.how-steps li:last-child { padding-right: 0; }
.how-steps li + li { border-left: 1px solid #766844; }
.step-number { display: block; color: var(--gold); font: italic 300 1.35rem var(--story); margin-bottom: 1.5rem; }
.how-steps h3 { margin-bottom: 1rem; font-size: 1.5rem; font-weight: 300; }
.how-steps p { color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }
.how-note { text-align: center; font: italic .95rem/1.7 var(--story); color: var(--ink-soft); margin: 3rem 0 0; }
.sample { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; padding-block: 7rem; }
.sample h2 { font-weight: 300; }
.sample-dek { font: 300 1.35rem/1.6 var(--story); margin-top: 1.5rem; color: #d2cbb6; }
.sample-help { font-size: .9rem; color: var(--ink-soft); max-width: 24rem; margin-top: 1.8rem; }
.source-note { border-top: 1px solid #766844; padding-top: 1.2rem; margin-top: 2.4rem; max-width: 29rem; }
.source-heading { display: flex; justify-content: space-between; gap: 1rem; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.source-heading time { letter-spacing: 0; font-variant-numeric: tabular-nums; }
.source-note blockquote { font: italic 300 1.4rem/1.65 var(--story); margin: 1.2rem 0; min-height: 6rem; }
.source-detail { font-size: .8rem; color: var(--ink-soft); }
.sample-disclaimer { font-size: .75rem; max-width: 28rem; margin-top: 1.4rem; line-height: 1.7; }
.chapter-sample { background: #ede1c8; color: #2c3024; border: 1px solid #c6b691; border-radius: 2px; padding: 2.7rem 2.9rem; box-shadow: 5px 2px 0 #bbac87, 8px 4px 0 #726d52, 0 25px 60px #0007; transform: rotate(-1deg); }
.chapter-kicker { display: flex; justify-content: space-between; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid #b6ac92; padding-bottom: 1rem; margin-bottom: 1.6rem; color: #66624f; }
.chapter-sample h3 { font-size: 1.8rem; line-height: 1.4; margin-bottom: 1.6rem; font-weight: 400; }
.chapter-sample .story { font: 400 1rem/1.95 var(--story); margin: 0; }
.story .s { border-radius: 3px; cursor: pointer; transition: background-color .2s; }
.story .s + .s::before { content: ' '; }
.story .s:hover { background: #d8c6a1; }
.story .s.on { background: #dcc49a; box-shadow: 0 2px 0 #cbb589; }
.story .s:focus-visible { outline-color: #66522d; }
.chapter-end { text-align: center; color: #8c7950; font-size: .8rem; margin-top: 1.7rem; }
.bookband { background: #101c13; border-block: 1px solid var(--line); padding-block: 5rem; }
.book-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.book-photo { margin: 0; }
.book-photo img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }
.book-photo figcaption { font-size: .72rem; line-height: 1.6; color: var(--ink-soft); margin-top: .9rem; }
.book-copy h2 { margin-bottom: 1.7rem; font-weight: 300; }
.book-copy p { color: #bfc5b3; line-height: 1.8; font-size: 1rem; }
.book-features { list-style: none; padding: 0; margin: 1.8rem 0 2rem; }
.book-features li { position: relative; font-size: .9rem; padding: .65rem 0 .65rem 1.3rem; border-bottom: 1px solid #bcb89520; }
.book-features li::before { content: ''; position: absolute; left: 0; top: 1.1rem; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.book-copy .btn.gold, .closing .btn.gold { background: var(--ink); color: #112016; }
.book-copy .btn.gold:hover, .closing .btn.gold:hover { background: #fff2d8; }
.care { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); padding-block: 6.5rem; border-bottom: 1px solid var(--line); }
.care h2 { font-weight: 300; margin-bottom: 1.6rem; }
.care .lede { font-size: 1.1rem; }
.care h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.care-details p { font-size: 1rem; color: var(--ink-soft); line-height: 1.8; }
.care-rules { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.care-rules li { font-size: .92rem; padding: .55rem 0 .55rem 1.5rem; position: relative; }
.care-rules li::before, .tier li::before { content: ''; position: absolute; left: .1rem; top: .95rem; width: .7rem; height: .35rem; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.price { padding-top: 6.5rem; }
.section-intro { text-align: center; margin-bottom: 3.5rem; }
.section-intro h2 { font-weight: 300; }
.section-intro p { color: var(--ink-soft); margin: 1.5rem 0 0; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; max-width: 64rem; margin: auto; }
.tier { padding: 1rem 3rem 1rem 0; display: flex; flex-direction: column; }
.tier.featured { padding: 1rem 0 1rem 3rem; border-left: 1px solid #766844; }
.tier-top { display: flex; justify-content: space-between; gap: 1.2rem; align-items: start; margin-bottom: 1rem; }
.tier-top h3 { font-size: 1.7rem; font-weight: 300; }
.tier-top p:not(.amount) { font-size: .9rem; color: var(--ink-soft); margin-top: .7rem; }
.amount { font: 300 2.8rem/1.1 var(--story); letter-spacing: -.045em; margin: 0; }
.amount span { font-size: .65em; vertical-align: .2em; margin-right: .1rem; }
.tier ul { list-style: none; margin: 0 0 1.8rem; padding: 0; flex: 1; }
.tier li { position: relative; padding: .65rem 0 .65rem 1.7rem; font-size: .98rem; line-height: 1.55; color: #d0d0bd; }
.tier li::before { top: 1.1rem; }
.tier .btn { width: 100%; justify-content: space-between; font-size: .98rem; }
.tier-note { text-align: center; color: var(--ink-soft); font-size: .9rem; line-height: 1.8; margin: 2.5rem 0 .6rem; }
.refund-note { text-align: center; font-size: .8rem; color: var(--ink-soft); margin: 0; }
.faq { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(3rem, 7vw, 7rem); padding-block: 7rem; }
.faq-intro h2 { font-size: 2.6rem; font-weight: 300; }
.faq-intro p { margin-top: 1.6rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.9; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; font-weight: 400; font-size: 1rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: .35rem; top: 1.55rem; width: .5rem; height: .5rem; border-bottom: 1px solid; border-right: 1px solid; transform: rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(225deg); top: 1.8rem; }
.faq-list details p { font-size: .95rem; line-height: 1.8; color: var(--ink-soft); padding-right: 1.5rem; padding-bottom: .5rem; }
.closing { background: #111e15; color: var(--ink); border-top: 1px solid var(--line); padding: 6rem 0; text-align: center; }
.closing h2 { font-size: clamp(2.8rem, 4.5vw, 4.4rem); font-weight: 300; }
.closing p { color: var(--ink-soft); margin: 1.6rem 0 2rem; font-size: 1rem; }
.site-foot { margin-top: 0; background: var(--wall); }
.site-foot .wordmark { font-size: 1.6rem; margin-bottom: 1rem; }
.site-foot p { font-size: .85rem; line-height: 1.8; }
.footer-right { text-align: right; }
.footer-right nav { justify-content: flex-end; }
@media (min-width: 1800px) {
  .hero-content.shell { padding-top: 24vh; }
}
@media (max-width: 1100px) {
  .hero h1 { font-size: 5.5vw; }
  .hero-copy { width: 78%; }
  .hero .lede { font-size: 1.2rem; }
  .how-steps li { padding-inline: 1.5rem; }
  .how-steps h3 { font-size: 1.3rem; }
  .sample { gap: 3rem; }
  .chapter-sample { padding: 2rem; }
  .chapter-sample h3 { font-size: 1.5rem; }
  .tier { padding-right: 2rem; }
  .tier.featured { padding-left: 2rem; }
}
@media (max-width: 760px) {
  .theatre-home .site-head { padding: 1.4rem 0; }
  .theatre-home .site-head .shell { width: calc(100% - 3rem); display: grid; grid-template-columns: 1fr auto; gap: 1.4rem 1rem; }
  .theatre-home .site-head .wordmark { grid-column: 1; grid-row: 1; font-size: 1.35rem; }
  .theatre-home .site-head nav { display: contents; }
  .theatre-home .site-head nav a { font: 300 .84rem var(--story); padding: 0; text-align: left; }
  .theatre-home .site-head nav a:first-child { grid-column: 1; grid-row: 2; }
  .theatre-home .site-head nav a:nth-child(2) { grid-column: 2; grid-row: 2; text-align: right; }
  .theatre-home .site-head nav .nav-start { grid-column: 2; grid-row: 1; font-size: .84rem; }
  .hero { height: max(100svh, 900px); min-height: 0; max-height: none; }
  .stage-image img { object-position: center bottom; }
  .projection-light { background-image: url('/assets/theatre-mobile.webp'); mask-image: radial-gradient(ellipse 50% 25% at 62% 70%, #000, transparent); }
  .hero-content.shell { width: calc(100% - 3rem); padding-top: 9.3rem; }
  .hero-copy { width: 100%; max-width: none; }
  .hero h1 { font-size: clamp(2.2rem, 9.8vw, 4.5rem); line-height: 1.18; letter-spacing: -.05em; margin-bottom: 1.5rem; }
  .hero .lede { font-size: 1rem; line-height: 1.7; max-width: 23rem; }
  .hero-actions { margin-top: 1.6rem; gap: 1.3rem; flex-wrap: wrap; }
  .hero .btn { min-width: 0; padding: .8rem 1.35rem; font-size: .92rem; min-height: 2.9rem; }
  .hero .text-link { font-size: .85rem; }
  .hero-note { bottom: 2rem; font-size: .73rem; left: 1.2rem; right: 1.2rem; }
  .hero-note::after { margin-top: 1rem; width: 2rem; }
  .motion-toggle { bottom: 5rem; right: 1.4rem; width: 2.2rem; height: 2.2rem; padding: .55rem; }
  .projector-dust { left: 7%; top: 64%; width: 33%; height: 10%; }
  .how-band { padding: 3.5rem 0 2.5rem; }
  .how-band h2 { margin-bottom: 2.7rem; }
  .how-steps { grid-template-columns: 1fr; gap: 1.7rem; }
  .how-steps li, .how-steps li:first-child, .how-steps li:last-child { padding: 0 0 1.3rem 3rem; position: relative; border: 0; border-bottom: 1px solid var(--line); }
  .step-number { position: absolute; left: 0; top: .1rem; font-size: 1.1rem; }
  .how-steps h3 { font-size: 1.35rem; margin-bottom: .7rem; }
  .how-steps p { font-size: .95rem; margin-bottom: 0; }
  .how-note { font-size: .85rem; margin-top: 1.8rem; }
  .sample { grid-template-columns: 1fr; padding-block: 3.8rem; gap: 2.6rem; }
  .sample-dek { font-size: 1.2rem; margin-top: 1.2rem; }
  .source-note { max-width: none; margin-top: 1.8rem; }
  .source-note blockquote { min-height: 0; font-size: 1.2rem; }
  .sample-disclaimer { max-width: none; }
  .chapter-sample { padding: 2rem; margin-inline: .25rem; }
  .chapter-sample h3 { font-size: 1.7rem; }
  .chapter-sample .story { font-size: 1rem; }
  .bookband { padding-block: 3rem; }
  .book-grid { grid-template-columns: 1fr; gap: 2rem; }
  .book-copy h2 { margin-bottom: 1.3rem; }
  .care { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.5rem; }
  .care .lede { margin-bottom: 0; }
  .price { padding-top: 3.5rem; }
  .section-intro { margin-bottom: 2rem; }
  .section-intro p { font-size: .95rem; }
  .tiers { grid-template-columns: 1fr; gap: 2rem; }
  .tier, .tier.featured { padding: 1rem .3rem 2rem; border-left: 0; border-bottom: 1px solid #766844; }
  .tier-top h3 { font-size: 1.8rem; }
  .amount { font-size: 2.5rem; }
  .tier li { font-size: .96rem; }
  .tier-note { font-size: .81rem; }
  .refund-note { font-size: .78rem; }
  .faq { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.8rem; }
  .faq-intro h2 { font-size: 2.4rem; }
  .faq-intro p { margin-bottom: 0; }
  .faq-list summary { font-size: .95rem; }
  .closing { padding-block: 3.5rem; }
  .closing h2 { font-size: 2.6rem; }
  .closing p { font-size: .9rem; max-width: 19rem; margin-inline: auto; }
  .site-foot .shell { gap: 1.5rem; }
  .footer-right { text-align: left; }
  .footer-right nav { justify-content: flex-start; }
}
@media (max-width: 370px) {
  .theatre-home .site-head .shell, .hero-content.shell { width: calc(100% - 2.5rem); }
  .theatre-home .site-head .wordmark { font-size: 1.12rem; }
  .theatre-home .site-head nav .nav-start { font-size: .78rem; }
  .hero-actions { gap: 1rem; }
  .hero .text-link { font-size: .78rem; }
  .hero .btn { font-size: .82rem; padding-inline: 1.1rem; }
  .hero-note { font-size: .64rem; }
  .chapter-sample { padding: 1.5rem; }
  .chapter-sample h3 { font-size: 1.5rem; }
  .chapter-sample .story { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  .projection-light, .projector-dust { display: none; }
  .motion-toggle { display: none; }
}

/* Owner-requested mobile reframe: a close, complete stage within one viewport. */
.theatre-home .site-head .wordmark { font-size: 1.85rem; font-weight: 800; }
.theatre-home .wordmark .brand-emblem { width: 2.8rem; height: 2.6rem; }
@media (max-width: 760px) {
  .theatre-home .site-head .wordmark { font-size: 1.35rem; }
  .theatre-home .wordmark .brand-emblem { width: 2.2rem; height: 2.05rem; }
  .theatre-home .site-head nav a:first-child, .theatre-home .site-head nav a:nth-child(2) { display: none; }
  .theatre-home .site-head .shell { grid-template-columns: 1fr auto; }
  .hero { height: 100svh; min-height: 780px; }
  .hero-content.shell { padding-top: 6.6rem; }
  .hero h1 { margin-bottom: 1.25rem; }
  .hero .lede { max-width: 21rem; line-height: 1.65; }
  .hero-actions { margin-top: 1.4rem; }
  .hero-note { bottom: 1.65rem; }
  .motion-toggle { bottom: 4.5rem; }
}
@media (max-width: 370px) {
  .theatre-home .site-head .wordmark { font-size: 1.15rem; gap: .5rem; }
  .theatre-home .wordmark .brand-emblem { width: 1.9rem; height: 1.8rem; }
}
@media (max-width: 760px) {
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(#09120c22, #09120c55 32%, #09120c44 40%, transparent 56%); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #09120c88, #09120c44 58%, transparent 85%); }
}

/* A quiet gift doorway between the book and the listening promise. */
.gift-invitation { padding-block: 2.5rem; border-block: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: .4rem 2rem; align-items: baseline; }
.gift-invitation p { font: 300 clamp(1.65rem, 3vw, 2.4rem)/1.3 var(--story); margin: 0; }
.gift-invitation > a { color: var(--gold); display: inline-flex; gap: 1.5rem; align-items: center; min-height: 2.75rem; }
.gift-invitation > span { color: var(--ink-soft); font-size: 1rem; }
@media(max-width:640px) { .gift-invitation { grid-template-columns: 1fr; gap: .8rem; } .gift-invitation > span { grid-row: 2; } .gift-invitation > a { justify-self: start; } }
