/* The website of Six Sigils. One style sheet for all pages: what they share first, then a part for the start page,
   the realm and the rules. Addresses of files are written as /assets/…; the build adds the version of each. No style
   is set in a page itself (the Content-Security-Policy allows none). */

@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url("/assets/fonts/Inter-Regular.woff2?v=16bc07b1b5") format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/Inter-Italic.woff2?v=41e0084f78") format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url("/assets/fonts/Inter-SemiBold.woff2?v=808378b64a") format("woff2"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url("/assets/fonts/Inter-ExtraBold.woff2?v=1244c4872a") format("woff2"); }
@font-face { font-family: Cinzel; font-weight: 400 900; font-display: swap; src: url("/assets/fonts/Cinzel-wght.woff2?v=d9d2969cca") format("woff2"); }

:root {
  --bg: #121315; --ink: #ebe8e1; --edge: #6d5a35;
  --gold-1: #f8db86; --gold-2: #e8b948; --title-ink: #ead9b4;
  --font-text: Inter, system-ui, sans-serif; --font-title: Cinzel, Georgia, serif;
  --sigil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8,1.5 L13.63,4.75 L13.63,11.25 L8,14.5 L2.37,11.25 L2.37,4.75 Z M8,3.38 L12,5.69 L12,10.31 L8,12.62 L4,10.31 L4,5.69 Z' fill='%23d3a952' fill-rule='evenodd'/%3E%3Ccircle cx='8' cy='8' r='1.76' fill='%23d3a952'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font-text); -webkit-text-size-adjust: 100%; }
main { overflow-x: clip; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: 6px; background: var(--gold-1); color: #2a2110; font-weight: 700; }
.skip:focus { top: 12px; }

/* The header, the same on every page: the sign of the game, the realms, the rules, the language, Play. */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 22px; height: 56px; padding: 0 22px; background: rgba(14, 15, 17, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(109, 90, 53, 0.55); color: var(--ink); font-family: var(--font-text); }
.wordmark { display: flex; align-items: center; gap: 10px; color: var(--title-ink); font: 700 16px/1 var(--font-title); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.wordmark i { width: 20px; height: 20px; background: var(--sigil) center / contain no-repeat; }
.top .pages { display: flex; gap: 4px; }
.top .pages a { padding: 6px 12px; border-radius: 999px; color: #c9c4b8; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.top .pages a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.top .pages a[aria-current] { color: var(--gold-1); }
.top .btn { margin-left: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 1px solid #b98d2f; border-radius: 6px; background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); color: #2a2110; font: 800 15px/1 var(--font-text); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.btn:hover { filter: brightness(1.06); }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.btn.ghost { background: rgba(0, 0, 0, 0.25); border-color: rgba(255, 255, 255, 0.35); color: #fff; box-shadow: none; }
.btn.ghost:hover { background: rgba(0, 0, 0, 0.4); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.wrap.center { text-align: center; }
section.block { padding: 84px 0; }
section.block.tight { padding-top: 0; }
.eyebrow { color: var(--gold-2); font: 600 13px/1.3 var(--font-text); letter-spacing: 0.18em; text-transform: uppercase; }
.lead { font-size: 19px; line-height: 1.6; color: #d8d3c8; }
.lead.narrow { max-width: 720px; }
.lead.centred { margin: 0 auto; }

/* A place for a picture that is not made yet: screenshots come from the scene tool of the game (#98). */
.shot { display: grid; place-items: center; aspect-ratio: 16 / 9; border: 2px dashed #9c8536; border-radius: 10px; background: repeating-linear-gradient(135deg, rgba(156, 133, 54, 0.07) 0 14px, transparent 14px 28px), rgba(0, 0, 0, 0.25); color: #f6e7b4; text-align: center; font: 14px/1.45 var(--font-text); }
.shot figcaption { max-width: 480px; padding: 18px; }
.shot b { display: block; margin-bottom: 4px; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.shot span { display: block; margin-top: 6px; color: #c9b77a; font-size: 13px; }
.shot code { color: #ffd76a; }

/* Cards of the game as its card renderer draws them; the corners round like the card (26 of 500 by 700). */
.card-img { border-radius: 5.2% / 3.714%; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.fan { display: flex; justify-content: center; padding: 20px 0 10px; }
.fan img { width: 240px; margin: 0 -18px; transition: transform 0.25s ease; }
.fan img:nth-child(1) { transform: rotate(-7deg) translateY(18px); }
.fan img:nth-child(2) { transform: rotate(-2.5deg) translateY(2px); }
.fan img:nth-child(3) { transform: rotate(2.5deg) translateY(2px); }
.fan img:nth-child(4) { transform: rotate(7deg) translateY(18px); }
.fan img:hover { transform: translateY(-14px) scale(1.04); z-index: 2; position: relative; }

/* The footer, the same on every page. */
footer.foot { padding: 40px 0 56px; border-top: 1px solid rgba(109, 90, 53, 0.45); background: #0c0d0e; color: #8f8a80; font: 14px/1.6 var(--font-text); }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: baseline; }
footer.foot a { color: #c9c4b8; text-decoration: none; }
footer.foot a:hover { color: #fff; }
footer.foot .who { margin-right: auto; }
footer.foot .lang { display: flex; gap: 2px; padding: 2px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; }
footer.foot .lang a, footer.foot .lang span { padding: 2px 10px; border-radius: 6px; font-size: 13px; }
footer.foot .lang span { color: var(--ink); background: rgba(255, 255, 255, 0.09); }

/* ---------------------------------------------------------------- the start page --------------------------------- */

.hero { position: relative; display: grid; grid-template-columns: 1fr; min-height: 640px; }
/* The three dice lie in the title box, between the welcome and the button, as on the page "Coming soon". */
.hero .middle .dice { display: block; width: 230px; height: auto; margin: -4px auto 2px; }
.hero > .realm { position: relative; overflow: hidden; }
.hero > .realm > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero > .realm::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero .bs::after { background: linear-gradient(180deg, rgba(8, 7, 6, 0.35) 0%, rgba(8, 7, 6, 0) 30%, rgba(8, 7, 6, 0.15) 55%, rgba(8, 7, 6, 0.92) 100%); }
.hero .bs > img { object-position: center 22%; filter: saturate(0.85) brightness(0.8); }
.hero .middle { position: absolute; z-index: 2; left: 50%; top: 44px; transform: translateX(-50%); width: min(620px, 90%); padding: 28px 30px 30px; border: 1px solid rgba(232, 185, 72, 0.45); border-radius: 4px; background: rgba(13, 13, 14, 0.82); backdrop-filter: blur(6px); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.hero .middle h1 { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--title-ink); font: 700 44px/1.1 var(--font-title); letter-spacing: 0.16em; text-transform: uppercase; }
.hero .middle h1 i { width: 32px; height: 32px; background: var(--sigil) center / contain no-repeat; }
.hero .middle .tagline { margin: 12px 0 12px; color: #e6c98d; font: 600 19px/1.4 var(--font-title); letter-spacing: 0.03em; }
.hero .middle .hook { margin: 0 0 20px; color: #d8d3c8; font-size: 15.5px; line-height: 1.55; text-align: left; }
.hero .middle small { display: block; margin-top: 12px; color: #9a958a; font-size: 13.5px; }

.start h2.title { margin: 10px 0 34px; color: var(--title-ink); font: 700 32px/1.2 var(--font-title); letter-spacing: 0.06em; }

.closing .lead { margin: 0 auto 22px; max-width: 520px; }
.closing .title { margin-bottom: 10px; }
.rules-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 38px; border: 1px solid rgba(232, 185, 72, 0.45); border-radius: 6px; background: radial-gradient(ellipse at 20% 0%, rgba(232, 185, 72, 0.12), transparent 60%), #17181a; }
.rules-teaser h2 { color: var(--title-ink); font: 700 26px/1.2 var(--font-title); letter-spacing: 0.05em; }
.rules-teaser p { color: #bdb8ad; }

/* The twist (the die is the hero), the table, the three colours, the deck and the closing call: the start page's own blocks. */
.hero .middle .label { margin: 0 0 16px; color: #9a958a; font: 600 13px/1.4 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; }
/* The first block comes close under the hero, so that on a laptop the tops of the three pairs peek in above the fold. */
.start .hero + .block { padding-top: 34px; }
.start .hero + .block h2.title { margin-bottom: 20px; }
.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 420px)); justify-content: space-between; margin: -10px 0 8px; }
.pairs img { width: 100%; }
.twist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.twist .lead + .lead { margin-top: 1em; }
.twist .refrain { margin-top: 18px; color: var(--title-ink); font: 600 19px/1.4 var(--font-title); letter-spacing: 0.02em; }
.start .colours + .lead.after, .start .factions + .lead.after { margin-top: 30px; }
.start .lead.after + .btn { margin-top: 22px; }
/* The dice of the start page: one in each colour box (64 px) and the die of the Tower Shield between its two cards (docs/bilder-regie.md). */
.die-img { width: 64px; height: 64px; margin-bottom: 10px; }
/* A block of text beside a picture (Encounters, the throw for renown, what renown buys); `flip` puts the picture first on a
   wide screen. A shot of the game's screen (.screen) wears the frame of the table's film. */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.duo img { display: block; width: 100%; height: auto; }
.duo .lead + .lead { margin-top: 1em; }
.duo .title { text-wrap: balance; }
.duo .screen img { aspect-ratio: 16 / 10; border-radius: 6px; object-fit: cover; background: #0d0c0b; box-shadow: 0 0 0 1px rgba(232, 185, 72, 0.22), 0 24px 60px rgba(0, 0, 0, 0.55); }
@media (min-width: 901px) { .duo.flip > .screen, .duo.flip > .maker { order: -1; } }
.duo .maker img { max-width: 420px; margin: 0 auto; border-radius: 6px; box-shadow: 0 0 0 1px rgba(232, 185, 72, 0.22), 0 24px 60px rgba(0, 0, 0, 0.55); }
.duo .sign { margin-top: 1em; color: var(--title-ink); font: 700 15px/1.3 var(--font-title); letter-spacing: 0.06em; }
.rules-teaser .guide { flex: none; width: 150px; height: 150px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(232, 185, 72, 0.45); }
.rules-teaser > div { flex: 1 1 320px; }
.start .tablebox { margin-top: 40px; }
.tablebox img, .tablebox video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; object-fit: cover; background: #0d0c0b; box-shadow: 0 0 0 1px rgba(232, 185, 72, 0.22), 0 24px 60px rgba(0, 0, 0, 0.55); }
.deck .cards { position: relative; }
.deck .cards .die-img { position: absolute; left: 50%; bottom: -74px; width: 96px; height: 96px; margin: 0 0 0 -48px; transform: rotate(-8deg); }
.colours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.colours > div { padding: 22px 24px 24px; border-radius: 6px; border-top: 5px solid var(--c); background: linear-gradient(180deg, #1d1e21, #17181a); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); }
.colours .iron { --c: #a03a1f; --c-light: #e0603c; }
.colours .shadow { --c: #5a4590; --c-light: #a892d6; }
.colours .fortune { --c: #2f6b3b; --c-light: #5aa469; }
.colours h3 { margin-bottom: 8px; color: var(--c-light); font: 700 13px/1 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; }
.colours p { color: #c9c4b8; font-size: 16px; line-height: 1.55; }
.colours .verb { margin-bottom: 8px; color: var(--title-ink); font: 700 17px/1.3 var(--font-title); letter-spacing: 0.03em; }
.deck { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.deck .lead + .lead { margin-top: 1em; }
.deck .cards { display: flex; justify-content: center; }
.deck .cards img { width: 46%; margin: 0 -6%; }
.deck .cards .card-img:nth-child(1) { transform: rotate(-6deg); }
.deck .cards .card-img:nth-child(2) { transform: rotate(6deg) translateY(10px); }

/* ---------------------------------------------------------------- Broken Seals ----------------------------------- */

body.bs { --bg: #0d0c0b; }
.bs-hero { position: relative; overflow: hidden; }
.bs-hero .haze { position: absolute; inset: -40px; background: url("/assets/img/bs-ammerlode-breach-600.webp?v=b6b5c0c8f3") center 40% / cover; filter: blur(28px) brightness(0.32) saturate(0.8); }
.bs-hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.bs-hero h1 { margin: 12px 0 14px; color: #efe6d2; font: 700 64px/1.02 var(--font-title); letter-spacing: 0.05em; text-transform: uppercase; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); }
.bs-hero .tagline { margin-bottom: 18px; color: #e6c98d; font: 600 21px/1.4 var(--font-title); letter-spacing: 0.03em; }
.bs-hero .lead { max-width: 520px; margin-bottom: 22px; }
.bs-hero .painting { position: relative; }
.bs-hero .painting img { width: 100%; border-radius: 3px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(232, 185, 72, 0.25); }
.bs-hero .painting .seal { position: absolute; left: -54px; bottom: -40px; width: 150px; box-shadow: none; border-radius: 0; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.7)); clip-path: circle(47% at 50% 49%); }
.opening { max-width: 780px; }
.opening .lead + .lead { margin-top: 1em; }
.lead.narrow + .lead.narrow { margin-top: 0.7em; }
.bs h2.title { margin: 10px 0 12px; color: #efe6d2; font: 700 36px/1.15 var(--font-title); letter-spacing: 0.05em; text-transform: uppercase; }

.factions { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 1fr 1fr; gap: 26px; margin-top: 38px; }
/* The three columns share their rows (head, first group, second group), so the six cards line up at the same height. */
.colour-group { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.faction { overflow: hidden; border-radius: 4px; background: #17140f; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); }
.faction.iron { --c: #a03a1f; --c-light: #e0603c; }
.faction.shadow { --c: #5a4590; --c-light: #a892d6; }
.faction.fortune { --c: #2f6b3b; --c-light: #5aa469; }
.faction img { width: 100%; aspect-ratio: 25 / 21; object-fit: cover; }
.faction .band { height: 5px; background: var(--c); }
.faction .text { padding: 18px 20px 22px; }
.faction .colour { color: var(--c-light); font: 700 12.5px/1 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; }
.faction h3 { margin: 8px 0; color: #efe6d2; font: 700 22px/1.2 var(--font-title); letter-spacing: 0.03em; }
.faction p { color: #bdb6a8; font-size: 15.5px; line-height: 1.55; }

.colour-head { display: flex; align-items: center; gap: 14px; padding-bottom: 2px; }
.colour-head.iron { --c-light: #e0603c; }
.colour-head.shadow { --c-light: #a892d6; }
.colour-head.fortune { --c-light: #5aa469; }
.colour-head .die-img { flex: none; margin: 0; }
.colour-head h3 { color: var(--c-light); font: 700 18px/1.25 var(--font-title); letter-spacing: 0.03em; }
.colour-head p { margin-top: 6px; color: #c9c4b8; font-size: 15.5px; line-height: 1.5; }
.fan { position: relative; }
.fan-dice { display: flex; justify-content: center; gap: 108px; margin: -8px 0 0; position: relative; z-index: 3; pointer-events: none; }
.fan-dice img { width: 96px; height: 96px; }
.fan-dice img:nth-child(1) { transform: translateY(14px) rotate(-6deg); }
.fan-dice img:nth-child(2) { transform: translateY(-2px) rotate(4deg); }
.fan-dice img:nth-child(3) { transform: translateY(4px) rotate(-3deg); }
.fan-dice img:nth-child(4) { transform: translateY(16px) rotate(7deg); }
.ground { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; margin-top: 28px; }
.ground .lead + .lead { margin-top: 1em; }
.ground .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.place img { width: 100%; aspect-ratio: 25 / 21; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(232, 185, 72, 0.18); }
.place figcaption { margin-top: 10px; color: #efe6d2; font: 700 16px/1.25 var(--font-title); letter-spacing: 0.03em; }

.cta { position: relative; overflow: hidden; padding: 120px 0 110px; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; }
.cta .wrap { position: relative; z-index: 1; }
.bs .cta::after { background: linear-gradient(90deg, rgba(8, 7, 6, 0.92) 0%, rgba(8, 7, 6, 0.6) 45%, rgba(8, 7, 6, 0.1) 100%); }
.bs .cta h2 { color: #efe6d2; font: 700 40px/1.15 var(--font-title); letter-spacing: 0.04em; text-transform: uppercase; }
.cta p { max-width: 460px; margin: 12px 0 26px; color: #d8d0c0; }

/* ---------------------------------------------------------------- the rules -------------------------------------- */

.rules-head { padding: 64px 0 30px; border-bottom: 1px solid rgba(109, 90, 53, 0.4); background: radial-gradient(ellipse at 15% 0%, rgba(232, 185, 72, 0.1), transparent 55%); }
.rules-head h1 { margin: 10px 0 12px; color: var(--title-ink); font: 700 46px/1.1 var(--font-title); letter-spacing: 0.06em; }
.rules-head .lead { max-width: 720px; }
/* The tutorial first: nobody has to read the rules to start (Josef, 2026-10-29). */
.rules-head .tutor { max-width: 720px; margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--gold-2); border-radius: 0 6px 6px 0; background: rgba(232, 185, 72, 0.07); color: #d8d3c8; font-size: 16.5px; line-height: 1.55; }
.rules-head .tutor b { color: var(--title-ink); }
.rules-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 44px; padding-bottom: 90px; }
.toc { position: sticky; top: 76px; align-self: start; font-size: 14.5px; }
.toc ol { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: step; }
.toc li { counter-increment: step; }
.toc a { display: flex; gap: 10px; padding: 5px 0; color: #a9a59c; text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(step); flex: none; width: 20px; color: var(--gold-2); font-variant-numeric: tabular-nums; text-align: right; }
.toc a:hover { color: #fff; }

.rules-step { margin: 0 0 22px; padding: 34px 36px 14px; border: 1px solid rgba(232, 185, 72, 0.3); border-radius: 6px; background: #17181a; }
.rules-step > h2 { display: flex; align-items: baseline; gap: 14px; color: var(--title-ink); font: 700 30px/1.2 var(--font-title); letter-spacing: 0.04em; }
.rules-step > h2 .n { color: var(--gold-2); font-size: 22px; }
.rules-step > .lead { margin: 12px 0 8px; max-width: 760px; }
.rb { padding: 26px 0 24px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.rules-step > .lead + .rb { border-top: 0; }
.rb h3 { margin-bottom: 8px; color: #f0ead9; font: 600 20px/1.3 var(--font-text); }
.rb p { max-width: 720px; color: #d3cec3; }
.rb p + p { margin-top: 10px; }
.rb .example { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--gold-2); background: rgba(232, 185, 72, 0.07); font-size: 16px; }
.rb .remember, .rb .tip { margin-top: 12px; color: #c9c4b8; font-size: 16px; }
.rb .example b, .rb .remember b, .rb .tip b { color: var(--gold-1); }
.rb .shot { margin-top: 18px; max-width: 720px; aspect-ratio: 16 / 6; }
.rb .fig { margin-top: 18px; max-width: 726px; }
.stage { position: relative; container-type: inline-size; }
.stage img, .stage video { display: block; width: 100%; height: auto; border-radius: 6px; background: #0d0c0b; box-shadow: 0 0 0 1px rgba(232, 185, 72, 0.22), 0 14px 36px rgba(0, 0, 0, 0.45); }
/* A label lies over a picture: a pill with a line and a dot at the place it points at (--x, --y of the picture; --gap the length of the line). */
.lab { --gap: 10px; position: absolute; left: var(--x); top: var(--y); z-index: 1; padding: 0.2em 0.65em; border: 1px solid var(--gold-2); border-radius: 999px; background: rgba(14, 12, 10, 0.88); color: var(--gold-1); font: 600 clamp(9px, 1.7cqw, 14px)/1.3 var(--font-text); white-space: nowrap; pointer-events: none; }
.lab::before, .lab::after { content: ""; position: absolute; background: var(--gold-2); }
.lab::before { width: 7px; height: 7px; border-radius: 50%; }
.lab.left { transform: translate(calc(-100% - var(--gap)), -50%); }
.lab.left::after { left: 100%; top: 50%; width: var(--gap); height: 1px; }
.lab.left::before { left: calc(100% + var(--gap) - 4px); top: calc(50% - 4px); }
.lab.right { transform: translate(var(--gap), -50%); }
.lab.right::after { right: 100%; top: 50%; width: var(--gap); height: 1px; }
.lab.right::before { right: calc(100% + var(--gap) - 4px); top: calc(50% - 4px); }
.lab.above { transform: translate(-50%, calc(-100% - var(--gap))); }
.lab.above::after { left: 50%; top: 100%; width: 1px; height: var(--gap); }
.lab.above::before { left: calc(50% - 4px); top: calc(100% + var(--gap) - 4px); }
.lab.below { transform: translate(-50%, var(--gap)); }
.lab.below::after { left: 50%; bottom: 100%; width: 1px; height: var(--gap); }
.lab.below::before { left: calc(50% - 4px); bottom: calc(100% + var(--gap) - 4px); }
.cards { display: grid; gap: 18px; }
.card-main .stage img { width: 54%; margin: 0 auto; border-radius: 18px; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5); }
.card-kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.card-kinds img { width: 100%; border-radius: 10px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5); }
.card-kinds span { display: block; margin-top: 7px; color: #c9c4b8; font-size: 14px; text-align: center; }
.faces { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 12px; margin: 0; padding: 0; list-style: none; }
.faces li { text-align: center; }
.faces img { width: 100%; max-width: 84px; margin: 0 auto; }
.faces span { display: block; margin-top: 6px; color: #d3cec3; font-size: 14px; }
.stage.cost { max-width: 260px; }
.stage.cost img { border-radius: 22px; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5); background: none; }

/* ---------------------------------------------------------------- plain pages ------------------------------------ */

.prose { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.prose h1 { margin-bottom: 18px; color: var(--title-ink); font: 700 36px/1.2 var(--font-title); letter-spacing: 0.05em; }
.prose p, .prose li { color: #d3cec3; }
.prose p + p, .prose ul + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 20px; }
.prose a { color: var(--gold-1); }
.pricing h2 { margin: 34px 0 8px; color: var(--title-ink); font: 600 20px/1.3 var(--font-title); letter-spacing: 0.04em; }
.pricing .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0 22px; }
.pricing .plan { padding: 18px 18px 20px; border: 1px solid rgba(109, 90, 53, 0.7); border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.pricing .plan h3 { color: var(--gold-2); font: 600 13px/1.3 var(--font-text); letter-spacing: 0.18em; text-transform: uppercase; }
.pricing .plan .cost { margin-top: 8px; color: #a9a499; font-size: 15px; }
.pricing .plan .cost b { display: block; color: var(--title-ink); font: 700 30px/1.2 var(--font-title); letter-spacing: 0.02em; white-space: nowrap; }
.pricing .plan p + p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; }
.pricing .closing { margin-top: 34px; }
.pricing .go { margin-top: 18px; }
@media (max-width: 760px) { .pricing .plans { grid-template-columns: 1fr; } }
.legal h2 { margin: 30px 0 8px; color: var(--title-ink); font: 600 20px/1.3 var(--font-title); letter-spacing: 0.04em; }
.legal li { margin-top: 6px; }
.legal .small { color: #8f8b83; font-size: 14px; }
.legal .optout:not([hidden]) { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; }
.legal .optout p { margin: 0; }
.legal .optout .btn { color: #2a2110; cursor: pointer; }
.prose.legal:has(table) { max-width: 1080px; }
.legal table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.legal th, .legal td { padding: 10px 14px 10px 0; color: #d3cec3; text-align: left; vertical-align: top; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.legal th { color: var(--title-ink); font-weight: 600; border-top: 0; }
.legal td:nth-child(2) { width: 34%; }
@media (max-width: 760px) {
  .legal h1 { font-size: 26px; hyphens: auto; overflow-wrap: anywhere; }
  .legal thead { display: none; }
  .legal tr, .legal td { display: block; }
  .legal tr { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .legal td { width: auto !important; padding: 3px 0; border-top: 0; }
  .legal td::before { content: attr(data-label) ": "; color: #8f8b83; }
  .legal td:first-child::before { content: none; }
}
.lost { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.lost h1 { display: flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: 0.14em; }
.lost h1 i { width: 30px; height: 30px; background: var(--sigil) center / contain no-repeat; }

/* The roadmap of the game on the start page (roadmap.ts): the top topics, read when the site is built. */
.roadmap-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; align-items: center; padding: 36px 40px; border: 1px solid rgba(232, 185, 72, 0.45); border-radius: 6px;
  background: radial-gradient(ellipse at 85% 0%, rgba(232, 185, 72, 0.12), transparent 60%), #17181a; }
.start .roadmap-block h2.title { margin: 10px 0 12px; }
.roadmap-block .lead { font-size: 17px; }
.roadmap-block .go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; }
.roadmap-block .go small { max-width: 260px; color: #a9a59c; font-size: 13.5px; line-height: 1.4; }
.roadmap-block ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.roadmap-block li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 52px; grid-template-areas: "n t p" "n b b"; column-gap: 14px; row-gap: 8px; align-items: center;
  padding: 14px 18px; border: 1px solid rgba(109, 90, 53, 0.55); border-radius: 6px; background: linear-gradient(180deg, #1d1e21, #17181a); }
.roadmap-block li.plain { grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: "n t"; }
.roadmap-block li .n { grid-area: n; color: var(--gold-1); font: 700 18px var(--font-title); text-align: center; }
.roadmap-block li .t { grid-area: t; color: #ebe8e1; font: 600 16.5px/1.3 var(--font-text); }
.roadmap-block li .t small { display: inline-block; margin-left: 8px; padding: 2px 9px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; color: #b9b4aa; font-size: 12px; font-weight: 600; vertical-align: 2px; white-space: nowrap; }
.roadmap-block li .t small.s-progress { color: #c6b3f2; border-color: rgba(168, 146, 214, 0.55); }
.roadmap-block li .t small.s-planned { color: #a9cdf0; border-color: rgba(159, 208, 255, 0.4); }
.roadmap-block li .p { grid-area: p; color: #ebe8e1; font: 800 17px var(--font-text); font-variant-numeric: tabular-nums; text-align: right; }
.roadmap-block progress.b { grid-area: b; display: block; width: 100%; height: 8px; border: 0; border-radius: 4px; background: #0d0e10; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7); overflow: hidden; -webkit-appearance: none; appearance: none; }
.roadmap-block progress.b::-webkit-progress-bar { border-radius: 4px; background: #0d0e10; }
.roadmap-block progress.b::-webkit-progress-value { border-radius: 4px; background: linear-gradient(90deg, #7d6129, #d3a952); }
.roadmap-block progress.b::-moz-progress-bar { border-radius: 4px; background: linear-gradient(90deg, #7d6129, #d3a952); }
.roadmap-block .fine { margin-top: 12px; color: #928d84; font-size: 13px; }

/* ---------------------------------------------------------------- narrow windows --------------------------------- */

/* The page "Coming soon" (pages/soon.ts): the tavern behind, one box in the middle with the seal, the words, the dice. */
.soon { position: relative; display: grid; place-items: center; min-height: calc(100vh - 56px); padding: 90px 20px 60px; overflow: hidden; }
.soon > img.back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.8) brightness(0.45) blur(2px); transform: scale(1.03); }
.soon .box { position: relative; z-index: 1; width: min(620px, 100%); padding: 86px 34px 34px; border: 1px solid rgba(232, 185, 72, 0.45); border-radius: 4px; background: rgba(13, 13, 14, 0.84); backdrop-filter: blur(6px); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.soon .seal { position: absolute; left: 50%; top: -75px; width: 150px; height: 150px; margin-left: -75px; clip-path: circle(47% at 50% 49%); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.7)); }
.soon h1 { margin: 6px 0 14px; color: var(--title-ink); font: 700 40px/1.15 var(--font-title); letter-spacing: 0.06em; text-transform: uppercase; }
.soon .lead { margin: 0 auto; max-width: 480px; color: #d8d3c8; }
.soon .dice { display: block; width: 230px; height: auto; margin: 18px auto 8px; }
.soon .ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 640px) { .soon h1 { font-size: 30px; } .soon .box { padding: 80px 20px 26px; } }

@media (max-width: 900px) {
  .top { gap: 10px; padding: 0 12px; }
  .top .pages a { padding: 6px 7px; font-size: 13px; }
  .hero > .realm { min-height: 46vh; }
  .hero .middle { position: relative; left: auto; top: auto; transform: none; width: auto; margin: 0; border-radius: 0; border-width: 0 0 1px; grid-row: 1; }
  .factions, .twist, .duo, .colours, .deck, .ground, .bs-hero .wrap, .roadmap-block { grid-template-columns: 1fr; }
  .factions { grid-template-rows: none; }
  .bs-hero h1 { font-size: 46px; }
  .bs-hero .painting { max-width: 440px; }
  .fan img { width: 150px; margin: 0 -12px; }
  .fan-dice { gap: 49px; margin-top: -6px; }
  .fan-dice img { width: 77px; height: 77px; }
  .rules-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; }
  .rules-step { padding: 24px 18px 8px; }
  .duo { gap: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { height: auto; flex-wrap: wrap; row-gap: 0; padding: 8px 12px 4px; }
  .top .btn.small { min-height: 32px; padding: 0 12px; }
  .top .pages { order: 3; width: calc(100% + 24px); margin: 4px -12px 0; padding: 0 6px; overflow-x: auto; }
  .hero .middle h1 { font-size: 28px; gap: 10px; }
  .hero .middle h1 i { width: 20px; height: 20px; }
  .start h2.title { font-size: 26px; }
  .bs-hero h1 { font-size: 38px; }
  .bs h2.title { font-size: 28px; }
  .bs-hero .painting .seal { left: -10px; width: 110px; }
  .bs .cta h2 { font-size: 34px; }
  .fan img { width: 110px; margin: 0 -10px; }
  .fan-dice { gap: 28px; margin-top: -4px; }
  .fan-dice img { width: 62px; height: 62px; }
  .pairs { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; gap: 8px; margin: 0 -18px 8px; padding: 0 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pairs img { scroll-snap-align: center; }
  .rules-head h1 { font-size: 32px; }
  .rules-step > h2 { font-size: 23px; }
  .rb .shot { aspect-ratio: 4 / 3; }
  .faces { grid-template-columns: repeat(4, 1fr); }
  .card-kinds { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 0 18px; }
  section.block { padding: 56px 0; }
  .rules-teaser { padding: 26px 22px; }
  .roadmap-block { gap: 26px; padding: 26px 22px; }
  .roadmap-block li { padding: 12px 14px; column-gap: 10px; }
}

/* ---------------------------------------------------------------- the blog --------------------------------------- */

.prose .lead { color: #ebe8e1; font-size: 19px; line-height: 1.5; }
.posts { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.posts a { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: center; padding: 18px 22px; border: 1px solid rgba(109, 90, 53, 0.55); border-radius: 6px; background: linear-gradient(180deg, #1d1e21, #17181a); color: #d3cec3; text-decoration: none; }
.posts a:hover { border-color: var(--gold-2); }
.posts img { width: 100%; height: auto; }
.posts small { display: block; color: #a9a59c; font-size: 14px; }
.posts b { display: block; margin: 4px 0 8px; color: var(--title-ink); font: 600 21px/1.3 var(--font-title); letter-spacing: 0.03em; }
.blog .feed { margin-top: 24px; font-size: 15px; }
.post .date { color: #a9a59c; font-size: 15px; }
.draft { color: #e0a24a; font-weight: 600; }
span.draft { text-transform: uppercase; letter-spacing: 0.06em; }
.post .cover { display: block; width: 100%; max-width: 520px; height: auto; margin: 24px auto; }
.post h2 { margin: 36px 0 10px; color: var(--title-ink); font: 600 23px/1.3 var(--font-title); letter-spacing: 0.04em; }
.prose.post ul.figures { margin: 18px 0; padding: 0; list-style: none; }
.figures li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.figures b { display: inline-block; min-width: 76px; color: var(--gold-1); font-size: 20px; }
.post .shot { margin: 24px 0; }
.post .pic { margin: 24px 0; }
.post .affiliation { margin-top: 28px; color: #7d786e; font-size: 13px; }
.post .pic img { display: block; width: 100%; height: auto; border-radius: 6px; }
.post .pic figcaption { margin-top: 8px; color: #a9a59c; font-size: 15px; line-height: 1.45; }
.prose .btn { color: #2a2110; }
.post .after { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 40px; }
@media (max-width: 760px) {
  .wrap.post, .wrap.blog { padding-top: 32px; padding-bottom: 56px; }
  .post h1, .blog h1 { font-size: 27px; }
  .posts a { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .posts img { max-width: 170px; }
}

/* ---------------------------------------------------------------- The March (draft) ------------------------------ */

.battlefields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.battlefields img { display: block; width: 100%; aspect-ratio: 25 / 21; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(232, 185, 72, 0.18); }
.battlefields figcaption { margin-top: 14px; color: #d3cec3; font-size: 16.5px; line-height: 1.5; }
.battlefields b { display: block; margin-bottom: 6px; color: #efe6d2; font: 700 20px/1.25 var(--font-title); letter-spacing: 0.03em; }
.bs .shot { margin-top: 18px; aspect-ratio: 16 / 5; }
.faction h3 { display: flex; align-items: center; gap: 10px; }
.faction .who { margin-bottom: 8px; color: #e6c98d; font-size: 14.5px; font-weight: 600; }
.voices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.voices img { width: 100%; aspect-ratio: 25 / 21; object-fit: cover; border-radius: 3px; }
.voices blockquote { margin: 12px 0 4px; color: #efe6d2; font: 600 18px/1.35 var(--font-title); letter-spacing: 0.02em; }
.voices figcaption { color: #a9a59c; font-size: 14px; }
.pairs.legends { gap: 20px; margin: 0 0 24px; }
.pairs.legends img { aspect-ratio: 25 / 21; object-fit: cover; border-radius: 3px; }
.pairs.legends figcaption { margin-top: 8px; color: #efe6d2; font: 600 15px/1.3 var(--font-title); }
.deck .shot { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .battlefields { grid-template-columns: 1fr; }
  .bs .shot { aspect-ratio: 4 / 3; }
}

/* The hero: one low box over the foot of the table, so that the faces, the window and the dice on the table show. */
.start .hero { min-height: min(calc(100vh - 56px), 860px); }
.hero .bs > img { object-position: center top; filter: saturate(0.95) brightness(0.92); }
.hero .bs::after { background: linear-gradient(180deg, rgba(8, 7, 6, 0) 55%, rgba(8, 7, 6, 0.75) 100%); }
.hero .middle { top: auto; bottom: 22px; width: min(960px, 92%); display: grid; grid-template-columns: minmax(0, 1fr) 150px 230px; gap: 8px 22px; align-items: center; padding: 16px 24px; text-align: left; }
.hero .middle h1 { justify-content: flex-start; font-size: 28px; gap: 10px; }
.hero .middle h1 i { width: 20px; height: 20px; }
.hero .middle h1 i:last-child { display: none; }
.hero .middle .tagline { margin: 6px 0 4px; font-size: 17px; }
.hero .middle .label { margin: 0 0 6px; font-size: 11.5px; }
.hero .middle .hook { margin: 0; font-size: 15px; color: #efe6d2; }
.hero .middle .dice { width: 150px; margin: 0; }
.hero .middle .go { text-align: center; }
.hero .middle small { margin-top: 8px; font-size: 12px; line-height: 1.35; }
@media (max-width: 900px) {
  .hero .middle { display: block; text-align: center; bottom: auto; padding: 22px 18px; }
  .hero .middle h1 { justify-content: center; }
  .hero .middle h1 i:last-child { display: block; }
  .hero .middle .hook { margin-bottom: 14px; text-align: center; }
  .hero .middle .dice { margin: 6px auto; }
  .start .hero { min-height: 0; }
}
@media (max-width: 900px) {
  /* On a phone the whole picture shows, under the box. */
  .hero > .realm { min-height: 0; aspect-ratio: 3 / 2; }
  .hero .bs::after { background: none; }
  /* The three heroes stack; nothing scrolls sideways. */
  .pairs.legends { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; scroll-snap-type: none; margin: 0 0 24px; padding: 0; gap: 18px; }
  .pairs.legends figure { width: auto; flex: none; }
}

/* ------------------------------------------------- the first screen shows the game: ---- */

.showcase { position: absolute; z-index: 1; }
.showcase img { position: absolute; display: block; }
.showcase .s-card { border-radius: 5.2% / 3.714%; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6); }
.showcase .s-die { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.55)); animation: roll 0.9s cubic-bezier(0.25, 1.3, 0.5, 1) both; }
.showcase .sd2 { animation-delay: 0.12s; }
.showcase .sd3 { animation-delay: 0.24s; }
@keyframes roll { from { opacity: 0; transform: translate(-90px, -150px) rotate(-260deg) scale(1.35); } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .showcase .s-die { animation: none; } }


/* Words on the left, the game on the right; the picture far back. */
.hero-b { min-height: min(calc(100vh - 56px), 780px); }
.hero-b .bs > img { filter: saturate(0.9) brightness(0.6); }
.hero-b .bs::after { background: linear-gradient(90deg, rgba(8, 7, 6, 0.75) 0%, rgba(8, 7, 6, 0.1) 60%); }
.hero-b .middle { left: max(28px, calc(50% - 580px)); right: auto; top: 50%; bottom: auto; transform: translateY(-50%); display: block; width: 470px; padding: 0; border: 0; background: none; backdrop-filter: none; box-shadow: none; }
.hero-b .middle h1 { font-size: 46px; }
.hero-b .middle h1 i { width: 30px; height: 30px; }
.hero-b .middle .tagline { margin: 16px 0 12px; font-size: 27px; line-height: 1.25; color: #f2dfae; text-wrap: balance; }
.hero-b .middle .label { font-size: 13px; text-wrap: balance; }
.hero-b .middle .hook { margin-bottom: 22px; font-size: 18px; }
.hero-b .middle .go { text-align: left; }
.hero-b .middle small { max-width: 340px; font-size: 13.5px; }
.hero-b .showcase { right: max(20px, calc(50% - 600px)); top: 50%; width: 660px; height: 500px; margin-top: -250px; }
.hero-b .sc1, .hero-b .sc2, .hero-b .sc3 { width: 262px; top: 20px; }
.hero-b .sc1 { left: 0; transform: rotate(-9deg); }
.hero-b .sc2 { left: 198px; top: 0; }
.hero-b .sc3 { left: 396px; transform: rotate(9deg); }
.hero-b .sd1, .hero-b .sd2, .hero-b .sd3 { width: 158px; top: 310px; }
.hero-b .sd1 { left: 80px; }
.hero-b .sd2 { left: 262px; top: 340px; }
.hero-b .sd3 { left: 440px; }


@media (max-width: 900px) {
  .hero-b .showcase { position: relative; left: auto; right: auto; top: auto; bottom: auto; grid-row: 2; width: 330px; height: 260px; margin: 8px auto 20px; }
  .hero-b .sc1, .hero-b .sc2, .hero-b .sc3 { width: 130px; top: 0; bottom: auto; }
  .hero-b .sc1 { left: 6px; }
  .hero-b .sc2 { left: 100px; }
  .hero-b .sc3 { left: 194px; }
  .hero-b .sd1, .hero-b .sd2, .hero-b .sd3 { width: 80px; top: 165px; bottom: auto; }
  .hero-b .sd1 { left: 40px; }
  .hero-b .sd2 { left: 125px; }
  .hero-b .sd3 { left: 210px; }
  .hero-b .middle { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 22px 18px; text-align: center; }
  .hero-b .middle .go { text-align: center; }
  .hero-b .middle small { max-width: none; }
  .hero-b .middle h1 { font-size: 28px; gap: 10px; }
  .hero-b .middle h1 i { width: 20px; height: 20px; }
  .hero-b .middle .tagline { font-size: 21px; }
}

/* Three plays: a card, the die in front of it, and what happens. */
.plays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 8px 0 22px; }
.play .pic { position: relative; max-width: 300px; margin: 0 auto; }
.play .card-img { display: block; width: 100%; }
.play .die { position: absolute; right: -26px; bottom: -14px; width: 44%; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.55)); }
.play figcaption { max-width: 320px; margin: 24px auto 0; color: #ebe8e1; font-size: 17px; line-height: 1.5; }
.start .plays + .refrain { text-align: center; color: var(--title-ink); font: 600 19px/1.4 var(--font-title); }
@media (max-width: 900px) { .plays { grid-template-columns: 1fr; } .play .die { right: 0; } }
.plays.one { grid-template-columns: minmax(0, 340px); justify-content: center; margin-top: 24px; }
.plays.one figcaption { text-align: center; }

/* The March on the start page: one painting across the page, the words on its calm left side. */
.march-top { position: relative; display: flex; align-items: center; min-height: min(calc(100vh - 56px), 800px); overflow: hidden; background: var(--bg); }
.march-top > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.march-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 7, 6, 0.86) 0%, rgba(8, 7, 6, 0.6) 34%, rgba(8, 7, 6, 0) 62%), linear-gradient(180deg, rgba(8, 7, 6, 0) 78%, var(--bg) 100%); }
.march-top .wrap { position: relative; z-index: 1; width: 100%; padding-top: 48px; padding-bottom: 56px; }
.march-top h1, .march-top h2 { color: #efe6d2; font: 700 72px/1.02 var(--font-title); letter-spacing: 0.05em; text-transform: uppercase; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); }
.march-top .tagline { max-width: 520px; margin: 16px 0 16px; color: #f2dfae; font: 600 24px/1.3 var(--font-title); letter-spacing: 0.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); }
.march-top .lead { max-width: 480px; margin-bottom: 26px; color: #ebe8e1; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.march-top .actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .march-top { display: block; min-height: 0; }
  .march-top > img { position: relative; display: block; height: auto; aspect-ratio: 3 / 2; }
  .march-top::after { display: none; }
  .march-top h1, .march-top h2 { font-size: 42px; }
  .march-top .wrap { padding-top: 22px; padding-bottom: 30px; }
  .march-top .tagline { font-size: 20px; }
}

/* The closing picture of The March: tall enough for both faces and the table, not cut at the necks. */
.bs .cta { display: flex; align-items: center; min-height: clamp(480px, 46vw, 680px); padding: 60px 0; }
.bs .cta > img { object-position: center 16%; }
.bs .cta::after { background: linear-gradient(90deg, rgba(8, 7, 6, 0.9) 0%, rgba(8, 7, 6, 0.55) 38%, rgba(8, 7, 6, 0) 62%); }
.bs .cta .wrap { width: 100%; }

/* The hero cards move: a short clean loop lies over the picture window of the card (68 to 488 of 700), with a hole for its round badge (at 56, 491, radius 28 with its rim). */
.showcase .s-card > img { display: block; position: static; width: 100%; }
.showcase .s-card { position: absolute; overflow: hidden; }
.showcase .s-card .art { position: absolute; left: 0; top: 9.714%; width: 100%; height: 60%; object-fit: cover; object-position: center top; -webkit-mask-image: radial-gradient(ellipse 5.6% 6.67% at 11.2% 100.7%, transparent 99%, #000 100%); mask-image: radial-gradient(ellipse 5.6% 6.67% at 11.2% 100.7%, transparent 99%, #000 100%); }

/* The dragon moves: a clean loop over the same painting, which stands until the video runs. */
.march-top > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
@media (max-width: 900px) { .march-top > video { inset: 0 0 auto 0; height: auto; aspect-ratio: 3 / 2; } }

.closing small { display: block; margin-top: 12px; color: #9a958a; font-size: 13.5px; }
.hero .middle .label.inspired { margin-top: -8px; color: #b8a77f; }
.closing .affiliation { margin: 18px 0 0; color: #7d786e; font-size: 12px; }
