/* =========================================================
   TierOne — a poster, not a spec sheet.
   One ground, one accent, zero radius. Type at scale.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("fonts/MartianMono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0B0B0C;
  --ink: #E8E9EC;
  --ink-2: #A2A6AD;
  --ink-3: #858A92;
  --line: rgba(232, 233, 236, .13);
  --line-2: rgba(232, 233, 236, .26);

  --accent: #2D6BFF;
  --accent-text: #5A8BFF;
  --orange: #FF6A2B;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .28s;

  --pad: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  caret-color: var(--accent);
}

svg, canvas { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2 { margin: 0; font-weight: 700; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::selection { background: var(--accent); color: #fff; }

html {
  scrollbar-color: #2C3037 var(--bg);
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2C3037; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3B414A; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--pad); top: -100px;
  z-index: 100;
  background: var(--accent); color: #fff;
  padding: 10px 16px; font-size: 15px; font-weight: 600;
}
.skip:focus { top: 12px; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-block: 6px;
  white-space: nowrap;
}
.mark__glyph { width: 17px; height: 17px; flex: none; }
.mark__slab { fill: var(--accent); }
.mark__spark { fill: var(--orange); }
.mark__type {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}
.mark__one { color: var(--orange); }

/* ---------- rail ---------- */

.rail {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding-inline: var(--pad);
  background: rgba(11, 11, 12, .62);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid var(--line);
}

/* no backdrop support: go opaque rather than let plate words run through the logo */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .rail { background: var(--bg); }
}
.rail__note {
  margin-left: auto;
  color: var(--ink-3);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: 88px var(--pad) 0;
  overflow: hidden;
}

.hero__type {
  position: relative;
  z-index: 2;
  align-self: start;
}

.statement {
  font-size: clamp(46px, 8.4vw, 122px);
  line-height: .9;
  letter-spacing: -.038em;
  color: var(--ink);
  text-wrap: balance;
}
.statement__em { color: var(--ink); }
.close__title .statement__em { color: var(--accent-text); }

.hero__sub {
  margin-top: clamp(16px, 2vw, 28px);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34ch;
}

/* halftone wordmark */
.hero__mark {
  position: relative;
  z-index: 1;
  margin-inline: calc(var(--pad) * -1);
  min-height: 180px;
  align-self: stretch;
  transition: transform .6s var(--ease);
  will-change: transform;
}
.hero__mark canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* foot of the hero */
.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
}
.hero__meta { color: var(--ink-3); }

/* ---------- entrance ---------- */

.reveal { display: inline-block; }

.js .reveal {
  animation: revealUp .95s var(--ease);
}
.js .reveal--2 { animation-delay: .1s; }
.js .reveal--3 { animation-delay: .22s; }

@keyframes revealUp {
  from { transform: translateY(.18em); }
  to   { transform: none; }
}

/* ---------- strip ---------- */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 30px) var(--pad);
  user-select: none;
}
.strip__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 32px);
}
.strip__item {
  font-size: clamp(26px, 3.8vw, 54px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.strip__dot {
  width: 8px; height: 8px;
  background: var(--accent);
  flex: none;
}
.strip__dot:nth-of-type(2) { background: var(--orange); }

/* ---------- plates ---------- */

.plate {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: clamp(24px, 4vw, 56px) var(--pad);
}

.plate__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.plate__word {
  position: relative;
  z-index: 2;
  font-size: clamp(36px, 12.4vw, 186px);
  line-height: .84;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.js .plate.is-in .plate__word {
  animation: plateUp 1.05s var(--ease);
}

@keyframes plateUp {
  from { transform: translateY(44px); }
  to   { transform: none; }
}

/* ---------- plate nav ---------- */

.platesNav {
  position: fixed;
  right: clamp(4px, 1.4vw, 18px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: grid;
  gap: 2px;
}
.platesNav a {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
}
.platesNav a::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 2px;
  height: 10px;
  background: var(--line-2);
  transform: translateY(-50%);
  transition: height .3s var(--ease), background .3s var(--ease);
}
.platesNav a:hover::after { background: var(--ink-2); height: 16px; }
.platesNav a[aria-current="true"]::after { background: var(--accent); height: 22px; }
.platesNav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- close ---------- */

.close {
  border-top: 1px solid var(--line);
  padding: clamp(72px, 12vh, 160px) var(--pad);
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}
.close__title {
  font-size: clamp(34px, 5.6vw, 80px);
  line-height: .98;
  letter-spacing: -.036em;
  max-width: 18ch;
  text-wrap: balance;
}
/* ---------- footer ---------- */

.foot {
  padding: 28px var(--pad) 40px;
  border-top: 1px solid var(--line);
}
.foot__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
}
.foot__meta { margin-top: 18px; }

.shieldTag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.3;
  transition: color var(--dur) var(--ease);
}
.shieldTag__glyph {
  width: 17px;
  height: 17px;
  flex: none;
  fill: currentColor;
}
.shieldTag strong { font-weight: 600; color: var(--ink); }
.shieldTag:hover { color: var(--ink); }
.shieldTag:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .platesNav { display: none; }
}

@media (max-width: 860px) {
  .rail__note { display: none; }
  .hero { padding-top: 84px; }
  .statement { letter-spacing: -.034em; }
  .plate { min-height: 78svh; }
}

@media (max-width: 560px) {
  .hero { padding-top: 76px; }
  .close { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
