/* =============================================================================
   LEIDENPOTATO showcase — style.css
   Dark, cinematic, editorial. One stylesheet for both pages.
   -----------------------------------------------------------------------------
   QUICK CUSTOMISATION: almost everything you'd want to tweak lives in the
   :root block right below (colours, fonts, spacing). Change a value once and
   it updates everywhere.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* — Colour — (the page sets --accent per club via inline style; this is the
       fallback / default brand accent) */
  --accent:        #e5484d;
  --accent-soft:   color-mix(in oklab, var(--accent) 22%, transparent);
  --accent-glow:   color-mix(in oklab, var(--accent) 45%, transparent);

  --bg:            #0a0a0b;   /* near-black base                              */
  --bg-raise:      #101013;   /* slightly raised panels                      */
  --bg-card:       #131316;   /* cards                                       */
  --line:          #26262b;   /* hairline dividers / borders                 */
  --line-soft:     #1a1a1e;

  --ink:           #f2f1ee;   /* primary text                                */
  --ink-dim:       #a6a4a0;   /* secondary text                             */
  --ink-faint:     #6d6b67;   /* labels, captions, meta                      */

  /* — Type — swap these two lines to re-font the whole site — */
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;   /* big titles */
  --font-mono:    "JetBrains Mono", "Space Mono", ui-monospace, monospace; /* labels/UI */
  --font-body:    "Fraunces", Georgia, serif;                       /* paragraphs */

  /* — Layout — */
  --maxw:        1180px;
  --gutter:      clamp(1.1rem, 4vw, 3rem);
  --radius:      14px;
  --radius-sm:   9px;

  /* — Motion — */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --dur:         0.6s;
}

/* ----------------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Atmospheric base layer — soft accent glow + vignette + grain. Pure CSS,
   no image files. Sits behind everything. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, var(--accent-soft), transparent 60%),
    radial-gradient(1100px 700px at 8% 4%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 55%),
    var(--bg);
}
body::after { /* fine film grain */
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #0a0a0b; }

/* ----------------------------------------------------------------------------
   SHARED PRIMITIVES
   ------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* The little "#section" markers from the brief */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: "#"; color: var(--accent); }
.eyebrow .rule { width: 38px; height: 1px; background: var(--line); }

.section-title {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}

.lede { color: var(--ink-dim); max-width: 60ch; }

.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* Buttons / links */
.btn {
  --btn-fg: #0a0a0b;
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85em 1.4em;
  border-radius: 100px;
  background: var(--accent); color: var(--btn-fg);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--accent-glow); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; color: var(--ink); }

.tag {
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-dim);
  padding: 0.3em 0.7em;
  border: 1px solid var(--line);
  border-radius: 100px;
  white-space: nowrap;
}
.tag--accent { color: var(--accent); border-color: var(--accent-soft); }
.tag--wip { color: #e3b341; border-color: color-mix(in oklab, #e3b341 30%, transparent); }
.tag--nsfw { color: #ff5d8f; border-color: color-mix(in oklab, #ff5d8f 35%, transparent); }

/* ----------------------------------------------------------------------------
   TOP NAV (shared)
   ------------------------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-nav.is-stuck { border-bottom-color: var(--line); }
.site-nav__brand {
  font-family: var(--font-mono);
  font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.6em;
}
.site-nav__brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); }
.site-nav__links { display: flex; gap: 1.6rem; align-items: center; }
.site-nav__links a {
  font-family: var(--font-mono);
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim);
  position: relative; padding: 0.2em 0;
  transition: color 0.2s var(--ease);
}
.site-nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--accent); transition: width 0.25s var(--ease);
}
.site-nav__links a:hover { color: var(--ink); }
.site-nav__links a:hover::after { width: 100%; }
@media (max-width: 640px) {
  .site-nav__links a.hide-sm { display: none; }
}

/* ----------------------------------------------------------------------------
   HERO (front page)
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(4rem, 12vh, 9rem);
  overflow: hidden;
}
/* slow drifting accent aurora behind the title */
.hero__aura {
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 30%, var(--accent-soft), transparent 70%),
    radial-gradient(35% 45% at 75% 60%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%);
  filter: blur(20px);
  animation: drift 18s var(--ease) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1.05); }
  to   { transform: translate3d(4%, 3%, 0) scale(1.15); }
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(3.2rem, 13vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0.4em 0 0;
}
.hero__brand .accent { color: var(--accent); font-style: italic; }
.hero__tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  max-width: 46ch;
  margin: 1.6rem 0 0;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.hero__scroll {
  margin-top: clamp(2.5rem, 8vh, 5rem);
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex; align-items: center; gap: 0.7em;
}
.hero__scroll .line { display: inline-block; width: 46px; height: 1px; background: var(--line);
  position: relative; overflow: hidden; }
