:root {
  --ink: #171615;
  --paper: #f2ebdc;
  --paper-deep: #dfd2bc;
  --road: #6e604f;
  --seal: #9f2f28;
  --iron: #24292a;
  --ash: #656866;
  --lamp: #c99b51;
  --marsh: #4f6f61;
  --sea: #477987;
  --court: #d8d6cc;
  --archive-cold: #9fb7c8;
  --line: rgba(23, 22, 21, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(242, 235, 220, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  padding: 8px 9px;
  border-bottom: 2px solid transparent;
}

.nav-links a[aria-current="page"] {
  border-color: var(--seal);
}

.hero {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background: var(--iron);
  color: var(--paper);
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(242, 235, 220, 0.08) 72px 73px),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(242, 235, 220, 0.06) 58px 59px);
}

.hero::after {
  content: "";
  position: absolute;
  right: 7vw;
  bottom: 0;
  width: min(28vw, 310px);
  height: min(62vh, 520px);
  background:
    linear-gradient(90deg, transparent 0 35%, rgba(242, 235, 220, 0.22) 35% 42%, transparent 42% 58%, rgba(242, 235, 220, 0.16) 58% 65%, transparent 65%),
    var(--ash);
  clip-path: polygon(42% 0, 58% 0, 66% 18%, 82% 28%, 72% 100%, 28% 100%, 18% 28%, 34% 18%);
  opacity: 0.75;
}

.hero.has-hero-image::before {
  background:
    linear-gradient(90deg, rgba(36, 41, 42, 0.98) 0%, rgba(36, 41, 42, 0.88) 26%, rgba(36, 41, 42, 0.42) 54%, rgba(36, 41, 42, 0.1) 100%),
    linear-gradient(0deg, rgba(36, 41, 42, 0.74), transparent 46%);
  z-index: 1;
}

.hero.has-hero-image::after {
  display: none;
}

.hero-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(201, 155, 81, 0.28) 18% 19%, transparent 19% 34%, rgba(242, 235, 220, 0.18) 34% 35%, transparent 35%),
    var(--road);
  clip-path: polygon(0 68%, 100% 15%, 100% 100%, 0 100%);
}

.hero.has-hero-image .hero-road {
  opacity: 0.28;
  z-index: 1;
}

.hero-slot {
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  top: 88px;
  width: min(34vw, 430px);
  min-height: min(52vh, 420px);
  opacity: 0.86;
  z-index: 1;
}

.hero-slot.has-draft-image {
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  opacity: 1;
  border: 0;
  background: url("../img/gateway/civilization-history-hero-public-v1.webp") center center / cover no-repeat;
  z-index: 0;
}

.hero-slot.has-draft-image::before,
.hero-slot.has-draft-image::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 20px 110px;
  width: 100%;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lamp);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  font-size: 5.6rem;
  max-width: 860px;
  margin: 14px 0 18px;
}

.hero-copy {
  max-width: 650px;
  font-size: 1.14rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  max-width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}

.button.primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.button.secondary {
  color: var(--paper);
}

.section:not(.dark) .button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.22);
}

.hero .button.secondary,
.dark .button.secondary {
  color: var(--paper);
  background: transparent;
}

.section {
  padding: 72px 20px;
}

.section.alt {
  background: var(--paper-deep);
}

.section.dark {
  background: var(--iron);
  color: var(--paper);
}

.outlaws-hero-section {
  padding-top: clamp(44px, 6vw, 64px);
  padding-bottom: clamp(44px, 6vw, 64px);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.intro-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.outlaws-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: clamp(24px, 4vw, 52px);
}

.outlaws-hero-copy {
  margin-bottom: 0;
}

.outlaws-hero-copy h1 {
  font-size: 4.8rem;
  max-width: 680px;
}

.outlaws-hero-copy .lead {
  max-width: 660px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: 2.8rem;
  margin: 0 0 12px;
}

.lead {
  font-size: 1.08rem;
  max-width: 760px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

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

.principle,
.era-card,
.info-card,
.timeline-item,
.note-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  padding: 20px;
}

