/* Deliverance & Destiny - the realm's landing page. The game's dress: gold on near-black, the double gold frame with brackets
   and diamonds of the in-game pages (gamemodes/souveranforge/ui/common.css), Georgia-like serif (Gelasio) and the Pinyon hand. */
@font-face { font-family: 'Pinyon'; src: url('../fonts/pinyon-script.woff2') format('woff2'); font-display: swap; }

:root {
  --gold: #F6E890;
  --gold-hi: #FFF3B0;
  --gold-dim: #BFAE63;
  --gold-deep: #a8802c;
  --text: #F3EEDF;
  --cream: #E8E4D0;
  --muted: #B3AB94;
  --line: rgba(246, 232, 144, .30);
  --line2: rgba(246, 232, 144, .14);
  --ink: #0b0805;
  --ink2: #120d08;
  --blood: #8e2a22;
  --serif: 'Gelasio', Georgia, 'Times New Roman', serif;
  --hand: 'Pinyon', 'Gelasio', cursive;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0; background: var(--ink); color: var(--text); font: 400 18px/1.65 var(--serif);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
b { color: var(--cream); font-weight: 600; }
::selection { background: rgba(246, 232, 144, .3); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #070503; }
::-webkit-scrollbar-thumb { background: rgba(246, 232, 144, .3); border: 2px solid #070503; border-radius: 6px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }

/* ---------- the opening seal ---------- */
#seal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(ellipse at center, #1d160d, #050302 70%); transition: opacity .9s ease, visibility .9s; }
#seal .seal-in { display: grid; justify-items: center; gap: 18px; }
#seal img { width: 120px; opacity: 0; transform: scale(.9); animation: sealIn 1.1s cubic-bezier(.2, .7, .2, 1) .1s forwards; }
#seal .seal-rule { position: relative; width: 220px; height: 9px; }
#seal .seal-rule::before, #seal .seal-rule::after { content: ""; position: absolute; top: 4px; height: 1px; width: 0; background: linear-gradient(90deg, transparent, var(--gold)); animation: ruleOut .9s ease .5s forwards; }
#seal .seal-rule::before { right: 50%; margin-right: 10px; }
#seal .seal-rule::after { left: 50%; margin-left: 10px; transform: scaleX(-1); }
#seal .seal-rule i { position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin-left: -4.5px; background: var(--gold); transform: rotate(45deg) scale(0); animation: dmIn .5s ease .4s forwards; }
body.opened #seal { opacity: 0; visibility: hidden; }
@keyframes sealIn { to { opacity: 1; transform: none; } }
@keyframes ruleOut { to { width: 100px; } }
@keyframes dmIn { to { transform: rotate(45deg) scale(1); } }

/* ---------- navigation ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter); transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent;
}
#nav.solid { background: rgba(9, 6, 4, .95); padding-top: 9px; padding-bottom: 9px; border-color: var(--line2); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold); font-size: 19px; letter-spacing: .02em; white-space: nowrap; }
.brand img { width: 30px; height: auto; }
.brand em { font-style: normal; color: var(--gold-dim); }
#nav nav { display: flex; gap: 26px; margin-left: auto; }
#nav nav a { position: relative; color: var(--cream); text-decoration: none; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; }
#nav nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--gold); transition: left .3s, right .3s; }
#nav nav a:hover { color: var(--gold); }
#nav nav a:hover::after, #nav nav a.here::after { left: 0; right: 0; }
#nav nav a.nav-dc { display: none; }
.burger { display: none; margin-left: auto; width: 42px; height: 38px; background: transparent; border: 1px solid var(--line); cursor: pointer; padding: 9px 9px; }
.burger i { display: block; height: 1px; background: var(--gold); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 30px;
  font: 500 15px/1 var(--serif); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: 1px solid rgba(246, 232, 144, .7); transition: color .25s, background .25s, border-color .25s, transform .25s; overflow: hidden; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 3px; border: 1px solid currentColor; opacity: .35; pointer-events: none; }
.btn-gold { color: #241a0b; background: linear-gradient(180deg, #f7e7a0, #e2c46f 45%, #b8913f 55%, #e7cd80); border-color: #f1dc8a; }
.btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); z-index: -1; transition: left .7s ease; }
.btn-gold:hover::after { left: 130%; }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { color: var(--gold); background: rgba(8, 6, 4, .5); }
.btn-ghost:hover { background: #F1DC8A; color: #2B2110; transform: translateY(-2px); }
/* the frame's corner brackets close in on a button under the pointer, and a small diamond rides each side of its words */
.btn .bk { position: absolute; width: 10px; height: 10px; border: 0 solid var(--gold); opacity: 0; transition: all .35s cubic-bezier(.2, .7, .2, 1.2); pointer-events: none; z-index: 2; }
.btn .bk.tl { left: -9px; top: -9px; border-top-width: 2px; border-left-width: 2px; }
.btn .bk.tr { right: -9px; top: -9px; border-top-width: 2px; border-right-width: 2px; }
.btn .bk.bl { left: -9px; bottom: -9px; border-bottom-width: 2px; border-left-width: 2px; }
.btn .bk.br { right: -9px; bottom: -9px; border-bottom-width: 2px; border-right-width: 2px; }
.btn:hover .bk, .btn:focus-visible .bk { opacity: 1; }
.btn:hover .bk.tl, .btn:focus-visible .bk.tl { left: 5px; top: 5px; } .btn:hover .bk.tr, .btn:focus-visible .bk.tr { right: 5px; top: 5px; }
.btn:hover .bk.bl, .btn:focus-visible .bk.bl { left: 5px; bottom: 5px; } .btn:hover .bk.br, .btn:focus-visible .bk.br { right: 5px; bottom: 5px; }
.btn-gold .bk { border-color: #3b2a10; }
.btn > span { position: relative; transition: letter-spacing .35s ease; }
.btn > span::before, .btn > span::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -3px; background: currentColor; transform: rotate(45deg) scale(0); transition: transform .3s ease .05s; }
.btn > span::before { left: -16px; } .btn > span::after { right: -16px; }
.btn:hover > span, .btn:focus-visible > span { letter-spacing: .24em; }
.btn:hover > span::before, .btn:hover > span::after, .btn:focus-visible > span::before, .btn:focus-visible > span::after { transform: rotate(45deg) scale(1); }
.btn-sm:hover > span, .btn-sm:focus-visible > span { letter-spacing: .17em; }
.btn-sm > span::before, .btn-sm > span::after { display: none; }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .08s; }
/* the ghost button fills with the game's gold parchment from the left */
.btn-ghost::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #f5e3a0, #e3c877); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.6, 0, .2, 1); z-index: -1; }
.btn-ghost:hover::after, .btn-ghost:focus-visible::after { transform: scaleX(1); }
.btn-ghost:hover .bk, .btn-ghost:focus-visible .bk { border-color: #3b2a10; }
/* a burst of small gold diamonds where a button is pressed */
.spark { position: fixed; z-index: 95; width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); pointer-events: none; transform: rotate(45deg); animation: spark .7s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) rotate(225deg) scale(.2); opacity: 0; } }

