/* DirtToHome.com — "Mile marker" road-sign identity.
   Green guide-sign shields mark the six stops; amber warning diamonds mark what has to be
   true before the next one. Caliche ground, big Texas sky. */

:root {
  --caliche: #f1ebdd;
  --caliche-deep: #e5dcc7;
  --panel: #fcf9f2;
  --road: #c2b49a;

  --ink: #1b2321;
  --ink-soft: #55605d;
  --ink-faint: #626c69;

  --sign-green: #16624a;
  --sign-green-deep: #0e4433;
  --sign-green-tint: rgba(22, 98, 74, 0.12);

  --warn: #e0a12b;
  --warn-deep: #7d5109;
  --warn-tint: #fbf1dd;

  --sky-top: #1b465f;
  --sky-mid: #2c6382;
  --sky-low: #7ba9c4;

  --line: rgba(27, 35, 33, 0.14);
  --line-strong: rgba(27, 35, 33, 0.3);
  --lift: 0 18px 46px rgba(30, 38, 30, 0.09);

  --sans: 'Overpass', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mono: 'Overpass Mono', ui-monospace, 'Cascadia Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--caliche);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.03rem;
  line-height: 1.62;
  overflow-x: hidden;
}

h1,
h2,
h3,
.stop-kicker,
.eyebrow,
.btn,
.brand-word,
.main-nav a,
.turnoff-when,
.plate-value,
.rail-name {
  font-family: var(--sans);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.026em;
  line-height: 1.02;
}

p {
  margin: 0;
}

a {
  color: var(--sign-green-deep);
}

img,
svg {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--warn);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  width: min(1200px, calc(100% - 44px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warn-deep);
}

.eyebrow-light {
  color: #f2c976;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--sign-green);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  padding: 12px 20px;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
  top: 12px;
}

[hidden] {
  display: none !important;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(241, 235, 221, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-shield {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--sign-green);
  border: 3px solid var(--sign-green);
  box-shadow: inset 0 0 0 2px #fff;
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.brand-word {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.brand-word span {
  color: var(--ink-faint);
  font-weight: 600;
}

.main-nav {
  display: flex;
  gap: 26px;
}

.main-nav a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--sign-green-deep);
  border-bottom-color: var(--warn);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fdfaf2;
  color: var(--sign-green-deep);
  border-color: var(--sign-green-deep);
  box-shadow: 0 12px 26px rgba(8, 26, 38, 0.3);
}

.btn-ghost {
  background: rgba(9, 28, 40, 0.46);
  color: #fdfaf2;
  border-color: rgba(253, 250, 242, 0.72);
  backdrop-filter: blur(3px);
}

.btn-ghost:hover {
  background: rgba(9, 28, 40, 0.62);
}

.btn-quiet {
  background: transparent;
  color: var(--sign-green-deep);
  border-color: var(--line-strong);
  padding: 11px 20px;
  font-size: 0.88rem;
}

.btn-quiet:hover {
  border-color: var(--sign-green);
  background: var(--sign-green-tint);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(580px, 90vh, 800px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 40%, #4f88a8 62%, var(--sky-low) 76%);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-scene span {
  position: absolute;
  display: block;
}

.sun {
  right: 13%;
  top: 13%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 234, 190, 0.34), rgba(255, 234, 190, 0) 66%);
}

.cloud {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.26);
  filter: blur(5px);
}

.cloud-a {
  left: 4%;
  top: 23%;
  width: 320px;
}

.cloud-b {
  right: 14%;
  top: 36%;
  width: 210px;
  height: 5px;
  opacity: 0.65;
}