.hero__scroll .line::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: var(--accent); animation: sweep 2.6s var(--ease) infinite;
}
@keyframes sweep { 0% { transform: translateX(-120%);} 60%,100% { transform: translateX(280%);} }

/* ----------------------------------------------------------------------------
   GENERIC SECTION
   ------------------------------------------------------------------------- */
.section { padding-block: clamp(3.5rem, 9vh, 6.5rem); }
.section__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vh, 3.4rem); }

/* About */
.about__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .about__grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.about__big {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.25; font-weight: 420; margin: 0;
}
.about__body p { margin: 0 0 1.1rem; color: var(--ink-dim); }

/* ----------------------------------------------------------------------------
   FILTER / SEARCH BAR
   ------------------------------------------------------------------------- */
.filterbar {
  display: flex; flex-wrap: wrap; gap: 0.7rem 0.5rem; align-items: center;
  margin-bottom: 2.2rem;
}
.filterbar__search {
  flex: 1 1 220px; min-width: 180px;
  display: flex; align-items: center; gap: 0.6em;
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: 100px; padding: 0.6em 1em;
  transition: border-color 0.2s var(--ease);
}
.filterbar__search:focus-within { border-color: var(--accent); }
.filterbar__search svg { width: 15px; height: 15px; color: var(--ink-faint); flex: none; }
.filterbar__search input {
  flex: 1; background: none; border: 0; color: var(--ink);
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.02em;
}
.filterbar__search input::placeholder { color: var(--ink-faint); }
.filterbar__search input:focus { outline: none; }

.chip {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-dim);
  padding: 0.55em 1em; border-radius: 100px;
  background: var(--bg-raise); border: 1px solid var(--line);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
              background 0.2s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink-faint); }
.chip[aria-pressed="true"] {
  color: #0a0a0b; background: var(--accent); border-color: var(--accent);
}

/* ----------------------------------------------------------------------------
   WORLDS + CLUB CARDS (front page gallery)
   ------------------------------------------------------------------------- */
.world { margin-bottom: clamp(2.6rem, 6vh, 4rem); }
.world__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding-bottom: 1rem; margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.world__name {
  font-family: var(--font-display); font-weight: 440;
  font-size: clamp(1.35rem, 3.4vw, 2rem); margin: 0; letter-spacing: -0.01em;
}
.world__name .index {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent);
  letter-spacing: 0.1em; vertical-align: super; margin-right: 0.5em;
}
.world__desc { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-faint);
  letter-spacing: 0.02em; margin: 0; max-width: 40ch; text-align: right; }
@media (max-width: 600px) { .world__desc { text-align: left; } }

.club-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
}

.club-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.club-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  box-shadow: 0 22px 50px -24px var(--accent-glow);
}
/* sheen sweep on hover */
.club-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, color-mix(in oklab, var(--accent) 14%, transparent) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.club-card:hover::before { transform: translateX(120%); }

