@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;900&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --ink: #0b0d0c;
  --surface: #14181a;
  --surface-raised: #1b2120;
  --paper: #eef1ec;
  --muted: #93a09a;
  --jewel: #0f6b4c;
  --jewel-bright: #22a374;
  --brass: #b8863b;

  --ink-deep: #060807;
  --line: rgba(238, 241, 236, 0.13);
  --line-strong: rgba(238, 241, 236, 0.26);
  --brass-line: rgba(184, 134, 59, 0.55);
  --brass-faint: rgba(184, 134, 59, 0.22);
  --jewel-glow: rgba(34, 163, 116, 0.24);
  --jewel-wash: rgba(15, 107, 76, 0.12);
  --shadow-lift: 0 1px 0 rgba(238, 241, 236, 0.06), 0 24px 48px -28px rgba(0, 0, 0, 0.9);
  --shadow-deep: 0 40px 90px -40px rgba(0, 0, 0, 0.95);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;

  --shell: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 66ch;

  --s-1: 0.375rem;
  --s-2: 0.625rem;
  --s-3: 1rem;
  --s-4: 1.625rem;
  --s-5: 2.625rem;
  --s-6: 4.25rem;
  --s-7: 6.875rem;
  --s-8: 9.25rem;

  --dur-tap: 120ms;
  --dur-1: 190ms;
  --dur-2: 340ms;
  --dur-3: 640ms;
  --dur-4: 980ms;
  --dur-settle: 1500ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-rise: cubic-bezier(0.22, 0.68, 0, 1);
  --ease-settle: cubic-bezier(0.13, 0.82, 0.04, 1);
  --ease-snap: cubic-bezier(0.3, 0, 0.1, 1);
  --stagger: 90ms;

  --header-h: 5.5rem;
  --header-h-condensed: 3.75rem;
  --radius-field: 2px;

  --hazard: repeating-linear-gradient(
    -45deg,
    var(--brass) 0 6px,
    transparent 6px 13px
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.004em;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 70% at 82% -10%, rgba(15, 107, 76, 0.16), transparent 60%),
    radial-gradient(80% 50% at 8% 104%, rgba(184, 134, 59, 0.07), transparent 65%);
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

img,
picture,
svg,
video,
canvas {
  max-width: 100%;
}

img,
video {
  height: auto;
  display: block;
}

img {
  background-color: var(--surface);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

hr {
  border: 0;
  border-top: 1px solid var(--brass-line);
  margin: var(--s-5) 0;
}

h1,
h2,
h3,
h4,
.display,
.eyebrow,
.stat-value,
.tier-name {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-synthesis: none;
}

h1,
h2,
h3,
h4 {
  line-height: 0.92;
  letter-spacing: 0.005em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.6rem, 1.4rem + 8.4vw, 7.5rem);
  letter-spacing: -0.012em;
}

h2 {
  font-size: clamp(2.1rem, 1.3rem + 4.2vw, 4.4rem);
  letter-spacing: -0.006em;
}

h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.35rem);
  letter-spacing: 0.008em;
  line-height: 0.98;
}

h4 {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  letter-spacing: 0.03em;
  font-weight: 700;
  line-height: 1.06;
}

.poster-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  font-size: clamp(2.75rem, 1rem + 11.5vw, 10.5rem);
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0;
}

.eyebrow--jewel {
  color: var(--jewel-bright);
}

.lede {
  font-size: clamp(1.1rem, 1.02rem + 0.55vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: 0.002em;
  color: var(--paper);
  max-width: 46ch;
}

.muted {
  color: var(--muted);
}

.mono,
.num,
time,
.spec-table td,
.kv-table td {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 1;
}

.num {
  letter-spacing: -0.01em;
}

small,
.small {
  font-size: 0.8125rem;
  line-height: 1.5;
}

strong,
b {
  font-weight: 600;
}

em {
  font-style: italic;
}

a {
  color: var(--jewel-bright);
  text-decoration: none;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color var(--dur-1) var(--ease-out),
    background-size var(--dur-2) var(--ease-out);
}

a:hover {
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--jewel-bright);
  outline-offset: 3px;
}

::selection {
  background: var(--jewel);
  color: var(--paper);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0;
  z-index: 200;
  transform: translateY(-140%);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  background: var(--jewel);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--jewel-bright);
  transition: transform var(--dur-2) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0.75rem);
  color: var(--paper);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow {
  max-width: 78rem;
}

.stack > * + * {
  margin-top: var(--s-3);
}

.stack-4 > * + * {
  margin-top: var(--s-4);
}

.stack-5 > * + * {
  margin-top: var(--s-5);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
}

.cluster > * {
  min-width: 0;
}

.grid {
  display: grid;
  gap: var(--s-5);
}

.grid > * {
  min-width: 0;
}

.grid--halves {
  grid-template-columns: 1fr;
}

.grid--thirds {
  grid-template-columns: 1fr;
}

@media (min-width: 60rem) {
  .grid--halves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--thirds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rule {
  height: 1px;
  background: var(--brass-line);
  border: 0;
  margin: 0;
}

.rule--faint {
  background: var(--line);
}

.hazard-bar {
  height: 10px;
  background-image: var(--hazard);
  background-size: auto;
  opacity: 0.85;
}

.measure {
  max-width: var(--measure);
}

.prose {
  max-width: var(--measure);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--paper);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2em;
  font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.3rem);
}

.prose h3 {
  margin-top: 1.9em;
  font-size: clamp(1.25rem, 1.12rem + 0.6vw, 1.55rem);
  letter-spacing: 0.02em;
}

.prose h2 + p,
.prose h3 + p {
  margin-top: 0.7em;
}

.prose a {
  border-bottom: 1px solid var(--brass-line);
}

.prose a:hover {
  border-bottom-color: var(--paper);
}

.prose ul,
.prose ol {
  padding-left: 0;
  max-width: var(--measure);
}

.prose li {
  position: relative;
  padding-left: 1.5rem;
  margin-top: 0.55em;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.6rem;
  height: 1px;
  background: var(--brass);
}

.prose ol {
  counter-reset: prose-ol;
}

.prose ol > li {
  counter-increment: prose-ol;
}

.prose ol > li::before {
  content: counter(prose-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.15em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brass);
}

.prose dt {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 1.4em;
}

.prose dd {
  margin: 0.35em 0 0;
}

.prose blockquote {
  border-left: 1px solid var(--brass);
  padding-left: var(--s-4);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--paper);
}

.icon {
  width: 1.125em;
  height: 1.125em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}

.icon--sm {
  width: 0.95em;
  height: 0.95em;
}

.icon--lg {
  width: 1.6em;
  height: 1.6em;
  stroke-width: 1.35;
}

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.no-scroll {
  overflow: hidden;
}

figure {
  min-width: 0;
}

figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.frame {
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}

.frame--brass {
  border-color: var(--brass-faint);
  box-shadow: var(--shadow-lift);
}

.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.js .autohide {
  display: none;
}

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