:root {
  --ink: #0d0b0a;
  --coal: #171311;
  --brass: #edc621;
  --gold: #edc621;
  --paper: #f4efe6;
  --muted: #c2b6a4;
  --line: rgba(244, 239, 230, 0.12);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --easing: cubic-bezier(0.19, 1, 0.22, 1);
  --intro-indicator-text: rgba(244, 239, 230, 0.85);
  --intro-indicator-glow: rgba(199, 164, 106, 0.35);
}

@font-face {
  font-family: "Bahn";
  src: url("./bahn.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Bahn Light";
  src: url("./Bahnschrift-Light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}

body:not(.intro-open),
body:not(.intro-open) * {
  cursor: auto;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: "Bahn", monospace;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.05) 1px, transparent 1px),
    radial-gradient(
      900px 650px at 12% -10%,
      rgba(199, 164, 106, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 95% 8%,
      rgba(159, 47, 46, 0.18),
      transparent 65%
    ),
    linear-gradient(180deg, #241c17 0%, #171311 45%, #0b0a09 100%);
  background-size:
    90px 90px,
    90px 90px,
    100% 100%,
    100% 100%,
    100% 100%;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    0 0;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    transparent 0%,
    rgba(244, 239, 230, 0.06) 50%,
    transparent 100%
  );
  background-size: 100% 6px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 50% 20%,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 70%
  );
  pointer-events: none;
  z-index: 0;
}

.intro-scroll {
  position: fixed;
  inset: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  z-index: 4;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.intro-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.intro-spacer {
  height: 260vh;
  width: 100%;
  position: relative;
  z-index: 0;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* NEW: Particle Container & Styles */
.intro-particles {
  position: absolute;
  inset: 0;
  z-index: 0; /* Ensures it sits behind the lock crest */
  overflow: hidden;
  pointer-events: none;
}

.intro-particle {
  position: absolute;
  /* Typography settings for the dollar sign */
  font-family:
    "Courier New", Courier, monospace; /* Or "Bahn" if you prefer the custom font */
  font-weight: bold;
  line-height: 1;

  pointer-events: none;
  will-change: transform, opacity;

  /* Mix blend overlay looks cool, but normal is more visible for text */
  mix-blend-mode: normal;

  /* Text shadow creates the "glow" instead of box-shadow */
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);

  /* Prevent selecting the text */
  user-select: none;
}

.intro-crest {
  display: grid;
  place-items: center;
  width: 480px;
  max-width: 88vw;
  aspect-ratio: 1 / 1;
  transform-origin: 44.5% 50%;
  will-change: transform;
}

.intro-part {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  display: block;
  backface-visibility: hidden;
}

.intro-rotating {
  transform-origin: 44.5% 50%;
  will-change: transform;
}

.intro-content {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease;
  min-height: 100vh;
}

body.intro-open .intro-content {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intro-indicator {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 55;
  color: var(--intro-indicator-text);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.62rem;
  font-weight: 600;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  text-shadow: 0 0 18px var(--intro-indicator-glow);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.intro-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: introChevron 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 6px var(--intro-indicator-glow));
}

body.intro-open .intro-overlay,
body.intro-open .intro-indicator {
  opacity: 0;
  visibility: hidden;
}

@keyframes introChevron {
  0% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(7px) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.3;
  }
}

@keyframes introChevronUp {
  0% {
    transform: translateY(0) rotate(-135deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-7px) rotate(-135deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(-135deg);
    opacity: 0.3;
  }
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  mix-blend-mode: soft-light;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

main,
header,
footer,
.ticker {
  position: relative;
  z-index: 2;
}

.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s,
    opacity 0.3s;
  opacity: 0;
}

.cursor {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(244, 239, 230, 0.75);
  background: radial-gradient(
    circle,
    rgba(244, 239, 230, 0.95) 1px,
    transparent 2px
  );
  box-shadow: 0 0 10px rgba(199, 164, 106, 0.25);
}

.cursor::before,
.cursor::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(244, 239, 230, 0.7);
  transform: translate(-50%, -50%);
}

.cursor::before {
  width: 28px;
  height: 1px;
}

.cursor::after {
  width: 1px;
  height: 28px;
}

.cursor.glow {
  border-color: var(--paper);
  box-shadow:
    0 0 12px rgba(199, 164, 106, 0.6),
    0 0 24px rgba(199, 164, 106, 0.4);
}

.cursor.glow::before,
.cursor.glow::after {
  background: rgba(244, 239, 230, 0.95);
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 239, 230, 0.35);
  transition:
    top 0.1s,
    left 0.1s,
    transform 0.3s var(--easing),
    opacity 0.3s;
}

