/* ═══════════════════════════════════════════════════
   BOLLYRATING — style.css
   Light theme is DEFAULT. Dark is opt-in via toggle.
   Breakpoints: >900 / 601-900 / 481-600 / <=480
═══════════════════════════════════════════════════ */

/* ════════ TOKENS — LIGHT (DEFAULT) ════════ */
:root {
  --font-d: 'Clash Display', 'Space Grotesk', sans-serif;
  --font-b: 'Space Grotesk', system-ui, sans-serif;
  --font-s: 'Instrument Serif', Georgia, serif;

  --bg: #F1EDE4;
  --bg-2: #E9E4D8;
  --ink: #141419;
  --muted: #5F5F6B;
  --faint: #A2A2AB;
  --line: rgba(20,20,25,.1);
  --line-2: rgba(20,20,25,.2);
  --card: rgba(255,255,255,.55);
  --card-2: rgba(255,255,255,.9);
  --glass: rgba(241,237,228,.82);
  --input: rgba(255,255,255,.7);

  --pink: #FF2E88;
  --violet: #A855F7;
  --cyan: #22D3EE;
  --lime: #A3E635;
  --gold: #FFC53D;
  --grad: linear-gradient(92deg, #FF2E88 0%, #A855F7 48%, #22D3EE 100%);
  --grad-soft: linear-gradient(92deg, rgba(255,46,136,.1), rgba(168,85,247,.1), rgba(34,211,238,.1));

  --t-goat: #D99400;  --t-goat-2: #E07B00;
  --t-og: #E75D0F;
  --t-aplus: #E31471;
  --t-a: #9333EA;
  --t-am: #4F46E5;
  --t-b: #0E9BB5;
  --t-bm: #0E9F6E;
  --t-c: #64748B;

  --nav-h: 66px;
  --rad: 20px;
  --ease: cubic-bezier(.22,.9,.24,1);
}

/* ════════ TOKENS — DARK (OPT-IN) ════════ */
[data-theme="dark"] {
  --bg: #07070C;
  --bg-2: #0C0C14;
  --ink: #F2F0EB;
  --muted: #9B9BA8;
  --faint: #5E5E6C;
  --line: rgba(242,240,235,.08);
  --line-2: rgba(242,240,235,.16);
  --card: rgba(255,255,255,.035);
  --card-2: rgba(255,255,255,.07);
  --glass: rgba(9,9,15,.72);
  --input: rgba(255,255,255,.05);
  --grad-soft: linear-gradient(92deg, rgba(255,46,136,.16), rgba(168,85,247,.16), rgba(34,211,238,.16));

  --t-goat: #FFC53D;  --t-goat-2: #FF8A00;
  --t-og: #FF7A29;
  --t-aplus: #FF2E88;
  --t-a: #A855F7;
  --t-am: #6366F1;
  --t-b: #22D3EE;
  --t-bm: #34D399;
  --t-c: #94A3B8;
}

/* ════════ BASE ════════ */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .45s ease, color .45s ease;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--pink); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--faint); }
button { font-family: inherit; }
a { color: inherit; }

.serif-em { font-family: var(--font-s); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ════════ FIXED CHROME ════════ */
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform-origin: left; transform: scaleX(0);
  z-index: 300; pointer-events: none;
}
.cursor-glow {
  position: fixed; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,46,136,.1) 0%, rgba(168,85,247,.06) 40%, transparent 68%);
  transform: translate(-50%,-50%); pointer-events: none; z-index: 1;
  opacity: 0; transition: opacity .5s;
}
[data-theme="dark"] .cursor-glow {
  background: radial-gradient(circle, rgba(255,46,136,.14) 0%, rgba(168,85,247,.09) 40%, transparent 68%);
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

.noise-overlay { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; opacity: .16; mix-blend-mode: multiply; }
[data-theme="dark"] .noise-overlay { opacity: .05; mix-blend-mode: normal; }

.orb { position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; opacity: .4; }
.orb-1 { width: 44vw; height: 44vw; background: rgba(255,46,136,.2); top: -16vw; right: -10vw; animation: drift 26s ease-in-out infinite alternate; }
.orb-2 { width: 36vw; height: 36vw; background: rgba(99,102,241,.18); top: 34vh; left: -14vw; animation: drift 32s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 30vw; height: 30vw; background: rgba(34,211,238,.13); bottom: -12vw; right: 12vw; animation: drift 38s ease-in-out infinite alternate; }
[data-theme="dark"] .orb { opacity: .5; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(6vw,4vh) scale(1.12); } }

