* { box-sizing: border-box; }
body { margin: 0; background: var(--soot); color: var(--ink); font: 16px/1.65 var(--font-text); }
h1, h2, h3, p, figure, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 4px; }
[hidden] { display: none !important; }
.contain { width: min(1250px, 88%); margin-inline: auto; }
.section { padding-block: clamp(54px, 7vw, 100px); }
.skip { position: absolute; z-index: 20; left: 16px; top: 0; transform: translateY(-150%); background: var(--soot); padding: 10px; }
.skip:focus { transform: none; }
.mast { position: relative; z-index: 2; background: var(--soot); border-bottom: 1px solid var(--line-soft); }
.mast .contain, .foot { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.mast .contain { height: 74px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font: 400 clamp(16px, 1.65vw, 24px)/1.05 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--bone); }
.rune { width: 25px; height: 38px; object-fit: contain; }
.mast nav { display: flex; gap: clamp(14px, 1.8vw, 26px); margin-left: auto; }
.mast nav a, .language, .nav-play, .discover, .foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.mast nav a, .language, .foot-links a { color: var(--muted); }
.mast a:hover, .foot a:hover { color: var(--accent-strong); }
.language { justify-content: center; min-width: 44px; }
.arrow { width: .65em; height: .65em; display: inline-block; position: relative; border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.arrow::before { content: ''; position: absolute; top: -1px; right: 0; width: 125%; border-top: 1.5px solid currentColor; transform-origin: right; transform: rotate(-45deg); }
.nav-play { padding: 0 18px; border: 1px solid var(--gold); gap: 12px; color: var(--gold); }
.hero { isolation: isolate; position: relative; overflow: hidden; background: var(--soot); border-bottom: 1px solid var(--line); }
.hero-ground { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgb(7 13 16 / .94) 2%, rgb(7 13 16 / .64) 35%, transparent 72%), linear-gradient(0deg, var(--soot), transparent 31%), url('/assets/eclipse-battle.webp') center 35% / cover; }
.hero-ground::after { content: ''; position: absolute; inset: 0; background: var(--tex-grain); opacity: .3; }
.hero-inner { min-height: clamp(550px, 43vw, 680px); position: relative; display: flex; align-items: center; }
.hero-copy { padding-block: 58px 72px; width: 45%; }
.kicker, .specimen span { color: var(--gold); text-transform: uppercase; font: 650 11px/1.5 var(--font-text); letter-spacing: .16em; }
.kicker { display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, .specimen strong { font-family: var(--font-display); font-weight: 400; }
h1 { margin: 20px 0 24px; font-size: clamp(70px, 7.8vw, 128px); letter-spacing: -.065em; line-height: .91; color: var(--ink); }
html:lang(fr) .hero h1 { font-size: clamp(44px, 6.9vw, 112px); }
h1 em { color: var(--gold); font-style: normal; }
.pitch, .lead, .moves p { color: var(--muted); max-width: 50ch; }
.pitch { color: var(--ink); max-width: 39ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; margin-top: 30px; }
.gold-button { display: inline-flex; min-height: 50px; padding: 11px 24px; align-items: center; justify-content: center; gap: 26px; color: var(--accent-ink); background: var(--tex-grain), var(--gold); font-weight: 720; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.gold-button:hover { color: var(--accent-ink); background: var(--accent-strong); }
.gold-button:focus-visible { outline-color: var(--accent-ink); outline-offset: -5px; }
.discover { gap: 12px; color: var(--ink); }
.hero-beast { position: absolute; z-index: -1; right: max(3%, calc((100vw - 1440px) / 2)); bottom: 10%; width: min(54%, 850px); height: 80%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 9px rgb(0 0 0 / .75)); }
.specimen { position: absolute; right: 0; bottom: 21px; display: grid; gap: 2px; text-align: right; padding-right: 12px; border-right: 2px solid var(--brand-ember); text-shadow: 0 1px 6px var(--soot); }
.specimen strong { font-size: 22px; line-height: 1.1; }
.specimen span { font-size: 9px; color: var(--bone); }
h2 { font-size: clamp(37px, 4.5vw, 75px); line-height: 1.07; letter-spacing: -.045em; margin-top: 12px; color: var(--bone); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head .lead { max-width: 40ch; }
.selector { display: flex; width: fit-content; max-width: 100%; border-bottom: 1px solid var(--line); }
.selector a { display: grid; align-items: center; min-height: 46px; padding-inline: clamp(12px, 2vw, 28px); color: var(--muted); border-bottom: 2px solid transparent; }
.selector a[aria-selected="true"], .selector a:hover { color: var(--gold); border-bottom-color: var(--gold); background: linear-gradient(0deg, var(--accent-wash), transparent); }
.moves { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.duel { background: var(--tex-grain), linear-gradient(110deg, var(--panel), var(--paper)); border-block: 1px solid var(--line-soft); }
.duel .lead { margin-top: 16px; }
.moves { gap: clamp(22px, 5vw, 80px); margin-top: 36px; }
.moves li { border-top: 1px solid var(--line); padding-top: 16px; }
.moves li > span { color: var(--brand-ember); font: 13px var(--font-display); }
.moves h3 { margin-block: 9px; font-size: 29px; line-height: 1.1; }
.moment { margin-top: 16px; background: var(--paper); border: 1px solid var(--line-soft); }
.landscape { position: relative; overflow: hidden; aspect-ratio: 2.75; }
.landscape img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 32%; }
.landscape.shattered { aspect-ratio: 2.75; container-type: inline-size; }
.shattered img { position: absolute; height: auto; bottom: calc(50% - 33.70cqw); }
.shattered img.sky { bottom: auto; top: calc(50% - 22.58cqw); }
.moment figcaption { display: flex; gap: 18px; padding: 14px 20px; color: var(--muted); }
.moment strong { flex: none; color: var(--gold); }
.play-modes { border-block: 1px solid var(--line-soft); background: linear-gradient(100deg, var(--soot), rgb(7 13 16 / .88) 56%, rgb(7 13 16 / .46)), url('/assets/breach.webp') center 56% / cover; }
.mode-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); padding: 0; margin: clamp(22px, 3vw, 40px) 0 0; list-style: none; }
.mode-list li { padding: clamp(16px, 2.2vw, 30px); background: var(--paper-glass); border-top: 2px solid var(--brand-line); }
.mode-list li:nth-child(2) { border-color: var(--brand-ember); }
.mode-list li:last-child { border-color: var(--gold); }
.mode-list h3 { margin-bottom: 11px; font-size: clamp(24px, 2.25vw, 34px); line-height: 1.15; color: var(--bone); }
.mode-list p { color: var(--muted); }
@media (max-width: 760px) {
  .mode-list { grid-template-columns: 1fr; gap: 12px; }
}
.play-note { margin-top: 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.story { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 100px); align-items: start; }
.story h2 { max-width: 16ch; margin-bottom: 28px; }
.story-copy > p:not(.kicker), .tabletop-note p { margin-top: 18px; color: var(--muted); max-width: 65ch; }
.story-copy > p:last-of-type { color: var(--ink); }
.story h3 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; color: var(--bone); }
.tabletop-note { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.tabletop-note p { margin-top: 12px; }
.commitments { padding: clamp(22px, 3vw, 36px); background: var(--tex-grain), var(--paper); border-top: 2px solid var(--brand-ember); }
.commitments dl { margin: 24px 0 0; }
.commitments dl > div + div { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.commitments dt { color: var(--gold); font-weight: 650; }
.commitments dd { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.foot { justify-content: space-between; padding-block: 28px; }
.foot .wordmark { font-size: 15px; }
.foot .rune { height: 25px; width: 18px; }
.foot-brand { display: grid; gap: 4px; flex: none; }
.foot-brand small { color: var(--muted); font-size: 12px; }
@media (max-width: 850px) {
  .contain { width: 90%; }
  .mast nav { display: none; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .language { margin-left: auto; }
  .hero-copy { width: 53%; }
  .section-head { display: grid; gap: 14px; }
  .section-head .lead { max-width: 56ch; }
}
@media (max-width: 600px) {
  .mast .contain { height: 62px; gap: 8px; }
  .wordmark { gap: 6px; font-size: 15px; }
  .wordmark .rune { width: 18px; height: 29px; }
  .nav-play { gap: 6px; padding-inline: 9px; font-size: 12px; }
  .language { min-width: 36px; font-size: 12px; }
  .hero-inner { min-height: 0; display: block; }
  .hero-copy { width: 100%; padding-block: clamp(195px, 57vw, 330px) 35px; }
  .hero-ground { background: linear-gradient(0deg, var(--soot) 27%, transparent 85%), url('/assets/eclipse-battle.webp') center top / auto 68% no-repeat; }
  .hero-beast { width: 79%; height: clamp(168px, 48vw, 280px); right: 4%; top: 12px; bottom: auto; }
  .specimen { top: 16px; bottom: auto; right: auto; left: 0; border: 0; padding: 3px 6px; text-align: left; background: rgb(7 13 16 / .76); }
  .specimen strong { font-size: 15px; } .specimen span { font-size: 8px; }
  h1 { font-size: clamp(57px, 14vw, 82px); line-height: .93; margin-block: 12px 18px; }
  html:lang(fr) .hero h1 { font-size: clamp(44px, 12.6vw, 70px); }
  .pitch, .lead { font-size: 15px; }
  .actions { margin-top: 20px; gap: 6px 18px; }
  .gold-button { gap: 14px; padding-inline: 18px; }
  .section-head { margin-bottom: 20px; }
  .selector a { padding-inline: 14px; font-size: 14px; }
  .moves { grid-template-columns: 1fr; gap: 22px; }
  .moves li { display: grid; grid-template-columns: 26px 1fr; gap: 5px; }
  .moves li > span { align-self: center; }
  .moves h3 { margin: 0; } .moves p { grid-column: 2; }
  .landscape, .landscape.shattered { aspect-ratio: 1672 / 941; }
  .shattered img { bottom: 0; } .shattered img.sky { top: 0; }
  .moment figcaption { display: grid; gap: 3px; padding: 12px; font-size: 14px; }
  .foot { gap: 8px 20px; flex-wrap: wrap; }
}
.foot-links, .family-jumps, .catalogue-counts { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; }
.foot-links { margin-left: auto; }
.foot-links a { font-size: 13px; }
.mast [aria-current], .foot [aria-current] { color: var(--gold); }
.mutation-story { background: var(--tex-grain), linear-gradient(145deg, var(--paper), var(--soot) 65%); border-top: 1px solid var(--line-soft); }
.lore-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 5vw, 70px); max-width: 1060px; color: var(--muted); }
.lore-columns p:first-child { color: var(--ink); }
.case { margin-top: clamp(24px, 4vw, 58px); border: 1px solid var(--line-soft); background: var(--paper); }
.case-header { padding: clamp(20px, 3vw, 40px) clamp(18px, 4vw, 54px) 12px; }
.case h3, .guide-invite h3 { font-size: clamp(27px, 3.4vw, 48px); line-height: 1.12; color: var(--bone); margin-top: 10px; }
.case .selector { width: 100%; flex-wrap: wrap; padding-inline: clamp(10px, 3vw, 40px); }
.case .selector a { padding-inline: clamp(8px, 1.6vw, 24px); font-size: 14px; }
.specimen-step { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: center; gap: clamp(22px, 4vw, 64px); padding: clamp(14px, 3vw, 38px) clamp(18px, 4vw, 54px); border-top: 1px solid var(--line-soft); }
.specimen-stage, .field-art { display: grid; place-items: center; background: radial-gradient(ellipse at 51% 64%, #283438 0%, transparent 65%); }
.specimen-stage { position: relative; aspect-ratio: 1.8; min-width: 0; }
.specimen-stage::before { content: ''; position: absolute; inset: 6% 24%; border: 1px solid var(--line-soft); border-radius: 50%; }
.specimen-stage img, .field-art img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.specimen-stage img { max-height: 310px; filter: drop-shadow(0 10px 7px rgb(0 0 0 / .6)); }
.specimen-step h4 { margin: 12px 0 14px; color: var(--bone); font: 400 clamp(27px, 3vw, 46px)/1.08 var(--font-display); }
.specimen-step figcaption > p:last-child { color: var(--muted); max-width: 46ch; }
.guide-invite { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 30px; display: flex; gap: 20px 32px; align-items: center; justify-content: space-between; }
.guide-invite h3 { font-size: clamp(22px, 2.3vw, 35px); }
.guide-invite p { color: var(--muted); margin-top: 8px; }
.outline-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; flex: none; min-height: 48px; padding: 8px 18px; color: var(--gold); border: 1px solid var(--gold); }
.outline-button:hover { background: var(--accent-wash); }
.editorial-link { display: inline-block; color: var(--gold); text-decoration: underline; text-underline-offset: .26em; margin-top: 18px; }
.guide-page, .policy { padding-block: clamp(30px, 5vw, 75px); }
.guide-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 30px; }
.guide-head h1, .policy h1 { font-size: clamp(48px, 6.5vw, 104px); line-height: 1.01; margin: 13px 0 19px; }
.guide-head img { width: 100%; height: clamp(175px, 20vw, 290px); object-fit: contain; background: radial-gradient(ellipse, var(--raised), transparent 69%); }
.catalogue-counts { color: var(--gold); font-size: 14px; margin-top: 22px; gap: 8px; }
.catalogue-counts span { color: var(--muted); }
.guide-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 20px; }
.family-jumps { gap: 6px; }
.family-jumps a { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--line-soft); padding: 6px 16px; color: var(--bone); }
.family-jumps a:hover, .path-map a:hover { background: var(--accent-wash); }
.field-search label, .requirement, .roman, .reading-hint, .policy-date { color: var(--muted); font-size: 13px; }
.field-search label { display: block; }
.field-search > div { display: flex; gap: 8px; flex-wrap: wrap; }
.field-search input, .field-search button { min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; }
.field-search input { width: min(100%, 295px); }
.field-search button { color: var(--gold); cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
[data-results] { margin-bottom: 22px; padding: 18px; border-left: 2px solid var(--gold); background: var(--paper); }
[data-results] h2, .base-record h2 { font-size: clamp(24px, 2.5vw, 36px); }
.search-results { list-style: none; padding: 0; margin: 8px 0 0; }
.search-results a, .path-map a, .requirement a { color: var(--gold); text-decoration: underline; text-underline-offset: .22em; }
.search-results a { display: inline-block; padding-block: 8px; }
.base-record { padding: clamp(16px, 2.5vw, 35px); background: var(--paper); border: 1px solid var(--line-soft); }
.base-record > p:not(.kicker) { margin-top: 8px; color: var(--muted); }
.reading-hint { margin: 28px 0 0; }
.family-record { margin: clamp(24px, 4vw, 58px) 0; scroll-margin-top: 12px; }
.family-record header { display: flex; gap: 16px 60px; flex-wrap: wrap; align-items: end; justify-content: space-between; padding-bottom: 16px; }
.family-record h2 { font-size: clamp(38px, 4vw, 60px); }
.path-map { display: grid; font-size: 14px; }
.path-map div { display: flex; gap: 10px; align-items: center; }
.path-map a { padding-block: 4px; }
.path-map span { color: var(--muted); }
.form-entry { border-top: 1px solid var(--line-soft); scroll-margin-top: 14px; }
.form-entry:last-child { border-bottom: 1px solid var(--line-soft); }
.form-entry summary { display: grid; align-items: center; grid-template-columns: 35px minmax(0, .8fr) minmax(0, 1fr) 24px; gap: 10px; list-style: none; cursor: pointer; padding: 13px clamp(8px, 1.4vw, 22px); }
.form-entry summary::-webkit-details-marker { display: none; }
.form-entry summary::after { content: '+'; color: var(--gold); font-size: 21px; justify-self: end; }
.form-entry[open] summary::after { content: '−'; }
.form-entry summary:hover, .form-entry[open] { background: var(--paper); }
.form-entry summary strong { font: 400 clamp(19px, 2vw, 27px)/1.3 var(--font-display); color: var(--bone); }
.roman { color: var(--gold); }
.form-teaser { color: var(--muted); font-size: 13px; }
.field-entry { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(12px, 3vw, 46px); padding: 12px clamp(14px, 3vw, 40px) 26px; }
.field-art { aspect-ratio: 1.5; }
.field-art img { max-height: 245px; }
.anatomy { margin: 8px 0; max-width: 62ch; }
/* The guide uses the same stat marks and palette as the battle cards and history. */
.spell-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.spell-list > li { min-width: 0; padding: 13px 15px; scroll-margin-top: 14px; border: 1px solid var(--line-soft); border-radius: 4px; background: #142328; }
.spell-head, .spell-stats, .mutation-facts { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.spell-head { justify-content: space-between; }
.spell-head strong { color: var(--bone); font: 20px/1.2 var(--font-display); }
.spell-stats { gap: 4px; }
.spell-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border: 1px solid; border-radius: 3px; font: 650 12px/1.4 var(--font-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.spell-chip.cost { color: #8edcf0; border-color: #8edcf055; }
.spell-chip.crit { color: #f2d76b; border-color: #f2d76b55; }
.spell-chip.initiative { color: #d2b6f2; border-color: #d2b6f255; }
.spell-target, .passive-rule { color: var(--muted); font-size: 14px; }
.spell-target { margin: 8px 0; }
.spell-effects { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.spell-effects li { display: grid; grid-template-columns: 15px 1fr; align-items: baseline; gap: 6px; font-size: 14px; line-height: 1.45; }
.spell-list .caster { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.caster b { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.cue-icon { width: 13px; height: 13px; fill: currentColor; align-self: center; }
.cue-icon .stroked { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.cue-health-loss { color: #ef7a6c; } .cue-health-gain { color: #86d897; }
.cue-defense-gain { color: #8fc3ef; } .cue-defense-loss { color: #e8a76f; }
.cue-stun { color: #f2d76b; } .cue-energy-gain, .cue-energy-loss { color: #8edcf0; }
.cue-initiative-gain, .cue-initiative-loss { color: #d2b6f2; } .cue-damage-gain { color: #f0b48a; }

.passive-entry { display: block; }
.policy header { max-width: 820px; }
.policy-date { margin-bottom: 14px; }
.policy header .lead { max-width: 65ch; }
.policy-grid { display: grid; grid-template-columns: minmax(160px, .52fr) minmax(0, 1.48fr); align-items: start; gap: clamp(20px, 4vw, 70px); border-top: 1px solid var(--line); margin-top: 30px; padding-top: 26px; }
.policy-grid nav { display: grid; padding: 17px; background: var(--paper); border-left: 2px solid var(--gold); }
.policy-grid nav h2 { font-size: 22px; margin: 0 0 9px; }
.policy-grid nav a { color: var(--muted); padding: 7px 0; font-size: 14px; }
.policy-grid nav a:hover { color: var(--gold); }
.policy-body section { max-width: 71ch; padding-bottom: 26px; margin-bottom: 20px; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 16px; }
.policy-body h2 { font-size: clamp(26px, 3vw, 42px); margin: 0 0 12px; }
.policy-body p { margin-top: 12px; color: var(--ink); }
.rights .policy-body { max-width: 71ch; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 850px) {
  .guide-invite { align-items: start; flex-direction: column; }
  .foot-links { gap: 0 14px; }
}
@media (max-width: 650px) {
  .lore-columns, .specimen-step, .field-entry, .policy-grid { grid-template-columns: 1fr; }
  .case .selector { display: flex; flex-wrap: wrap; padding: 0 8px; }
  .case .selector a { font-size: 13px; min-height: 44px; padding-inline: 8px; }
  .specimen-stage { width: 100%; max-height: 210px; }
  .specimen-stage img { max-height: 210px; }
  .specimen-step { gap: 12px; padding-bottom: 22px; }
  .guide-head { grid-template-columns: 1fr; gap: 8px; }
  .guide-head img { height: 145px; }
  .guide-tools, .family-record header { align-items: start; flex-direction: column; }
  .form-entry summary { grid-template-columns: 26px minmax(0,1fr) 20px; gap: 2px 7px; }
  .form-teaser { grid-row: 2; grid-column: 2; }
  .form-entry summary::after { grid-column: 3; grid-row: 1 / span 2; }
  .field-art { max-height: 175px; } .field-art img { max-height: 172px; }
  .foot { align-items: start; flex-direction: column; }
  .foot-links { margin-left: 0; }
  .policy-body p { font-size: 15px; }
}
@media (max-width: 400px) {
  .spell-list { grid-template-columns: 1fr; }
  .outline-button { white-space: normal; }
}
