@font-face {
  font-family: "Passero";
  src: url("/assets/fonts/PasseroOne-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Crimson";
  src: url("/assets/fonts/CrimsonPro-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Crimson";
  src: url("/assets/fonts/CrimsonPro-SemiBold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #07100d;
  --panel: #15120d;
  --panel-2: #21190f;
  --paper: #d2c7a9;
  --muted: #9d9278;
  --ink: #100e0a;
  --green: #6f955f;
  --green-dark: #233c28;
  --gold: #d8a942;
  --gold-bright: #f0d45b;
  --rust: #9e452f;
  --red: #b83228;
  --cyan: #458c8b;
  --line: rgba(210, 199, 169, 0.22);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(210, 199, 169, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 199, 169, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(158, 69, 47, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(69, 140, 139, 0.06), transparent 48%),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  color: var(--paper);
  font-family: "Crimson", Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.27'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.22;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(7, 16, 13, 0.86), rgba(7, 16, 13, 0));
}

.wordmark,
h1,
h2 {
  font-family: "Passero", Georgia, serif;
  font-weight: 400;
}

.wordmark {
  color: var(--gold-bright);
  font-size: 20px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-family: "Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--gold-bright);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(22px, 6vw, 72px) 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 8, 7, 0.94), rgba(4, 8, 7, 0.62) 38%, rgba(4, 8, 7, 0.14) 72%),
    linear-gradient(0deg, rgba(7, 16, 13, 0.88), transparent 34%, rgba(7, 16, 13, 0.28));
}

.hero-copy {
  position: relative;
  max-width: 700px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-family: "Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #f5e6b7;
  font-size: 104px;
  line-height: 0.88;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.58);
}

.lede {
  max-width: 570px;
  margin: 28px 0 0;
  color: #e0d4b5;
  font-size: 28px;
  line-height: 1.15;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  font-family: "Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
  border-color: rgba(240, 212, 91, 0.75);
  box-shadow: 0 14px 36px rgba(216, 169, 66, 0.16);
}

.button.secondary {
  background: rgba(7, 16, 13, 0.72);
  color: var(--paper);
}

.ticker {
  position: absolute;
  left: clamp(22px, 6vw, 72px);
  right: clamp(22px, 6vw, 72px);
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: rgba(7, 16, 13, 0.76);
}

.ticker span {
  padding: 12px 10px;
  color: var(--muted);
  font-family: "Plex Mono", monospace;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
}

.ticker span:last-child {
  border-right: 0;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px clamp(22px, 5vw, 42px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(320px, 1.2fr);
  gap: 38px;
  align-items: start;
}

.intro h2,
.loop h2,
.mood h2,
.screens h2,
.notice h2 {
  margin: 0;
  color: #f1e2b9;
  font-size: 60px;
  line-height: 0.96;
}

.intro p,
.mood p,
.notice p {
  margin: 0;
  color: #c9bea2;
  font-size: 24px;
  line-height: 1.25;
}

.loop {
  border-top: 1px solid var(--line);
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.loop-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(33, 25, 15, 0.82), rgba(14, 18, 12, 0.88));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.loop-grid span {
  color: var(--gold);
  font-family: "Plex Mono", monospace;
  font-size: 12px;
}

.loop-grid h3 {
  margin: 28px 0 8px;
  color: var(--paper);
  font-size: 27px;
  line-height: 1;
}

.loop-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.mood {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  gap: 42px;
  align-items: center;
}

.mood-stack {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: 180px 180px;
  gap: 12px;
}

.mood-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.mood-stack img:first-child {
  grid-row: span 2;
}

.screens {
  border-top: 1px solid var(--line);
}

.screen-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-top: 34px;
}

.screen-card {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(17, 18, 12, 0.82);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.screen-card.wide {
  grid-row: span 2;
}

.screen-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.screen-card figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-family: "Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}

.notice {
  padding-top: 20px;
}

.notice-panel {
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid rgba(216, 169, 66, 0.34);
  background:
    linear-gradient(135deg, rgba(216, 169, 66, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(35, 60, 40, 0.72), rgba(24, 16, 10, 0.92));
}

.notice-panel p {
  max-width: 780px;
  margin-top: 16px;
}

.notice-panel .button {
  margin-top: 26px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 5vw, 56px);
  color: var(--muted);
  font-family: "Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 106px;
  }

  h1 {
    font-size: 72px;
  }

  .intro h2,
  .loop h2,
  .mood h2,
  .screens h2,
  .notice h2 {
    font-size: 48px;
  }

  .lede {
    font-size: 23px;
  }

  .ticker {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ticker span {
    padding: 10px 4px;
    font-size: 10px;
  }

  .intro,
  .mood,
  .screen-grid {
    grid-template-columns: 1fr;
  }

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

  .mood-stack {
    grid-template-rows: 150px 150px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 56px;
  }

  .intro h2,
  .loop h2,
  .mood h2,
  .screens h2,
  .notice h2 {
    font-size: 40px;
  }

  .intro p,
  .mood p,
  .notice p {
    font-size: 21px;
  }

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

  .mood-stack {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 170px);
  }

  .mood-stack img:first-child {
    grid-row: span 1;
  }
}