.cursor-follower.glow {
  border-color: rgba(244, 239, 230, 0.9);
  box-shadow: 0 0 18px rgba(199, 164, 106, 0.45);
}

.wrap {
  width: min(1200px, 90%);
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Staatliches", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--muted);
}

.brass {
  /* background-image: var(--gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; */
  /* background-size: contain; */
  /* background-size: 138px;
    background-position: 140px; */
  color: var(--gold);
}

.section {
  padding: clamp(80px, 10vw, 120px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
  position: relative;
}

.section-alt {
  background: rgba(12, 10, 9, 0.6);
}

.section-head {
  max-width: 85%;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 16px 0 16px;
}

.section-head h3 {
  font-size: 2rem;
  margin-top: 40px;
}

.section-lead {
  padding-top: 20px;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: linear-gradient(
    180deg,
    rgba(12, 10, 9, 0.95),
    rgba(12, 10, 9, 0.6)
  );
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
  overflow: visible;
}

.mission-hud {
  position: fixed;
  top: 9.5rem;
  right: 2.6rem;
  width: min(260px, 82vw);
  padding: 1rem;
  background: rgba(12, 10, 9, 0.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  display: grid;
  gap: 0.9rem;
  z-index: 15;
  box-shadow: var(--shadow);
}

.mission-progress {
  display: grid;
  gap: 0.4rem;
}

.mission-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}

.mission-count {
  font-family: "Staatliches", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--paper);
}

.mission-bar {
  position: relative;
  height: 6px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 230, 0.08);
  overflow: hidden;
}

.mission-bar-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(
    90deg,
    rgba(199, 164, 106, 0.4),
    rgba(244, 239, 230, 0.95)
  );
  box-shadow: 0 0 12px rgba(199, 164, 106, 0.35);
  transition: width 0.6s var(--easing);
}

.mission-objective-list {
  display: grid;
  gap: 0.5rem;
}

.mission-objective {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s var(--easing);
}

.mission-objective::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(199, 164, 106, 0.5);
  background: rgba(244, 239, 230, 0.05);
  transition:
    transform 0.4s var(--easing),
    background 0.4s var(--easing),
    box-shadow 0.4s var(--easing);
}

.mission-objective.is-complete {
  color: var(--paper);
}

.mission-objective.is-complete::before {
  background: var(--brass);
  border-color: var(--brass);
  box-shadow: 0 0 10px rgba(199, 164, 106, 0.55);
  transform: scale(1.1);
}

.mission-secrets {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}

.mission-secrets-count {
  font-family: "Staatliches", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--paper);
}

.logo {
  /* font-family: "Staatliches", sans-serif; */
  /* letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 1rem; */
  /* padding: 8px 14px; */
  /* border: 1px solid var(--brass); */
  /* color: var(--brass); */
  width: 130px;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 12, 11, 0.75);
  color: var(--paper);
  font-family: "Bahn", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--easing);
}

.menu-toggle:hover {
  background: rgba(199, 164, 106, 0.12);
  border-color: rgba(199, 164, 106, 0.45);
  transform: translateY(-1px);
}

.menu-toggle-text {
  font-size: 0.55rem;
}

.menu-toggle-icon {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
}

.menu-toggle-icon span {
  height: 2px;
  border-radius: 999px;
  background: var(--paper);
  transition:
    transform 0.3s var(--easing),
    opacity 0.3s var(--easing);
}

.site-header.is-menu-open .menu-toggle-icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  display: none;
  gap: 16px;
  padding: 18px clamp(18px, 4vw, 32px) 22px;
  background: linear-gradient(
    180deg,
    rgba(12, 10, 9, 0.98),
    rgba(12, 10, 9, 0.92)
  );
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    transform 0.3s var(--easing),
    opacity 0.3s var(--easing);
}

