:root {
      --bg: #050509;
      --bg-alt: #0b0b14;
      --accent: #e6367b;
      --accent-soft: #ff5e99;
      --text-main: #f6f6f6;
      --text-muted: #a1a1b5;
      --border-subtle: rgba(255, 255, 255, 0.06);
      --danger: #e83636;
    }


.section--evidence {
  padding: 4rem 1.5rem;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-title {
  font-size: 2.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-subtitle {
  margin-top: 1rem;
  color: #c7c7c7;
  font-size: 0.95rem;
}

.evidence-grid {
  display: grid;
  /* smaller min width so it fits comfortably on narrow phones */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}


.evidence-card {
  background: #0d0d10;
  border: 1px solid #2a2a33;
  padding: 0.75rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
  position: relative;
}

.evidence-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
  border-color: #e91e63; /* accent */
}

.evidence-thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid #2a2a33;
}

.evidence-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.evidence-card:hover .evidence-thumb img {
  transform: scale(1.03);
  filter: saturate(1) contrast(1.15);
}

/* Redaction bar – assumes face in upper third */
.face-redact-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 12%;      /* was 25% – moves the bar up */
  height: 15%;   /* was 16% – slightly slimmer strip */
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}

/* Small glitchy noise via overlay gradient (optional) */
.face-redact-bar::before {
  content: "IDENTITY REDACTED";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5f5f5;
  mix-blend-mode: screen;
}

.evidence-tag,
.evidence-status {
  position: absolute;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.2rem 0.5rem;
  background: rgba(5, 5, 9, 0.8);
  color: #f5f5f5;
  backdrop-filter: blur(3px);
}

.evidence-tag {
  left: 0.5rem;
  top: 0.5rem;
  border-left: 3px solid #e91e63;
}

.evidence-status {
  right: 0.5rem;
  bottom: 0.5rem;
  border: 1px solid #666;
}

.evidence-meta {
  margin-top: 0.6rem;
}

.evidence-heading {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.evidence-charge {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #b0b0b0;
}

/* Modal */

.evidence-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.evidence-modal.is-open {
  display: block;
}

.evidence-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.evidence-modal-dialog {
  position: relative;
  max-width: 960px;
  margin: 3rem auto;
  background: #050509;
  border: 1px solid #2a2a33;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (max-width: 720px) {
  .evidence-modal-dialog {
    grid-template-columns: 1fr;
    margin: 2rem 1rem;
  }
}

.evidence-modal-close {
  position: absolute;
  top: 0.4rem;
  right: 0.7rem;
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 1.4rem;
  cursor: pointer;
}

.evidence-modal-image-wrap {
  position: relative;
  border: 1px solid #2a2a33;
  overflow: hidden;
}

.evidence-modal-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.face-redact-bar--modal {
  top: 12%;
  height: 15%;
}

.evidence-modal-body {
  font-size: 0.9rem;
}

.evidence-modal-exhibit {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #f5f5f5;
  border-bottom: 1px solid #2a2a33;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.evidence-modal-subject {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.evidence-modal-charge {
  color: #d7d7d7;
  margin-bottom: 0.4rem;
}

.evidence-modal-note {
  color: #aaaaaa;
  font-size: 0.85rem;
}

.hero-strip {
  position: relative;
  min-height: 260px;
  padding: 3.5rem 1.5rem;
  display: flex;
  align-items: flex-end;
  color: #f5f5f5;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.hero-strip-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at top left,
      rgba(233, 30, 99, 0.16),
      transparent 55%
    ),
    linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.45));
}

.hero-strip-redact {
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  height: 18%;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.9);
}

.hero-strip-redact::before {
  content: "SUBJECT: REDACTED";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5f5f5;
  mix-blend-mode: screen;
}

.hero-strip-inner {
  position: relative;
  max-width: 640px;
  z-index: 1;
}

.hero-strip-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff8ab9;
  margin-bottom: 0.5rem;
}

