/* SurvivalBob sponsor site. Brand: #0d0e12, #FA970A, #F8650C. */

@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/fonts/bebas-neue-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0e12;
  --bg-raised: #14161c;
  --bg-card: #16181f;
  --text: #f4f1ea;
  --muted: #d2cdc2;
  --orange: #fa970a;
  --orange-deep: #f8650c;
  --orange-ink: #1a0e00;
  --line: rgba(250, 151, 10, 0.38);
  --line-soft: rgba(244, 241, 234, 0.14);
  --focus: #fa970a;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --header-h: 4.25rem;
  --wrap: 1120px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

p,
ul,
ol,
dl {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p {
  text-wrap: pretty;
}

a {
  color: #ffbf63;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffe0a8;
}

:focus {
  outline: none;
}

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

.skip-link {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 80;
  transform: translateY(-160%);
  background: var(--orange);
  color: var(--orange-ink);
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
}

.skip-link:focus {
  transform: none;
}

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

.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;
}

#main:focus {
  outline: none;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 14, 18, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(248, 101, 12, 0.35);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand picture,
.identity picture,
.hero-bust picture {
  display: block;
  line-height: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--orange);
}

.wordmark {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
  text-transform: uppercase;
}

.wordmark span {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-bars {
  width: 1rem;
  height: 2px;
  background: var(--orange);
  box-shadow: 0 -5px 0 var(--orange), 0 5px 0 var(--orange);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.1rem;
}

.site-nav a[aria-current="page"] {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.site-nav a:hover {
  color: var(--orange);
}

/* Hero */

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
}

.backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.backdrop img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 14, 18, 0.45) 0%, rgba(13, 14, 18, 0.78) 58%, #0d0e12 100%),
    linear-gradient(90deg, rgba(13, 14, 18, 0.9) 0%, rgba(13, 14, 18, 0.62) 52%, rgba(13, 14, 18, 0.78) 100%);
}

.hero-inner {
  padding: 2.4rem 0 2.6rem;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.55fr);
  gap: 1rem 1.5rem;
  align-items: end;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--orange);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.35rem;
}

.identity img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--orange);
}

.hero-wordmark {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.82;
}

.handles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin: 0.85rem 0 1.1rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.handles a {
  color: var(--text);
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.page-home h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  text-transform: none;
  letter-spacing: -0.015em;
  line-height: 0.98;
}

.hero-bust {
  justify-self: end;
  width: min(100%, 320px);
}

.hero-bust img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.stat-card,
.card {
  background: rgba(20, 22, 28, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: inset 0 3px 0 var(--orange);
}

.stat-card {
  padding: 0.95rem 1rem 1rem;
  min-width: 0;
}

.stat-value {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--orange);
}

.stat-label {
  margin-top: 0.35rem;
  color: var(--text);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-note,
.fine {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.btn-primary,
.btn-primary:visited {
  background: var(--orange);
  color: var(--orange-ink);
}

.btn-primary:hover {
  background: #ffb13a;
  color: var(--orange-ink);
}

.btn-secondary,
.btn-secondary:visited {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.btn-secondary:hover {
  background: rgba(250, 151, 10, 0.12);
  color: #ffd18a;
}

.btn-meta {
  font-family: "Barlow", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.05rem 0.35rem;
}

.rates-line {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding: 3.2rem 0;
}

.section + .section {
  padding-top: 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
}

.section-head h2,
.block-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.subhead {
  margin-top: 2.2rem;
}

.follow {
  margin-top: 0.9rem;
}

.form-card .actions {
  grid-column: 1 / -1;
}

.section-head h2::before,
.block-title::before {
  content: "";
  width: 6px;
  height: 0.85em;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  flex: none;
}

.section-head p,
.lead {
  color: var(--muted);
  max-width: 68ch;
}

.lead {
  margin-top: 0.9rem;
  font-size: 1.15rem;
  color: var(--text);
}

.page-hero .wrap {
  position: relative;
  padding: 2.5rem 0 2.1rem;
}

.page-hero h1 {
  max-width: 20ch;
}

/* Series */

.series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.series-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  height: 100%;
}

.series-media {
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  background: #1c1e26;
}

.series-card:hover {
  border-color: var(--orange);
  color: var(--text);
  transform: translateY(-3px);
}

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

.card-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.series-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem 0.85rem 0.95rem;
  min-width: 0;
}

.series-card h3 {
  font-size: 1.25rem;
}

.series-views {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 0.95;
  color: var(--orange);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.series-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

h3.video-title {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
  text-wrap: pretty;
}

.series-views span,
.ext {
  display: block;
  margin-top: 0.15rem;
  font-family: "Barlow", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0;
  color: var(--muted);
  text-transform: none;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.15rem;
  background: var(--orange);
  color: var(--orange-ink);
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}

/* Brands */

.partner-group + .partner-group {
  margin-top: 0.9rem;
}

.partner-group {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 0.7rem 1rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-soft);
}

.partner-label {
  margin: 0.35rem 0 0;
  color: var(--orange);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  max-width: 100%;
  border: 1px solid var(--line);
  background: rgba(250, 151, 10, 0.06);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}

.chip strong {
  font-weight: 600;
}

.chip span {
  color: var(--muted);
  min-width: 0;
}

/* Audience */

.split-3,
.split-2,
.steps {
  display: grid;
  gap: 0.8rem;
}

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

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

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

.card {
  padding: 1rem 1rem 1.1rem;
  box-shadow: none;
  min-width: 0;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.donut-row {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.donut {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}

.donut span {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bg-card);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.3rem;
}

.donut strong {
  display: block;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 0.85;
  color: var(--orange);
  letter-spacing: 0.03em;
}

.donut em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legend {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.legend li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.18rem 0;
}

.legend strong {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  flex: none;
  transform: translateY(1px);
}

.age-callout {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
}

.age-callout strong {
  display: block;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 0.85;
  color: var(--orange);
}

.month-note,
.footnote,
.stream-note {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 78ch;
}

.footnote {
  font-size: 0.98rem;
}

/* Case studies */

.case-kicker {
  color: var(--orange);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.8rem;
}

.case-metrics p {
  min-width: 6rem;
}

.case-metrics strong {
  display: block;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 0.85;
  color: var(--orange);
}

.case-note {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
}

/* Formats, steps, draft */

.format-list,
.fit-list {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.format-list li,
.fit-list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line-soft);
}

.format-list strong,
.fit-list li {
  display: block;
}

.format-list span {
  color: var(--muted);
}

.step-num {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--orange);
  letter-spacing: 0.04em;
}

