/* Assembly Line's page, in the game's own colours: dark teal, safety yellow, condensed italic. */

:root {
  --bg: #0a1418;
  --bg-alt: #0e1c21;
  --line: #1f343b;
  --text: #eef3f2;
  --dim: #9fb3b6;
  --yellow: #f5b800;
  --teal: #2a7f8c;
  --display: "Avenir Next Condensed", "Roboto Condensed", "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(18px, 4vw, 56px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--yellow); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; }
code { font: 0.92em var(--mono); color: var(--yellow); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 10; background: var(--yellow); color: #10130a; padding: 8px 14px; font-weight: 650; }
.skip:focus { top: 16px; }

.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin: 0 0 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 1px solid #4b6269; background: transparent; color: var(--text);
  font: italic 700 1.05rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
}
.btn:hover { border-color: var(--text); }
.btn--primary { background: var(--yellow); border-color: var(--yellow); color: #14110a; }
.btn--primary:hover { background: #ffcc2e; border-color: #ffcc2e; }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; align-items: center;
  min-height: min(86vh, 820px);
  background: radial-gradient(ellipse 60% 70% at 72% 50%, #1d5f6b 0%, #0f2c33 45%, var(--bg) 78%);
}
.hero__art {
  position: absolute; z-index: -1; right: max(0px, (100% - 1400px) / 2); top: 50%;
  width: min(62%, 860px); transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.hero__art { height: auto; }
.hero__toggle {
  position: absolute; right: var(--gutter); bottom: 20px; z-index: 1;
  min-height: 36px; padding: 0 14px;
  background: rgb(10 20 24 / 0.7); color: var(--dim); border: 1px solid #36505a;
  font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.hero__toggle:hover { color: var(--text); border-color: var(--text); }
.hero__copy { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: 72px; }
.hero__copy > * { max-width: 30rem; }
.hero h1 { display: flex; align-items: center; gap: 0.3em; font-size: clamp(2.8rem, 7vw, 5rem); white-space: nowrap; max-width: none; }
.hero h1 svg { flex: none; width: 0.95em; height: auto; fill: var(--yellow); }
.rule { width: 9.5rem; height: 6px; margin: 22px 0 26px; background: repeating-linear-gradient(90deg, var(--yellow) 0 26px, transparent 26px 38px); }
.lede { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; margin-bottom: 0.6em; }
.sub { color: var(--dim); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.status { margin: 26px 0 0; font: 500 12.5px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }

@media (max-width: 860px) {
  .hero { min-height: 0; background: radial-gradient(ellipse 90% 50% at 50% 24%, #1d5f6b 0%, #0f2c33 50%, var(--bg) 90%); }
  .hero__art { position: static; transform: none; width: min(100%, 560px); margin: 28px auto -20px; }
  .hero__copy { padding-block: 24px 72px; }
}

/* Bands */
.band { padding-block: clamp(56px, 9vw, 112px); border-top: 1px solid var(--line); }
.band--alt { background: var(--bg-alt); }
.band h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); margin-bottom: 22px; text-wrap: balance; }
.band h3 { font-size: 1.5rem; margin-bottom: 10px; }
.intro { max-width: 62ch; color: var(--dim); font-size: 1.08rem; }

.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--line); background: #000; }
.band > .wrap > .shot { margin-top: 44px; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { border-top: 2px solid var(--yellow); padding-top: 18px; }
.steps .n { display: block; font: 500 13px/1 var(--mono); letter-spacing: 0.14em; color: var(--yellow); margin-bottom: 14px; }
.steps p { color: var(--dim); margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split p { color: var(--dim); }

.layers { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.layers li { background: var(--bg); padding: 26px 24px 28px; }
.layers h3 { color: var(--yellow); }
.layers p { color: var(--dim); margin: 0; font-size: 0.98rem; }

.band--news { background: linear-gradient(180deg, #10262c, var(--bg)); }
.news { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; max-width: 620px; }
.news input[type="email"] {
  flex: 1 1 260px; min-width: 0; height: 48px; padding: 0 16px;
  background: #071013; color: var(--text); border: 1px solid #4b6269;
  font: inherit;
}
.news input[type="email"]::placeholder { color: #8ba0a3; opacity: 1; }
.note { color: var(--dim); font-size: 0.92rem; max-width: 62ch; margin: 0; }

@media (max-width: 860px) {
  .steps, .split, .split--flip { grid-template-columns: minmax(0, 1fr); }
  .split--flip .shot { order: 2; }
  .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .layers { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.2rem, 11.5vw, 2.8rem); }
}
