:root {
  --ink: #151410;
  --ink-raised: #211f1a;
  --paper: #e4ddcc;
  --paper-light: #f3f0e8;
  --paper-shadow: #c9bfaa;
  --blood: #7e2119;
  --blood-light: #ad5549;
  --line-dark: rgba(238, 231, 215, .2);
  --line-light: rgba(28, 25, 20, .2);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --page-pad: max(24px, calc((100vw - 1360px) / 2));
  --display: "Morsdei Centaur", Georgia, serif;
  --text: "Segoe UI", Arial, sans-serif;
  --header-height: 60px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .035; background: url("assets/parchment-aged.webp") center / cover; mix-blend-mode: multiply; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border-radius: 0; }
::selection { color: var(--paper-light); background: var(--blood); }
:focus-visible { outline: 2px solid var(--blood); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 8px 12px; color: var(--paper-light); background: var(--ink); transform: translateY(-160%); transition: transform 140ms var(--ease-out); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; display: grid; grid-template-columns: minmax(140px, 1fr) auto; align-items: center; height: var(--header-height); padding: 0 24px; color: var(--ink); background: var(--paper-light); border-bottom: 1px solid var(--line-light); }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); white-space: nowrap; }
.desktop-nav a { position: relative; padding: 19px 0 17px; font-size: 14px; font-weight: 400; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 13px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 180ms var(--ease-out); }
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-button { display: none; justify-self: end; color: inherit; background: none; border: 0; cursor: pointer; transition: transform 140ms var(--ease-out); }
.menu-button:active { transform: scale(.97); }

.mobile-menu { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0 20px 32px; color: var(--ink); background: var(--paper-light); border: 0; opacity: 0; transform: translateY(-2%); transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), overlay 180ms allow-discrete, display 180ms allow-discrete; }
.mobile-menu[open] { opacity: 1; transform: translateY(0); }
@starting-style { .mobile-menu[open] { opacity: 0; transform: translateY(-2%); } }
.mobile-menu[data-instant] { transition-duration: 0ms; }
.mobile-menu::backdrop { background: rgba(21, 20, 16, .28); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; height: 56px; border-bottom: 1px solid var(--line-light); }
.mobile-menu-head button { padding: 10px 0 10px 16px; color: inherit; background: none; border: 0; cursor: pointer; }
.mobile-menu nav { display: grid; margin-top: clamp(32px, 8vh, 72px); }
.mobile-menu nav a { padding: 9px 0; font-family: var(--display); font-size: clamp(34px, 10.5vw, 48px); line-height: 1.04; text-decoration: none; border-bottom: 1px solid var(--line-light); }
.mobile-menu nav a[aria-current="page"] { color: var(--blood); }

