/* ============================================================
   VIOLET MYERS — Midnight Neon Design System
   2am energy: near-black indigo, electric violet, UV glow.
   Where Mia's site is velvet, this one is voltage.
   ============================================================ */

:root {
  /* palette */
  --void: #0a0512;
  --midnight: #130a22;
  --indigo: #1d1033;
  --violet: #9d5cff;
  --violet-hot: #b478ff;
  --uv: #d6b3ff;
  --magenta: #f062d8;
  --acid: #7df9e4;
  --chrome: #e8e4f2;
  --text: #d8cfe8;
  --text-dim: #8d7fa8;

  /* type */
  --font-neon: "Monoton", cursive;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;

  --text-hero: clamp(2.8rem, 1.6rem + 6.5vw, 7.5rem);
  --text-h2: clamp(1.9rem, 1.2rem + 3vw, 4rem);
  --text-h3: clamp(1.3rem, 1rem + 1.2vw, 2rem);
  --text-base: clamp(1rem, 0.95rem + 0.3vw, 1.1rem);
  --text-small: 0.8rem;

  /* rhythm */
  --space-section: clamp(5rem, 4rem + 6vw, 10rem);
  --gutter: clamp(1.25rem, 4vw, 4.5rem);

  /* motion */
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-slow: 0.9s;
  --dur-mid: 0.45s;
}

/* ---------- reset & base ---------- */

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

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--violet); color: var(--void); }

/* club-at-closing-time atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50% 40% at 15% 10%, rgba(157, 92, 255, 0.16), transparent 70%),
    radial-gradient(45% 50% at 88% 75%, rgba(240, 98, 216, 0.10), transparent 70%),
    radial-gradient(60% 45% at 70% 15%, rgba(125, 249, 228, 0.05), transparent 65%),
    var(--void);
}

/* grain + faint scanlines */
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(216, 179, 255, 0.012) 3px,
    rgba(216, 179, 255, 0.012) 4px
  );
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: -50%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-3%, -2%); }
  80% { transform: translate(4%, 4%); }
}

/* ---------- typography helpers ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.display em {
  font-style: normal;
  color: var(--violet-hot);
  text-shadow: 0 0 24px rgba(157, 92, 255, 0.55);
}

.neon {
  font-family: var(--font-neon);
  font-weight: 400;
  color: var(--uv);
  text-shadow:
    0 0 8px rgba(214, 179, 255, 0.8),
    0 0 30px rgba(157, 92, 255, 0.6),
    0 0 70px rgba(157, 92, 255, 0.4);
}

.tag-sticker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--acid);
  padding: 0.4rem 0.9rem;
  transform: rotate(-2deg);
  border-radius: 2px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--violet);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eyebrow::before {
  content: "//";
  color: var(--magenta);
  letter-spacing: 0;
}

.lede {
  color: var(--text-dim);
  max-width: 34rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.3rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  transition: transform var(--dur-mid) var(--ease-snap),
              box-shadow var(--dur-mid) var(--ease-snap),
              background-color var(--dur-mid) var(--ease-snap),
              color var(--dur-mid) var(--ease-snap);
}

.btn-volt {
  background: linear-gradient(135deg, var(--violet) 0%, var(--magenta) 130%);
  color: var(--void);
  box-shadow: 0 0 0 1px rgba(214, 179, 255, 0.35), 0 14px 45px -14px rgba(157, 92, 255, 0.75);
}

.btn-volt:hover {
  transform: translateY(-2px) rotate(-0.5deg);
  box-shadow: 0 0 0 2px rgba(214, 179, 255, 0.6), 0 20px 60px -12px rgba(157, 92, 255, 0.9);
}

.btn-wire {
  border: 1px solid rgba(157, 92, 255, 0.5);
  color: var(--violet-hot);
}

.btn-wire:hover {
  background: rgba(157, 92, 255, 0.12);
  border-color: var(--violet-hot);
  transform: translateY(-2px) rotate(0.5deg);
}

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

/* neon buzz for prime CTAs */
@keyframes buzz {
  0%, 100% { box-shadow: 0 0 0 1px rgba(214,179,255,.35), 0 14px 45px -14px rgba(157,92,255,.75); }
  50% { box-shadow: 0 0 0 3px rgba(214,179,255,.5), 0 14px 55px -10px rgba(157,92,255,1); }
}