.club-card__art {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  background: var(--bg-raise);
}
.club-card__art img, .club-card__art svg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.club-card:hover .club-card__art img,
.club-card:hover .club-card__art svg { transform: scale(1.06); }
.club-card__art::after { /* bottom fade so text sits well */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-card) 2%, transparent 45%);
}
.club-card__world {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 3;
}
.club-card__body { padding: 1.05rem 1.15rem 1.3rem; display: grid; gap: 0.5rem; }
.club-card__name {
  font-family: var(--font-display); font-weight: 480;
  font-size: 1.4rem; line-height: 1.1; letter-spacing: -0.01em; margin: 0;
}
.club-card__tagline { font-size: 0.92rem; color: var(--ink-dim); margin: 0; line-height: 1.45; }
.club-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6rem; margin-top: 0.5rem;
}
.club-card__count {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint);
}
.club-card__enter {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.5em;
}
.club-card__enter .arrow { transition: transform 0.25s var(--ease); }
.club-card:hover .club-card__enter .arrow { transform: translateX(4px); }
/* whole card is a link */
.club-card__link { position: absolute; inset: 0; z-index: 5; }
.club-card__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ----------------------------------------------------------------------------
   FOOTER (shared)
   ------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.6rem, 7vh, 4.5rem);
  margin-top: clamp(2rem, 6vh, 4rem);
}
.site-footer__grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr; } }
.site-footer__brand { font-family: var(--font-display); font-size: 2rem; margin: 0 0 0.4rem; }
.site-footer__tag { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-faint);
  letter-spacing: 0.04em; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.site-footer__links a {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-dim);
  border: 1px solid var(--line); border-radius: 100px; padding: 0.55em 1.1em;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.site-footer__links a:hover { color: var(--accent); border-color: var(--accent-soft); }
.site-footer__fine {
  margin-top: 2.2rem; font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--ink-faint); letter-spacing: 0.04em;
}
/* little easter-egg button under the footer links */
.luca-btn {
  display: inline-block; margin-top: 1rem;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint);
  border: 1px solid var(--line-soft); border-radius: 100px; padding: 0.45em 0.95em;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.luca-btn:hover { color: var(--accent); border-color: var(--accent-soft); transform: translateY(-1px); }

/* ----------------------------------------------------------------------------
   CLUB PAGE — header + org chart
   ------------------------------------------------------------------------- */
.club-hero {
  position: relative;
  padding-block: clamp(3rem, 9vh, 6rem) clamp(2rem, 5vh, 3.5rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.club-hero__back {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 0.55em; margin-bottom: 1.6rem;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.club-hero__back:hover { color: var(--accent); gap: 0.85em; }
.club-hero__world {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0 0 0.6rem;
}
.club-hero__world::before { content: "// "; color: var(--accent); }
.club-hero__name {
  font-family: var(--font-display); font-weight: 440;
  font-size: clamp(2.6rem, 9vw, 6rem); line-height: 0.95; letter-spacing: -0.02em;
  margin: 0;
}
.club-hero__tagline {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem); color: var(--ink-dim);
  margin: 1.1rem 0 0; max-width: 50ch;
}
.club-hero__blurb { color: var(--ink-dim); margin: 1.4rem 0 0; max-width: 62ch; }
.club-hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

/* The chart itself */
.chart { padding-block: clamp(2.5rem, 7vh, 5rem); }

.tier { position: relative; margin-bottom: clamp(2.4rem, 6vh, 4rem); }
.tier__label {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 1.5rem;
}
.tier__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.tier__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* connector line between tiers */
.tier__connector { display: flex; justify-content: center; margin: -1rem 0 1rem; }
.tier__connector span { width: 1px; height: clamp(28px, 5vh, 48px);
  background: linear-gradient(var(--accent), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .tier__connector span { animation: connGrow 0.8s var(--ease) both; transform-origin: top; }
  @keyframes connGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

.tier__row {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  justify-content: center;
}
/* a single-member tier (the President) sits centered and a touch larger */
.tier--solo .tier__row { grid-template-columns: minmax(0, 360px); justify-content: center; }

/* Member card */
.member {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.member:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent) 45%, var(--line));
  box-shadow: 0 20px 44px -26px var(--accent-glow);
}
.member__portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-raise);
  cursor: zoom-in;
}
.member__portrait img, .member__portrait svg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.member:hover .member__portrait img,
.member:hover .member__portrait svg { transform: scale(1.05); }
.member__portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-card), transparent 50%);
}
.member__role-pill {
  position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 2;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--accent-soft); border-radius: 100px;
  padding: 0.35em 0.8em;
}
.member__body { padding: 1rem 1.1rem 1.25rem; display: grid; gap: 0.5rem; }
.member__name {
  font-family: var(--font-display); font-weight: 480; font-size: 1.25rem;
  line-height: 1.15; margin: 0; letter-spacing: -0.01em;
}
.member__bio { font-size: 0.92rem; color: var(--ink-dim); margin: 0; line-height: 1.5; }
.member__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.2rem; }
.member__buy {
  margin-top: 0.4rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.5em; align-self: start;
}
.member__buy:hover { text-decoration: underline; text-underline-offset: 3px; }