.ridge {
  left: -6%;
  right: -6%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.ridge-far {
  bottom: 33%;
  height: 96px;
  background: #6f8f8a;
  opacity: 0.55;
}

.ridge-near {
  bottom: 33%;
  height: 58px;
  background: #4f6b5c;
  opacity: 0.6;
}

.ground {
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, #c9b998 0%, #ded4bf 55%, var(--caliche) 100%);
}

.fenceline {
  left: 0;
  right: 0;
  bottom: 31.4%;
  height: 30px;
  background-image: repeating-linear-gradient(
      90deg,
      rgba(58, 48, 36, 0.55) 0 3px,
      transparent 3px 46px
    ),
    linear-gradient(rgba(58, 48, 36, 0.4), rgba(58, 48, 36, 0.4)),
    linear-gradient(rgba(58, 48, 36, 0.3), rgba(58, 48, 36, 0.3));
  background-size: 100% 100%, 100% 2px, 100% 2px;
  background-position: 0 0, 0 8px, 0 19px;
  background-repeat: repeat-x;
  opacity: 0.75;
}

.drive {
  bottom: 0;
  left: 0;
  right: 0;
  height: 34%;
  background: linear-gradient(180deg, #b3a07d, #c8ba99);
  clip-path: polygon(52.6% 0, 56.4% 0, 79% 100%, 33% 100%);
}

.drive-stripe {
  bottom: 0;
  left: 0;
  right: 0;
  height: 34%;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255, 252, 242, 0.9) 0 3.5%,
    rgba(255, 252, 242, 0) 3.5% 10%
  );
  clip-path: polygon(54.2% 0, 54.9% 0, 57.2% 100%, 54.8% 100%);
}

.stake {
  bottom: 31%;
  left: 44%;
  width: 5px;
  height: 60px;
  background: #493827;
}

.stake::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  width: 28px;
  height: 20px;
  background: var(--warn);
  clip-path: polygon(0 0, 100% 32%, 0 64%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 28, 40, 0.62) 0%, rgba(9, 28, 40, 0.34) 46%, rgba(9, 28, 40, 0) 76%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 130px;
  max-width: 940px;
}

.hero h1 {
  font-size: clamp(2.65rem, 6.4vw, 5.15rem);
  color: #fdfbf4;
  letter-spacing: -0.032em;
  line-height: 0.97;
  text-wrap: balance;
  text-shadow: 0 4px 26px rgba(6, 22, 32, 0.4);
}

.lede {
  margin-top: 22px;
  max-width: 62ch;
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.6;
  color: #dfecf2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.jurisdiction {
  margin-top: 34px;
  max-width: 620px;
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(9, 28, 40, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.jurisdiction-plate {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.plate-key {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #a9c7d6;
}

.plate-value {
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: 0.02em;
  color: #fdfbf4;
}

.scope-note {
  margin-top: 8px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #dbe7ee;
}

/* ---------- shared section furniture ---------- */

.route,
.who,
.next,
.sources {
  padding: clamp(70px, 8vw, 116px) 0;
}

.who {
  background: var(--caliche-deep);
}

.section-head {
  max-width: 74ch;
  margin-bottom: clamp(40px, 5vw, 62px);
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.05;
  text-wrap: balance;
}

.section-lede {
  margin-top: 18px;
  max-width: 66ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
}

.section-head .btn-quiet {
  margin-top: 24px;
}

/* ---------- the route ---------- */

.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

.route-rail ol {
  list-style: none;
  margin: 0;
  padding: 0 2px 8px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.route-rail a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
}

.route-rail a[aria-current='true'] {
  border-color: var(--sign-green);
  background: var(--sign-green-tint);
  color: var(--sign-green-deep);
}

.rail-shield {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: var(--sign-green);
  border: 2px solid var(--sign-green);
  box-shadow: inset 0 0 0 1.5px #fff;
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.78rem;
}

.rail-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.stops {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stop {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 40px);
  position: relative;
}

.stop::before {
  content: '';
  grid-column: 1;
  grid-row: 1 / -1;
  width: 70px;
  align-self: stretch;
  background-color: var(--road);
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 252, 242, 0.95) 0 24px,
    rgba(255, 252, 242, 0) 24px 50px
  );
  background-size: 4px 100%;
  background-position: 50% 0;
  background-repeat: repeat-y;
  box-shadow: inset 4px 0 0 rgba(255, 252, 242, 0.5), inset -4px 0 0 rgba(255, 252, 242, 0.5);
}

.stop-last::before {
  -webkit-mask-image: linear-gradient(to bottom, #000 0 34%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0 34%, transparent 88%);
}

.shield {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  background: var(--sign-green);
  border: 4px solid var(--sign-green);
  box-shadow: inset 0 0 0 2.5px #fff, 0 10px 20px rgba(24, 40, 30, 0.22);
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
}

.stop-body {
  grid-column: 2;
  grid-row: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--lift);
}

.stop-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sign-green);
  margin-bottom: 10px;
}

