/* THE FAR BACKROOMS — official website V1. Static, responsive, progressively enhanced. */
:root {
  --ink: #000000;
  --deep: #000000;
  --surface: #000000;
  --cream: #e6e3cf;
  --muted: #aaa995;
  --light: #d4d184;
  --line: #393a2b;
  --font: Arial, Helvetica, sans-serif;
  --mono: "Courier New", Courier, monospace;
  --gutter: clamp(24px, 5.55vw, 112px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--ink); }
body { margin: 0; color: var(--cream); background: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 8; opacity: .035; background-image: url('../images/grain.svg'); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 6px; }
a, button, summary { -webkit-tap-highlight-color: rgb(212 209 132 / .18); }
button, summary { font: inherit; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid #eceb9b; outline-offset: 6px; }
::selection { background: #d4d184; color: #000000; }
h1,h2,h3,p,figure { margin: 0; }
h2 { font-size: clamp(2.8rem, 5.5vw, 5.75rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
h2 em, .world-copy em { font-weight: inherit; font-style: normal; color: var(--light); }
.wrap { width: min(100%, 1600px); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: clamp(82px, 8.4vw, 142px); padding-bottom: clamp(82px, 8.4vw, 142px); }
.eyebrow { font-family: var(--mono); font-size: .75rem; font-weight: 400; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; }
.section-index { color: var(--muted); display: flex; gap: 26px; margin-bottom: 44px; }
.section-index span { color: var(--light); }
.muted { color: var(--muted); }
.skip-link { position: fixed; top: 12px; left: 20px; padding: 12px 18px; background: var(--light); color: var(--ink); transform: translateY(-180%); z-index: 100; }
.skip-link:focus { transform: none; }
.site-header { position: absolute; top: 0; width: 100%; z-index: 20; border-bottom: 1px solid rgb(230 227 207 / .15); background: rgb(0 0 0 / .48); }
.header-inner { min-height: 94px; max-width: 1800px; padding: 10px var(--gutter); margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.brand { display: block; flex: 0 0 156px; }
.brand img { width: 156px; height: auto; }
.desktop-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; min-width: 0; align-items: center; gap: clamp(18px, 2.2vw, 36px); margin-left: auto; }
.desktop-nav a { font-size: .875rem; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding-block: 12px; }
.desktop-nav a:hover, .site-footer a:hover { color: var(--light); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; min-width: 216px; padding: 15px 32px; font-size: .875rem; font-family: var(--mono); letter-spacing: .17em; line-height: 1.4; text-transform: uppercase; text-decoration: none; color: var(--ink); background: var(--light); border: 1px solid var(--light); transition: background-color .25s, box-shadow .25s, border-color .25s; }
.button:hover { background: #e5e2a0; border-color: #e5e2a0; box-shadow: 0 0 28px rgb(212 209 132 / .14); }
.button-small { min-width: 100px; min-height: 44px; padding: 11px 22px; font-size: .875rem; }
.header-play { background: transparent; color: var(--cream); border-color: #a1a071; }
.header-play:hover { color: var(--ink); }
.mobile-menu { display: none; }
.hero { isolation: isolate; position: relative; min-height: min(100svh, 1150px); min-height: max(720px, min(100svh, 1150px)); display: flex; align-items: center; overflow: hidden; background: #000000; }
.hero-environment { position: absolute; inset: 0; z-index: -3; }
.hero-environment img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgb(0 0 0 / .83) 0%, rgb(0 0 0 / .48) 43%, rgb(0 0 0 / .03) 78%), linear-gradient(0deg, var(--ink), transparent 25%, transparent 80%, rgb(0 0 0 / .3)); }
.hero-shade::after { content: ""; position: absolute; inset: 0; background: #000000; opacity: .05; animation: light-drift 19s ease-in-out infinite alternate; }
.hero-content { position: relative; padding-top: 128px; padding-bottom: 160px; }
.hero-eyebrow { display: flex; align-items: center; gap: 18px; color: #d4d1b9; margin-bottom: 16px; }
.small-rule { width: 28px; height: 1px; background: var(--light); }
.hero-title { width: min(630px, 57vw); margin-left: -12px; }
.hero-title img { width: 100%; height: auto; }
.hero-line { font-size: clamp(1.125rem, 1.55vw, 1.5rem); letter-spacing: -.015em; line-height: 1.45; margin-top: 24px; color: #e6e3cf; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.hero-platform { font-size: .8125rem; color: #c2bfaa; line-height: 1.5; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.scroll-link { display: inline-flex; align-items: center; gap: 17px; text-decoration: none; padding-block: 8px; color: #c6c4ac; }
.scroll-link:hover { color: var(--cream); }
.scroll-track { width: 1px; height: 33px; background: linear-gradient(var(--light), #494a31); }
.development-label { font-family: var(--mono); font-size: .75rem; color: #c6c4ac; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 9%; }
.about-copy { max-width: 500px; padding-top: 4px; }
.about-copy .lead { font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.4; color: var(--cream); margin-bottom: 32px; }
.about-copy p + p { margin-top: 22px; }
.about-copy > p:not(.lead) { color: var(--muted); }
.about-strip { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 76px; padding-top: 24px; font-family: var(--mono); color: var(--muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.world-section { padding-top: 8px; }
.world-heading { padding-bottom: 46px; }
.world-title-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.world-title-row h2 { font-size: clamp(5rem, 10vw, 10rem); line-height: .9; }
.world-title-row > p { text-align: right; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.world-figure { min-height: 660px; position: relative; isolation: isolate; display: flex; align-items: end; background: #000000; }
.world-figure > picture { position: absolute; inset: 0; z-index: -3; }
.world-figure > picture img { height: 100%; width: 100%; object-fit: cover; object-position: 35% center; }
.world-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgb(0 0 0 / .78), transparent 80%), linear-gradient(0deg, rgb(0 0 0 / .7), transparent 80%); }
.world-copy { padding-top: 140px; padding-bottom: 120px; }
.world-copy > .eyebrow { color: #d0cbae; }
.world-copy > p { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.06; letter-spacing: -.04em; margin-top: 24px; }
.world-description { max-width: 365px; margin-top: 28px; color: #d2ceba; }
.world-figure figcaption { position: absolute; bottom: 26px; right: var(--gutter); left: var(--gutter); text-align: right; color: #c6c2a7; font-size: .75rem; font-family: var(--mono); }
.section-heading { display: flex; justify-content: space-between; gap: 48px; align-items: end; }
.section-heading > p { color: var(--muted); min-width: 265px; }
.survival-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.survival-item { padding: 36px 32px 38px 0; border-top: 1px solid var(--line); }
.survival-item:nth-child(3n + 2), .survival-item:nth-child(3n) { padding-left: 32px; border-left: 1px solid var(--line); }
.item-number { color: #a6a278; font-size: .75rem; font-family: var(--mono); }
.survival-item h3 { margin-top: 28px; margin-bottom: 16px; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 400; }
.survival-item p { font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: 345px; }
.development { background: #000000; border-top: 1px solid #383b28; border-bottom: 1px solid #383b28; }
.development-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 9%; }
.development-copy { align-self: center; max-width: 490px; }
.status-stamp { display: flex; gap: 12px; align-items: center; font-size: .8125rem; font-family: var(--mono); color: var(--light); margin-bottom: 24px; }
.status-mark { display: inline-block; width: 7px; height: 7px; background: var(--light); }
.development-copy > p:not(:first-child) { margin-top: 20px; }
.text-link { display: inline-block; margin-top: 24px; padding-block: 8px; color: var(--light); }
.text-link:hover { color: var(--cream); }
.controls { display: grid; grid-template-columns: 1.15fr 1fr; gap: 9%; }
.controls-intro > p:last-child { margin-top: 24px; color: var(--muted); }
.controls-list { margin: 0; padding: 0; align-self: center; }
.controls-list > div { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.controls-list > div:last-child { border-bottom: 1px solid var(--line); }
.controls-list dt, .controls-list dd { margin: 0; }
.controls-list dd { font-size: 1rem; color: #c3c2ae; }
.keys { display: flex; gap: 7px; }
kbd { display: inline-flex; min-height: 38px; min-width: 38px; align-items: center; justify-content: center; padding: 6px; border: 1px solid #5b5d41; border-bottom-width: 3px; border-radius: 3px; color: #dedcc2; font-size: .875rem; font-family: var(--mono); background: #000000; line-height: 1.3; }
.wide-key { min-width: 82px; }
.mouse-label { font-family: var(--mono); font-size: .875rem; color: #dedcc2; }
.final-cta { overflow: hidden; position: relative; isolation: isolate; text-align: center; padding-top: 110px; padding-bottom: 105px; background: var(--deep); border-top: 1px solid var(--line); }
.cta-light { position: absolute; left: 25%; top: 0; width: 50%; height: 1px; background: #d5d68a; box-shadow: 0 0 18px 3px #858942; }
.cta-light::after { content: ""; position: absolute; top: -20px; left: -50%; width: 200%; height: 530px; background: radial-gradient(ellipse at 50% 0, rgb(143 143 69 / .18), transparent 65%); z-index: -1; pointer-events: none; }
.cta-inner > .eyebrow { color: var(--muted); margin-bottom: 30px; }
.cta-inner h2 { font-size: clamp(3rem, 6.5vw, 6.5rem); }
.cta-inner .button { margin-top: 38px; }
.cta-destination { margin-top: 18px; font-family: var(--mono); color: var(--muted); font-size: .75rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 42px; padding-bottom: 40px; border-top: 1px solid #292b1f; }
.footer-brand img { width: 155px; height: auto; }
.footer-brand p { color: var(--muted); font-size: .75rem; margin-top: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer nav a { font-size: .875rem; text-decoration: none; padding-block: 8px; }
.footer-note { font-family: var(--mono); text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; line-height: 1.8; color: var(--muted); text-align: right; }
.error-page { min-height: 100svh; display: flex; flex-direction: column; }
.error-main { flex: 1; display: grid; place-items: center; padding-block: 80px; text-align: center; background: radial-gradient(ellipse at 50% 0, #343722, #000000 65%); }
.error-logo { width: min(420px, 85vw); margin: 0 auto 38px; }
.error-main h1 { margin-top: 20px; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.1; font-weight: 400; letter-spacing: -.04em; }
.error-main p { margin-top: 24px; color: var(--muted); }
.error-actions { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.error-actions .text-link { margin: 0; }
@keyframes light-drift { from { opacity: .03; } to { opacity: .13; } }
@media (min-width: 1900px) { .hero-title { width: 700px; } .hero-line { font-size: 1.5rem; } }
@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  .brand, .brand img { width: 136px; flex-basis: 136px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: .875rem; letter-spacing: 0; }
  .hero-title { width: min(630px, 65vw); }
  .survival-item { padding-right: 24px; }
  .survival-item:nth-child(3n + 2), .survival-item:nth-child(3n) { padding-left: 24px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 80px; }
  .desktop-nav { display: none; }
  .header-play { margin-left: auto; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 44px; cursor: pointer; list-style: none; font: .75rem var(--mono); text-transform: uppercase; letter-spacing: .06em; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-symbol { display: block; width: 16px; height: 8px; border-top: 1px solid var(--cream); border-bottom: 1px solid var(--cream); }
  .mobile-menu[open] .menu-symbol { height: 1px; border-bottom: 0; }
  .mobile-nav { position: absolute; top: 100%; right: 0; left: 0; background: #000000; padding: 20px var(--gutter) 28px; display: grid; box-shadow: 0 25px 40px rgb(0 0 0 / .4); border-bottom: 1px solid var(--line); }
  .mobile-nav a { padding: 13px 4px; text-decoration: none; border-bottom: 1px solid #373a29; font-size: 1rem; }
  .mobile-nav a:hover { color: var(--light); }
  .hero { min-height: max(690px, 90svh); }
  .about-grid, .development-grid, .controls { gap: 7%; grid-template-columns: 1fr 1fr; }
  .survival-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .survival-item:nth-child(n) { border-left: 0; padding-left: 0; padding-right: 26px; }
  .survival-item:nth-child(even) { border-left: 1px solid var(--line); padding-left: 26px; padding-right: 0; }
  .footer-note { display: none; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 24px; }
  .header-inner { gap: 18px; padding-top: 6px; padding-bottom: 6px; }
  .brand, .brand img { width: 125px; flex-basis: 125px; }
  .header-play { min-width: 75px; padding-inline: 14px; }
  .mobile-menu summary > span:first-child { display: none; }
  .hero { min-height: max(660px, 93svh); align-items: center; }
  .hero-content { padding-top: 145px; padding-bottom: 168px; }
  .hero-environment img { object-position: 35% center; }
  .hero-shade { background: linear-gradient(90deg, rgb(0 0 0 / .62), rgb(0 0 0 / .18)), linear-gradient(0deg, var(--ink), transparent 35%, rgb(0 0 0 / .1) 80%); }
  .hero-eyebrow { font-size: .75rem; letter-spacing: .1em; gap: 12px; margin-bottom: 24px; }
  .hero-title { width: calc(100% + 14px); max-width: 550px; margin-left: -7px; }
  .hero-line { max-width: 285px; font-size: 1.25rem; line-height: 1.5; margin-top: 26px; }
  .hero-actions { gap: 22px; margin-top: 28px; }
  .hero-actions .button { min-width: 160px; }
  .hero-platform { font-size: .75rem; }
  .hero-foot { bottom: 28px; align-items: start; flex-direction: column; gap: 12px; }
  .scroll-link { font-size: .75rem; letter-spacing: .1em; }
  .scroll-track { height: 24px; }
  .development-label { margin-left: 18px; }
  .section-index { margin-bottom: 30px; }
  .about-grid, .development-grid, .controls { display: grid; grid-template-columns: 1fr; gap: 44px; }
  .about-copy .lead { font-size: 1.5rem; }
  .about-strip { flex-wrap: wrap; gap: 16px 26px; justify-content: start; margin-top: 45px; font-size: .75rem; letter-spacing: .03em; }
  .world-heading { padding-bottom: 30px; }
  .world-title-row { display: block; }
  .world-title-row h2 { font-size: 5.2rem; }
  .world-title-row > p { margin-top: 24px; text-align: left; font-size: 1rem; }
  .world-figure { min-height: 670px; }
  .world-figure > picture img { object-position: 35% center; }
  .world-overlay { background: linear-gradient(0deg, rgb(0 0 0 / .85), rgb(0 0 0 / .08) 85%); }
  .world-copy { padding-top: 215px; padding-bottom: 110px; }
  .world-copy > p { font-size: 3rem; }
  .world-description { font-size: 1rem; }
  .world-figure figcaption { text-align: left; max-width: 300px; line-height: 1.7; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 30px; min-width: 0; }
  .survival-grid { margin-top: 44px; gap: 0; grid-template-columns: 1fr; }
  .survival-item:nth-child(n) { padding: 28px 0; border-left: 0; display: grid; grid-template-columns: 45px 1fr; }
  .survival-item h3 { margin-top: 0; margin-bottom: 12px; }
  .survival-item p { grid-column: 2; max-width: 100%; }
  .item-number { padding-top: 4px; }
  .development-copy { max-width: none; }
  .controls-list > div { padding-block: 20px; }
  .final-cta { padding-top: 88px; padding-bottom: 85px; }
  .site-footer { flex-direction: column; align-items: start; gap: 25px; }
  .site-footer nav { gap: 6px 24px; }
  .footer-brand img { width: 145px; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .header-inner { gap: 12px; }
  .brand, .brand img { width: 112px; flex-basis: 112px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { min-width: 143px; }
  .world-title-row h2 { font-size: 4.5rem; }
  .world-title-row > p { max-width: none; }
}
@media (max-height: 750px) and (min-width: 901px) {
  .hero { min-height: 700px; }
  .hero-content { padding-top: 126px; padding-bottom: 110px; }
  .hero-title { width: 535px; }
  .hero-actions { margin-top: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .button, kbd { border: 1px solid ButtonText; }
  .hero-shade, .world-overlay, body::after, .cta-light { display: none; }
  .hero-content, .world-copy { background: Canvas; }
}