.site-header.is-menu-open .mobile-nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 4px 0 12px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}

.mobile-nav a:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mobile-contact {
  color: var(--brass);
}

.mobile-nav .mission-hud {
  position: static;
  width: 100%;
  margin-top: 6px;
  right: auto;
  top: auto;
  box-shadow: none;
}

.mobile-nav .mission-objective-list {
  display: grid;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--easing);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.4s var(--easing);
}

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

.site-nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  background: rgba(199, 164, 106, 0.12);
  --lift: 0px;
  transform: translate(var(--magnet-x, 0px), var(--magnet-y, 0px))
    translateY(var(--lift, 0px));
  transition:
    transform 0.2s var(--easing),
    background 0.2s ease,
    letter-spacing 0.3s var(--easing);
}

.contact-pill:hover {
  --lift: -2px;
  background: rgba(199, 164, 106, 0.2);
  letter-spacing: 0.24em;
}

.nav-logo {
  width: 50px;
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 12, 11, 0.9);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  padding: 10px 0;
  animation: ticker 60s linear infinite;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.ticker-track span {
  padding-right: 2.5rem;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.hero {
  padding-top: max(40px, 1vw);
  padding-right: 0;
  padding-left: 0;
  padding-bottom: clamp(80px, 12vw, 140px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 7vw, 4rem);
  margin: 12px 0 18px;
}

.lead {
  max-width: 560px;
  font-size: 1rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid var(--paper);
  font-family: "Staatliches", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
  --lift: 0px;
  transform: translate(var(--magnet-x, 0px), var(--magnet-y, 0px))
    translateY(var(--lift, 0px));
  transition:
    transform 0.2s var(--easing),
    border-color 0.2s ease,
    letter-spacing 0.3s var(--easing);
  background: transparent;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 45%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  --lift: -2px;
  letter-spacing: 0.24em;
}

.btn-brass {
  background: var(--brass);
  color: #1a140f;
  border-color: var(--brass);
}

.btn-ghost {
  border-color: var(--paper);
  color: var(--paper);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.badge {
  padding: 6px 12px;
  border: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  background: rgba(244, 239, 230, 0.06);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.stat {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(18, 15, 13, 0.7);
}

.stat-number {
  font-family: "Staatliches", sans-serif;
  font-size: 1.8rem;
  color: var(--brass);
  display: block;
}

.stat-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.evidence-card {
  background: linear-gradient(
    160deg,
    rgba(28, 23, 21, 0.95),
    rgba(15, 12, 11, 0.95)
  );
  border: 1px solid var(--line);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow);
}

.evidence-card::before,
.evidence-card::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 18px;
  background: rgba(199, 164, 106, 0.55);
  top: -10px;
}

.evidence-card::before {
  left: 24px;
  transform: rotate(-4deg);
}

.evidence-card::after {
  right: 32px;
  transform: rotate(4deg);
}

.evidence-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.evidence-title {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.evidence-sub {
  font-family: "Staatliches", sans-serif;
  font-size: 1.4rem;
  margin-top: 6px;
}

.stamp {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(244, 239, 230, 0.5);
  background: rgba(159, 47, 46, 0.9);
  color: #f8f3ea;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  transform: rotate(-6deg);
}

.evidence-photo {
  height: 220px;
  background-image: var(--photo);
  background-position: center 32%;
  background-size: cover;
  /* background-position: calc(0 + 40px); */
  filter: saturate(0.8) contrast(1.05);
  margin-bottom: 16px;
}

.evidence-list {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.evidence-list strong {
  color: var(--brass);
}

.evidence-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.case-id {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.rule-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(18, 15, 13, 0.75);
  box-shadow: var(--shadow);
  transition: 0.5s all !important;
}

.rule-card::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(199, 164, 106, 0.5);
  transform: rotate(12deg);
  transition: 0.5s all;
}

.rule-card:hover {
  border: 1px solid rgba(199, 163, 106, 0.807);
}

.rule-card:hover::after {
  transform: rotate(0deg);
  border: 1px solid rgba(199, 163, 106, 0.804);
}

.rule-number {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--muted);
}

.rule-title {
  font-size: 1.6rem;
  margin: 12px 0;
}

.rule-card p {
  color: var(--muted);
  padding-bottom: 15px;
}

.rule-list {
  font-family: "Bahn Light";
  list-style: none;
  padding-left: 0;
}

.rule-list li {
  position: relative;
  padding-left: 1.5em;
  padding-bottom: 8px;
}

.rule-list li::before {
  content: "•"; /* or use an emoji/icon */
  position: absolute;
  left: 0;
  color: var(--brass);
  font-size: 1.5em;
  line-height: 1;
}

.rule-list li:nth-child(even) {
  color: #ffeda2;
}

.rule-button {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: auto;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 18px;
  margin-top: 30px;
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(16, 13, 12, 0.75);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 164, 106, 0.6);
}