/* ════════ REVEAL ════════ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d,0s); }
.rv.in { opacity: 1; transform: none; }

/* ════════ NAV ════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2.2rem);
  background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 12px; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: #fff; box-shadow: 0 6px 18px -6px rgba(255,46,136,.6);
  transition: transform .35s var(--ease); flex-shrink: 0;
}
.nav-logo:hover .nav-logo-mark { transform: rotate(-12deg) scale(1.08); }
.nav-logo-text { font-family: var(--font-d); font-weight: 600; font-size: 1.14rem; letter-spacing: -.01em; }
.nav-logo-text b { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav-links a {
  text-decoration: none; font-size: .8rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color .25s; position: relative;
}
.nav-links a::after { content:''; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--grad); border-radius:2px; transition: width .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.btn-surprise {
  display: flex; align-items: center; gap: .45rem;
  padding: .55rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card);
  color: var(--ink); font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s, background .25s;
  min-height: 40px;
}
.btn-surprise:hover { transform: translateY(-2px) rotate(-1deg); border-color: var(--pink); background: var(--card-2); }
.btn-theme {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--card);
  color: var(--ink); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), border-color .25s; flex-shrink: 0;
}
.btn-theme:hover { transform: rotate(18deg) scale(1.06); border-color: var(--violet); }

/* ════════ HERO ════════ */
.hero {
  position: relative; z-index: 3;
  padding: calc(var(--nav-h) + clamp(3.5rem, 9vh, 6.5rem)) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem);
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card);
  font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.hero-badge .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(163,230,53,.6); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(163,230,53,.55)} 70%{box-shadow:0 0 0 10px rgba(163,230,53,0)} 100%{box-shadow:0 0 0 0 rgba(163,230,53,0)} }

.hero-title { margin: 1.6rem auto 0; font-family: var(--font-d); font-weight: 700; font-size: clamp(3.1rem, 10.5vw, 9rem); line-height: .94; letter-spacing: -.03em; text-transform: uppercase; }
.hero-line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-line > span { display: inline-block; transform: translateY(115%); animation: line-up 1s var(--ease) forwards; }
.hero-line:nth-child(1) > span { animation-delay: .1s; }
.hero-line:nth-child(2) > span { animation-delay: .2s; }
.hero-line:nth-child(3) > span { animation-delay: .3s; }
@keyframes line-up { to { transform: translateY(0); } }
.hero-title .grad-word { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-title .serif-em { font-size: 1.02em; padding-right: .08em; }

.hero-sub { max-width: 600px; margin: 1.6rem auto 0; font-size: clamp(.95rem,1.4vw,1.06rem); font-weight: 300; line-height: 1.8; color: var(--muted); }
.hero-sub b { color: var(--ink); font-weight: 500; }

.hero-ctas { display: flex; justify-content: center; align-items: center; gap: .9rem; margin-top: 2.2rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.9rem; border-radius: 999px; border: none;
  background: var(--grad); color: #fff; font-size: .95rem; font-weight: 600;
  cursor: pointer; text-decoration: none; box-shadow: 0 14px 34px -12px rgba(255,46,136,.65);
  transition: transform .3s var(--ease), box-shadow .3s; min-height: 48px;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px -12px rgba(168,85,247,.7); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  font-size: .95rem; font-weight: 500; cursor: pointer; text-decoration: none;
  transition: border-color .25s, background .25s, transform .3s var(--ease); min-height: 48px;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--card); transform: translateY(-3px); }