.stop-body h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.05;
  text-wrap: balance;
}

.stop-lead {
  margin-top: 14px;
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.stop-facts {
  margin: 26px 0 0;
  display: grid;
  gap: 2px;
  border-top: 2px solid var(--ink);
}

.stop-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 8px 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.stop-facts dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sign-green-deep);
  line-height: 1.5;
}

.stop-facts dd {
  margin: 0;
  color: var(--ink);
}

.stop-facts .consequence {
  background: var(--warn-tint);
  border-bottom: none;
  border-left: 5px solid var(--warn);
  padding: 18px 20px;
  margin-top: 6px;
}

.stop-facts .consequence dt {
  color: var(--warn-deep);
}

.stop-boundary {
  margin-top: 20px;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-faint);
}

.stop-boundary span {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 8px;
}

.gate-mark {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  align-self: start;
  z-index: 2;
  width: 28px;
  height: 28px;
  margin-top: 34px;
  border-radius: 4px;
  background: var(--warn);
  border: 3px solid var(--ink);
  transform: rotate(45deg);
}

.gate {
  grid-column: 2;
  grid-row: 2;
  padding: 30px 0 34px;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.gate-label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--warn-deep);
}

/* ---------- thesis band ---------- */

.thesis {
  background: var(--sign-green-deep);
  color: #eef5ef;
  padding: clamp(64px, 7vw, 104px) 0;
  position: relative;
  overflow: hidden;
}

.thesis::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 22px;
  transform: rotate(45deg);
  border: 14px solid rgba(224, 161, 43, 0.16);
}

.thesis-inner {
  position: relative;
  max-width: 78ch;
}

.thesis h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  color: #fdfbf4;
  text-wrap: balance;
}

.thesis p {
  margin-top: 20px;
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
  color: #d5e4d8;
  max-width: 68ch;
}

/* ---------- who answers (signpost) ---------- */

.signpost {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.sign {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px 62px 26px 26px;
  background: var(--sign-green);
  color: #eaf3ec;
  border-radius: 4px 0 0 4px;
  clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 50%, calc(100% - 38px) 100%, 0 100%);
  max-width: 1000px;
}

.sign:nth-child(2) {
  margin-left: clamp(0px, 3vw, 34px);
  background: #1a6e53;
}

.sign:nth-child(3) {
  margin-left: clamp(0px, 6vw, 68px);
  background: #1e7a5c;
}

.sign:nth-child(4) {
  margin-left: clamp(0px, 9vw, 102px);
  background: #226b57;
}

.sign-num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.2rem;
  color: #f3c777;
  padding-top: 1px;
}

.sign h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: #fff;
}

.sign p {
  margin-top: 8px;
  max-width: 58ch;
  color: #d3e6da;
  font-size: 0.99rem;
}

/* ---------- where to go next ---------- */

.turnoffs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
}

.turnoffs li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 5px solid var(--warn);
  border-radius: 3px;
}

.turnoff-when {
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.turnoff-what {
  color: var(--ink-soft);
  font-size: 0.98rem;
  flex: 1;
}

.turnoff-go {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sign-green-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--sign-green-tint);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: border-color 0.16s ease;
}

.turnoff-go:hover {
  border-bottom-color: var(--sign-green);
}

.turnoff-local {
  border-top-color: var(--sign-green);
}

/* ---------- sources ---------- */

.sources {
  background: var(--caliche-deep);
}

.source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.source-list a {
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--sign-green);
  border-radius: 3px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.source-list a:hover {
  transform: translateY(-3px);
  box-shadow: var(--lift);
}

.source-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--warn-deep);
}