.service-no {
  font-family: "Staatliches", sans-serif;
  font-size: 2.4rem;
  color: var(--brass);
}

.service-body h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.service-body p {
  color: var(--muted);
  margin-bottom: 8px;
}

.service-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  color: var(--muted);
}

.crew-lineup {
  position: relative;
  --crew-base: clamp(170px, 18vw, 230px);
  --crew-narrow: clamp(150px, 15vw, 205px);
  --crew-focus: clamp(260px, 28vw, 360px);
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  background:
    linear-gradient(
      180deg,
      rgba(12, 10, 9, 0.85) 0%,
      rgba(10, 8, 7, 0.96) 100%
    ),
    radial-gradient(
      800px 260px at 50% 0%,
      rgba(199, 164, 106, 0.18),
      transparent 65%
    );
  box-shadow:
    var(--shadow),
    inset 0 24px 40px rgba(0, 0, 0, 0.45),
    inset 0 -30px 60px rgba(0, 0, 0, 0.55);
}

.crew-lineup::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(244, 239, 230, 0.08);
  pointer-events: none;
}

.crew-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  z-index: 1;
}

.crew-card {
  --edge: 7%;
  --accent: var(--brass);
  position: relative;
  flex: 1 1 var(--crew-base);
  min-width: 140px;
  height: clamp(320px, 44vw, 440px);
  margin-left: -22px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.12);
  background: #0f0d0c;
  box-shadow:
    inset 0 55px 80px rgba(0, 0, 0, 0.75),
    inset 0 -65px 90px rgba(0, 0, 0, 0.85),
    0 18px 40px rgba(0, 0, 0, 0.55);
  clip-path: polygon(
    var(--edge) 0,
    100% 0,
    calc(100% - var(--edge)) 100%,
    0 100%
  );
  transition:
    flex-basis 1.05s var(--easing),
    border-color 0.4s ease,
    box-shadow 0.9s var(--easing);
  z-index: 1;
}

.crew-card:first-child {
  margin-left: 0;
}

.crew-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.55) contrast(1.1);
  transform: translateZ(0) scale(1.02);
  -webkit-transform: translateZ(0) scale(1.02);
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.crew-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140% 65% at 50% -10%, rgba(0, 0, 0, 0.85), transparent 60%),
    radial-gradient(140% 65% at 50% 110%, rgba(0, 0, 0, 0.9), transparent 60%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(6, 5, 4, 0.15) 42%,
      rgba(0, 0, 0, 0.75) 100%
    ),
    radial-gradient(
      420px 280px at 50% 30%,
      rgba(199, 164, 106, 0.14),
      transparent 70%
    );
  z-index: 1;
  transition: opacity 0.6s ease;
}

.crew-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 239, 230, 0.08);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.crew-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 22px 26px;
  background: linear-gradient(
    180deg,
    rgba(12, 10, 9, 0) 0%,
    rgba(12, 10, 9, 0.92) 75%
  );
  z-index: 3;
  transform: translateY(0);
  opacity: 0.9;
  transition:
    transform 0.85s var(--easing),
    opacity 0.5s ease;
}

.crew-name {
  font-family: "Staatliches", sans-serif;
  font-size: 1.45rem;
  display: block;
}

.crew-role {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  color: var(--muted);
}

.crew-stamp {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 6px 10px;
  background: var(--accent);
  color: #1a140f;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  z-index: 3;
  transition:
    transform 0.4s var(--easing),
    box-shadow 0.4s var(--easing);
}