.btn-buzz { animation: buzz 3.2s ease-in-out infinite; }

/* ---------- facts grid component ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(157, 92, 255, 0.22);
  border: 1px solid rgba(157, 92, 255, 0.22);
  margin-top: 2rem;
}

.fact {
  background: var(--void);
  padding: 2.2rem 1.8rem;
  transition: background-color var(--dur-mid) ease;
}

.fact:hover {
  background: rgba(29, 16, 51, 0.85);
}

.fact strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--uv);
  display: block;
}

.fact p {
  margin-top: 0.65rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .facts { grid-template-columns: 1fr; }
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  background: linear-gradient(180deg, rgba(10, 5, 18, 0.95), rgba(10, 5, 18, 0));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--dur-mid) ease, border-color var(--dur-mid) ease, box-shadow var(--dur-mid) ease;
}

.nav.nav-scrolled {
  background: rgba(10, 5, 18, 0.96);
  border-bottom: 1px solid rgba(157, 92, 255, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-brand .vv {
  font-family: var(--font-neon);
  font-size: 1.5rem;
  color: var(--violet-hot);
  text-shadow: 0 0 12px rgba(157, 92, 255, 0.8);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-links a:not(.nav-cta) {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--dur-mid) ease, text-shadow var(--dur-mid) ease;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta)[aria-current="page"] {
  color: var(--uv);
  text-shadow: 0 0 14px rgba(157, 92, 255, 0.8);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  font-size: 0.7rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  z-index: 2;          /* stays above the open menu panel */
}

.nav-brand { position: relative; z-index: 2; }

/* ---------- mobile menu ----------
   Full-screen neon takeover. Desktop keeps the inline row; below
   900px the same <nav> becomes the panel — one set of links, no
   duplicated markup. */

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 4px;
  border: 1px solid rgba(157, 92, 255, 0.5);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  flex-shrink: 0;
  transition: border-color var(--dur-mid) ease, background-color var(--dur-mid) ease,
              box-shadow var(--dur-mid) ease;
}

.nav-toggle:hover {
  border-color: var(--violet-hot);
  background: rgba(157, 92, 255, 0.12);
  box-shadow: 0 0 18px -4px rgba(157, 92, 255, 0.6);
}

.nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--violet-hot);
  box-shadow: 0 0 8px rgba(157, 92, 255, 0.8);
  transition: transform var(--dur-mid) var(--ease-snap);
}

.nav.is-menu-open .nav-toggle span:first-child { transform: translateY(0.24rem) rotate(45deg); }
.nav.is-menu-open .nav-toggle span:last-child  { transform: translateY(-0.24rem) rotate(-45deg); }

body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  /* On mobile, keep the navigation bar completely opaque with a dark frosted finish
     so page content scrolling underneath never bleeds through or visually collides.
     We disable backdrop-filter on .nav so child elements like the full-screen
     drawer (.nav-links) can anchor directly to the viewport. */
  .nav,
  .nav.nav-scrolled {
    background: #0a0512;
    border-bottom: 1px solid rgba(157, 92, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav.is-menu-open,
  .nav.is-menu-open.nav-scrolled {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .nav-toggle { display: flex; }

  /* the bar holds brand + CTA + toggle on a phone — keep the
     wordmark on one line and tighten the CTA so nothing wraps */
  .nav { padding: 0.85rem var(--gutter); gap: 0.75rem; }
  .nav-brand { font-size: 0.9rem; letter-spacing: 0.1em; white-space: nowrap; }
  .nav-brand .vv { font-size: 1.25rem; }
  .nav-cta { padding: 0.55rem 1rem; font-size: 0.62rem; letter-spacing: 0.14em; }
  .nav-toggle { width: 2.5rem; height: 2.5rem; }


  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.3rem;
    padding: 6.5rem var(--gutter) 3rem;
    background:
      radial-gradient(65% 45% at 78% 12%, rgba(157, 92, 255, 0.22), transparent 70%),
      radial-gradient(55% 45% at 12% 88%, rgba(240, 98, 216, 0.14), transparent 70%),
      rgba(10, 5, 18, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.6rem);
    transition: opacity var(--dur-mid) var(--ease-snap),
                transform var(--dur-mid) var(--ease-snap),
                visibility var(--dur-mid);
  }

  .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url('../assets/hero.jpg') center / cover no-repeat;
    opacity: 0.15;
    filter: blur(2px) saturate(0.6);
  }

  .nav.is-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a:not(.nav-cta) {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 9.5vw, 2.9rem);
    line-height: 1.24;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--chrome);
    padding: 0.28rem 0;
    opacity: 0;
    transform: translateY(0.7rem);
    transition: opacity 0.45s var(--ease-snap), transform 0.45s var(--ease-snap), color var(--dur-mid) ease;
  }

  /* links snap in behind the panel */
  .nav.is-menu-open .nav-links a:not(.nav-cta) { opacity: 1; transform: none; }
  .nav.is-menu-open .nav-links a:nth-child(1) { transition-delay: 0.05s; }
  .nav.is-menu-open .nav-links a:nth-child(2) { transition-delay: 0.10s; }
  .nav.is-menu-open .nav-links a:nth-child(3) { transition-delay: 0.15s; }
  .nav.is-menu-open .nav-links a:nth-child(4) { transition-delay: 0.20s; }

  .nav-links a:not(.nav-cta)[aria-current="page"] {
    color: var(--violet-hot);
    text-shadow: 0 0 24px rgba(157, 92, 255, 0.6);
  }
}

