:root {
  --bg: #0e1014;
  --bg-2: #141821;
  --surface: #191d27;
  --border: #2a3040;
  --text: #e9e6dd;
  --muted: #a7a294;
  --gold: #c8a24a;
  --gold-bright: #e2c072;
  --maxw: 1080px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: .5px; }
a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: #fff; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14,16,20,.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding-top: 8px; padding-bottom: 0; }
.brand { order: 1; display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif);
  font-size: 1.35rem; color: var(--text); letter-spacing: 1px; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand span { color: var(--gold); }
.site-nav { order: 3; flex: 0 0 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 26px;
  padding: 6px 0 10px; }
.site-nav a { color: var(--muted); font-size: .95rem; letter-spacing: .4px; text-transform: uppercase; }
.site-nav a:hover, .site-nav a.active { color: var(--gold-bright); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

.hero {
  position: relative;
  padding: 96px 0 88px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(200,162,74,.16), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .8rem; color: var(--gold); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 0 0 6px; }
.hero .by { color: var(--muted); font-style: italic; margin-bottom: 26px; }
.lede { max-width: 640px; margin: 0 auto 32px; font-size: 1.12rem; color: #d7d3c8; }

.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 4px; font-weight: 600;
  letter-spacing: .4px; border: 1px solid var(--gold);
}
.btn-primary { background: var(--gold); color: #1a1408; }
.btn-primary:hover { background: var(--gold-bright); color: #1a1408; }
.btn-ghost { color: var(--gold-bright); background: none; font: inherit; cursor: pointer; }
.btn-ghost:hover { background: rgba(200,162,74,.12); color: #fff; }

section.block { padding: 72px 0; border-bottom: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 8px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
#the-path .cards, #desiri-saor .cards, #standalones .cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 26px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card .tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 1.3rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card .cover { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: 4px;
  margin: 0 0 18px; background: var(--border); box-shadow: 0 6px 18px rgba(0,0,0,.35); }

.about { max-width: 760px; margin: 0 auto; text-align: center; }
.about p { color: #d7d3c8; }
.pull {
  font-family: var(--serif); font-size: 1.25rem; font-style: italic;
  color: var(--gold-bright); line-height: 1.6;
  margin: 28px auto; padding: 4px 0 4px 0; max-width: 620px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding-top: 22px; padding-bottom: 22px;
}

.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.feature img { width: 100%; border-radius: 8px; border: 1px solid var(--border); }
.feature h2 { font-size: 2rem; margin-top: 0; }

.page-intro { padding: 64px 0 40px; text-align: center; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.page-intro h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; }
.soon { display: inline-block; margin-top: 10px; color: var(--muted); font-style: italic; }

[id] { scroll-margin-top: 112px; }
.subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 20px; }
.subnav a { font-size: .78rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); }
.subnav a:hover { color: var(--gold-bright); }

.note { margin: 26px auto 0; text-align: center; font-size: .9rem; max-width: 620px; }
.spaced { margin-top: 52px; }

.flag {
  display: block; width: 100%; height: 92px; object-fit: contain;
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 8px; margin-bottom: 16px;
}
.facts { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.facts div { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid var(--border); }
.facts dt { flex: 0 0 92px; color: var(--gold); font-size: .66rem; letter-spacing: 1.2px;
  text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; }

.timeline { max-width: 760px; margin: 0 auto; }
.era { border-left: 1px solid var(--border); padding: 0 0 8px 30px; margin: 0; }
.era + .era { margin-top: 8px; }
.era h3 { position: relative; font-size: 1.45rem; margin: 0 0 6px; }
.era h3::before {
  content: ""; position: absolute; left: -35px; top: 8px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 5px rgba(200,162,74,.16);
}
.era > p { color: var(--muted); font-style: italic; margin: 0 0 26px; }
.event { position: relative; margin: 0 0 22px; }
.event::before {
  content: ""; position: absolute; left: -34px; top: 9px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--border); border: 1px solid var(--gold);
}
.event .year { display: block; font-size: .72rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.event h4 { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; letter-spacing: .4px; margin: 3px 0 0; }
.event p { margin: 3px 0 0; color: var(--muted); }
.era-end { border-left: 1px solid transparent; padding-left: 30px; }

.map-figure { margin: 0; }
.map-slot, .slot { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; width: 100%;
  border: 1px dashed var(--border); border-radius: 8px; color: var(--muted); font-style: italic; text-align: center; padding: 16px; }
.map-figure img { display: block; width: 100%; border: 1px solid var(--border); border-radius: 8px; }
.map-figure figcaption { color: var(--muted); font-size: .88rem; margin-top: 12px; text-align: center; }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 22px;
  list-style: none; padding: 0; margin: 22px 0 0; }
.legend li { border-top: 1px solid var(--border); padding-top: 10px; font-size: .95rem; }
.legend .muted { display: block; font-size: .84rem; }

.site-footer { padding: 40px 0; text-align: center; }
.footer-brand { font-family: var(--serif); font-size: 1.2rem; letter-spacing: 1px; margin: 0 0 6px; }
.footer-brand span { color: var(--gold); }
.site-footer .muted { font-size: .88rem; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 8px 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .header-inner { flex-wrap: nowrap; height: 64px; padding-top: 0; }
  .site-nav { order: 4; margin-left: 0; flex: initial; flex-wrap: nowrap; justify-content: flex-start; }
  .site-nav.open { max-height: 440px; }
  .langswitch a, .langswitch .lang-current { padding: 3px 8px; font-size: .7rem; }
  .site-nav a { padding: 12px 20px; }
  .feature { grid-template-columns: 1fr; }
}

.header-right { order: 2; display: flex; align-items: center; gap: 14px; }
.langswitch { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border);
  border-radius: 999px; padding: 3px; background: rgba(25,29,39,.6); }
.langswitch a, .langswitch .lang-current {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .74rem; letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.5;
}
.langswitch a { color: var(--muted); }
.langswitch a:hover { color: var(--gold-bright); background: rgba(200,162,74,.12); }
.langswitch .lang-current { color: #1a1408; background: var(--gold); font-weight: 600; }


.charsearch {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 20px; margin-bottom: 22px;
}
.charsearch .field { display: flex; flex-direction: column; gap: 6px; flex: 0 1 170px; }
.charsearch .field.grow { flex: 1 1 260px; }
.charsearch .field > span {
  font-size: .68rem; letter-spacing: 1.3px; text-transform: uppercase; color: var(--gold);
}
.charsearch input, .charsearch select {
  font-family: var(--sans); font-size: .95rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 9px 11px; width: 100%;
}
.charsearch input:focus, .charsearch select:focus {
  outline: none; border-color: var(--gold);
}
.charsearch .btn { padding: 9px 20px; }
.count { text-align: right; font-size: .85rem; margin: 0 0 18px; }
.card.char h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.card.char .alias { font-size: .9rem; font-style: italic; font-family: var(--sans); font-weight: 400; }
.card.char .facts dt { flex: 0 0 104px; }

@media (max-width: 720px) {
  .charsearch { padding: 16px; }
  .charsearch .field, .charsearch .field.grow { flex: 1 1 100%; }
  .charsearch .btn { width: 100%; }
}

.card.has-mosaic { padding: 0; overflow: hidden; }
.card.has-mosaic > :not(.mosaic):not(h3) { padding-left: 26px; padding-right: 26px; }
.card.has-mosaic > .facts { padding-bottom: 26px; }
.mosaic { display: flex; flex-direction: column; gap: 2px; background: var(--border); }
.mosaic-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mosaic .m-profil, .mosaic .m-scene { aspect-ratio: 1 / 1; }
.mosaic .m-profil img { object-position: top; }
.m-age { position: absolute; z-index: 1; top: 8px; left: 8px; font-size: .64rem;
  text-transform: uppercase; letter-spacing: 1.2px; color: var(--gold-bright);
  background: rgba(10, 11, 14, .72); border-radius: 999px; padding: 3px 9px; }
.card.has-mosaic h3 {
  margin: 0; padding: 14px 26px 12px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, .18);
}
.card.has-mosaic .tag { margin: 18px 0 10px; display: inline-block; }
.card.has-mosaic p { margin-top: 0; }
@supports not (aspect-ratio: 1 / 1) {
  .mosaic .m-profil, .mosaic .m-scene { min-height: 160px; }
}

.book-duo { display: flex; justify-content: center; align-items: flex-end; gap: 12%;
  margin: 4px 0 22px; padding: 6px 0 4px; perspective: 1100px; }
.book3d { position: relative; margin: 0; width: 40%; transform-style: preserve-3d;
  transform: rotateY(34deg); transition: transform .45s ease; --t: 14%; }
.book3d:hover { transform: rotateY(8deg); }
.book3d img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 1px 3px 3px 1px; position: relative;
  box-shadow: 10px 12px 22px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04); }