.card-image {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  height: 260px;
  object-fit: cover;
  margin: -20px -20px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--iron);
}

.info-card.titan .card-image {
  height: clamp(320px, 34vw, 480px);
  object-fit: contain;
  object-position: center center;
  background:
    radial-gradient(circle at 50% 12%, rgba(242, 235, 220, 0.13), transparent 34%),
    linear-gradient(180deg, #0b0c0d, #151719);
}

.dark .principle,
.dark .era-card,
.dark .info-card,
.dark .timeline-item,
.dark .note-panel {
  background: rgba(242, 235, 220, 0.06);
  border-color: rgba(242, 235, 220, 0.18);
}

.principle h3,
.era-card h3,
.info-card h3,
.timeline-item h3 {
  margin: 0 0 8px;
}

.note-panel + .grid {
  margin-top: 18px;
}

.era-card.foundation {
  border-top: 5px solid var(--ash);
}

.book-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.book-list li {
  margin: 6px 0;
}

.era-card.outlaws {
  border-top: 5px solid var(--marsh);
}

.era-card.three-suns {
  border-top: 5px solid var(--sea);
}

.card-meta,
.timeline-era,
.card-role {
  color: var(--seal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dark .card-meta,
.dark .timeline-era,
.dark .card-role {
  color: var(--lamp);
}

.card-hook {
  font-weight: 700;
}

.card-related {
  font-size: 0.9rem;
  color: var(--road);
}

.dark .card-related {
  color: var(--paper-deep);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.timeline-item {
  border-left: 6px solid var(--seal);
}

.stat-grid,
.world-links,
.history-spine,
.banner-grid,
.object-grid,
.visual-card-grid {
  display: grid;
  gap: 18px;
}

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

.stat-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
  padding: 20px;
}

.stat-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--seal);
  margin-bottom: 8px;
}

.stat-card span {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

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

.index-tile {
  display: grid;
  gap: 10px;
  min-height: 190px;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(242, 235, 220, 0.18);
  background: rgba(242, 235, 220, 0.06);
  padding: 20px;
}

.index-tile strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.history-spine {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: history-step;
}

.history-spine article {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  padding: 20px;
}

.history-spine span {
  color: var(--seal);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.visual-memory-card {
  border: 1px solid rgba(242, 235, 220, 0.18);
  background: rgba(242, 235, 220, 0.06);
  padding: 10px;
}

.visual-memory-card img,
.image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.outlaws-hero-visual img {
  aspect-ratio: 16 / 10;
  height: clamp(280px, 34vw, 430px);
  object-fit: cover;
}

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

.image-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  overflow: hidden;
}

.image-card div {
  padding: 18px;
}

.image-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--iron);
}

.wide-visual-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  overflow: hidden;
}

.wide-visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--iron);
}

.wide-visual-card.titan-scale-card img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: var(--iron);
}

.wide-visual-card div {
  padding: 20px;
}

.glossary-visual {
  margin-top: 24px;
}

.visual-note {
  margin-top: 18px;
}

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

.banner-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  padding: 18px;
}

.banner-mark {
  height: 92px;
  border: 1px solid var(--line);
  margin-bottom: 14px;
  display: grid;
  place-items: center;
}