/* ---------- narrow bars ----------
   Brand + CTA + toggle stop fitting on small phones. Let the bar
   shrink properly, then drop the wordmark to the monogram so the
   toggle is never pushed off-screen. */
.nav-brand { min-width: 0; flex-shrink: 1; }
.nav-brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-actions { flex-shrink: 0; }
.footer-links { flex-wrap: wrap; }

@media (max-width: 640px) {
  .nav-brand-name { display: none; }
}

/* ---------- footer ---------- */

.footer {
  margin-top: var(--space-section);
  padding: 4.5rem var(--gutter) 2.5rem;
  border-top: 1px solid rgba(157, 92, 255, 0.2);
  background: linear-gradient(180deg, transparent, rgba(29, 16, 51, 0.75));
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-word {
  font-family: var(--font-neon);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  color: var(--violet-hot);
  text-shadow: 0 0 12px rgba(157, 92, 255, 0.8), 0 0 40px rgba(157, 92, 255, 0.45);
  line-height: 1.2;
}

.footer-note {
  margin-top: 0.8rem;
  color: var(--text-dim);
  font-size: var(--text-small);
  max-width: 26rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-links a:hover { color: var(--uv); }

.footer-legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(157, 92, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(141, 127, 168, 0.6);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--violet);
  color: var(--violet-hot);
  font-size: 0.7rem;
  font-weight: 600;
}

/* ---------- media frames ----------
   Taped-polaroid energy: awaiting Violet's shots. UV-glow
   gradients stand in until real media lands. */

.ph {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background:
    radial-gradient(60% 50% at 45% 35%, rgba(214, 179, 255, 0.4), transparent 75%),
    radial-gradient(45% 55% at 70% 75%, rgba(240, 98, 216, 0.3), transparent 70%),
    radial-gradient(85% 90% at 20% 90%, rgba(125, 249, 228, 0.15), transparent 70%),
    linear-gradient(155deg, #241245 0%, #0d0718 100%);
  isolation: isolate;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.14;
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}

/* neon hairline frame */
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(157, 92, 255, 0.35);
  border-radius: 3px;
  pointer-events: none;
  z-index: 2;
}

.ph-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ph-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-3deg);
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.ph-label .neon {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  opacity: 0.9;
}

.ph-label small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(216, 207, 232, 0.55);
}

/* locked variant */
.ph-locked .ph-veil {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 5, 18, 0.25);
  z-index: 1;
  transition: backdrop-filter var(--dur-slow) var(--ease-snap),
              background-color var(--dur-slow) var(--ease-snap);
}

.ph-lock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 1px solid rgba(214, 179, 255, 0.6);
  background: rgba(10, 5, 18, 0.5);
  color: var(--uv);
  font-size: 1rem;
  transition: transform var(--dur-mid) var(--ease-snap),
              box-shadow var(--dur-mid) var(--ease-snap);
}

/* ---------- scroll reveals — snappier than Mia's ---------- */