.source-list strong {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.source-list small {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.source-list code {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-faint);
  word-break: break-all;
}

/* ---------- footer ---------- */

.site-footer {
  background: #141a18;
  color: #c7d3cc;
  padding: 46px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-limit {
  max-width: 74ch;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-top {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  color: #f0dcb3;
  text-decoration: none;
  border-bottom: 2px solid rgba(240, 220, 179, 0.35);
  padding-bottom: 3px;
  white-space: nowrap;
}

.footer-top:hover {
  border-bottom-color: var(--warn);
}

/* ---------- responsive ---------- */

@media (min-width: 1080px) {
  .route-layout {
    grid-template-columns: 182px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }

  .route-rail {
    position: sticky;
    top: 104px;
  }

  .route-rail ol {
    flex-direction: column;
    gap: 6px;
    overflow: visible;
    padding: 0;
  }

  .route-rail a {
    width: 100%;
  }
}

@media (max-width: 880px) {
  .main-nav {
    display: none;
  }

  .hero-inner {
    padding: 92px 0 110px;
  }
}

@media (max-width: 700px) {
  .stop {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 16px;
  }

  .stop::before,
  .shield {
    width: 46px;
  }

  .shield {
    height: 46px;
    font-size: 1.05rem;
    border-width: 3px;
    box-shadow: inset 0 0 0 2px #fff, 0 8px 16px rgba(24, 40, 30, 0.2);
  }

  .stop::before {
    background-size: 3px 100%;
    box-shadow: inset 3px 0 0 rgba(255, 252, 242, 0.5), inset -3px 0 0 rgba(255, 252, 242, 0.5);
  }

  .gate-mark {
    width: 22px;
    height: 22px;
    margin-top: 28px;
    border-width: 2px;
  }

  .stop-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .sign {
    padding: 22px 44px 22px 20px;
    gap: 14px;
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%);
  }

  .sign:nth-child(2),
  .sign:nth-child(3),
  .sign:nth-child(4) {
    margin-left: 0;
  }

  .hero {
    min-height: 600px;
  }

  .hero-inner {
    padding: 76px 0 96px;
  }

  .sun {
    width: 130px;
    height: 130px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .btn:hover,
  .source-list a:hover {
    transform: none;
  }
}

/* ---------- print: take the route with you ---------- */

@media print {
  .site-header,
  .hero-scene,
  .hero-actions,
  .route-rail,
  .btn,
  .footer-top,
  .thesis::before {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .hero {
    min-height: 0;
    background: #fff;
    color: #000;
    border-bottom: 2pt solid #000;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    padding: 0 0 14pt;
  }

  .hero h1 {
    color: #000;
    font-size: 24pt;
    text-shadow: none;
  }

  .lede,
  .scope-note {
    color: #000;
  }

  .jurisdiction {
    background: none;
    border: 1pt solid #000;
    backdrop-filter: none;
  }

  .plate-key,
  .plate-value {
    color: #000;
  }

  .route,
  .who,
  .next,
  .sources,
  .thesis {
    padding: 14pt 0;
    background: #fff;
    color: #000;
  }

  .thesis h2,
  .thesis p,
  .sign h3,
  .sign p,
  .sign-num {
    color: #000;
  }

  .sign {
    background: none;
    border: 1pt solid #000;
    clip-path: none;
    padding: 8pt;
    margin-left: 0 !important;
  }

  .stop {
    grid-template-columns: 34pt minmax(0, 1fr);
    break-inside: avoid;
  }

  .stop::before {
    display: none;
  }

  .shield {
    width: 30pt;
    height: 30pt;
    background: none;
    color: #000;
    border: 1.5pt solid #000;
    box-shadow: none;
    font-size: 12pt;
  }

  .stop-body {
    background: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8pt;
  }

  .stop-facts .consequence {
    background: none;
    border-left: 2pt solid #000;
  }

  .source-list a::after {
    content: ' (' attr(href) ')';
    font-size: 8pt;
    word-break: break-all;
  }

  .source-list a,
  .turnoffs li {
    box-shadow: none;
    border: 1pt solid #000;
  }

  .site-footer {
    background: none;
    color: #000;
    border-top: 1pt solid #000;
  }
}