.banner-mark span {
  display: block;
  width: 52px;
  height: 52px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.banner-card.black-crown .banner-mark {
  color: #b03a34;
  background: linear-gradient(135deg, #121212, #24292a);
}

.banner-card.first-mandate .banner-mark {
  color: #c99b51;
  background: linear-gradient(135deg, #6e604f, #dfd2bc);
}

.banner-card.drauven .banner-mark {
  color: #a44a34;
  background: linear-gradient(135deg, #201817, #6e604f);
}

.banner-card.merehold .banner-mark {
  color: #c99b51;
  background: linear-gradient(135deg, #4f6f61, #6e604f);
}

.banner-card.vale .banner-mark {
  color: #9f2f28;
  background: linear-gradient(135deg, #d8d6cc, #656866);
}

.banner-card.veyr .banner-mark {
  color: #9fb7c8;
  background: linear-gradient(135deg, #171615, #24292a);
}

.banner-card.lume .banner-mark {
  color: #c99b51;
  background: linear-gradient(135deg, #171615, #6e604f);
}

.banner-card.thalassar .banner-mark {
  color: #f2ebdc;
  background: linear-gradient(135deg, #477987, #4f6f61);
}

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

.object-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  padding: 20px;
}

.object-symbol {
  width: 78px;
  height: 78px;
  margin-bottom: 14px;
  border: 2px solid var(--seal);
  background: var(--paper-deep);
}

.object-symbol.sealed-star {
  clip-path: polygon(50% 0, 60% 36%, 98% 36%, 67% 57%, 79% 100%, 50% 72%, 21% 100%, 33% 57%, 2% 36%, 40% 36%);
}

.object-symbol.black-writ {
  border-color: var(--ink);
  background: linear-gradient(135deg, var(--ink), var(--seal));
  clip-path: polygon(10% 0, 100% 10%, 88% 100%, 0 86%);
}

.object-symbol.road-mark {
  border-color: var(--road);
  background:
    linear-gradient(115deg, transparent 0 42%, var(--road) 42% 58%, transparent 58%),
    var(--paper-deep);
}

.object-symbol.architect-lamp {
  border-radius: 50% 50% 40% 40%;
  border-color: var(--lamp);
  background: radial-gradient(circle at 50% 36%, var(--lamp), transparent 42%), var(--iron);
}

.timeline-item.titan {
  border-left-color: var(--ash);
}

.timeline-item.record,
.timeline-item.archive {
  border-left-color: var(--lamp);
}

.timeline-item.road {
  border-left-color: var(--marsh);
}

.timeline-item.institution,
.timeline-item.succession {
  border-left-color: var(--sea);
}

.gateway-image {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  isolation: isolate;
}

.gateway-image::before,
.gateway-image::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.gateway-image::before {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(23, 22, 21, 0.11) 42px 43px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 58%);
  opacity: 0.85;
  z-index: 0;
}

.gateway-image::after {
  width: 26%;
  height: 66%;
  right: 12%;
  bottom: 0;
  background: rgba(23, 22, 21, 0.82);
  clip-path: polygon(42% 0, 58% 0, 68% 22%, 85% 36%, 70% 100%, 30% 100%, 15% 36%, 32% 22%);
  opacity: 0.58;
  z-index: 1;
}

.gateway-image.has-draft-image {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-color: rgba(242, 235, 220, 0.18);
}

.gateway-image.has-draft-image::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 22, 21, 0.02), rgba(23, 22, 21, 0.22)),
    linear-gradient(90deg, rgba(23, 22, 21, 0.12), transparent 44%);
  opacity: 1;
  z-index: 1;
}

.gateway-image.has-draft-image::after {
  display: none;
}

.hero-slot.has-draft-image::before,
.hero-slot.has-draft-image::after {
  display: none;
}

.image-band {
  min-height: 180px;
  margin: 28px 0;
}

.slot-home-hero {
  background:
    radial-gradient(circle at 30% 24%, var(--seal) 0 4%, transparent 4.6%),
    linear-gradient(90deg, rgba(159, 183, 200, 0.22), transparent 46%),
    var(--iron);
  border-color: rgba(242, 235, 220, 0.2);
}

.slot-home-hero::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(159, 183, 200, 0.2) 54px 56px),
    linear-gradient(180deg, rgba(159, 183, 200, 0.18), transparent 72%);
}

.slot-home-hero::after {
  right: 22%;
  width: 34%;
  background: linear-gradient(90deg, rgba(159, 183, 200, 0.45) 0 8%, transparent 8% 46%, rgba(159, 183, 200, 0.35) 46% 54%, transparent 54%);
  clip-path: polygon(18% 0, 82% 0, 94% 100%, 6% 100%);
  opacity: 0.7;
}

.slot-home-hero.has-draft-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(23, 22, 21, 0.18), transparent 54%),
    url("../img/gateway/civilization-history-hero-public-v1.webp");
}

