.inner-body { background: var(--paper); }
.inner-main { min-height: 100dvh; padding-top: var(--header-height); }
.inner-masthead { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(74svh, 760px); padding: 112px var(--page-pad) 78px; overflow: hidden; color: var(--paper-light); background: var(--ink); }
.inner-masthead::before { content: ""; position: absolute; z-index: -2; inset: -2%; background-image: var(--page-image); background-position: var(--page-position, center); background-size: cover; filter: grayscale(.38) saturate(.66); }
.inner-masthead::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 7, .32), rgba(10, 9, 7, .42) 44%, rgba(10, 9, 7, .9)); }
.masthead-copy { width: min(1120px, 100%); }
.page-kicker { margin: 0 0 18px; color: rgba(243, 240, 232, .7); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.inner-masthead h1 { max-width: 10ch; margin: 0; font-family: var(--display); font-size: clamp(66px, 10.5vw, 148px); font-weight: 400; line-height: .84; letter-spacing: -.045em; text-wrap: balance; }
.page-lede { max-width: 650px; margin: 34px 0 0; color: rgba(243, 240, 232, .78); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.5; text-wrap: pretty; }
.page-status { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 24px; padding: 7px 10px; color: var(--paper-light); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; border: 1px solid rgba(243, 240, 232, .34); }
.page-status::before { content: ""; width: 7px; height: 7px; background: var(--blood-light); border-radius: 50%; }

.article-section { padding: 112px var(--page-pad) 132px; }
.lore-main > .article-section { padding-top: 48px; }
.article-grid { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 850px); gap: clamp(50px, 9vw, 130px); justify-content: center; }
.article-grid--single { grid-template-columns: minmax(0, 850px); }
.article-nav { position: sticky; top: calc(var(--header-height) + 34px); align-self: start; display: grid; gap: 8px; }
.article-nav strong { margin-bottom: 10px; color: var(--blood); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.article-nav a { width: fit-content; color: rgba(21, 20, 16, .58); font-size: 14px; line-height: 1.35; text-decoration: none; }
.article-content { min-width: 0; }
.article-content > :first-child { margin-top: 0; }
.article-content h2 { max-width: 12ch; margin: 96px 0 28px; font-family: var(--display); font-size: clamp(44px, 5.6vw, 76px); font-weight: 400; line-height: .92; letter-spacing: -.035em; text-wrap: balance; }
.article-content h3 { margin: 48px 0 14px; font-family: var(--display); font-size: clamp(29px, 3vw, 40px); font-weight: 400; line-height: 1; }
.article-content p, .article-content li { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.72; }
.article-content p { margin: 0 0 24px; }
.article-content ul { margin: 0 0 30px; padding-left: 1.2em; }
.article-content li + li { margin-top: 9px; }
.article-content blockquote { margin: 52px 0; padding: 6px 0 6px 30px; font-family: var(--display); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.03; border-left: 3px solid var(--blood); }
.article-content blockquote p { margin: 0; font: inherit; line-height: inherit; }
.article-content .fine-print { color: rgba(21, 20, 16, .6); font-size: 14px; line-height: 1.6; }
.article-content a { text-decoration-color: rgba(126, 33, 25, .42); text-underline-offset: 3px; }
.article-content hr { margin: 78px 0; border: 0; border-top: 1px solid var(--line-light); }

.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 40px 0 56px; background: var(--line-light); border: 1px solid var(--line-light); }
.fact-card { min-height: 210px; padding: 30px; background: rgba(243, 240, 232, .74); }
.fact-card span { display: block; margin-bottom: 36px; color: var(--blood); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fact-card strong { display: block; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1; }
.fact-card p { margin: 14px 0 0; color: rgba(21, 20, 16, .66); font-size: 15px; line-height: 1.55; }

.timeline { margin: 48px 0 70px; border-top: 1px solid var(--line-light); }
.timeline-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line-light); }
.timeline-year { color: var(--blood); font-family: var(--display); font-size: 31px; line-height: 1; }
.timeline-copy strong { display: block; margin-bottom: 10px; font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1; }
.timeline-copy p { margin: 0; color: rgba(21, 20, 16, .72); font-size: 16px; line-height: 1.62; }