.step h3 {
  margin: 0.25rem 0 0.4rem;
}

.draft-card h2.subhead {
  margin-top: 0.85rem;
}

.draft-card {
  border-style: dashed;
  background:
    linear-gradient(180deg, rgba(250, 151, 10, 0.08), rgba(20, 22, 28, 0.4));
}

.draft-flag {
  display: inline-block;
  margin-bottom: 0.55rem;
  background: var(--orange);
  color: var(--orange-ink);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.fit-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 0.8rem;
}

.onpage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin-top: 1.15rem;
}

.onpage a {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.onpage a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* Form */

.form-card {
  margin-top: 0.4rem;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
  margin-top: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.field.full,
fieldset.full {
  grid-column: 1 / -1;
}

label,
legend {
  font-weight: 600;
}

.hint,
.optional {
  color: var(--muted);
  font-weight: 400;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(244, 241, 234, 0.28);
  background: #101218;
  color: var(--text);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

::placeholder {
  color: #c4beb4;
  opacity: 1;
}

fieldset {
  margin: 0;
  padding: 0.8rem 0.9rem 0.95rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  min-width: 0;
}

.checks {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.checks label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 400;
}

input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: 0.15rem;
  accent-color: var(--orange);
}

.form-status,
.form-fallback {
  grid-column: 1 / -1;
  background: #101218;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

.form-fallback {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
}

.email-break {
  overflow-wrap: anywhere;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.8rem;
}

.contact-links {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
}

.contact-links a:hover {
  border-color: var(--orange);
  color: var(--text);
}

.contact-links span {
  color: var(--orange);
  font-weight: 600;
}

/* Media kit */

.kit-frame {
  background: #090a0d;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.55rem;
  box-shadow: var(--shadow);
}

.kit-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0;
}

/* Footer */

.site-footer {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  background: #0a0b0f;
  padding: 2rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.2fr;
  gap: 1.4rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text);
}

.legal {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.fan-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-top: 0.7rem;
  padding: 0;
  list-style: none;
}

/* 404 */

.empty {
  padding: 3rem 0 4rem;
}

/* Motion and forced colors */

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

  .series-card:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .btn-primary,
  .btn-secondary,
  .draft-flag,
  .badge {
    border: 1px solid ButtonText;
  }

  .stat-card,
  .card,
  .series-card {
    border: 1px solid CanvasText;
  }
}

/* Responsive */

@media (max-width: 980px) {
  .stat-grid,
  .series-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-3,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-top {
    grid-template-columns: 1fr;
  }

  .hero-bust {
    justify-self: start;
    width: min(220px, 55vw);
    margin-top: -0.5rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1rem 0.9rem;
    background: #12141a;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.15rem;
    font-size: 1.3rem;
    border-top: 1px solid var(--line-soft);
  }

  .partner-group,
  .fit-cols,
  form,
  .split-2 {
    grid-template-columns: 1fr;
  }

  .field.full,
  fieldset.full {
    grid-column: auto;
  }

  .donut-row {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 1.5rem));
  }

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

  .identity img {
    width: 72px;
    height: 72px;
  }

  .donut {
    width: 112px;
    height: 112px;
  }

  .donut span {
    width: 72px;
    height: 72px;
  }

  .page-home h1 {
    max-width: none;
  }
}