.slot-differentiator {
  background:
    radial-gradient(circle at 12% 42%, var(--seal) 0 3%, transparent 3.4%),
    linear-gradient(110deg, transparent 0 42%, rgba(78, 96, 79, 0.25) 42% 58%, transparent 58%),
    var(--paper-deep);
}

.slot-differentiator::after {
  right: 8%;
  width: 14%;
  height: 74%;
  bottom: 12%;
  opacity: 0.32;
}

.slot-start-road,
.slot-road-truth {
  background:
    radial-gradient(circle at 78% 34%, rgba(201, 155, 81, 0.95) 0 4%, transparent 4.8%),
    linear-gradient(120deg, transparent 0 32%, rgba(63, 90, 73, 0.62) 32% 52%, transparent 52%),
    var(--road);
}

.slot-start-road.has-draft-image {
  background-image:
    linear-gradient(180deg, rgba(23, 22, 21, 0.02), rgba(23, 22, 21, 0.26)),
    url("../img/gateway/start-road-keeps-true-page-draft-v1.webp");
}

.slot-start-road::before,
.slot-road-truth::before {
  background:
    linear-gradient(112deg, transparent 0 20%, rgba(216, 199, 163, 0.28) 20% 21%, transparent 21% 43%, rgba(111, 116, 114, 0.48) 43% 46%, transparent 46%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(242, 235, 220, 0.08) 38px 39px);
}

.slot-start-road::after,
.slot-road-truth::after {
  right: 72%;
  bottom: 8%;
  width: 4%;
  height: 48%;
  background: rgba(216, 199, 163, 0.5);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}

.slot-threshold {
  background:
    radial-gradient(circle at 34% 46%, var(--seal) 0 4%, transparent 4.6%),
    linear-gradient(90deg, rgba(201, 155, 81, 0.42) 0 48%, rgba(111, 116, 114, 0.66) 48%),
    var(--paper-deep);
}

.slot-threshold.has-draft-image {
  background-image:
    linear-gradient(90deg, rgba(23, 22, 21, 0.18), transparent 54%),
    url("../img/gateway/outlaw-era-document-threshold-draft-v1.webp");
}

.slot-threshold::after {
  right: 47%;
  width: 2px;
  height: 100%;
  bottom: 0;
  background: rgba(23, 22, 21, 0.48);
  clip-path: none;
  opacity: 1;
}

.slot-appeal-tray {
  background:
    linear-gradient(180deg, rgba(216, 199, 163, 0.35), transparent 54%),
    var(--court);
}

.slot-appeal-tray::before {
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(23, 22, 21, 0.2) 22% 78%, transparent 78%),
    linear-gradient(180deg, transparent 0 54%, rgba(23, 22, 21, 0.24) 54% 61%, transparent 61%);
}

.slot-appeal-tray::after {
  right: 18%;
  bottom: 20%;
  width: 34%;
  height: 10%;
  background: rgba(23, 22, 21, 0.55);
  clip-path: polygon(0 18%, 100% 0, 92% 100%, 7% 82%);
  opacity: 0.75;
}

.slot-ledger {
  background:
    radial-gradient(circle at 70% 38%, rgba(159, 47, 40, 0.45) 0 3%, transparent 3.6%),
    linear-gradient(135deg, rgba(111, 116, 114, 0.48), rgba(74, 55, 41, 0.58)),
    var(--paper-deep);
}

.slot-ledger::after {
  right: 22%;
  bottom: 24%;
  width: 45%;
  height: 24%;
  background: rgba(74, 55, 41, 0.86);
  clip-path: polygon(0 18%, 100% 0, 96% 78%, 8% 100%);
  opacity: 0.9;
}

.slot-visual-promise {
  background:
    linear-gradient(90deg, rgba(159, 183, 200, 0.48), transparent 35%, rgba(63, 90, 73, 0.42)),
    var(--paper-deep);
}

.slot-visual-promise.has-draft-image {
  background-image:
    linear-gradient(90deg, rgba(23, 22, 21, 0.2), transparent 46%, rgba(23, 22, 21, 0.16)),
    url("../img/gateway/visual-promise-archive-road-band-draft-v1.webp");
}