.development-panel { margin: 52px 0; padding: 30px; color: var(--paper-light); background: var(--ink-raised); border-left: 4px solid var(--blood-light); }
.development-panel strong { display: block; margin-bottom: 12px; font-family: var(--display); font-size: 32px; font-weight: 400; }
.development-panel p { margin: 0; color: rgba(243, 240, 232, .7); font-size: 16px; line-height: 1.6; }
.development-demo-link { display: inline-flex; gap: 18px; align-items: center; margin-top: 22px; padding-bottom: 5px; color: var(--paper-light); font-family: "Arial Narrow", Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid var(--blood-light); }
.development-demo-link span { color: var(--blood-light); font-family: var(--display); font-size: 20px; line-height: .7; }
.concept-console { margin: 48px 0 70px; color: var(--paper-light); background: #11100d; border: 1px solid rgba(243, 240, 232, .16); }
.concept-console-head { display: flex; justify-content: space-between; gap: 20px; padding: 12px 16px; color: rgba(243, 240, 232, .5); font-size: 12px; border-bottom: 1px solid rgba(243, 240, 232, .14); }
.concept-console-body { padding: 38px 24px 46px; }
.concept-console-body p { max-width: 50ch; margin: 0; color: rgba(243, 240, 232, .76); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 14px; line-height: 1.7; }
.concept-console-prompt { display: flex; gap: 12px; margin-top: 32px; padding-top: 16px; color: rgba(243, 240, 232, .38); border-top: 1px solid rgba(243, 240, 232, .12); }
.concept-console-prompt span:first-child { color: var(--blood-light); }

.rulebook-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(42px, 7vw, 90px); align-items: end; margin-bottom: 42px; }
.rulebook-lead h2 { margin: 0 0 28px; }
.rulebook-lead p { margin-bottom: 0; }
.rulebook-facts { margin: 0; border-top: 1px solid var(--line-light); }
.rulebook-facts div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.rulebook-facts dt { color: var(--blood); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.rulebook-facts dd { margin: 0; color: rgba(21, 20, 16, .72); font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.45; }
.rulebook-actions { display: flex; flex-wrap: wrap; gap: 1px; margin: 0 0 42px; background: var(--line-light); border: 1px solid var(--line-light); }
.rulebook-actions a { display: flex; flex: 1 1 240px; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 18px; color: var(--ink); background: var(--paper-light); font-size: 14px; text-decoration: none; transition: color 180ms ease, background-color 180ms ease; }
.rulebook-actions .rulebook-download { color: var(--paper-light); background: var(--blood); }
.rulebook-actions a span { margin-left: 20px; color: inherit; opacity: .64; font-size: 12px; }
.rulebook-preview { margin: 0 0 92px; color: var(--paper-light); background: var(--ink); box-shadow: 0 24px 70px rgba(37, 27, 16, .22); }
.rulebook-preview a { display: block; }
.rulebook-preview img { width: 100%; height: auto; }
.rulebook-preview figcaption { display: flex; justify-content: space-between; gap: 24px; padding: 14px 16px; color: rgba(243, 240, 232, .7); font-size: 12px; line-height: 1.45; }
.rulebook-preview figcaption span { color: var(--blood-light); letter-spacing: .07em; text-transform: uppercase; }
.rulebook-reader { position: relative; margin: 38px 0 92px; min-height: 820px; overflow: hidden; background: var(--ink); border: 1px solid var(--line-light); }
.rulebook-reader iframe { display: block; width: 100%; height: min(88vh, 980px); min-height: 820px; background: var(--ink); border: 0; }

.page-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: 80px var(--page-pad); color: var(--paper-light); background: var(--ink-raised); }
.page-cta h2 { max-width: 12ch; margin: 0; font-family: var(--display); font-size: clamp(46px, 6vw, 84px); font-weight: 400; line-height: .92; }
.page-cta p { max-width: 50ch; margin: 24px 0 0; color: rgba(243, 240, 232, .65); }
.page-cta a { display: inline-flex; align-items: center; min-height: 50px; padding: 0 20px; color: var(--ink); background: var(--paper-light); text-decoration: none; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.page-cta a:active { transform: scale(.97); }

.legal-masthead { min-height: 48svh; padding-bottom: 58px; }
.legal-masthead h1 { max-width: 13ch; font-size: clamp(58px, 8vw, 108px); }
.legal-section { padding-top: 90px; }
.legal-copy { width: min(820px, 100%); margin: 0 auto; }
.legal-copy h2 { max-width: none; margin-top: 70px; font-size: clamp(38px, 4.4vw, 58px); }
.legal-meta { margin: 0 0 52px; color: rgba(21, 20, 16, .55); font-size: 14px; }
.legal-callout { margin: 42px 0; padding: 22px 24px; background: rgba(126, 33, 25, .09); border-left: 3px solid var(--blood); }
.legal-callout p { margin: 0; font-size: 16px; }

.footer-legal-row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal-row a { color: inherit; text-decoration: none; }

@media (hover: hover) and (pointer: fine) {
  .article-nav a:hover { color: var(--blood); }
  .page-cta a:hover { background: #fff; }
  .rulebook-actions a:hover { color: var(--paper-light); background: var(--ink); }
  .rulebook-actions .rulebook-download:hover { background: var(--blood-hover, #8a271e); }
}

@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; padding-bottom: 30px; border-bottom: 1px solid var(--line-light); }
  .article-nav strong { grid-column: 1 / -1; }
  .page-cta { grid-template-columns: 1fr; align-items: start; }
  .page-cta a { justify-self: start; }
  .rulebook-lead { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .inner-masthead { min-height: 68svh; padding: 80px var(--page-pad) 46px; }
  .inner-masthead h1 { max-width: 10ch; font-size: clamp(50px, 16vw, 72px); line-height: .88; overflow-wrap: normal; }
  .page-lede { margin-top: 24px; font-size: 18px; line-height: 1.48; }
  .article-section { padding: 72px var(--page-pad) 88px; }
  .article-grid { gap: 54px; }
  .article-content h2 { margin-top: 72px; font-size: clamp(39px, 12vw, 55px); }
  .article-content h3 { margin-top: 40px; }
  .article-content p, .article-content li { font-size: 17px; line-height: 1.68; }
  .article-content blockquote { margin: 42px 0; padding-left: 20px; font-size: clamp(31px, 10vw, 44px); }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-card { min-height: 0; }
  .timeline-item { grid-template-columns: 74px minmax(0, 1fr); gap: 18px; }
  .timeline-year { font-size: 25px; }
  .timeline-copy strong { font-size: 26px; }
  .development-panel { padding: 24px 20px; }
  .concept-console-body { padding: 28px 18px 34px; }
  .rulebook-facts div { grid-template-columns: 78px minmax(0, 1fr); }
  .rulebook-preview { margin-bottom: 68px; box-shadow: 0 16px 42px rgba(37, 27, 16, .2); }
  .rulebook-preview figcaption { display: grid; gap: 4px; }
  .rulebook-reader { min-height: 68svh; margin-bottom: 68px; }
  .rulebook-reader iframe { height: 68svh; min-height: 0; }
  .page-cta { padding: 64px var(--page-pad); }
  .legal-masthead { min-height: 40svh; }
  .legal-masthead h1 { font-size: clamp(49px, 15vw, 68px); }
  .legal-section { padding-top: 68px; }
  .footer-legal-row { flex-direction: column; gap: 5px; }
}