.crew-mark {
  position: absolute;
  top: 16px;
  left: 18px;
  padding: 4px 8px;
  border: 1px dashed rgba(244, 239, 230, 0.45);
  color: rgba(244, 239, 230, 0.75);
  font-family: "Staatliches", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transform: rotate(-10deg);
  z-index: 3;
  transition:
    transform 0.4s var(--easing),
    border-color 0.4s ease,
    color 0.4s ease;
}

.crew-card:hover .crew-photo,
.crew-card:active .crew-photo,
.crew-card:focus-within .crew-photo {
  filter: grayscale(0.1) brightness(0.95) contrast(1.05) saturate(1.1);
  transform: translateZ(0) scale(1.08);
  -webkit-transform: translateZ(0) scale(1.08);
}

.crew-card:hover::after,
.crew-card:active::after,
.crew-card:focus-within::after {
  opacity: 1;
}

.crew-card:hover .crew-content,
.crew-card:active .crew-content,
.crew-card:focus-within .crew-content {
  transform: translateY(-8px);
  opacity: 1;
}

.crew-card:hover .crew-stamp,
.crew-card:active .crew-stamp,
.crew-card:focus-within .crew-stamp {
  transform: rotate(-2deg) translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.crew-card:hover .crew-mark,
.crew-card:active .crew-mark,
.crew-card:focus-within .crew-mark {
  transform: rotate(-4deg) translateY(-4px);
  border-color: rgba(244, 239, 230, 0.8);
  color: var(--paper);
}

@media (hover: hover) and (pointer: fine) {
  .crew-grid:hover .crew-card {
    flex-basis: var(--crew-narrow);
  }

  .crew-grid:hover .crew-card:hover {
    flex-basis: var(--crew-focus);
    border-color: var(--accent);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5);
    z-index: 4;
  }
}

@media (max-width: 980px) {
  .crew-grid {
    flex-wrap: wrap;
    gap: 18px;
  }

  .crew-card {
    flex: 1 1 100%;
    margin-left: 0;
    margin-top: 0;
    clip-path: none;
    border-radius: 14px;
    height: 320px;
  }

  .crew-card::after {
    border-radius: 14px;
  }

  .services-list {
    grid-template-columns: auto;
  }
}

@media (max-width: 640px) {
  .crew-lineup {
    padding: 16px;
  }

  .crew-card {
    flex-basis: 100%;
    height: 320px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-detail {
  border-left: 2px solid var(--brass);
  padding-left: 12px;
}

.detail-label {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.65rem;
  color: var(--muted);
  display: block;
}

.detail-value {
  margin-top: 6px;
  display: block;
}

.detail-value a {
  padding-right: 15px;
}

.detail-value a img {
  width: 25px;
  display: inline-block;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(18, 15, 13, 0.85);
  box-shadow: var(--shadow);
}

.safe-panel {
  position: relative;
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 36px);
  background:
    radial-gradient(
      120% 140% at 15% 0%,
      rgba(199, 164, 106, 0.16),
      transparent 55%
    ),
    radial-gradient(
      120% 140% at 90% 100%,
      rgba(159, 47, 46, 0.18),
      transparent 50%
    ),
    linear-gradient(160deg, rgba(24, 20, 18, 0.95), rgba(10, 8, 7, 0.95));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  gap: 0;
  /* background-image: url('gold-bars.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: 100%; */
}

.safe-panel:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.safe-panel > * {
  position: relative;
  z-index: 1;
}

.safe-entry,
.safe-outcome {
  display: grid;
  overflow: hidden;
  transition:
    opacity 0.45s var(--easing),
    transform 0.55s var(--easing),
    max-height 0.6s var(--easing),
    visibility 0s linear;
}

.safe-entry {
  gap: 20px;
  max-height: 900px;
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s, 0s, 0s, 0s;
}

.safe-outcome {
  gap: 18px;
  max-height: 0;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  visibility: hidden;
  pointer-events: none;
  transition-delay: 0s, 0s, 0s, 0.45s;
}

.safe-panel.is-open .safe-entry {
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
  visibility: hidden;
  pointer-events: none;
  transition-delay: 0s, 0s, 0s, 0.45s;
}

.safe-panel.is-open .safe-outcome {
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s, 0s, 0s, 0s;
}

.safe-panel.is-open {
  background-image: url("gold-bars.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: 100%;
}

.safe-display {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(12, 10, 9, 0.55);
}

.safe-label {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.6rem;
  color: var(--muted);
}

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

.safe-digit {
  height: clamp(46px, 6vw, 60px);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(244, 239, 230, 0.05);
  font-family: "Staatliches", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.2em;
  color: rgba(244, 239, 230, 0.45);
}

.safe-digit.is-filled {
  color: var(--paper);
  border-color: rgba(199, 164, 106, 0.6);
  box-shadow: 0 0 12px rgba(199, 164, 106, 0.2);
}

.safe-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(360px, 100%);
  margin: 0 auto;
}

.safe-key {
  border: 1px solid var(--line);
  background: rgba(16, 13, 12, 0.8);
  color: var(--paper);
  padding: 12px 0;
  font-family: "Staatliches", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    transform 0.2s var(--easing),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.safe-key:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.safe-key:hover {
  border-color: rgba(199, 164, 106, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.safe-key:active {
  transform: translateY(0);
}

.safe-key-action {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--muted);
}

.safe-submit {
  justify-self: center;
  width: min(240px, 100%);
}

.safe-submit:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.safe-outcome-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.safe-outcome-label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.6rem;
  color: var(--muted);
}

.safe-outcome-code {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--paper);
}

.safe-outcome-title {
  font-size: 1.6rem;
  margin: 0;
}

.safe-outcome-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-line;
}

