@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a0f14;
  --panel: #111a22;
  --panel-dark: #0e161d;
  --border: #2a3943;
  --text: #f0eee7;
  --muted: #aeb8bf;
  --muted-bright: #cad3d9;
  --amber: #ffba68;
  --amber-strong: #e59a4a;
  --cyan: #92cdd7;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --page: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  font-size: 1rem;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .96;
}
h2 { font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: .005em; }
h3 { font-size: clamp(1.7rem, 2.9vw, 2.45rem); letter-spacing: .02em; }
em { color: var(--amber); font-style: normal; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
::selection { color: #0b1014; background: var(--amber); }
section[id] { scroll-margin-top: 85px; }
.wrap { width: min(var(--page), calc(100% - 112px)); margin-inline: auto; }

.skip {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: .55rem .85rem;
  background: var(--amber);
  color: var(--bg);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(8, 13, 18, .96);
  border-bottom: 1px solid #26323b;
}
.topbar-inner {
  width: min(var(--page), calc(100% - 112px));
  min-height: 70px;
  margin-inline: auto;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
  font: 700 2.05rem/.9 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand img { aspect-ratio: 1; border-radius: 6px; }
.topbar nav { display: flex; align-items: center; gap: clamp(18px, 3.2vw, 49px); }
.topbar nav a, footer a:not(.brand) {
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted-bright);
  white-space: nowrap;
}
.topbar nav a:hover, footer a:hover { color: var(--amber); }

.button {
  display: inline-flex;
  min-height: 54px;
  min-width: max-content;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.4rem;
  border: 1px solid var(--amber);
  border-radius: 2px;
  color: #121316;
  background: var(--amber);
  font-weight: 750;
  font-size: .91rem;
  line-height: 1.25;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.button:hover { background: #ffd098; border-color: #ffd098; }
.button:disabled { opacity: .63; cursor: wait; }
.button-small { min-height: 40px; padding: .45rem .88rem; font-size: .84rem; }
.button-outline {
  color: #f1eee8;
  border-color: #9eabb4;
  background: #0f1720b8;
}
.button-outline:hover { color: #141518; background: #e2e8eb; border-color: #e2e8eb; }
.eyebrow {
  color: var(--cyan);
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .76rem;
}

.hero {
  position: relative;
  min-height: min(730px, calc(100svh - 70px));
  min-height: clamp(625px, calc(100svh - 70px), 830px);
  display: flex;
  isolation: isolate;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #554331;
  background: #111923;
}
.hero-art, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { object-fit: cover; object-position: 55% center; z-index: -2; }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, #0a111afb 0%, #0a111ae6 11%, #0a111aa3 31%, #0a111a38 54%, transparent 76%),
    linear-gradient(0deg, #080d13ec 0%, #080d1350 16%, transparent 38%);
}
.hero-inner { padding-block: 4rem 5.1rem; }
.hero-copy { max-width: min(670px, 61%); }
.hero-label { margin-bottom: 1.25rem; }
.hero h1 {
  font-size: clamp(5.5rem, 10.2vw, 10.7rem);
  line-height: .79;
  letter-spacing: -.007em;
  text-shadow: 0 4px 24px #020508a8;
}
.hero-intro { color: #e0e6ea; max-width: 28rem; font-size: clamp(1.03rem, 1.4vw, 1.2rem); margin-block: 1.9rem 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-release {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  color: #dde4de;
  font-size: .88rem;
  font-weight: 570;
}
.release-state { display: inline-flex; align-items: center; gap: .45rem; }
.release-state::before { content: ""; width: .44rem; height: .44rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px #e6a14fb0; }
.release-window { border-left: 1px solid #73818b; padding-left: .55rem; }


.section { padding-block: clamp(68px, 9.1vw, 132px); }
.workshop { background: linear-gradient(153deg, #101a21 0%, #0d151c 54%, #0c131a 100%); }
.workshop-layout { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.65fr); align-items: center; gap: clamp(28px, 5vw, 76px); }
.workshop .eyebrow, .section-header .eyebrow, .beta .eyebrow { margin-bottom: .85rem; }
.workshop-copy p:not(.eyebrow), .section-header > p, .beta-copy > p:not(.eyebrow) {
  color: var(--muted-bright);
  margin-top: 1.15rem;
  max-width: 34rem;
}
.text-link {
  display: inline-flex;
  color: var(--amber);
  border-bottom: 1px solid #b47948;
  padding-block: .2rem;
  margin-top: 1.55rem;
  font-size: .92rem;
  font-weight: 720;
}
.text-link:hover { color: #ffe3c3; }
.workshop-figure { border: 1px solid #5b5146; padding: 8px; background: #10191e; }
.view-image {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: #111c25;
  overflow: hidden;
  text-align: left;
}
.view-image:focus-visible { outline-offset: -3px; }
.view-image img { width: 100%; height: auto; transition: transform .24s ease; }
.view-image:hover img { transform: scale(1.025); }
.view-indicator {
  display: grid;
  place-items: center;
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  width: 2rem;
  height: 2rem;
  background: #10181eea;
  color: var(--text);
  border: 1px solid #75838c;
  border-radius: 2px;
  font-size: 1.25rem;
  line-height: 1;
}
.view-image:hover .view-indicator { border-color: var(--amber); color: var(--amber); }
.workshop-figure figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .2rem .75rem;
  padding: .6rem .45rem .22rem;
  color: var(--muted);
  font-size: .83rem;
}
.workshop-figure figcaption span:first-child { color: var(--text); font-weight: 650; }

.professions { border-block: 1px solid #263440; background: #0e151c; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 1.35rem 3.1rem; margin-bottom: 2rem; }
.section-header > p { max-width: 24rem; margin: 0; }
.profession-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.profession-card { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--panel); min-width: 0; }
.profession-card .view-image img { aspect-ratio: 4/3; object-fit: cover; }
.profession-copy { padding: .95rem 1rem 1.1rem; border-top: 1px solid #2a3943; }
.profession-copy h3 { margin-bottom: .43rem; }
.profession-copy p { color: var(--muted-bright); font-size: .94rem; line-height: 1.5; }

.gallery { background: #0b1117; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.45rem; }
.filters button, .lightbox button {
  background: #101922;
  border: 1px solid #354550;
  border-radius: 2px;
  color: var(--muted-bright);
  min-height: 42px;
  padding: .45rem .8rem;
  font-size: .9rem;
  font-weight: 650;
}
.filters button:hover, .lightbox button:hover { color: var(--text); border-color: #8d9ba4; }
.filters button[aria-pressed="true"] { color: #14191d; background: var(--amber); border-color: var(--amber); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.screenshot-card { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--panel-dark); }
.screenshot-card .view-image img { aspect-ratio: 16/9; object-fit: cover; }
.screenshot-info { padding: .8rem .9rem 1rem; }
.shot-category {
  display: block;
  color: var(--cyan);
  font-size: .74rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .10em;
  margin-bottom: .28rem;
}
.screenshot-info h3 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); }
.screenshot-info p { color: var(--muted); font-size: .9rem; line-height: 1.52; margin-top: .47rem; }

.beta {
  background:
    radial-gradient(ellipse at 18% 70%, #6b432a41, transparent 53%),
    linear-gradient(100deg, #121c24, #0b141a 75%);
  border-block: 1px solid #413c34;
}
.beta-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .75fr); align-items: center; gap: clamp(30px, 7vw, 110px); }
.beta-form {
  display: grid;
  align-content: center;
  gap: .7rem;
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid #5f513f;
  background: #0e151bdc;
  position: relative;
}
.beta-form label { font-size: .9rem; font-weight: 650; }
.beta-form input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  background: #0a1118;
  color: var(--text);
  border: 1px solid #5b6b76;
  border-radius: 2px;
  padding: .6rem .8rem;
  font-size: 1rem;
}
.beta-form input[type="email"]::placeholder { color: #9aa8b3; }
.beta-form input[aria-invalid="true"] { border-color: #ff917b; }
.beta-form input:focus { outline-offset: 2px; }
.beta-form .button { width: 100%; margin-top: .14rem; }
.form-trap { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.form-note, .form-result, .form-message { font-size: .85rem; color: var(--muted); line-height: 1.55; }
.form-result:empty, .form-message:not(:target) { display: none; }
.form-result:not(:empty), .form-message:target { padding: .65rem .75rem; background: #1b2530; border-left: 2px solid #9a6d61; color: #f9d1c5; }
.form-result[data-state="success"], #beta-success:target { border-color: #7bd1b2; color: #b7ead9; }
footer { background: #080d11; }
.footer-inner { min-height: 92px; display: flex; align-items: center; gap: 1.15rem; justify-content: space-between; }
.footer-inner .brand { font-size: 1.55rem; }
.footer-inner p { color: var(--muted); font-size: .85rem; }

.lightbox {
  width: min(1130px, calc(100% - 48px));
  padding: 0;
  max-height: calc(100dvh - 40px);
  border: 1px solid #4d5c66;
  border-radius: 3px;
  color: var(--text);
  background: #111921;
  overflow: auto;
}
.lightbox::backdrop { background: #030609e8; }
.lightbox-heading, .lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; }
.lightbox-heading h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-top: .13rem; }
.lightbox > img { width: 100%; max-height: 67dvh; object-fit: contain; background: #090f14; }
.lightbox-footer p { color: var(--muted-bright); font-size: .91rem; }
.lightbox-controls { display: flex; align-items: center; gap: .45rem; }
.lightbox button:disabled { opacity: .45; cursor: default; }
.lightbox[open] { overscroll-behavior: contain; }
body:has(.lightbox[open]) { overflow: hidden; }

@media (max-width: 1020px) {
  .wrap, .topbar-inner { width: calc(100% - 64px); }
  .hero { min-height: clamp(580px, 77svh, 720px); }
  .hero-copy { max-width: 64%; }
  .profession-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profession-card .view-image img { aspect-ratio: 16/9; }
}
@media (max-width: 760px) {
  .wrap, .topbar-inner { width: calc(100% - 38px); }
  .topbar-inner { min-height: 59px; gap: .45rem; }
  .topbar .brand { font-size: 1.73rem; }
  .topbar .brand img { width: 28px; height: 28px; }
  .topbar nav { gap: .65rem; }
  .topbar nav a { font-size: .79rem; }
  .topbar nav a:first-child, .topbar nav a:nth-child(2) { display: none; }
  .hero { min-height: 640px; align-items: end; }
  .hero-art { object-position: 65% top; }
  .hero-shade {
    background: linear-gradient(0deg, #080e14 0%, #080e14ec 25%, #080e1494 61%, #080e1416 100%);
  }
  .hero-inner { padding-block: 142px 32px; }
  .hero-copy { max-width: 29rem; }
  .hero h1 { font-size: clamp(4.5rem, 13vw, 6.65rem); }
  .hero-intro { margin-block: 1.25rem 1rem; }
  .hero-release { margin-top: .95rem; gap: .4rem .55rem; }
  .hero-actions .button { min-height: 47px; padding-inline: .85rem; }
  .section { padding-block: 63px; }
  .workshop-layout, .beta-panel { grid-template-columns: 1fr; gap: 1.7rem; }
  .workshop-copy h2 br { display: none; }
  .section-header { align-items: start; flex-direction: column; gap: 1rem; margin-bottom: 1.35rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .screenshot-info { padding-inline: .63rem; }
  .screenshot-info p { font-size: .86rem; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; gap: .65rem 1.1rem; padding-block: 1rem; }
  .footer-inner p { flex: 1 1 70%; }
}
@media (max-width: 374px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-release { font-size: .80rem; align-items: flex-start; flex-direction: column; }
  .release-window { border: 0; padding-left: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .workshop-figure figcaption span:last-child { display: none; }
  .profession-copy { padding: .7rem; }
}
@media (max-width: 540px) {
  .lightbox { width: calc(100% - 20px); }
  .lightbox-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}