.hero-strip-title {
  font-size: 2rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.hero-strip-text {
  font-size: 0.95rem;
  color: #e1e1e1;
}

@media (max-width: 640px) {
  .hero-strip {
    min-height: 240px;
    padding: 3.5rem 1.25rem 2rem; /* More top padding to account for menu */
  }
  .hero-strip-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  .hero-strip-kicker {
    font-size: 0.7rem;
  }
  .hero-strip-text {
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

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

html,
body {
  height: 100%;
  background: radial-gradient(circle at top, #1d1022 0%, var(--bg) 55%, #000 100%);
  color: var(--text-main);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  margin: 0;
}

    .page {
      position: relative;
      min-height: 100vh;
      padding: 1.5rem clamp(1.5rem, 4vw, 4rem) 3rem;
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: calc(100vw - 8px); /* Account for scrollbar on desktop */
      margin: 0 auto;
    }

/* Remove scrollbar spacing on mobile for perfect edge-to-edge layout */
@media (max-width: 860px) {
  .page {
    max-width: 100vw;
  }
}

    /* Abstract “artwork” background layers */
    .orb {
      position: fixed;
      border-radius: 999px;
      filter: blur(66px);
      opacity: 0.5;
      pointer-events: none;
      mix-blend-mode: screen;
      z-index: -2;
    }

    .orb--pink {
      width: 420px;
      height: 420px;
      background: radial-gradient(circle at 30% 30%, #ff5e99, #3a0019 60%, transparent 100%);
      top: -60px;
      right: -80px;
    }

    .orb--violet {
      width: 420px;
      height: 420px;
      background: radial-gradient(circle at 70% 70%, #b35cff, #1a0033 60%, transparent 100%);
      bottom: -120px;
      left: -40px;
    }

    .noise {
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: 0.12;
      mix-blend-mode: soft-light;
      background-image: url("https://grainy-gradients.vercel.app/noise.png");
      background-size: cover;
      z-index: -1;
    }

    .frame {
      border-radius: 32px;
      border: 1px solid rgba(255, 255, 255, 0.04);
      background: radial-gradient(circle at top left, rgba(255, 94, 153, 0.12), transparent 55%),
        radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.15), transparent 52%),
        linear-gradient(145deg, rgba(8, 8, 16, 0.96), rgba(4, 4, 10, 0.98));
      box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9);
      padding: clamp(1.5rem, 3vw, 2.5rem);
      display: flex;
      flex-direction: column;
      flex: 1;
      max-width: 1120px;
      width: 100%;
      margin: 0 auto;
      position: relative;
    }

    .frame::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 32px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      opacity: 0.5;
      mix-blend-mode: overlay;
      pointer-events: none;
    }

    header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  z-index: 1;
  flex-wrap: wrap; /* NEW */
}


    .logo-mark {
      display: inline-flex;
      align-items: center;
      gap: 0.85rem;
    }

    .logo-icon {
      width: 50px;
      height: 50px;
      border-radius: 999px;
      background: conic-gradient(
        from 200deg,
        #ff5e99,
        #ffb347,
        #b35cff,
        #e6367b,
        #ff5e99
      );
      position: relative;
      padding: 2px;
      box-shadow: 0 0 15px rgba(230, 54, 123, 0.6);
    }

    .logo-icon-inner {
      width: 100%;
      height: 100%;
      border-radius: inherit;
      background: radial-gradient(circle at 30% 20%, #1c1b2a, #050509 70%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-main);
      font-family: "Oswald", system-ui, sans-serif;
      font-size: 1.35rem;
      letter-spacing: 0.08em;
    }

    .logo-text-primary {
      font-family: "Oswald", system-ui, sans-serif;
      letter-spacing: 0.16em;
      font-weight: 500;
      text-transform: uppercase;
      font-size: 1.30rem;
    }

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

    .chip {
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      padding: 0.4rem 0.95rem;
      font-size: 0.7rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text-muted);
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      white-space: nowrap;
      backdrop-filter: blur(18px);
      background: linear-gradient(
        135deg,
        rgba(18, 18, 32, 0.85),
        rgba(18, 18, 32, 0.2)
      );
    }

    .chip-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: radial-gradient(circle at 40% 30%, #ff5e99, #e6367b);
      box-shadow: 0 0 10px rgba(230, 54, 123, 0.9);
    }

    .chip-label-strong {
      color: #f9f9fb;
    }

    .chip-label-sub {
      opacity: 0.8;
    }

    main.layout--stacked {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  z-index: 1;
}

    @media (max-width: 860px) {
      main {
        display: flex;
        flex-direction: column;
      }
    }

    .hero-heading {
      margin-bottom: 1.5rem;
    }

    .eyebrow {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--accent-soft);
      margin-bottom: 0.7rem;
    }

    h1 {
      font-family: "Oswald", system-ui, sans-serif;
      font-size: clamp(1.8rem, 5.5vw, 3.6rem);
      line-height: 1.15;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      position: relative;
      display: inline-block;
      animation: glitch 4s infinite ease-in-out alternate;
      word-wrap: break-word;
      overflow-wrap: break-word;
      max-width: 100%;
    }

    h1 .accent {
      background: linear-gradient(135deg, #ff5e99, #ffb347);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-shadow:
        0 0 12px rgba(255, 94, 153, 0.4),
        0 0 28px rgba(255, 94, 153, 0.3);
    }

    h1 .stroke {
      display: inline-block;
      padding: 0.04em 0.18em;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 999px;
      margin-left: 0.25em;
      font-size: 0.82em;
      letter-spacing: 0.22em;
    }

    .tagline {
      max-width: 34rem;
      font-size: 0.98rem;
      line-height: 1.6;
      color: var(--text-muted);
      margin-bottom: 1.6rem;
    }

    .tagline strong {
      color: var(--accent-soft);
      font-weight: 500;
    }

    .cta-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.75rem 1.6rem;
      margin-bottom: 1.4rem;
    }

    .cta-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      border-radius: 999px;
      padding: 0.75rem 1.7rem;
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: radial-gradient(circle at 0% 0%, #ff5e99, #e6367b 36%, #43041f 100%);
      color: #fff;
      text-decoration: none;
      font-size: 0.86rem;
      letter-spacing: 0.17em;
      text-transform: uppercase;
      font-weight: 500;
      box-shadow:
        0 0 18px rgba(230, 54, 123, 0.7),
        0 0 36px rgba(230, 54, 123, 0.45);
      transition:
        transform 0.12s ease-out,
        box-shadow 0.12s ease-out,
        background 0.12s ease-out;
      position: relative;
      overflow: hidden;
    }

    .cta-primary::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 40%, transparent 60%, rgba(255, 255, 255, 0.15));
      opacity: 0;
      transform: translateX(-40%);
      transition: opacity 0.18s ease-out, transform 0.18s ease-out;
      pointer-events: none;
    }

    .cta-primary:hover {
      transform: translateY(-1px);
      box-shadow:
        0 0 22px rgba(230, 54, 123, 0.9),
        0 0 52px rgba(230, 54, 123, 0.6);
    }

    .cta-primary:hover::after {
      opacity: 1;
      transform: translateX(0%);
    }

    .cta-secondary {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .cta-secondary span {
      color: var(--accent-soft);
    }

    .cta-next {
      display: inline-flex;
      align-items: baseline;
      gap: 0.3rem;
      margin-top: 0.3rem;
      font-size: 0.78rem;
      color: var(--text-muted);
      text-decoration: none;
    }

    .cta-next span {
      color: var(--accent-soft);
    }

    .cta-next span::after {
      content: " ?";
    }

    .cta-next:hover span {
      text-decoration: underline;
    }

    .meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1.4rem;
      margin-top: 0.9rem;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .meta-pill {
      padding: 0.35rem 0.9rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: linear-gradient(135deg, rgba(15, 15, 30, 0.98), rgba(10, 10, 24, 0.7));
      display: inline-flex;
      gap: 0.35rem;
      align-items: center;
    }

    .meta-pill strong {
      font-weight: 500;
      color: #fdfdfd;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 0.65rem;
    }

    .meta-pill small {
      opacity: 0.7;
    }

    .meta-pulse {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: var(--danger);
      box-shadow:
        0 0 10px rgba(232, 54, 54, 0.85),
        0 0 26px rgba(232, 54, 54, 0.7);
    }

    /* Right column – abstract “portrait” and rules */
    .panel {
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: radial-gradient(circle at 10% 0%, rgba(255, 94, 153, 0.18), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(79, 70, 229, 0.18), transparent 60%),
        linear-gradient(145deg, rgba(8, 8, 20, 0.96), rgba(4, 4, 11, 0.98));
      padding: 1.2rem 1.25rem 1.4rem;
      display: flex;
      flex-direction: column;
      gap: 1.1rem;
      position: relative;
    }

    .panel-upper {
      display: grid;
      grid-template-columns: 1.15fr 1.1fr;
      gap: 0.9rem;
    }

    @media (max-width: 600px) {
  .panel-upper {
    grid-template-columns: 1fr;
  }

  /* Stack logo + chip on small screens */
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .chip {
    margin-top: 0.5rem;
  }
}


    .portrait {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      background: radial-gradient(circle at 20% 0%, #ff5e99 0%, #1a0b14 40%, #050509 100%);
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.95),
        0 0 34px rgba(255, 94, 153, 0.45);
      min-height: 180px;
      display: flex;
      align-items: stretch;
      justify-content: center;
    }

    .portrait::before {
      content: "";
      position: absolute;
      inset: -10%;
      background: conic-gradient(
        from 120deg,
        rgba(0, 0, 0, 0.4),
        rgba(255, 255, 255, 0.04),
        rgba(0, 0, 0, 0.6),
        rgba(255, 255, 255, 0.08),
        rgba(0, 0, 0, 0.5)
      );
      mix-blend-mode: soft-light;
      opacity: 0.75;
    }

    .portrait-figure {
      position: relative;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.2rem;
    }

    .silhouette {
      width: 72%;
      max-width: 180px;
      aspect-ratio: 3 / 5;
      border-radius: 999px 999px 45% 45%;
      background: radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(8, 8, 20, 0.98), #04040a 65%, #000 100%);
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow: 0 18px 50px rgba(0, 0, 0, 1);
    }

    .silhouette::before {
      content: "";
      position: absolute;
      inset: 16% 18% 34%;
      border-radius: 999px 999px 60% 60%;
      border: 2px solid rgba(255, 255, 255, 0.16);
      box-shadow: 0 0 18px rgba(255, 255, 255, 0.06);
    }

    .silhouette::after {
      content: "";
      position: absolute;
      inset: 5% 16% auto 18%;
      height: 38%;
      border-radius: 999px 999px 28% 28%;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(8, 8, 20, 0.9));
      box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.9),
        0 -18px 36px rgba(255, 94, 153, 0.45);
      mix-blend-mode: screen;
    }

    .portrait-tag {
      position: absolute;
      left: 1rem;
      bottom: 1rem;
      padding: 0.35rem 0.9rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      background: rgba(5, 5, 14, 0.96);
      font-size: 0.7rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      display: inline-flex;
      gap: 0.45rem;
      align-items: center;
    }

    .portrait-tag span {
      color: var(--accent-soft);
    }

    .portrait-tag-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #ff5e99;
    }

    .portrait-stripe {
      position: absolute;
      inset: auto -12% 22% 40%;
      height: 3px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
      opacity: 0.85;
      filter: blur(0.5px);
    }

    .intro-blurb {
      font-size: 0.84rem;
      color: var(--text-muted);
      line-height: 1.7;
      padding: 0.3rem 0.1rem;
    }

    .intro-blurb strong {
      color: var(--accent-soft);
      font-weight: 500;
    }

    .rules {
      border-radius: 18px;
      border: 1px dashed rgba(255, 255, 255, 0.2);
      padding: 0.9rem 0.9rem 1rem;
      background: radial-gradient(circle at 0 0, rgba(255, 94, 153, 0.1), transparent 55%),
        linear-gradient(140deg, rgba(8, 8, 20, 0.98), rgba(8, 8, 22, 0.94));
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .rules-title {
      text-transform: uppercase;
      letter-spacing: 0.23em;
      font-size: 0.68rem;
      color: var(--text-main);
      margin-bottom: 0.55rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .rules-title-line {
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent);
    }

    .rules-list {
      list-style: none;
      display: grid;
      gap: 0.35rem;
    }

    .rules-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
    }

    .rules-bullet {
      width: 8px;
      height: 8px;
      margin-top: 0.23rem;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 30%, #ff5e99, #e6367b 80%);
      box-shadow: 0 0 8px rgba(230, 54, 123, 0.9);
      flex-shrink: 0;
    }

    .rules-list span {
      display: block;
    }

    .rules-list span strong {
      color: #fdfdfd;
      font-weight: 500;
    }

    footer {
      margin-top: 1.9rem;
      padding-top: 1.2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.9rem 1.8rem;
      font-size: 0.78rem;
      color: var(--text-muted);
      z-index: 1;
    }

    .mailto {
      color: var(--accent-soft);
      text-decoration: none;
      position: relative;
      padding-bottom: 0.12rem;
    }

    .mailto::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 1px;
      background: linear-gradient(90deg, #ff5e99, transparent);
      opacity: 0.9;
    }

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

    /* Age verification overlay */
    .age-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.94);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    .age-overlay.visible {
      display: flex;
    }

    .age-modal {
      background: radial-gradient(circle at top, #1d1022, #050509 60%);
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      padding: 2.2rem 2.4rem;
      width: min(420px, 90vw);
      text-align: center;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
      font-family: "Oswald", system-ui, sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.16em;
    }

    .age-modal-heading {
      font-size: 1.05rem;
      color: #ffffff;
      margin-bottom: 0.9rem;
    }

    .age-modal-sub {
      font-size: 0.9rem;
      color: var(--accent-soft);
      margin-bottom: 0.7rem;
    }

    .age-modal-warning {
      font-size: 0.8rem;
      color: var(--danger);
      margin-bottom: 1.6rem;
    }

    .age-modal-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.75rem;
    }

    .age-btn {
      border-radius: 999px;
      padding: 0.6rem 1.4rem;
      font-size: 0.75rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      border: 1px solid rgba(255, 255, 255, 0.3);
      text-decoration: none;
      cursor: pointer;
      background: transparent;
      color: #ffffff;
    }

    .age-btn-primary {
      background: radial-gradient(circle at 0% 0%, #ff5e99, #e6367b 50%, #43041f 100%);
      box-shadow:
        0 0 16px rgba(230, 54, 123, 0.8),
        0 0 34px rgba(230, 54, 123, 0.6);
      border-color: rgba(255, 255, 255, 0.4);
    }

    .age-btn-secondary {
      background: rgba(0, 0, 0, 0.5);
      color: var(--text-muted);
    }

    /* Subtle glitch animation on the title */
    @keyframes glitch {
      0% {
        text-shadow:
          0 0 0 rgba(255, 94, 153, 0.6),
          0 0 0 rgba(79, 70, 229, 0.6);
      }
      40% {
        text-shadow:
          -1px 0 rgba(255, 94, 153, 0.85),
          1px 0 rgba(79, 70, 229, 0.85);
      }
      42% {
        text-shadow:
          1px 0 rgba(255, 94, 153, 0.35),
          -1px 0 rgba(79, 70, 229, 0.35);
      }
      100% {
        text-shadow:
          0 0 0 rgba(255, 94, 153, 0.6),
          0 0 0 rgba(79, 70, 229, 0.6);
      }
    }
 /* Top navigation */
.site-nav {
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.78rem;
}

/* Base nav item */
.nav-link {
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease;
  cursor: pointer;
}

.nav-link:hover {
  color: #f9f9fb;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(5, 5, 20, 0.8);
}

/* Primary/CTA look (eg. “Start the Path”) */
.nav-link--cta {
  background: radial-gradient(circle at 0% 0%, #ff5e99, #e6367b 50%, #43041f 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 0 16px rgba(230, 54, 123, 0.8),
    0 0 34px rgba(230, 54, 123, 0.6);
}

.nav-link--cta:hover {
  background: radial-gradient(circle at 0% 0%, #ff7fb0, #f04c86 50%, #5a0629 100%);
}

/* “You are here” state */
.nav-link--current {
  color: #f9f9fb;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(15, 15, 30, 0.95);
}

/* Path dropdown */
.nav-group {
  position: relative;
  display: inline-block;
}

.nav-group > summary {
  list-style: none;
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-link--has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-chevron {
  font-size: 0.7em;
  opacity: 0.7;
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 230px;
  padding: 0.4rem 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 6, 18, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 20;
}

.nav-group[open] .nav-dropdown {
  display: block;
}

.nav-dropdown-link {
  display: block;
  padding: 0.4rem 1rem;
  font-size: 0.76rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.nav-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f9f9fb;
}

.nav-dropdown-link--current {
  background: rgba(255, 255, 255, 0.1);
  color: #fdfdfd;
}

/* Mobile: stack a bit more gracefully */
@media (max-width: 720px) {
  .site-nav {
    justify-content: flex-start;
    gap: 0.3rem 0.4rem;
  }

  .nav-link {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
    letter-spacing: 0.14em;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    margin-top: 0.25rem;
  }

  .nav-dropdown-link {
    white-space: normal;
    font-size: 0.7rem;
    padding: 0.35rem 0.85rem;
  }
}


    @media (max-width: 520px) {
      .page {
        padding: 1rem 0.75rem 2.25rem;
      }

      .frame {
        padding: 1.25rem 1rem 1.75rem;
        border-radius: 24px;
      }

      footer {
        flex-direction: column;
        align-items: flex-start;
      }

      /* Reduce letter-spacing on small screens to prevent title overflow */
      h1 {
        letter-spacing: 0.08em;
        line-height: 1.25;
      }
    }