.book3d.hardcover img { border-radius: 2px 5px 5px 2px; }
.book3d::before { content: ""; position: absolute; top: 0; left: 0; width: var(--t); height: 100%;
  transform-origin: left center; transform: rotateY(90deg);
  background: linear-gradient(90deg, #1d150e, #5a432c 45%, #2a1f15); }
.book3d.hardcover::before { background: linear-gradient(90deg, #24150d, #6a4630 45%, #2e1c11);
  top: -1px; height: calc(100% + 2px); }
.book3d::after { content: ""; position: absolute; top: 0; left: 0; width: 7%; height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(255,255,255,.08) 55%, rgba(0,0,0,0));
  pointer-events: none; }
.book3d figcaption { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center;
  font-size: .66rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted);
  transform: rotateY(-34deg); }
.card .book-duo + .tag { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .book3d { transition: none; } }

:root { --social-h: 40px; }
body { padding-bottom: var(--social-h); }
.social-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: var(--social-h);
  background: rgba(14,16,20,.9); backdrop-filter: blur(8px); border-top: 1px solid var(--border); }
.social-bar-inner { height: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; }
.social-heading { font-size: .6rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--gold); white-space: nowrap; }
.social-links { display: flex; align-items: center; gap: 6px; }
.social-link { display: inline-block; font-size: .7rem; letter-spacing: .3px; line-height: 1.5; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 2px 11px; white-space: nowrap;
  transition: border-color .2s, color .2s; }
