@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');
:root{--navy:#102c39;--dark:#0b2430;--cream:#f6f4ee;--gold:#d6ad6d;--muted:#576971;--ink:#172d37}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--cream);line-height:1.6}h1,h2,h3,p{margin-top:0}h1,h2,.cover strong{font-family:'Playfair Display',Georgia,serif}h2{font-size:clamp(2.2rem,4.5vw,4rem);line-height:1.12;letter-spacing:-.035em}h2 em{font-weight:500;color:#6a867d}a{color:inherit}.container{width:min(1160px,calc(100% - 48px));margin-inline:auto}.skip{position:absolute;top:-70px;left:8px;background:white;z-index:20;padding:8px}.skip:focus{top:8px}.masthead{position:absolute;left:0;right:0;top:0;z-index:5;color:white;border-bottom:1px solid #ffffff22}.nav{display:flex;align-items:center;justify-content:space-between;min-height:82px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:14px;font-weight:700;letter-spacing:.22em;line-height:1.2}.brand small{display:block;font-size:9px;letter-spacing:.4em;color:var(--gold);padding-top:4px}.brand-symbol{font-size:29px;color:var(--gold);line-height:1}.nav nav{display:flex;align-items:center;gap:30px}.nav nav a{text-decoration:none;font-size:12px;font-weight:600;letter-spacing:.06em}.nav nav a:hover,.inline-link:hover{color:var(--gold)}.nav-contact{border:1px solid #ffffff73;border-radius:3px;padding:9px 15px}.menu-toggle{display:none}.hero{position:relative;min-height:660px;display:flex;align-items:center;overflow:hidden;color:white;background:radial-gradient(ellipse at 80% 40%,#376273 0%,transparent 42%),linear-gradient(125deg,#071e2b,#123b4c 65%,#264f52)}.hero:after{content:'';position:absolute;inset:0;opacity:.13;background:repeating-radial-gradient(ellipse at 78% 140%,transparent 0px,transparent 17px,#d3e9db 18px,transparent 19px);pointer-events:none}.hero-content{padding-top:95px;padding-bottom:72px;position:relative;z-index:2}.eyebrow,.section-label{display:block;font-size:11px;font-weight:700;letter-spacing:.23em;color:#a4a994;margin-bottom:21px}.hero .eyebrow{color:var(--gold)}h1{font-size:clamp(3.5rem,6.7vw,6.8rem);font-weight:500;line-height:1.07;letter-spacing:-.055em;margin-bottom:25px}h1 em{color:#e4c38d;font-weight:500}.hero p{max-width:540px;color:#d6e0dc;font-size:16px}.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:31px}.button{display:inline-flex;align-items:center;gap:25px;justify-content:center;padding:13px 23px;text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.06em;border-radius:3px;transition:transform .2s}.button:hover{transform:translateY(-2px)}.primary{background:var(--gold);color:#19292a}.ghost{border:1px solid #ffffff82;color:white}.hero-note{display:block;color:#aac0c0;font-size:10px;letter-spacing:.17em;margin-top:48px}.river-line{position:absolute;border:1px solid #bfcb9f33;border-radius:48%;transform:rotate(-31deg)}.line-one{height:650px;width:470px;right:-80px;top:160px}.line-two{height:740px;width:555px;right:-140px;top:90px}.intro{display:grid;grid-template-columns:1fr 1fr;gap:90px;padding-top:105px;padding-bottom:98px}.intro p{font-size:16px;color:#53646a}.books-section{background:#eaeae4;padding:96px 0 88px}.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:35px}.section-head h2{margin:0}.section-head p{max-width:240px;color:var(--muted);font-size:14px}.book-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.book-card{min-width:0}.cover{aspect-ratio:2/3;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:22px 12px 18px;color:white;text-align:center;box-shadow:5px 8px 14px #001e2733;position:relative;overflow:hidden}.cover:before{content:'';position:absolute;inset:-25%;background:repeating-radial-gradient(ellipse at 50% 90%,transparent 0 17px,#ffffff15 18px 19px);transform:rotate(-25deg)}.cover>*{position:relative}.cover span,.cover i{font-size:9px;letter-spacing:.18em;font-style:normal}.cover strong{font-size:clamp(19px,2.25vw,32px);line-height:1.15;text-shadow:0 2px 9px #0008}.c1{background:linear-gradient(170deg,#bb8c47,#38535a 65%,#0c2f3b)}.c2{background:linear-gradient(165deg,#1c7587,#153d58 65%,#08283c)}.c3{background:linear-gradient(165deg,#9b5728,#542c22 65%,#241e20)}.c4{background:linear-gradient(165deg,#589385,#285f58 65%,#1a3b43)}.c5{background:linear-gradient(165deg,#7d878d,#4f656d 65%,#1e343e)}.book-meta{font-size:9px;letter-spacing:.16em;color:#76848a;font-weight:700;margin-top:23px}.book-card h3{font-family:'Playfair Display',Georgia,serif;font-size:21px;line-height:1.22;margin:8px 0}.book-card p{font-size:12px;color:#69777d;min-height:61px}.coming-link{font-size:10px;color:#60757e;font-style:italic}.asset-note{margin-top:34px;color:#6b797d;font-size:12px}.world-section{background:var(--navy);color:white;padding:110px 0}.world-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.world-grid p{color:#c4d2d4;max-width:540px}.gold{color:var(--gold)}.soon{display:inline-block;margin-top:16px;font-size:10px;letter-spacing:.13em;color:var(--gold);border:1px solid #8d7f5a;padding:12px 14px}.world-mark{display:flex;justify-content:center}.seal{width:min(350px,80vw);aspect-ratio:1;border:2px solid #a68e66;border-radius:50%;display:flex;align-items:center;justify-content:space-around;flex-direction:column;color:#c0a87b;outline:1px solid #806d50;outline-offset:11px;background:radial-gradient(circle,#31505b,#142d3a 68%)}.seal span,.seal small{font-size:13px;letter-spacing:.23em}.seal small{font-size:9px}.seal strong{font-family:Georgia,serif;font-size:125px;font-weight:400;line-height:1}.events-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px;padding-top:110px;padding-bottom:105px}.events-section p{color:var(--muted)}.event{background:white;display:flex;align-items:center;gap:26px;padding:29px;box-shadow:0 10px 28px #102c3910}.date{min-width:105px;border-right:1px solid #d5dcd9;text-align:center;padding-right:21px}.date strong{font-family:Georgia,serif;font-size:64px;display:block;line-height:1}.date span{font-size:11px;letter-spacing:.12em}.event h3{font-size:22px;margin-bottom:10px}.event p{font-size:13px;margin-bottom:5px}.event-foot{font-size:10px;color:#879196}.author-section{background:#e7e8e1;padding:90px 0}.author-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:105px}.author-art{min-height:360px;background:radial-gradient(ellipse at 70% 90%,#6b9b9a,#213d45 75%);padding:45px;display:flex;align-items:flex-end}.author-art span{font-family:Georgia,serif;font-size:clamp(37px,4vw,65px);font-style:italic;color:#f8f6ed;line-height:1.06}.author-grid p{color:#607077}.inline-link{text-decoration:none;font-weight:700;font-size:13px}.contact-section{background:#173641;text-align:center;color:white;padding:100px 0}.contact-section h2{margin-bottom:17px}.contact-section p{color:#cedbdd;margin-bottom:30px}footer{background:#0b222c;color:#d6e1df;padding:36px 0}.footer-row{display:flex;align-items:start;justify-content:space-between;gap:30px}.footer-row>div{display:flex;flex-direction:column;gap:8px}.footer-row strong{font-size:13px;letter-spacing:.13em}.footer-row span,.footer-row small,.footer-row a{font-size:11px;color:#9ab0b5;text-decoration:none}.footer-row>div:last-child{text-align:right}@media(max-width:900px){.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cover strong{font-size:clamp(19px,3.5vw,30px)}.world-grid,.intro,.events-section,.author-grid{gap:40px}}@media(max-width:640px){.container{width:min(100% - 36px,540px)}.nav{min-height:70px}.brand{font-size:11px}.menu-toggle{display:block;background:transparent;color:white;border:1px solid #ffffff77;padding:8px 12px;border-radius:3px}.nav nav{display:none;position:absolute;top:70px;left:0;right:0;padding:22px;background:#102c39;flex-direction:column;align-items:stretch;gap:15px}.nav nav.is-open{display:flex}.hero{min-height:620px}.hero-content{padding-top:120px}.hero-note{margin-top:37px}.intro,.events-section,.author-grid,.world-grid{grid-template-columns:1fr;padding-top:72px;padding-bottom:70px}.world-grid{padding:0}.world-section{padding:75px 0}.books-section{padding:75px 0}.section-head{display:block}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 17px}.cover strong{font-size:clamp(20px,6vw,32px)}.book-card p{min-height:0}.event{gap:15px;padding:19px}.date{min-width:75px;padding-right:12px}.date strong{font-size:46px}.event h3{font-size:18px}.author-art{min-height:280px}.contact-section{padding:75px 0}.footer-row{display:block}.footer-row>div:last-child{text-align:left;margin-top:22px}}
/* VERSION 2 — BENEATH THE SURFACE: sediment, mineral light, and buried water */
:root{--navy:#1d2427;--dark:#15191c;--cream:#eee9dd;--gold:#d4ad76;--muted:#716f68;--ink:#302e2b}
body{background:#eee9dd}
.masthead{background:#13191bd9;backdrop-filter:blur(8px);border-bottom-color:#c4aa8140}
.brand-symbol{color:#9bd0c6}
.hero{min-height:720px;background:#17191c url('assets/underground-cross-section.svg') center center/cover no-repeat}
.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0c1218 0%,#10151bd9 34%,#10171c71 70%,#0c111a55 100%),linear-gradient(0deg,#0c1118 0%,transparent 28%)}
.hero:after{opacity:.08;background:repeating-linear-gradient(175deg,transparent 0 45px,#c9a476 46px,transparent 48px)}
.hero h1{max-width:950px;text-shadow:0 5px 24px #0008}
.hero h1 em{color:#afdfd2}
.hero p{color:#eee8d9}
.hero .eyebrow{color:#dfb87b}
.hero-note{color:#a7c5bd}
.river-line{border-color:#8de3d42a}
.intro{position:relative}
.intro:before{content:'01  /  BELOW THE SURFACE';position:absolute;top:35px;left:0;color:#9c8b73;font-size:10px;letter-spacing:.24em}
.intro h2 em{color:#5e837d}
.books-section{background:#ded6c6;position:relative;overflow:hidden}
.books-section:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.25;background:repeating-linear-gradient(171deg,transparent 0 45px,#b9a58c 46px,transparent 48px)}
.books-section .container{position:relative}
.book-card .cover{border:1px solid #d7bf9452;box-shadow:5px 9px 18px #352c2a40}
.book-meta{color:#726b61}.book-card p{color:#625e58}.coming-link{color:#476f68}
.world-section{position:relative;background:#141b20;overflow:hidden}
.world-section:before{content:'';position:absolute;inset:0;background:url('assets/underground-cross-section.svg') center 60%/cover no-repeat;opacity:.18}
.world-section .container{position:relative}
.seal{background:radial-gradient(circle,#364442,#11191c 70%);border-color:#ae946f}
.world-grid p{color:#dbd8cf}
.events-section .event{background:#f8f2e7;border-left:4px solid #668e87;box-shadow:0 10px 24px #40352a16}
.author-section{background:#d9d5c8}
.author-art{background:linear-gradient(0deg,#0e1b20d9,#18272a55),url('assets/underground-cross-section.svg') 65% center/cover no-repeat;border:1px solid #9b8970}
.contact-section{background:#172a2c;position:relative;overflow:hidden}
.contact-section:before{content:'';position:absolute;inset:0;opacity:.12;background:url('assets/underground-cross-section.svg') center/cover no-repeat}
.contact-section .container{position:relative}
footer{background:#111719}
.primary{background:#d9b77f}.primary:hover{background:#f2cc94}
@media(max-width:640px){.hero{min-height:650px;background-position:64% center}.hero:before{background:linear-gradient(90deg,#0c1218ed,#10151bc4 70%,#10171c80)}.intro:before{top:20px}.hero h1{font-size:clamp(3rem,11vw,4.7rem)}}

/* VERSION 3 — each section descends one geological layer; depth is felt while scrolling. */
.hero{background-position:center top}
.intro{background:#e9e2d3;box-shadow:0 0 0 100vmax #e9e2d3;clip-path:inset(0 -100vmax)}
.intro:before{content:none}
.intro .section-label{color:#827059}
.books-section{background:linear-gradient(180deg,#d6c5aa 0%,#c3aa8b 100%);border-top:8px solid #b4a081;border-bottom:12px solid #826c58}
.books-section:before{opacity:.33}
.books-section .section-label{color:#655440}
.world-section{background:linear-gradient(180deg,#504943 0%,#242a2c 80%,#22292a 100%);border-top:8px solid #675a4c}
.world-section:before{opacity:.18;background-position:center 55%}
.events-section{background:#303638;color:#f5f0e7;box-shadow:0 0 0 100vmax #303638;clip-path:inset(0 -100vmax)}
.events-section:before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.11;background:repeating-linear-gradient(174deg,transparent 0 30px,#b7c2ba 31px,transparent 32px)}
.events-section{position:relative}.events-section>div{position:relative;z-index:1}
.events-section p{color:#d4d8d2}.events-section .section-label{color:#c9b18e}
.events-section .event{color:#272e2d}.events-section .event p{color:#5d6662}
.author-section{background:linear-gradient(180deg,#253538,#12252b 100%);color:#f2f0e9;border-top:10px solid #334447}
.author-section .section-label{color:#9accc2}
.author-grid p{color:#d1dcda}.author-section .inline-link{color:#c6dfd6}
.contact-section{background:radial-gradient(ellipse at 55% 120%,#1e6465 0%,#102c32 42%,#081519 95%);border-top:10px solid #0c2329;box-shadow:inset 0 26px 55px #0005}
.contact-section:before{opacity:.18}
footer{background:#050d10}
/* A geological seam separates each scene without competing with the book covers. */
.depth-two,.depth-three,.depth-five,.depth-six{isolation:isolate}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* VERSION 4 — illustrative layers and future-mystery gallery */
.hero{background-image:linear-gradient(90deg,rgba(10,18,21,.45),rgba(10,18,21,.08)),url('assets/underground-cross-section.svg')}
.hero:before{background:linear-gradient(90deg,#10151bee 0%,#10151bba 42%,#10151b20 100%),linear-gradient(0deg,#0c1118 0%,transparent 25%)}
.strata-marker{position:absolute;right:4%;bottom:35px;z-index:3;color:#e3cda8;font-size:11px;letter-spacing:.18em;writing-mode:vertical-rl}.strata-marker span{padding:9px 0}
.transition-landscape{height:190px;background:linear-gradient(180deg,#1a1e1bcc,#161b1e44),url('assets/surface-landscape.webp') center 46%/cover;position:relative;border-top:5px solid #c2a37d;border-bottom:9px solid #9d8467}
.transition-label{position:absolute;bottom:18px;right:5%;font-size:11px;color:#f3e1c4;text-transform:uppercase;letter-spacing:.24em}
.geological-break{height:70px;background:repeating-linear-gradient(175deg,#b49c7c 0 4px,#967d65 5px 9px,#6b5d4e 10px 18px,#4f4942 19px 30px);position:relative}.seam-line{position:absolute;inset:48% 0 auto;height:6px;background:#243c3b;box-shadow:0 0 18px #7cc6b099}
.future-section{padding:105px 0 95px;background:radial-gradient(ellipse at 90% 100%,#16434c,#101d23 52%,#1d2427);color:#eee9df;border-top:9px solid #29363a;border-bottom:10px solid #0b252c}
.future-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:35px}.future-heading h2{margin:0}.future-heading h2 em{color:#a3dbd1}.future-heading p{width:320px;color:#becac6;margin:0;font-size:14px}
.clue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.clue{background:#233239;overflow:hidden;border:1px solid #73857f40;padding-bottom:20px}
.clue-art{height:190px;display:grid;place-items:center;background:radial-gradient(ellipse at 60% 110%,#40616a,#172a30);border-bottom:1px solid #9da79a33}
.clue-art svg{width:158px;height:140px;filter:drop-shadow(0 10px 16px #0007)}
.clue-salt .clue-art{background:linear-gradient(145deg,#77685b,#292e2c)}.clue-ships .clue-art{background:linear-gradient(150deg,#163f52,#0c1c30)}.clue-gas .clue-art{background:linear-gradient(130deg,#5a4d40,#26342f)}.clue-memory .clue-art{background:linear-gradient(160deg,#604f3f,#171b1b)}.clue-signal .clue-art{background:radial-gradient(circle,#225967,#0b1921)}
.clue>span{display:block;padding:17px 18px 5px;color:#c2b491;font-size:10px;letter-spacing:.17em}.clue strong{display:block;padding:0 18px;font:500 24px Georgia,serif}
.clue-note{margin:19px 0 0;color:#b7c5c4;font-size:12px}
.author-art{background:linear-gradient(10deg,#091a20cc,#121b2055),url('assets/deep-cavern.webp') center/cover}
.contact-section{background:linear-gradient(0deg,#08181bcc,#122934c9),url('assets/geological-rift.webp') center/cover}
@media(max-width:900px){.clue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.future-heading{display:block}.future-heading p{width:auto;margin-top:18px;max-width:600px}.nav nav{gap:18px}}
@media(max-width:640px){.clue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.clue-art{height:135px}.clue-art svg{width:120px;height:112px}.clue>span{font-size:9px;padding:12px 10px 4px}.clue strong{font-size:18px;padding:0 10px}.future-section{padding:68px 0}.transition-landscape{height:110px}.transition-label{font-size:9px}.strata-marker{display:none}}

/* V5: the two derricks sit above the bedrock section, as requested.
   The upper portion of the supplied image is used so lettering embedded
   in the image doesn't duplicate the accessible HTML heading below. */
.drake-derrick-landscape{position:relative;width:100%;aspect-ratio:1928/365;background-image:url('assets/drake-derricks.png');background-repeat:no-repeat;background-position:center top;background-size:100% auto;border-bottom:0;min-height:105px}
.drake-derrick-landscape:after{content:"";position:absolute;inset:67% 0 0;background:linear-gradient(transparent,#504943)}
.world-section{padding-top:0}
.world-section .world-grid{padding-top:35px;padding-bottom:10px}
@media(max-width:640px){.drake-derrick-landscape{min-height:82px}.world-section .world-grid{padding-top:35px;padding-bottom:0}}

/* V6: remove redundant sloping strata above the derrick panorama; retain one restrained teal-green seam. */
.geological-break{height:7px;background:linear-gradient(180deg,#56877b 0%,#254c4b 46%,#172e31 100%);box-shadow:0 1px 0 #91aea344;overflow:hidden}
.geological-break .seam-line{display:none}

/* V7: genuinely higher resolution landscape and crisp, selectable browser text */
.transition-landscape{min-height:250px;height:clamp(250px,18vw,340px);position:relative;display:flex;align-items:center;justify-content:flex-end;background-image:linear-gradient(90deg,rgba(11,22,24,.05) 0%,rgba(11,22,24,.04) 38%,rgba(12,21,24,.78) 78%,rgba(12,21,24,.86) 100%),url('assets/surface-landscape-hd.webp');background-size:cover;background-position:center 53%;border-top:4px solid #bda47d;border-bottom:7px solid #9b8267}
.transition-message{position:relative;z-index:1;width:44%;max-width:650px;display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding:22px 4.5% 22px 2%}
.transition-headline{font-family:Georgia,'Times New Roman',serif;color:#fff2d8;display:block;text-transform:uppercase;letter-spacing:.16em;font-size:clamp(16px,1.55vw,27px);line-height:1.48;text-shadow:0 2px 6px rgba(0,0,0,.85);font-weight:600}
.transition-label{position:static;bottom:auto;right:auto;display:block;font-family:Arial,Helvetica,sans-serif;font-size:clamp(9px,.8vw,13px);letter-spacing:.16em;line-height:1.5;color:#fff0d0;text-shadow:0 2px 4px #000;white-space:normal}
@media(max-width:700px){.transition-landscape{min-height:290px;height:290px;background-position:42% center;background-image:linear-gradient(90deg,rgba(10,20,23,.14),rgba(10,20,23,.77) 45%,rgba(10,20,23,.9)),url('assets/surface-landscape-hd.webp')}.transition-message{width:75%;padding-right:4%;gap:10px}.transition-headline{font-size:clamp(15px,3.3vw,20px);letter-spacing:.10em}.transition-label{font-size:10px;letter-spacing:.10em}}

/* V8: high-definition cave image with crisp, accessible HTML quotation.
   Crop excludes any embedded text in the illustration. */
.author-art{position:relative;isolation:isolate;overflow:hidden;min-height:410px;background:linear-gradient(90deg,rgba(4,16,22,.84) 0%,rgba(4,16,22,.5) 58%,rgba(4,16,22,.14) 100%),url('assets/deep-cavern-hd.webp') center center/cover no-repeat;border:1px solid #8d9e985c;padding:clamp(25px,4vw,45px);display:flex;align-items:center}
.author-art span{position:relative;z-index:1;display:block;max-width:95%;font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:clamp(34px,3.5vw,58px);line-height:1.1;letter-spacing:-.025em;color:#fff9e9;text-shadow:0 3px 12px rgba(0,0,0,.9);font-weight:400}
@media(max-width:640px){.author-art{min-height:340px;background-position:54% center}.author-art span{font-size:clamp(34px,8.4vw,52px)}}

/* Official book artwork: preserve original cover design and proportions. */
.book-card .cover.cover-image{padding:0;background:#17282e;aspect-ratio:auto;display:block;overflow:hidden;border:0;box-shadow:5px 9px 18px #352c2a40;}
.book-card .cover.cover-image::before{content:none;}
.book-card .cover.cover-image img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;}

/* Five full-color official mission patches, preserved as standalone circular artwork */
.patch-section{background:linear-gradient(180deg,#202c2e 0%,#102b32 100%);color:#f6f1e7;padding:72px 0 83px;border-top:1px solid #b6a47a55}
.patch-section h2{font-size:clamp(2.1rem,4vw,3.6rem);margin-bottom:12px}
.patch-intro{color:#cfdbd9;max-width:680px;margin-bottom:35px}
.patch-grid{display:flex;justify-content:center;flex-wrap:wrap;column-gap:30px;row-gap:31px}
.patch-item{flex:0 1 190px;margin:0;text-align:center;min-width:145px}
.patch-item img{width:100%;aspect-ratio:1;object-fit:contain;display:block;filter:drop-shadow(0 8px 13px #0008)}
.patch-item figcaption{margin-top:10px;display:flex;flex-direction:column;gap:1px}
.patch-item figcaption strong{font-size:13px;color:#dfc08a;letter-spacing:.035em}
.patch-item figcaption span{font-size:12px;color:#cbd6d5}
.patch-caption{font-size:11px;color:#9db2b3;text-align:center;margin:32px 0 0}
@media(max-width:640px){.patch-section{padding:55px 0 65px}.patch-grid{column-gap:16px;row-gap:26px}.patch-item{flex-basis:calc(50% - 10px);max-width:190px}.patch-intro{font-size:14px}}

/* Official Drake Institute seal supplied by author (replaces prototype letter-D badge) */
.drake-official-emblem{display:block;width:min(350px,100%);height:auto;object-fit:contain;box-shadow:0 10px 35px rgba(0,0,0,.16)}

/* Version 13: Direct product links for the five published books */
.book-card .book-cover-link{cursor:pointer;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease;}
.book-card .book-cover-link:hover,.book-card .book-cover-link:focus-visible{transform:translateY(-3px);box-shadow:6px 12px 23px #352c2a59;outline-offset:3px;}
.amazon-book-link{display:inline-block;background:#16434c;color:#fff;border-radius:4px;padding:10px 14px;font-size:12px;font-weight:700;text-decoration:none;line-height:1.35;}
.amazon-book-link:hover,.amazon-book-link:focus-visible{background:#276676;color:#fff;}

/* V14: uniform book-cover display areas and centered purchase buttons. */
.book-grid{align-items:stretch;}
.book-card{display:flex;flex-direction:column;min-width:0;}
.book-card .cover.cover-image{width:100%;aspect-ratio:2 / 3;display:flex;align-items:center;justify-content:center;padding:0;background:#192a30;overflow:hidden;}
.book-card .cover.cover-image img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center;}
.book-card p{min-height:0;flex-grow:1;}
.book-card .amazon-book-link{display:inline-flex;align-items:center;justify-content:center;align-self:center;text-align:center;margin-top:12px;}

/* Version 15: visible series contact and navigation at each content level */
html { scroll-behavior: smooth; }
.back-top-wrap { width: min(1120px, calc(100% - 36px)); margin: 30px auto 0; padding: 0 0 24px; display: flex; justify-content: flex-end; }
.back-top-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 17px; border: 1px solid rgba(194,166,118,.78); border-radius: 5px; color: #f4dfb7; background: rgba(9,26,29,.88); font-size: .83rem; font-weight: 700; letter-spacing: .055em; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.back-top-link:hover, .back-top-link:focus-visible { background: #284c50; color: white; transform: translateY(-2px); }
.contact-email { overflow-wrap: anywhere; }
.contact-email a { color: #e9c88d; text-decoration: underline; text-underline-offset: .18em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .back-top-link { transition: none; } }

/* Version 16: align each Back to Top button to the bottom-right of its section. */
.back-top-wrap {
  width: 100%;
  max-width: none;
  margin: 32px 0 0;
  padding: 0 clamp(18px, 3vw, 36px) 16px;
  display: flex;
  justify-content: flex-end;
  justify-self: stretch;
  grid-column: 1 / -1;
}
.intro.back-top-wrap { width: 100%; }
.events-section .back-top-wrap { grid-column: 1 / -1; }
.back-top-link { white-space: nowrap; }

/* V17: author biography without portrait; preserve atmospheric cave art. */
.author-biography h3{font-family:Georgia,serif;color:#e2c89d;font-size:clamp(1.35rem,2vw,1.8rem);font-weight:500;margin:-.2rem 0 1.15rem}
.author-biography p{max-width:65ch;line-height:1.8;margin-bottom:1rem}
.author-biography .inline-link{display:inline-block;margin-top:.5rem}
@media(min-width:901px){.author-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(30px,5vw,85px)}}


/* Version 18: character collectible gallery */
.characters-section{position:relative;background:linear-gradient(180deg,#17272b 0%,#102127 80%,#0b1c20 100%);color:#f4eadd;padding:76px 0 12px;border-top:1px solid #9f845b55}
.characters-heading{display:flex;gap:28px;align-items:end;justify-content:space-between;margin:12px 0 30px}
.characters-heading h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(2.4rem,4.8vw,4.3rem);line-height:1.06;margin:0}
.characters-heading p{max-width:430px;color:#c7d1ce;line-height:1.7;margin:0}
.character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.character-card{min-width:0;background:#1b2d32;border:1px solid #b59a685a;border-radius:13px;overflow:hidden;display:flex;flex-direction:column}
.character-image-wrap{background:#0b1216;display:flex;align-items:center;justify-content:center;padding:20px;min-height:440px}
.character-image-wrap img{display:block;max-width:100%;width:auto;height:clamp(360px,39vw,630px);object-fit:contain;box-shadow:0 18px 30px #0005}
.character-copy{padding:24px 27px 27px;display:flex;flex:1;flex-direction:column;align-items:flex-start}
.character-tag{font-size:.7rem;letter-spacing:.22em;color:#d6af69;font-weight:700}
.character-copy h3{font-family:Georgia,serif;font-size:clamp(1.45rem,2vw,2rem);margin:12px 0 8px}
.character-copy p{color:#cdd4d1;line-height:1.67;margin:0 0 24px;flex:1}
.character-flip{font:inherit;font-weight:700;letter-spacing:.04em;padding:12px 19px;color:#f3d39b;background:#22383c;border:1px solid #cda66f;border-radius:5px;cursor:pointer}
.character-flip:hover,.character-flip:focus-visible{background:#36545b;outline-offset:3px}
.characters-note{color:#bdc5c1;font-size:.83rem;line-height:1.6;margin:22px 0 0}
@media(max-width:760px){.characters-section{padding-top:48px}.characters-heading{display:block}.characters-heading p{margin-top:15px}.character-grid{grid-template-columns:1fr}.character-image-wrap{min-height:0}.character-image-wrap img{height:auto;max-height:580px}.character-copy{padding:20px}}


/* Version 20: book-jacket reveal, equal dimensions and readable backs */
.book-card .book-flip{width:100%;aspect-ratio:2/3;display:block;position:relative;cursor:pointer;padding:0;background:transparent;border:0;color:inherit;text-align:inherit;perspective:1000px;box-shadow:5px 9px 18px #352c2a40;border-radius:2px;}
.book-flip-inner{position:absolute;inset:0;display:block;transform-style:preserve-3d;transition:transform .68s cubic-bezier(.25,.8,.2,1);}
.book-flip-front,.book-flip-back{position:absolute;inset:0;display:flex;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden;}
.book-flip-front{align-items:center;justify-content:center;background:#192a30;}
.book-flip-front img{display:block;width:100%;height:100%;object-fit:contain;}
.book-flip-back{transform:rotateY(180deg);background:linear-gradient(155deg,#19363c,#0b212c);border:1px solid #bda071;color:#f7eee0;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:clamp(9px,1.35vw,20px);gap:clamp(7px,1vw,13px);}
.book-flip-back .flip-marker{font-size:clamp(7px,.65vw,10px);letter-spacing:.13em;color:#d6b477;line-height:1.3;}
.book-flip-back strong{font-family:Georgia,serif;font-size:clamp(14px,1.2vw,19px);line-height:1.18;}
.book-flip-back .flip-synopsis{font-size:clamp(10px,.82vw,12px);line-height:1.45;overflow-y:auto;max-height:66%;}
.book-flip-back .flip-hint{font-size:9px;color:#e4c995;line-height:1.2;}
@media(hover:hover) and (pointer:fine){.book-flip:hover .book-flip-inner{transform:rotateY(180deg);}}
.book-flip.is-flipped .book-flip-inner{transform:rotateY(180deg);}
.book-flip:focus-visible{outline:3px solid #2f7985;outline-offset:4px;}
@media(max-width:640px){.book-flip-back{padding:11px;gap:7px}.book-flip-back .flip-marker{font-size:8px}.book-flip-back strong{font-size:clamp(13px,3.3vw,18px)}.book-flip-back .flip-synopsis{font-size:clamp(10px,2.6vw,12px)}.book-flip-back .flip-hint{font-size:9px}}
@media(prefers-reduced-motion:reduce){.book-flip-inner{transition:none}}

/* Expedition atlas integrated between books and character introductions */
.atlas-section{background:linear-gradient(180deg,#273434 0%,#15272a 100%);padding:65px 0 52px;color:#f1e7d2}
.atlas-section h2{font-family:Georgia,serif;font-size:clamp(2.1rem,4vw,3.5rem);margin:10px 0 12px;color:#f6e9cd}
.atlas-section .atlas-intro{max-width:750px;color:#d0c6b3;line-height:1.6;margin-bottom:22px}
.atlas-embed{width:100%;height:1050px;border:1px solid #9f835e;border-radius:10px;background:#121f24;display:block}
.atlas-fallback{text-align:center;font-size:.9rem;margin:12px 0 0}
.atlas-fallback a{color:#e0c592}
@media(max-width:760px){.atlas-section{padding:42px 0}.atlas-embed{height:1510px}}
@media(max-width:430px){.atlas-embed{height:1770px}}