.safe-final {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--paper);
  display: flex;
  justify-content: center;
}

.safe-final p {
  margin: 0;
}

.safe-img {
  width: 100%;
  max-width: 450px;
  padding: 50px 60px;
  background-color: #060504ab;
  border-radius: 30px;
  border: 1px solid var(--line);
  transition: 0.25s all;
}

.safe-img img {
  display: block;
  width: 100%;
  transition: 0.25s;
}

.safe-img:hover {
  transform: translateY(-10px);
  background-color: #060504;
}

.safe-img:hover img {
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.342));
}

.glyph {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid rgba(199, 164, 106, 0.35);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(199, 164, 106, 0.6),
    rgba(15, 12, 11, 0.05)
  );
  padding: 0;
  appearance: none;
  opacity: 0.5;
  transition:
    transform 0.4s var(--easing),
    opacity 0.4s var(--easing),
    box-shadow 0.4s var(--easing);
  pointer-events: auto;
  z-index: 3;
}

.glyph::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(244, 239, 230, 0.35);
}

.glyph:hover {
  opacity: 0.9;
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 0 16px rgba(199, 164, 106, 0.45);
}

.glyph.is-found {
  opacity: 0.95;
  box-shadow: 0 0 18px rgba(199, 164, 106, 0.6);
}

.glyph-ledger {
  top: 18%;
  left: 7%;
}

.glyph-cab {
  top: 20%;
  right: 8%;
}

.glyph-barrels {
  bottom: 12%;
  left: 10%;
}

.glyph-lock {
  bottom: 16%;
  right: 12%;
}

.artifact-card {
  position: fixed;
  left: 2rem;
  bottom: 2rem;
  width: min(320px, 86vw);
  background: rgba(12, 10, 9, 0.94);
  border: 1px solid var(--line);
  padding: 1.2rem;
  z-index: 25;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.4s var(--easing),
    transform 0.4s var(--easing);
  box-shadow: var(--shadow);
}

.artifact-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.artifact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.artifact-label {
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}

.artifact-close {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  transition:
    border-color 0.3s var(--easing),
    box-shadow 0.3s var(--easing);
}

.artifact-close:hover {
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass);
}