.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(1.4rem,4vw,3.4rem); margin: 3.2rem auto 0; padding-top: 1.8rem; border-top: 1px solid var(--line); max-width: 780px; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-d); font-weight: 600; font-size: clamp(1.9rem,3.4vw,2.6rem); letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { margin-top: .2rem; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ════════ MARQUEE ════════ */
.marquee-zone { position: relative; z-index: 3; margin-top: clamp(2rem,6vh,4rem); transform: rotate(-1.4deg) scale(1.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; transition: background .45s ease; }
.marquee { overflow: hidden; white-space: nowrap; padding: 1rem 0; }
.marquee + .marquee { border-top: 1px solid var(--line); }
.marquee-track { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; animation: mq 60s linear infinite; will-change: transform; }
.marquee.rev .marquee-track { animation: mq-rev 68s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes mq-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.mq-item { font-family: var(--font-d); font-weight: 500; font-size: clamp(1.1rem,2.2vw,1.7rem); text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 2.2rem; }
.mq-item::after { content:'✦'; font-size:.7em; color: var(--pink); }
.marquee.rev .mq-item { color: transparent; -webkit-text-stroke: 1px var(--faint); }
.marquee.rev .mq-item::after { color: var(--cyan); -webkit-text-stroke: 0; }

/* ════════ SECTIONS ════════ */
.section { position: relative; z-index: 3; padding: clamp(4rem,10vh,7rem) clamp(1rem,4vw,3rem); max-width: 1480px; margin: 0 auto; }
.sec-head { margin-bottom: 2.4rem; }
.sec-label { display: inline-flex; align-items: center; gap: .55rem; font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.sec-label::before { content:''; width:26px; height:2px; background: var(--grad); border-radius:2px; }
.sec-title { margin-top: .8rem; font-family: var(--font-d); font-weight: 600; font-size: clamp(2rem,5vw,3.6rem); letter-spacing: -.02em; line-height: 1.04; text-transform: uppercase; }
.sec-title .serif-em { text-transform: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec-hint { margin-top: .8rem; font-size: .8rem; letter-spacing: .06em; color: var(--faint); text-transform: uppercase; font-weight: 500; }

/* ════════ BOARD CONTROLS ════════ */
.board-controls { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.2rem; }
.search-inner { position: relative; max-width: 460px; width: 100%; }
.search-icon { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); color: var(--faint); display: flex; pointer-events: none; }
#search {
  width: 100%; padding: .85rem 2.6rem .85rem 2.7rem;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--input); color: var(--ink);
  font-family: var(--font-b); font-size: .95rem; outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
  backdrop-filter: blur(8px); min-height: 48px;
}
#search::placeholder { color: var(--faint); }
#search:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,46,136,.14); }
.search-clear { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--card-2); color: var(--muted); cursor: pointer; font-size: .85rem; display: none; align-items: center; justify-content: center; }
.search-clear.visible { display: flex; }
.search-clear:hover { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card);
  color: var(--muted); font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: all .28s var(--ease); min-height: 40px;
}
.chip .chip-count { font-size: .64rem; font-weight: 700; background: var(--card-2); border-radius: 99px; padding: .1rem .45rem; color: var(--faint); transition: all .28s; }
.chip:hover { transform: translateY(-2px); border-color: var(--chip-c, var(--ink)); color: var(--ink); }
.chip.active { border-color: var(--chip-c, var(--ink)); background: color-mix(in srgb, var(--chip-c,#888) 16%, transparent); color: var(--ink); box-shadow: 0 8px 22px -10px var(--chip-c, transparent); }
.chip.active .chip-count { background: var(--chip-c,#888); color: #fff; }

/* ════════ TIER LANES ════════ */
.lanes { display: flex; flex-direction: column; }
.lane { display: grid; grid-template-columns: 168px 1fr; gap: 1.2rem; padding: 1.3rem 0; border-top: 1px solid var(--line); transition: opacity .45s ease; }
.lane:last-child { border-bottom: 1px solid var(--line); }
.lane.dim { opacity: .14; pointer-events: none; }
.lane.hide { display: none; }

.lane-label { padding-top: .35rem; user-select: none; }
.lane-tier { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.7rem,3vw,2.3rem); line-height: 1; color: var(--tc); display: flex; align-items: center; gap: .5rem; }
.lane-vibe { margin-top: .45rem; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lane-count { display: inline-block; margin-top: .65rem; font-size: .64rem; font-weight: 700; letter-spacing: .1em; padding: .24rem .6rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--tc) 55%, transparent); color: var(--tc); }

.tier-info-btn {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent);
  background: color-mix(in srgb, var(--tc) 12%, transparent);
  color: var(--tc); font-family: Georgia, serif; font-style: italic; font-size: .72rem;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.tier-info-btn:hover, .tier-info-btn:focus-visible { background: color-mix(in srgb, var(--tc) 26%, transparent); transform: scale(1.1); outline: none; }

#tier-tooltip {
  position: fixed; z-index: 500; max-width: 250px;
  background: var(--ink); color: var(--bg);
  padding: .7rem .95rem; border-radius: 12px;
  font-family: var(--font-b); font-size: .82rem; line-height: 1.55; font-weight: 400;
  pointer-events: none; opacity: 0; transform: translateY(6px);
  transition: opacity .22s, transform .22s;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.4);
}
#tier-tooltip.tt-visible { opacity: 1; transform: translateY(0); }

.lane-track-wrap { position: relative; min-width: 0; }
.lane-track {
  display: flex; gap: .85rem; overflow-x: auto; overflow-y: hidden;
  padding: .4rem .2rem 1rem; scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg,#000 0%,#000 calc(100% - 56px),transparent 100%);
  mask-image: linear-gradient(90deg,#000 0%,#000 calc(100% - 56px),transparent 100%);
}
.lane-track::-webkit-scrollbar { display: none; }
.lane-track { cursor: grab; }
.lane-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.lane-track.dragging .star-card { cursor: grabbing; }

.star-card {
  scroll-snap-align: start; flex: 0 0 auto; width: 172px; min-height: 118px;
  border: 1px solid var(--line); border-radius: var(--rad);
  background: var(--card); backdrop-filter: blur(6px);
  padding: .95rem 1rem 1.05rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: .9rem;
  cursor: pointer; text-align: left; position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .38s var(--ease), border-color .3s, box-shadow .38s, background .3s, opacity .3s;
}
.star-card .rank { font-family: var(--font-d); font-weight: 600; font-size: 1.5rem; color: var(--faint); opacity: .5; line-height: 1; transition: color .3s, opacity .3s; }
.card-face {
  position: absolute; top: 10px; right: 10px; width: 46px; height: 46px;
  border-radius: 50%; object-fit: cover; border: 2px solid var(--line-2);
  box-shadow: 0 4px 10px rgba(20,20,25,.14); background: var(--bg-2);
}
.star-card .name { font-family: var(--font-d); font-weight: 500; font-size: 1.1rem; line-height: 1.22; letter-spacing: -.01em; color: var(--ink); }
.star-card:hover, .star-card:focus-visible {
  transform: translateY(-7px) rotate(-1.4deg);
  border-color: color-mix(in srgb, var(--tc) 70%, transparent);
  background: var(--card-2);
  box-shadow: 0 26px 46px -18px color-mix(in srgb, var(--tc) 55%, transparent);
  outline: none;
}
.star-card:hover .rank, .star-card:focus-visible .rank { color: var(--tc); opacity: 1; }
.star-card.hide { display: none; }
.star-card.is-open { border-color: var(--tc); background: var(--card-2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--tc) 40%, transparent); }

.star-card.goat-card { background: linear-gradient(150deg, color-mix(in srgb, var(--t-goat) 14%, transparent), var(--card) 55%); border-color: color-mix(in srgb, var(--t-goat) 40%, transparent); }
.goat-crown { position: absolute; top: .7rem; right: .85rem; font-size: 1rem; filter: drop-shadow(0 2px 6px rgba(255,197,61,.5)); }

/* Per-actor honour icon — hover text managed in Admin → Rankings */
.actor-icon { font-size: .78em; margin-left: .3rem; cursor: help; filter: grayscale(.3); white-space: nowrap; }
.actor-name .actor-icon { font-size: .55em; vertical-align: .35em; }

/* Gender colour-coding — painted as a translucent gradient layer so the
   hover background/animation keeps working untouched. */
.star-card.is-male {
  background-image: linear-gradient(155deg, rgba(56,189,248,.20), rgba(56,189,248,.05) 55%, transparent 82%);
  border-color: color-mix(in srgb, #38bdf8 28%, var(--line));
}
.star-card.is-female {
  background-image: linear-gradient(155deg, rgba(236,72,153,.18), rgba(236,72,153,.05) 55%, transparent 82%);
  border-color: color-mix(in srgb, #ec4899 28%, var(--line));
}
.star-card.is-male .rank { color: #0ea5e9; }
.star-card.is-female .rank { color: #ec4899; }
.star-card.goat-card::after { content:''; position:absolute; inset:0; left:-130%; width:55%; background: linear-gradient(100deg, transparent, rgba(255,223,128,.22), transparent); animation: goat-sheen 3.8s ease-in-out infinite; pointer-events:none; }
@keyframes goat-sheen { 0%{left:-130%} 55%,100%{left:190%} }

.star-card.flash { animation: flash-ring 1.5s var(--ease) 2; z-index: 5; }
@keyframes flash-ring {
  0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--tc) 85%,transparent); transform:scale(1)}
  45%{box-shadow:0 0 0 14px transparent; transform:scale(1.1) rotate(1.5deg)}
  100%{box-shadow:0 0 0 0 transparent; transform:scale(1)}
}
.star-card.pop { animation: card-pop .45s var(--ease); }
@keyframes card-pop { 0%{transform:scale(1)} 40%{transform:scale(1.09) rotate(-2deg)} 100%{transform:scale(1)} }

.burst-emoji { position: fixed; z-index: 400; pointer-events: none; font-size: 1.15rem; }

.no-results { display: none; text-align: center; padding: 3.5rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--rad); margin-top: 1rem; }
.no-results.visible { display: block; }
.no-results .skull { font-size: 2.2rem; }
.no-results p { margin-top: .8rem; font-family: var(--font-d); font-size: 1.25rem; color: var(--muted); }

/* ════════ PROFILE DRAWER ════════ */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10,10,16,.45); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; z-index: 401;
  top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: var(--bg); border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .48s var(--ease);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.4);
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  position: relative;
  padding: 1.4rem 1.5rem 1.2rem; border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: .9rem; flex-shrink: 0;
  background: var(--grad-soft);
}
.drawer-head-main { flex: 1; min-width: 0; }
.drawer-tier-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: .28rem .65rem; border-radius: 999px;
  background: color-mix(in srgb, var(--dtc, #FF2E88) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--dtc, #FF2E88) 45%, transparent);
  color: var(--dtc, #FF2E88);
}
.drawer-name {
  margin-top: .6rem; font-family: var(--font-d); font-weight: 600;
  font-size: clamp(1.4rem, 4vw, 1.85rem); line-height: 1.1; letter-spacing: -.02em; color: var(--ink);
}
.drawer-rank { margin-top: .3rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.drawer-close {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--line-2); background: var(--card);
  color: var(--ink); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, transform .25s var(--ease);
}
.drawer-close:hover { border-color: var(--pink); transform: rotate(90deg); }

.drawer-body { flex: 1; overflow-y: auto; padding: 1.4rem 1.5rem 2rem; -webkit-overflow-scrolling: touch; }

.drawer-chips { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.5rem; }
.dchip {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); padding: .7rem .8rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.dchip-label { font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dtc, #FF2E88); }
.dchip-value { font-size: .82rem; font-weight: 500; line-height: 1.4; color: var(--ink); }

.drawer-profile-label { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin-bottom: .7rem; }
.drawer-profile { font-size: .92rem; line-height: 1.85; color: var(--muted); font-weight: 300; }

.drawer-foot {
  padding: 1.1rem 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .6rem;
  flex-shrink: 0; background: var(--bg-2);
}
.drawer-view {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1rem; border-radius: 999px; border: none;
  background: var(--grad); color: #fff;
  font-size: .88rem; font-weight: 600; text-decoration: none; min-height: 46px;
  box-shadow: 0 10px 26px -10px rgba(255,46,136,.55);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.drawer-view:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(168,85,247,.6); }
.drawer-foot-row { display: flex; gap: .6rem; }
.drawer-share, .drawer-next {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .7rem 1rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; cursor: pointer; min-height: 42px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.drawer-share:hover, .drawer-next:hover { border-color: var(--pink); background: var(--card-2); transform: translateY(-2px); }
.drawer-share.copied { border-color: var(--lime); background: color-mix(in srgb, var(--lime) 16%, transparent); }

/* ════════ AI CALLOUT + BENTO ════════ */
.ai-callout { position: relative; max-width: 900px; margin-bottom: 2.6rem; padding: 1.6rem 1.8rem; border-radius: var(--rad); background: var(--grad-soft); border: 1px solid var(--line-2); overflow: hidden; }
.ai-callout::before { content:''; position:absolute; inset:0 auto 0 0; width:4px; background: var(--grad); }
.ai-callout .callout-tag { display:inline-block; margin-bottom:.7rem; font-size:.62rem; font-weight:700; letter-spacing:.24em; text-transform:uppercase; padding:.3rem .7rem; border-radius:999px; background: var(--grad); color:#fff; }
.ai-callout p { font-size: .95rem; line-height: 1.85; color: var(--ink); }

.bento { display: grid; grid-template-columns: repeat(12,1fr); gap: 1rem; }
.bento-card { grid-column: span 4; border: 1px solid var(--line); border-radius: 24px; background: var(--card); backdrop-filter: blur(8px); padding: 1.6rem; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: border-color .3s, background .3s; }
.bento-card:hover { border-color: color-mix(in srgb, var(--bc) 50%, transparent); background: var(--card-2); }
.bento-ghost { position: absolute; top: .4rem; right: .9rem; font-family: var(--font-d); font-weight: 700; font-size: 4.6rem; color: var(--ink); opacity: .055; line-height: 1; pointer-events: none; user-select: none; }
.bento-top { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.bento-num { font-family: var(--font-d); font-weight: 600; font-size: .8rem; width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--bc) 18%, transparent); color: var(--bc); border: 1px solid color-mix(in srgb, var(--bc) 40%, transparent); }
.bento-tag { font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bc); padding: .28rem .65rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--bc) 38%, transparent); }
.bento-title { font-family: var(--font-d); font-weight: 600; font-size: 1.32rem; line-height: 1.15; letter-spacing: -.01em; }
.bento-desc { margin-top: .6rem; font-family: var(--font-s); font-style: italic; font-size: 1.04rem; line-height: 1.55; color: var(--muted); }
.bento-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.bento-body > div { overflow: hidden; }
.bento-card.open .bento-body { grid-template-rows: 1fr; }
.bento-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; padding-top: 1.3rem; }
.bento-list li { font-size: .87rem; line-height: 1.72; color: var(--muted); padding-left: 1.1rem; position: relative; }
.bento-list li::before { content:''; position:absolute; left:0; top:.62em; width:6px; height:6px; border-radius:2px; background: var(--bc); }
.item-key { font-weight: 600; color: var(--ink); }
.bento-sub { list-style: none; margin-top: .45rem; display: flex; flex-direction: column; gap: .25rem; }
.bento-sub li { font-size: .8rem; padding-left: 1rem; }
.bento-sub li::before { width: 4px; height: 4px; border-radius: 50%; opacity: .7; }
.bento-toggle {
  margin-top: 1.2rem; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent;
  color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: color .25s, border-color .25s; min-height: 40px;
}
.bento-toggle:hover { color: var(--ink); border-color: var(--bc); }
.bento-toggle .arrow { transition: transform .4s var(--ease); }
.bento-card.open .bento-toggle .arrow { transform: rotate(180deg); }