/* NSFW blur-until-revealed */
.member__portrait.is-nsfw img,
.member__portrait.is-nsfw svg { filter: blur(22px) brightness(0.6); }
.member__portrait.is-nsfw.is-revealed img,
.member__portrait.is-nsfw.is-revealed svg { filter: none; }
.member__nsfw-toggle {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; gap: 0.5rem; text-align: center;
  background: color-mix(in oklab, var(--bg) 35%, transparent);
  border: 0; color: var(--ink); cursor: pointer;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.member__nsfw-toggle .eye { font-size: 1.3rem; }
.member__portrait.is-revealed .member__nsfw-toggle { display: none; }

/* Roster name-lists (Prospects / Hangarounds) */
.rosters { display: grid; gap: 1.1rem; margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.roster {
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.2rem 1.3rem;
}
.roster__label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 0.9rem;
}
.roster ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.roster li { font-size: 0.95rem; color: var(--ink-dim);
  padding-left: 1.1em; position: relative; }
.roster li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }

/* Empty / WIP state */
.empty-state {
  text-align: center; padding: clamp(3rem, 10vh, 6rem) 1rem;
  border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--ink-dim);
}
.empty-state h2 { font-family: var(--font-display); font-weight: 440;
  font-size: 1.8rem; margin: 0 0 0.6rem; color: var(--ink); }

/* ----------------------------------------------------------------------------
   LIGHTBOX (shared)
   ------------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: clamp(1rem, 5vw, 3rem);
  background: color-mix(in oklab, #000 82%, transparent);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner {
  max-width: min(560px, 92vw); width: 100%;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open .lightbox__inner { transform: none; }
.lightbox__media { aspect-ratio: 4 / 5; background: var(--bg-raise); }
.lightbox__media img, .lightbox__media svg { width: 100%; height: 100%; object-fit: cover; }
.lightbox__cap { padding: 1.1rem 1.3rem 1.4rem; }
.lightbox__name { font-family: var(--font-display); font-size: 1.45rem; margin: 0 0 0.2rem; }
.lightbox__role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 0.7rem; }
.lightbox__bio { font-size: 0.95rem; color: var(--ink-dim); margin: 0; }
.lightbox__close {
  position: absolute; top: clamp(1rem,4vw,2rem); right: clamp(1rem,4vw,2rem);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--line); color: var(--ink);
  font-size: 1.2rem; cursor: pointer; display: grid; place-content: center;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lightbox__close:hover { border-color: var(--accent); transform: rotate(90deg); }

/* ----------------------------------------------------------------------------
   SCROLL REVEAL — elements get .reveal, then .is-in when they enter view.
   (JS adds .is-in; if JS is off, .reveal never hides — content still shows.)
   ------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal[data-delay="1"].is-in { transition-delay: 0.06s; }
.js .reveal[data-delay="2"].is-in { transition-delay: 0.12s; }
.js .reveal[data-delay="3"].is-in { transition-delay: 0.18s; }
.js .reveal[data-delay="4"].is-in { transition-delay: 0.24s; }
.js .reveal[data-delay="5"].is-in { transition-delay: 0.30s; }

/* ----------------------------------------------------------------------------
   CLUB PAGE — roster grid + in-page filter (added for the full 361 roster)
   ------------------------------------------------------------------------- */