/* the hover tips, as the in-game pages draw them (ui/tips.js): a small tablet of the game's gold */
.sftip { position: fixed; z-index: 90; left: 0; top: 0; max-width: 320px; padding: 9px 14px 11px; background: linear-gradient(180deg, rgba(20, 16, 10, .98), rgba(8, 6, 4, .98)); border: 1px solid rgba(246, 232, 144, .7);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .6), inset 0 0 0 3px rgba(8, 6, 4, .9), inset 0 0 0 4px rgba(246, 232, 144, .18); opacity: 0; transform: translateY(-4px); visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; text-align: left; }
.sftip.on { opacity: 1; transform: none; visibility: visible; transition: opacity .16s ease, transform .16s ease; }
.sftip::before { content: ""; position: absolute; left: var(--ax, 50%); top: -6px; width: 9px; height: 9px; margin-left: -5px; background: var(--gold); transform: rotate(45deg); }
.sftip.below::before { top: auto; bottom: -6px; }
.sftip b { display: block; font: 400 18px/1.15 var(--serif); color: var(--gold); letter-spacing: .02em; }
.sftip b:empty { display: none; }
.sftip span { display: block; margin-top: 3px; color: var(--cream); font-size: 14px; line-height: 1.42; }
.sftip b:empty + span { margin-top: 0; }

.btn-sm { padding: 10px 16px; font-size: 12px; letter-spacing: .14em; }
.btn-lg { padding: 20px 44px; font-size: 18px; }
.dc { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-lg .dc { width: 26px; height: 26px; }

/* ---------- shared ornaments (from the in-game pages) ---------- */
.orn { position: relative; border: 1px solid rgba(246, 232, 144, .85); }
.orn::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line); pointer-events: none; z-index: 1; }
.cn { position: absolute; width: 34px; height: 34px; pointer-events: none; border: 0 solid var(--gold); z-index: 3; }
.cn::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.cn.tl { left: -1px; top: -1px; border-top-width: 3px; border-left-width: 3px; }
.cn.tr { right: -1px; top: -1px; border-top-width: 3px; border-right-width: 3px; }
.cn.bl { left: -1px; bottom: -1px; border-bottom-width: 3px; border-left-width: 3px; }
.cn.br { right: -1px; bottom: -1px; border-bottom-width: 3px; border-right-width: 3px; }
.cn.tl::after { left: 18px; top: 18px; } .cn.tr::after { right: 18px; top: 18px; }
.cn.bl::after { left: 18px; bottom: 18px; } .cn.br::after { right: 18px; bottom: 18px; }
.dm { position: absolute; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: var(--gold); transform: rotate(45deg); pointer-events: none; z-index: 3; }
.dm.top { top: -8px; } .dm.bot { bottom: -8px; }
/* a frame drawn in when it is first seen: the corners grow out, the diamonds turn in */
.reveal .cn, .orn.reveal .cn { width: 0; height: 0; transition: width .9s cubic-bezier(.2, .7, .2, 1) .2s, height .9s cubic-bezier(.2, .7, .2, 1) .2s; }
.reveal.seen .cn, .orn.reveal.seen .cn { width: 34px; height: 34px; }
.reveal .dm { transform: rotate(45deg) scale(0); transition: transform .6s ease .7s; }
.reveal.seen .dm { transform: rotate(45deg) scale(1); }