/* ════════ CONTACT (GOOGLE FORM) ════════ */
.contact-section { position: relative; z-index: 3; padding: clamp(4rem,10vh,7rem) clamp(1rem,4vw,3rem); max-width: 1480px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-left { position: sticky; top: calc(var(--nav-h) + 2rem); }
.contact-sub { margin-top: 1.1rem; font-size: .95rem; line-height: 1.8; color: var(--muted); font-weight: 300; max-width: 440px; }
.contact-points { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
.contact-points li { display: flex; align-items: flex-start; gap: .7rem; font-size: .87rem; color: var(--muted); line-height: 1.6; }
.contact-points li::before { content:'✦'; color: var(--pink); flex-shrink: 0; }
.form-embed-wrap { border: 1px solid var(--line-2); border-radius: var(--rad); background: var(--card); overflow: hidden; }
.form-embed-wrap iframe { width: 100%; min-height: 780px; border: 0; display: block; background: transparent; }

/* ════════ FOOTER ════════ */
.footer-marquee { position: relative; z-index: 3; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-marquee-track { display: inline-flex; align-items: center; gap: 1.6rem; padding: .9rem 0; white-space: nowrap; animation: mq 45s linear infinite; }
.footer-mq-item { font-family: var(--font-d); font-weight: 700; font-size: clamp(2.4rem,7vw,5rem); text-transform: uppercase; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px var(--line-2); }

.site-footer { position: relative; z-index: 3; text-align: center; padding: clamp(2.5rem,6vh,4rem) 1.5rem clamp(2rem,5vh,3rem); border-top: 1px solid var(--line); }
.footer-count { font-family: var(--font-d); font-weight: 600; font-size: clamp(2.2rem,6vw,3.4rem); letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-count-label { margin-top: .1rem; font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.8rem; }
.footer-nav a { font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .25s; }
.footer-nav a:hover { color: var(--ink); }
.footer-line { margin-top: 1.6rem; font-size: .82rem; color: var(--muted); }
.footer-fine { margin-top: .5rem; font-size: .74rem; color: var(--faint); }
.footer-credit { margin-top: .55rem; font-size: .74rem; letter-spacing: .04em; color: var(--faint); }
.footer-credit a { color: var(--pink); text-decoration: none; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-credit a:hover { filter: brightness(1.15); text-decoration: underline; text-decoration-color: var(--pink); -webkit-text-decoration-color: var(--pink); }

/* ════════ TOAST + BACK TOP ════════ */
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 350;
  transform: translate(-50%, 160%); max-width: min(460px, calc(100vw - 2rem));
  background: var(--glass); backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: .8rem 1.4rem; font-size: .84rem; font-weight: 500; color: var(--ink);
  text-decoration: none; text-align: center;
  box-shadow: 0 18px 44px -12px rgba(0,0,0,.3);
  transition: transform .5s cubic-bezier(.34,1.3,.5,1); cursor: pointer;
}
.toast.show { transform: translate(-50%, 0); }
.toast b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.back-top {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 250;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(14px);
  color: var(--ink); font-size: 1.05rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s, transform .3s, border-color .25s;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { border-color: var(--pink); transform: translateY(-3px); }

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET 601-900px
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .bento-card { grid-column: span 6; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-left { position: static; }
  .contact-sub { max-width: 620px; }
  .lane { grid-template-columns: 1fr; gap: .4rem; padding: 1.15rem 0; }
  .lane-label { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
  .lane-vibe { margin-top: 0; }
  .lane-count { margin-top: 0; margin-left: auto; }
  .hero-stats { gap: 1.2rem 2.2rem; }
  .drawer { width: min(420px, 100%); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE LARGE 481-600px
═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .bento-card { grid-column: span 12; }
  .star-card { width: 152px; min-height: 108px; }
  .btn-surprise .surprise-label { display: none; }
  .btn-surprise { padding: .55rem .8rem; }
  .marquee-zone { transform: rotate(0) scale(1); }
  .toast { border-radius: 18px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost { justify-content: center; width: 100%; }
  .form-embed-wrap iframe { min-height: 900px; }

  /* Drawer becomes bottom sheet */
  .drawer {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%;
    max-height: 88vh; border-left: none; border-top: 1px solid var(--line-2);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    box-shadow: 0 -20px 60px -20px rgba(0,0,0,.4);
  }
  .drawer.open { transform: translateY(0); }
  .drawer-head { padding: 1.5rem 1.2rem 1rem; }
  .drawer-head::before {
    content: ''; position: absolute; top: .55rem; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 99px; background: var(--line-2);
  }
  .drawer-body { padding: 1.2rem 1.2rem 1.5rem; }
  .drawer-foot { padding: .9rem 1.2rem; }
  .drawer-chips { grid-template-columns: 1fr; }

  /* Tooltip becomes centered overlay */
  #tier-tooltip {
    left: 50% !important; top: 50% !important;
    transform: translate(-50%,-50%) scale(.96) !important;
    max-width: calc(100vw - 3rem); width: max-content;
    padding: 1rem 1.2rem; font-size: .9rem; border-radius: 16px;
  }
  #tier-tooltip.tt-visible { transform: translate(-50%,-50%) scale(1) !important; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE SMALL <=480px
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .nav { padding: 0 .8rem; }
  .nav-logo-text { font-size: 1rem; }
  .nav-logo-mark { width: 32px; height: 32px; border-radius: 10px; }
  .hero { padding-left: .9rem; padding-right: .9rem; }
  .hero-badge { font-size: .6rem; letter-spacing: .16em; padding: .45rem .85rem; }
  .star-card { width: 142px; min-height: 102px; padding: .8rem .85rem .9rem; }
  .star-card .name { font-size: 1rem; }
  .star-card .rank { font-size: 1.3rem; }
  .section, .contact-section { padding-left: .9rem; padding-right: .9rem; }
  .bento-card { padding: 1.2rem; }
  .bento-ghost { font-size: 3.4rem; }
  .ai-callout { padding: 1.2rem; }
  #search { font-size: 1rem; }            /* prevent iOS auto-zoom */
  .chip { font-size: .76rem; padding: .45rem .8rem; }
  .drawer-name { font-size: 1.3rem; }
  .drawer-foot-row { flex-direction: column; }
  .drawer-share, .drawer-next { width: 100%; }
  .footer-nav { gap: .8rem; }
  .back-top { bottom: 1rem; right: 1rem; }
  .toast { bottom: 1rem; }
}

/* ════════ PRINT ════════ */
@media print {
  .nav, .progress-bar, .cursor-glow, .noise-overlay, .orb,
  .hero-ctas, .marquee-zone, .board-controls, .bento-toggle,
  .contact-section, .footer-marquee, .toast, .back-top, .sec-hint,
  .drawer, .drawer-scrim, .tier-info-btn { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .hero { padding-top: 2rem; }
  .hero-title, .sec-title { font-size: 2rem !important; }
  .hero-title .grad-word, .stat-num, .footer-count, .sec-title .serif-em { -webkit-text-fill-color: #111; background: none; }
  .lane-track { overflow: visible !important; flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .star-card { border: 1px solid #ccc !important; background: #fff !important; box-shadow: none !important; backdrop-filter: none; }
  .star-card .name { color: #111 !important; }
  .bento-body { grid-template-rows: 1fr !important; }
  .bento-card { break-inside: avoid; }
}

/* ════════ REDUCED MOTION ════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .marquee-track, .footer-marquee-track { animation: none; transform: none; }
  .rv { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}

/* ═══════════════════════════════════════════════════
   HAMBURGER MENU
═══════════════════════════════════════════════════ */
.btn-menu {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--line-2); background: var(--card);
  color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.btn-menu:hover { border-color: var(--pink); background: var(--card-2); }
.btn-menu:active { transform: scale(.94); }

.burger { display: flex; flex-direction: column; gap: 4px; width: 17px; }
.burger span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s;
}
.btn-menu[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.btn-menu[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.btn-menu[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu-scrim {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(10,10,16,.45); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.menu-scrim.open { opacity: 1; pointer-events: auto; }

.site-menu {
  position: fixed; z-index: 211;
  top: 0; right: 0; bottom: 0; width: min(360px, 100%);
  background: var(--bg); border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.4);
}
.site-menu.open { transform: translateX(0); }

.menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.4rem 1rem; border-bottom: 1px solid var(--line);
  flex-shrink: 0; background: var(--grad-soft);
}
.menu-eyebrow {
  font-size: .64rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
}
.menu-close {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--line-2); background: var(--card);
  color: var(--ink); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, transform .25s var(--ease);
}
.menu-close:hover { border-color: var(--pink); transform: rotate(90deg); }

.menu-links {
  flex: 1; overflow-y: auto; padding: .8rem;
  display: flex; flex-direction: column; gap: .35rem;
  -webkit-overflow-scrolling: touch;
}
.menu-link {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1rem; border-radius: 14px;
  border: 1px solid transparent; text-decoration: none;
  transition: background .22s, border-color .22s, transform .22s var(--ease);
  min-height: 60px;
}
.menu-link:hover { background: var(--card); border-color: var(--line); transform: translateX(3px); }
.menu-link.active { background: var(--card-2); border-color: color-mix(in srgb, var(--pink) 40%, transparent); }
.menu-link-icon {
  font-size: 1.15rem; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--line);
}
.menu-link.active .menu-link-icon { background: var(--grad); }
.menu-link-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.menu-link-title {
  font-family: var(--font-d); font-weight: 600; font-size: 1rem;
  letter-spacing: -.01em; color: var(--ink); line-height: 1.15;
}
.menu-link-sub { font-size: .78rem; color: var(--muted); font-weight: 300; line-height: 1.3; }

.menu-foot {
  padding: 1.1rem 1.4rem; border-top: 1px solid var(--line);
  flex-shrink: 0; background: var(--bg-2); text-align: center;
}
.menu-foot-line {
  font-family: var(--font-d); font-weight: 600; font-size: .95rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.menu-foot-fine { margin-top: .3rem; font-size: .7rem; color: var(--faint); line-height: 1.5; }

body.menu-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════
   SIMPLE PAGE SHELL (contact / faq / 404)
═══════════════════════════════════════════════════ */
.page-wrap {
  position: relative; z-index: 3;
  max-width: 1100px; margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(3rem,7vh,5rem)) clamp(1rem,4vw,3rem) clamp(3rem,8vh,5rem);
}
.page-head { max-width: 720px; margin-bottom: 2.6rem; }
.page-title {
  margin-top: .8rem; font-family: var(--font-d); font-weight: 700;
  font-size: clamp(2.2rem,6vw,4rem); line-height: 1.02;
  letter-spacing: -.03em; text-transform: uppercase;
}
.page-title .serif-em {
  text-transform: none; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-lead {
  margin-top: 1.1rem; font-size: clamp(.95rem,1.4vw,1.05rem);
  line-height: 1.8; color: var(--muted); font-weight: 300;
}

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: .8rem; max-width: 820px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); backdrop-filter: blur(8px); overflow: hidden;
  transition: border-color .25s, background .25s;
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item.open { border-color: color-mix(in srgb, var(--pink) 45%, transparent); background: var(--card-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.3rem; background: none; border: none; cursor: pointer;
  text-align: left; color: var(--ink); font-family: var(--font-b);
  font-size: 1rem; font-weight: 600; line-height: 1.35;
  min-height: 60px; transition: color .2s;
}
.faq-q:hover { color: var(--pink); }
.faq-q-text { flex: 1; }
.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 400; color: var(--muted);
  transition: transform .4s var(--ease), background .25s, color .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--grad); color: #fff; border-color: transparent; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 1.3rem 1.3rem;
  font-size: .92rem; line-height: 1.85; color: var(--muted); font-weight: 300;
}
.faq-a p + p { padding-top: 0; }
.faq-a strong { color: var(--ink); font-weight: 600; }

/* ═══════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════ */
.contact-layout {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem,5vw,4rem); align-items: start;
}
.contact-aside { position: sticky; top: calc(var(--nav-h) + 2rem); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MENU + PAGES
═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}

@media (max-width: 600px) {
  .site-menu {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%;
    max-height: 86vh; border-left: none; border-top: 1px solid var(--line-2);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    box-shadow: 0 -20px 60px -20px rgba(0,0,0,.4);
  }
  .site-menu.open { transform: translateY(0); }
  .menu-head { position: relative; padding-top: 1.6rem; }
  .menu-head::before {
    content: ''; position: absolute; top: .55rem; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 99px; background: var(--line-2);
  }
  .faq-q { font-size: .94rem; padding: 1rem 1.1rem; }
  .faq-a p { padding: 0 1.1rem 1.1rem; font-size: .88rem; }
}

@media (max-width: 480px) {
  .btn-menu { width: 38px; height: 38px; }
  .menu-links { padding: .6rem; }
  .menu-link { padding: .75rem .85rem; gap: .75rem; min-height: 56px; }
  .menu-link-icon { width: 36px; height: 36px; font-size: 1rem; }
  .menu-link-title { font-size: .94rem; }
  .menu-link-sub { font-size: .74rem; }
  .page-wrap { padding-left: .9rem; padding-right: .9rem; }
  .faq-q { font-size: .9rem; gap: .7rem; }
  .faq-icon { width: 26px; height: 26px; font-size: .9rem; }
}

/* ═══════════════════════════════════════════════════
   HOMEPAGE CTA BAND (replaces inline contact form)
═══════════════════════════════════════════════════ */
.cta-band {
  position: relative; z-index: 3;
  max-width: 1480px; margin: 0 auto;
  padding: clamp(2rem,5vh,3.5rem) clamp(1rem,4vw,3rem) clamp(4rem,9vh,6rem);
}
.cta-inner {
  border: 1px solid var(--line-2); border-radius: 28px;
  background: var(--grad-soft); backdrop-filter: blur(10px);
  padding: clamp(2rem,5vw,3.2rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad);
}
.cta-inner .sec-label { justify-content: center; }
.cta-title {
  margin-top: .8rem; font-family: var(--font-d); font-weight: 700;
  font-size: clamp(1.8rem,5vw,3rem); line-height: 1.05;
  letter-spacing: -.03em; text-transform: uppercase;
}
.cta-title .serif-em {
  text-transform: none; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-sub {
  max-width: 560px; margin: 1.1rem auto 0;
  font-size: .95rem; line-height: 1.8; color: var(--muted); font-weight: 300;
}
.cta-actions {
  margin-top: 2rem; display: flex; justify-content: center;
  gap: .8rem; flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-primary, .cta-actions .btn-ghost { width: 100%; justify-content: center; }
}