.social-link:hover { color: var(--gold-bright); border-color: var(--gold); }
.social-link--pending { opacity: .55; cursor: default; }
.social-link--pending:hover { color: var(--muted); border-color: var(--border); }
@media (max-width: 720px) {
  .social-heading { display: none; }
  .social-bar-inner { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .social-bar-inner::-webkit-scrollbar { display: none; }
}

.footer-legal { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: .78rem; color: var(--muted); opacity: .8; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--gold-bright); }

.flag-ico { width: 15px; height: 10px; border-radius: 1px; vertical-align: -1px; margin-right: 6px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18); }

.langswitch a, .langswitch .lang-current { white-space: nowrap; }
.brand { white-space: nowrap; }
@media (max-width: 720px) {
  .langswitch .lang-code { display: none; }
  .langswitch .flag-ico { margin-right: 0; width: 18px; height: 12px; vertical-align: -2px; }
  .langswitch a, .langswitch .lang-current { padding: 5px 9px; }
}

.stage { position: relative; display: flex; align-items: center; justify-content: center; height: 300px;
  padding: 30px 34px; margin-bottom: 16px; border-radius: 6px; overflow: hidden; background-color: var(--edge, #20232b);
  box-shadow: inset 0 0 0 1px var(--border), inset 0 0 46px rgba(0,0,0,.6); }
.stage img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 9px rgba(0,0,0,.55)); }
.stage.slot { font-size: .78rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted);
  background: var(--bg); box-shadow: none; border: 1px dashed var(--border); text-align: center; }
.bg-neutral { background: radial-gradient(ellipse at 50% 35%, #2b303b 0, #16181e 80%); } .banners { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.banners figure { margin: 0; width: 72px; text-align: center; }
.thumb { display: block; height: 100px; padding: 9px 8px; box-sizing: border-box; border-radius: 4px; overflow: hidden;
  background-color: var(--edge, #20232b); box-shadow: inset 0 0 14px rgba(0,0,0,.55), inset 0 0 0 1px var(--border); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0,0,0,.55)); }
.banners figcaption { margin-top: 5px; font-size: .66rem; line-height: 1.25; color: var(--muted); }
.banners-label { margin: 18px 0 0; font-size: .66rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); }
.about .banners { justify-content: center; }
.about .banners figure { width: 96px; }
.about .banners .thumb { height: 130px; }

.site-nav .nav-greyed { color: var(--muted); opacity: .4; cursor: default; font-size: inherit; letter-spacing: inherit; text-transform: inherit; }

.comic-card { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 34px; align-items: center; max-width: 780px; margin: 0 auto; }
.comic-card img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 14px 34px rgba(0,0,0,.55); display: block; }
.comic-card h2 { margin: 6px 0 10px; }
@media (max-width: 640px) { .comic-card { grid-template-columns: 1fr; } .comic-card img { max-width: 260px; margin: 0 auto; } }

.legal-text { max-width: 720px; margin: 0 auto; }
.legal-text .about { text-align: left; margin-top: 34px; }
.legal-text h3 { margin-bottom: 8px; }
.legal-text a { color: var(--gold-bright); }
