/* OUR LIVES · THE IMMERSIVE EDITION
   Cinematic art direction layered over the original accessible book site.
   Keeps original author, book, editorial copy and interactive directory. */
:root { --night:#090b18; --copper:#cb8e59; --cream:#f6e7c7; }
html { scroll-padding-top: 74px; }
body { overflow-x: hidden; }
.site-header { background: #090d1cd8; backdrop-filter: blur(17px); border-bottom: 1px solid #ead6a530; box-shadow: none; }
.site-header--scrolled { background: #090d1bf4; box-shadow: 0 14px 40px #0003; }
.brand { letter-spacing: .11em; font-size: 10px; text-align: left; }
.nav-inner { min-height: 78px; }
.desktop-nav { gap: clamp(10px,1.6vw,28px); }
.desktop-nav > a:not(.nav-cta) { font: 600 10px/1.2 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: .085em; }
.nav-cta { background: linear-gradient(110deg,#ffe8ad,#b78950); letter-spacing:.13em; padding: 13px 19px; }
.btn { letter-spacing: .14em; font-size: 10px; padding: 17px 23px; min-height: 47px; border-radius: 0; }
.btn--gold { background: linear-gradient(135deg,#f7da9e,#b9854c); color:#211822; }
.btn--outline-light { background:#0b101f67; border-color:#f4d6a77c; }
.btn--burgundy { background: #61212c; }
.btn--outline-gold { background: #17142275; backdrop-filter: blur(10px); }
.eyebrow { font-size: 10px; letter-spacing:.29em; }
.ornament { margin: 15px 0 22px; }
.reveal { transform: translateY(52px); transition-duration: 1.05s,1.15s; }
.section-heading h2 { font-size: clamp(31px,3.8vw,53px); }

/* Hero — theatrical opening with a living holographic book */
.immersive-hero { min-height: max(820px,100svh); padding-top:78px; background:#0a0c22; }
.immersive-hero .hero-sky {
  background: radial-gradient(circle at 66% 48%,#a82b5c4a,transparent 32%),
   linear-gradient(0deg,#0a0a19 0%,transparent 40%,#090b1c9e 100%),
   url('/assets/hero-landscape.webp') center 55%/cover no-repeat;
  inset:0; z-index:-4; filter:saturate(1.16) contrast(1.05); transform:scale(1.03);
  animation:hero-kenburns 30s ease-in-out infinite alternate;
}
.immersive-hero .hero-sky::after { background: linear-gradient(120deg,transparent 22%,#ef67801c 55%,transparent 73%); }
.immersive-hero .hero-horizon { display:none; }
.immersive-hero .hero-shading { background:linear-gradient(90deg,#090b1bde 0%,#090d1ba3 33%,#0b0d1e4c 63%,#090e1f82 100%),linear-gradient(0deg,#090b19 0%,transparent 23%,transparent 70%,#090b19a8 100%); }
.hero-atmospheric-grid { pointer-events:none; position:absolute; inset:0; z-index:-1; opacity:.5; background-image:linear-gradient(#e1a96214 1px,transparent 1px),linear-gradient(90deg,#e1a9620d 1px,transparent 1px); background-size:110px 110px; mask-image:linear-gradient(90deg,#0002,transparent 67%); }
.immersive-hero::before { content:''; pointer-events:none; position:absolute; width:77vw; height:77vw; max-width:1300px; max-height:1300px; right:-25vw; top:-9vw; border:1px solid #e8b77828; border-radius:50%; box-shadow:0 0 0 96px #c2965a07,0 0 0 195px #e8b77807,0 0 0 292px #c2965a05; z-index:0; animation:halo-breathe 12s ease-in-out infinite; }
.immersive-hero .hero-inner { display:grid; grid-template-columns:.97fr 1.03fr; gap:0; min-height:calc(100svh - 78px); max-width:1500px; align-items:center; padding-block:35px 66px; }
.immersive-hero .hero-copy { max-width:740px; text-align:left; margin-left:clamp(0px,2vw,32px); padding:0; animation:none; }
.immersive-hero .hero-copy .eyebrow,.immersive-hero .hero-kicker { text-align:left; }
.hero-dateline { display:flex; align-items:center; gap:16px; font:600 9px 'DM Sans',sans-serif; letter-spacing:.24em; color:#efd0a0; margin-bottom:37px; }
.hero-dateline__number { font:500 30px/1 var(--display); color:#f6c98a; }
.hero-dateline__rule { height:1px; width:54px; background:#e9bb76; }
.immersive-hero .hero-kicker { color:#d1a572; font-size:11px; margin-bottom:14px; }
.immersive-hero h1 { font:500 clamp(37px,4.15vw,69px)/1.23 var(--display); letter-spacing:.028em; color:#f6dfb2; margin-bottom:29px; text-shadow:0 12px 29px #05040eb0; }
.immersive-hero h1 em { display:inline; font:inherit; font-style:normal; letter-spacing:inherit; margin:0; color:#f2c17c; }
.immersive-hero h1 em::before,.immersive-hero h1 em::after { display:none; }
.hero-title-period { color:#bc5a6b; }
.immersive-hero .hero-subtitle { font:400 clamp(19px,1.65vw,25px)/1.34 var(--serif); width:min(580px,95%); margin-bottom:20px; color:#f7e5cf; }
.immersive-hero .hero-byline { font-size:10px; letter-spacing:.19em; margin-bottom:33px; }
.immersive-hero .hero-byline strong { margin-left:10px; }
.immersive-hero .hero-buttons { justify-content:flex-start; gap:13px; }
.immersive-hero .hero-book { min-height:690px; height:min(82svh,780px); z-index:2; }
.immersive-hero .book-visual { height:100%; min-height:600px; }
.immersive-hero .book-halo { background:radial-gradient(circle,#f2ba9154,transparent 65%); filter:blur(55px); top:14%; }
.immersive-hero .book-scene { inset:0; }
.immersive-hero .book-floor-glow { bottom:3%; }
.hero-book__aura { position:absolute; border-radius:50%; aspect-ratio:1; width:74%; top:11%; left:13%; border:1px solid #ecc3924d; box-shadow:0 0 0 22px #efc28c09,0 0 0 70px #efc28c08; opacity:.65; animation:armillary-turn 40s linear infinite; }
.hero-book__aura::before,.hero-book__aura::after { content:''; position:absolute; inset:5%; border:1px solid #ecc39240; border-radius:50%; transform:rotate(53deg) scaleX(.6); }
.hero-book__aura::after { transform:rotate(-53deg) scaleX(.6); }
.book-interaction { position:absolute; z-index:6; bottom:4%; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:18px; padding:12px 17px; min-width:173px; border:1px solid #f6ce8a6e; background:#100f1fa8; backdrop-filter:blur(10px); color:#f8d7a7; font:600 9px 'DM Sans',sans-serif; letter-spacing:.2em; box-shadow:0 8px 35px #0005; white-space:nowrap; }
.book-interaction:hover { color:white; background:#4c2338; }
.book-interaction span:last-child { font:24px/1 Georgia,serif; }
.book-object-caption { position:absolute; bottom:13%; left:6%; display:flex; flex-direction:column; gap:10px; color:#f0cd99; font:600 10px 'DM Sans',sans-serif; letter-spacing:.18em; opacity:.72; pointer-events:none; }
.book-object-caption strong { font-size:8px; color:#f1e0cc; }
.hero-side-tag { position:absolute; right:22px; top:43%; writing-mode:vertical-rl; font:600 9px 'DM Sans',sans-serif; letter-spacing:.23em; color:#dfb9919c; }
.immersive-hero .scroll-invite { bottom:13px; }
@keyframes hero-kenburns { 0% {transform:scale(1.035) translateX(0);}100% {transform:scale(1.12) translateX(-1.4%);} }
@keyframes armillary-turn { to {transform:rotate(360deg);} }

/* Book introduction: one monumental archival set, text floats beside it */
.about-book { min-height:760px; padding:110px 0 105px; overflow:hidden; background:linear-gradient(100deg,#c7ab89,#f7e7c9 48%,#f7edd9); }
.about-book::after { content:'1776'; font:500 230px var(--display); color:#9c6f4c12; position:absolute; right:-75px; bottom:-55px; pointer-events:none; }
.about-grid { display:grid; grid-template-columns:1.08fr .92fr; gap:0; width:min(1410px,calc(100% - 100px)); min-height:525px; padding:0; align-items:center; }
.declaration-art.scene-frame { width:112%; height:555px; min-height:555px; border:0; border-radius:0; margin-left:-7%; box-shadow:36px 45px 70px #3f2a2847,0 0 0 10px #eee1ce75; transform:rotate(-2deg); }
.declaration-art.scene-frame > img { object-position:30% center; transform:scale(1.03); }
.declaration-art.scene-frame:hover > img { transform:scale(1.09); }
.declaration-art.scene-frame::before { content:'I'; position:absolute; z-index:3; top:23px; left:27px; font:400 106px var(--display); color:#f4c6819f; text-shadow:0 3px 16px #0008; }
.declaration-art.scene-frame .scene-frame__caption { bottom:25px; left:35px; }
.about-book-text { position:relative; z-index:4; background:linear-gradient(150deg,#fff3dff7,#e8ceacfa); border:1px solid #bc9870; box-shadow:0 25px 55px #3e281f3c; padding:clamp(28px,4.6vw,72px); margin-left:-42px; max-width:645px; }
.about-book-text::before { content:''; position:absolute; inset:14px; border:1px solid #ad83504a; pointer-events:none; }
.about-book-text::after { content:'CHAPTER ONE'; position:absolute; right:-21px; top:-28px; background:#5a2730; padding:10px 16px; color:#f8dfa9; font:700 9px 'DM Sans',sans-serif; letter-spacing:.22em; transform:rotate(4deg); }
.about-book-text h2 { font-size:clamp(32px,3.2vw,48px); }
.about-book-text p { font-size:clamp(19px,1.65vw,24px); line-height:1.38; }
.about-book-ambient { display:none; }

/* This is a real 3D animated passage rather than a picture with text under it. */
.cinematic-chamber { position:relative; min-height:860px; background:#0b0d19; color:#f6e5cf; isolation:isolate; overflow:hidden; }
.journey-canvas { position:absolute; inset:0; z-index:0; background:radial-gradient(ellipse at 76% 40%,#7c3f4a,transparent 75%),#10131d; }
.journey-canvas canvas { display:block; width:100%; height:100%; }
.journey-fallback { width:100%;height:100%;object-fit:cover; }
.chamber-shading { position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,#090b16f2 0%,#090b16d6 29%,#0b0b1994 47%,transparent 90%),linear-gradient(0deg,#080913fa 0%,transparent 22%,transparent 78%,#070814aa 100%);pointer-events:none; }
.chamber-topline { position:relative;z-index:3;display:flex;justify-content:space-between;padding-top:106px;color:#e0c095;font:700 10px 'DM Sans',sans-serif;letter-spacing:.24em; }
.chamber-content { position:relative; z-index:3; display:flex; align-items:center; justify-content:space-between; min-height:540px; }
.chamber-copy { max-width:590px; padding:50px 0 40px; }
.chamber-year { font:500 clamp(75px,12vw,190px)/1 var(--display); color:#d6af78; letter-spacing:-.06em; opacity:.87; margin-bottom:3px; }
.chamber-year span { display:inline-block; vertical-align:middle; margin-left:19px; font:700 10px/1.7 'DM Sans',sans-serif; letter-spacing:.25em; color:#f6dab1; max-width:135px; }
.chamber-copy h2 { color:#fff0d8; font-size:clamp(38px,4.3vw,66px); letter-spacing:.02em; line-height:1.11; margin:0 0 22px; max-width:640px; text-shadow:0 6px 24px #000b; }
.chamber-description { font:400 clamp(20px,1.85vw,27px)/1.37 var(--serif); max-width:500px; color:#f2decb; margin-bottom:30px; }
.chamber-copy .eyebrow { color:#edbc7e; margin-bottom:19px; }
.chamber-progress { position:absolute; right:8px; top:42%; display:flex; align-items:center; writing-mode:vertical-rl; gap:13px; color:#ffe1ab; font:500 11px var(--display); letter-spacing:.2em; }
.chamber-progress i { height:130px; width:1px; background:linear-gradient(#ecc38c,transparent); }
.chapter-select { position:relative; z-index:3; display:grid; grid-template-columns:repeat(3,1fr); gap:15px; padding-bottom:70px; }
.chapter-step { text-align:left; min-height:90px; background:#0c0c1a73; backdrop-filter:blur(12px); color:#f4ddc6; border:1px solid #f2cb8652; padding:16px 22px 13px; display:grid; grid-template-columns:auto 1fr; gap:11px 14px; position:relative; transition:background .35s,border-color .3s,transform .3s; }
.chapter-step:hover { transform:translateY(-7px); background:#61303967; }
.chapter-step.is-active { background:#6b33418c; border-color:#eac28a; }
.chapter-step__number { font:500 29px var(--display); color:#e6bb80; }
.chapter-step__label { align-self:center; font:700 11px 'DM Sans',sans-serif; letter-spacing:.17em; }
.chapter-step__bar { display:block; grid-column:span 2; height:1px; background:#ad8d6b72; position:relative; }
.chapter-step__bar::after { content:''; position:absolute; width:0; top:0; left:0; height:2px; background:#f4ce90; transition:width .5s; }
.chapter-step.is-active .chapter-step__bar::after { width:100%; }
.chamber-credit { position:absolute; bottom:23px; z-index:3; text-align:center; width:100%; font:600 9px 'DM Sans',sans-serif; letter-spacing:.19em; color:#f1cb98a8; }

/* The signers: framed living archive, not a grid of generic icons */
.signers-section { padding:110px 0 100px; background:radial-gradient(ellipse at 10% 15%,#502c39 0%,transparent 54%),linear-gradient(138deg,#121525,#261826 65%,#171a24);color:#f5e5ce; }
.signers-section:before { border:0; box-shadow:none; }
.signers-section .paper-noise { opacity:.1; filter:invert(1); }
.signers-section .container { max-width:1370px; }
.signers-section .section-heading { margin-bottom:42px; }
.signers-section .section-heading h2 { color:#f1d5a1; font-size:clamp(42px,5vw,76px); }
.signers-section .section-heading p { color:#edddc2; font-size:clamp(20px,2vw,27px); }
.signers-section .section-heading .eyebrow { color:#d3a168; }
.signatures { opacity:.23; color:#f1d1a6; }
.signers-gallery.scene-frame { height:clamp(270px,38vw,540px); width:100%; margin-bottom:55px; border:1px solid #c99a6460; box-shadow:0 22px 95px #0007,0 0 0 10px #bd995d0f; border-radius:0; }
.signers-gallery.scene-frame > img { object-position:center 50%; }
.signers-gallery.scene-frame::before { content:'';position:absolute;z-index:3;inset:17px;border:1px solid #eac48d65;pointer-events:none; }
.signers-gallery > .scene-frame__vignette { background:linear-gradient(90deg,#090a19cc 0%,#090a1911 70%),linear-gradient(0deg,#070912c4,transparent 60%); }
.gallery-caption { align-items:flex-start; flex-direction:column; left:clamp(30px,5vw,80px);bottom:clamp(25px,6vw,78px); gap:13px; }
.gallery-caption span { font:700 10px 'DM Sans',sans-serif; color:#e2ae71; letter-spacing:.35em; }
.gallery-caption strong { font:500 clamp(31px,4vw,58px)/1.13 var(--display); max-width:720px; text-transform:uppercase; color:#fff2de; letter-spacing:.02em; }
.signers-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; }
.signers-grid--expanded { grid-template-columns:repeat(6,minmax(0,1fr));gap:18px; }
.signer-card { background:linear-gradient(145deg,#f7e6ca,#dcc6a7); border:1px solid #c8a77f; box-shadow:0 10px 30px #06060d69; padding:12px 12px 17px; transition:transform .4s ease,box-shadow .4s ease; transform-style:preserve-3d; }
.signer-card:hover { transform:translateY(-14px) rotateX(5deg) rotateY(-3deg); box-shadow:0 26px 38px #000a,0 0 0 1px #e0bc83; }
.signer-card__image { max-width:none; width:100%; height:207px; overflow:hidden; mask-image:none; background:#d7c19f; }
.signers-grid--expanded .signer-card__image { max-width:none; height:160px; }
.signer-card__image img { width:100%; height:100%; object-fit:cover;object-position:center 20%; }
.signer-card__name { color:#4d2933; font-size:12px; margin:14px 0 5px; letter-spacing:.04em; }
.signer-card__state { font-size:17px; }
.signers-footer .ornament { margin:35px 0 24px; }
.signers-footer .btn { color:#ffeed2; border-color:#d0a572; background:#6f2939; }
.signer-count { color:#f4d2aa; }
.search-field,.colony-field { background:#e9d6b3; }
.source-note {color:#e7c8a4;}

/* Three stakes — images become tall cinematic panels */
.pillars-section { padding:110px 0 115px; background:linear-gradient(125deg,#e8d4b2,#fbf0dc 55%,#d6b68b); }
.pillars-section .section-heading { margin-bottom:55px; }
.pillars-section .section-heading h2 { font-size:clamp(35px,4vw,61px); }
.pillars-section .section-heading p { font-size:23px; max-width:820px; }
.pillars-grid { gap:15px; grid-template-columns:repeat(3,1fr); }
.pillar { position:relative; display:flex; flex-direction:column; justify-content:flex-end; min-height:530px; border:1px solid #e8c39070!important; background:#191727; overflow:hidden; color:#fff0d7; padding:0 33px 40px; isolation:isolate; text-align:left; box-shadow:0 15px 37px #51331f44; transition:transform .5s ease,box-shadow .5s ease; }
.pillar:hover {transform:translateY(-12px);box-shadow:0 26px 55px #51331f77;}
.pillar .pillar-scene { z-index:-2; position:absolute;inset:0;width:100%;height:100%; }
.pillar .pillar-scene::after { background:linear-gradient(0deg,#0b0c1afa 0%,#0e1019a6 40%,#080c1680 100%); }
.pillar .pillar-scene img { width:100%;height:100%;object-fit:cover;filter:saturate(.9);transition:transform 1.1s cubic-bezier(.2,.7,.2,1); }
.pillar:hover .pillar-scene img { transform:scale(1.13); }
.pillar-scene__number { position:absolute; top:22px; left:29px; font:500 clamp(90px,10vw,150px)/1 var(--display); color:#fbdca76b; }
.pillar h3 { font:500 clamp(22px,2.3vw,34px)/1.14 var(--display); color:#f5c98d; margin:0 0 16px; }
.pillar p { color:#f4e1c6; margin:0; padding:0!important; font-size:clamp(19px,1.8vw,25px);line-height:1.25;max-width:360px; }
.pillar:nth-child(2) { transform:translateY(24px); }
.pillar:nth-child(2):hover { transform:translateY(12px); }

/* Inside the book: theatrical reading desk in the dark */
.inside-section { background:radial-gradient(ellipse at 80% 70%,#6e423d55,transparent 70%),linear-gradient(130deg,#1a1624,#12121e 72%); padding:110px 0 120px; color:#f4dfc6; }
.inside-section .section-heading h2 {color:#f2d1a0;font-size:clamp(39px,4.7vw,69px);}
.inside-section .section-heading .eyebrow {color:#e2b880;}
.inside-section .section-heading p {color:#e8d2b8;font-size:23px;}
.inside-grid { grid-template-columns:1.17fr .83fr;gap:70px;align-items:center; }
.open-book.scene-frame { width:100%;height:490px;min-height:490px; transform:perspective(1300px) rotateY(6deg) rotateZ(-2deg);border:9px solid #332024;box-shadow:22px 35px 70px #000b,0 0 0 1px #a88150; }
.open-book.scene-frame > img {object-position:42% 55%;}
.inside-scene-label {bottom:35px;left:35px;}
.inside-scene-label strong {font-size:clamp(21px,2.2vw,38px);}
.checklist li {color:#f1ddc1;font-size:clamp(21px,2vw,27px);line-height:1.5;padding-left:38px;}
.checklist li::before {color:#f3be7f;border-color:#e0a96e;top:14px;}
.inside-copy .btn {background:#b78656;color:#211922;border:1px solid #f5d6a3;}

/* Closing acts retain the approved editorial color system. */
.trailer-section { padding:105px 0;background:linear-gradient(0deg,#0b0b1cde,#0b0b1c8a),url('/assets/scenes/congress.webp') center 47%/cover; }
.trailer-screen {box-shadow:0 24px 65px #0009,0 0 0 9px #d3ab7540;transform:perspective(1100px) rotateY(-3deg);}
.trailer-copy h2 {color:#eed1a0;font-size:clamp(38px,4vw,62px);}
.author-section {padding:100px 0;background:linear-gradient(110deg,#e8d3b2,#f9ecd6 65%,#d9b992);}
.author-section .author-portrait {box-shadow:17px 24px 55px #42251b4f;}
.author-copy h2 {font-size:clamp(36px,4vw,56px);}
.author-cinematic-ambient {opacity:.1;}
.purchase-section {padding-block:95px;}
.faqs-section {padding-block:80px;}
.contact-section {padding-block:80px;}
.footer {border-top:1px solid #d6b87e40;}

/* Desktop motion, adaptivity and accessible reduced motion. */
@media(min-width:1200px) {
 .immersive-hero .hero-book { margin-right:-35px; }
 .signers-gallery.scene-frame { width:calc(100% + 28px);margin-left:-14px; }
}
@media(max-width:1100px) {
 .immersive-hero .hero-inner {grid-template-columns:1fr 1fr;}
 .immersive-hero h1 {font-size:clamp(31px,4.4vw,49px);}
 .immersive-hero .hero-book {min-height:560px;height:580px;}
 .about-book {min-height:660px;padding-block:85px;}
 .about-grid {width:calc(100% - 55px);}
 .declaration-art.scene-frame {height:480px;min-height:480px;}
 .about-book-text {padding:34px;}
 .signers-grid--expanded {grid-template-columns:repeat(5,1fr);}
 .signer-card__image {height:168px;}
 .pillar {min-height:460px;padding:0 22px 31px;}
 .inside-grid {gap:38px;}
 .open-book.scene-frame {height:385px;min-height:385px;}
}
@media(max-width:880px) {
 .nav-inner {min-height:68px;}
 .immersive-hero {padding-top:68px;min-height:800px;}
 .immersive-hero .hero-inner {min-height:710px;padding:25px 0 70px;}
 .immersive-hero .hero-book {min-height:480px;height:540px;}
 .immersive-hero .book-visual {min-height:480px;}
 .immersive-hero .hero-subtitle {font-size:19px;}
 .hero-dateline {margin-bottom:20px;}
 .book-object-caption {display:none;}
 .about-grid {grid-template-columns:1fr 1fr;}
 .declaration-art.scene-frame {height:430px;min-height:430px;}
 .about-book-text p {font-size:19px;}
 .chamber-topline {padding-top:85px;}
 .chamber-content {min-height:505px;}
 .chamber-copy {max-width:510px;}
 .chamber-copy h2 {font-size:45px;}
 .chamber-description {max-width:400px;}
 .signers-grid,.signers-grid--expanded {grid-template-columns:repeat(4,1fr);}
 .pillar {min-height:430px;}
 .pillar h3 {font-size:23px;}
 .pillar p {font-size:20px;}
 .inside-grid {grid-template-columns:1fr;}
 .open-book.scene-frame {width:100%;height:425px;min-height:425px;transform:none;}
 .inside-copy {align-items:center;}
}
@media(max-width:640px) {
 .container,.container-wide {width:calc(100% - 34px);}
 .immersive-hero {min-height:1000px;}
 .immersive-hero .hero-inner {display:flex; flex-direction:column; min-height:950px; padding:63px 0 75px; gap:0;}
 .immersive-hero .hero-copy {margin-left:0;text-align:center;max-width:560px;}
 .hero-dateline {justify-content:center;margin-bottom:25px;}
 .immersive-hero .hero-kicker {text-align:center;font-size:9px;}
 .immersive-hero h1 {font-size:clamp(27px,8.4vw,44px);line-height:1.24;margin-bottom:18px;}
 .immersive-hero .hero-subtitle {width:auto;font-size:19px;margin-bottom:15px;}
 .immersive-hero .hero-byline {margin-bottom:20px;}
 .immersive-hero .hero-buttons {justify-content:center;gap:9px;}
 .immersive-hero .hero-buttons .btn {font-size:9px;padding:13px 14px;}
 .immersive-hero .hero-book {min-height:430px;height:445px;width:100%; margin-top:-15px;}
 .immersive-hero .book-visual {min-height:425px;height:445px;}
 .hero-book__aura {top:0%;width:68%;left:16%;}
 .book-interaction {bottom:0%;}
 .hero-side-tag {display:none;}
 .immersive-hero .scroll-invite {bottom:5px;}
 .about-book {padding:60px 0 70px;min-height:0;}
 .about-grid {display:flex;flex-direction:column;width:calc(100% - 38px);gap:0;}
 .declaration-art.scene-frame {width:100%;margin:0;height:295px;min-height:295px;transform:none!important;box-shadow:0 17px 45px #3f2a2844;}
 .declaration-art.scene-frame::before {font-size:68px;top:9px;left:18px;}
 .about-book-text {margin:-35px 10px 0 10px;padding:28px 22px 33px;max-width:none;}
 .about-book-text::after {top:-12px;right:14px;font-size:8px;}
 .about-book-text h2 {font-size:31px;}
 .about-book-text p {font-size:19px;}
 .cinematic-chamber {min-height:800px;}
 .journey-canvas {opacity:.87;}
 .chamber-shading {background:linear-gradient(90deg,#0b0c1ade,transparent 100%),linear-gradient(0deg,#0a0b18 0%,transparent 55%,#0709149e 100%);}
 .chamber-topline {padding-top:70px;font-size:8px;flex-direction:column;gap:8px;}
 .chamber-content {min-height:525px;align-items:flex-end;}
 .chamber-copy {padding:40px 0 50px;}
 .chamber-year {font-size:105px;}
 .chamber-year span {font-size:9px;max-width:95px;}
 .chamber-copy h2 {font-size:clamp(31px,9.7vw,52px);}
 .chamber-description {font-size:20px;}
 .chamber-progress {right:0;top:15%;}
 .chamber-progress i {height:60px;}
 .chapter-select {gap:6px;padding-bottom:69px;}
 .chapter-step {min-height:78px;padding:11px 9px;gap:7px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;}
 .chapter-step__number {font-size:20px;}
 .chapter-step__label {font-size:8px;letter-spacing:.07em;}
 .chapter-step__bar {width:100%;}
 .chamber-credit {font-size:7px; padding:0 18px;line-height:1.6;}
 .signers-section {padding:70px 0 80px;}
 .signers-section .section-heading h2 {font-size:42px;}
 .signers-gallery.scene-frame {height:285px;margin:0 0 30px;}
 .gallery-caption {left:25px;bottom:25px;gap:10px;}
 .gallery-caption strong {font-size:27px;max-width:265px;}
 .signers-grid,.signers-grid--expanded {grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}
 .signer-card {padding:9px 9px 16px;}
 .signer-card__image,.signers-grid--expanded .signer-card__image {height:195px;}
 .signer-card__name {font-size:10px;}
 .signer-card__state {font-size:15px;}
 .pillars-section {padding:76px 0 95px;}
 .pillars-section .section-heading h2 {font-size:31px;}
 .pillars-grid {grid-template-columns:1fr;gap:14px;}
 .pillar,.pillar:nth-child(2) {min-height:400px;transform:none;padding:0 25px 30px;}
 .pillar:nth-child(2):hover {transform:translateY(-8px);}
 .pillar-scene__number {font-size:100px;}
 .pillar h3 {font-size:27px;}
 .pillar p {font-size:21px;}
 .inside-section {padding:75px 0 90px;}
 .inside-section .section-heading h2 {font-size:41px;}
 .open-book.scene-frame {height:300px;min-height:300px;}
 .inside-scene-label strong {font-size:18px;}
 .checklist li {font-size:21px;}
 .trailer-section {padding:75px 0;}
 .author-section {padding:78px 0;}
}
@media(prefers-reduced-motion:reduce) {
 .hero-book__aura,.immersive-hero .hero-sky {animation:none!important;}
 .pillar,.signer-card,.chapter-step {transition:none!important;}
 .reveal {opacity:1!important;transform:none!important;}
}
/* Cinematic vertical parallax follows scroll position without React rerenders. */
.scene-frame > img { transform:translate3d(0,var(--scene-drift,0px),0) scale(1.1); transition:transform 1.25s cubic-bezier(.2,.6,.22,1); }
.scene-frame:hover > img { transform:translate3d(0,var(--scene-drift,0px),0) scale(1.16); }
.pillar-scene > img { transform:translate3d(0,var(--scene-drift,0px),0) scale(1.11); }
.pillar:hover .pillar-scene > img {transform:translate3d(0,var(--scene-drift,0px),0) scale(1.17);}
@media(prefers-reduced-motion:reduce) {.scene-frame > img,.pillar-scene > img { transform:none!important; }}
/* A solemn transition: the original pledge feels written in light. */
.pledge-interlude { min-height:415px; display:grid; place-items:center;position:relative;overflow:hidden;color:#f1ddbb;background:linear-gradient(100deg,#20121eaa,#171323d1),url('/assets/scenes/declaration.webp') center 45%/cover no-repeat;isolation:isolate; }
.pledge-interlude::before { content:'';position:absolute;inset:18px;border:1px solid #d2a46b3d;pointer-events:none; }
.pledge-interlude__glow {position:absolute;width:800px;height:430px;left:50%;top:50%;transform:translate(-50%,-50%);background:radial-gradient(ellipse,#c18e5148,transparent 70%);filter:blur(45px);}
.pledge-interlude__inner { position:relative;z-index:2;text-align:center;width:min(980px,calc(100% - 45px));padding:70px 0; }
.pledge-interlude .eyebrow { color:#dbac75;letter-spacing:.4em; }
.pledge-interlude blockquote {font:400 clamp(29px,3.6vw,56px)/1.18 var(--serif);margin:23px auto 20px;max-width:980px;text-shadow:0 7px 27px #0009;}
.pledge-interlude blockquote em {color:#f5c98a;font-style:italic;}
.pledge-interlude__seal {display:block;color:#e1b574;font:22px Georgia,serif;}
.pledge-ink-line {display:block;margin:26px auto 5px;width:min(310px,50%);height:32px;overflow:visible;}
.pledge-ink-line path { fill:none;stroke:#dfae74;stroke-width:1.4;stroke-dasharray:650;stroke-dashoffset:650; }
.pledge-interlude__inner.is-visible .pledge-ink-line path {animation:ink-write 3s ease-out .3s forwards;}
@keyframes ink-write {to{stroke-dashoffset:0;}}
@media(max-width:640px) {.pledge-interlude {min-height:380px;}.pledge-interlude blockquote {font-size:32px;}}
@media(prefers-reduced-motion:reduce) {.pledge-ink-line path{stroke-dashoffset:0!important;animation:none!important;}}

/* ==============================================================
   v3 · REFINEMENT / TRUE PORTRAITS / CLIP-SAFE BOOK / LEGIBILITY
   ============================================================== */

/* Replace floating fake pages and wireframe orbits with real, UNCROPPED signer portraits. */
.hero-signers { position:absolute; inset:0; z-index:1; pointer-events:none; }
.hero-signer { position:absolute; width:clamp(88px,22%,140px); aspect-ratio:4 / 5;
  padding:6px 6px 21px; background:linear-gradient(145deg,#f6e7c9,#d7b890);
  border:1px solid #e4c48d; box-shadow:0 14px 40px #080813a3,inset 0 0 0 1px #fff7e68a;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  transform:translate3d(0,0,0) rotate(var(--tilt));
  animation:signer-sway 8s ease-in-out infinite alternate;
  transition:opacity .45s ease,filter .45s ease;
}
.hero-signer img { width:100%; height:calc(100% - 17px); object-fit:contain; object-position:center center;
  filter:grayscale(1) sepia(.25) contrast(1.04); background:#e6d2b0; }
.hero-signer span { white-space:nowrap; text-align:center; color:#502d2b; font:600 clamp(6px,.56vw,9px)/1.4 var(--display); letter-spacing:.015em; margin-top:6px; }
.hero-signer--1 { top:12%; left:1%; --tilt:-10deg; animation-delay:-2s; }
.hero-signer--2 { bottom:17%; left:5%; --tilt:7deg; animation-delay:-5s; }
.hero-signer--3 { top:9%; right:1%; --tilt:9deg; animation-delay:-3.5s; }
.hero-signer--4 { bottom:19%; right:4%; --tilt:-7deg; animation-delay:-1s; }
@keyframes signer-sway {from{transform:translateY(0) rotate(var(--tilt));}to{transform:translateY(-15px) rotate(calc(var(--tilt) + 2deg));}}
.book-visual--open .hero-signer { opacity:.09; filter:blur(2px); }
.book-scene { z-index:3; }
.book-visual--open .book-scene { z-index:4; }
.hero-book__aura,.immersive-hero::before,.hero-atmospheric-grid {display:none!important;}
.book-object-caption { display:none; } /* avoids collision with OPEN THE BOOK button */
.book-interaction { z-index:8; bottom:1%; }
.book-visual { overflow:visible; }
.book-scene canvas { display:block; width:100%; height:100%; }

/* Stable modal contrast: the dark signer SECTION must never tint parchment dialog copy. */
.signer-dialog,.sample-dialog {color:#39241f; isolation:isolate;}
.signer-dialog-copy {color:#39241f; background:linear-gradient(130deg,#f8e7c8,#ead2a9);}
.signer-dialog-copy > p:not(.dialog-note),.sample-dialog > p:not(.dialog-note) {
  color:#38241e;opacity:1;text-shadow:none;font-weight:500;line-height:1.46;
}
.signer-dialog-copy .eyebrow,.sample-dialog .eyebrow {color:#8a5831;}
.signer-dialog-copy .dialog-note,.sample-dialog .dialog-note {color:#705039;line-height:1.42;}
.dialog-portrait {display:flex;align-items:center;justify-content:center;background:#dbc59e;}
.dialog-portrait img {object-fit:contain;object-position:center;max-width:100%;max-height:100%;}
.signer-card__image,.signers-grid--expanded .signer-card__image {overflow:hidden;}
.signer-card__image img,.signers-grid--expanded .signer-card__image img {object-fit:contain;object-position:center;transform:none;}
.signer-card:hover .portrait img {transform:scale(1.025);}

/* Real archival scenes instead of CSS-drawn flags, fake book stacks or feather icons. */
.book-stack,.flag-drape,.faq-feather,.faq-books {display:none!important;}
.author-study-photo {position:absolute;right:-4%;top:1%;width:36%;height:98%;pointer-events:none;
  background:url('/assets/scenes/declaration.webp') center/cover no-repeat;
  mask-image:linear-gradient(90deg,transparent,#000 56%);opacity:.17;}
.purchase-photo {position:absolute;right:-2%;top:0;width:47%;height:100%;pointer-events:none;
  background:url('/assets/scenes/gallery.webp') center/cover no-repeat;
  mask-image:linear-gradient(90deg,transparent,#000 72%);opacity:.15;}
.faq-side-art { min-height:255px;height:auto;aspect-ratio:4 / 5;
 background:url('/assets/scenes/declaration.webp') center/cover no-repeat;filter:none;opacity:1;
 box-shadow:0 18px 35px #42261740;border:7px solid #e9d4ad;}
.footer-grid {grid-template-columns:minmax(210px,260px) minmax(0,1fr) auto;gap:32px;align-items:center;}
.footer-brand {font-size:clamp(17px,1.55vw,24px)!important;line-height:1.27;letter-spacing:.035em;max-width:270px;text-align:left;}

/* Prevent text-overlap on intermediate viewports and prevent positioned art covering copy. */
.hero-inner,.about-grid,.inside-grid,.trailer-grid,.purchase-grid,.author-grid,.footer-grid {min-width:0;}
.hero-copy,.about-book-text,.chamber-copy,.inside-copy,.trailer-copy,.author-copy,.purchase-copy,.footer-center {min-width:0;}
.hero h1,.chamber-copy h2,.section-heading h2,.pillar h3 {overflow-wrap:break-word;}
.chamber-year {white-space:normal;}
.chamber-year span {max-width:160px;line-height:1.35;}
.chamber-copy {position:relative;z-index:4;}
.chapter-select {position:relative;z-index:5;}
.chapter-step__label {min-width:0;overflow-wrap:anywhere;}
.about-book-text {overflow-wrap:break-word;}
.pillar:nth-child(2) {transform:none;}
.pillar:nth-child(2):hover {transform:translateY(-8px);}

@media(max-width:1100px) {
  .footer-grid {grid-template-columns:minmax(165px,210px) minmax(0,1fr);gap:24px;}
  .footer-socials {grid-column:2;justify-content:center;}
  .footer-brand {font-size:18px!important;}
}
@media(max-width:880px) {
  .hero-signer {width:clamp(75px,20%,112px);}
  .hero-signer--1 {left:0;top:9%;}.hero-signer--2 {left:0;bottom:19%;}
  .hero-signer--3 {right:0;top:9%;}.hero-signer--4 {right:0;bottom:19%;}
  .immersive-hero .hero-inner {gap:16px;}
  .about-book-text {margin-left:-14px;}
  .chamber-copy h2 {font-size:clamp(34px,4.7vw,52px);}
}
@media(max-width:640px) {
  .hero-signer {width:23%;max-width:98px;padding:4px 4px 13px;}
  .hero-signer span {font-size:6px;line-height:1.15;}
  .hero-signer--1 {top:14%;left:0;}.hero-signer--3 {top:14%;right:0;}
  .hero-signer--2 {bottom:24%;left:0;}.hero-signer--4 {bottom:24%;right:0;}
  .book-interaction {bottom:0;}
  .immersive-hero .hero-book {margin-top:8px;}
  .signer-dialog-copy {padding:30px 24px;}
  .dialog-portrait {min-height:180px;max-height:280px;}
  .dialog-portrait img {object-fit:contain;}
  .about-book-text {margin:-20px 8px 0;}
  .chamber-content {min-height:0;padding:45px 0 24px;}
  .chamber-year {font-size:clamp(68px,19vw,104px);}
  .chamber-copy {padding:35px 0 18px;}
  .chapter-select {grid-template-columns:1fr;gap:9px;padding-bottom:70px;}
  .chapter-step {min-height:60px;display:grid;grid-template-columns:34px 1fr;padding:10px 14px;align-items:center;}
  .chapter-step__bar {grid-column:1/-1;}
  .cinematic-chamber {min-height:0;}
  .chamber-credit {bottom:16px;}
  .pillar,.pillar:nth-child(2) {min-height:380px;}
  .author-study-photo,.purchase-photo {opacity:.07;}
  .footer-grid {grid-template-columns:1fr!important;text-align:center;gap:24px;}
  .footer-brand {font-size:19px!important;text-align:center;max-width:none;justify-self:center;}
  .footer-socials {grid-column:1;}
}
@media(prefers-reduced-motion:reduce) { .hero-signer {animation:none;} }