.club-hero__count {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent-soft); border-radius: 100px; padding: 0.5em 1em;
}
.club-hero__actions { align-items: center; }

.roster-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.roster-head__n {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-faint);
  letter-spacing: 0.06em; margin-left: 0.4em;
}
.roster-search { flex: 0 1 280px; }

.member-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
}

/* ----------------------------------------------------------------------------
   LIGHTBOX LINK
   ------------------------------------------------------------------------- */
.lightbox__link {
  display: inline-flex; align-items: center; gap: 0.5em; margin-top: 1rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #0a0a0b; background: var(--accent);
  border-radius: 100px; padding: 0.7em 1.2em;
  transition: transform 0.2s var(--ease);
}
.lightbox__link:hover { transform: translateY(-2px); }

/* ----------------------------------------------------------------------------
   AGE GATE (18+) — one-time splash, remembered in localStorage
   ------------------------------------------------------------------------- */
.agegate {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: clamp(1rem, 5vw, 3rem);
  background: color-mix(in oklab, #000 86%, transparent);
  backdrop-filter: blur(16px);
  opacity: 1; transition: opacity 0.4s var(--ease);
}
.agegate.is-gone { opacity: 0; pointer-events: none; }
.agegate__card {
  max-width: 480px; width: 100%; text-align: center;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.8rem, 5vw, 2.8rem);
  box-shadow: 0 40px 90px -40px #000;
}
.agegate__brand {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 1.2rem;
}
.agegate__title {
  font-family: var(--font-display); font-weight: 460; font-size: 1.9rem;
  line-height: 1.1; margin: 0 0 0.8rem;
}
.agegate__body { color: var(--ink-dim); margin: 0 0 1.8rem; font-size: 0.98rem; }
.agegate__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.agegate__fine {
  margin: 1.6rem 0 0; font-family: var(--font-mono); font-size: 0.66rem;
  color: var(--ink-faint); letter-spacing: 0.03em; line-height: 1.6;
}

/* ----------------------------------------------------------------------------
   CHARACTER CARD extras
   ------------------------------------------------------------------------- */
.member__portrait { cursor: pointer; }
.member__count, .member__paid {
  position: absolute; top: 0.7rem; z-index: 3;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em;
}
.member__count {
  right: 0.7rem; color: var(--ink);
  background: color-mix(in oklab, var(--bg) 62%, transparent);
  backdrop-filter: blur(6px); border: 1px solid var(--line);
  border-radius: 100px; padding: 0.32em 0.65em;
}
.member__paid {
  left: 0.7rem; display: grid; place-content: center;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--accent); color: #0a0a0b; font-weight: 700;
}
.member__meta {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0;
}
.member__meta-buy { color: var(--accent); }
.member__open {
  margin-top: 0.4rem; align-self: start;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5em;
}
.member__open .arrow { transition: transform 0.25s var(--ease); }
.member:hover .member__open .arrow { transform: translateX(4px); }

/* ----------------------------------------------------------------------------
   LIGHTBOX — calm character detail view
   ------------------------------------------------------------------------- */