.hero { position: relative; display: grid; place-items: center; min-height: 100dvh; overflow: hidden; color: var(--paper-light); background-color: var(--ink); background-image: var(--hero-image); background-position: var(--hero-position, center); background-size: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 11, 9, .48), rgba(12, 11, 9, .18) 44%, rgba(12, 11, 9, .72)); }
.hero-content { position: relative; z-index: 1; width: min(1240px, calc(100vw - 48px)); padding-top: var(--header-height); text-align: center; }
.hero-kicker { margin: 0 0 20px; font-size: 12px; font-weight: 400; letter-spacing: .05em; text-transform: lowercase; opacity: 0; animation: hero-enter 700ms 80ms var(--ease-out) forwards; }
.hero-choice { display: none; margin: 0 auto; font-family: var(--display); font-weight: 400; letter-spacing: -.045em; opacity: 0; transform: translateY(12px); animation: hero-enter 880ms 140ms var(--ease-out) forwards; }
html[data-hero-variant="manifesto"] .hero-choice-manifesto { display: block; }
html[data-hero-variant="wordmark"] .hero-choice-wordmark { display: inline-flex; align-items: baseline; }
.hero-choice-manifesto { max-width: 1120px; font-size: clamp(60px, 7.7vw, 118px); line-height: .92; text-wrap: balance; }
.hero-choice-wordmark { position: relative; width: fit-content; font-size: clamp(92px, 15vw, 220px); line-height: .8; }
.hero-o { flex: none; width: .77em; height: 1.2em; margin: 0 -.04em; overflow: visible; transform: translateY(.22em); }
.hero-o-ring { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.hero-o-drop { fill: var(--blood-light); }
@keyframes hero-enter { to { opacity: 1; transform: translateY(0); } }

.paper-section { position: relative; isolation: isolate; overflow: hidden; background-color: var(--paper); background-image: radial-gradient(ellipse at 12% 20%, rgba(80, 66, 47, .12), transparent 34%), radial-gradient(ellipse at 88% 74%, rgba(100, 79, 55, .1), transparent 31%), linear-gradient(98deg, transparent 0 44%, rgba(255, 255, 255, .18) 48%, transparent 52%); }
.paper-section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .2; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.22' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='.45'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.paper-section::after { content: ""; position: absolute; z-index: -1; width: min(52vw, 680px); height: 180px; background: radial-gradient(ellipse, rgba(126, 33, 25, .13), rgba(126, 33, 25, .04) 42%, transparent 70%); filter: blur(9px); transform: rotate(-8deg); }
.about::after { right: -8%; bottom: 6%; }
.gallery::after { top: 28%; left: -9%; }
.paper-wound { position: absolute; z-index: -1; width: 340px; height: 72px; opacity: .55; background: linear-gradient(9deg, transparent 0 44%, rgba(109, 35, 26, .3) 47% 50%, transparent 53%); filter: blur(.7px); }
.paper-wound::after { content: ""; position: absolute; inset: 30px 60px; background: var(--blood); clip-path: polygon(0 45%, 40% 31%, 72% 46%, 100% 42%, 74% 57%, 35% 52%); opacity: .35; }
.paper-wound-left { top: 18%; left: -110px; transform: rotate(7deg); }
.paper-wound-right { top: 8%; right: -100px; transform: rotate(-13deg); }

.about { display: grid; min-height: 0; padding: 120px var(--page-pad); place-items: center; background: var(--paper-light); }
.about-statement { width: 100%; max-width: 630px; margin: 0; font-family: var(--text); font-size: 18px; line-height: 1.48; letter-spacing: -.008em; text-align: left; text-wrap: pretty; }

.paths { color: var(--paper-light); background: var(--ink); }
.path-list { border-top: 1px solid var(--line-dark); }
.path { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr) auto; gap: clamp(20px, 4vw, 64px); align-items: center; min-height: clamp(220px, 25vw, 320px); padding: 34px var(--page-pad); overflow: hidden; color: var(--paper-light); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.path::after { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(12, 11, 9, .79); transition: background-color 220ms ease; }
.path-art { position: absolute; z-index: -2; inset: -4%; background-position: center; background-size: cover; filter: grayscale(.55) saturate(.66); transform: scale(1.025); transition: transform 650ms var(--ease-out), filter 220ms ease; }
.path-art-about { background-image: url("assets/relic-city.png"); background-position: center 47%; }
.path-art-lore { background-image: url("assets/blood-river.png"); background-position: center 58%; }
.path-art-blog { background-image: url("assets/pilgrims.png"); background-position: center 54%; }
.path-art-rules { background-image: url("assets/rulebook/mechanics-actions-spread.png"); background-position: center 45%; }
.path-art-army { background-image: url("assets/skirmish.png"); background-position: center 54%; }
.path-copy { display: contents; }
.path-copy strong { font-family: var(--display); font-size: clamp(42px, 4.5vw, 68px); font-weight: 400; line-height: .94; }
.path-copy > span { max-width: 48ch; color: rgba(238, 231, 215, .76); }
.path-action { display: inline-flex; align-items: center; gap: 10px; justify-self: end; font-size: 13px; white-space: nowrap; }
.path:active { transform: scale(.995); }

.gallery { padding: 112px var(--page-pad) 140px; }
.gallery-statement { max-width: 760px; margin: 0 0 72px; font-family: var(--display); font-size: clamp(34px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.art-grid { display: grid; grid-template-columns: .72fr 1.28fr; grid-template-rows: minmax(360px, 46vw) minmax(300px, 34vw); gap: 18px; }
.art { margin: 0; overflow: hidden; background: var(--paper-shadow); }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art-tall { grid-row: 1 / 3; }
.art-wide { grid-column: 2; grid-row: 1; }
.art-small { grid-column: 2; grid-row: 2; width: 45%; }
.art-final { grid-column: 2; grid-row: 2; justify-self: end; width: calc(55% - 18px); }
.art-small img { object-position: 62% center; }

.support { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 8vw; align-items: start; padding: 120px var(--page-pad); color: var(--paper-light); background: var(--ink-raised); }
.support-copy h2 { max-width: 720px; margin: 0; font-family: var(--display); font-size: clamp(52px, 7vw, 102px); font-weight: 400; line-height: .9; letter-spacing: -.04em; }
.support-copy p { max-width: 560px; margin: 30px 0 0; color: rgba(238, 231, 215, .7); }
.support-actions { min-width: 0; }
.subscribe-form { padding: 0 0 32px; border-bottom: 1px solid var(--line-dark); }
.subscribe-form label { display: block; margin-bottom: 12px; color: rgba(238, 231, 215, .72); font-size: 13px; }
.subscribe-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.subscribe-row input { min-width: 0; height: 52px; padding: 0 16px; color: var(--paper-light); background: transparent; border: 1px solid rgba(238, 231, 215, .42); border-right: 0; outline: none; }
.subscribe-row input::placeholder { color: rgba(238, 231, 215, .42); }
.subscribe-row input:focus { border-color: var(--paper-light); box-shadow: inset 0 0 0 1px var(--paper-light); }
.subscribe-row button { min-height: 52px; padding: 0 22px; color: var(--ink); background: var(--paper-light); border: 1px solid var(--paper-light); cursor: pointer; white-space: nowrap; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.subscribe-row button:active { transform: scale(.97); }
.subscribe-row button:disabled { cursor: wait; opacity: .62; }
.form-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.form-status { min-height: 1.6em; margin: 10px 0 0; color: var(--blood-light); font-size: 13px; }
.subscribe-note { max-width: 62ch; margin: 3px 0 0; color: rgba(238, 231, 215, .55); font-size: 13px; line-height: 1.55; }
.subscribe-note a { color: rgba(238, 231, 215, .78); text-underline-offset: 3px; }
.social-list { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 26px; }
.social-list a, .social-list span { color: rgba(238, 231, 215, .72); font-size: 14px; text-decoration: none; }

.site-footer { padding: 88px var(--page-pad) 28px; color: var(--ink); background: var(--paper-light); border-top: 1px solid var(--line-light); }
.footer-main { display: grid; grid-template-columns: minmax(280px, 1.8fr) repeat(3, minmax(120px, .6fr)); gap: 60px; min-height: 290px; }
.footer-brand p { margin: 54px 0 0; font-family: var(--display); font-size: clamp(38px, 4.8vw, 68px); line-height: .95; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column strong { margin-bottom: 11px; color: var(--blood); font-size: 13px; font-weight: 600; }
.footer-column a, .footer-column span { color: rgba(21, 20, 16, .68); font-size: 14px; text-decoration: none; }
.footer-column span { cursor: default; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; color: rgba(21, 20, 16, .48); font-size: 12px; border-top: 1px solid var(--line-light); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .path:hover::after { background: rgba(12, 11, 9, .56); }
  .path:hover .path-art { filter: grayscale(.12) saturate(.9); transform: scale(1); }
  .subscribe-row button:hover { background: #fff; }
  .social-list a:hover, .footer-column a:hover { color: var(--blood); }
}

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .path { grid-template-columns: minmax(230px, .85fr) 1.15fr; }
  .path-action { grid-column: 2; justify-self: start; }
  .support { grid-template-columns: 1fr; gap: 58px; }
  .support-actions { max-width: 680px; }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --page-pad: 18px; --header-height: 56px; }
  body { font-size: 16px; }
  body::before { opacity: .07; }
  .site-header { height: var(--header-height); padding: 0 16px; }
  .hero { min-height: 100svh; background-position: var(--hero-mobile-position, var(--hero-position, center)); }
  .hero-content { width: calc(100vw - 32px); padding-top: var(--header-height); }
  .hero-kicker { max-width: 34ch; margin: 0 auto 14px; font-size: 10px; line-height: 1.35; }
  .hero-choice-manifesto { max-width: 15ch; font-size: clamp(38px, 10.8vw, 52px); line-height: .98; }
  .hero-choice-wordmark { max-width: 100%; font-size: clamp(58px, 18vw, 78px); letter-spacing: -.06em; }
  .about { min-height: 0; padding: 82px var(--page-pad); }
  .about-statement { font-size: 18px; line-height: 1.46; text-align: left; text-wrap: pretty; }
  .path { grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 255px; padding: 28px var(--page-pad); align-content: end; }
  .path-copy { display: block; grid-column: 1; min-width: 0; }
  .path-copy strong, .path-copy > span { display: block; }
  .path-copy strong { max-width: 100%; font-size: clamp(38px, 11vw, 48px); line-height: .96; overflow-wrap: anywhere; }
  .path-copy > span { max-width: 34ch; margin-top: 11px; font-size: 14px; line-height: 1.48; }
  .path-action { grid-column: 1; justify-self: start; margin-top: 8px; }
  .path::after { background: rgba(12, 11, 9, .64); }
  .gallery { padding: 78px var(--page-pad) 92px; }
  .gallery-statement { max-width: 18ch; margin-bottom: 46px; font-size: clamp(31px, 9.4vw, 44px); line-height: 1.04; }
  .art-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; gap: 10px; }
  .art-tall, .art-wide, .art-small, .art-final { grid-column: auto; grid-row: auto; width: 100%; height: auto; }
  .art { aspect-ratio: 4 / 3; }
  .art-tall { aspect-ratio: 4 / 5; }
  .support { padding: 82px var(--page-pad); gap: 44px; }
  .support-copy h2 { max-width: 10ch; font-size: clamp(43px, 13vw, 58px); line-height: .94; overflow-wrap: normal; }
  .support-copy p { margin-top: 22px; }
  .subscribe-row { grid-template-columns: 1fr; gap: 10px; }
  .subscribe-row input { border-right: 1px solid rgba(238, 231, 215, .42); }
  .subscribe-row button { width: 100%; }
  .social-list { gap: 10px 20px; }
  .site-footer { padding: 68px var(--page-pad) 22px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 48px 20px; min-height: 0; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-brand p { max-width: 10ch; margin-top: 38px; font-size: clamp(40px, 12vw, 56px); }
  .footer-main .footer-column:last-child { grid-column: 1 / 3; }
  .footer-bottom { flex-direction: column; gap: 5px; margin-top: 54px; }
}

@media (max-width: 390px) {
  :root { --page-pad: 15px; }
  .mobile-menu { padding-inline: 16px; }
  .mobile-menu nav a { font-size: clamp(31px, 9.6vw, 38px); }
  .hero-choice-manifesto { font-size: clamp(35px, 10.2vw, 42px); }
  .hero-choice-wordmark { font-size: clamp(54px, 17.4vw, 68px); }
  .path-copy strong { font-size: clamp(35px, 10.4vw, 42px); }
  .support-copy h2 { font-size: clamp(40px, 12vw, 50px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: opacity 160ms ease; }
}
@media (prefers-reduced-transparency: reduce) {
  .mobile-menu { background: var(--paper-light); }
}
