/* Nineholds public pages. Palette generated from shared design; composition authored here. */
/* >>> nineholds:palette — GENERATED by openrp-tools/build-style.mjs from openrp-shared/design/*.json. DO NOT EDIT. <<< */
:root {
  color-scheme: dark;

  --canvas: #111416;
  --raised: #272E33;
  --console: #1B2024;
  --border: #344049;
  --border-strong: #73838D;
  --text: #E8EDF0;
  --text-2: #BEC8CE;
  --muted: #9CAAB3;

  --frost: #C4D9E5;
  --hairline: #87AABD;
  --status-warning: #E5B34A;

  --ember: #A9C4D4;
  --ember-hover: #C4D9E5;
  --on-ember: #111416;

  --brand-steel: #BEC8CE;
  --brand-frost: #C4D9E5;
  --brand-edge: #53636D;
  --brand-muted: #9CAAB3;

  /* The hero plate is theme-invariant: the lockup is silver and needs a dark ground in both. */
  --plate: #111416;
  --plate-glow: rgba(196, 217, 229, 0.18);
  --plate-edge: #344049;
  --plate-frost: #C4D9E5;

  --font-display: 'Bahnschrift SemiCondensed', 'Bahnschrift', 'Segoe UI Semibold', 'Arial Narrow', system-ui, sans-serif;
  --font-body: system-ui, 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', 'Cascadia Code', Consolas, 'Liberation Mono', Menlo, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;

    --canvas: #E4E9EB;
    --raised: #FFFFFF;
    --console: #F3F5F6;
    --border: #D5DDE2;
    --border-strong: #53636D;
    --text: #20282D;
    --text-2: #414F58;
    --muted: #53636D;

    --frost: #365E75;
    --hairline: #365E75;
    --status-warning: #74510D;

    --brand-steel: #414F58;
    --brand-frost: #365E75;
    --brand-edge: #9CAAB3;
    --brand-muted: #53636D;
  }
}
/* >>> /nineholds:palette <<< */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 16px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--frost); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--hairline); outline-offset: 5px; }
p, li, dd { color: var(--text-2); }
p { margin: 0 0 1rem; }
strong { color: var(--text); font-weight: 650; }
ol, ul { padding-left: 1.4rem; }
li { margin-bottom: .65rem; }
h1, h2, h3 { color: var(--text); font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.35rem; }
code { font: .85em/1.7 var(--font-mono); overflow-wrap: anywhere; color: var(--text); background: var(--console); padding: .15em .3em; }
.wrap { max-width: 86rem; padding: 0 clamp(1.1rem, 3vw, 3rem); margin: 0 auto; }
.skip-link { position: absolute; z-index: 5; top: -8rem; left: 1rem; padding: .65rem 1rem; background: var(--raised); color: var(--text); }
.skip-link:focus { top: 1rem; }
.site-nav { min-height: 6.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; flex-shrink: 0; font: 600 1.6rem/1.1 var(--font-display); letter-spacing: .03em; }
.brand small { display: block; font: 500 .65rem/1.6 var(--font-body); text-transform: uppercase; letter-spacing: .24em; color: var(--muted); margin-top: .3rem; }
.mark { display: block; width: 43px; height: 43px; flex-shrink: 0; }
.mark svg { width: 100%; height: 100%; display: block; }
.mark [data-ink="steel"] { fill: var(--brand-steel); }
.mark [data-ink="frost"] { fill: var(--brand-frost); stroke: var(--brand-frost); }
.mark [data-ink="muted"] { fill: var(--brand-muted); }
.mark [data-ink="edge"] { fill: var(--brand-edge); stroke: var(--brand-edge); }
.mark [fill="none"] { fill: none; }
.site-nav ul { display: flex; align-items: center; gap: clamp(.75rem, 1.8vw, 1.7rem); padding: 0; margin: 0; list-style: none; }
.site-nav li { margin: 0; }
.site-nav ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); font-size: .88rem; font-weight: 550; text-decoration: none; }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--frost); }
.site-nav ul a[aria-current] { text-decoration: underline; text-underline-offset: .45em; }
.site-nav ul .nav-join { padding: .25rem 1rem; border: 1px solid var(--border-strong); color: var(--text); border-radius: 3px; }
.eyebrow { color: var(--frost); text-transform: uppercase; font-size: .7rem; letter-spacing: .17em; line-height: 1.5; font-weight: 650; margin-bottom: .85rem; }
.lead { font-size: 1.14rem; line-height: 1.8; }
.fine { color: var(--muted); font-size: .85rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: 1.65rem; }
.cta, .quiet { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 48px; padding: .75rem 1.3rem; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font: 600 .95rem/1.4 var(--font-body); }
.cta { background: var(--ember); border-color: var(--ember); color: var(--on-ember); }
.cta:hover { background: var(--ember-hover); border-color: var(--ember-hover); color: var(--on-ember); }
.quiet { border-color: var(--border-strong); color: var(--text); }
.quiet:hover { border-color: var(--hairline); color: var(--frost); }
.text-link { display: inline-block; font-size: .9rem; font-weight: 600; padding: .5rem 0; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.home-main { padding: 1.3rem 0 4rem; }
.story-hero { position: relative; isolation: isolate; min-height: 39rem; display: flex; align-items: flex-end; overflow: hidden; background: var(--plate); border-radius: 5px; }
.story-hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.story-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--plate) 0%, transparent 95%), linear-gradient(0deg, var(--plate) 0%, transparent 90%); }
.story-hero-copy { max-width: 43rem; padding: clamp(2rem, 5vw, 4.5rem); }
.story-hero-copy h1 { color: var(--text); font-size: clamp(2.5rem, 4.8vw, 4.4rem); max-width: 16ch; }
.story-hero-copy p { color: var(--text-2); max-width: 47ch; }
.story-hero-copy .eyebrow { font-size: .68rem; color: var(--plate-frost); }
.story-hero-copy .quiet { color: var(--plate-frost); border-color: var(--plate-frost); }
.hero-lockup { display: block; width: auto; height: 4.4rem; margin-bottom: 1.3rem; }
.story-hero-copy .hero-access { color: var(--text-2); }
@media (prefers-color-scheme: light) {
  .story-hero-copy h1, .story-hero-copy p, .story-hero-copy .hero-access { color: var(--console); }
  .story-hero-copy .eyebrow { color: var(--plate-frost); }
}
.story-hero-copy .hero-access { font-size: .75rem; margin: 1.4rem 0 0; }
.intro-section { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 6vw, 6rem); padding: 5rem 1rem 3rem; }
.intro-section h2 { max-width: 12ch; font-size: clamp(2.4rem, 4vw, 3.6rem); }
.world-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; padding: 0 1rem 4.5rem; border-bottom: 1px solid var(--border); }
.world-features article { border-top: 1px solid var(--border-strong); padding-top: 1.25rem; }
.world-features p { font-size: .94rem; margin-bottom: 0; }
.feature-number { display: inline-block; font: 500 1.35rem var(--font-display); color: var(--muted); margin-bottom: 1rem; }
.news-section { padding: 3.5rem 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.section-heading h2 { margin: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.news-card { padding: 1.6rem; border: 1px solid var(--border); background: var(--console); border-radius: 4px; display: flex; flex-direction: column; align-items: flex-start; }
.news-card .eyebrow { font-size: .66rem; margin-bottom: .3rem; }
time { color: var(--muted); font-size: .8rem; }
.news-card h3 { margin-top: 1.2rem; }
.news-card h3 a { color: var(--text); text-decoration: none; }
.news-card h3 a:hover { color: var(--frost); }
.news-card p:not(.eyebrow) { font-size: .9rem; }
.news-card > .text-link { margin-top: auto; }
.join-banner { display: flex; justify-content: space-between; align-items: center; gap: 3rem; padding: 2.7rem 3rem; border-top: 1px solid var(--border-strong); background: var(--console); border-radius: 3px; }
.join-banner p:last-child { max-width: 53ch; margin: 0; }
.join-actions { flex-shrink: 0; display: grid; gap: .7rem; justify-items: center; }
.reading-page { max-width: 48rem; margin: 0 auto; padding: 4.5rem 0 5.5rem; }
.reading-page > h1 { margin-top: .3rem; }
.reading-page > .lead { margin-bottom: 2.5rem; }
.page-heading { margin-bottom: 3rem; }
.page-heading h1 { max-width: 20ch; margin: .5rem 0 1.5rem; }
.reading-page section { margin: 2.5rem 0; }
.reading-page h2 { font-size: 1.8rem; margin-top: 2.5rem; }
.reading-page h3 { font-size: 1.2rem; }
.page-index { display: flex; gap: .5rem 1.35rem; flex-wrap: wrap; padding: .85rem 0; margin: 2rem 0; border-block: 1px solid var(--border); }
.page-index a { font-size: .87rem; padding: .3rem 0; }
.requirements-list { list-style: none; padding: 0; }
.requirements-list li { padding: .9rem 0; border-bottom: 1px solid var(--border); margin: 0; }
.steps { list-style: none; padding: 0; margin: 1.5rem 0; }
.steps > li { margin: 0; border-bottom: 1px solid var(--border); }
.steps .panel { position: relative; padding: 1.75rem 0 1.75rem 3.6rem; margin: 0; background: none; border: 0; }
.steps .num { position: absolute; left: 0; top: 1.7rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; color: var(--frost); background: var(--console); border: 1px solid var(--border); border-radius: 50%; font-family: var(--font-display); }
.panel { padding: 1.5rem; margin: 1.5rem 0; background: var(--console); border: 1px solid var(--border); border-radius: 3px; }
.panel > :last-child { margin-bottom: 0; }
.panel h2, .note h2 { margin-top: 0; }
.note { margin: 2.5rem 0; padding: 1.6rem 1.8rem; background: var(--console); border-left: 2px solid var(--hairline); }
.note h2 { font-size: 1.35rem; }
.note > :last-child { margin-bottom: 0; }
details { border-bottom: 1px solid var(--border); padding: 1rem 0; }
summary { cursor: pointer; color: var(--text); font-size: 1rem; font-weight: 600; padding: .35rem 0; }
details[open] summary { margin-bottom: .8rem; }
details p:last-child { margin-bottom: 0; }
.steps details { border: 0; padding-bottom: 0; }
.steps summary { font-size: .87rem; color: var(--frost); }
.estate-panel { margin-top: 2.5rem; border: 1px solid var(--border-strong); padding: 1rem 1.4rem; background: var(--console); }
.estate-panel:target { border-color: var(--hairline); }
.timeline { padding-left: 1.7rem; border-left: 1px solid var(--border-strong); }
.timeline section { position: relative; padding-bottom: 1.5rem; }
.timeline section::before { content: ""; position: absolute; left: -2rem; top: .2rem; width: .55rem; height: .55rem; background: var(--frost); border-radius: 50%; }
.timeline h2 { margin-top: .5rem; }
.charter-list { padding-left: 1.5rem; }
.charter-list li { padding: .6rem 0 .6rem .6rem; border-bottom: 1px solid var(--border); }
.charter-list li::marker { color: var(--frost); }
dl.pairs { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem 1.5rem; }
dl.pairs dt { font-weight: 600; }
dl.pairs dd { margin: 0; }
.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.7rem; background: var(--console); border: 1px solid var(--border); border-radius: 4px; }
.download-panel h2 { margin-top: 0; }
.download-panel p:last-child { font-size: .85rem; margin: 0; }
.download-panel .cta { flex-shrink: 0; }
.checksum { display: block; padding: .8rem; margin-bottom: 1rem; }
.news-list { display: grid; gap: 1.2rem; }
.news-list .news-card { padding: 2rem; }
.news-page .page-heading { margin-top: 1.2rem; }
.news-page .page-heading h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.back-link { display: inline-block; margin-bottom: .8rem; font-size: .85rem; text-decoration: none; }
.article-body p { margin-bottom: 1.4rem; }
.legal h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
.legal h2 { font-size: 1.4rem; }
.legal .version { font-size: .88rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--border); padding: 2.2rem 0 2.5rem; font-size: .73rem; line-height: 1.65; }
.site-footer p { color: var(--muted); max-width: 105ch; margin-bottom: .8rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding: 0; margin: 1.2rem 0; list-style: none; }
.site-footer li { margin: 0; }
.site-footer a { display: inline-block; padding: .25rem 0; }
@media (max-width: 65rem) {
  .site-nav { flex-wrap: wrap; gap: .5rem 1.5rem; padding: 1rem 0; }
  .site-nav ul { flex-wrap: wrap; gap: .5rem 1.1rem; }
  .story-hero { min-height: 35rem; }
  .world-features { gap: 1.5rem; }
  .join-banner { padding: 2rem; gap: 2rem; }
}
@media (max-width: 45rem) {
  .site-nav { gap: .75rem; }
  .site-nav ul { width: 100%; justify-content: space-between; gap: .25rem .85rem; }
  .site-nav ul a { font-size: .8rem; }
  .site-nav ul .nav-join { padding: .2rem .6rem; }
  .story-hero { min-height: 35rem; }
  .story-hero-copy { padding: 2rem 1.35rem; }
  .story-hero-copy h1 { font-size: clamp(2.5rem, 8vw, 3.6rem); }
  .story-hero-copy .actions { gap: .65rem; }
  .story-hero-copy .cta, .story-hero-copy .quiet { font-size: .86rem; padding: .7rem 1rem; }
  .intro-section { grid-template-columns: 1fr; gap: 1rem; padding: 3.5rem .25rem 2rem; }
  .intro-section h2 { max-width: none; }
  .world-features, .news-grid { grid-template-columns: 1fr; }
  .world-features { padding: 0 .25rem 3rem; gap: 1.75rem; }
  .feature-number { margin-bottom: .75rem; }
  .news-section { padding: 2.5rem 0; }
  .news-card { padding: 1.5rem; }
  .news-card h3 { margin-top: .75rem; }
  .join-banner { flex-direction: column; align-items: flex-start; padding: 1.6rem; gap: 1.5rem; }
  .join-actions { justify-items: start; }
  .reading-page { padding-top: 3rem; padding-bottom: 3.5rem; }
  .page-heading { margin-bottom: 2rem; }
  .download-panel { flex-direction: column; align-items: flex-start; }
  .note { padding: 1.3rem; }
  .steps .panel { padding-left: 3.1rem; }
  .section-heading { align-items: center; }
  dl.pairs { grid-template-columns: 1fr; gap: .3rem; }
  dl.pairs dd { margin-bottom: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  a { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
}

/* Cold stone composition: the artist landscape fills the viewport; reading cards remain opaque. */
body { background: var(--canvas); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: url("/assets/backdrop.png") center center / cover no-repeat; pointer-events: none; }
.wrap { position: relative; isolation: isolate; }
.site-nav { padding: 1rem 1.5rem; background: var(--console); border: 1px solid var(--border); border-radius: 0 0 16px 16px; }
.mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.story-hero { min-height: 0; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 3.5vw, 3rem); margin-top: 1rem; background: var(--console); border: 1px solid var(--border); border-radius: 16px; overflow: visible; }
.story-hero::after { display: none; }
.story-hero-copy { min-width: 0; max-width: none; padding: 0; }
.story-hero-copy h1 { font-size: clamp(2.5rem, 4.2vw, 3.9rem); max-width: none; }
.story-hero-copy > p:not(.eyebrow):not(.hero-access) { max-width: 54ch; color: var(--text-2); }
.hero-arrival { min-width: 0; border-left: 1px solid var(--border-strong); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.hero-arrival h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin-bottom: 1.5rem; }
.arrival-steps { list-style: none; counter-reset: arrival; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.arrival-steps li { counter-increment: arrival; position: relative; padding-left: 2.5rem; margin: 0; }
.arrival-steps li::before { content: counter(arrival, decimal-leading-zero); position: absolute; left: 0; top: .1rem; color: var(--frost); font: 600 .85rem/1.7 var(--font-display); }
.arrival-steps strong { display: block; font-size: .94rem; line-height: 1.5; margin-bottom: .3rem; }
.arrival-steps p { font-size: .85rem; line-height: 1.65; margin: 0; }
.story-hero-copy h1, .story-hero-copy p, .story-hero-copy .hero-access { color: var(--text); }
.story-hero-copy .eyebrow, .story-hero-copy .quiet { color: var(--frost); }
.story-hero-copy .quiet { border-color: var(--border-strong); }
.intro-section, .world-features, .news-section, .site-footer, .prose { background: var(--console); border: 1px solid var(--border); border-radius: 16px; padding: clamp(1.4rem, 3vw, 2.5rem); margin-block: 2rem; }
.news-card, .panel, .download-panel, .join-banner { border-radius: 12px; }
.cta, .quiet, .site-nav ul .nav-join, summary { border-radius: 8px; }
@media (max-width: 58rem) {
  .story-hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero-arrival { border-left: 0; border-top: 1px solid var(--border-strong); padding: 1.5rem 0 0; }
  .arrival-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (max-width: 700px) {
  .site-nav { padding: 1rem; }
  .story-hero { margin-top: 0; }
  .story-hero-copy h1 { font-size: clamp(2rem, 7.5vw, 3rem); }
  .arrival-steps { grid-template-columns: 1fr; gap: 1.25rem; }
}

body { isolation:isolate; }
body::after { content:""; position:fixed; inset:0; z-index:-1; background:var(--canvas); opacity:.35; pointer-events:none; }
body::before { z-index:-2; }
.reading-page { box-sizing:border-box; max-width:54rem; margin:3rem auto; padding:clamp(1.5rem,4vw,3rem); border:1px solid var(--border); border-radius:16px; background:var(--console); }
