@font-face { font-family: Cinzel; src: url(/fonts/cinzel.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: Philosopher; src: url(/fonts/philosopher-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Philosopher; src: url(/fonts/philosopher-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --cream: #f0edd1;
  --text: #cfccb6;
  --muted: #9b9a8c;
  --gold: #e3c378;
  --blue: #7fa1cc;
  --sky: #7dc2f6;
  --brown: #472e24;
  --brown-faded: #836b63;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #000; color: var(--text); font: 400 20px/1.6 Philosopher, Georgia, serif; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h6 { margin: 0; font-family: Cinzel, Georgia, serif; font-weight: 700; color: var(--cream); line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -9999px; z-index: 100; background: #000; padding: 8px 16px; color: var(--cream); }
.skip:focus { left: 8px; top: 8px; }
.lazy-bg:not(.in) { background-image: none !important; }

/* Things drift up into place the first time they scroll into view. site.js adds .reveal, so no script means no hiding. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.shown { opacity: 1; transform: none; }

/* Header */
.site-header { position: relative; z-index: 20; display: flex; align-items: center; height: 88px; padding: 0 28px 0 33px; background: #000; }
.has-hero .site-header { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(rgba(0,0,0,.75), transparent); }
.site-logo { margin-right: auto; transition: filter .25s; }
.site-logo:hover { filter: brightness(1.2); }
.site-logo img { width: 147px; height: 48px; object-fit: contain; }
.site-nav { display: flex; gap: 44px; margin-right: 48px; font: 700 16px/20px Cinzel, serif; letter-spacing: .06em; color: rgba(240,237,209,.72); }
.site-nav a { position: relative; padding: 6px 0; text-decoration: none; transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.site-nav a:hover, .site-nav a.current { color: var(--cream); }
.site-nav a:hover::after, .site-nav a.current::after { transform: scaleX(1); }
.site-social { display: flex; gap: 18px; }
.site-social a, .footer-social a, .hero-social a { display: block; transition: transform .25s var(--ease), filter .25s; }
.site-social a:hover, .footer-social a:hover, .hero-social a:hover { transform: translateY(-3px); filter: brightness(1.3); }
.site-social img { width: 28px; height: 28px; }
.menu-toggle { display: none; width: 45px; height: 45px; padding: 10px 8px; background: rgba(0, 0, 0, .05); border: 0; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 3px; background: #fff; }

/* Hero: the faces stay clear, the logo and button sit on the darkened lower third like a film poster */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 100vh; min-height: max(100vh, 700px); padding: 0 20px 7vh; background: #000; }
.hero::before { content: ""; position: absolute; inset: 0; background: url(/img/hero-key-art.webp) 50% 22% / cover no-repeat; animation: hero-drift 28s ease-in-out infinite alternate; transform-origin: 50% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #000 3%, rgba(0,0,0,.86) 24%, rgba(0,0,0,.2) 52%, transparent 66%), radial-gradient(90% 90% at 50% 40%, transparent 55%, rgba(0,0,0,.65)); }
@keyframes hero-drift { to { transform: scale(1.06); } }
.hero-logo { position: relative; z-index: 1; width: min(560px, 60vw); }
.hero-cta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 280px; height: 67px; margin-top: 22px; background: rgba(0, 0, 0, .45); border: 2px solid var(--cream); border-radius: 16px; color: var(--cream); font: 700 24px Cinzel, serif; letter-spacing: .5px; text-decoration: none; transition: box-shadow .2s; }
.hero-cta:hover { box-shadow: 0 9px 10px 0 var(--cream); }
.hero-social { display: none; }

/* Stars background */
.stars { background: linear-gradient(#000, transparent 12%, transparent 70%, #000), #000 url(/img/bg-stars.webp) 50% 0 / 100% auto repeat-y; }

/* Intro: full-bleed scene dissolving into the page */
.intro { position: relative; padding: 36px 0 0; }
.intro h2 { position: relative; z-index: 1; max-width: 1020px; margin: 0 auto; padding: 0 24px; font-size: clamp(27px, 3.6vw, 52px); line-height: 1.12; text-align: center; text-wrap: balance; }
.intro .framed { width: 100%; height: clamp(300px, 46vw, 680px); margin-top: 36px; object-fit: cover; object-position: 50% 42%; -webkit-mask: linear-gradient(transparent, rgba(0,0,0,.35) 14%, #000 34%, #000 66%, transparent); mask: linear-gradient(transparent, rgba(0,0,0,.35) 14%, #000 34%, #000 66%, transparent); }
.intro p { position: relative; z-index: 1; max-width: 860px; margin: -70px auto 0; padding: 0 24px; font-size: 23px; line-height: 1.6; text-align: center; color: var(--cream); }

/* Features: wide scenes running off one screen edge, the words on the other side */
.features { display: flex; flex-direction: column; gap: 70px; padding: 130px 0 120px; }
.feature { display: grid; grid-template-columns: minmax(0, 64fr) minmax(0, 36fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 0; }
.feature .carousel { grid-column: 1; grid-row: 1 / -1; }
.feature h2 { grid-column: 2; grid-row: 2; position: relative; z-index: 1; margin-left: -3vw; padding-right: 7vw; font-size: clamp(28px, 3vw, 44px); }
.feature p { grid-column: 2; grid-row: 3; position: relative; z-index: 1; margin: 20px 0 0 -3vw; padding-right: 7vw; font-size: 20px; line-height: 1.65; }
.feature:nth-child(even) { grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); }
.feature:nth-child(even) .carousel { grid-column: 2; }
.feature:nth-child(even) h2, .feature:nth-child(even) p { grid-column: 1; margin-left: 0; margin-right: -3vw; padding-left: 7vw; padding-right: 0; }

.carousel { position: relative; }
.carousel-view { overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 9%, #000 91%, transparent), linear-gradient(to left, transparent, #000 20%); -webkit-mask-composite: source-in; mask: linear-gradient(transparent, #000 9%, #000 91%, transparent), linear-gradient(to left, transparent, #000 20%); mask-composite: intersect; }
.feature:nth-child(even) .carousel-view { -webkit-mask: linear-gradient(transparent, #000 9%, #000 91%, transparent), linear-gradient(to right, transparent, #000 20%); -webkit-mask-composite: source-in; mask: linear-gradient(transparent, #000 9%, #000 91%, transparent), linear-gradient(to right, transparent, #000 20%); mask-composite: intersect; }
.carousel-track { display: flex; transition: transform .7s var(--ease); }
.carousel-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 650 / 367; height: auto; object-fit: cover; }
.carousel-prev, .carousel-next { position: absolute; bottom: 9%; width: 44px; height: 44px; padding: 0; background: rgba(0,0,0,.55); border: 0; transition: background .2s; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.carousel-prev:hover, .carousel-next:hover { background: rgba(227,195,120,.9); }
.carousel-prev:focus-visible, .carousel-next:focus-visible { clip-path: none; }
.carousel-prev { left: 28px; }
.carousel-next { left: 64px; }
.carousel-prev::before, .carousel-next::before { content: ""; display: block; width: 9px; height: 9px; margin: auto; border: solid var(--cream); border-width: 2px 0 0 2px; transform: translateX(2px) rotate(-45deg); }
.carousel-next::before { transform: translateX(-2px) rotate(135deg); }
.carousel-dots { position: absolute; left: 122px; bottom: 9%; height: 44px; display: flex; align-items: center; gap: 4px; }
.carousel-dots button { position: relative; width: 22px; height: 22px; padding: 0; background: none; border: 0; }
.carousel-dots button::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 8px; background: var(--cream); opacity: .4; transform: rotate(45deg); transition: opacity .2s, background .2s; }
.carousel-dots button:hover::after { opacity: .8; }
.carousel-dots button[aria-current="true"]::after { opacity: 1; background: var(--gold); }
.feature:nth-child(even) .carousel-prev { left: auto; right: 64px; }
.feature:nth-child(even) .carousel-next { left: auto; right: 28px; }
.feature:nth-child(even) .carousel-dots { left: auto; right: 122px; }

.alaric-phone { display: none; }

/* Races and classes: a full-width dark stage. Each panel carries its own scene, pinned to the whole section. */
.races { position: relative; z-index: 3; overflow-x: clip; background: linear-gradient(#000, #06070c 18%, #06070c 78%, #000); }
#race-minotaur, .tile-minotaur { --accent: #e2422c; }
#race-human, .tile-human { --accent: #40c48a; }
#race-elf, .tile-elf { --accent: #54c8e2; }
#class-magician, .tile-magician { --accent: #5680ff; }
#class-brawler, .tile-brawler { --accent: #e87830; }
#class-shadow, .tile-shadow { --accent: #965cff; }
.races-board { display: flex; flex-direction: column; justify-content: center; max-width: 1320px; min-height: 900px; margin: 0 auto; padding: 90px 60px; }
.races-switch, .stage-text, .tiles { position: relative; z-index: 2; }
.races-switch { display: flex; gap: 34px; margin-bottom: 34px; }
.races-switch button { position: relative; padding: 6px 0 10px; background: none; border: 0; font: 700 22px/1.2 Cinzel, serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.races-switch button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.races-switch button:hover, .races-switch button[aria-selected="true"] { color: var(--cream); }
.races-switch button[aria-selected="true"]::after { transform: scaleX(1); }
.stage-text { width: 550px; min-height: 280px; animation: stage-text-in .6s var(--ease); }
.stage-text h2 { font-size: 84px; line-height: 1; text-shadow: 0 0 60px var(--accent); }
.stage-text p { margin-top: 22px; font-size: 21px; line-height: 1.6; color: var(--cream); text-shadow: 0 1px 12px #000; }

.stage-scene { --x: 76%; --floor: 790px; position: absolute; inset: 0; pointer-events: none; }
.stage-back { position: absolute; inset: 0; overflow: hidden; animation: stage-light-up 1s ease-out; -webkit-mask: linear-gradient(transparent, #000 12%, #000 86%, transparent); mask: linear-gradient(transparent, #000 12%, #000 86%, transparent); }
.stage-back::before { content: ""; position: absolute; inset: 0; background: radial-gradient(46% 62% at var(--x) 46%, var(--accent), transparent 72%); opacity: .34; animation: stage-breathe 7s ease-in-out infinite alternate; }
.stage-back::after { content: ""; position: absolute; left: var(--x); top: var(--floor); width: 900px; height: 170px; margin: -85px 0 0 -450px; background: radial-gradient(closest-side, var(--accent), transparent); opacity: .4; }
.stage-rays { position: absolute; left: var(--x); top: -120px; width: 1500px; height: 1300px; margin-left: -750px; background: repeating-conic-gradient(from 150deg at 50% 0, var(--accent) 0 4deg, transparent 4deg 13deg); opacity: .2; -webkit-mask: radial-gradient(closest-side at 50% 0, #000, transparent); mask: radial-gradient(closest-side at 50% 0, #000, transparent); }
.stage-paint { position: absolute; left: var(--x); top: 40px; width: auto; height: 860px; max-width: none; transform: translateX(-50%); mix-blend-mode: screen; opacity: .62; -webkit-mask: radial-gradient(closest-side, #000 62%, transparent); mask: radial-gradient(closest-side, #000 62%, transparent); }
.stage-emblem { position: absolute; left: var(--x); top: 44%; width: 1428px; height: 1428px; max-width: none; margin: -714px 0 0 -714px; opacity: .26; image-rendering: pixelated; }
.emblem-glow { opacity: .8; filter: blur(34px); image-rendering: auto; }
.stage-subject { position: absolute; left: var(--x); top: var(--floor); width: 0; height: 0; animation: stage-subject-in .7s var(--ease); }
.stage-subject img { position: absolute; max-width: none; image-rendering: pixelated; }
.subject-minotaur { --w: 366; --h: 447; --cx: 150; --feet: 300; --k: 3; }
.subject-human { --w: 219; --h: 180; --cx: 100; --feet: 132; --k: 3; }
.subject-elf { --w: 210; --h: 210; --cx: 95; --feet: 168; --k: 3; }
.race-art, .stage-mirror { left: calc(var(--cx) * var(--k) * -1px); top: calc(var(--feet) * var(--k) * -1px); width: calc(var(--w) * var(--k) * 1px); height: calc(var(--h) * var(--k) * 1px); }
/* The owner's mirrored idea, as a polished floor: the same sprite flipped about its feet and fading away */
.stage-mirror { --line: calc(var(--feet) * var(--k) * 1px); transform: scaleY(-1); transform-origin: 50% var(--line); opacity: .28; -webkit-mask: linear-gradient(transparent calc(var(--line) - 150px), #000 var(--line), transparent var(--line)); mask: linear-gradient(transparent calc(var(--line) - 150px), #000 var(--line), transparent var(--line)); }
/* A banner hangs from above the stage, over the section's top edge */
.subject-banner { top: -128px; }
.class-art { left: -182px; top: 0; width: 364px; height: 888px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
@keyframes stage-light-up { from { opacity: 0; } }
@keyframes stage-breathe { to { opacity: .46; } }
@keyframes stage-subject-in { from { opacity: 0; transform: translateY(20px); } }
@keyframes stage-text-in { from { opacity: 0; transform: translateY(10px); } }

/* Selector rail: the game's own diamond slots at whole pixels, interlocked */
.tiles { display: flex; flex-wrap: wrap; margin: 26px 0 0 -8px; }
.tile { position: relative; flex: 0 0 88px; width: 88px; height: 102px; padding: 0; border: 0; background: 50% 50% / 102px 102px no-repeat; image-rendering: pixelated; }
button.tile { filter: brightness(.82) saturate(.85); transition: filter .25s, transform .25s var(--ease); }
button.tile:hover { filter: none; transform: translateY(-4px); }
button.tile[aria-selected="true"] { filter: drop-shadow(0 0 14px var(--accent)) drop-shadow(0 0 2px var(--cream)); transform: translateY(-6px); }
.tile-minotaur { background-image: url(/img/tile-minotaur.webp); }
.tile-human { background-image: url(/img/tile-human.webp); }
.tile-elf { background-image: url(/img/tile-elf.webp); }
.tile-magician { background-image: url(/img/tile-magician.webp); }
.tile-brawler { background-image: url(/img/tile-brawler.webp); }
.tile-shadow { background-image: url(/img/tile-shadow.webp); }
.tile-empty { background-image: url(/img/tile-empty.webp); opacity: .7; }

/* Characters */
.characters { position: relative; overflow: hidden; padding: 110px 20px 170px; background: radial-gradient(50% 45% at 50% 52%, rgba(170,120,70,.2), transparent), linear-gradient(rgba(0,0,0,.95), transparent 30%), linear-gradient(to top, rgba(0,0,0,.95), transparent 50%), #000 url(/img/bg-characters.webp) 50% 50% / cover no-repeat; }
.characters-inner { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; }
.characters-head { position: relative; z-index: 0; display: flex; align-items: flex-start; justify-content: space-between; }
.characters-head h1 { margin-top: 18px; font-size: 55px; }
.character-tiles { display: flex; }
.character-tile { --tile: 117px; position: relative; flex: 0 0 var(--tile); width: var(--tile); height: var(--tile); padding: 0; border: 0; background: url(/img/tile-character.svg) 0 0 / contain no-repeat; transition: transform .25s var(--ease), filter .25s; filter: brightness(.82); }
.character-tile:hover, .character-tile[aria-selected="true"] { filter: none; transform: translateY(-6px); }
.character-tile::after { content: ""; position: absolute; inset: 0; background-repeat: no-repeat; transform-origin: 50% 80%; transition: transform .2s; pointer-events: none; }
/* sprite sizes */
.sprite-1::after { background-image: url(/img/sprite-1.gif); background-size: calc(var(--tile) * 1.3067) auto; background-position: calc(var(--tile) * -0.1289) calc(var(--tile) * 0.0108); }
.sprite-2::after { background-image: url(/img/sprite-2.gif); background-size: calc(var(--tile) * 1.2062) auto; background-position: calc(var(--tile) * -0.0843) calc(var(--tile) * -0.0909); }
.sprite-3::after { background-image: url(/img/sprite-3.gif); background-size: calc(var(--tile) * 1.1271) auto; background-position: calc(var(--tile) * -0.0758) calc(var(--tile) * -0.0872); }
.sprite-4::after { background-image: url(/img/sprite-4.gif); background-size: calc(var(--tile) * 1.2380) auto; background-position: calc(var(--tile) * -0.1383) calc(var(--tile) * -0.2690); }
.sprite-5::after { background-image: url(/img/sprite-5.gif); background-size: calc(var(--tile) * 1.3836) auto; background-position: calc(var(--tile) * -0.2783) calc(var(--tile) * -0.2861); }
.sprite-6::after { background-image: url(/img/sprite-6.gif); background-size: calc(var(--tile) * 1.2062) auto; background-position: calc(var(--tile) * -0.0654) calc(var(--tile) * -0.1852); }
/* end sprite sizes */
.character-board { position: relative; z-index: 1; min-height: 558px; margin-top: -30px; background: url(/img/parchment.webp) 0 0 / 100% 100% no-repeat; filter: drop-shadow(0 30px 50px rgba(0,0,0,.75)); }
.character-panel { padding: 68px 42px 40px 62px; color: var(--brown); }
.character-text { position: relative; z-index: 1; width: 470px; max-width: 48%; }
.character-text h2 { padding-left: 20px; font-size: 60px; color: var(--brown); line-height: .82; }
.character-text .line { width: 368px; height: 14px; margin: 23px 0 20px 7px; }
.character-text p { margin-bottom: 11px; font-size: 16px; line-height: 24px; color: var(--brown); }
/* The art sits in the bottom right corner; the torn edge of the parchment cuts off whatever hangs over */
.character-stage { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(/img/parchment-mask.webp) 0 0 / 100% 100% no-repeat; mask: url(/img/parchment-mask.webp) 0 0 / 100% 100% no-repeat; }
.character-art { position: absolute; right: 0; bottom: 0; width: var(--art-width); max-width: none; height: auto; transform: translate(var(--art-x, 0), var(--art-y, 0)); }
.art-alaric { --art-width: 49%; --art-x: 3%; --art-y: 7%; }
.art-befr { --art-width: 44%; --art-x: 2%; --art-y: 2%; }
.art-manga { --art-width: 68%; --art-x: 21%; --art-y: 3%; }
.art-eldorian { --art-width: 40%; --art-x: 2%; --art-y: 6%; }
.art-tamsin { --art-width: 36%; --art-x: 2%; --art-y: 6%; }
.art-myrll { --art-width: 62%; --art-x: 8%; --art-y: 7%; }
.trees { position: absolute; bottom: 0; z-index: 1; width: 480px; pointer-events: none; -webkit-mask: linear-gradient(to top, transparent, #000 30%); mask: linear-gradient(to top, transparent, #000 30%); }
.trees-left { left: 0; }
.trees-right { right: 0; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: #000 url(/img/footer-poster.jpg) 50% 50% / cover; }
.site-footer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#000, rgba(0,0,0,.55) 30%, rgba(0,0,0,.55) 65%, #000); pointer-events: none; }
.footer-video { position: absolute; left: 50%; top: 50%; width: 100%; min-width: 948px; max-width: none; transform: translate(-50%, -50%); }
.footer-inner { position: relative; z-index: 1; display: flex; gap: 90px; max-width: 1320px; margin: 0 auto; padding: 130px 60px 110px; }
.footer-community { flex: 0 0 440px; min-width: 0; font-size: 20px; color: var(--cream); }
.footer-newsletter { flex: 1 1 auto; min-width: 0; }
.eyebrow { font: 700 17px/1.2 Cinzel, serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.site-footer h2 { margin: 14px 0 22px; font-size: 54px; }
.footer-social { display: flex; gap: 20px; margin-top: 30px; }
.footer-social img { width: 30px; height: 30px; }
.newsletter { position: relative; display: flex; align-items: center; gap: 0; height: 66px; margin-top: 96px; padding: 0 0 0 112px; background: rgba(0,0,0,.72); }
.newsletter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); }
.guard { position: absolute; left: 4px; bottom: 2px; width: 100px; height: 145px; }
.newsletter input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 15px; background: transparent; border: 0; color: #fff; font: 400 19px Philosopher, serif; }
.newsletter input::placeholder { color: var(--text); opacity: .85; }
.newsletter input:focus-visible { outline-offset: -3px; }
.newsletter button { flex: 0 0 170px; height: 100%; background: linear-gradient(#f5e6b3, #d9b566); border: 0; color: #1d130c; font: 800 15px Cinzel, serif; letter-spacing: .12em; transition: filter .2s; }
.newsletter button:hover { filter: brightness(1.12); }
.newsletter button:disabled { filter: grayscale(.6); }
.newsletter-status { margin-top: 14px; color: var(--cream); font-size: 18px; }
.copyright { padding: 20px; background: #000; text-align: center; }
.copyright h6 { font-size: 13px; font-weight: 400; letter-spacing: .08em; color: var(--muted); }

/* FAQ: a clean column of rules, no boxes */
.faq { padding: 150px 24px 170px; }
.faq > h2 { font-size: 76px; text-align: center; }
.faq-lead { max-width: 700px; margin: 24px auto 0; text-align: center; color: var(--cream); }
.faq-lead a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(227,195,120,.4); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.faq-lead a:hover { text-decoration-color: var(--gold); }
.faq-list { max-width: 900px; margin: 70px auto 0; border-top: 1px solid rgba(240,237,209,.16); }
details { border-bottom: 1px solid rgba(240,237,209,.16); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 4px; font: 700 23px/1.3 Cinzel, serif; color: var(--cream); cursor: pointer; list-style: none; transition: color .2s; }
summary:hover { color: var(--gold); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: 0 0 14px; height: 14px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.answer { padding: 0 54px 14px 4px; font-size: 19px; animation: stage-text-in .4s var(--ease); }
.answer p, .answer ul { margin: 0 0 18px; }
.answer ul { padding-left: 22px; }
.nowrap { white-space: nowrap; }

/* Meet the team */
.who { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; max-width: 1420px; min-height: 713px; margin: 40px auto 10px; padding: 120px 256px 0 130px; background: url(/img/who-parchment.webp) 50% 50% / contain no-repeat; color: var(--brown); }
.who-text { flex: 0 1 609px; }
.who-text h2 { font-size: 50px; color: var(--brown); }
.who-text p { margin-top: 15px; color: var(--brown); line-height: 1.5; }
.who-text h2 + p { margin-top: 20px; }
.who-logo { flex: 0 0 240px; margin-top: 72px; }
.who-logo img:first-child { margin-bottom: 20px; }
.team-body { position: relative; padding-bottom: 80px; background: linear-gradient(rgba(0,0,0,.95), transparent 186px), linear-gradient(to top, rgba(0,0,0,.95), transparent 326px), #000 url(/img/bg-stars.webp) 0 0 repeat; }
.leadership { max-width: 1240px; margin: 0 auto; padding-top: 77px; }
.leadership > h2 { font-size: 50px; text-align: center; }
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1176px; margin: 65px auto 0; }
.leader { text-align: center; }
.leader img { width: 220px; height: 220px; margin: 0 auto; border-radius: 50%; object-fit: cover; transition: transform .35s var(--ease); }
.leader:hover img { transform: translateY(-6px); }
.leader h2 { margin-top: 26px; font-size: 40px; line-height: 48px; }
.leader p { margin-top: 15px; font: 700 22px/30px Cinzel, serif; color: var(--blue); }
.values { max-width: 1200px; margin: 0 auto; padding-top: 80px; }
.value-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 60px; }
.value-row > img { width: 100%; height: 100%; object-fit: cover; }
/* The art is cut off at these edges, so it fades into the page instead of ending in a straight line */
.fade-right { object-position: 100% 100%; -webkit-mask: linear-gradient(to bottom, #000 80%, transparent), linear-gradient(to left, transparent, #000 16%); -webkit-mask-composite: source-in; mask: linear-gradient(to bottom, #000 80%, transparent), linear-gradient(to left, transparent, #000 16%); mask-composite: intersect; }
.fade-left { object-position: 0 100%; -webkit-mask: linear-gradient(to bottom, #000 80%, transparent), linear-gradient(to right, transparent, #000 12%); -webkit-mask-composite: source-in; mask: linear-gradient(to bottom, #000 80%, transparent), linear-gradient(to right, transparent, #000 12%); mask-composite: intersect; }
.value-text { display: flex; flex-direction: column; justify-content: center; gap: 64px; }
.value-text h2 { font-size: 33px; }
.value-text p { margin-top: 16px; color: var(--text); }
.timeline { position: relative; z-index: 1; width: 1146px; margin: 126px auto 0; }
.timeline img { display: block; width: 100%; height: auto; }
.timeline-top { position: relative; z-index: 1; margin-bottom: -24px; -webkit-mask: linear-gradient(#000 calc(100% - 24px), transparent); mask: linear-gradient(#000 calc(100% - 24px), transparent); }
.timeline-road { position: relative; padding: 34px 12.4% 1px 8.64%; background: url(/img/timeline-mid.webp) 0 0 / 100% auto repeat-y; }
.timeline-road::before { content: ""; position: absolute; left: 5.1%; top: 58px; bottom: 150px; width: 2px; background: rgba(71, 46, 36, .55); }
.timeline-bottom { position: relative; margin-top: -20px; -webkit-mask: linear-gradient(transparent, #000 20px); mask: linear-gradient(transparent, #000 20px); }
.road-card { position: relative; display: grid; grid-template-columns: 200px 1fr; align-items: center; min-height: 235px; margin-bottom: 25px; padding: 24px 42px 24px 0; border-radius: 28px; background: #0b1420 50% 50% / cover no-repeat; color: #f6efdc; isolation: isolate; }
.road-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(to right, rgba(5, 9, 16, .78), rgba(5, 9, 16, .62) 60%, rgba(5, 9, 16, .34)); }
.road-card h2 { font: 700 33px/1.2 Philosopher, serif; color: #f6efdc; }
.road-card small { margin-left: 6px; font-size: 20px; white-space: nowrap; }
.road-card p { margin-top: 16px; font-size: 20px; line-height: 30px; color: #f6efdc; }
.road-art { justify-self: center; width: auto !important; max-width: 164px; max-height: 164px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 0 7px rgba(240, 237, 209, .4)); }
.road-art[src*="tl-minotaur"], .road-art[src*="tl-sign"], .road-art[src*="tl-team"] { filter: brightness(1.75) saturate(1.1) drop-shadow(0 0 9px rgba(240, 237, 209, .6)); }
.road-node { position: absolute; left: -4.47%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; transform: rotate(45deg); background: #6d4a38; border: 2px solid #f0edd1; }
.road-now { box-shadow: 0 0 22px 4px rgba(240, 237, 209, .85); margin: 12px 0 34px; }
.road-winter { background-image: url(/img/road-winter.webp); }
.road-spring { background-image: url(/img/road-spring.webp); }
.road-act2 { background-image: url(/img/road-act2.webp); box-shadow: 0 0 22px 4px rgba(240, 237, 209, .85); margin: 12px 0 34px; }
.road-token { justify-self: center; display: flex; align-items: center; justify-content: center; width: 74px; height: 74px; transform: rotate(45deg); background: rgba(5, 9, 16, .72); border: 2px solid rgba(240, 237, 209, .85); box-shadow: 0 0 18px rgba(125, 194, 246, .5); font: 700 34px/1 Cinzel, serif; color: #f6efdc; }
.road-token span { display: block; transform: rotate(-45deg); }
.road-act2 .road-token { box-shadow: 0 0 22px rgba(240, 237, 209, .75); }

.team-trees { position: absolute; z-index: 2; left: 0; bottom: 0; width: 100%; pointer-events: none; }

/* Wishlist */
.wishlist { display: flex; flex-direction: column; align-items: center; gap: 28px; min-height: 1440px; padding-top: 523px; background: #000 url(/img/wishlist-art.webp) 50% 50% / cover no-repeat; }
.open-btn { display: block; border: 2px solid rgba(212, 185, 60, .7); border-radius: 10px; overflow: hidden; background: rgba(0, 0, 0, .8); transition: filter .2s, transform .25s var(--ease); }
.open-btn:hover { filter: brightness(1.25); transform: translateY(-3px); }
.open-btn img { width: 250px; height: 60px; }

.not-found { min-height: 60vh; padding: 160px 20px; text-align: center; }
.not-found h2 { font-size: 50px; margin-bottom: 24px; }

/* Between phone and full desktop */
@media (max-width: 1240px) {
  .site-nav { gap: 30px; margin-right: 30px; }
  .feature p, .intro p { font-size: 19px; }
  .feature h2, .feature p, .feature:nth-child(even) h2, .feature:nth-child(even) p { padding-left: 4vw; padding-right: 4vw; }
  .feature h2, .feature p { margin-left: 0; }
  .feature:nth-child(even) h2, .feature:nth-child(even) p { margin-right: 0; }
  .carousel-view { -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent), linear-gradient(to left, transparent, #000 10%); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent), linear-gradient(to left, transparent, #000 10%); }

  .races-board { min-height: 820px; padding: 80px 40px; }
  .stage-scene { --x: 76%; --floor: 720px; }
  .stage-text { width: 46%; min-height: 330px; }
  .stage-text h2 { font-size: 60px; }
  .stage-text p { font-size: 18px; }
  .tiles { max-width: 46%; }
  .subject-minotaur, .subject-human, .subject-elf { --k: 2; }
  .class-art { left: -136.5px; width: 273px; height: 666px; }
  .stage-emblem { width: 1020px; height: 1020px; margin: -510px 0 0 -510px; }

  .character-tile { --tile: 90px; }
  .characters-head h1 { font-size: 40px; }
  .footer-inner { gap: 50px; padding: 100px 40px 90px; }
  .footer-community { flex-basis: 36%; }
  .site-footer h2 { font-size: 40px; }
  .who { padding: 0 110px 0 90px; }
  .who-text p { font-size: 17px; }
  .who-logo { flex-basis: 180px; }
  .leader img { width: 180px; height: 180px; }
  .values { margin: 0 40px; }
  .value-text { gap: 40px; }
  .value-text h2 { font-size: 28px; }
  .timeline { width: calc(100% - 80px); }
}

/* Phone */
@media (max-width: 767px) {
  body { font-size: 17px; }
  .site-header { height: 72px; padding: 0 12px 0 14px; }
  .site-logo { display: none; }
  .site-social { order: -1; gap: 12px; margin-right: auto; }
  .menu-toggle { display: flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 10px 0; gap: 0; flex-direction: column; background: #000; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 20px; }
  .site-nav a::after { display: none; }

  .hero { min-height: 100vh; min-height: max(100svh, 640px); padding-bottom: 8vh; }
  .hero::before { background-position: 50% 0; background-size: auto 78%; }
  .hero-logo { width: 280px; }
  .hero-cta { width: 234px; height: 56px; font-size: 20px; margin-top: 16px; border-radius: 14px; }
  .hero-social { display: flex; justify-content: center; gap: 16px; padding: 24px 0 0; background: #000; }
  .hero-social img { width: 30px; height: 30px; }

  .intro { padding-top: 34px; }
  .intro .framed { height: 300px; margin-top: 4px; }
  .intro p { margin-top: -30px; font-size: 18px; }
  .features { gap: 54px; padding: 70px 0 120px; }
  .feature, .feature:nth-child(even) { display: block; }
  .carousel-view, .feature:nth-child(even) .carousel-view { -webkit-mask: linear-gradient(#000 88%, transparent); mask: linear-gradient(#000 88%, transparent); }
  .carousel-prev, .carousel-next, .carousel-dots, .feature:nth-child(even) .carousel-dots { bottom: 2%; }
  .carousel-prev, .feature:nth-child(even) .carousel-prev { left: 12px; right: auto; }
  .carousel-next, .feature:nth-child(even) .carousel-next { left: 48px; right: auto; }
  .carousel-dots, .feature:nth-child(even) .carousel-dots { left: 102px; right: auto; }
  .feature h2, .feature p, .feature:nth-child(even) h2, .feature:nth-child(even) p { margin: 0; padding: 0 20px; }
  .feature h2, .feature:nth-child(even) h2 { margin-top: 16px; font-size: 26px; }
  .feature p, .feature:nth-child(even) p { margin-top: 12px; font-size: 17px; }

  .races-board { display: block; min-height: 0; padding: 40px 20px 70px; }
  .races-switch { position: relative; justify-content: center; margin: 0; }
  .races-switch button { font-size: 18px; }
  #races-all, #classes-all { display: flex; flex-direction: column; padding-top: 372px; }
  #races-all[hidden], #classes-all[hidden] { display: none !important; }
  .tiles { order: -1; justify-content: center; max-width: 288px; margin: 0 auto 22px; }
  .tile { flex: 0 0 68px; width: 68px; height: 68px; background-size: 68px 68px; margin: 0 2px 4px; }
  .race-panel { display: block; }
  .stage-text { width: auto; min-height: 0; text-align: center; }
  .stage-text h2 { font-size: 44px; }
  .stage-text p { margin-top: 14px; font-size: 17px; }
  .stage-scene { --x: 50%; --floor: 440px; }
  .stage-back { bottom: auto; height: 620px; }
  .stage-back::before { background: radial-gradient(70% 45% at 50% 44%, var(--accent), transparent 72%); }
  .stage-back::after { width: 420px; height: 90px; margin: -45px 0 0 -210px; }
  .stage-paint { top: 60px; height: 520px; }
  .stage-rays { width: 800px; height: 800px; margin-left: -400px; top: -40px; }
  .stage-emblem { width: 816px; height: 816px; margin: -408px 0 0 -408px; top: 44%; }
  .subject-minotaur { left: 60%; }
  .subject-banner { top: 92px; }
  #classes-all { padding-top: 470px; }
  #classes-all .stage-back { height: 720px; }
  #classes-all .stage-emblem { top: 44%; }
  .class-art { left: -91px; width: 182px; height: 444px; }
  .stage-mirror { --line: calc(var(--feet) * var(--k) * 1px); }

  .characters { padding: 60px 20px 190px; }
  .characters-head { display: block; }
  .characters-head h1 { margin: 0; font-size: 32px; text-align: center; }
  .character-tiles { flex-wrap: wrap; justify-content: center; margin: 18px -2px 0; }
  .character-tile { --tile: 104px; margin-bottom: 8px; }
  .character-board { min-height: 464px; margin-top: -30px; }
  .character-panel { padding: 80px 42px 60px; }
  .character-text { width: auto; max-width: none; }
  .character-text h2 { padding: 0; font-size: 29px; }
  .character-text .line { width: 100%; height: 10px; margin: 8px 0 20px; }
  .character-text p { font-size: 16px; }
  .character-art { display: none; }
  .trees { width: 280px; }

  .footer-inner { display: block; padding: 70px 20px 60px; }
  .footer-community { font-size: 17px; }
  .site-footer h2 { margin: 12px 0 18px; font-size: 34px; }
  .footer-newsletter { margin-top: 56px; }
  .footer-social { margin-top: 26px; }
  .newsletter { height: 56px; margin-top: 24px; padding: 0; }
  .guard, .footer-video { display: none; }
  .newsletter input { font-size: 16px; }
  .newsletter button { flex-basis: 110px; font-size: 13px; }
  .copyright { padding: 20px 10px; }
  .copyright h6 { font-size: 11px; }

  .faq { padding: 60px 20px 80px; }
  .faq > h2 { font-size: 44px; }
  .faq-lead { margin-top: 18px; }
  .faq-list { margin-top: 36px; }
  summary { gap: 14px; padding: 20px 2px; font-size: 18px; }
  .answer { padding: 0 2px 8px; font-size: 17px; }

  .who { display: block; min-height: 778px; margin: 32px 10px 10px; padding: 60px 20px 40px; background-size: cover; }
  .who-text h2 { font-size: 30px; }
  .who-text p { font-size: 14px; }
  .who-logo { width: 180px; margin: 34px auto 0; }
  .leadership { padding: 77px 20px 0; }
  .leadership > h2 { font-size: 30px; }
  .leaders { display: block; margin-top: 27px; }
  .leader { margin-bottom: 40px; }
  .leader h2 { font-size: 26px; line-height: 31px; }
  .leader p { font-size: 20px; line-height: 24px; }
  .values { margin: 0 30px; padding-top: 50px; }
  .value-row, .value-row.flip { display: flex; flex-direction: column; gap: 50px; margin-bottom: 50px; }
  .value-row.flip { flex-direction: column-reverse; }
  .value-row > img { height: 280px; }
  .value-text { gap: 20px; }
  .value-text h2 { font-size: 20px; }
  .value-text p { font-size: 16px; }
  .timeline { width: calc(100% - 60px); margin-top: 20px; }
  .timeline-road { padding: 24px 7% 1px 5%; }
  .road-card { display: block; min-height: 0; margin-bottom: 14px; padding: 18px 16px; border-radius: 16px; }
  .road-card h2 { font-size: 20px; }
  .road-card small { display: block; margin: 2px 0 0; font-size: 14px; }
  .road-card p { margin-top: 8px; font-size: 14px; line-height: 21px; }
  .road-token, .road-node, .timeline-road::before { display: none; }
  .road-art { max-width: 96px; max-height: 72px; margin: 0 0 10px; }
  .road-now { margin: 8px 0 18px; }
  .road-act2 { margin: 8px 0 18px; }
  .team-trees { bottom: -1px; }
  .team-body { padding-bottom: 30px; }

  .wishlist { padding-top: 516px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
