/* Local font files (Hack, official Latin subset): no third-party requests on page load. */
@font-face { font-family: 'Hack'; src: url('../fonts/hack-regular-subset.woff2') format('woff2'), url('../fonts/hack-regular-subset.woff') format('woff'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Hack'; src: url('../fonts/hack-bold-subset.woff2') format('woff2'), url('../fonts/hack-bold-subset.woff') format('woff'); font-style: normal; font-weight: 700; font-display: swap; }
/* Arrows (↗ ↘) aren't in the subset; the full files load only on pages that use them. */
@font-face { font-family: 'Hack'; src: url('../fonts/hack-regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+2190-21FF; }
@font-face { font-family: 'Hack'; src: url('../fonts/hack-bold.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; unicode-range: U+2190-21FF; }
:root { --font: 'Hack', 'DejaVu Sans Mono', Menlo, Consolas, monospace; --mono: 'Hack', 'DejaVu Sans Mono', Menlo, Consolas, monospace; --display: 'Hack', 'DejaVu Sans Mono', Menlo, Consolas, monospace; --ink: #000000; --deep: #000000; --surface: #000000; --cream: #e0ddca; --muted: #b3b09d; --line: #33372a; }
body { font-size: 1.125rem; line-height: 1.65; }
h2, h3, .credits-heading h1, .error-main h1 { font-family: var(--display); letter-spacing: .005em; font-weight: 400; }
h2 { font-size: clamp(2.7rem, 4.4vw, 4.75rem); line-height: 1.08; }
.eyebrow, .desktop-nav a, .button { letter-spacing: .08em; }
.desktop-nav a { font-size: .95rem; }
.button { font-size: 1rem; }
.button-small { font-size: .9rem; }
.hero { background: #000000; }
.hero-environment img { filter: brightness(.55) saturate(.48); }
.hero .hero-shade { background: radial-gradient(ellipse clamp(250px, 43vw, 630px) clamp(160px, 26vw, 330px) at var(--logo-light-x, 50%) var(--logo-light-y, 43%), rgb(0 0 0 / .72) 0%, rgb(0 0 0 / .86) 38%, rgb(0 0 0 / .96) 78%, rgb(0 0 0 / .985) 100%); }
.hero .hero-shade::after, .hero .scene-bloom, .hero .scene-shadow, .hero .scene-dust { display: none; }
.hero-content .hero-title { position: relative; }
.hero-title .brand-mark { filter: drop-shadow(0 0 22px rgb(232 215 97 / .16)); }
.hero-line { font-family: var(--mono); font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: .015em; color: #c9c6af; }
.hero-content .hero-eyebrow { color: #c1bfa8; font-size: .85rem; }
.hero-platform, .development-label { font-size: .9rem; }
.site-header { background: rgb(0 0 0 / .68); border-bottom-color: #303226; }
.about-copy .lead { font-family: var(--display); font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.35; }
.about-copy p + p { margin-top: 18px; }
.survival-item h3, .light-study-copy h3 { font-family: var(--display); font-size: 1.8rem; }
.survival-item p, .development-copy > p, .credit-summary { font-size: 1.1rem; }
.world-figure > picture img { filter: brightness(.45) saturate(.6); }
.world-copy > p { font-family: var(--display); letter-spacing: .005em; }
.world-description { font-size: 1.1rem; }
.world-overlay { background: linear-gradient(90deg, rgb(0 0 0 / .65), rgb(0 0 0 / .18) 85%), linear-gradient(0deg, rgb(0 0 0 / .7), transparent); }
.credits-page .credits-background { background: linear-gradient(90deg, rgb(0 0 0 / .95), rgb(0 0 0 / .87)), url('../images/level-zero-pillar.png') 35% 44% / cover; }
.credits-page .credits-heading h1 { font-size: clamp(4.5rem, 10vw, 8rem); letter-spacing: .01em; }
.credits-lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.credit-profile h3 { font-family: var(--display); letter-spacing: .01em; }
.credit-profile h3.dev-display-name { font-family: 'Segoe UI', 'DejaVu Sans', sans-serif; letter-spacing: 0; }
.credit-responsibilities dt { font-size: 1rem; }
.credit-responsibilities dd { font-size: .95rem; }
.credit-socials a { font-size: .95rem; }
.credit-photo-frame { box-shadow: none; border-color: #51523b; }
.credit-photo-frame::before, .credit-photo-frame::after { display: none; }
body[data-motion='on'] .credit-profile:hover .credit-photo-frame { box-shadow: none; }
.credit-socials a, .button { border-radius: 0; }
.button::after { display: none; }
.final-cta { background: var(--deep); }
.final-cta .cta-light { opacity: .2; }
.footer-note { font-size: .95rem; }
@media (max-width: 600px) {
  .credit-summary { font-size: 1rem; }
  .hero-content .hero-eyebrow { font-size: .75rem; }
  .credit-profile h3 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .credit-profile h3.dev-display-name { font-size: clamp(1.7rem, 7.5vw, 2.6rem); }
  .credits-page .credits-heading h1 { font-size: clamp(4rem, 19vw, 6.5rem); }
}
@media (forced-colors: active) { .hero .hero-shade { display: none; } }
/* ---- Hack tuning, pitch-black pass ---- */
html, body { background: #000; }
body::after { display: none; } /* grain overlay lifted the blacks above #000 */
body { font-size: 1rem; line-height: 1.7; }
h2, h3, .credits-heading h1, .error-main h1, .about-copy .lead, .world-copy > p, .credit-profile h3 { font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.9rem); line-height: 1.04; }
.world-title-row h2 { font-size: clamp(3.6rem, 8vw, 8rem); line-height: .92; }
.cta-inner h2 { font-size: clamp(2.4rem, 5.2vw, 5.2rem); }
.world-copy > p { font-size: clamp(2.1rem, 3.9vw, 3.9rem); line-height: 1.04; }
.about-copy .lead { font-size: clamp(1.35rem, 2.1vw, 1.95rem); font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.survival-item h3, .light-study-copy h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.2; }
.credits-page .credits-heading h1 { font-size: clamp(3.2rem, 7.5vw, 6.2rem); letter-spacing: -.02em; }
.credit-profile h3 { letter-spacing: -.01em; font-size: clamp(1.8rem, 3.4vw, 3.1rem); }
.error-main h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.02em; }
.hero-line { font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: 0; }
.eyebrow, .desktop-nav a { letter-spacing: .1em; }
.desktop-nav a { font-size: .82rem; }
.button { font-weight: 500; font-size: .9rem; letter-spacing: .14em; }
.button-small { font-size: .82rem; }
.survival-item p, .development-copy > p, .credit-summary, .world-description { font-size: 1rem; }
.development { background: #000; }
@media (max-width: 600px) {
  h2 { font-size: clamp(1.9rem, 8.6vw, 2.5rem); }
  .world-title-row h2 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .cta-inner h2 { font-size: clamp(2.1rem, 10vw, 2.9rem); }
  .world-copy > p { font-size: clamp(1.9rem, 8.6vw, 2.5rem); }
  .credits-page .credits-heading h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .credit-profile h3 { font-size: clamp(1.5rem, 6.5vw, 2.1rem); }
}

/* Hack everywhere: monospaced headings read best with a touch less tightening and bold weight. */
h2, h3, .credits-heading h1, .error-main h1, .about-copy .lead, .world-copy > p, .credit-profile h3, .survival-item-title, .feature-copy h3, .legal h2, .thanks-list dt { font-weight: 700; letter-spacing: -.03em; }
.about-copy .lead { font-weight: 400; letter-spacing: -.01em; }
.button { font-weight: 700; }