.flourish { position: relative; height: 9px; width: min(320px, 70%); margin: 18px auto; }
.flourish::before, .flourish::after { content: ""; position: absolute; top: 4px; height: 1px; width: calc(50% - 34px); background: linear-gradient(90deg, rgba(246, 232, 144, .9), rgba(246, 232, 144, .25)); transform-origin: right; }
.flourish::before { left: 0; transform: scaleX(-1); transform-origin: center; background: linear-gradient(90deg, rgba(246, 232, 144, .9), rgba(246, 232, 144, .25)); }
.flourish::after { right: 0; }
.flourish i { position: absolute; top: 0; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.flourish i:nth-child(1) { left: calc(50% - 5.5px); width: 11px; height: 11px; top: -1px; }
.flourish i:nth-child(2) { left: calc(50% - 26px); width: 6px; height: 6px; top: 1px; opacity: .8; }
.flourish i:nth-child(3) { left: calc(50% + 20px); width: 6px; height: 6px; top: 1px; opacity: .8; }
.reveal .flourish::before, .reveal .flourish::after, .flourish.reveal::before, .flourish.reveal::after { width: 0; transition: width 1.1s cubic-bezier(.2, .7, .2, 1) .25s; }
.reveal.seen .flourish::before, .reveal.seen .flourish::after, .flourish.reveal.seen::before, .flourish.reveal.seen::after { width: calc(50% - 34px); }

.eyebrow { margin: 0 0 10px; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-dim); }
.h2 { margin: 0; font-weight: 400; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.12; letter-spacing: .01em; color: var(--gold); text-shadow: 0 2px 0 #000; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sub { color: var(--muted); font-size: 19px; margin: 0; }
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.forged { font-family: var(--hand); color: var(--gold); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; margin: 6px 0 0; text-shadow: 0 2px 0 #000; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.seen { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 110px 0 90px; isolation: isolate; }
.hero-bg { position: absolute; inset: -8% 0 -8% 0; z-index: -3; will-change: transform; }
/* the moving picture: calm shots of the official trailers, graded in the file (no filter here: nothing to redraw) */
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; background: #0b0805 url('../video/hero-poster.webp') center/cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse 60% 45% at 50% 55%, rgba(10, 7, 4, .45), rgba(10, 7, 4, .2) 70%, transparent),
  radial-gradient(ellipse 80% 60% at 50% 45%, rgba(10, 7, 4, .1), rgba(10, 7, 4, .75) 75%),
  linear-gradient(180deg, rgba(9, 6, 4, .75) 0%, rgba(9, 6, 4, .1) 28%, rgba(9, 6, 4, .25) 60%, var(--ink) 100%); }
.mist { position: absolute; left: -20%; right: -20%; height: 45%; z-index: -1; pointer-events: none; opacity: .55;
  background: radial-gradient(ellipse 40% 50% at 30% 50%, rgba(220, 210, 180, .16), transparent 70%), radial-gradient(ellipse 35% 45% at 75% 55%, rgba(220, 210, 180, .12), transparent 70%); will-change: transform; }
.mist.m1 { bottom: 4%; animation: drift 46s linear infinite alternate; }
.mist.m2 { bottom: 18%; opacity: .35; animation: drift 64s linear infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.hero-in { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); max-width: 1240px; }
.crest-wrap { width: clamp(130px, 15vw, 190px); margin: 0 auto 14px; position: relative; }
.crest { width: 100%; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .7)); animation: float 7s ease-in-out infinite; will-change: transform; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.kicker { margin: 0 0 6px; font-size: clamp(12px, 1.3vw, 15px); letter-spacing: .42em; text-transform: uppercase; color: var(--cream); text-shadow: 0 2px 0 #000; }
.title { margin: 0; font-weight: 400; font-size: clamp(42px, 7.4vw, 108px); line-height: 1.02; letter-spacing: .01em; }
/* engraved gold, with a slow light passing over it */
.gild { position: relative; display: inline-block; color: transparent; background: linear-gradient(180deg, #fff3b8 0%, #f2d982 38%, #b88f3c 52%, #e8cd7d 64%, #fbe9a6 100%); -webkit-background-clip: text; background-clip: text; }
.gild::before { content: attr(data-text); position: absolute; inset: 0; z-index: -1; color: #0a0603; text-shadow: 0 3px 0 #0a0603, 0 10px 24px rgba(0, 0, 0, .7); }
.gild::after { content: attr(data-text); position: absolute; inset: 0; color: transparent; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 160% 0; -webkit-background-clip: text; background-clip: text; animation: sheen 7s ease-in-out 2.4s infinite; }
@keyframes sheen { 0% { background-position: 160% 0; } 35%, 100% { background-position: -60% 0; } }
.lede { margin: 6px auto 0; max-width: 660px; font-size: clamp(17px, 1.9vw, 22px); color: var(--cream); text-shadow: 0 2px 6px #000; }
.lede b { color: var(--gold); font-weight: 500; }
.hero .forged { margin-top: 12px; }
.cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 30px; }
.beta { margin: 22px 0 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.beta .dot { width: 7px; height: 7px; background: #9FD49A; transform: rotate(45deg); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line); border-radius: 14px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 5px; height: 5px; margin-left: -2.5px; background: var(--gold); transform: rotate(45deg); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; top: 7px; } 30% { opacity: 1; } 100% { opacity: 0; top: 26px; } }
.hero .reveal { transition-duration: 1.4s; }
.hero .reveal:nth-child(2) { transition-delay: .15s; } .hero .reveal:nth-child(3) { transition-delay: .3s; }
.hero .reveal:nth-child(4) { transition-delay: .5s; } .hero .reveal:nth-child(5) { transition-delay: .65s; }
.hero .reveal:nth-child(6) { transition-delay: .8s; } .hero .reveal:nth-child(7) { transition-delay: .95s; } .hero .reveal:nth-child(8) { transition-delay: 1.1s; }

/* the vines: drawn by site.js from the trailer's embroidered pattern */
.vines { position: absolute; top: 0; height: 100%; width: 190px; z-index: 1; pointer-events: none; opacity: .75; }
.vines-l { left: 0; } .vines-r { right: 0; transform: scaleX(-1); }
.vines path.grow { transition: stroke-dashoffset 3.2s cubic-bezier(.3, .6, .2, 1); }
/* a leaf or rose opens from its stem (its own origin is where it meets the stem) */
.vines g.bloom { opacity: 0; transform-box: view-box; transform-origin: 0 0; transform: scale(.2); transition: opacity 1s ease, transform 1.3s cubic-bezier(.2, .8, .2, 1.25); }
.vines.grown path.grow { stroke-dashoffset: 0 !important; }
.vines.grown g.bloom { opacity: 1; transform: none; }
/* then they live in the air: the stems sway, the leaves flutter on their stalks, the roses turn slowly */


.vines g.turn { transform-box: view-box; transform-origin: 0 0; animation: turn 40s linear infinite; }
@keyframes vineSway { from { transform: rotate(-.9deg) skewX(-.6deg); } to { transform: rotate(.9deg) skewX(.6deg); } }
@keyframes flutter { 0% { transform: rotate(-9deg) scale(1); } 60% { transform: rotate(5deg) scale(1.04, .94); } 100% { transform: rotate(10deg) scale(.98); } }
@keyframes turn { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.07); } 100% { transform: rotate(360deg) scale(1); } }
.vines-soft { opacity: .42; }


/* the lighter dress (site.js: no graphics card, or a slow start): the vines and the crest stand still */
html.lite .vines, html.lite .vines *, html.lite .crest, html.lite .mist, html.lite .rm-svc i::after { animation: none !important; }
html.lite .vines path.grow { transition: none; }

/* anything in a part of the page out of sight stands still (site.js marks it) */
.off *, .off *::before, .off *::after { animation-play-state: paused !important; }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 3; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #17110a, #0d0906); padding: 15px 0; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, #0d0906, transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, #0d0906, transparent); }
.ticker-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: tick 70s linear infinite; white-space: nowrap; }
.ticker-track span { font-size: 14px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream); }
.ticker-track b { color: var(--gold); font-size: 10px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- the realm ---------- */
.realm { background: radial-gradient(ellipse 70% 60% at 30% 40%, #22190e, var(--ink) 70%); }
.parch { position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .75 0 0 0 0 .66 0 0 0 0 .4 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
.two { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.lore p { color: var(--cream); margin: 0 0 18px; }
.lore em { color: var(--gold); }
.rule-l { position: relative; height: 9px; width: 220px; margin: 22px 0 26px; }
.rule-l::before { content: ""; position: absolute; left: 18px; top: 4px; height: 1px; width: 0; background: linear-gradient(90deg, var(--gold), transparent); transition: width 1.2s ease .3s; }
.lore.seen .rule-l::before { width: 200px; }
.rule-l i { position: absolute; left: 0; top: 0; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.drop { font-size: 20px; }
.initial { float: left; width: 1.95em; height: 1.95em; margin: 4px 14px 0 0; display: grid; place-items: center; font-size: 46px; line-height: 1; color: var(--gold); border: 1px solid var(--gold);
  background: radial-gradient(circle at 30% 30%, rgba(142, 42, 34, .55), rgba(60, 16, 12, .85)); box-shadow: inset 0 0 0 4px #1a0f08, inset 0 0 0 5px rgba(246, 232, 144, .4); text-shadow: 0 2px 0 #000; }
.sig { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dim) !important; margin-top: 26px !important; }
.castle-card .frame { background: linear-gradient(180deg, rgba(36, 27, 15, .9), rgba(10, 7, 4, .95)); padding: 40px 34px 34px; }
.castle { width: min(230px, 70%); margin: 0 auto 26px; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .6)); }
.stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line2); }
.stats div { padding: 18px 10px 4px; text-align: center; border-bottom: 1px solid var(--line2); }
.stats div:nth-child(odd) { border-right: 1px solid var(--line2); }
.stats div:nth-last-child(-n+2) { border-bottom: 0; }
.stats dt { font-size: 40px; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.stats dd { margin: 6px 0 12px; font-size: 13px; letter-spacing: .08em; color: var(--muted); line-height: 1.4; }

/* ---------- trailers ---------- */
.trailers { background: var(--ink); }
.bg-still { position: absolute; inset: -10% 0; z-index: 0; background: var(--img) center/cover no-repeat; opacity: .22; filter: saturate(.6) sepia(.25); will-change: transform; }
.bg-still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), rgba(11, 8, 5, .4) 30%, rgba(11, 8, 5, .4) 70%, var(--ink)); }
.feature { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.player { aspect-ratio: 16 / 9; background: #000; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.player .yt, .player iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; z-index: 2; }
.yt img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: brightness(.8) sepia(.15); }
.yt:hover img { transform: scale(1.4); filter: brightness(.95); }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play svg { width: clamp(64px, 9vw, 96px); transition: transform .4s cubic-bezier(.2, .7, .2, 1.3); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .7)); }
.play circle { fill: rgba(10, 7, 4, .7); stroke: var(--gold); stroke-width: 1.5; }
.play circle.in { fill: none; stroke-opacity: .45; stroke-width: 1; }
.play path { fill: var(--gold); }
.yt:hover .play svg { transform: scale(1.1); }
.now h3 { margin: 0 0 12px; font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; color: var(--gold); }
.now p { color: var(--cream); margin: 0 0 14px; }
.now .len { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dim); }
.now.swap { animation: swapIn .7s ease; }
@keyframes swapIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.reel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card-t { display: grid; gap: 4px; width: 100%; text-align: left; background: rgba(13, 9, 6, .8); border: 1px solid var(--line2); padding: 8px 8px 14px; cursor: pointer; color: inherit; font-family: inherit; transition: border-color .3s, transform .35s cubic-bezier(.2, .7, .2, 1), background .3s; }
.card-t:hover { border-color: var(--line); transform: translateY(-4px); background: rgba(30, 22, 12, .85); }
.card-t.on { border-color: var(--gold); background: rgba(40, 30, 15, .9); }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 8px; background: #000; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); filter: brightness(.7) sepia(.2); transition: filter .4s, transform .8s; }
.card-t:hover .thumb img, .card-t.on .thumb img { filter: brightness(.95); transform: scale(1.42); }
.rn { position: absolute; left: 8px; bottom: 6px; font-size: 22px; color: var(--gold); text-shadow: 0 2px 4px #000; }
.card-t .t { font-size: 16px; color: var(--gold); line-height: 1.25; padding: 0 4px; }
.card-t .s { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 0 4px; }
.reel li:nth-child(2) { transition-delay: .08s; } .reel li:nth-child(3) { transition-delay: .16s; } .reel li:nth-child(4) { transition-delay: .24s; } .reel li:nth-child(5) { transition-delay: .32s; } .reel li:nth-child(6) { transition-delay: .4s; }
.more { text-align: center; margin: 34px 0 0; }
.more a { letter-spacing: .16em; text-transform: uppercase; font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.more a:hover { border-color: var(--gold); }

/* ---------- chapters ---------- */
.chapters { padding-bottom: 60px; background: linear-gradient(180deg, var(--ink), #100b07 50%, var(--ink)); }
.chapter { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; max-width: 1400px; margin: 0 auto 110px; padding: 0 var(--gutter); gap: 0; }
.chapter[data-side="r"] { grid-template-columns: 1fr 1.1fr; }
.chapter[data-side="r"] .ch-img { order: 2; }
.ch-img { position: relative; height: clamp(320px, 42vw, 560px); overflow: hidden; border: 1px solid var(--line); }
.ch-img::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); z-index: 2; pointer-events: none; }
.ch-img img { width: 100%; height: 118%; object-fit: cover; filter: saturate(.8) sepia(.18) brightness(.82); will-change: transform; }

.ch-img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, transparent 55%, rgba(11, 8, 5, .9)); }
.chapter[data-side="r"] .ch-img::after { background: linear-gradient(-90deg, transparent 55%, rgba(11, 8, 5, .9)); }
.ch-text { position: relative; z-index: 3; margin-left: -80px; padding: 44px 46px 38px; background: linear-gradient(180deg, rgba(30, 22, 12, .96), rgba(12, 8, 5, .97)); border: 1px solid rgba(246, 232, 144, .6); box-shadow: 0 30px 60px rgba(0, 0, 0, .55); }
.ch-text::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line2); pointer-events: none; }
.chapter[data-side="r"] .ch-text { margin-left: 0; margin-right: -80px; }
.numeral { position: absolute; top: -34px; left: 40px; min-width: 64px; height: 64px; padding: 0 10px; display: grid; place-items: center; font-size: 30px; color: #241a0b; background: linear-gradient(180deg, #f7e7a0, #d9b862 50%, #b8913f 52%, #e7cd80); border: 1px solid #6a4f12; box-shadow: 0 6px 14px rgba(0, 0, 0, .6), inset 0 0 0 3px rgba(255, 255, 255, .18); }
.ch-text h3 { margin: 6px 0 14px; font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); color: var(--gold); line-height: 1.15; }
.ch-text p { color: var(--cream); margin: 0 0 18px; }
.marks { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line2); display: grid; gap: 8px; }
.marks li { position: relative; padding-left: 22px; font-size: 15px; color: var(--muted); letter-spacing: .02em; }
.marks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--gold-dim); transform: rotate(45deg); }
.causes { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; }
.shield { width: 54px; height: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); transform-origin: 50% 0; animation: sway 5s ease-in-out infinite; }
.s-wen { animation-delay: -2.5s; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.vs { font-family: var(--hand); font-size: 30px; color: var(--gold-dim); }

/* ---------- screens ---------- */
.screens { background: radial-gradient(ellipse 60% 50% at 50% 30%, #1d150c, var(--ink) 70%); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; perspective: 1400px; }
.shot { margin: 0; }
.shot.tall { grid-row: span 3; }
.tilt { border: 1px solid var(--line); padding: 8px; background: #0a0705; box-shadow: 0 24px 50px rgba(0, 0, 0, .6); transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .4s; transform-style: preserve-3d; }
.tilt img { width: 100%; }
.shot:hover .tilt { border-color: var(--gold-dim); }
.shot figcaption { margin-top: 12px; text-align: center; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dim); }

/* ---------- map: the realm screen's picture, its real places, and the pieces abroad ---------- */
.map { background: linear-gradient(180deg, var(--ink), #0f0b06); }
.map .wrap { max-width: 1360px; }
.map-frame { padding: 12px; background: #0a0705; box-shadow: 0 40px 80px rgba(0, 0, 0, .7); margin: 0 auto; }
.rmap { position: relative; overflow: hidden; height: min(78vh, 760px); min-height: 420px; z-index: 2; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: #1d2414; }
.rmap.grabbing { cursor: grabbing; }
.rm-world { position: absolute; left: 0; top: 0; width: 3000px; height: 3000px; transform-origin: 0 0; will-change: transform; --inv: 1; --grow: 1; }
.rm-world.glide { transition: transform .8s cubic-bezier(.25, .7, .2, 1); }
.rm-base { position: absolute; inset: 0; width: 3000px; height: 3000px; max-width: none; pointer-events: none; }
.rm-hd img { position: absolute; width: 500px; height: 500px; max-width: none; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.rm-hd img.in { opacity: 1; }
.rmap[data-z="0"] .rm-hd img { opacity: 0; }
.rm-pins, .rm-pawns { position: absolute; inset: 0; }
/* every mark stands at its point and keeps its size on the screen however near the map is (--inv = 1 / the map's scale) */
.rm-pin, .rm-piece { position: absolute; width: 0; height: 0; }
.rm-pin .rm-in { position: absolute; left: 0; top: 0; transform: scale(var(--inv)); transform-origin: 0 0; }
.rm-piece .rm-in { position: absolute; left: 0; top: 0; transform: scale(var(--grow)); transform-origin: 0 0; }
.rm-pin { z-index: 2; } .rm-site { z-index: 6; } .rm-svc { z-index: 5; } .rm-camp { z-index: 4; }
/* castles and towns: a ribbon with the crest of its lords */
.rm-site .rib { position: absolute; left: 0; top: 0; width: max-content; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; padding: 4px 14px 5px 8px; white-space: nowrap; cursor: pointer;
  background: linear-gradient(180deg, #f1e3b8, #d8c48c); color: #2b1d0a; font: 600 15px/1 var(--serif); letter-spacing: .03em; border: 1px solid #6a4f12;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%, 8px 50%); box-shadow: 0 3px 8px rgba(0, 0, 0, .5); transition: transform .25s cubic-bezier(.2, .7, .2, 1.3); }
.rm-site .rib span { flex: none; }
.rm-site .rib img { flex: none; width: 18px; height: auto; margin: -6px 0 -6px 4px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
.rm-site.k-castle .rib, .rm-site.k-manor .rib { font-size: 17px; background: linear-gradient(180deg, #a83a2c, #7a1e18); color: #fbeec5; border-color: #3a0c08; }
.rm-site.k-ruins .rib, .rm-site.k-camp .rib { background: linear-gradient(180deg, #4a4032, #2c251c); color: #e8dcc0; font-size: 13px; font-style: italic; font-weight: 400; }
.rm-site:hover .rib { transform: translate(-50%, -50%) scale(1.08); }
/* the realm's people: gold medallions */
.rm-svc i, .rm-camp i, .rm-place i { position: absolute; left: 0; top: 0; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; cursor: pointer; transition: transform .2s cubic-bezier(.2, .7, .2, 1.4); }
.rm-svc i { width: 30px; height: 30px; background: radial-gradient(circle at 35% 30%, #fff0a8, #d6a032 55%, #7a4c0e); border: 1px solid #3a2606; color: #2b1d0a; box-shadow: 0 3px 8px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 255, 255, .25); }
.rm-svc .ico { width: 18px; height: 18px; }
.rm-svc i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(246, 232, 144, .7); animation: ring 2.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
/* the outlaws' camps: dark red tokens */
.rm-camp i { width: 22px; height: 22px; background: radial-gradient(circle at 35% 30%, #a2392c, #5a1510 70%); border: 1px solid #e8c27a; color: #f8e6c0; box-shadow: 0 2px 5px rgba(0, 0, 0, .55); }
.rm-camp.k-wayside i, .rm-camp.k-camp i { background: radial-gradient(circle at 35% 30%, #6a5a3a, #3a2e1c 70%); }
.rm-camp.k-ruin i { background: radial-gradient(circle at 35% 30%, #4a4440, #1e1a18 70%); border-color: #9a8f7c; }
.rm-camp .ico { width: 13px; height: 13px; }
.rmap[data-z="0"] .rm-camp.k-wayside { display: none; }
/* the names of the land: inked lettering, more of it the nearer one looks */
.rm-area span { position: absolute; left: 0; top: 0; width: max-content; transform: translate(-50%, -50%); white-space: nowrap; font: italic 400 17px/1 var(--serif); letter-spacing: .14em; color: #2a2210; text-shadow: 0 0 3px rgba(240, 225, 170, .8), 0 0 8px rgba(240, 225, 170, .5); pointer-events: auto; cursor: default; }
.rm-place i { width: 20px; height: 20px; background: rgba(20, 15, 8, .78); border: 1px solid rgba(246, 232, 144, .7); color: #f3e3b0; }
.rm-place .ico { width: 12px; height: 12px; }
.rm-place span { position: absolute; left: 14px; top: 0; width: max-content; transform: translateY(-50%); white-space: nowrap; font: 13px/1 var(--serif); color: #f6ecc8; text-shadow: 0 1px 2px #000, 0 0 6px rgba(0, 0, 0, .8); pointer-events: none; }
.rm-place.lv1, .rm-place.lv2 { display: none; }
.rmap[data-z="1"] .rm-place.lv1, .rmap[data-z="2"] .rm-place.lv1, .rmap[data-z="3"] .rm-place.lv1, .rmap[data-z="2"] .rm-place.lv2, .rmap[data-z="3"] .rm-place.lv2 { display: block; }
.rmap[data-z="0"] .rm-place span, .rmap[data-z="1"] .rm-place.lv2 span { display: none; }
.rm-svc i:hover, .rm-camp i:hover, .rm-place i:hover { transform: translate(-50%, -50%) scale(1.25); }
/* the pieces abroad: the game's own chess pieces, wobbling as they walk, the knight leaping its L */
.rm-piece { z-index: 3; left: 0; top: 0; transition-property: transform; transition-timing-function: cubic-bezier(.45, .05, .4, 1); will-change: transform; }
.rm-piece .bob { position: absolute; left: 0; top: 0; width: 34px; transform: translate(-50%, -92%); transform-origin: 50% 92%; cursor: pointer; }
.rm-piece.small .bob { width: 22px; }
.rm-piece .bob svg { display: block; width: 100%; height: auto; transform-origin: 50% 90%; }
.rm-piece.face-l .bob svg { transform: scaleX(-1); }
.rm-piece .bob { animation: idle 3.6s ease-in-out infinite; }
.rm-piece.walk .bob { animation: wobble .42s ease-in-out infinite alternate; }
.rm-piece.leap .bob { animation: leap .9s cubic-bezier(.3, .6, .3, 1); }
@keyframes idle { 0%, 100% { transform: translate(-50%, -92%) rotate(0); } 50% { transform: translate(-50%, -92%) rotate(1.5deg); } }
@keyframes wobble { 0% { transform: translate(-50%, -92%) rotate(-9deg); } 50% { transform: translate(-50%, -104%) rotate(0); } 100% { transform: translate(-50%, -92%) rotate(9deg); } }
@keyframes leap { 0% { transform: translate(-50%, -92%) scale(1); } 40% { transform: translate(-50%, -150%) scale(1.12) rotate(-8deg); } 80% { transform: translate(-50%, -92%) scale(1, .9); } 100% { transform: translate(-50%, -92%); } }
/* a duel as chessmen fight: a hop in, a knock, and now and then a piece taken (toppled), then set up again */
.rm-piece.duelist .bob { animation: none; transition: transform .25s ease; }
.rm-piece.strike .bob { animation: strike .6s cubic-bezier(.3, .7, .3, 1); }
.rm-piece.face-l.strike .bob { animation-name: strikeL; }
.rm-piece.hit .bob { animation: hit .5s ease-out; }
.rm-piece.face-l.hit .bob { animation-name: hitL; }
.rm-piece.taken .bob { animation: none; transform: translate(-50%, -92%) rotate(82deg) translateY(4px); transition: transform .5s cubic-bezier(.5, 0, .7, 1.4); opacity: .85; }
.rm-piece.face-l.taken .bob { transform: translate(-50%, -92%) rotate(-82deg) translateY(4px); }
@keyframes strike { 0% { transform: translate(-50%, -92%); } 35% { transform: translate(-50%, -125%) translateX(5px) rotate(6deg); } 55% { transform: translate(-50%, -92%) translateX(12px) rotate(14deg); } 100% { transform: translate(-50%, -92%); } }
@keyframes strikeL { 0% { transform: translate(-50%, -92%); } 35% { transform: translate(-50%, -125%) translateX(-5px) rotate(-6deg); } 55% { transform: translate(-50%, -92%) translateX(-12px) rotate(-14deg); } 100% { transform: translate(-50%, -92%); } }
@keyframes hit { 0% { transform: translate(-50%, -92%); } 30% { transform: translate(-50%, -92%) translateX(-6px) rotate(-16deg); } 60% { transform: translate(-50%, -92%) rotate(7deg); } 100% { transform: translate(-50%, -92%); } }
@keyframes hitL { 0% { transform: translate(-50%, -92%); } 30% { transform: translate(-50%, -92%) translateX(6px) rotate(16deg); } 60% { transform: translate(-50%, -92%) rotate(-7deg); } 100% { transform: translate(-50%, -92%); } }
.rm-clash { position: absolute; width: 0; height: 0; z-index: 4; pointer-events: none; }
.rm-clash::before, .rm-clash::after { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg) scale(0); opacity: 0; }
.rm-clash.go::before { animation: clash .5s ease-out; } .rm-clash.go::after { animation: clash2 .5s ease-out; }
@keyframes clash { 0% { transform: rotate(45deg) scale(.3); opacity: 1; } 100% { transform: translate(-10px, -12px) rotate(45deg) scale(1.2); opacity: 0; } }
@keyframes clash2 { 0% { transform: rotate(45deg) scale(.3); opacity: 1; } 100% { transform: translate(10px, -10px) rotate(45deg) scale(.9); opacity: 0; } }
/* layers switched off */
.rmap.no-sites .rm-site, .rmap.no-svc .rm-svc, .rmap.no-camps .rm-camp, .rmap.no-names .rm-area, .rmap.no-names .rm-place, .rmap.no-pieces .rm-pawns { display: none !important; }
/* the legend, the zoom and the hint, in the realm's tablets */
.rm-ui { position: absolute; z-index: 10; }
.rm-legend { left: 14px; top: 14px; width: 214px; padding: 12px 12px 10px; background: linear-gradient(180deg, rgba(20, 16, 10, .94), rgba(8, 6, 4, .94)); border: 1px solid rgba(246, 232, 144, .6); box-shadow: 0 10px 24px rgba(0, 0, 0, .55), inset 0 0 0 3px rgba(8, 6, 4, .9), inset 0 0 0 4px rgba(246, 232, 144, .15); cursor: default; }
.rm-h { margin: 0 0 7px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dim); }
.rm-h + .rm-layers { margin-bottom: 12px; }
.rm-layers, .rm-fly { display: grid; gap: 3px; }
.rm-layers button, .rm-fly button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 5px 7px; background: transparent; border: 1px solid transparent; color: var(--muted); font: 14px/1.2 var(--serif); text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.rm-layers button.on { color: var(--cream); }
.rm-layers button:hover, .rm-fly button:hover { background: rgba(246, 232, 144, .08); border-color: var(--line2); color: var(--gold); }
.sw { flex: none; width: 13px; height: 13px; border: 1px solid var(--gold-dim); transform: rotate(45deg); transition: background .2s; }
.rm-layers button.on .sw-site { background: #c9573f; } .rm-layers button.on .sw-svc { background: #e2b23c; } .rm-layers button.on .sw-camp { background: #7a1e18; }
.rm-layers button.on .sw-name { background: #e8dcc0; } .rm-layers button.on .sw-piece { background: #4f6b3a; }
.rm-fly { grid-template-columns: 1fr 1fr; }
.rm-fly button { font-size: 13px; padding: 4px 6px; }
.rm-zoom { right: 14px; top: 14px; display: grid; gap: 6px; justify-items: center; padding: 8px; background: rgba(10, 7, 4, .9); border: 1px solid rgba(246, 232, 144, .55); }
.rm-zoom button { width: 34px; height: 34px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); color: var(--gold); font: 22px/1 var(--serif); cursor: pointer; transition: background .2s, color .2s; }
.rm-zoom button:hover { background: #F1DC8A; color: #2B2110; }
.rm-zoom svg { width: 16px; height: 16px; fill: currentColor; }
.rm-zbar { width: 4px; height: 60px; background: rgba(246, 232, 144, .15); position: relative; transform: rotate(180deg); }
.rm-zbar i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--gold); }
.rm-zbar .rm-zoomlvl { width: 100% !important; height: var(--h, 0); }
.rm-hint { left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 7px 16px; background: rgba(10, 7, 4, .85); border: 1px solid var(--line); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); white-space: nowrap; pointer-events: none; }
.rm-hint .b { display: none; color: var(--gold); }
.rmap.nudge .rm-hint .a { display: none; } .rmap.nudge .rm-hint .b { display: inline; }
.rmap.engaged .rm-hint { opacity: .4; }
.rm-hint .t { display: none; }
@media (hover: none) { .rm-hint .a, .rm-hint .b { display: none !important; } .rm-hint .t { display: inline; } }
/* the card of a place or a piece */
.rm-card { position: absolute; z-index: 12; left: 0; top: 0; display: flex; gap: 10px; align-items: flex-start; max-width: 300px; padding: 10px 14px 12px; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .16s, transform .16s;
  background: linear-gradient(180deg, rgba(20, 16, 10, .98), rgba(8, 6, 4, .98)); border: 1px solid rgba(246, 232, 144, .7); box-shadow: 0 8px 22px rgba(0, 0, 0, .6), inset 0 0 0 3px rgba(8, 6, 4, .9), inset 0 0 0 4px rgba(246, 232, 144, .18); }
.rm-card.on { opacity: 1; transform: none; }
.rm-card::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -6px; width: 9px; height: 9px; margin-left: -5px; background: var(--gold); transform: rotate(45deg); }
.rm-card.below::after { bottom: auto; top: -6px; }
.rm-card .cr { width: 34px; flex: none; margin-top: 2px; }
.rm-card .tg { margin: 0 0 3px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dim); }
.rm-card b { display: block; font: 400 18px/1.15 var(--serif); color: var(--gold); }
.rm-card span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--cream); }
.rm-card span.s { color: var(--muted); font-style: italic; }
.rm-card em { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dim); font-style: normal; }
@media (max-width: 760px) {
  .rmap { height: 72vh; min-height: 380px; }
  .rm-legend { left: 8px; top: 8px; width: auto; max-width: 62%; padding: 8px; }
  .rm-legend .rm-h:nth-of-type(2), .rm-fly { display: none; }
  .rm-legend .rm-h:first-child { margin: 0; cursor: pointer; } .rm-legend .rm-h:first-child::after { content: ' \25BE'; }
  .rm-legend:not(.open) .rm-layers { display: none; } .rm-legend.open .rm-h:first-child { margin-bottom: 7px; }
  .rm-layers button { font-size: 12px; padding: 3px 4px; gap: 6px; }
  .rm-zoom { right: 8px; top: 8px; padding: 5px; } .rm-zoom button { width: 30px; height: 30px; }
  .rm-hint { font-size: 10px; letter-spacing: .1em; bottom: 8px; }
}

/* ---------- seek ---------- */
.seek { background: var(--ink); }
.seals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.seal-card { position: relative; text-align: center; padding: 64px 24px 30px; margin-top: 40px; border: 1px solid var(--line); background: linear-gradient(180deg, #e9dfc2, #d6c79e); color: #2b2110; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.seal-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(90, 70, 30, .35); pointer-events: none; }
.seal-card h3 { margin: 0 0 8px; font-weight: 500; font-size: 22px; color: #3b2a10; }
.seal-card p { margin: 0; font-size: 16px; color: #4a3b22; line-height: 1.5; }
.wax { position: absolute; top: -40px; left: 50%; width: 80px; height: 80px; margin-left: -40px; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #c0463a, #8e2a22 45%, #5a1510 100%); box-shadow: 0 6px 12px rgba(0, 0, 0, .5), inset 0 -4px 8px rgba(0, 0, 0, .35), inset 0 3px 6px rgba(255, 255, 255, .18); }
.wax::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2px solid rgba(40, 8, 6, .45); box-shadow: 0 1px 0 rgba(255, 255, 255, .15); }
.wax span { font-size: 32px; color: #f2c9a8; text-shadow: 0 -1px 0 rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .2); }
.seal-card.seen .wax { animation: stamp .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.seal-card:nth-child(2).seen .wax { animation-delay: .12s; } .seal-card:nth-child(3).seen .wax { animation-delay: .24s; } .seal-card:nth-child(4).seen .wax { animation-delay: .36s; }
@keyframes stamp { 0% { transform: scale(2.2) rotate(-20deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }

/* ---------- join ---------- */
.join { background: var(--ink); }
.join .bg-still { opacity: .32; filter: saturate(.7) sepia(.15); }
.decree { max-width: 940px; margin: 0 auto; padding: clamp(40px, 6vw, 70px) clamp(22px, 5vw, 64px); text-align: center; background: linear-gradient(180deg, rgba(28, 21, 12, .95), rgba(9, 6, 4, .97)); box-shadow: 0 40px 80px rgba(0, 0, 0, .7); }
.steps { list-style: none; margin: 30px 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; text-align: left; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps .n { position: relative; flex: none; width: 56px; height: 56px; display: grid; place-items: center; color: var(--gold); font-size: 19px; line-height: 1; margin-top: 2px; }
.steps .n::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--gold); transform: rotate(45deg); background: rgba(246, 232, 144, .06); }
.steps .n::after { content: ""; position: absolute; inset: 13px; border: 1px solid var(--line); transform: rotate(45deg); }
.steps h3 { margin: 0 0 4px; font-weight: 400; font-size: 22px; color: var(--gold); }
.steps p { margin: 0; color: var(--cream); font-size: 16px; line-height: 1.55; }
.discord-big { display: grid; justify-items: center; gap: 14px; }
.counts { margin: 4px 0 0; display: flex; gap: 14px; align-items: center; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.counts b { color: var(--gold); font-weight: 500; font-size: 18px; letter-spacing: 0; }
.counts i { color: var(--gold); font-size: 9px; font-style: normal; }
.counts span:last-child b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: #9FD49A; border-radius: 50%; vertical-align: 2px; }
.invite { margin: 0; font-size: 14px; letter-spacing: .18em; color: var(--gold-dim); }

/* ---------- footer ---------- */
.foot { position: relative; padding: 80px 0 50px; text-align: center; border-top: 1px solid var(--line2); background: #070503; overflow: hidden; }
.vines-foot { left: 0; width: 100%; height: 120px; top: 0; opacity: .5; }
.foot-crest { width: 76px; margin: 0 auto 10px; opacity: .9; }
.foot-name { margin: 0; font-size: 26px; color: var(--gold); }
.foot .forged { font-size: 30px; }
.foot-links { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 26px 0 30px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); }
.foot-links a:hover { color: var(--gold); }
.foot-links i { font-style: normal; color: var(--gold-dim); font-size: 8px; }
.fine { max-width: 720px; margin: 0 auto; font-size: 13px; line-height: 1.6; color: #7d7562; }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .reel { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .seals { grid-template-columns: 1fr 1fr; gap: 50px 22px; }
  #nav nav { gap: 18px; }
}
@media (max-width: 1100px) {
  #nav nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 30px; background: rgba(7, 5, 3, .97); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  #nav nav a { font-size: 18px; }
  #nav nav a::after { display: none; }
  #nav nav a.nav-dc { display: block; margin-top: 10px; padding: 12px 26px; border: 1px solid var(--gold); color: var(--gold); }
  #nav.open nav { opacity: 1; visibility: visible; }
  #nav.solid { background: rgba(9, 6, 4, .96); }
  #nav > .btn { margin-left: auto; }
  .burger { display: block; margin-left: 0; }
  #nav.open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  #nav.open .burger i:nth-child(2) { opacity: 0; }
  #nav.open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 900px) {
  .two { grid-template-columns: 1fr; }
  .chapter, .chapter[data-side="r"] { grid-template-columns: 1fr; margin-bottom: 80px; }
  .chapter[data-side="r"] .ch-img { order: 0; }
  .ch-img { height: 300px; }
  .ch-img::after, .chapter[data-side="r"] .ch-img::after { background: linear-gradient(180deg, transparent 50%, rgba(11, 8, 5, .9)); }
  .ch-text, .chapter[data-side="r"] .ch-text { margin: -60px 14px 0; padding: 46px 24px 28px; }
  .numeral { left: 24px; }
  .shots { grid-template-columns: 1fr; }
  .shot.tall { grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .vines { width: 110px; opacity: .45; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .reel { grid-template-columns: 1fr 1fr; gap: 12px; }
  .seals { grid-template-columns: 1fr; }
  .stats dt { font-size: 32px; }
  .brand span { font-size: 16px; }
  #nav > .btn { display: none; }
  .burger { margin-left: auto; }
  .vines { width: 70px; opacity: .35; }
  .cta .btn { width: 100%; }
  .counts { flex-direction: column; gap: 4px; }
  .counts i { display: none; }
  .loupe { width: 160px; height: 160px; margin: -80px 0 0 -80px; }
}

/* "reduce motion" quiets only the large movements (the slow zooms and the drifting map); the page's gentle dress stays */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mist { animation: none; }
}