.gallery {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: clamp(1rem, 5vw, 2.5rem);
  background: color-mix(in oklab, #000 84%, transparent);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.gallery.is-open { opacity: 1; visibility: visible; }
.gallery__frame {
  position: relative; width: min(540px, 94vw);
  transform: scale(0.97) translateY(8px); transition: transform 0.4s var(--ease);
}
/* roomier two-column slides on desktop: art on the left, story on the right */
@media (min-width: 760px) {
  .gallery__frame { width: min(900px, 94vw); }
  .gallery__slide { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: stretch; }
  .gallery__media { aspect-ratio: auto; height: 100%; min-height: 460px; }
  .gallery__cap { align-content: center; padding: 1.8rem 2rem; }
  .gallery__bio { max-height: 12em; }
  .gallery__nav--prev { left: -1.5rem; }
  .gallery__nav--next { right: -1.5rem; }
  .gallery__nav { top: 50%; }
}
.gallery.is-open .gallery__frame { transform: none; }
.gallery__viewport {
  overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-card);
}
.gallery__track {
  display: flex; transition: transform 0.45s var(--ease); will-change: transform;
}
.gallery__slide { min-width: 100%; box-sizing: border-box; }
.gallery__media {
  position: relative; aspect-ratio: 4 / 5; background: var(--bg-raise);
}
.gallery__media img, .gallery__media svg { width: 100%; height: 100%; object-fit: cover; }
.gallery__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-card), transparent 55%);
}
.gallery__media.is-nsfw img, .gallery__media.is-nsfw svg { filter: blur(24px) brightness(0.6); }
.gallery__media.is-nsfw.is-revealed img, .gallery__media.is-nsfw.is-revealed svg { filter: none; }
.gallery__media.is-revealed .member__nsfw-toggle { display: none; }
.gallery__cap { padding: 1.1rem 1.3rem 1.4rem; display: grid; gap: 0.55rem; }
.gallery__cap .tag { justify-self: start; }
.gallery__label { font-family: var(--font-display); font-weight: 480; font-size: 1.4rem;
  line-height: 1.15; margin: 0; }
.gallery__bio { font-size: 0.94rem; color: var(--ink-dim); margin: 0; line-height: 1.5;
  max-height: 7.5em; overflow: auto; }
.gallery__action {
  justify-self: start; margin-top: 0.4rem;
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #0a0a0b; background: var(--accent);
  border-radius: 100px; padding: 0.7em 1.2em; transition: transform 0.2s var(--ease);
}
.gallery__action:hover { transform: translateY(-2px); }
.gallery__action--chat { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.gallery__action--chat:hover { border-color: var(--accent); }

.gallery__close {
  position: absolute; top: clamp(0.5rem, 3vw, 1.4rem); right: clamp(0.5rem, 3vw, 1.4rem);
  width: 44px; height: 44px; border-radius: 50%; z-index: 4;
  background: var(--bg-card); border: 1px solid var(--line); color: var(--ink);
  font-size: 1.2rem; cursor: pointer; display: grid; place-content: center;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.gallery__close:hover { border-color: var(--accent); transform: rotate(90deg); }
.gallery__nav {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  background: color-mix(in oklab, var(--bg) 65%, transparent); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: grid; place-content: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), opacity 0.2s;
}
.gallery__nav:hover { border-color: var(--accent); }
.gallery__nav:disabled { opacity: 0.3; cursor: default; }
.gallery__nav--prev { left: -1.2rem; }
.gallery__nav--next { right: -1.2rem; }
@media (max-width: 560px) {
  .gallery__nav--prev { left: 0.4rem; }
  .gallery__nav--next { right: 0.4rem; }
}
.gallery__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem; margin-top: 1rem; flex-wrap: wrap;
}
.gallery__title {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-dim); margin: 0;
}
.gallery__counter { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); margin: 0; }
.gallery__dots { display: flex; gap: 0.4rem; }
.gallery__dot { width: 8px; height: 8px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--line); border: 0; transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.gallery__dot[aria-selected="true"] { background: var(--accent); transform: scale(1.3); }

/* ----------------------------------------------------------------------------
   REDUCED MOTION — kill all the moving parts, keep the design.
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero__aura, .hero__scroll .line::after { animation: none; }
}
