:root {
  --black: #070707;
  --ink: #11100e;
  --paper: #d8d2c6;
  --paper-dark: #24221f;
  --paper-mid: #aaa49a;
  --silver: #a8a39a;
  --muted: #77736d;
  --teal: #12d8e9;
  --teal-soft: rgba(18, 216, 233, .28);
  --rust: #6b4a35;
  --line: rgba(220, 215, 205, .18);
  --shadow: rgba(0, 0, 0, .72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: #e9e5dc; font-family: Inter, system-ui, sans-serif; }

hr {
    border: 1px groove #011F1F;
    margin-left: 80px;
    margin-right: 80px;
    margin-top: 35px;
    margin-bottom: 35px;
}

/* GLOBAL TLG FRAME — shared shell behind the collection and every album. */
.homepage,
.album-page {
  position: relative;
  min-height: 100vh;
  background-color: #050505;
  background-image: url("assets/tlg-dark-frame-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  background-attachment: fixed;
}

/* Album/site atmosphere lives above the shared frame, so the source artwork stays untouched. */
.homepage::before,
.album-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.homepage::before {
  background: rgba(0, 0, 0, .10);
}

.album-zero-page::before {
  background:
    radial-gradient(circle at 50% 22%, rgba(67, 82, 56, .08), transparent 48%),
    linear-gradient(rgba(75, 56, 39, .07), rgba(16, 23, 18, .06));
}

.homepage > *,
.album-page > * {
  position: relative;
  z-index: 1;
}

@media (max-aspect-ratio: 4/5) {
  .homepage,
  .album-page {
    /* On narrow screens preserve the center texture and allow the ornamental frame to crop naturally. */
    background-size: cover;
    background-position: center top;
  }
}
a { color: inherit; text-decoration: none; }

/* HOME */
.homepage {
  min-height: 100vh;
}
.masthead { display: grid; place-items: center; padding: 5.5rem 1.5rem 3.5rem; }
.logo-wrap { width: min(650px, 84vw); position: relative; }
.logo { width: 100%; height: auto; display: block; }
.logo-shadow { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.homepage:has(.album:hover) .logo-clean,
.homepage:has(.album:focus-visible) .logo-clean { opacity: .7; }
.homepage:has(.album:hover) .logo-shadow,
.homepage:has(.album:focus-visible) .logo-shadow { opacity: .42; }

.album-grid {
  width: min(1450px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 54vh;
  border: 1px solid rgba(255,255,255,.11);
  background: #0c0c0c;
  box-shadow: 0 25px 80px rgba(0,0,0,.5);
}
.album {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: flex-basis .4s ease, filter .4s ease, opacity .4s ease, transform .4s ease;
}
.album:last-child { border-right: 0; }
.album::before { content:""; position:absolute; inset:0; z-index:-2; background: linear-gradient(160deg, rgba(255,255,255,.09), transparent 42%, rgba(0,0,0,.72)); }
.album::after { content:""; position:absolute; inset:0; z-index:-3; opacity:.72; background: radial-gradient(circle at 50% 25%, rgba(255,255,255,.1), transparent 32%); }
.album:hover, .album:focus-visible { transform: translateY(-5px); filter: brightness(1.18); }
.album-grid:has(.album:hover) .album:not(:hover) { opacity: .46; filter: saturate(.55) brightness(.72); }
.album-mark { position:absolute; top:1.5rem; left:1.7rem; font: 600 clamp(3rem, 5vw, 5.5rem)/1 Spectral, serif; color: rgba(255,255,255,.78); }
.album-content { position:relative; z-index:2; text-shadow: 0 3px 20px #000; }
.album-kicker { display:block; font-size:.72rem; letter-spacing:.25em; opacity:.72; margin-bottom:.45rem; }
.album-title { display:block; font: 600 clamp(1.4rem, 2.2vw, 2.3rem)/1.05 Spectral, serif; letter-spacing:.06em; }
.album-character { display:block; margin-top:.65rem; font-size:.67rem; letter-spacing:.15em; opacity:.65; }
.album-monkey { background: linear-gradient(150deg, #35281f, #17110e 55%, #080808); }
.album-raven { background: linear-gradient(150deg, #202833, #0c1117 58%, #080808); }
.album-snake { background: linear-gradient(150deg, #40201d, #170a09 58%, #080808); }
.album-owl { background: linear-gradient(150deg, #696a67, #292a29 55%, #080808); }
.album-skull { position:absolute; z-index:0; width:140%; max-width:none; left:50%; top:50%; transform:translate(-50%,-45%); opacity:.075; filter: contrast(1.15) brightness(.9); transition:opacity .45s ease, transform .6s ease; pointer-events:none; }
.album-monkey .album-skull { width:165%; }
.album:hover .album-skull, .album:focus-visible .album-skull { opacity:.26; transform:translate(-50%,-46%) scale(1.04); }

.site-footer { width:min(1450px,94vw); margin:0 auto; padding:2.2rem 0 3.5rem; }
.divider { position:relative; width:min(1200px,92vw); margin:0 auto; }
.divider img { width:100%; height:auto; display:block; }
.divider::after { content:""; position:absolute; left:50%; top:50%; width:9rem; height:3rem; transform:translate(-50%,-50%); border-radius:50%; background:rgba(18,216,233,.2); filter:blur(20px); opacity:.45; pointer-events:none; transition:opacity .4s ease; }
.homepage:has(.album:hover) .divider::after { opacity:.72; }
.footer-nav { display:flex; justify-content:center; flex-wrap:wrap; gap:1.6rem 2.4rem; padding:1.7rem 1rem 1rem; }
.footer-nav a { font-size:.66rem; letter-spacing:.2em; color:#99958d; transition:color .2s ease; }
.footer-nav a:hover { color:var(--teal); }
.footer-signature { text-align:center; color:#4f4c47; font-size:.55rem; letter-spacing:.3em; }

/* ALBUM BOOKLET */
.album-page { color:#1c1a17; }
.album-sitebar { position:sticky; top:0; z-index:20; height:58px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:0 1.2rem; background:rgba(7,7,7,.94); backdrop-filter:blur(12px); color:#bbb6ad; border-bottom:1px solid rgba(255,255,255,.08); }
.back-link, .album-site-index { font-size:.58rem; letter-spacing:.18em; }
.album-site-index { text-align:right; color:#6d6963; }
.album-site-mark { width:86px; opacity:.45; filter:grayscale(1); }
.album-site-mark img { width:100%; display:block; }
.booklet { width:min(1500px,96vw); margin:2.5rem auto 5rem; display:flex; flex-direction:column; gap:4.5rem; }
.spread { display:grid; grid-template-columns:1fr 1fr; min-height:760px; position:relative; filter:drop-shadow(0 22px 25px rgba(0,0,0,.55)); }
.paper { position:relative; overflow:hidden; background:var(--paper); padding:clamp(2rem,4vw,4.5rem); box-shadow:inset 0 0 0 1px rgba(0,0,0,.09); }
.page-left { border-right:1px solid rgba(0,0,0,.18); }
.spread::after { content:""; position:absolute; z-index:5; top:0; bottom:0; left:50%; width:18px; transform:translateX(-50%); background:linear-gradient(90deg, transparent, rgba(0,0,0,.22), rgba(255,255,255,.16), transparent); pointer-events:none; }
.page-number { position:absolute; top:1.25rem; color:#7b766e; font:500 .56rem Inter,sans-serif; letter-spacing:.18em; }
.page-left .page-number { left:1.4rem; }
.page-right .page-number { right:1.4rem; }
.eyebrow, .section-label { font-size:.6rem; letter-spacing:.3em; color:#777169; margin:0 0 1.2rem; }
.paper h1, .paper h2 { font-family:Spectral,serif; font-weight:600; letter-spacing:.04em; margin:0; }
.paper h1 { font-size:clamp(3.4rem,6vw,7.2rem); line-height:.82; }
.paper h1 em, .paper h2 em { font-style:normal; font-weight:400; }
.paper h2 { font-size:clamp(2rem,3.8vw,4.5rem); line-height:.95; }
.body-copy { font-size:.86rem; line-height:1.9; }
.muted-copy { color:#6d685f; }
.tiny-copy { font-size:.58rem; line-height:1.7; color:#77736b; max-width:36ch; }

.cover-left { background:linear-gradient(145deg,#b6b0a4,#817b70); display:flex; align-items:center; justify-content:center; }
.cover-ornament { font:600 clamp(14rem,27vw,25rem)/1 Spectral,serif; color:rgba(20,19,17,.13); }
.cover-note { position:absolute; bottom:2rem; left:2.2rem; font-size:.58rem; letter-spacing:.28em; }
.cover-right { background:linear-gradient(150deg,#ded8cd,#b5aea3); display:flex; flex-direction:column; align-items:center; text-align:center; }
.cover-rule { width:4rem; height:1px; background:#5d574f; margin:1rem 0 2rem; }
.cover-right h1 { width:100%; }
.cover-name { font-size:.64rem; letter-spacing:.24em; color:#625c54; margin:.9rem 0 0; }
.skull-stage { position:relative; display:grid; place-items:center; }
.skull-stage-cover { width:min(92%,560px); margin:1rem auto 0; flex:1; min-height:330px; }
.skull-stage img { position:relative; z-index:2; width:92%; height:auto; filter:drop-shadow(0 20px 18px rgba(0,0,0,.45)); }
.skull-halo { position:absolute; width:55%; aspect-ratio:1; border-radius:50%; background:rgba(18,216,233,.13); filter:blur(35px); }
.cover-bottom { width:100%; display:flex; justify-content:space-between; padding-top:1.1rem; font-size:.54rem; letter-spacing:.2em; color:#6c665e; border-top:1px solid rgba(0,0,0,.2); }

.spread-meta .meta-page { background:#d4cec3; }
.meta-page { min-height:760px; }
.meta-page h2 { margin-top:2rem; }
.placeholder-card { border:1px dashed rgba(0,0,0,.25); display:grid; place-items:center; color:#79736b; letter-spacing:.18em; font-size:.53rem; text-align:center; }
.small-placeholder { width:100%; height:180px; margin-top:3rem; }
.page-one-ciceol {
  position:absolute;
  left:clamp(2rem,4vw,4.5rem);
  right:clamp(2rem,4vw,4.5rem);
  bottom:clamp(2rem,4vw,4.5rem);
  height:clamp(190px,28%,235px);
  margin:0;
  overflow:hidden;
  background:#0b0c0c;
  box-shadow:0 14px 28px rgba(0,0,0,.2);
}
.page-one-ciceol::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(212,206,195,.3) 0,transparent 18%,transparent 76%,rgba(0,0,0,.42) 100%);
  pointer-events:none;
}
.page-one-ciceol img { width:100%; height:100%; display:block; object-fit:cover; object-position:center 48%; }
.page-one-ciceol figcaption {
  position:absolute;
  z-index:2;
  left:1rem;
  bottom:.8rem;
  color:rgba(245,240,231,.82);
  font:500 .48rem Inter,sans-serif;
  letter-spacing:.24em;
  text-shadow:0 1px 5px rgba(0,0,0,.8);
}
.dark-paper { background:linear-gradient(145deg,#272522,#11100e); color:#0b0a09; }
.dark-paper .page-number { color:#0b0a09; }
.micro-brand { position:absolute; top:1.5rem; left:50%; transform:translateX(-50%); font-size:.47rem; letter-spacing:.35em; color:#0b0a09; white-space:nowrap; }
.metadata-stack { margin-top:5rem; display:flex; flex-direction:column; gap:1.5rem; }
.metadata-stack div { display:grid; grid-template-columns:110px 1fr; gap:1rem; border-bottom:1px solid rgba(255,255,255,.11); padding-bottom:.8rem; }
.metadata-stack span { font-size:.55rem; letter-spacing:.2em; color: #0b0a09; }
.metadata-stack strong { font:500 .83rem Spectral,serif; letter-spacing:.08em; color: var(--muted);}
.metal-rule { width:100%; height:1px; margin:3rem 0 1.2rem; background:linear-gradient(90deg,transparent,#aaa49a,transparent); }

.spread-character .art-page { background:linear-gradient(160deg,#c2bbae,#928a7e); }
.vertical-label { position:absolute; top:50%; left:1.5rem; transform:translateY(-50%) rotate(-90deg); transform-origin:center; font-size:.53rem; letter-spacing:.35em; color:#5f5a53; }
.large-skull-stage { height:75%; display:grid; place-items:center; position:relative; }
.large-skull-stage img { width:82%; max-width:560px; position:relative; z-index:2; filter:drop-shadow(0 25px 18px rgba(0,0,0,.5)); }
.skull-ring { position:absolute; width:58%; aspect-ratio:1; border:1px solid transparent; border-radius:50%; box-shadow:0 0 50px rgba(18,216,233,.08); }
.art-caption { text-align:center; font-size:.52rem; letter-spacing:.22em; color:#625d56; }
.character-page { background:#e0dbd1; }
.character-heading { display:flex; gap:1.2rem; align-items:flex-start; margin:1rem 0 1.7rem; }
.character-number { font:500 3rem/1 Spectral,serif; color:#918a80; }
.character-heading h2 { font-size:clamp(1.8rem,3vw,3.2rem); }
.character-heading p { font-size:.55rem; letter-spacing:.25em; color:#756f66; margin:.55rem 0 0; }
.portrait-placeholder, .image-placeholder { border:1px dashed rgba(0,0,0,.25); display:flex; align-items:center; justify-content:center; flex-direction:column; color:#79736b; background:linear-gradient(135deg,rgba(0,0,0,.03),rgba(255,255,255,.08)); }
.portrait-placeholder { height:510px; }
.portrait-placeholder span, .image-placeholder span { font:500 1rem Spectral,serif; letter-spacing:.12em; }
.portrait-placeholder small, .image-placeholder small { margin-top:.6rem; font-size:.5rem; letter-spacing:.18em; }
.raksal-portrait { height:510px; margin:0; overflow:hidden; background:#17191a; border:1px solid rgba(0,0,0,.18); }
.raksal-portrait img { width:100%; height:100%; display:block; object-fit:cover; object-position:50% 20%; }
.raksal-atmosphere { position:relative; height:620px; margin:0; overflow:hidden; background:#07131d; }
.raksal-atmosphere img { width:100%; height:100%; display:block; object-fit:cover; object-position:50% 48%; }
.raksal-atmosphere::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.05) 45%,rgba(0,0,0,.48) 100%); pointer-events:none; }
.raksal-atmosphere figcaption { position:absolute; z-index:2; right:1.5rem; bottom:1.4rem; color:#e4ded4; font:500 .72rem Spectral,serif; letter-spacing:.24em; text-shadow:0 2px 8px rgba(0,0,0,.8); }

.caption-line { display:flex; justify-content:space-between; margin-top:.75rem; font-size:.5rem; letter-spacing:.18em; color:#777169; }

.spread-information .text-page { background:#d6d0c5; }
.text-page h2 { margin-bottom:1.6rem; }
.placeholder-text { border-left:2px solid rgba(0,0,0,.15); padding-left:1.2rem; }
.pull-quote-placeholder {padding:1.3rem 0; border-top:1px solid #777168; border-bottom:1px solid #777168; font:500 1rem/1.5 Spectral,serif; letter-spacing:.08em; color:#777168; text-align: center; }
.image-page { background:#a49d91; }
.wide-placeholder { height:70%; }
.image-caption { font-size:.52rem; color:#6b665f; margin-top:.8rem; text-align:right; }

.story-door-art { display:flex; flex-direction:column; justify-content:space-between; background:radial-gradient(circle at 50% 45%,#3b322a,#141210 58%); color:#c8c1b7; }
.door-mark { font:600 clamp(13rem,25vw,23rem)/.8 Spectral,serif; color:rgba(18,216,233,.08); text-align:center; }
.story-door-art p { font-size:.55rem; letter-spacing:.3em; color:#6e6962; }
.story-door-page { background:#d9d3c8; }
.story-door-page h2 { margin:2rem 0 1.4rem; font-size:clamp(3rem,5vw,5.8rem); }
.story-link-placeholder { margin-top:3rem; width:fit-content; padding:.9rem 1.2rem; border:1px solid rgba(0,0,0,.3); font-size:.58rem; letter-spacing:.2em; color:#4f4a43; }
.story-link-placeholder span { color:#11aab8; margin-left:1.5rem; }

.back-page { background:#d0cabf; }
.contents-list { list-style:none; padding:0; margin:3rem 0 0; display:grid; gap:1rem; max-width:35rem; }
.contents-list li { display:grid; grid-template-columns:35px 1fr; font-size:.7rem; border-bottom:1px solid rgba(0,0,0,.12); padding-bottom:.6rem; color:#514d47; }
.contents-list span { color:#8a8379; }
.back-cover { background:linear-gradient(145deg,#161513,#080807); color:#d2cdc4; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.back-logo { width:min(310px,70%); opacity:.55; filter:grayscale(1); }
.back-logo img { width:100%; }
.back-cover-mark { font:500 8rem/1 Spectral,serif; color:rgba(18,216,233,.16); margin-top:2rem; }
.back-cover-title { font:500 1rem/1.5 Spectral,serif; letter-spacing:.18em; margin-top:1rem; }
.back-cover-title span { font-size:.75em; color:#817b73; }
.return-link { margin-top:3rem; font-size:.55rem; letter-spacing:.18em; color:#817b73; }
.album-footer { width:min(1200px,92vw); margin:0 auto 4rem; }
.album-footer nav { display:flex; justify-content:space-between; padding:1.2rem .5rem; color:#77716a; font-size:.56rem; letter-spacing:.18em; }
.album-footer a:hover { color:var(--teal); }

@media (max-width: 1000px) {
  .album-grid { grid-template-columns:repeat(2,1fr); }
  .album { min-height:420px; }
  .spread { min-height:650px; }
  .portrait-placeholder, .raksal-portrait { height:400px; }
  .raksal-atmosphere { height:520px; }
}
@media (max-width: 700px) {
  .masthead { padding-top:3.5rem; }
  .album-grid { grid-template-columns:1fr; }
  .album { min-height:360px; border-right:0; border-bottom:1px solid rgba(255,255,255,.1); }
  .album:last-child { border-bottom:0; }
  .spread { grid-template-columns:1fr; min-height:auto; }
  .paper { min-height:560px; }
  .page-left { border-right:0; border-bottom:1px solid rgba(0,0,0,.18); }
  .spread::after { display:none; }
  .album-sitebar { grid-template-columns:1fr auto; }
  .album-site-mark { display:none; }
  .booklet { width:94vw; gap:2.5rem; }
  .skull-stage-cover { min-height:300px; }
  .large-skull-stage { height:420px; }
  .page-one-ciceol { left:2rem; right:2rem; bottom:2rem; height:190px; }
}

/* BOOKLET INK — near-black print text on light paper */
.paper:not(.dark-paper):not(.back-cover) {
  color: #0b0a09;
}
.paper:not(.dark-paper):not(.back-cover) h1,
.paper:not(.dark-paper):not(.back-cover) h2,
.paper:not(.dark-paper):not(.back-cover) h3,
.paper:not(.dark-paper):not(.back-cover) p,
.paper:not(.dark-paper):not(.back-cover) li,
.paper:not(.dark-paper):not(.back-cover) .page-number,
.paper:not(.dark-paper):not(.back-cover) .eyebrow,
.paper:not(.dark-paper):not(.back-cover) .section-label,
.paper:not(.dark-paper):not(.back-cover) .body-copy,
.paper:not(.dark-paper):not(.back-cover) .muted-copy,
.paper:not(.dark-paper):not(.back-cover) .tiny-copy,
.paper:not(.dark-paper):not(.back-cover) .cover-name,
.paper:not(.dark-paper):not(.back-cover) .cover-bottom,
.paper:not(.dark-paper):not(.back-cover) .vertical-label,
.paper:not(.dark-paper):not(.back-cover) .art-caption,
.paper:not(.dark-paper):not(.back-cover) .character-number,
.paper:not(.dark-paper):not(.back-cover) .character-heading p,
.paper:not(.dark-paper):not(.back-cover) .caption-line,
.paper:not(.dark-paper):not(.back-cover) .pull-quote-placeholder,
.paper:not(.dark-paper):not(.back-cover) .image-caption,
.paper:not(.dark-paper):not(.back-cover) .story-link-placeholder,
.paper:not(.dark-paper):not(.back-cover) .contents-list li,
.paper:not(.dark-paper):not(.back-cover) .contents-list span {
  color: #0b0a09;
}

/* Captions printed directly over photographs remain light for legibility. */
.paper .page-one-ciceol figcaption,
.paper .raksal-atmosphere figcaption {
  color: rgba(245,240,231,.92);
}

/* =========================================================
   TLG READER — shared reading engine, Album Zero skin
   ========================================================= */
.story-link-active { display:inline-flex; text-decoration:none; align-items:center; gap:.8rem; cursor:pointer; transition:transform .2s ease, letter-spacing .2s ease; }
.story-link-active:hover { transform:translateX(.3rem); letter-spacing:.12em; }
:root { --reader-scale:1; --reader-leading:1.65; }
.reader-page { min-height:100vh; overflow-x:hidden; background:#050505 url("assets/tlg-dark-frame-background.png") center/100% 100% fixed no-repeat; color:#e9e5dc; }
.reader-page::before { content:""; position:fixed; inset:0; pointer-events:none; background:rgba(20,15,10,.22); z-index:0; }
.reader-shade { position:fixed; inset:0; background:radial-gradient(circle at center,rgba(0,0,0,.12),rgba(0,0,0,.72)); z-index:1; pointer-events:none; }
.reader-topbar { position:fixed; z-index:20; top:0; left:0; right:0; display:flex; justify-content:space-between; align-items:center; padding:1.15rem 2rem; font:600 .68rem/1 Inter,sans-serif; letter-spacing:.22em; }
.reader-series { opacity:.7; }
.reader-actions { display:flex; gap:.5rem; align-items:center; }
.reader-tool { color:#eee8dd; background:rgba(8,8,8,.55); border:1px solid rgba(255,255,255,.16); padding:.65rem .8rem; font:600 .62rem/1 Inter,sans-serif; letter-spacing:.14em; text-decoration:none; cursor:pointer; backdrop-filter:blur(8px); }
.reader-stage { position:relative; z-index:2; min-height:100vh; display:grid; place-items:center; padding:5rem 5vw 4rem; }
.closed-book { width:min(390px,70vw); aspect-ratio:.68; position:relative; transform:perspective(1400px) rotateY(-8deg) rotateX(2deg); transform-origin:left center; filter:drop-shadow(30px 30px 35px rgba(0,0,0,.65)); transition:transform .65s cubic-bezier(.2,.7,.2,1),opacity .45s; }
.closed-book.opening { transform:perspective(1400px) rotateY(-72deg) translateX(-12%); opacity:0; }
.book-cover-face { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:10%; text-align:center; background:linear-gradient(145deg,#28241f,#11100f 58%,#050505); border:1px solid #655d51; box-shadow:inset 0 0 0 8px #0c0b0a,inset 0 0 0 9px #655d51; }
.book-cover-face::after { content:""; position:absolute; inset:3%; border:1px solid rgba(18,216,233,.22); pointer-events:none; }
.book-spine { position:absolute; z-index:3; left:-20px; top:1%; bottom:1%; width:22px; background:linear-gradient(90deg,#080706,#29251f,#0a0908); border-radius:4px 0 0 4px; }
.book-kicker,.book-author { font:600 .62rem/1.4 Inter,sans-serif; letter-spacing:.26em; color:#c9c0b2; }
.book-zero { position:absolute; top:0%; right:0%; font:400 2.5rem Spectral,serif; color:#8d8171; }
.book-emblem { width:58%; max-height:42%; object-fit:contain; filter:drop-shadow(0 0 15px rgba(18,216,233,.08)); }
.book-cover-face h1 { margin:1rem 0 .6rem; font:500 clamp(1.65rem,4vw,2.5rem)/.95 Spectral,serif; letter-spacing:.08em; color:#eee8dc; }
.book-cover-face h1 em { font-style:normal; color:#b8aa96; }
.bookmark-ribbon { position:absolute; z-index:5; top:-4px; right:16%; width:28px; height:80px; background:#315c58; clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%); box-shadow:0 3px 10px #000; }
.reader-welcome { position:absolute; left:50%; top:calc(50% + min(43vw,310px)); transform:translate(-50%,-50%); display:flex; gap:.7rem; flex-wrap:wrap; justify-content:center; transition:opacity .3s; z-index:5; }
.reader-welcome.leaving { opacity:0; }
.reader-primary,.reader-secondary { border:1px solid rgba(255,255,255,.22); color:#eee8dc; background:#11100e; padding:.85rem 1.15rem; font:600 .65rem/1 Inter,sans-serif; letter-spacing:.18em; cursor:pointer; }
.reader-secondary { background:rgba(10,10,10,.65); }
.open-book { width:min(1180px,88vw); position:relative; }
.open-book.arrive { animation:readerArrive .5s ease both; }
@keyframes readerArrive { from{opacity:0;transform:scale(.96)} to{opacity:1;transform:scale(1)} }
.book-pages { position:relative; display:grid; grid-template-columns:1fr 1fr; min-height:min(74vh,720px); filter:drop-shadow(0 25px 32px rgba(0,0,0,.62)); perspective:1800px; }
.reader-paper { position:relative; overflow:hidden; padding:clamp(2.2rem,5vw,4.8rem); color:#15120f; background:linear-gradient(90deg,#c8c0b1,#e1d9c9 8%,#ded6c7 92%,#bdb4a5); font-family:"Libre Baskerville",Georgia,serif; font-size:calc(clamp(.83rem,1.12vw,1rem)*var(--reader-scale)); line-height:var(--reader-leading); }
.left-reader-page { border-radius:8px 0 0 8px; box-shadow:inset -22px 0 28px rgba(45,36,27,.14); }
.right-reader-page { border-radius:0 8px 8px 0; box-shadow:inset 22px 0 28px rgba(45,36,27,.14); }
.reader-gutter { position:absolute; z-index:3; left:50%; top:0; bottom:0; width:18px; transform:translateX(-50%); background:linear-gradient(90deg,rgba(0,0,0,.12),rgba(255,255,255,.12),rgba(0,0,0,.13)); pointer-events:none; }
.folio { position:absolute; bottom:1.4rem; font:500 .6rem Inter,sans-serif; letter-spacing:.15em; opacity:.55; }
.left-reader-page .folio { left:2rem; } .right-reader-page .folio { right:2rem; }
.frontmatter { height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.frontmatter h2,.chapter-opener h2 { font:500 clamp(2rem,4vw,4rem)/.92 Spectral,serif; letter-spacing:.08em; margin:.5rem 0; }
.frontmatter h2 em { font-style:normal; color:#51483d; }
.frontmatter p,.chapter-opener .overline { font:600 .62rem/1.6 Inter,sans-serif; letter-spacing:.22em; }
.small-zero,.chapter-zero { font:400 5rem/1 Spectral,serif; color:#766b5e; }
.front-rule { width:80px; height:1px; background:#6e6458; margin:1.5rem; }
.title-art img { width:55%; max-height:55%; object-fit:contain; filter:grayscale(.2) contrast(.9); }
.publisher-mark { margin-top:3rem; font:400 2rem Spectral,serif; }
.copyright { align-items:flex-start; justify-content:flex-end; text-align:left; gap:1rem; }
.copyright p { letter-spacing:.08em; max-width:30em; font-size:.55rem; }
.epigraph blockquote { max-width:25em; font-style:italic; font-size:1.05em; line-height:1.8; }
.chapter-opener { padding-top:10%; }
.chapter-opener h2 { text-align:center; margin:1rem 0 3rem; }
.chapter-zero { text-align:center; font-size:3rem; }
.prose-page p,.chapter-opener .dropcopy,.chapter-opener>p:last-child { margin:0 0 1.2em; text-align:justify; hyphens:auto; }
.dropcopy span { float:left; font:500 4.2em/.78 Spectral,serif; padding:.08em .1em 0 0; }
.scene-break { text-align:center!important; margin:2rem!important; }
.page-arrow { position:absolute; z-index:7; top:50%; transform:translateY(-50%); width:46px; height:70px; border:0; color:#eee8dc; background:rgba(5,5,5,.48); font:300 2.6rem/1 serif; cursor:pointer; }
.page-arrow:disabled { opacity:.15; cursor:default; }.page-arrow.previous{left:-58px}.page-arrow.next{right:-58px}
.reader-status { display:flex; justify-content:space-between; padding:.8rem .4rem 0; font:500 .55rem Inter,sans-serif; letter-spacing:.16em; opacity:.65; }
.turn-sheet { position:absolute; z-index:5; top:0; bottom:0; left:50%; width:50%; transform-origin:left center; pointer-events:none; background:#d8d0c1; opacity:0; }
.turn-forward { animation:turnForward .42s ease-in-out; }.turn-back{left:0;transform-origin:right center;animation:turnBack .42s ease-in-out}
@keyframes turnForward { 0%{opacity:.8;transform:rotateY(0)} 99%{opacity:.8;transform:rotateY(-180deg)} 100%{opacity:0} }
@keyframes turnBack { 0%{opacity:.8;transform:rotateY(0)} 99%{opacity:.8;transform:rotateY(180deg)} 100%{opacity:0} }
.reader-panel { position:fixed; z-index:30; top:4.3rem; right:2rem; width:min(330px,calc(100vw - 2rem)); padding:2rem; color:#eee8dc; background:rgba(12,11,10,.96); border:1px solid #50493f; box-shadow:0 20px 45px #000; }
.reader-panel h2 { margin:.2rem 0 1.5rem; font:500 1.7rem Spectral,serif; }.panel-label{font:600 .55rem Inter,sans-serif;letter-spacing:.2em;color:#8d8171}.panel-close{position:absolute;right:.7rem;top:.5rem;border:0;background:none;color:#ddd;font-size:1.5rem;cursor:pointer}
.contents-panel>button:not(.panel-close) { width:100%; text-align:left; color:#ddd; background:none; border:0; border-bottom:1px solid #302c27; padding:.8rem 0; font:500 .68rem Inter,sans-serif; letter-spacing:.08em; cursor:pointer; }
.type-panel label { display:block; margin:1rem 0; font:.7rem Inter,sans-serif; letter-spacing:.08em; }.type-panel input[type=range]{width:100%;margin-top:.7rem}.reader-check{display:flex!important;gap:.6rem;align-items:center}
.dark-reading .reader-paper { color:#ddd6ca; background:linear-gradient(90deg,#1b1916,#27231e 8%,#27231e 92%,#171512); }.dark-reading .frontmatter h2 em{color:#b6aa99}
@media(max-width:760px){
 .reader-page{background-size:auto 100%;}.reader-topbar{padding:.8rem;}.reader-series{display:none}.reader-actions{width:100%;justify-content:flex-end}.reader-stage{padding:4.5rem 1rem 3rem}.closed-book{width:min(330px,75vw)}.reader-welcome{top:auto;bottom:1.5rem;transform:translateX(-50%);width:92vw}.open-book{width:82vw}.book-pages{display:block;min-height:72vh}.left-reader-page{display:none}.right-reader-page{min-height:72vh;border-radius:6px;box-shadow:none}.reader-gutter{display:none}.page-arrow.previous{left:-42px}.page-arrow.next{right:-42px}.reader-paper{padding:3rem 2rem}.reader-status{font-size:.48rem}.reader-panel{right:1rem}.right-reader-page .folio{right:1.5rem}
}
@media(prefers-reduced-motion:reduce){.closed-book,.reader-welcome,.open-book.arrive{transition:none;animation:none}.turn-forward,.turn-back{animation:none}}


/* =========================================================
   TLG READER v2 — physical edition polish
   ========================================================= */
.reader-paper::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.18; mix-blend-mode:multiply; background-image:repeating-linear-gradient(0deg,rgba(70,55,38,.035) 0,rgba(70,55,38,.035) 1px,transparent 1px,transparent 4px),radial-gradient(circle at 28% 22%,rgba(255,255,255,.28),transparent 32%),radial-gradient(circle at 75% 68%,rgba(89,67,43,.10),transparent 36%); }
.reader-paper::after { content:""; position:absolute; inset:7px; border:1px solid rgba(74,60,44,.10); pointer-events:none; }
.book-pages::after { content:""; position:absolute; z-index:-1; left:1.1%; right:1.1%; bottom:-9px; height:14px; border-radius:0 0 9px 9px; background:repeating-linear-gradient(0deg,#a79d8d 0,#a79d8d 1px,#c9c0b1 1px,#c9c0b1 2px); box-shadow:0 9px 18px rgba(0,0,0,.4); }
.left-reader-page { background:linear-gradient(90deg,#c7beae,#e3dbc9 10%,#e2dac9 91%,#b7ad9d); }
.right-reader-page { background:linear-gradient(90deg,#b7ad9d,#e2dac9 9%,#e3dbc9 90%,#c7beae); }
.reader-gutter { width:26px; background:linear-gradient(90deg,rgba(38,28,19,.22),rgba(255,255,255,.08) 42%,rgba(255,255,255,.08) 58%,rgba(38,28,19,.22)); filter:blur(.2px); }
.book-cover-face { overflow:hidden; }
.book-cover-face::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.20; background:repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 1px,transparent 1px,transparent 3px),radial-gradient(circle at 50% 40%,rgba(76,119,107,.12),transparent 40%); }
.book-cover-face > * { position:relative; z-index:1; }
.bookmark-ribbon { border:0; cursor:pointer; padding:9px 0 0; color:#d8d0c2; font:600 .65rem Spectral,serif; transition:height .2s ease,filter .2s ease; }
.bookmark-ribbon:hover { height:90px; filter:brightness(1.16); }
.in-book-bookmark { position:absolute; z-index:9; top:-9px; right:10%; width:34px; height:92px; border:0; color:#d8d0c2; background:linear-gradient(90deg,#203f3c,#376b65,#203f3c); clip-path:polygon(0 0,100% 0,100% 100%,50% 83%,0 100%); box-shadow:0 4px 12px rgba(0,0,0,.5); cursor:pointer; font:600 .7rem Spectral,serif; padding-top:12px; transition:transform .2s ease; }
.in-book-bookmark:hover { transform:translateY(7px); }
.chapter-opener { position:relative; padding-top:6%; }
.chapter-emblem { display:block; width:min(135px,32%); max-height:115px; object-fit:contain; margin:0 auto 1.4rem; opacity:.76; filter:grayscale(.35) sepia(.18) contrast(.82); }
.chapter-opener .overline { text-align:center; color:#5b5145; }
.chapter-opener h2 { margin:.7rem 0 1.1rem; }
.chapter-rule { width:72px; height:1px; margin:0 auto 2.5rem; background:linear-gradient(90deg,transparent,#766a5b,transparent); }
.chapter-zero { font-size:2rem; color:#786c5d; }
.prose-page,.chapter-opener { max-width:37em; margin:0 auto; }
.prose-page p { text-indent:1.25em; margin-bottom:.35em; }
.prose-page p:first-of-type,.prose-page .scene-break { text-indent:0; }
.chapter-opener .dropcopy { text-indent:0; }
.dropcopy span { color:#40382f; }
.folio { bottom:1.65rem; color:#51483e; opacity:.72; }
.reader-status { max-width:1180px; margin:0 auto; }
.dark-reading .reader-paper::before { opacity:.08; mix-blend-mode:screen; }
.dark-reading .chapter-opener .overline,.dark-reading .folio { color:#b8ae9f; }
.dark-reading .dropcopy span { color:#c7bcac; }
@media(max-width:760px){.book-pages::after{display:none}.in-book-bookmark{right:8%;height:76px;width:30px}.reader-paper::after{inset:5px}.chapter-emblem{width:100px}.prose-page p{text-align:left;hyphens:none}}

/* Manuscript import: chapters 1–12 */
.manuscript-page p{margin-bottom:.38em;}
.manuscript-page .scene-break{height:3.4rem;display:flex;align-items:center;justify-content:center;text-indent:0;margin:.35rem 0;color:#756958;letter-spacing:.45em;font-size:.72rem;}
.flashback-sequence{font-style:italic;margin:.15rem 0;}
.flashback-sequence p{font-style:italic;}
.dark-reading .manuscript-page .scene-break{color:#a99d8c;}


/* Reader page proportions — compact physical-book edition */
.book-pages { height: min(860px, calc(100vh - 150px)); min-height: 620px; }
.reader-paper { height: 100%; min-height: 0; box-sizing: border-box; }
@media (max-width:760px) {
  .book-pages { height: min(780px, calc(100vh - 125px)); min-height: 600px; }
  .right-reader-page { height:100%; min-height:0; }
  .reader-paper { padding:2.4rem 1.55rem 2.7rem; font-size:calc(.80rem * var(--reader-scale)); line-height:min(var(--reader-leading),1.58); }
  .prose-page p,.chapter-opener .dropcopy,.chapter-opener>p:last-child { margin-bottom:.95em; }
  .manuscript-page .scene-break { height:2.4rem; }
}

/* Webnovel reader — continuous chapter reading */
.webnovel-reader{min-height:100vh;overflow-x:hidden;--webnovel-base-size:17px;background-attachment:fixed}
.webnovel-reader .reader-topbar{position:sticky;top:0;z-index:40;background:rgba(8,9,8,.88);backdrop-filter:blur(12px);border-bottom:1px solid rgba(201,190,161,.16)}
.webnovel-reader .reader-series{text-decoration:none;color:inherit}.webnovel-reader .reader-series span{opacity:.55;font-weight:400}
.webnovel-nav{position:sticky;top:58px;z-index:30;display:flex;justify-content:center;gap:10px;padding:10px 18px;background:rgba(10,11,10,.82);backdrop-filter:blur(10px);border-bottom:1px solid rgba(201,190,161,.12)}
.webnovel-nav button,.webnovel-nav select,.webnovel-bottom-nav button{font:600 11px/1 Inter,sans-serif;letter-spacing:.12em;color:#d7d0bd;background:#171a18;border:1px solid #44463e;border-radius:3px;padding:10px 14px}.webnovel-nav select{min-width:260px;letter-spacing:.04em}.webnovel-nav button:disabled,.webnovel-bottom-nav button:disabled{opacity:.28}
.webnovel-shell{position:relative;z-index:2;width:min(100%,980px);margin:42px auto 90px;padding:0 28px}
.webnovel-article{width:min(100%,820px);margin:auto;background:#e9e2d1;color:#211f1a;box-shadow:0 24px 80px rgba(0,0,0,.48),inset 0 0 80px rgba(89,70,42,.08);border:1px solid rgba(82,69,48,.28);padding:72px clamp(38px,8vw,86px) 64px;min-height:80vh}
.webnovel-chapter-head{text-align:center;margin:0 auto 58px}.webnovel-chapter-head>p{font:600 10px/1.4 Inter,sans-serif;letter-spacing:.22em;color:#625d51}.webnovel-chapter-head img{display:block;width:118px;height:auto;margin:30px auto 18px;filter:sepia(.15)}.webnovel-chapter-head span{display:block;font:500 11px/1.4 Inter,sans-serif;letter-spacing:.28em;color:#625d51}.webnovel-chapter-head h1{font:400 clamp(34px,6vw,58px)/1.08 Spectral,serif;letter-spacing:.09em;margin:12px 0 22px}.webnovel-chapter-head>div{width:64px;height:1px;background:#9e927a;margin:auto}
.webnovel-prose{font-family:'Libre Baskerville',Georgia,serif;font-size:var(--webnovel-base-size);line-height:1.65;hyphens:auto;text-wrap:pretty}.webnovel-prose p{margin:0;text-indent:1.65em}.webnovel-prose p:first-child,.webnovel-prose .scene-break+p{ text-indent:0}.webnovel-prose .scene-break{height:auto;min-height:0;margin:3.5em 0;text-align:center;color:#766d5c;font-size:.8em;letter-spacing:.65em}.webnovel-prose .flashback,.webnovel-prose em{font-style:italic}.webnovel-prose blockquote{margin:2em 2.5em;font-style:italic}
.webnovel-chapter-footer{margin-top:68px}.chapter-end-mark{text-align:center;font:500 15px Spectral,serif;color:#756b58;margin-bottom:42px}.webnovel-bottom-nav{display:flex;justify-content:space-between;gap:18px;border-top:1px solid rgba(80,67,45,.18);padding-top:28px}.webnovel-bottom-nav button{color:#332f27;background:transparent;border-color:#9b907b}
.webnovel-panel{position:fixed;z-index:60;top:70px;max-height:calc(100vh - 90px);overflow:auto}.webnovel-contents{display:grid;gap:4px}.webnovel-contents button{display:grid;grid-template-columns:32px 1fr;text-align:left;align-items:center}.webnovel-contents button span{opacity:.5;font-size:.8em}
.dark-reading .webnovel-article{background:#171817;color:#d8d2c5;border-color:#393a35;box-shadow:0 24px 80px rgba(0,0,0,.62)}.dark-reading .webnovel-chapter-head>p,.dark-reading .webnovel-chapter-head span{color:#8f8b80}.dark-reading .webnovel-chapter-head img{filter:grayscale(.35) brightness(.8)}.dark-reading .webnovel-bottom-nav button{color:#d8d2c5;border-color:#55574f}.dark-reading .webnovel-prose .scene-break{color:#8e897d}
@media(max-width:700px){.webnovel-reader .reader-topbar{padding:10px 12px}.webnovel-reader .reader-series span{display:none}.webnovel-nav{top:50px;padding:8px}.webnovel-nav select{min-width:0;flex:1;max-width:210px}.webnovel-nav button{padding:9px 8px;font-size:9px}.webnovel-shell{margin:18px auto 48px;padding:0 10px}.webnovel-article{padding:44px 24px 42px;border-radius:2px}.webnovel-chapter-head{margin-bottom:42px}.webnovel-chapter-head img{width:94px;margin-top:22px}.webnovel-reader{--webnovel-base-size:16px}.webnovel-prose{hyphens:none}.webnovel-prose p{text-indent:1.35em}.webnovel-prose .scene-break{margin:2.8em 0}.webnovel-bottom-nav{flex-direction:column}.webnovel-bottom-nav button{width:100%}.reader-actions .reader-tool{font-size:9px;padding:8px}.webnovel-panel{top:58px;left:10px;right:10px;width:auto}}

/* Unreleased album booklets — intentionally sparse, not unfinished. */
.album-one-page::before { background:linear-gradient(rgba(31,47,66,.10),rgba(31,47,66,.10)),var(--frame-bg) center top/100% auto repeat-y; }
.album-two-page::before { background:linear-gradient(rgba(80,20,18,.10),rgba(80,20,18,.10)),var(--frame-bg) center top/100% auto repeat-y; }
.album-three-page::before { background:linear-gradient(rgba(164,174,180,.08),rgba(164,174,180,.08)),var(--frame-bg) center top/100% auto repeat-y; }
.unreleased-booklet{min-height:calc(100vh - 58px);display:grid;place-items:center;padding:clamp(28px,5vw,72px) 0 60px}
.unreleased-spread{width:min(1180px,92vw);min-height:min(720px,82vh);display:grid;grid-template-columns:1fr 1fr;box-shadow:0 30px 70px rgba(0,0,0,.58)}
.unreleased-spread .paper{min-height:inherit;position:relative;overflow:hidden}
.unreleased-left{display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;padding:clamp(38px,6vw,78px)}
.unreleased-left .unreleased-emblem{width:min(78%,430px);max-height:430px;object-fit:contain;filter:drop-shadow(0 24px 22px rgba(0,0,0,.35))}
.unreleased-left .unreleased-mark{font:500 clamp(3.8rem,7vw,7rem)/1 Spectral,serif;opacity:.18}
.unreleased-right{display:flex;flex-direction:column;justify-content:center;padding:clamp(48px,7vw,92px)}
.unreleased-kicker{font:600 .62rem/1.5 Inter,sans-serif;letter-spacing:.28em;color:#777168;margin:0 0 1.4rem}
.unreleased-right h1{margin:0;font:500 clamp(3.2rem,6vw,6.5rem)/.9 Spectral,serif;letter-spacing:.04em;color:#0b0a09}
.unreleased-right h1 em{font-style:normal;font-weight:400}
.unreleased-character{margin:1.8rem 0 0;font:500 .72rem/1.5 Inter,sans-serif;letter-spacing:.22em;color:#625d56}
.unreleased-rule{width:84px;height:1px;background:#8d8579;margin:3rem 0}
.unreleased-status{margin:0;font:600 .66rem/1.5 Inter,sans-serif;letter-spacing:.25em;color:#4f4a43}
.unreleased-note{max-width:30rem;margin:1rem 0 0;font:400 .72rem/1.7 Inter,sans-serif;letter-spacing:.04em;color:#817a70}
.unreleased-return{display:inline-block;margin-top:3rem;font:600 .58rem/1 Inter,sans-serif;letter-spacing:.18em;color:#5c5650}
.unreleased-return:hover{color:#0a8791}
.album-one-page .unreleased-emblem{filter:drop-shadow(0 24px 22px rgba(0,0,0,.35)) drop-shadow(0 0 28px rgba(68,115,150,.12))}
.album-two-page .unreleased-emblem{filter:drop-shadow(0 24px 22px rgba(0,0,0,.35)) drop-shadow(0 0 28px rgba(125,39,29,.12))}
.album-three-page .unreleased-emblem{filter:drop-shadow(0 24px 22px rgba(0,0,0,.35)) drop-shadow(0 0 28px rgba(145,171,183,.13))}
@media(max-width:760px){.unreleased-booklet{padding:20px 0 40px}.unreleased-spread{grid-template-columns:1fr;min-height:0}.unreleased-spread .paper{min-height:520px}.unreleased-left{min-height:520px}.unreleased-right{min-height:520px}.unreleased-left .unreleased-emblem{width:min(72%,340px)}.unreleased-right h1{font-size:clamp(3rem,15vw,5rem)}}

/* ABOUT PAGES — intentionally restrained until final copy is supplied. */
.about-page {
  position:relative; min-height:100vh; background-color:#050505;
  background-image:url("assets/tlg-dark-frame-background.png");
  background-repeat:no-repeat; background-position:center center;
  background-size:100% 100%; background-attachment:fixed; color:#ded9cf;
}
.about-page::before { content:""; position:fixed; inset:0; z-index:0; pointer-events:none; background:rgba(0,0,0,.28); }
.about-page > * { position:relative; z-index:1; }
.about-sitebar { min-height:62px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:1rem; padding:.65rem clamp(1rem,3vw,2.2rem); border-bottom:1px solid rgba(255,255,255,.08); background:rgba(5,5,5,.84); backdrop-filter:blur(12px); }
.about-sitebar img { width:min(150px,28vw); opacity:.6; display:block; }
.about-sitebar .back-link { color:#8f8a82; transition:color .2s ease; }
.about-sitebar .back-link:hover { color:var(--teal); }
.about-main { width:min(920px,88vw); margin:0 auto; padding:clamp(5rem,10vw,9rem) 0 4rem; }
.about-hero { text-align:center; margin-bottom:clamp(4rem,8vw,7rem); }
.about-kicker,.about-section-label { margin:0 0 1rem; font:500 .62rem/1 Inter,sans-serif; letter-spacing:.3em; color:#7d7972; }
.about-hero h1 { margin:0; font:600 clamp(2.7rem,7vw,5.8rem)/.95 Spectral,serif; letter-spacing:.035em; color:#e7e1d6; }
.about-rule { width:90px; height:1px; margin:2rem auto; background:linear-gradient(90deg,transparent,var(--teal),transparent); box-shadow:0 0 18px var(--teal-soft); }
.about-intro { width:min(610px,100%); margin:0 auto; font:400 clamp(1rem,1.5vw,1.16rem)/1.8 Spectral,serif; color:#aaa49b; }
.about-sections { border-top:1px solid rgba(255,255,255,.1); }
.about-section { padding:clamp(3rem,6vw,5rem) 0; border-bottom:1px solid rgba(255,255,255,.1); }
.about-section h2 { margin:0 0 1.5rem; font:600 clamp(1.65rem,3vw,2.5rem)/1.05 Spectral,serif; letter-spacing:.04em; color:#d8d2c8; }
.about-placeholder { margin:0; font:400 1rem/1.85 Spectral,serif; color:#77736d; padding-bottom: 9px; }
.about-footer { padding-top:1rem; }
@media (max-aspect-ratio:4/5) { .about-page { background-size:cover; background-position:center top; } }
@media (max-width:600px) { .about-sitebar { grid-template-columns:1fr auto; } .about-sitebar > span { display:none; } .about-main { width:min(88vw,720px); padding-top:4.5rem; } .about-section { padding:3rem 0; } }

/* ABOUT PAGE VISUAL PASS — solid editorial plates bridge the ornate site frame and content. */
.about-main { width:min(1080px,90vw); }
.about-hero { margin-bottom:clamp(3.25rem,6vw,5.5rem); }
.about-panel {
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.095);
  background:#111110;
  box-shadow:0 28px 70px rgba(0,0,0,.46), inset 0 1px rgba(255,255,255,.025);
}
.about-panel::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.018),transparent 34%,rgba(18,216,233,.018));
}
.about-panel .about-section { position:relative; padding:clamp(2.8rem,5vw,4.5rem) clamp(2rem,6vw,5rem); }
.about-panel .about-section:last-child { border-bottom:0; }
.about-section-label { color:#8d8880; }

/* Series page: the albums appear as a quiet heraldic set, not another homepage. */
.series-emblem-rail {
  display:grid; grid-template-columns:repeat(4,1fr); min-height:230px;
  margin-bottom:1.4rem; overflow:hidden;
  border:1px solid rgba(255,255,255,.095); background:#0d0d0d;
  box-shadow:0 24px 60px rgba(0,0,0,.38);
}
.series-emblem { position:relative; display:grid; place-items:center; min-height:230px; overflow:hidden; border-right:1px solid rgba(255,255,255,.07); }
.series-emblem:last-child { border-right:0; }
.series-emblem::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 45%,rgba(0,0,0,.25)); }
.series-emblem span { position:absolute; z-index:2; top:1rem; left:1.1rem; font:500 1.5rem/1 Spectral,serif; color:rgba(255,255,255,.26); }
.series-emblem img { position:relative; z-index:1; width:88%; height:185px; object-fit:contain; opacity:.46; filter:contrast(1.08) brightness(.9); }
.series-emblem-monkey { background:#211a15; }
.series-emblem-raven { background:#151b22; }
.series-emblem-snake { background:#251311; }
.series-emblem-owl { background:#292a29; }

/* Author page: portrait as the focal object, room as a wide atmospheric 'liner-note' image. */
.author-visual {
  display:grid; grid-template-columns:minmax(230px,.72fr) minmax(0,1.65fr); gap:1.4rem;
  margin-bottom:1.4rem;
}
.author-visual figure { margin:0; position:relative; overflow:hidden; border:1px solid rgba(255,255,255,.095); background:#111110; box-shadow:0 24px 60px rgba(0,0,0,.4); }
.author-visual figure::after { content:""; position:absolute; inset:0; pointer-events:none; box-shadow:inset 0 0 45px rgba(0,0,0,.2); }
.author-visual img { width:100%; height:100%; display:block; object-fit:cover; }
.author-portrait { aspect-ratio:1/1; }
.author-portrait img { object-position:center; }
.author-room { min-height:300px; }
.author-room img { object-position:center; }

@media (max-width:760px) {
  .series-emblem-rail { grid-template-columns:repeat(2,1fr); }
  .series-emblem { min-height:180px; border-bottom:1px solid rgba(255,255,255,.07); }
  .series-emblem:nth-child(2) { border-right:0; }
  .series-emblem:nth-child(3),.series-emblem:nth-child(4) { border-bottom:0; }
  .series-emblem img { height:145px; }
  .author-visual { grid-template-columns:1fr; }
  .author-portrait { width:min(100%,420px); justify-self:center; }
  .author-room { min-height:240px; aspect-ratio:16/10; }
}
@media (max-width:480px) {
  .about-main { width:min(92vw,1080px); }
  .about-panel .about-section { padding:2.6rem 1.5rem; }
}

/* AUTHOR PAGE ROWS — three horizontal bands: bio/portrait, notes, contact/room. */
.author-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);
  grid-template-areas:
    "bio portrait"
    "notes notes"
    "room links";
  gap:1.4rem;
  align-items:stretch;
}
.author-layout .about-section {
  margin:0;
  border-bottom:0;
  padding:clamp(2.4rem,4vw,3.7rem);
}
.author-layout .about-section h2 { margin:0 0 1.5rem; }
.author-bio { grid-area:bio; }
.author-portrait { grid-area:portrait; aspect-ratio:1/1; }
.author-room { grid-area:room; min-height:300px; }
.author-notes { grid-area:notes; }
.author-links { grid-area:links; }
.author-photo {
  margin:0; position:relative; overflow:hidden;
  border:1px solid rgba(255,255,255,.095); background:#111110;
  box-shadow:0 24px 60px rgba(0,0,0,.4);
}
.author-photo::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  box-shadow:inset 0 0 45px rgba(0,0,0,.2);
}
.author-photo img { width:100%; height:100%; display:block; object-fit:cover; }
.author-portrait img { object-position:center; }
.author-room img { object-position:center; }

@media (max-width:820px) {
  .author-layout {
    grid-template-columns:1fr;
    grid-template-areas:
      "bio"
      "portrait"
      "notes"
      "links"
      "room";
  }
  .author-portrait { width:min(100%,460px); justify-self:center; }
  .author-room { min-height:240px; aspect-ratio:16/10; }
}
/* READER COMMUNITY — chapter subscriptions + persistent Hyvor threads. */
.reader-community{margin-top:54px;border-top:1px solid rgba(80,67,45,.18);padding-top:38px;display:grid;gap:28px}
.reader-subscribe,.reader-comments{border:1px solid rgba(80, 67, 45, 0);background:rgba(75,63,43,0);padding:clamp(24px,4vw,38px)}
.reader-community-kicker{margin:0 0 10px!important;text-indent:0!important;font:600 10px/1.4 Inter,sans-serif!important;letter-spacing:.22em;color:#817762}
.reader-community h2{margin:0 0 10px;font:600 clamp(1.45rem,3vw,2rem)/1.08 Spectral,serif;color:#2e2a23}
.reader-community-copy{margin:0 0 18px!important;text-indent:0!important;font:400 .92rem/1.65 Inter,sans-serif!important;color:#716957}
.tlg-subscribe-form{margin-top:20px;background:transparent}
.tlg-subscribe-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
.tlg-subscribe-form input[type="email"]{min-width:0;border:1px solid rgba(80,67,45,.34);background:rgba(255,255,255,.18);color:#2e2a23;padding:13px 14px;font:400 .9rem/1.2 Inter,sans-serif;outline:none;border-radius:0}
.tlg-subscribe-form input[type="email"]::placeholder{color:#817762;opacity:.82}
.tlg-subscribe-form input[type="email"]:focus{border-color:#817762;background:rgba(255,255,255,.28)}
.tlg-subscribe-form button{border:1px solid #817762;background:#2e2a23;color:#eee8dc;padding:12px 18px;font:600 10px/1.2 Inter,sans-serif;letter-spacing:.16em;cursor:pointer;border-radius:0;transition:background .18s ease,color .18s ease,border-color .18s ease}
.tlg-subscribe-form button:hover,.tlg-subscribe-form button:focus-visible{background:#817762;color:#fff;border-color:#817762}
.tlg-subscribe-note{margin:10px 0 0!important;text-indent:0!important;font:400 .72rem/1.5 Inter,sans-serif!important;color:#817762}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.reader-comments #hyvorComments{margin-top:22px;min-height:120px}
.dark-reading .reader-community{border-color:rgba(255, 0, 0, 0)}
.dark-reading .reader-subscribe,.dark-reading .reader-comments{border-color:#393a35;background:transparent}
.dark-reading .reader-community h2{color:#d8d2c5}
.dark-reading .reader-community-kicker,.dark-reading .reader-community-copy{color:#918b7d}
.dark-reading .tlg-subscribe-form input[type="email"]{border-color:#4d4e48;background:rgba(255,255,255,.035);color:#d8d2c5}
.dark-reading .tlg-subscribe-form input[type="email"]::placeholder{color:#77766f}
.dark-reading .tlg-subscribe-form input[type="email"]:focus{border-color:#77766f;background:rgba(255,255,255,.06)}
.dark-reading .tlg-subscribe-form button{background:#d8d2c5;color:#242522;border-color:#d8d2c5}
.dark-reading .tlg-subscribe-form button:hover,.dark-reading .tlg-subscribe-form button:focus-visible{background:#918b7d;border-color:#918b7d;color:#171815}
.dark-reading .tlg-subscribe-note{color:#77766f}

@media(max-width:700px){
.reader-community{margin-top:42px;padding-top:30px;gap:20px}
.reader-subscribe,.reader-comments{padding:22px 18px}
.tlg-subscribe-row{grid-template-columns:1fr}
.tlg-subscribe-form button{width:100%;min-height:44px}
  }

/* BLOG — reader-adjacent, but built as an author journal rather than a story surface. */
.blog-page{min-height:100vh;color:#d8d2c8;background:#090a0a url('/assets/tlg-dark-frame-background.png') center top/100% auto fixed no-repeat;font-family:Inter,sans-serif}
.blog-page::before{content:"";position:fixed;inset:0;z-index:-1;background:radial-gradient(circle at 50% 18%,rgba(28,58,56,.16),transparent 34%),rgba(5,6,6,.28);pointer-events:none}
.blog-topbar{position:sticky;top:0;z-index:30;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;background:rgba(7,7,7,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.08)}
.blog-topbar .reader-series{text-decoration:none;color:#d8d2c8}.blog-topbar .reader-series span{color:#77736d}
.blog-shell{width:min(980px,90vw);margin:0 auto;padding:76px 0 90px}
.blog-hero{text-align:center;margin:0 auto 54px;max-width:760px}.blog-hero>p:first-child{margin:0 0 12px;font:600 10px/1.4 Inter,sans-serif;letter-spacing:.28em;color:#8f897f}.blog-hero h1{margin:0;font:500 clamp(3.2rem,8vw,6.2rem)/.9 Spectral,serif;letter-spacing:.055em;color:#e7e1d6}.blog-rule { width:90px; height:1px; margin:2rem auto; background:linear-gradient(90deg,transparent,var(--teal),transparent); box-shadow:0 0 18px var(--teal-soft); }.blog-deck{margin:0 auto;max-width:590px;font:400 1.08rem/1.75 Spectral,serif;color:#aaa49b}
.blog-list{display:flex;flex-direction:column;gap:22px}.blog-card{display:grid;grid-template-columns:210px 1fr;min-height:210px;background:rgba(22,22,21,.94);border:1px solid rgba(255,255,255,.075);box-shadow:0 18px 48px rgba(0,0,0,.28);overflow:hidden}.blog-card-image{display:block;min-height:210px;background:#111}.blog-card-image img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:1/1;filter:saturate(.72) contrast(1.04);transition:filter .25s ease,transform .35s ease}.blog-card:hover .blog-card-image img{filter:saturate(.95) contrast(1.04);transform:scale(1.025)}.blog-card-copy{padding:31px 36px;display:flex;flex-direction:column;justify-content:center}.blog-card time{font:600 9px/1.4 Inter,sans-serif;letter-spacing:.22em;color:#77736d}.blog-card h2{margin:9px 0 9px;font:500 clamp(1.75rem,4vw,2.55rem)/1.05 Spectral,serif}.blog-card h2 a{color:#ddd7cd;text-decoration:none}.blog-card p{margin:0 0 19px;font:400 1rem/1.6 Spectral,serif;color:#8f8a82}.blog-read-more{width:max-content;font:600 9px/1.4 Inter,sans-serif;letter-spacing:.2em;color:#74a9a6;text-decoration:none}.blog-read-more:hover{color:#a8d3d0}.blog-footer{width:min(980px,90vw);margin:0 auto;padding:0 0 55px;display:flex;justify-content:center;gap:18px;align-items:center;font:500 9px/1 Inter,sans-serif;letter-spacing:.18em;color:#55524d}.blog-footer a{color:#77736d;text-decoration:none}.blog-footer a:hover{color:#8bbab6}
.blog-post-shell{width:min(850px,92vw);padding-top:58px}.blog-post{background:#d9d3c8;color:#29261f;padding:68px clamp(34px,8vw,86px) 54px;box-shadow:0 24px 70px rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.08)}.blog-post-head{text-align:center;margin-bottom:48px}.blog-post-head time{display:block;font:500 1rem/1.5 Spectral,serif;color:#746d61}.blog-post-head h1{margin:12px 0 0;font:500 clamp(2.8rem,7vw,5.4rem)/.98 Spectral,serif;letter-spacing:.025em;color:#1c1a17}.blog-post-head .blog-rule{background:#9e927a}.blog-post-prose{font:400 18px/1.78 Spectral,serif;color:#2e2a23}.blog-post-prose p{margin:0 0 1.35em}.blog-post-prose img{max-width:100%;height:auto;margin:1.4em auto;display:block}.blog-post-prose a{color:#376c69}.blog-signoff{text-align:right;margin-top:2.8em!important;font-style:italic}.blog-post-nav{margin-top:52px;padding-top:26px;border-top:1px solid rgba(80,67,45,.18)}.blog-post-nav a{font:600 9px/1.4 Inter,sans-serif;letter-spacing:.2em;color:#625d51;text-decoration:none}
@media(max-width:700px){.blog-page{background-size:cover;background-position:center top}.blog-topbar{padding:0 12px}.blog-topbar .reader-series span{display:none}.blog-shell{width:min(92vw,620px);padding:52px 0 64px}.blog-card{grid-template-columns:112px 1fr;min-height:150px}.blog-card-image{min-height:150px}.blog-card-copy{padding:20px 19px}.blog-card p{display:none}.blog-card h2{font-size:1.45rem}.blog-post-shell{width:min(94vw,620px);padding-top:24px}.blog-post{padding:44px 25px 38px}.blog-post-head{margin-bottom:36px}.blog-post-prose{font-size:16px;line-height:1.72}.blog-footer{flex-wrap:wrap}}
@media(max-width:440px){.blog-card{grid-template-columns:1fr}.blog-card-image{aspect-ratio:1.8/1;min-height:0}.blog-card-image img{aspect-ratio:1.8/1}.blog-card-copy{padding:22px}.blog-card p{display:block}.blog-hero{margin-bottom:38px}}


/* CODEX — curated encyclopedia of Rejiseä. */
.codex-page{min-height:100vh;color:#d8d2c8;background:#090a0a url('/assets/tlg-dark-frame-background.png') center top/100% auto fixed no-repeat;font-family:Inter,sans-serif}
.codex-page::before{content:"";position:fixed;inset:0;z-index:-1;background:radial-gradient(circle at 50% 16%,rgba(29,68,65,.2),transparent 34%),rgba(5,6,6,.3);pointer-events:none}
.codex-topbar{position:sticky;top:0;z-index:30;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;background:rgba(7,7,7,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.08)}
.codex-topbar .reader-series{text-decoration:none;color:#d8d2c8}.codex-topbar .reader-series span{color:#77736d}
.codex-shell{width:min(1080px,90vw);margin:0 auto;padding:76px 0 90px}.codex-hero{text-align:center;max-width:760px;margin:0 auto 52px}.codex-kicker,.codex-label{margin:0 0 11px;font:600 9px/1.4 Inter,sans-serif;letter-spacing:.25em;color:#77736d}.codex-hero h1{margin:0;font:500 clamp(3.4rem,8vw,6.6rem)/.9 Spectral,serif;letter-spacing:.055em;color:#e7e1d6}.codex-rule { width:90px; height:1px; margin:2rem auto; background:linear-gradient(90deg,transparent,var(--teal),transparent); box-shadow:0 0 18px var(--teal-soft); }.codex-hero>p:last-child{margin:0;font:400 1.12rem/1.7 Spectral,serif;color:#aaa49b}
.codex-search-panel,.codex-section,.codex-index{background:rgba(20,20,19,.95);border:1px solid rgba(255,255,255,.075);box-shadow:0 22px 60px rgba(0,0,0,.3)}.codex-search-panel{padding:clamp(28px,5vw,48px);display:grid;grid-template-columns:minmax(210px,.65fr) minmax(280px,1.35fr);gap:24px 42px;align-items:end}.codex-search-panel h2,.codex-section-head h2{margin:0;font:500 clamp(1.9rem,4vw,3rem)/1 Spectral,serif;color:#ded8ce}.codex-search{height:54px;display:flex;align-items:center;border:1px solid rgba(139,186,182,.32);background:#0e0f0f}.codex-search input{width:100%;height:100%;padding:0 17px;border:0;outline:0;background:transparent;color:#ddd7cd;font:400 1rem/1.2 Spectral,serif}.codex-search input::placeholder{color:#686762}.codex-search>span{padding:0 18px;color:#76aaa6;font-size:1.5rem}.codex-search-note{grid-column:2;margin:-9px 0 0;font:400 .76rem/1.55 Inter,sans-serif;color:#696761}
.codex-section,.codex-index{margin-top:22px;padding:clamp(30px,5vw,52px)}.codex-section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;padding-bottom:25px;border-bottom:1px solid rgba(255,255,255,.07)}.codex-section-head .codex-label{margin:0;order:2}.codex-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}.codex-category{position:relative;min-height:142px;padding:27px 30px 26px 72px;border-bottom:1px solid rgba(255,255,255,.065);color:inherit;text-decoration:none;transition:background .2s ease}.codex-category:nth-child(odd){border-right:1px solid rgba(255,255,255,.065)}.codex-category:hover{background:rgba(105,156,152,.055)}.codex-category-no{position:absolute;left:28px;top:31px;font:600 8px/1 Inter,sans-serif;letter-spacing:.15em;color:#56817e}.codex-category strong{display:block;font:500 1.55rem/1.15 Spectral,serif;color:#dcd6cb}.codex-category small{display:block;margin-top:8px;font:400 .8rem/1.55 Inter,sans-serif;color:#77736d}.codex-empty-note{margin:26px 0 0;text-align:center;font:italic 400 .92rem/1.6 Spectral,serif;color:#68655f}
.codex-letters{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 30px}.codex-letters span{width:31px;height:31px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.07);font:500 10px/1 Inter,sans-serif;color:#55534e;background:#111212}.codex-index-empty{text-align:center;padding:28px 20px 12px;color:#69665f;font:italic 400 1rem/1.5 Spectral,serif}.codex-index-empty img{width:70px;height:70px;object-fit:contain;opacity:.2;filter:grayscale(1);margin-bottom:8px}.codex-index-empty p{margin:0}.codex-spoiler-note{margin:22px 0 0;padding:25px 30px;display:flex;align-items:center;justify-content:center;gap:22px;text-align:center;border:1px solid rgba(105,156,152,.17);background:rgba(10,14,14,.84);color:#77736d}.codex-spoiler-note>span{color:#47706d;font-size:.6rem}.codex-spoiler-note strong{font:600 9px/1.4 Inter,sans-serif;letter-spacing:.22em;color:#8eb5b2}.codex-spoiler-note p{margin:7px 0 0;font:400 .9rem/1.55 Spectral,serif;color:#858078}
@media(max-width:720px){.codex-page{background-size:cover}.codex-topbar{padding:0 12px}.codex-topbar .reader-series span{display:none}.codex-shell{width:min(92vw,620px);padding:52px 0 64px}.codex-search-panel{grid-template-columns:1fr}.codex-search-note{grid-column:1;margin:-8px 0 0}.codex-section-head{display:block}.codex-section-head .codex-label{margin-bottom:10px}.codex-categories{grid-template-columns:1fr}.codex-category:nth-child(odd){border-right:0}.codex-category{padding-left:65px}.codex-spoiler-note{padding:22px 18px;gap:12px}}


/* CODEX ARTICLE — reference-entry template */
.codex-article-shell{width:min(1160px,92vw);margin:0 auto;padding:58px 0 90px}
.codex-breadcrumb{display:flex;gap:12px;align-items:center;margin-bottom:55px;font:600 8px/1 Inter,sans-serif;letter-spacing:.2em;color:#5e5b55}.codex-breadcrumb a{color:#8aa9a6;text-decoration:none}.codex-breadcrumb span:nth-child(2){font-size:.45rem;color:#456c69}
.codex-entry-head{max-width:820px}.codex-entry-head h1{margin:0;font:500 clamp(3.6rem,8vw,1.5rem)/.82 Spectral,serif;letter-spacing:.025em;color:#e7e1d6}.codex-entry-head h1 em{font-weight:400;color:#9ca9a6}.codex-entry-alias{margin:26px 0 0;font:italic 400 1.5rem/1.5 Spectral,serif;color:#817d75}
.codex-metal-divider{display:block;width:min(760px,78%);height:auto;margin:34px 0 46px;opacity:.58;filter:grayscale(.35)}
.codex-entry-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:62px;align-items:start}
.codex-entry-copy{min-width:0;color:#bdb7ad;font:400 1.05rem/1.82 Spectral,serif}.codex-entry-copy>p{margin:0 0 1.35em}.codex-lede{font-size:1.16rem;color:#cec8be}.codex-entry-copy a{color:#91b9b5;text-decoration-color:rgba(145,185,181,.4);text-underline-offset:3px}
.codex-unmade{color:#9ba6a3;border-bottom:1px dotted #5e7774;cursor:help}
.codex-toc{margin:42px 0 56px;padding:25px 28px;border-left:2px solid #527d79;background:rgba(13,15,15,.72)}.codex-toc>p{margin:0 0 14px;font:600 9px/1 Inter,sans-serif;letter-spacing:.22em;color:#7fa7a3}.codex-toc ol{margin:0;padding-left:22px;font:400 .93rem/1.8 Spectral,serif}.codex-toc ol ol{padding-left:22px}.codex-toc a{color:#a9a49a;text-decoration:none}.codex-toc a:hover{color:#a8d3d0}
.codex-entry-section{scroll-margin-top:86px;margin:0 0 58px}.codex-section-title{display:flex;align-items:baseline;gap:16px;padding-bottom:12px;margin-bottom:23px;border-bottom:1px solid rgba(255,255,255,.09)}.codex-section-title span{font:600 8px/1 Inter,sans-serif;letter-spacing:.16em;color:#527d79}.codex-section-title h2{margin:0;font:500 2.2rem/1 Spectral,serif;color:#ded8ce}.codex-entry-section h3{scroll-margin-top:86px;margin:36px 0 14px;font:500 1.5rem/1.2 Spectral,serif;color:#c9c3b9}.codex-entry-section p{margin:0 0 1.3em}.codex-trivia{padding-left:1.25em}.codex-trivia li{margin-bottom:.9em}
.codex-entry-footer{padding-top:26px;border-top:1px solid rgba(255,255,255,.08)}.codex-tags{display:flex;flex-wrap:wrap;gap:7px}.codex-tags span{padding:8px 10px;border:1px solid rgba(255,255,255,.08);background:#111212;font:500 8px/1 Inter,sans-serif;letter-spacing:.1em;color:#77736d}
.codex-infobox{position:sticky;top:80px;border:1px solid rgba(139,186,182,.2);background:rgba(13,14,14,.97);box-shadow:0 22px 60px rgba(0,0,0,.34);font-family:Inter,sans-serif}.codex-infobox-image{aspect-ratio:1/1;overflow:hidden;background:#0a0a0a}.codex-infobox-image img{width:100%;height:100%;object-fit:cover;display:block}.codex-infobox-name{padding:18px 20px;border-top:1px solid rgba(255,255,255,.06)}.codex-infobox-name small,.codex-featured-album small{display:block;margin-bottom:7px;font:600 8px/1 Inter,sans-serif;letter-spacing:.2em;color:#668e8b}.codex-infobox-name strong{font:500 1.28rem/1.2 Spectral,serif;color:#e0dacf}
.codex-infobox section h2{margin:0;padding:10px 16px;background:#1c2b2a;font:600 8px/1.2 Inter,sans-serif;letter-spacing:.16em;color:#a6b7b4}.codex-infobox dl{margin:0;padding:7px 16px 11px}.codex-infobox dl>div{display:grid;grid-template-columns:105px 1fr;gap:10px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.055)}.codex-infobox dl>div:last-child{border-bottom:0}.codex-infobox dt{font:500 8px/1.45 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#66635e}.codex-infobox dd{margin:0;font:400 .8rem/1.45 Spectral,serif;color:#bcb6ac}.codex-infobox dd small{color:#77736d}
.codex-featured-album{display:block;padding:20px;border-top:1px solid rgba(139,186,182,.25);background:linear-gradient(135deg,rgba(73,78,53,.25),rgba(9,10,10,.4));text-decoration:none}.codex-featured-album strong{display:block;font:500 1.08rem/1.25 Spectral,serif;color:#d9d2c6}.codex-featured-album span{display:block;margin-top:12px;font:600 8px/1 Inter,sans-serif;letter-spacing:.16em;color:#8db5b1}.codex-featured-album:hover span{color:#b4d5d2}
@media(max-width:880px){.codex-entry-grid{grid-template-columns:1fr;gap:42px}.codex-infobox{position:static;grid-row:1;max-width:520px;width:100%;margin:0 auto}.codex-entry-copy{grid-row:2}.codex-entry-head{text-align:center;margin:0 auto}.codex-metal-divider{margin-left:auto;margin-right:auto}.codex-breadcrumb{justify-content:center}}
@media(max-width:520px){.codex-article-shell{width:min(94vw,620px);padding-top:36px}.codex-breadcrumb{margin-bottom:40px}.codex-entry-head h1{font-size:3.3rem}.codex-entry-grid{gap:32px}.codex-infobox dl>div{grid-template-columns:92px 1fr}.codex-entry-copy{font-size:1rem;line-height:1.72}.codex-toc{padding:22px}.codex-section-title h2{font-size:1.9rem}.codex-metal-divider{width:92%}}

.codex-index-populated{padding:10px 0;text-align:left}.codex-index-populated a{display:grid;grid-template-columns:42px 1fr auto;gap:14px;align-items:center;padding:16px 18px;border:1px solid rgba(255,255,255,.07);text-decoration:none;background:#111212}.codex-index-populated strong{font:500 1.3rem/1 Spectral,serif;color:#699c98}.codex-index-populated span{font:500 1.05rem/1.2 Spectral,serif;color:#d6d0c6}.codex-index-populated small{font:500 8px/1.4 Inter,sans-serif;letter-spacing:.12em;color:#68655f}.codex-search-note a,.codex-empty-note a{color:#8db5b1;text-decoration:none}@media(max-width:600px){.codex-index-populated a{grid-template-columns:32px 1fr}.codex-index-populated small{grid-column:2}}

/* Codex article editorial surface */
.codex-article-shell{
  margin-top:34px;
  margin-bottom:56px;
  padding:58px clamp(28px,5vw,62px) 72px;
  background:rgba(20,20,19,.95);
  border:1px solid rgba(255,255,255,.075);
  box-shadow:0 22px 60px rgba(0,0,0,.3);
}
.codex-section-title{gap:0}
@media(max-width:520px){
  .codex-article-shell{
    width:min(94vw,620px);
    margin-top:20px;
    margin-bottom:34px;
    padding:36px 22px 52px;
  }
}
