:root {
    --ink: #17251f;
    --ink-2: #24362e;
    --muted: #65736d;
    --paper: #f8f6ef;
    --white: #fffef9;
    --line: #dcded4;
    --line-dark: #aeb9b2;
    --blue: #b0d0e0;
    --blue-deep: #3f6f83;
    --gold: #d4b460;
    --gold-soft: #f2e9c8;
    --green: #60a060;
    --green-deep: #326a49;
    --sand: #d8cdb4;
    --danger: #8a3f37;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --shadow: 0 24px 70px rgba(23, 37, 31, .12);
    --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); }
body:before { content: ""; position: fixed; z-index: -1; inset: 0; opacity: .26; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0 0 .55em; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
p { margin: 0 0 1.2em; }
::selection { background: var(--gold); color: var(--ink); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { z-index: 100; top: 10px; left: 10px; position: fixed; background: var(--ink); color: white; padding: 10px 14px; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(220,222,212,.85); background: rgba(255,254,249,.94); backdrop-filter: blur(16px); }
.site-header__inner { width: min(1380px, calc(100% - 48px)); min-height: 82px; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: auto; height: 44px; object-fit: contain; }
.brand .brand__wordmark { height: 40px; transform: translateY(7px); }
.top-nav { align-self: stretch; display: flex; align-items: stretch; gap: 7px; margin-left: auto; }
.top-nav > a, .nav-item__head > a { position: relative; display: flex; align-items: center; padding: 0 11px; color: #47574f; font-size: .86rem; font-weight: 650; text-decoration: none; }
.top-nav > a:after, .nav-item__head > a:after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .18s ease; }
.top-nav > a:hover:after, .top-nav > a.active:after, .nav-item:hover .nav-item__head > a:after, .nav-item.active .nav-item__head > a:after { transform: scaleX(1); }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-item__head { display: flex; }
.nav-item__head button { display: none; }
.nav-menu { display: none; position: absolute; top: calc(100% - 1px); left: 0; min-width: 290px; max-height: min(70vh, 640px); overflow: auto; padding: 10px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 45px rgba(23,37,31,.12); }
.nav-item:last-child .nav-menu { left: auto; right: 0; }
.nav-menu a { display: block; padding: 9px 12px; color: #47574f; font-size: .84rem; line-height: 1.35; text-decoration: none; }
.nav-menu a:hover { background: #f0f0e9; color: var(--ink); }
.nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu { display: block; }
.header-cta { margin-left: 6px; padding: 11px 15px; border: 1px solid var(--ink); font-size: .79rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-cta:hover { background: var(--ink); color: white; }
.nav-toggle { display: none; }

main { min-height: 70vh; }
.section-wrap, .page, .stage-page { width: min(1180px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.page { padding-top: clamp(54px, 8vw, 105px); padding-bottom: 110px; }
.page--wide, .stage-page { width: min(1320px, calc(100% - 48px)); }
.eyebrow { margin: 0 0 17px; color: var(--green-deep); font-size: .72rem; font-weight: 800; letter-spacing: .18em; line-height: 1.3; text-transform: uppercase; }
.eyebrow--light { color: #e9d58f; }
.page-header { max-width: 850px; margin-bottom: 64px; }
.page-header h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
.page-header > p:last-child { max-width: 750px; color: var(--muted); font-size: 1.08rem; }
.section-heading { margin-bottom: 35px; }
.section-heading h2 { font-size: clamp(2.2rem, 4.2vw, 4.25rem); }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading--split > div { max-width: 790px; }
.section-note { max-width: 390px; color: var(--muted); font-size: .9rem; }
.text-link { color: var(--green-deep); font-size: .84rem; font-weight: 750; white-space: nowrap; }
.button-row, .page-links { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 14px 19px; border: 1px solid transparent; font-size: .8rem; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; }
.button--gold { background: var(--gold); color: var(--ink); }
.button--gold:hover { background: #e5c66c; }
.button--ghost { border-color: rgba(255,255,255,.62); color: white; background: transparent; }
.button--ghost:hover { background: white; color: var(--ink); }
.button--dark { background: var(--ink); color: white; }
.button--dark:hover { background: var(--green-deep); }
.button--quiet { border-color: var(--line-dark); background: transparent; color: var(--ink); }
.page-links a { padding: 9px 0; margin-right: 20px; color: var(--green-deep); font-size: .84rem; font-weight: 750; }

.hero { position: relative; min-height: min(810px, calc(100vh - 82px)); display: flex; align-items: end; overflow: hidden; background: var(--ink); color: white; }
.hero__image, .hero__veil { position: absolute; inset: 0; }
.hero__image { background: url('/assets/images/marsz-formacji.webp') center 36% / cover no-repeat; transform: scale(1.01); }
.hero__veil { background: linear-gradient(90deg, rgba(12,27,21,.97) 0%, rgba(12,27,21,.82) 39%, rgba(12,27,21,.18) 76%), linear-gradient(0deg, rgba(12,27,21,.84), transparent 55%); }
.hero__content { position: relative; z-index: 1; width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: clamp(70px, 10vw, 135px) 0 58px; }
.hero h1 { max-width: 800px; margin-bottom: 24px; font-size: clamp(3.6rem, 8.3vw, 8.2rem); line-height: .91; }
.hero__lead { max-width: 660px; margin-bottom: 30px; color: #e6ebe7; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.hero__facts { display: flex; gap: 54px; margin: 58px 0 0; }
.hero__facts div { display: flex; align-items: baseline; gap: 9px; }
.hero__facts dt { color: var(--gold); font: 2rem/1 var(--serif); }
.hero__facts dd { margin: 0; color: #c4cec8; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 10vw, 145px); padding-top: 115px; padding-bottom: 115px; border-bottom: 1px solid var(--line); }
.intro-grid h2 { font-size: clamp(2.7rem, 5vw, 5.3rem); }
.intro-grid__copy { padding-top: 38px; color: #46564e; font-size: 1.14rem; }
.intro-grid__copy p:first-child:first-letter { float: left; padding: 10px 11px 0 0; color: var(--green-deep); font: 4rem/.65 var(--serif); }
.role-strip { padding-top: 110px; padding-bottom: 115px; }
.role-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.role-strip article { min-height: 265px; padding: 28px 24px; border-right: 1px solid var(--line); }
.role-strip article:first-child { border-left: 1px solid var(--line); }
.role-strip article > span { color: var(--green-deep); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.role-strip h3 { margin-top: 43px; font-size: 1.55rem; }
.role-strip p { color: var(--muted); font-size: .87rem; }
.role-strip__secret { position: relative; background: var(--ink); color: white; }
.role-strip__secret p { color: #bec9c3; }
.role-strip__secret:after { content: "POUFNE"; position: absolute; right: 18px; top: 32px; color: var(--gold); font-size: .58rem; font-weight: 900; letter-spacing: .17em; transform: rotate(90deg); transform-origin: right top; }
.journey { padding-top: 110px; padding-bottom: 120px; }
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.act-card { padding: 33px 30px 25px; border: 1px solid var(--line); background: var(--white); }
.act-card--2 { background: var(--ink); color: white; border-color: var(--ink); transform: translateY(24px); }
.act-card__range { color: var(--green-deep); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.act-card--2 .act-card__range { color: var(--gold); }
.act-card h3 { font-size: 2rem; }
.act-card > p:not(.act-card__range) { min-height: 102px; color: var(--muted); font-size: .88rem; }
.act-card--2 > p:not(.act-card__range) { color: #bfc9c3; }
.act-card ol { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.act-card--2 ol { border-color: #405048; }
.act-card li a { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .83rem; font-weight: 700; text-decoration: none; }
.act-card--2 li a { border-color: #405048; }
.act-card li span { color: var(--green-deep); font-size: .67rem; }
.act-card--2 li span { color: var(--gold); }
.act-card li a:hover { padding-left: 6px; }
.world-teaser { margin-bottom: 120px; display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; background: var(--blue); }
.world-teaser__flag { display: flex; justify-content: center; align-items: center; padding: 60px; background: #c5dce6; }
.world-teaser__flag img { width: 100%; filter: drop-shadow(0 22px 22px rgba(23,37,31,.2)); }
.world-teaser__copy { align-self: center; padding: 65px; }
.world-teaser__copy h2 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); }

.game-board { display: grid; gap: 75px; }
.board-act { display: grid; grid-template-columns: 270px 1fr; gap: 45px; }
.board-act > header { padding-top: 7px; }
.board-act > header span { color: var(--green-deep); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.board-act > header h2 { margin-top: 14px; font-size: 2.3rem; }
.board-act > header p { color: var(--muted); font-size: .87rem; }
.board-stages { display: grid; grid-template-columns: repeat(4, 1fr); }
.board-stage { min-height: 330px; display: flex; flex-direction: column; padding: 24px 20px; border: 1px solid var(--line); border-right: 0; background: var(--white); text-decoration: none; transition: transform .16s, box-shadow .16s; }
.board-stage:last-child { border-right: 1px solid var(--line); }
.board-stage:hover { position: relative; z-index: 2; transform: translateY(-7px); box-shadow: var(--shadow); }
.board-stage__number { font: 2rem/1 var(--serif); color: var(--green-deep); }
.board-stage__signal { margin-top: 32px; color: var(--muted); font-size: .62rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.board-stage strong { margin-top: 8px; font: 1.3rem/1.1 var(--serif); }
.board-stage__summary { margin-top: 15px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.board-stage__status { margin-top: auto; padding-top: 24px; color: var(--green-deep); font-size: .71rem; font-weight: 800; }
.board-stage.is-complete { background: #eef5ed; }
.board-stage.is-complete .board-stage__status { color: var(--green-deep); }
.board-act--2 .board-stage { background: var(--ink-2); color: white; border-color: #495a52; }
.board-act--2 .board-stage__number, .board-act--2 .board-stage__status { color: var(--gold); }
.board-act--2 .board-stage__signal, .board-act--2 .board-stage__summary { color: #b8c3bd; }
.callout { margin-top: 45px; padding: 23px 26px; border-left: 4px solid var(--gold); background: var(--gold-soft); }
.callout p { margin-bottom: 0; }
.callout--blue { border-color: var(--blue-deep); background: #e5f0f4; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.principles article { min-height: 250px; padding: 30px; border-bottom: 1px solid var(--line); }
.principles article:nth-child(odd) { border-right: 1px solid var(--line); }
.principles article:nth-child(n+3) { border-bottom: 0; }
.principles article > span { color: var(--green-deep); font-size: .68rem; font-weight: 800; }
.principles h2 { margin-top: 35px; font-size: 1.7rem; }
.principles p { max-width: 470px; color: var(--muted); font-size: .9rem; }
.content-section { margin-top: 105px; }
.round-phases { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.round-phases li { border-bottom: 1px solid var(--line); }
.round-phases li > label, .round-phases li:not(:has(label)) { display: grid; grid-template-columns: 70px 1fr; gap: 25px; align-items: start; padding: 21px 12px; }
.round-phases--interactive li > label { grid-template-columns: 28px 60px 1fr; cursor: pointer; }
.round-phases input { position: absolute; opacity: 0; }
.check-ui { width: 20px; height: 20px; margin-top: 4px; border: 1px solid var(--line-dark); background: white; }
.round-phases input:checked + .check-ui { border-color: var(--green-deep); background: var(--green-deep); box-shadow: inset 0 0 0 4px white; }
.round-phases li:has(input:checked) { background: #eef5ed; }
.phase-code { color: var(--green-deep); font: 1.45rem/1 var(--serif); }
.phase-copy { display: grid; grid-template-columns: 240px 90px 1fr; gap: 20px; }
.phase-copy strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.phase-copy small { color: var(--green-deep); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.phase-copy > span { color: var(--muted); font-size: .83rem; }
.safety-panel { margin-top: 105px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; padding: 55px; background: var(--ink); color: white; }
.safety-panel h2 { font-size: 3.2rem; }
.safety-panel > div:last-child { color: #c5cec9; }
.next-panel { margin-top: 35px; display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 28px 32px; border: 1px solid var(--line); background: var(--white); }
.next-panel div { display: flex; flex-direction: column; }
.next-panel span { color: var(--green-deep); font-size: .68rem; font-weight: 800; text-transform: uppercase; }

.stage-page { padding-top: 44px; padding-bottom: 100px; }
.stage-hero { min-height: 310px; display: grid; grid-template-columns: 165px minmax(0, 1fr) auto; align-items: center; gap: 52px; padding: 44px 55px; background: var(--blue); }
.stage-hero--2 { background: var(--ink); color: white; }
.stage-hero--3 { background: var(--sand); }
.stage-hero__index { align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(23,37,31,.25); }
.stage-hero--2 .stage-hero__index { border-color: rgba(255,255,255,.2); }
.stage-hero__index span { font-size: .64rem; font-weight: 850; letter-spacing: .18em; }
.stage-hero__index strong { margin-top: 12px; font: 5.6rem/.8 var(--serif); font-weight: 400; }
.stage-hero__copy { min-width: 0; max-width: 740px; overflow-wrap: anywhere; }
.stage-hero--2 .eyebrow { color: var(--gold); }
.stage-hero__copy h1 { font-size: clamp(3rem, 6vw, 6rem); }
.stage-hero__copy > p:last-child { max-width: 670px; margin: 0; color: #43554c; }
.stage-hero--2 .stage-hero__copy > p:last-child { color: #c2cec7; }
.stage-complete { width: 165px; padding: 13px; border: 1px solid rgba(23,37,31,.4); background: transparent; cursor: pointer; color: inherit; font-size: .72rem; font-weight: 750; line-height: 1.35; }
.stage-complete > span:first-child { display: none; }
.stage-complete.is-complete { border-color: var(--green-deep); background: var(--green-deep); color: white; }
.stage-complete.is-complete > span:first-child { display: inline; margin-right: 5px; }
.stage-hero--2 .stage-complete { border-color: rgba(255,255,255,.4); }
.stage-tabs { display: flex; gap: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.stage-tabs a { position: relative; padding: 19px 2px; color: var(--muted); font-size: .76rem; font-weight: 750; text-decoration: none; }
.stage-tabs a.active, .stage-tabs a:hover { color: var(--ink); }
.stage-tabs a.active:after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--green-deep); }
.briefing-panel { margin-top: 78px; display: grid; grid-template-columns: 280px 1fr; gap: 80px; padding-bottom: 82px; border-bottom: 1px solid var(--line); }
.briefing-panel__label > span { display: inline-flex; width: 36px; height: 36px; justify-content: center; align-items: center; border-radius: 50%; background: var(--green-deep); color: white; font-size: .7rem; font-weight: 800; }
.briefing-panel__label p { margin: 21px 0 7px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; }
.briefing-panel__label h2 { font-size: 2.2rem; }
.briefing-panel__content { max-width: 770px; }
.briefing-panel__content h2 { margin-top: 0; }
.role-choice, .round-section, .stage-journal { padding-top: 90px; }
.role-cards { display: grid; grid-template-columns: repeat(4, 1fr); }
.role-card { position: relative; min-height: 330px; display: flex; flex-direction: column; padding: 25px 23px; border: 1px solid var(--line); border-right: 0; background: var(--white); text-decoration: none; }
.role-card:last-child { border-right: 1px solid var(--line); }
.role-card:hover { z-index: 2; border-color: var(--green-deep); box-shadow: var(--shadow); transform: translateY(-4px); }
.role-card__mark { font: 2.7rem/1 var(--serif); color: var(--green-deep); }
.role-card__type { margin-top: 35px; color: var(--muted); font-size: .63rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.role-card > strong { margin-top: 7px; font: 1.35rem/1.15 var(--serif); }
.role-card p { margin-top: 15px; color: var(--muted); font-size: .8rem; }
.role-card__action { margin-top: auto; color: var(--green-deep); font-size: .72rem; font-weight: 800; }
.role-card--secret { background: var(--ink); color: white; border-color: var(--ink); }
.role-card--secret .role-card__mark, .role-card--secret .role-card__action { color: var(--gold); }
.role-card--secret .role-card__type, .role-card--secret p { color: #bdc8c2; }
.stage-journal { margin-top: 95px; padding: 55px; background: #e9eee8; }
.save-state { color: var(--muted); font-size: .72rem; }
.save-state.is-saved { color: var(--green-deep); }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.metric { display: block; margin-bottom: 28px; }
.metric > span { display: flex; justify-content: space-between; align-items: baseline; }
.metric strong { font-size: .8rem; }
.metric output { color: var(--green-deep); font: 1.5rem/1 var(--serif); }
.metric input { width: 100%; accent-color: var(--green-deep); }
.metric small { display: flex; justify-content: space-between; color: var(--muted); font-size: .61rem; }
.metric small i { font-style: normal; }
.journal-notes { display: grid; gap: 18px; }
.journal-notes label { display: grid; gap: 7px; }
.journal-notes label span { font-size: .75rem; font-weight: 750; }
textarea { width: 100%; resize: vertical; padding: 12px 14px; border: 1px solid #bcc7bf; border-radius: 0; background: rgba(255,255,255,.75); color: var(--ink); }
textarea:focus { outline: 2px solid var(--blue-deep); outline-offset: 1px; }
.journal-actions { display: flex; justify-content: end; padding-top: 28px; }
.stage-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 80px; }
.stage-pagination a { display: flex; flex-direction: column; padding: 25px 0; border-top: 1px solid var(--line-dark); text-decoration: none; }
.stage-pagination span { color: var(--green-deep); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.stage-pagination strong { margin-top: 7px; font: 1.2rem/1.2 var(--serif); }
.stage-pagination__next { text-align: right; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 45px; color: var(--muted); font-size: .72rem; }
.breadcrumbs a { color: var(--green-deep); }
.article-cover { max-width: 920px; margin-bottom: 45px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.article-cover h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
.article-page { max-width: 1040px; }
.markdown { color: #2f4038; }
.markdown h1 { margin-top: 0; font-size: clamp(2.8rem, 5vw, 5rem); }
.markdown h2 { margin: 2em 0 .7em; font-size: clamp(1.9rem, 3.3vw, 3rem); }
.markdown h3 { margin: 1.7em 0 .65em; font-size: 1.5rem; }
.markdown h4 { margin: 1.5em 0 .5em; font-size: 1.12rem; }
.markdown p, .markdown li { max-width: 840px; }
.markdown a { color: var(--green-deep); }
.markdown blockquote { margin: 35px 0; padding: 25px 30px; border-left: 4px solid var(--gold); background: var(--gold-soft); font-family: var(--serif); font-size: 1.15rem; }
.markdown blockquote p:last-child { margin-bottom: 0; }
.military-ranks-page .markdown blockquote { position: relative; margin: 30px 0 48px; padding: 24px 28px 24px 76px; border: 1px solid #c8a94d; border-left: 4px solid var(--gold); background: linear-gradient(135deg, #fff9df, var(--gold-soft)); box-shadow: 0 12px 28px rgba(95, 75, 18, .08); font-family: inherit; font-size: 1rem; }
.military-ranks-page .markdown blockquote::before { position: absolute; top: 24px; left: 22px; content: "💡"; font-size: 1.7rem; line-height: 1; }
.military-ranks-page .markdown blockquote p { margin: 0; }
.military-ranks-page .markdown blockquote p + p { margin-top: 7px; }
.military-ranks-page .markdown blockquote strong { color: var(--ink); font-family: var(--serif); font-size: 1.12rem; }
.markdown table { width: 100%; margin: 30px 0 45px; border-collapse: collapse; font-size: .82rem; line-height: 1.45; }
.markdown th, .markdown td { padding: 11px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.markdown th { background: #e8ece6; }
.markdown hr { margin: 55px 0; border: 0; border-top: 1px solid var(--line-dark); }
.markdown code { padding: 2px 5px; background: #e7ebe5; }
.longform { max-width: 920px; font-size: 1rem; }
.longform > p:first-of-type { font-size: 1.06rem; }
.briefing-panel .briefing-panel__content > h2:first-child { margin-top: 0; }
.confidential-banner { display: flex; align-items: center; gap: 18px; margin-bottom: 35px; padding: 16px 20px; background: var(--ink); color: white; }
.confidential-banner > span { display: flex; width: 35px; height: 35px; align-items: center; justify-content: center; border: 1px solid var(--gold); color: var(--gold); }
.confidential-banner div { margin-right: auto; }
.confidential-banner strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.confidential-banner p { margin: 2px 0 0; color: #c3cdc7; font-size: .72rem; }
.confidential-banner--facilitator { background: var(--danger); }
.focus-toggle { border: 1px solid rgba(255,255,255,.4); background: transparent; color: white; padding: 8px 11px; cursor: pointer; font-size: .68rem; font-weight: 750; }
.role-cover { max-width: 930px; padding: 30px 0 45px; border-bottom: 1px solid var(--line); }
.role-cover h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.role-cover > p:last-child { max-width: 730px; color: var(--muted); }
.role-paper { max-width: 920px; margin: 0 auto; padding: 60px 70px 80px; border: 1px solid var(--line); border-top: 0; background: var(--white); box-shadow: 0 30px 70px rgba(23,37,31,.08); }
.role-paper > h2:first-child { margin-top: 0; }
.role-exit { max-width: 920px; margin: 35px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.role-exit p { margin: 0; color: var(--muted); font-size: .78rem; }
.focus-mode .site-header, .focus-mode .site-footer, .focus-mode .breadcrumbs, .focus-mode .role-cover, .focus-mode .role-exit { display: none; }
.focus-mode .page { padding-top: 30px; }
.focus-mode .confidential-banner { max-width: 920px; margin-left: auto; margin-right: auto; }
.role-gate { max-width: 920px; text-align: center; }
.role-gate__lock { width: 100px; height: 100px; margin: 0 auto 35px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 50%; font: 2.2rem/1 var(--serif); }
.role-gate h1 { max-width: 800px; margin-left: auto; margin-right: auto; font-size: clamp(3rem, 6vw, 5.5rem); }
.role-gate__lead { max-width: 670px; margin: 0 auto 45px; color: var(--muted); }
.variant-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: left; }
.variant-grid a { min-height: 220px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-right: 0; background: var(--white); text-decoration: none; }
.variant-grid a:last-child { border-right: 1px solid var(--line); }
.variant-grid a:hover { background: var(--ink); color: white; }
.variant-grid a > span { color: var(--green-deep); font: 3rem/1 var(--serif); }
.variant-grid a:hover > span { color: var(--gold); }
.variant-grid strong { margin-top: 30px; }
.variant-grid small { margin-top: auto; color: var(--green-deep); font-weight: 750; }
.role-gate .callout { text-align: left; }

.journal-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 55px; border: 1px solid var(--line); background: var(--white); }
.journal-summary div { padding: 30px; border-right: 1px solid var(--line); }
.journal-summary div:last-child { border-right: 0; }
.journal-summary span { display: block; font: 3.2rem/1 var(--serif); color: var(--green-deep); }
.journal-summary small { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.journal-table-wrap { overflow-x: auto; }
.journal-table { width: 100%; min-width: 950px; border-collapse: collapse; background: var(--white); font-size: .76rem; }
.journal-table th, .journal-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.journal-table thead th { color: var(--muted); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.journal-table tbody th { min-width: 230px; text-align: left; }
.journal-table tbody th a { display: flex; gap: 12px; text-decoration: none; }
.journal-table tbody th span { color: var(--green-deep); }
.journal-table td.has-value { color: var(--green-deep); font-weight: 800; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--line-dark); }
.journal-table td.is-complete { color: var(--green-deep); }
.journal-table td.is-complete .status-dot { background: var(--green); }
.journal-detail { margin-top: 85px; }
.journal-detail__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.journal-detail__grid article { padding: 25px; border: 1px solid var(--line); background: var(--white); }
.journal-detail__grid h3 { font-size: 1.4rem; }
.journal-detail__grid strong { display: block; margin-top: 18px; color: var(--green-deep); font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.journal-detail__grid p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.journal-empty { grid-column: 1 / -1; padding: 35px; border: 1px dashed var(--line-dark); color: var(--muted); text-align: center; }
.journal-toolbar { margin-top: 50px; display: flex; align-items: center; gap: 12px; }
.journal-toolbar p { margin: 0 0 0 auto; max-width: 420px; color: var(--muted); font-size: .72rem; text-align: right; }

.world-hero { min-height: 640px; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--blue); }
.world-hero > div { align-self: center; padding: 65px; }
.world-hero h1 { font-size: clamp(4rem, 7.5vw, 7.7rem); }
.world-hero > div > p:last-of-type { max-width: 530px; color: #3e554b; }
.world-hero figure { position: relative; margin: 0; overflow: hidden; }
.world-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.world-hero figcaption { position: absolute; right: 0; bottom: 0; padding: 12px 18px; background: var(--ink); color: white; font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.doctrine { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 110px 30px; }
.doctrine h2 { font-size: clamp(2.6rem, 5vw, 5.3rem); }
.doctrine blockquote { margin: 30px 0 0; color: #42534b; font: 1.3rem/1.65 var(--serif); }
.world-entities { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.world-entities article { min-height: 260px; padding: 32px; border-right: 1px solid var(--line); background: var(--white); }
.world-entities article:last-child { border-right: 0; }
.world-entities span { color: var(--green-deep); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.world-entities h3 { margin-top: 42px; font-size: 1.6rem; }
.world-entities p { color: var(--muted); font-size: .83rem; }
.fiction-note { margin-top: 55px; display: flex; align-items: baseline; gap: 50px; padding: 26px 32px; border-left: 4px solid var(--blue-deep); background: #e4eef1; }
.fiction-note p { margin: 0; color: #43564c; font-size: .82rem; }
.manifest-page { max-width: 1040px; }
.manifest-cover { display: grid; grid-template-columns: 270px 1fr; gap: 55px; align-items: center; padding: 38px; background: var(--blue); }
.manifest-cover img { width: 100%; }
.manifest-cover h1 { font-size: clamp(2.7rem, 5.4vw, 5.3rem); }
.manifest-cover p:last-child { color: #42584d; }
.manifest-text { max-width: 920px; margin: 70px auto 0; overflow: visible; }
.manifest-title { max-width: 920px; }
.manifest-title > h2:first-child { margin-bottom: 0; }
.manifest-reading { position: relative; width: min(840px, 100%); margin: 12px auto 0; }
.manifest-figures { position: relative; z-index: 2; width: 100%; height: 0; pointer-events: none; }
.manifest-figure { position: absolute; top: 0; width: auto; max-width: none; height: 400px; }
.manifest-figure--left { right: calc(100% - 10px); }
.manifest-figure--right { right: -45px; transform: translateX(50%); }
.manifest-body { position: relative; z-index: 1; max-width: 840px; }
.manifest-body__lead { display: flow-root; }
.manifest-body__lead > p:first-child { margin-top: 0; }
.manifest-body__lead > p:last-child { margin-bottom: 20px; }
.manifest-body .manifest-paragraph--narrow { width: 75%; max-width: 75%; }
.flag-wide { margin: 0 0 65px; max-height: 540px; overflow: hidden; }
.flag-wide img { width: 100%; height: 100%; object-fit: cover; }
.world-march { margin: 65px 0 0; overflow: hidden; }
.world-march img { width: 100%; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.guide-grid a { min-height: 220px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-right: 0; border-bottom: 0; background: var(--white); text-decoration: none; }
.guide-grid a:nth-child(4n) { border-right: 1px solid var(--line); }
.guide-grid a:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
.guide-grid a:hover { background: var(--blue); }
.guide-grid span { color: var(--green-deep); font-size: .7rem; font-weight: 800; }
.guide-grid strong { margin-top: 33px; font: 1.3rem/1.2 var(--serif); }
.guide-grid small { margin-top: auto; color: var(--green-deep); font-weight: 700; }
.compact-stage-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.compact-stage-list a { display: grid; grid-template-columns: 32px 1fr; padding: 16px; border-bottom: 1px solid var(--line); text-decoration: none; }
.compact-stage-list span { grid-row: 1 / 3; color: var(--green-deep); font-size: .68rem; font-weight: 800; }
.compact-stage-list strong { font: 1rem/1.2 var(--serif); }
.compact-stage-list small { color: var(--muted); font-size: .67rem; }
.empty-state { max-width: 760px; text-align: center; }
.empty-state > span { color: var(--gold); font: 6rem/1 var(--serif); }
.empty-state h1 { font-size: 3.6rem; }
.empty-state p { color: var(--muted); }

.site-footer { background: var(--ink); color: white; }
.site-footer__inner { width: min(1320px, calc(100% - 48px)); min-height: 230px; margin: auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { object-fit: contain; }
.footer-brand .footer-brand__symbol { width: 56px; height: 53px; }
.footer-brand .footer-brand__wordmark { width: auto; height: 49.92px; transform: translateY(6px); }
.footer-company { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; margin: 0; color: #d4ddd8; font-size: .76rem; font-style: normal; line-height: 1.45; text-align: right; transform: translateY(21px); }
.footer-company strong { color: white; }
.footer-company a { color: #d4ddd8; }
.footer-note { grid-column: 1 / -1; max-width: 790px; margin: -25px 0 25px; padding-top: 18px; border-top: 1px solid #35463e; color: #8fa097; font-size: .67rem; }

@media (max-width: 1050px) {
    .site-header__inner { min-height: 70px; }
    .header-cta { display: none; }
    .top-nav { margin-left: auto; }
    .stage-hero { grid-template-columns: 110px 1fr; }
    .stage-complete { grid-column: 2; width: auto; justify-self: start; }
    .board-act { grid-template-columns: 1fr; gap: 18px; }
    .board-act > header { max-width: 600px; }
    .role-cards { grid-template-columns: repeat(2, 1fr); }
    .role-card { border-bottom: 0; }
    .role-card:nth-child(2) { border-right: 1px solid var(--line); }
    .role-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
    .role-card--secret { border-bottom-color: var(--ink); }
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-grid a:nth-child(2n) { border-right: 1px solid var(--line); }
    .guide-grid a:nth-last-child(-n+4) { border-bottom: 0; }
    .guide-grid a:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
    body { font-size: 15px; }
    .site-header__inner { width: min(100% - 28px, 1320px); }
    .nav-toggle { margin-left: auto; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; background: transparent; }
    .nav-toggle span { width: 20px; height: 1px; background: var(--ink); }
    .nav-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; }
    .top-nav { display: none; position: fixed; inset: 70px 0 auto; max-height: calc(100vh - 70px); overflow: auto; padding: 10px 18px 25px; background: var(--white); border-bottom: 1px solid var(--line); }
    .top-nav.is-open { display: block; }
    .top-nav > a, .nav-item__head > a { min-height: 50px; padding: 0 7px; }
    .top-nav > a:after, .nav-item__head > a:after { display: none; }
    .nav-item { display: block; }
    .nav-item__head { justify-content: space-between; border-top: 1px solid var(--line); }
    .nav-item__head button { position: relative; display: block; width: 48px; border: 0; background: transparent; }
    .nav-item__head button:before, .nav-item__head button:after { content: ""; position: absolute; left: 19px; top: 24px; width: 11px; height: 1px; background: var(--ink); }
    .nav-item__head button:after { transform: rotate(90deg); }
    .nav-item.is-open .nav-item__head button:after { display: none; }
    .nav-menu { position: static; min-width: 0; max-height: none; padding: 4px 8px 12px; border: 0; box-shadow: none; background: #f0f1eb; }
    .nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu { display: none; }
    .nav-item.is-open .nav-menu { display: block; }
    .section-wrap, .page, .stage-page, .page--wide { width: min(100% - 30px, 1320px); }
    .hero { min-height: 720px; }
    .hero__veil { background: linear-gradient(0deg, rgba(12,27,21,.98) 0%, rgba(12,27,21,.75) 62%, rgba(12,27,21,.3)); }
    .hero__content { width: min(100% - 36px, 1320px); padding-bottom: 35px; }
    .hero h1 { font-size: clamp(3.4rem, 14vw, 6rem); }
    .hero__facts { gap: 23px; }
    .hero__facts div { display: block; }
    .hero__facts dd { margin-top: 5px; }
    .intro-grid, .world-teaser, .world-hero, .doctrine, .safety-panel { grid-template-columns: 1fr; }
    .intro-grid { gap: 10px; padding-top: 75px; padding-bottom: 75px; }
    .role-strip { padding-top: 75px; padding-bottom: 75px; }
    .role-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .role-strip article:nth-child(3) { border-left: 1px solid var(--line); }
    .act-grid { grid-template-columns: 1fr; }
    .act-card--2 { transform: none; }
    .act-card > p:not(.act-card__range) { min-height: 0; }
    .world-teaser__copy, .world-teaser__flag { padding: 42px; }
    .board-stages { grid-template-columns: repeat(2, 1fr); }
    .principles { grid-template-columns: 1fr; }
    .principles article, .principles article:nth-child(odd), .principles article:nth-child(n+3) { border-right: 0; border-bottom: 1px solid var(--line); }
    .principles article:last-child { border-bottom: 0; }
    .phase-copy { grid-template-columns: 1fr auto; }
    .phase-copy > span { grid-column: 1 / -1; }
    .stage-hero { grid-template-columns: 75px 1fr; gap: 25px; padding: 32px 25px; }
    .stage-hero__index strong { font-size: 3.9rem; }
    .stage-tabs { overflow-x: auto; gap: 24px; }
    .stage-tabs a { white-space: nowrap; }
    .briefing-panel { grid-template-columns: 1fr; gap: 30px; }
    .journal-grid { grid-template-columns: 1fr; gap: 38px; }
    .stage-journal { padding: 35px 24px; }
    .world-hero > div { padding: 45px 32px; }
    .world-hero figure { min-height: 400px; }
    .doctrine { gap: 20px; padding: 75px 15px; }
    .world-entities { grid-template-columns: 1fr; }
    .world-entities article { border-right: 0; border-bottom: 1px solid var(--line); }
    .fiction-note { display: block; }
    .manifest-cover { grid-template-columns: 1fr; }
    .manifest-cover img { width: 230px; }
    .manifest-reading { width: 100%; margin-top: 18px; }
    .manifest-figures { position: relative; height: 290px; margin-bottom: 24px; overflow: hidden; }
    .manifest-figure { top: 0; height: 290px; }
    .manifest-figure--left { right: auto; left: 0; }
    .manifest-figure--right { right: 0; transform: translateX(50%); }
    .manifest-body { max-width: none; }
    .manifest-body .manifest-paragraph--narrow { width: 100%; max-width: none; }
    .journal-detail__grid { grid-template-columns: 1fr 1fr; }
    .compact-stage-list { grid-template-columns: repeat(2, 1fr); }
    .site-footer__inner { grid-template-columns: 1fr; padding: 45px 0; }
    .footer-company { align-items: flex-start; text-align: left; transform: none; }
    .footer-note { margin: 0; }
}

@media (max-width: 560px) {
    .brand { gap: 9px; }
    .brand img { height: 34px; }
    .brand .brand__wordmark { height: 30.6px; transform: translateY(7px); }
    .page { padding-top: 55px; padding-bottom: 75px; }
    .page-header { margin-bottom: 42px; }
    .page-header h1 { font-size: 3.15rem; }
    .section-heading--split { display: block; }
    .hero h1 { font-size: 3.55rem; }
    .hero__lead { font-size: .95rem; }
    .button-row .button { width: 100%; }
    .hero__facts { justify-content: space-between; margin-top: 36px; }
    .hero__facts dt { font-size: 1.45rem; }
    .hero__facts dd { font-size: .54rem; }
    .role-strip__grid, .board-stages, .role-cards, .journal-summary, .guide-grid, .compact-stage-list { grid-template-columns: 1fr; }
    .role-strip article { min-height: 215px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .role-strip article:last-child { border-bottom: 0; }
    .role-strip h3 { margin-top: 25px; }
    .act-card { padding: 28px 23px; }
    .world-teaser__copy, .world-teaser__flag { padding: 30px 23px; }
    .board-stage { min-height: 260px; border-right: 1px solid var(--line); border-bottom: 0; }
    .board-stage:last-child { border-bottom: 1px solid var(--line); }
    .round-phases li > label, .round-phases li:not(:has(label)) { grid-template-columns: 45px 1fr; gap: 12px; padding-left: 5px; padding-right: 5px; }
    .round-phases--interactive li > label { grid-template-columns: 24px 32px 1fr; }
    .phase-copy { gap: 5px 10px; }
    .safety-panel { padding: 35px 24px; gap: 25px; }
    .next-panel { align-items: stretch; flex-direction: column; }
    .stage-page { padding-top: 15px; }
    .stage-hero { grid-template-columns: 1fr; }
    .stage-hero__index { min-height: 68px; flex-direction: row; justify-content: start; align-items: baseline; gap: 10px; border-right: 0; border-bottom: 1px solid rgba(23,37,31,.25); }
    .stage-hero__index strong { font-size: 3rem; }
    .stage-complete { grid-column: 1; }
    .role-card { min-height: 255px; border-right: 1px solid var(--line); border-bottom: 0; }
    .role-card:nth-child(2) { border-right: 1px solid var(--line); }
    .role-card:last-child { border-bottom: 1px solid var(--line); }
    .stage-journal { margin-left: -15px; margin-right: -15px; }
    .stage-pagination { grid-template-columns: 1fr; }
    .stage-pagination__next { text-align: left; }
    .confidential-banner { align-items: flex-start; flex-wrap: wrap; }
    .focus-toggle { margin-left: 53px; }
    .role-paper { margin-left: -8px; margin-right: -8px; padding: 38px 23px 55px; }
    .role-exit { align-items: stretch; flex-direction: column; }
    .variant-grid { grid-template-columns: repeat(2, 1fr); }
    .variant-grid a:nth-child(2) { border-right: 1px solid var(--line); }
    .variant-grid a:nth-child(-n+2) { border-bottom: 0; }
    .markdown table { display: block; max-width: 100%; overflow-x: auto; }
    .manifest-cover { margin-left: -15px; margin-right: -15px; padding: 28px 22px; }
    .journal-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
    .journal-summary div:last-child { border-bottom: 0; }
    .journal-detail__grid { grid-template-columns: 1fr; }
    .journal-toolbar { align-items: stretch; flex-direction: column; }
    .journal-toolbar p { margin: 10px 0 0; text-align: left; }
    .guide-grid a, .guide-grid a:nth-child(2n), .guide-grid a:nth-last-child(-n+4) { border-right: 1px solid var(--line); border-bottom: 0; }
    .guide-grid a:last-child { border-bottom: 1px solid var(--line); }
    .site-footer__inner { width: min(100% - 30px, 1320px); }
}

@media print {
    .site-header, .site-footer, .confidential-banner button, .stage-tabs, .stage-pagination, .button { display: none !important; }
    body { background: white; }
    body:before { display: none; }
    .page, .stage-page { width: 100%; padding: 0; }
    .role-paper { max-width: none; padding: 20px 0; border: 0; box-shadow: none; }
    a { text-decoration: none; }
}