.reveal {
  opacity: 0;
  transform: translateY(1.8rem) rotate(0.4deg);
  transition:
    opacity var(--dur-slow) var(--ease-snap),
    transform var(--dur-slow) var(--ease-snap);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-buzz, .atmosphere::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- shared scaffolding ---------- */

.section {
  padding: var(--space-section) var(--gutter) 0;
  max-width: 90rem;
  margin: 0 auto;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* tilted marquee ribbon — wrapper clips the rotation overhang */
.marquee-clip {
  margin-top: var(--space-section);
  overflow: hidden;
  padding: 1.2rem 0;
}

.marquee {
  border-top: 1px solid rgba(157, 92, 255, 0.3);
  border-bottom: 1px solid rgba(157, 92, 255, 0.3);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: rgba(29, 16, 51, 0.6);
  transform: rotate(-1.2deg) scale(1.04);
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 26s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.marquee-track .zap { color: var(--acid); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============================================================
   GAMER LAYER — Violet streams. This is a hobby signal, not a
   costume: a terminal-mono voice on the small UI labels, and a
   stream-status treatment on "live". Deliberately restrained —
   no pixel art, no controller icons. To dial it back, delete
   this block; to dial it up, extend it.
   ============================================================ */

:root { --font-mono: "JetBrains Mono", ui-monospace, "Consolas", monospace; }

/* micro-labels read like an overlay/HUD */
.eyebrow,
.tag-sticker,
.hero-stat span,
.stash-tag,
.vault-kind,
.vault-filter,
.incident-stamp,
.tg-hint,
.join-scarcity,
.live-dot,
.live-cell span,
.field label {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* HUD numerals — tabular so the countdown doesn't jitter */
.live-cell strong,
.hero-stat strong,
.how-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* "live" reads as a stream status pill */
.live-dot {
  border: 1px solid rgba(125, 249, 228, 0.35);
  border-radius: 3px;
  padding: 0.4rem 0.8rem;
  letter-spacing: 0.2em;
}

/* ============================================================
   CURVE LANGUAGE — her shape drives the geometry.
   The neon/gamer side of this site is all hard grid and sharp
   edges; she is the opposite, so the frames, bands and
   silhouettes curve generously to play against it. Arch frames
   suit full-body vertical shots. Paired with a HUD "hitbox"
   reticle on hover — the gamer joke and the framing device at
   the same time. Delete this block to revert the geometry.
   ============================================================ */

/* generous rounding replaces the old 3px hard corners */
.ph { border-radius: 1.6rem; }
.ph::after { border-radius: inherit; }

/* arch frames — a silhouette shape for the showcase portraits */
.ph-arch { border-radius: 9rem 9rem 1.4rem 1.4rem; }

/* full-width bands sweep instead of cutting straight across */
.live { border-radius: 50% 50% 0 0 / 5rem 5rem 0 0; }
.vault-band { border-radius: 50% 50% 0 0 / 4.5rem 4.5rem 0 0; }

/* softer cards + controls to match */
.tier, .how-step, .join-include, .fact, .dare-form, .note-bubble { border-radius: 1.2rem; }
.vault-filter, .vault-kind, .stash-tag, .incident-stamp, .join-scarcity { border-radius: 999px; }
.btn { border-radius: 999px; }

/* ---- HUD hitbox reticle on locked media ---- */
.stash-card, .vault-item { position: relative; }

.stash-card::after,
.vault-item::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-snap);
  --b: linear-gradient(var(--acid), var(--acid));
  background:
    var(--b) 0 0 / 1.2rem 2px no-repeat,
    var(--b) 0 0 / 2px 1.2rem no-repeat,
    var(--b) 100% 0 / 1.2rem 2px no-repeat,
    var(--b) 100% 0 / 2px 1.2rem no-repeat,
    var(--b) 0 100% / 1.2rem 2px no-repeat,
    var(--b) 0 100% / 2px 1.2rem no-repeat,
    var(--b) 100% 100% / 1.2rem 2px no-repeat,
    var(--b) 100% 100% / 2px 1.2rem no-repeat;
}

.stash-card:hover::after,
.vault-item:hover::after { opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
  .stash-card::after, .vault-item::after { transition: none; }
}

/* arch frames have no corners for tape to grab — drop it */
.hero-tape, .hero-tape-b { display: none; }

/* full-bleed hero backdrop breaks out with 100vw — clip the scrollbar gutter */
main { overflow-x: clip; }

/* ============================================================
   CONNECT MODAL — every route to her on one screen.
   She underlays the whole card; the copy column carries a
   deeper tint so the list stays readable over the same photo.
   ============================================================ */

.connect {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
}

.connect[hidden] { display: none; }

.connect-scrim {
  position: absolute;
  inset: 0;
  background: rgba(6, 3, 12, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.connect-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  width: min(64rem, 100%);
  max-height: min(92vh, 52rem);
  border: 1px solid rgba(157, 92, 255, 0.45);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.95),
              0 0 80px -30px rgba(157, 92, 255, 0.55);
}

/* she underlays the WHOLE card, not just one column */
.connect-figure {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.connect-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

/* light neon cast only — enough to sit in the palette, not enough
   to dull her */
.connect-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10, 5, 18, 0.22), rgba(10, 5, 18, 0.4)),
    radial-gradient(70% 60% at 26% 28%, rgba(157, 92, 255, 0.2), transparent 72%),
    radial-gradient(50% 50% at 85% 85%, rgba(240, 98, 216, 0.12), transparent 70%);
}

.connect-body {
  grid-column: 2;
  position: relative;
  z-index: 1;
  padding: clamp(1.7rem, 3.4vw, 2.6rem);
  overflow-y: auto;
  background: linear-gradient(100deg,
    rgba(10, 5, 18, 0.32) 0%,
    rgba(10, 5, 18, 0.76) 18%,
    rgba(13, 7, 24, 0.86) 100%);
}

.connect-title {
  margin-top: 0.7rem;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  color: var(--chrome);
  text-transform: uppercase;
}

.connect-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 4px;
  border: 1px solid rgba(157, 92, 255, 0.5);
  background: rgba(10, 5, 18, 0.6);
  color: var(--uv);
  font-size: 1.35rem;
  line-height: 1;
  transition: background-color var(--dur-mid) ease, border-color var(--dur-mid) ease,
              box-shadow var(--dur-mid) ease;
}