.slot-about-strip {
  background:
    radial-gradient(circle at 15% 42%, var(--seal) 0 3%, transparent 3.6%),
    linear-gradient(90deg, rgba(216, 199, 163, 0.92), rgba(111, 116, 114, 0.28), rgba(201, 155, 81, 0.22));
}

.slot-about-strip.has-draft-image {
  background-image:
    linear-gradient(90deg, rgba(242, 235, 220, 0.12), transparent 68%),
    url("../img/gateway/about-ip-record-road-strip-draft-v1.webp");
}

.slot-about-strip::after {
  right: 8%;
  bottom: 18%;
  width: 64%;
  height: 16%;
  background: rgba(74, 55, 41, 0.55);
  clip-path: polygon(0 68%, 100% 0, 100% 100%, 0 100%);
  opacity: 0.8;
}

.slot-about-strip.has-draft-image::after {
  display: none;
}

.motif-band {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.visual-panel {
  min-height: 330px;
  background:
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(23, 22, 21, 0.12) 42px 43px),
    var(--paper-deep);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.visual-panel::before {
  content: "";
  position: absolute;
  left: 12%;
  bottom: 0;
  width: 58%;
  height: 42%;
  background: var(--road);
  clip-path: polygon(0 78%, 100% 18%, 100% 100%, 0 100%);
}

.visual-panel::after {
  content: "";
  position: absolute;
  right: 13%;
  bottom: 18%;
  width: 18%;
  height: 58%;
  background: var(--iron);
  clip-path: polygon(42% 0, 58% 0, 68% 22%, 85% 36%, 70% 100%, 30% 100%, 15% 36%, 32% 22%);
}

.visual-panel.has-draft-image::before,
.visual-panel.has-draft-image::after {
  display: none;
}

.footer {
  padding: 36px 20px;
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand,
.footer-meta {
  display: grid;
  gap: 6px;
}

.footer-brand {
  max-width: 430px;
}

.footer-meta {
  max-width: 520px;
  text-align: right;
}

.small {
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .footer-meta {
    text-align: left;
  }

  .hero {
    min-height: 560px;
  }

  h1 {
    font-size: 4rem;
  }

  .section-heading h2 {
    font-size: 2.45rem;
  }

  .hero::after {
    width: 190px;
    height: 330px;
    opacity: 0.44;
  }

  .hero-slot {
    top: auto;
    right: 18px;
    bottom: 26px;
    width: 38vw;
    min-height: 190px;
    opacity: 0.38;
  }

  .hero.has-hero-image::before {
    background:
      linear-gradient(90deg, rgba(36, 41, 42, 0.98) 0%, rgba(36, 41, 42, 0.86) 52%, rgba(36, 41, 42, 0.38) 100%),
      linear-gradient(0deg, rgba(36, 41, 42, 0.78), transparent 42%);
  }

  .hero.has-hero-image .hero-slot.has-draft-image {
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    opacity: 1;
  }

  .grid,
  .grid.two,
  .grid.four,
  .motif-band,
  .intro-visual-grid,
  .timeline.compact,
  .stat-grid,
  .world-links,
  .history-spine,
  .visual-card-grid,
  .banner-grid,
  .object-grid {
    grid-template-columns: 1fr;
  }

  .gateway-image {
    min-height: 220px;
  }

  .outlaws-hero-copy h1 {
    font-size: 3.7rem;
  }

  .outlaws-hero-visual img {
    height: auto;
    max-height: 360px;
  }

  .card-image {
    height: 220px;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    padding: 72px 20px 92px;
  }

  .actions {
    align-items: stretch;
  }

  .actions .button {
    flex: 1 1 100%;
  }

  h1 {
    font-size: 2.85rem;
  }

  .outlaws-hero-copy h1 {
    font-size: 2.85rem;
  }

  .section-heading h2 {
    font-size: 2.05rem;
  }

  .lead,
  .hero-copy {
    font-size: 1rem;
  }
}
