/* Bad Harvest landing page.
   Palette follows the game's art direction:
   charcoal dust, crop green inside the dome, teal for the shield,
   rust for weathered Greenward kit, warm gold for the Kestrel's
   engine light only (that gold is flagged for review). */

@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/saira-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/saira-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/saira-condensed-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/saira-condensed-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/russo-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0b0c10;
  --bg-raise: #12141a;
  --paper: #f3eadb;
  --paper-dim: #d5cbbd;
  --muted: #b3aa9e;
  --line: rgba(243, 234, 219, 0.16);
  --teal-text: #9cf6ef;
  --teal: #2fbfb8;
  --gold: #f0b429;
  --rust: #e07a3d;
  --danger: #ff6a1a;
  --focus: #9cf6ef;
  --header: 4.25rem;
  --wrap: 72rem;
  --sans: "Saira", "Segoe UI", "Helvetica Neue", sans-serif;
  --cond: "Saira Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body,
.scene {
  overflow-x: clip;
}

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

:focus {
  outline: none;
}

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

::selection {
  background: #145e5a;
  color: var(--paper);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--paper);
  color: #14120e;
  font-family: var(--cond);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 0.8rem;
}

.skip:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: var(--header);
  padding: 0.7rem clamp(1.1rem, 3vw, 2rem);
  background: #0e1014;
  border-bottom: 2px solid #1c6f6c;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  text-decoration: none;
  font-family: "Russo One", "Saira Condensed", sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wordmark .tbc-mark {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.62rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--paper-dim);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--teal-text);
}

.hero {
  display: flex;
  flex-direction: column;
  background: var(--bg-raise);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
  padding: clamp(1.75rem, 4vw, 4.25rem);
  background:
    linear-gradient(180deg, rgba(224, 122, 61, 0.05), transparent 8rem),
    var(--bg-raise);
}

.kicker {
  margin: 0;
  color: var(--teal-text);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-family: "Russo One", "Saira Condensed", sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 4rem);
  letter-spacing: 0;
  line-height: 0.92;
  max-width: 11ch;
  text-wrap: wrap;
}

.hero-lead {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.tagline {
  margin: 0;
  max-width: 22em;
  color: var(--paper);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
}

.tagline-end {
  white-space: nowrap;
}

.platform {
  display: inline-block;
  margin-left: 0.15em;
  padding: 0.18em 0.42em 0.14em;
  border: 1px solid rgba(179, 170, 158, 0.45);
  color: var(--muted);
  font-family: var(--cond);
  font-style: normal;
  font-weight: 600;
  font-size: 0.58em;
  letter-spacing: 0.14em;
  line-height: 1;
  vertical-align: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.verse {
  margin: 0;
  max-width: 24em;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

.lede {
  margin: 0;
  max-width: 36em;
  color: var(--paper-dim);
  font-size: 1.05rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 0.25rem rgba(224, 122, 61, 0.18);
}

.scene {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 12rem;
  background: #101218;
  border-bottom: 1px solid var(--line);
}

.tbc {
  margin: 0;
  color: var(--paper-dim);
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.28em;
  line-height: 1;
  text-indent: 0.28em;
}

.tbc abbr {
  text-decoration: none;
}

.tbc-mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-indent: 0;
}

section[id] {
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

.band {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.4rem));
  margin-inline: auto;
}

.pitch-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
}

.prose p {
  margin: 0 0 1rem;
  max-width: 62ch;
  color: var(--paper-dim);
}

.prose p:last-child {
  margin-bottom: 0;
}

.ship {
  font-style: italic;
}

.feature-list {
  display: grid;
  gap: 2.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature h3 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 600;
}

.num {
  color: var(--teal-text);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
}

.feature p {
  margin: 0;
  max-width: 40ch;
  color: var(--paper-dim);
}

blockquote {
  margin: 1.2rem 0 0;
  padding: 0.15rem 0 0.15rem 0.9rem;
  border-left: 2px solid var(--rust);
  color: var(--paper);
  font-family: var(--cond);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: uppercase;
}

blockquote footer {
  margin-top: 0.45rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.chain-section {
  background: var(--bg-raise);
  border-block: 1px solid var(--line);
}

.section-lead {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: var(--paper-dim);
}

.chain {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.conv {
  display: grid;
  gap: 0.4rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.conv:last-child {
  border-bottom: 1px solid var(--line);
}

.conv-names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  letter-spacing: 0.015em;
  line-height: 0.95;
  text-transform: uppercase;
}

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

.now {
  color: var(--paper);
}

.arrow {
  color: var(--rust);
}

.conv-note {
  margin: 0;
  max-width: 62ch;
  color: var(--paper-dim);
}

.site-footer {
  padding: 2.5rem 0 3rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-name {
  margin: 0;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-place,
.footer-note,
.greenward {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.footer-note a {
  color: var(--teal-text);
}

.greenward {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.9rem;
  margin-top: 0.3rem;
}

.greenward-label {
  display: block;
  color: var(--muted);
  font-family: var(--cond);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slogan {
  display: block;
  color: var(--paper-dim);
  font-family: var(--cond);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slogan s {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--rust);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 800px) {
  .conv {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    column-gap: 1rem;
    align-items: baseline;
  }

  .conv .num {
    grid-row: 1 / span 2;
    padding-top: 0.45rem;
  }

  .conv-note {
    grid-column: 2;
  }
}

@media (min-width: 900px) {
  .pitch-grid {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
  }

  .feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .feature {
    padding: 0 1.6rem;
    border-left: 1px solid var(--line);
  }

  .feature:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .feature:last-child {
    padding-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }

  .greenward {
    justify-content: flex-end;
  }
}

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(20rem, 38rem) minmax(22rem, 1.15fr);
    min-height: calc(100svh - var(--header));
    align-items: stretch;
  }

  .scene {
    min-height: calc(100svh - var(--header));
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 959px) {
  .scene {
    order: -1;
  }
}

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

@media (forced-colors: active) {
  .scene {
    border: 1px solid CanvasText;
  }

  .status .dot {
    background: CanvasText;
    box-shadow: none;
  }
}