.connect-close:hover {
  background: rgba(157, 92, 255, 0.2);
  border-color: var(--violet-hot);
  box-shadow: 0 0 20px -4px rgba(157, 92, 255, 0.7);
}

.connect-group { margin-top: 1.7rem; }

.connect-label {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--violet);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(157, 92, 255, 0.28);
}

.connect-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid rgba(157, 92, 255, 0.16);
  transition: background-color var(--dur-mid) var(--ease-snap),
              padding-left var(--dur-mid) var(--ease-snap);
}

.connect-link:hover {
  background: rgba(157, 92, 255, 0.12);
  padding-left: 0.7rem;
}

.connect-link-main { display: flex; flex-direction: column; gap: 0.15rem; }

.connect-link-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--chrome);
}

.connect-link-note { font-size: 0.82rem; color: var(--text-dim); }

.connect-link-meta {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

/* the tier most people should land on */
.connect-link.is-featured .connect-link-name {
  color: var(--violet-hot);
  text-shadow: 0 0 20px rgba(157, 92, 255, 0.6);
}

.connect-link.is-featured .connect-link-meta { color: var(--acid); }

.connect-foot {
  margin-top: 1.7rem;
  font-size: 0.78rem;
  color: rgba(141, 127, 168, 0.85);
}

.connect-foot a { color: var(--violet-hot); border-bottom: 1px solid rgba(157, 92, 255, 0.5); }
.connect-foot a:hover { color: var(--uv); }

/* narrow: one column, image still underlays the card */
@media (max-width: 760px) {
  .connect-card { grid-template-columns: 1fr; max-height: 94vh; }
  .connect-body {
    grid-column: 1;
    background: linear-gradient(180deg,
      rgba(10, 5, 18, 0.55) 0%,
      rgba(10, 5, 18, 0.82) 28%,
      rgba(13, 7, 24, 0.9) 100%);
  }
}


/* legal links in the footer strip */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.1rem;
}

.footer-legal-links a {
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 0.78;
  transition: opacity var(--dur-mid) ease, color var(--dur-mid) ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible { opacity: 1; color: var(--violet-hot); }
