/* Legends of Majoria, Hybrid 2 (24 November 2026): the chosen concept, built as drawn
   (Library/ValidationReports/Website/concepts2/hybrid-2.png). An illuminated chronicle: aged parchment, crimson velvet
   bands with gold trim, gold-framed in-game footage, hanging banners, brown ink sketches and a wax seal.
   Headings are Grenze Gotisch (blackletter), body text Crimson Pro. The decorations are Codex paintings cut out by
   Website/tools/h2_assets.py into assets/h2/; frames are 9-slice kits whose slice numbers are repeated below. */
@font-face { font-family: "Grenze Gotisch"; src: url(fonts/grenze-gotisch.woff) format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url(fonts/crimson-pro.woff) format("woff"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url(fonts/crimson-pro-italic.woff) format("woff"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --paper: #f5d6a6;
  --paper-light: #fbe7c6;
  --ink: #2b1a0d;
  --ink-soft: #5b3e26;
  --crimson: #7a1610;
  --crimson-deep: #4c0c07;
  --gold: #c8913a;
  --gold-light: #f2cf7a;
  --gold-dark: #7a5218;
  --frame: #b08a4c;
  --cream: #fbeed6;
  --display: "Grenze Gotisch", "Grenze", Georgia, serif;
  --body: "Crimson Pro", Georgia, "Times New Roman", serif;
  --wrap: 1400px;
  --gutter: clamp(16px, 2.4vw, 36px);
  --parchment: url(h2/parchment.webp);
  --velvet: url(h2/velvet-band.webp);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper) var(--parchment) repeat; background-size: 900px; color: var(--ink);
  font: 400 clamp(17px, .3vw + 15px, 19.5px)/1.5 var(--body); -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
/* overflow-x clip: the final section's ink drawing reaches 7 px past a desktop browser's vertical scrollbar, which
   showed a horizontal scrollbar on Windows (headless captures have no scrollbar, so QA never saw it). */
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: inherit; color: inherit; letter-spacing: normal; overflow-x: clip;
  background: url(h2/stains.webp) 0 0 / 1100px repeat, linear-gradient(90deg, rgba(120, 66, 20, .22), transparent 9%, transparent 91%, rgba(120, 66, 20, .22)), rgba(176, 112, 44, .15); }
main > section, main > .cards { background-image: radial-gradient(ellipse 30% 60% at 0% 60%, rgba(140, 82, 28, .2), transparent 70%),
  radial-gradient(ellipse 30% 60% at 100% 40%, rgba(140, 82, 28, .18), transparent 70%); }
main { flex: 1; }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--crimson); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--crimson-deep); }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 2px; }
.velvet :focus-visible, .hero :focus-visible, dialog :focus-visible, .plate-btn:focus-visible { outline-color: var(--gold-light); }
h1, h2, h3 { font-family: var(--display); font-weight: 780; margin: 0 0 .3em; line-height: .98; color: var(--crimson); text-wrap: balance; letter-spacing: -.005em; }
p, li, figcaption, time, button, a, span, div { font-family: var(--body); }
h1 a, h2 a, h3 a, h1 span, h2 span, h3 span { font-family: inherit; }
p { margin: 0 0 1em; }
/* headings on parchment: ink with a little depth, like the concept's embossed lettering */
main h2, .page-head h1 { color: var(--crimson); filter: drop-shadow(0 1px 0 rgba(255, 238, 205, .8)) drop-shadow(0 2px 2px rgba(90, 30, 10, .25)); padding-bottom: .06em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  main h2, .page-head h1 { background: linear-gradient(180deg, #a02a1a 0%, #7a1610 45%, #4e0b07 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--crimson); color: var(--cream); padding: 10px 16px; }
.skip:focus { top: 12px; }
.small { font-size: .9em; color: var(--ink-soft); }

/* ---------- gold rules, the thread that joins every section ---------- */
.rule { height: clamp(18px, 2vw, 28px); margin: 0 auto; width: min(100% - 2 * var(--gutter), 1000px); background: url(h2/orn-1.webp) center / contain no-repeat; }

/* ---------- the velvet band: header and footer ---------- */
.velvet { position: relative; background: var(--crimson-deep) var(--velvet) center / 1000px auto repeat; color: var(--cream);
  box-shadow: inset 0 10px 18px -10px rgba(0, 0, 0, .6), inset 0 -10px 18px -10px rgba(0, 0, 0, .6); }
.velvet::before, .velvet::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; pointer-events: none;
  background: linear-gradient(var(--gold-dark), var(--gold-light) 35%, var(--gold) 65%, var(--gold-dark)); box-shadow: 0 0 6px rgba(0, 0, 0, .45); }
.velvet::before { top: 0; }
.velvet::after { bottom: 0; }

.site-header { z-index: 20; display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 70px; padding: 6px var(--gutter); }
.brand { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); }
.brand img { width: 92px; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.home .brand { display: none; }
.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav a { position: relative; color: var(--cream); text-decoration: none; font: 400 23px/1 var(--body); padding: 12px 32px; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.site-nav a + a::before { content: ""; position: absolute; left: -8px; top: 50%; width: 16px; height: 17px; transform: translateY(-50%); background: url(h2/orn-4.webp) center / contain no-repeat; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--gold-light); }
.site-nav a[aria-current]::after { content: ""; position: absolute; left: 32px; right: 32px; bottom: 4px; height: 1px; background: var(--gold-light); }
.site-nav .lang { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); font-size: 16px; padding: 8px 0; color: var(--gold-light); }
.site-nav .lang::before { display: none; }
.menu-toggle { display: none; }
.cta-slot { display: none; }

/* ---------- buttons: the crimson plate with gold arrow ends (assets/h2/red-plate.webp, kit 0/60) ---------- */
.plate-btn { --h: 62px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: var(--h);
  padding: 0 calc(var(--h) * .95); border: 0; border-style: solid; border-width: 0 calc(var(--h) * .5);
  border-image: url(h2/red-plate.webp) 0 60 fill / 0 calc(var(--h) * .5) stretch; background: none;
  color: var(--cream); font: 500 25px/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  text-shadow: 0 1px 2px rgba(40, 0, 0, .9); filter: drop-shadow(0 4px 6px rgba(40, 10, 0, .35)); transition: filter .2s; }
.plate-btn:hover { color: #fff; filter: drop-shadow(0 4px 6px rgba(40, 10, 0, .35)) brightness(1.12); }
.plate-btn .tri { width: 0; height: 0; border-left: 15px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.soon { display: inline-flex; align-items: center; gap: 18px; margin: 0; font: 400 22px/1.2 var(--body); }
.soon-rule::before, .soon-rule::after { content: ""; width: 52px; height: 1px; background: currentColor; opacity: .55; }

/* ---------- gold frames (9-slice kits) ---------- */
.framed { position: relative; isolation: isolate; }
.framed > picture, .framed > video, .framed > .fill { position: absolute; inset: var(--inset, 4px); width: calc(100% - 2 * var(--inset, 4px)); height: calc(100% - 2 * var(--inset, 4px)); object-fit: cover; }
.framed > picture img { width: 100%; height: 100%; object-fit: cover; }
.framed::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-style: solid; }
/* every picture frame: one simple border in muted antique gold, the same colour everywhere (owner, 24 November 2026) */
.frame-pic::after { border: var(--band, 4px) solid var(--frame); border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(60, 36, 10, .55), 0 0 0 1px rgba(60, 36, 10, .35), 0 3px 8px rgba(60, 30, 5, .28); }
.frame-pic { --inset: var(--band, 4px); }
.frame-pic > picture { overflow: hidden; }

/* ---------- hero: a full-width banner over the loop, closed by a thin gold edge (concept B) ---------- */
.hero { position: relative; height: clamp(560px, 44vw, 720px); background: #120c06; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #120c06; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 100% 42%; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 8, 3, .74) 0%, rgba(14, 8, 3, .48) 34%, transparent 58%),
              linear-gradient(0deg, rgba(14, 8, 3, .5), transparent 26%), linear-gradient(180deg, rgba(14, 8, 3, .4), transparent 16%); }
.hero-edge { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 5px; pointer-events: none;
  background: linear-gradient(var(--gold-light), var(--gold) 55%, var(--gold-dark)); box-shadow: 0 -1px 0 rgba(30, 12, 0, .6), 0 1px 2px rgba(30, 12, 0, .5); }
.hero-edge img { position: absolute; top: 50%; height: 34px; width: auto; transform: translateY(-50%); }
.hero-edge .end-l { left: clamp(8px, 2vw, 28px); }
.hero-edge .end-r { right: clamp(8px, 2vw, 28px); }
.hero-edge .mid { left: 50%; height: 38px; transform: translate(-50%, -50%); }
.hero-copy { position: absolute; z-index: 3; left: clamp(44px, 5.4vw, 96px); top: 50%; transform: translateY(-50%); width: min(760px, 52%); color: var(--cream); }
.hero-logo { width: clamp(250px, 24vw, 370px); margin: 0 0 4px 1.5%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.tagline { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; font: italic 400 clamp(19px, 1.6vw, 25px)/1.2 var(--body); color: var(--cream); text-shadow: 0 1px 3px #000; }
.tagline::before, .tagline::after { content: ""; flex: 0 0 34px; height: 1px; background: var(--cream); opacity: .7; }
.hero h1 { font-size: clamp(52px, 5.6vw, 84px); color: var(--cream); margin: 0 0 26px; letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(60, 30, 8, .9), 0 5px 18px rgba(0, 0, 0, .8); }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-actions .soon { color: var(--cream); text-shadow: 0 1px 3px #000; }
.hero-actions .soon::before { content: ""; width: 1px; height: 38px; background: var(--gold); opacity: .9; }
.loop-toggle { position: absolute; z-index: 4; right: 30px; bottom: 30px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); background: rgba(40, 12, 6, .7); color: var(--gold-light); cursor: pointer; opacity: .75; }
.loop-toggle::before { content: ""; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.loop-toggle[aria-pressed="true"]::before { width: 0; height: 0; border-left: 13px solid currentColor; border-right: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.loop-toggle:hover { opacity: 1; }
.hero .loop-toggle { right: 32px; bottom: 34px; }

/* ---------- pitch, between two ink sketches ---------- */
.pitch { position: relative; padding: 34px var(--gutter) 28px; text-align: center; overflow: hidden; }
.pitch p { position: relative; z-index: 1; max-width: 34em; margin: 0 auto; font-size: clamp(19px, 1.65vw, 25px); font-weight: 500; line-height: 1.42; color: var(--ink); }
.ink { position: absolute; pointer-events: none; opacity: .82; mix-blend-mode: multiply; }
.pitch .ink-l { left: max(-20px, calc(50% - 720px)); bottom: 0; width: clamp(220px, 22vw, 340px); }
.pitch .ink-r { right: max(-20px, calc(50% - 720px)); bottom: 0; width: clamp(220px, 22vw, 340px); }

/* ---------- four cards, each under its hanging banner ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gutter) 34px; }
.cards { isolation: isolate; }
.card { position: relative; display: flex; flex-direction: column; padding: 118px 24px 24px; text-align: center; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 236, 202, .58), rgba(250, 226, 186, .45));
  border: 3px solid var(--frame);
  box-shadow: inset 0 0 0 1px rgba(95, 58, 14, .45), inset 0 0 28px rgba(150, 88, 30, .3), 0 8px 18px rgba(90, 50, 12, .22); }

.card > * { position: relative; z-index: 2; }
.card > .banner { position: absolute; z-index: 3; left: 50%; top: -16px; width: clamp(92px, 8vw, 118px); transform: translateX(-50%); filter: drop-shadow(0 4px 4px rgba(50, 10, 0, .35)); }
.card h2 { font-size: clamp(32px, 2.95vw, 45px); min-height: 2em; display: flex; align-items: center; justify-content: center; margin: 0 0 12px; }
.card p { font-size: clamp(16px, 1.45vw, 21.5px); font-weight: 500; line-height: 1.32; color: var(--ink); margin: 0 auto 18px; max-width: 17em; text-align: left; }
.card .framed { margin: auto -8px 0; aspect-ratio: 16 / 11; --band: 4px; }

/* ---------- the world ---------- */
.world { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(24px, 3vw, 48px); align-items: center;
  max-width: var(--wrap); margin: 0 auto; padding: 34px var(--gutter) 70px; }
.world-copy { position: relative; z-index: 1; }
.world h2 { font-size: clamp(48px, 4.7vw, 72px); margin-bottom: 18px; max-width: 6.2em; }
.world p { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; line-height: 1.36; max-width: 18em; }
.world .compass { position: absolute; right: -54px; top: -26px; width: clamp(110px, 9vw, 150px); z-index: 0; }
.world .ink-hills { left: max(-20px, calc(50% - 720px)); bottom: 0; width: clamp(420px, 44vw, 700px); z-index: 0; }
/* the towns: one at a time, arrows either side of the counter (owner, 24 November 2026) */
.towns { position: relative; z-index: 1; }
.town-slides { list-style: none; margin: 0; padding: 0; }
.town[hidden] { display: none; }
.town-shot { aspect-ratio: 16 / 9; --band: 5px; }
.town-text { margin: 26px 0 0; font-size: clamp(17px, 1.3vw, 20px) !important; max-width: none !important; min-height: 4.2em; }
.town-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 14px; }
.town-count { margin: 0; min-width: 5.5em; text-align: center; font-size: 18px !important; font-style: italic; color: var(--ink-soft); }
.town-arrow { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--frame); background: var(--crimson) radial-gradient(circle at 50% 35%, #a0281c, var(--crimson-deep));
  box-shadow: 0 2px 6px rgba(60, 20, 5, .35); cursor: pointer; display: grid; place-items: center; transition: filter .2s; }
.town-arrow::before { content: ""; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 13px solid var(--cream); margin-left: 4px; }
.town-arrow.prev::before { border-left: 0; border-right: 13px solid var(--cream); margin: 0 4px 0 0; }
.town-arrow:hover { filter: brightness(1.15); }
.ribbon { --h: 48px; position: absolute; z-index: 3; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 26px; padding: 0 calc(var(--h) * 1.1); cursor: default; }

/* ---------- from the game ---------- */
.shots-strip { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter) 40px; }
.title-orn { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 24px; font-size: clamp(38px, 3.2vw, 52px); }
.title-orn::before, .title-orn::after { content: ""; flex: 0 1 220px; height: 14px;
  background: linear-gradient(var(--gold), var(--gold)) center / 100% 2px no-repeat; mask: linear-gradient(90deg, transparent, #000 30%); }
.title-orn::after { mask: linear-gradient(270deg, transparent, #000 30%); }
.title-orn span { position: relative; padding: 0 52px; }
.title-orn span::before, .title-orn span::after { content: ""; position: absolute; top: 50%; width: 40px; height: 24px; transform: translateY(-50%); background: url(h2/orn-3.webp) center / contain no-repeat; }
.title-orn span::before { left: 0; }
.title-orn span::after { right: 0; }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.shot { display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; background: none; cursor: zoom-in; --band: 3px; }
.shot:hover picture { filter: brightness(1.1); }
.shot picture { transition: filter .2s; }

/* ---------- the closing call ---------- */
.final { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  max-width: var(--wrap); margin: 0 auto; padding: 26px var(--gutter) 86px; }
.final-poster { display: block; width: 100%; aspect-ratio: 16 / 9.4; padding: 0; border: 0; background: none; cursor: pointer; --band: 5px; }
.big-play { position: absolute; z-index: 3; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #c8461a, #7a1610 70%); border: 4px solid var(--gold-light);
  box-shadow: 0 0 0 2px var(--gold-dark), 0 0 22px rgba(255, 150, 60, .55), 0 6px 14px rgba(0, 0, 0, .5); transition: transform .2s; }
.big-play::before { content: ""; position: absolute; left: 36px; top: 26px; border-left: 30px solid var(--gold-light); border-top: 19px solid transparent; border-bottom: 19px solid transparent; }
.final-poster:hover .big-play { transform: translate(-50%, -50%) scale(1.06); }
.final-call { position: relative; text-align: center; padding-right: clamp(0px, 9.5vw, 150px); }
.final h2 { font-size: clamp(48px, 4.7vw, 72px); margin: 0 0 28px; }
.final .soon { color: var(--ink); margin-top: 22px; justify-content: center; }
.final .seal { position: absolute; right: max(0px, calc(50% - 700px)); top: -34px; width: clamp(140px, 12vw, 190px); z-index: 2; filter: drop-shadow(0 8px 10px rgba(60, 10, 0, .35)); }
.final .ink-l { left: max(-30px, calc(50% - 720px)); bottom: 6px; width: clamp(200px, 18vw, 280px); }
.final .ink-r { right: max(-30px, calc(50% - 720px)); bottom: 6px; width: clamp(240px, 26vw, 420px); }

/* ---------- footer ---------- */
.site-footer { margin-top: auto; }
.footer-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 34px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 26px var(--gutter) 24px; }
.footer-logo { width: 112px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.footer-text { padding: 2px 30px; font-size: 17.5px; line-height: 1.45; }
.footer-text:empty { display: none; }
.footer-text p { margin: 0; }
.site-footer a { color: var(--gold-light); }
.site-footer a:hover { color: #fff; }
.footer-copy { font-size: 16.5px; margin: 0; justify-self: end; }
.footer-credits { opacity: .82; font-size: 14.5px; margin-top: 4px !important; }

/* ---------- inner pages ---------- */
.page-head { max-width: 900px; margin: 0 auto; padding: 56px var(--gutter) 10px; text-align: center; }
.page-head h1 { font-size: clamp(52px, 6vw, 84px); }
.page-head p { font-size: 20px; }
.page-head .lede { font-size: 21px; }
.page-head time { display: block; font-style: italic; color: var(--ink-soft); margin-bottom: 6px; }
.center { text-align: center; }
.videos, .gallery, .credits, .news-page-list { max-width: 1240px; margin: 0 auto; padding: 24px var(--gutter) 36px; }
.videos h2, .gallery h2, .credits h2 { font-size: clamp(36px, 3.4vw, 52px); text-align: center; }
.videos .small, .gallery .small { text-align: center; }
.video-card { display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: none; cursor: pointer; --band: 5px; }
.video-card .label { position: absolute; z-index: 3; left: 50%; bottom: 34px; transform: translateX(-50%); --h: 52px; font-size: 20px; }
.shots-all { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shots-all .shot { --band: 4px; }
.strip .shot { --band: 3px; }
.credits { text-align: center; }
.credits ul { list-style: none; padding: 0; }
.news-list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; }
.news-list li { position: relative; padding: 26px 30px 22px; margin-bottom: 22px; background: rgba(255, 240, 214, .45); box-shadow: 0 6px 14px rgba(90, 50, 12, .14); }
.news-list li { border: 3px solid var(--frame); }
.news-list time { font-style: italic; color: var(--ink-soft); }
.news-list h2 { font-size: clamp(32px, 2.8vw, 42px); margin: 4px 0 8px; }
.news-list h2 a { color: var(--crimson); text-decoration: none; }
.news-list h2 a:hover { text-decoration: underline; }
.entry { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 60px; font-size: 20px; }
.entry .page-head { padding-left: 0; padding-right: 0; }
.entry .more { margin-top: 30px; }
.notfound-page main { display: grid; place-items: center; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; background: transparent; color: var(--cream); max-width: none; max-height: none; overflow: visible; }
dialog::backdrop { background: rgba(20, 8, 4, .94); }
.video-dialog[open] { display: grid; place-items: center; width: min(94vw, 1500px); }
.video-dialog video { width: 100%; max-height: 88vh; background: #000; outline: 3px solid var(--gold); outline-offset: 0; }
.dialog-close { position: absolute; z-index: 2; right: 10px; top: 10px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold); background: var(--crimson-deep); color: var(--gold-light); font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox[open] { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 10px; width: min(96vw, 1700px); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; outline: 3px solid var(--gold); }
.lightbox figcaption { color: var(--cream); font-size: 18px; padding-top: 12px; text-align: center; }
.lb-nav { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); background: var(--crimson-deep); color: var(--gold-light); font-size: 30px; cursor: pointer; }
html.dialog-open { overflow: hidden; }

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .world { grid-template-columns: 1fr; }
  .world .compass { right: 0; }
  .final-call { padding-right: 0; }
  .final .seal { display: none; }
  .hero-actions .soon::before { display: none; }
  .hero-media img { object-position: 100% 42%; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-actions .soon { padding-left: 10px; }
}
@media (max-width: 980px) {
  .site-header { justify-content: flex-start; min-height: 60px; }
  .brand, .home .brand { position: static; display: block; transform: none; }
  .brand img { width: 84px; }
  .menu-toggle { display: inline-flex; align-items: center; margin-left: auto; min-height: 42px; padding: 0 18px; background: rgba(40, 8, 4, .5); color: var(--gold-light);
    border: 1px solid var(--gold); font: 500 18px var(--body); cursor: pointer; }
  .site-nav { display: none; position: absolute; z-index: 30; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px 0 14px;
    background: var(--crimson-deep) var(--velvet) center / 1000px auto; border-bottom: 4px solid var(--gold); box-shadow: 0 10px 20px rgba(0, 0, 0, .4); }
  .menu-open .site-nav { display: flex; }
  .site-nav a { padding: 14px var(--gutter); font-size: 21px; }
  .site-nav a + a::before { display: none; }
  .site-nav .lang { position: static; transform: none; padding: 14px var(--gutter); }
  .final { grid-template-columns: 1fr; }
  .final .seal { display: none; }
  .hero-actions .soon::before { display: none; }
  .hero-media img { object-position: 100% 42%; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-actions .soon { padding-left: 10px; }
}

/* ---------- phone ---------- */
@media (max-width: 680px) {
  .hero { height: auto; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero-media { bottom: auto; height: 100vw; }
  .hero-media img { object-position: 50% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
  .hero-shade { background: linear-gradient(180deg, rgba(14, 8, 3, .35), transparent 14%); }
  .hero-edge img { height: 26px; }
  .hero-edge .mid { height: 28px; }
  .hero-copy { position: relative; transform: none; left: auto; top: auto; width: 100%; padding: 90vw 26px 48px; text-align: center; }
  .hero-logo { width: 210px; margin: 0 auto 4px; }
  .tagline { justify-content: center; font-size: 17px; }
  .tagline::before, .tagline::after { display: none; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 56px); white-space: normal; margin-bottom: 20px; }
  .hero-actions { justify-content: center; align-items: center; gap: 14px; }
  .hero-actions .soon { padding-left: 0; }
  .hero-actions .soon::before { display: none; }
  .hero .loop-toggle { right: 22px; bottom: auto; top: 26px; }
  .plate-btn { --h: 54px; font-size: 20px; }
  .pitch { padding-top: 26px; padding-bottom: 110px; }
  .pitch .ink-l, .pitch .ink-r { width: 48%; bottom: 0; }
  .pitch .ink-l { left: -4%; }
  .pitch .ink-r { right: -4%; }
  .cards { grid-template-columns: 1fr; row-gap: 46px; padding-top: 30px; }
  .card { padding-top: 100px; }
  .card h2 { min-height: 0; }
  .world { padding-bottom: 40px; }
  .world h2 { max-width: none; font-size: clamp(36px, 10vw, 44px); padding-right: 64px; }
  .world .compass { width: 84px; top: -10px; right: 0; }
  .world .ink-hills { display: none; }
  .title-orn::before, .title-orn::after { display: none; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final { padding-bottom: 120px; }
  .final .ink-l { width: 44%; }
  .final .ink-r { width: 52%; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 16px; }
  .footer-copy { justify-self: center; }
  .footer-text { border: 0; border-top: 1px solid rgba(242, 207, 122, .5); border-bottom: 1px solid rgba(242, 207, 122, .5); padding: 14px 0; }
  .shots-all { grid-template-columns: 1fr 1fr; gap: 14px; }
  .shots-all .shot, .strip .shot { --band: 3px; }
  .card .framed { --band: 4px; }
  .town-shot { --band: 4px; aspect-ratio: 4 / 3; }
  .town-text { margin-top: 20px; }
  .final-poster { --band: 4px; }
  .video-card { --band: 4px; }
  .video-card .label { bottom: 18px; --h: 46px; font-size: 18px; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; width: 100vw; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-nav { grid-row: 2; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- the world map: the game's own map, a pin on every town (opens the towns dialog) ---------- */
.map { aspect-ratio: 5816 / 3783; --band: 5px; }
.pins { position: absolute; inset: var(--band); z-index: 3; }
.pin { position: absolute; width: 18px; height: 18px; margin: 0; padding: 0; border: 0; background: none; transform: translate(-50%, -50%); cursor: pointer; }
.pin::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  box-shadow: 0 0 0 2px rgba(40, 14, 4, .85), 0 0 10px rgba(255, 200, 100, .55); transition: transform .2s; }
.pin.capital { width: 30px; height: 30px; }
.pin.capital::before { inset: 0; border-radius: 0; background: url(h2/orn-4.webp) center / contain no-repeat; box-shadow: none; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .8)) drop-shadow(0 0 8px rgba(255, 200, 100, .7)); }
.pin span { position: absolute; left: calc(100% + 4px); top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  font: 500 clamp(13px, .95vw, 16px)/1 var(--body); color: var(--cream); text-shadow: 0 0 3px #000, 0 0 6px #000, 0 1px 2px #000; }
.pin:hover::before, .pin:focus-visible::before { transform: scale(1.35); }
.pin.flip span { left: auto; right: calc(100% + 4px); }
.pin:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 50%; }
.map-compass { position: absolute; z-index: 3; right: 3%; bottom: 5%; width: clamp(70px, 8vw, 120px); opacity: .9;
  filter: invert(.92) sepia(.6) saturate(2) hue-rotate(5deg) drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); pointer-events: none; }
.legend { list-style: none; margin: 18px 0 8px; padding: 0; display: flex; gap: 22px; font-size: 18px; color: var(--ink-soft); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend .key { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--gold-light), var(--gold) 55%, var(--gold-dark)); box-shadow: 0 0 0 2px rgba(40, 14, 4, .7); }
.legend .key.capital { width: 20px; height: 20px; border-radius: 0; background: url(h2/orn-4.webp) center / contain no-repeat; box-shadow: none; }
.map-hint { font-style: italic; color: var(--ink-soft); font-size: 17px !important; }

/* ---------- the towns dialog (the carousel) ---------- */
.town-dialog[open] { display: block; width: min(94vw, 1080px); max-height: 94vh; overflow: auto; padding: 26px 26px 18px;
  background: var(--paper) var(--parchment) repeat; background-size: 900px; color: var(--ink); border: 4px solid var(--frame);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.town-dialog .dialog-close { top: 12px; right: 12px; }
.town-dialog .town-text { font-size: 19px !important; min-height: 0; margin-top: 18px; }

/* ---------- a world of things to do ---------- */
.deeds { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter) 40px; text-align: center; }
.deeds-intro { font-size: clamp(18px, 1.4vw, 22px); font-style: italic; color: var(--ink-soft); margin: -8px auto 30px; }
.deeds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); text-align: left; }
.deed .framed { aspect-ratio: 16 / 10; --band: 4px; margin-bottom: 16px; }
.deed h3 { font-size: clamp(28px, 2.3vw, 36px); margin: 0 0 6px; background: linear-gradient(180deg, #a02a1a, #4e0b07); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deed p { font-size: clamp(16px, 1.15vw, 19px); font-weight: 500; line-height: 1.4; margin: 0; }

/* ---------- motion: embers over the hero, a reveal as things come into view, life on hover ---------- */
.embers { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.embers i { position: absolute; bottom: -10px; left: 50%; width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, #ffe3a0, #ff9a3c 45%, rgba(255, 120, 40, 0) 70%); box-shadow: 0 0 6px 2px rgba(255, 150, 60, .55);
  opacity: 0; animation: ember 9s linear infinite; }
@keyframes ember {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: .95; }
  70% { opacity: .7; }
  100% { transform: translate(var(--dx, 30px), -520px) scale(.4); opacity: 0; }
}
.embers i:nth-child(1) { left: 44%; animation-delay: 0s; --dx: 40px; }
.embers i:nth-child(2) { left: 52%; animation-delay: 1.2s; --dx: -30px; width: 3px; height: 3px; }
.embers i:nth-child(3) { left: 58%; animation-delay: 2.1s; --dx: 60px; }
.embers i:nth-child(4) { left: 63%; animation-delay: 3.4s; --dx: 20px; width: 5px; height: 5px; }
.embers i:nth-child(5) { left: 48%; animation-delay: 4.2s; --dx: -50px; }
.embers i:nth-child(6) { left: 70%; animation-delay: 5s; --dx: 35px; width: 3px; height: 3px; }
.embers i:nth-child(7) { left: 55%; animation-delay: 6.3s; --dx: -20px; }
.embers i:nth-child(8) { left: 66%; animation-delay: 7.1s; --dx: 50px; }
.embers i:nth-child(9) { left: 40%; animation-delay: 7.9s; --dx: 25px; width: 3px; height: 3px; }
.embers i:nth-child(10) { left: 75%; animation-delay: .6s; --dx: -40px; }
.embers i:nth-child(11) { left: 60%; animation-delay: 2.7s; --dx: 70px; width: 5px; height: 5px; }
.embers i:nth-child(12) { left: 50%; animation-delay: 3.9s; --dx: 15px; }
.embers i:nth-child(13) { left: 80%; animation-delay: 5.6s; --dx: -25px; width: 3px; height: 3px; }
.embers i:nth-child(14) { left: 46%; animation-delay: 8.4s; --dx: 45px; }
.embers i:nth-child(15) { left: 68%; animation-delay: 1.8s; --dx: -55px; }
.embers i:nth-child(16) { left: 57%; animation-delay: 4.8s; --dx: 10px; width: 3px; height: 3px; }
.embers i:nth-child(17) { left: 73%; animation-delay: 6.8s; --dx: 30px; }
.embers i:nth-child(18) { left: 62%; animation-delay: 8.9s; --dx: -35px; width: 4px; height: 4px; }

.reveal .rise { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.reveal .rise.risen { opacity: 1; transform: none; }
.cards > .rise:nth-child(2), .deeds-grid > .rise:nth-child(3n+2), .strip > .rise:nth-child(2) { --i: 1; }
.cards > .rise:nth-child(3), .deeds-grid > .rise:nth-child(3n), .strip > .rise:nth-child(3) { --i: 2; }
.cards > .rise:nth-child(4), .strip > .rise:nth-child(4) { --i: 3; }
.strip > .rise:nth-child(5) { --i: 4; }
.strip > .rise:nth-child(6) { --i: 5; }
.map.rise { --i: 1; }

.frame-pic > picture img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.frame-pic:hover > picture img, .shot:focus-visible > picture img { transform: scale(1.05); }
.map:hover > picture img { transform: none; }
.card > .banner { transform-origin: 50% 0; }
.card:hover > .banner { animation: sway 1.6s ease-in-out; }
@keyframes sway { 0%, 100% { transform: translateX(-50%) rotate(0); } 25% { transform: translateX(-50%) rotate(3deg); } 60% { transform: translateX(-50%) rotate(-2deg); } }
.rule { position: relative; overflow: hidden; }
.rule::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; left: -80px; background: linear-gradient(90deg, transparent, rgba(255, 245, 210, .85), transparent);
  -webkit-mask: url(h2/orn-1.webp) center / contain no-repeat; animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -80px; } 100% { left: 100%; } }
.plate-btn { transition: filter .2s, transform .2s; }
.plate-btn:hover { transform: translateY(-1px); }

@media (max-width: 1180px) {
  .deeds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .deeds-grid { grid-template-columns: 1fr; }
  .pin span { display: none; }
  .pin { width: 22px; height: 22px; }
  .pin.capital { width: 30px; height: 30px; }
  .legend { font-size: 16px; }
  .town-dialog[open] { padding: 18px 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .embers, .rule::after { display: none; }
  .card:hover > .banner { animation: none; }
  .frame-pic:hover > picture img { transform: none; }
}

/* ---------- creatures of the land: a larger gallery with names ---------- */
.strip.beasts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); }
.strip.beasts .shot { --band: 4px; aspect-ratio: 16 / 10; }
.beast-name { margin: 10px 0 0; text-align: center; font: 700 clamp(22px, 1.8vw, 28px)/1 var(--display) !important; color: var(--crimson); }
.strip.beasts > .rise:nth-child(3n+2) { --i: 1; }
.strip.beasts > .rise:nth-child(3n) { --i: 2; }
@media (max-width: 1180px) { .strip.beasts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .strip.beasts { grid-template-columns: 1fr 1fr; gap: 14px; } .beast-name { font-size: 20px !important; } }

/* ---------- pages (owner, 24 November 2026: a short home and one page per subject) ---------- */
.page-head-h2 { position: relative; max-width: none; padding: 46px var(--gutter) 22px; overflow: hidden; }
.page-head-h2 h1.title-orn { font-size: clamp(44px, 5vw, 72px); margin-bottom: 10px; }
.page-head-h2 p { position: relative; z-index: 1; max-width: 36em; margin: 0 auto; font-size: clamp(18px, 1.5vw, 23px); font-weight: 500; }
.page-head-h2 .ink-l, .page-head-h2 .ink-r { bottom: 0; width: clamp(180px, 20vw, 320px); }
.page-head-h2 .ink-l { left: max(-20px, calc(50% - 720px)); }
.page-head-h2 .ink-r { right: max(-20px, calc(50% - 720px)); }
.card .more { --h: 46px; font-size: 18px; margin: 18px auto 2px; }
.card .more .tri { display: none; }

/* the map on its own page: wide, names only */
.world-map { max-width: 1320px; margin: 0 auto; padding: 10px var(--gutter) 20px; }
.pin { width: auto; height: auto; padding: 2px 4px; white-space: nowrap; font: 600 clamp(12px, 1.05vw, 17px)/1 var(--body); color: var(--cream);
  text-shadow: 0 0 3px #000, 0 0 6px #000, 0 1px 2px #000; letter-spacing: .01em; }
.pin::before, .pin.capital::before { display: none; }
.pin.capital { width: auto; height: auto; font-size: clamp(14px, 1.3vw, 21px); color: var(--gold-light); }
.pin { cursor: default; pointer-events: none; }
.safe { max-width: 760px; margin: 0 auto; padding: 22px var(--gutter) 30px; text-align: center; }
.safe h2 { font-size: clamp(36px, 3.4vw, 52px); }
.safe p { font-size: clamp(18px, 1.4vw, 22px); font-weight: 500; }

/* gather and craft */
.deeds-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.deeds-grid.two .deed .framed { aspect-ratio: 16 / 9; }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gutter) 40px; }
.split-pic { aspect-ratio: 16 / 9; --band: 5px; }
.split-copy h2 { font-size: clamp(40px, 4vw, 64px); }
.split-copy p { font-size: clamp(18px, 1.45vw, 22px); font-weight: 500; }

/* the passive tree */
.tree-shot { max-width: 1320px; margin: 0 auto; padding: 10px var(--gutter) 20px; }
.tree-shot .framed { aspect-ratio: 16 / 9; --band: 6px; }
.paths, .how { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter) 30px; }
.paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); }
.craft-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin: 0 0 clamp(30px, 3vw, 44px); }
.craft-shot { margin: 0; }
.craft-shot .framed { aspect-ratio: 16 / 10; }
.craft-shot figcaption { margin-top: 10px; text-align: center; font: 700 clamp(22px, 1.7vw, 28px)/1 var(--display) !important; color: var(--crimson); }
.trades .path > p { font-style: normal; color: var(--ink); font-size: 17px; line-height: 1.45; }
.path { position: relative; padding: 22px 26px 20px; text-align: center; border: 3px solid var(--frame); background: linear-gradient(rgba(255, 236, 202, .55), rgba(250, 226, 186, .4));
  box-shadow: inset 0 0 22px rgba(150, 88, 30, .25), 0 6px 14px rgba(90, 50, 12, .18); }
.path h3 { font-size: clamp(30px, 2.4vw, 38px); margin: 0 0 4px; color: var(--crimson); }
.path > p { font-style: italic; color: var(--ink-soft); margin: 0; font-size: 18px; }
.path ul { list-style: none; margin: 0; padding: 0; }
.path li { position: relative; padding-left: 26px; margin: 0 0 10px; font-size: 17px; line-height: 1.35; }
.path li .node { position: absolute; left: 0; top: 3px; }
.path li strong { color: var(--crimson); font-weight: 700; margin-right: 4px; }
.node { display: inline-block; border-radius: 50%; flex: none; }
.node.small { width: 9px; height: 9px; background: #46301a; }
.node.attribute { width: 14px; height: 14px; background: #f6e0ba; border: 2px solid #46301a; }
.node.notable { width: 18px; height: 18px; background: #d6aa52; border: 2px solid #5a3812; }
.node.keystone { width: 18px; height: 18px; background: var(--crimson); border: 3px solid var(--gold-light); box-shadow: 0 0 0 1px #5a3812; }
.kinds { list-style: none; margin: 0; padding: 18px 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; border: 3px solid var(--frame);
  background: linear-gradient(rgba(255, 236, 202, .45), rgba(250, 226, 186, .3)); }
.kinds li { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; align-items: start; }
.kinds .node { grid-row: span 2; justify-self: center; margin-top: 4px; }
.kinds strong { font: 700 22px/1.1 var(--display); color: var(--crimson); }
.kinds span:not(.node) { font-size: 16px; color: var(--ink-soft); }
.how-outro { text-align: center; font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; color: var(--crimson); margin: 26px auto 0; max-width: 34em; }

@media (max-width: 1180px) {
  .paths-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .deeds-grid.two, .paths-grid, .kinds { grid-template-columns: 1fr; }
  .pin { font-size: 10px; }
  .pin.capital { font-size: 12px; }
}