.artifact-name {
  font-family: "Staatliches", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.artifact-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.artifact-media {
  border: 1px solid var(--line);
  padding: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(244, 239, 230, 0.03);
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

label {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.65rem;
  color: var(--muted);
}

input,
textarea {
  background: #0f0c0b;
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 2px rgba(199, 164, 106, 0.18);
}

.form-field.is-invalid label,
.form-field.is-invalid legend {
  color: #c96a61;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: #c96a61;
  box-shadow: 0 0 0 2px rgba(201, 106, 97, 0.18);
}

.form-field.is-invalid .radio-option {
  border-color: #c96a61;
}

.form-field.form-field-radio {
  border: none;
  padding: 0;
  margin: 0 0 18px;
}

.form-field.form-field-radio legend {
  padding: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.65rem;
  color: var(--muted);
}

.radio-group {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: rgba(15, 12, 11, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  accent-color: var(--brass);
}

.form-status {
  min-height: 1.4em;
  margin-top: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--brass);
}

.form-status.is-error {
  color: #c96a61;
}

footer {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}

/* .footer-title {
  font-family: "Staatliches", sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--brass);
} */

.footer-logo {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  padding-bottom: 8px;
}

.footer-logo img {
  width: 50px;
  filter: brightness(0.6) sepia(1) saturate(20) hue-rotate(15deg);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Prevents hero animations from triggering until the Intro is finished.
   Even if the JS marks them 'is-visible', we force them hidden 
   until the body gets the 'intro-open' class.
*/
body:not(.intro-open) .hero .reveal.is-visible {
  opacity: 0;
  transform: translateY(16px);
  transition: none;
}
.crew-card.reveal {
  transition:
    flex-basis 1.05s var(--easing),
    border-color 0.4s ease,
    box-shadow 0.9s var(--easing),
    opacity 0.6s ease var(--delay, 0s),
    transform 0.6s ease var(--delay, 0s);
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-header.is-menu-open {
    background: linear-gradient(
      180deg,
      rgba(8, 6, 5, 0.98),
      rgba(8, 6, 5, 0.94)
    );
  }

  .site-nav {
    display: none;
  }

  .contact-pill {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: grid;
  }

  .mission-hud {
    right: 1.5rem;
    top: 8.9rem;
    width: min(240px, 80vw);
  }

  .mission-objective-list {
    display: none;
  }
  * {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ticker-track {
    animation-duration: 72s;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .crew-actions {
    text-align: left;
  }

  .crew-card {
    flex: 1 1 100%;
  }

  .safe-outcome-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .safe-outcome-code {
    width: 100%;
    overflow-wrap: anywhere;
    letter-spacing: 0.15em;
  }

  .safe-img {
    padding: 32px 24px;
  }

  .mission-hud {
    right: 1rem;
    top: 8.1rem;
    width: min(220px, 90vw);
  }

  .mission-label {
    display: none;
  }

  .artifact-card {
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .glyph-ledger {
    top: 30px;
    left: 80vw;
  }
}

@media (hover: none) {
  .crew-grid:hover .crew-card,
  .crew-grid:hover .crew-card:hover {
    flex-basis: 100%;
  }

  .crew-card {
    transition:
      border-color 0.4s ease,
      box-shadow 0.9s var(--easing),
      opacity 0.6s ease var(--delay, 0s),
      transform 0.6s ease var(--delay, 0s);
  }
}

@media (hover: none) and (pointer: coarse) {
  .intro-chevron {
    transform: rotate(-135deg);
    animation: introChevronUp 1.8s ease-in-out infinite;
  }

  .crew-grid:hover .crew-card,
  .crew-grid:hover .crew-card:hover {
    flex-basis: 100%;
  }
}

@media (max-width: 600px) {
  .intro-indicator {
    bottom: 5px;
    letter-spacing: 0.25em;
    font-size: 0.58rem;
    gap: 25px;
  }
}

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

  .ticker-track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn::after,
  .text-link::after {
    transition: none;
  }

  .cursor,
  .cursor-follower,
  .mission-bar-fill,
  .glyph,
  .artifact-card,
  .text-link,
  .contact-pill,
  .btn,
  .crew-card,
  .crew-photo,
  .crew-content,
  .crew-stamp,
  .crew-mark,
  .intro-chevron,
  .safe-entry,
  .safe-outcome {
    transition: none;
  }

  .intro-chevron {
    animation: none;
  }

  .crew-content {
    transform: none;
    opacity: 1;
  }

  .crew-photo {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .glyph {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(199, 164, 106, 0.45);
  }
}
