/* ============================================================
   SEXY LENA VIP — Noir & Gold Design System
   1. Tokens          5. Typography      9. Sections
   2. Base            6. Buttons        10. Reveal & Motion
   3. Atmosphere      7. Header         11. Media Queries
   4. Utilities       8. Hero
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root{
  --bg:#060504;
  --bg-2:#0a0806;
  --text:#f5efe4;
  --muted:#cfc5b8;
  --soft:#9a9083;
  --gold:#d6aa43;
  --gold2:#f2cf6a;
  --gold-deep:#b88727;
  --line:rgba(214,170,67,.20);
  --line2:rgba(242,207,106,.38);
  --card-grad:linear-gradient(150deg,rgba(21,17,12,.92),rgba(8,7,5,.80));
  --r-lg:28px;
  --r-md:22px;
  --r-sm:16px;
  --shadow-1:0 14px 40px rgba(0,0,0,.26);
  --shadow-2:0 24px 70px rgba(0,0,0,.38);
  --shadow-3:0 34px 100px rgba(0,0,0,.50);
  --max:1200px;
  --sp-section:clamp(72px,8.5vw,118px);
  --font-display:Georgia,"Times New Roman",Times,serif;
  --font-sans:"Segoe UI",system-ui,Roboto,Arial,Helvetica,sans-serif;
  --ease-out:cubic-bezier(.2,.8,.2,1);
  --header-h:76px;
}

/* ---------- 2. Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{
  margin:0;padding:0;
  background:var(--bg);
  color-scheme:dark;
  scroll-behavior:smooth;
  scroll-padding-top:92px;
  scrollbar-color:#6b5526 #0a0806;
  -webkit-text-size-adjust:100%;
}
body{
  margin:0;padding:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 14% 0%,rgba(214,170,67,.10),transparent 30%),
    radial-gradient(circle at 92% 8%,rgba(120,45,25,.12),transparent 34%),
    linear-gradient(180deg,#070604 0%,#050403 100%);
  color:var(--text);
  font-family:var(--font-sans);
  line-height:1.5;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -webkit-tap-highlight-color:transparent;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
::selection{background:rgba(214,170,67,.92);color:#15100a}

/* ---------- 3. Atmosphere ---------- */
body::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px),
    linear-gradient(180deg,rgba(255,255,255,.010) 1px,transparent 1px);
  background-size:76px 76px;
  opacity:.16;
}
.page-fx{position:fixed;z-index:0;pointer-events:none;filter:blur(10px);opacity:.64}
.page-fx-one{width:420px;height:420px;left:-190px;top:100px;background:radial-gradient(circle,rgba(214,170,67,.14),transparent 68%)}
.page-fx-two{width:520px;height:520px;right:-260px;top:10px;background:radial-gradient(circle,rgba(92,28,16,.24),transparent 70%)}
.grain{
  position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.07;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ---------- 4. Utilities ---------- */
.skip-link{
  position:fixed;top:16px;left:16px;z-index:120;
  padding:13px 22px;border:1px solid var(--line2);border-radius:999px;
  background:#0d0a07;color:var(--text);
  font-size:13px;font-weight:800;letter-spacing:.04em;
  transform:translateY(-300%);opacity:0;
  transition:transform .3s var(--ease-out),opacity .3s ease;
}
.skip-link:focus,.skip-link:focus-visible{transform:none;opacity:1}
:focus-visible{outline:2px solid rgba(242,207,106,.85);outline-offset:3px;border-radius:3px}
.btn:focus-visible,.header-cta:focus-visible,.brand:focus-visible,.skip-link:focus-visible{border-radius:999px}
.section{position:relative;z-index:2;width:min(calc(100% - 48px),var(--max));margin-inline:auto}
#access,#services,#preview,#topics,#join{scroll-margin-top:92px}

/* ---------- 5. Typography ---------- */
h1,h2,h3,p{margin-top:0}
h1,h2{
  font-family:var(--font-display);
  font-style:italic;
  font-weight:700;
  letter-spacing:-.012em;
  text-wrap:balance;
}
h1{
  max-width:620px;margin-bottom:18px;
  font-size:clamp(38px,3.8vw,54px);
  line-height:1.05;
}
h2{
  max-width:720px;margin-bottom:16px;
  font-size:clamp(28px,2.7vw,38px);
  line-height:1.1;
}
h3{
  margin-bottom:8px;
  font-family:var(--font-sans);
  font-size:17px;line-height:1.25;font-weight:800;
  letter-spacing:-.01em;text-wrap:balance;
}
p{color:var(--muted);font-size:16px;line-height:1.62;text-wrap:pretty}
.lead{color:rgba(248,240,228,.94);font-size:clamp(16.5px,1.35vw,18px);line-height:1.6}

/* Gold emphasis inside headlines */
.hl{color:var(--gold2)}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .hl{
    background:linear-gradient(105deg,#f6d57a 0%,#fff3c4 24%,var(--gold) 48%,var(--gold2) 68%,var(--gold-deep) 100%);
    background-size:200% 100%;
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;color:transparent;
  }
  h1 .hl{animation:hlSheen 8s ease-in-out infinite}
}
@keyframes hlSheen{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}

.eyebrow{
  display:flex;align-items:center;gap:12px;
  margin:0 0 16px;
  color:var(--gold2);
  font-size:11px;font-weight:800;letter-spacing:.19em;text-transform:uppercase;
}
.eyebrow::before{content:"";width:34px;height:1px;background:linear-gradient(90deg,transparent,var(--gold2));flex:none}

.text-link{
  color:var(--gold2);font-weight:inherit;
  border-bottom:1px solid rgba(214,170,67,.52);
  transition:color .2s ease,border-color .2s ease,text-shadow .2s ease;
}
.text-link:hover{color:#fff2ba;border-color:#fff2ba;text-shadow:0 0 16px rgba(242,207,106,.18)}

/* ---------- 6. Buttons ---------- */
.btn{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:50px;padding:0 26px;
  border:1px solid transparent;border-radius:999px;
  font-family:var(--font-sans);font-size:13.5px;font-weight:800;letter-spacing:.04em;
  cursor:pointer;
  transition:transform .25s var(--ease-out),border-color .25s ease,background-color .25s ease,box-shadow .25s ease;
}
.btn:active{transform:translateY(0) scale(.985)}
.btn-gold{
  background:linear-gradient(135deg,var(--gold2),var(--gold) 55%,var(--gold-deep));
  color:#140e06;
  box-shadow:0 14px 36px -8px rgba(214,170,67,.45),inset 0 1px 0 rgba(255,248,220,.65);
}
.btn-gold::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.5) 50%,transparent 66%);
  transform:translateX(-130%);
  transition:transform .7s ease;
}
.btn-gold[target="_blank"]::after{
  content:"↗" / "";
  font-size:1.05em;font-weight:800;line-height:1;
  transition:transform .25s var(--ease-out);
}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 20px 48px -8px rgba(214,170,67,.55),inset 0 1px 0 rgba(255,248,220,.65)}
.btn-gold:hover::before{transform:translateX(130%)}
.btn-gold:hover::after{transform:translate(2px,-2px)}
.btn-ghost{background:rgba(255,255,255,.035);border-color:rgba(214,170,67,.32);color:var(--text)}
.btn-ghost:hover{transform:translateY(-2px);border-color:rgba(242,207,106,.58);background:rgba(242,207,106,.07)}

/* ---------- 7. Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;width:100%;
  background:rgba(6,5,4,.86);
  border-bottom:1px solid rgba(214,170,67,.16);
  backdrop-filter:blur(20px) saturate(1.2);
  -webkit-backdrop-filter:blur(20px) saturate(1.2);
  transition:background-color .35s ease,border-color .35s ease,box-shadow .35s ease;
}
.site-header::after{
  content:"";position:absolute;left:0;bottom:-1px;width:100%;height:2px;
  background:linear-gradient(90deg,var(--gold),var(--gold2));
  transform:scaleX(var(--progress,0));transform-origin:0 50%;
  opacity:.9;pointer-events:none;
}
.site-header.is-scrolled{
  background:rgba(5,4,3,.95);
  border-color:rgba(214,170,67,.28);
  box-shadow:0 18px 48px -18px rgba(0,0,0,.65);
}
.header-inner{
  width:min(calc(100% - 48px),var(--max));height:var(--header-h);margin:0 auto;
  display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;
  transition:height .35s ease;
}
.site-header.is-scrolled .header-inner{height:64px}
.brand{display:flex;align-items:center;min-width:0}
.brand img{width:148px;height:auto;transform-origin:left center;transition:transform .35s var(--ease-out)}
.site-header.is-scrolled .brand img{transform:scale(.92)}
.nav{justify-self:center;display:flex;align-items:center;gap:36px}
.nav a{
  position:relative;padding:8px 2px;
  color:rgba(245,239,228,.72);
  font-size:12px;font-weight:800;letter-spacing:.19em;text-transform:uppercase;
  transition:color .25s ease;
}
.nav a::after{
  content:"";position:absolute;left:0;bottom:2px;width:100%;height:1px;
  background:linear-gradient(90deg,var(--gold2),rgba(242,207,106,.15));
  transform:scaleX(0);transform-origin:left;
  transition:transform .3s var(--ease-out);
}
.nav a:hover,.nav a:focus-visible{color:var(--gold2)}
.nav a:hover::after,.nav a:focus-visible::after{transform:scaleX(1)}
.header-cta{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:0 26px;border-radius:999px;
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#110d07;font-size:13.5px;font-weight:800;letter-spacing:.03em;white-space:nowrap;
  box-shadow:0 12px 32px -8px rgba(214,170,67,.45),inset 0 1px 0 rgba(255,248,220,.6);
  transition:transform .25s var(--ease-out),box-shadow .25s ease;
}
.header-cta::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.5) 50%,transparent 66%);
  transform:translateX(-130%);
  transition:transform .7s ease;
}
.header-cta::after{
  content:"↗" / "";
  font-size:1em;font-weight:800;line-height:1;
  transition:transform .25s var(--ease-out);
}
.header-cta:hover{transform:translateY(-2px);box-shadow:0 16px 40px -8px rgba(214,170,67,.55),inset 0 1px 0 rgba(255,248,220,.6)}
.header-cta:hover::before{transform:translateX(130%)}
.header-cta:hover::after{transform:translate(2px,-2px)}

/* ---------- 8. Hero ---------- */
.hero{padding-top:clamp(36px,5.5vw,64px)}
.hero-card{
  display:grid;grid-template-columns:minmax(380px,.92fr) minmax(0,1.08fr);
  gap:clamp(18px,2.4vw,28px);align-items:stretch;
}
.hero-copy{
  display:flex;flex-direction:column;justify-content:center;min-height:0;
  padding:clamp(28px,3.4vw,48px);
  border:1px solid var(--line);border-radius:var(--r-lg);
  background:linear-gradient(145deg,rgba(19,16,11,.90),rgba(7,6,5,.76));
  box-shadow:var(--shadow-2);
}
.hero-copy p{margin-bottom:14px}
.hero-copy p:not(.lead):not(.eyebrow){max-width:620px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}

.hero-photo{
  --hero-src:url("../img/hero-latex.webp");
  position:relative;isolation:isolate;margin:0;display:flex;min-height:100%;padding:0;
  border:1px solid rgba(242,207,106,.34);border-radius:var(--r-lg);
  background:#050403;
  box-shadow:var(--shadow-3),0 0 48px rgba(214,170,67,.10);
  overflow:hidden;transform:translateZ(0);
  transition:box-shadow .55s ease;
}
.hero-photo:hover{
  box-shadow:var(--shadow-3),0 0 0 1px rgba(242,207,106,.20),0 0 96px rgba(214,170,67,.20);
}
.hero-photo::before,.hero-photo::after{
  content:"";position:absolute;z-index:6;width:34px;height:34px;pointer-events:none;
  border:0 solid rgba(242,207,106,.55);
  transition:width .45s var(--ease-out),height .45s var(--ease-out),border-color .45s ease;
}
.hero-photo::before{top:14px;left:14px;border-top-width:1px;border-left-width:1px;border-top-left-radius:9px}
.hero-photo::after{bottom:14px;right:14px;border-bottom-width:1px;border-right-width:1px;border-bottom-right-radius:9px}
.hero-photo:hover::before,.hero-photo:hover::after{width:48px;height:48px;border-color:rgba(242,207,106,.9)}
.hero-photo img{
  position:relative;z-index:1;display:block;width:100%;height:100%;min-height:100%;
  object-fit:cover;object-position:center center;border-radius:calc(var(--r-lg) - 1px);
  transform:scale(1.018) translate3d(0,0,0);transform-origin:center center;
  animation:heroPhotoDrift 30s ease-in-out infinite,heroPhotoExposure 9.5s ease-in-out infinite;
  will-change:transform,filter;
}
.hero-photo-vignette,.hero-photo-noise,.hero-photo-scanline,.hero-photo-glitch{
  position:absolute;pointer-events:none;inset:0;border-radius:calc(var(--r-lg) - 1px);
}
.hero-photo-vignette{
  z-index:2;opacity:.72;
  box-shadow:inset 0 28px 64px rgba(0,0,0,.10),inset 0 -46px 82px rgba(0,0,0,.24),inset 60px 0 80px rgba(0,0,0,.08),inset -60px 0 80px rgba(0,0,0,.08);
  background:radial-gradient(circle at center,transparent 60%,rgba(0,0,0,.14) 100%),linear-gradient(180deg,rgba(0,0,0,.02),transparent 50%,rgba(0,0,0,.12));
}
.hero-photo-noise{
  z-index:3;opacity:.032;mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.02' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23noise)' opacity='0.58'/%3E%3C/svg%3E");
  background-size:140px 140px;
  animation:heroPhotoNoise .9s steps(2,end) infinite;
}
.hero-photo-noise::after{
  content:"";position:absolute;inset:0;border-radius:inherit;opacity:.24;
  background:repeating-linear-gradient(to bottom,rgba(255,255,255,.014) 0,rgba(255,255,255,.014) 1px,rgba(0,0,0,0) 2px,rgba(0,0,0,0) 7px);
}
.hero-photo-scanline{
  z-index:4;top:-10%;height:5%;opacity:0;filter:blur(.7px);
  background:linear-gradient(180deg,transparent,rgba(242,207,106,.035),rgba(214,170,67,.022),transparent);
  animation:heroPhotoScanline 12.8s ease-in-out infinite;
}
.hero-photo-glitch{
  z-index:5;inset:auto auto auto 0;right:0;height:2px;opacity:0;border-radius:0;filter:blur(.2px);
  background:linear-gradient(90deg,transparent 0%,rgba(242,207,106,.07) 18%,rgba(255,244,203,.13) 48%,rgba(214,170,67,.07) 72%,transparent 100%);
  box-shadow:0 0 8px rgba(242,207,106,.07),0 0 12px rgba(214,170,67,.06);
}
.hero-photo-glitch-1{top:34%;width:48%;left:10%;animation:heroPhotoGlitchOne 9.8s steps(1,end) infinite}
.hero-photo-glitch-2{top:69%;width:36%;left:50%;height:2px;animation:heroPhotoGlitchTwo 12.4s steps(1,end) infinite}

/* RGB channel split — authentic video / chromatic aberration glitch.
   Reuses the already-loaded hero image (no extra download, no quality loss). */
.hero-photo-rgb{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  border-radius:calc(var(--r-lg) - 1px);
  background-image:linear-gradient(var(--rgb-tint),var(--rgb-tint)),var(--hero-src);
  background-repeat:no-repeat,no-repeat;
  background-position:center center,center center;
  background-size:cover,cover;
  background-blend-mode:multiply;
  mix-blend-mode:screen;
  opacity:0;will-change:transform,opacity;
}
.hero-photo-rgb-r{--rgb-tint:#ff3a3a;animation:heroRgbSplitR 11.5s steps(1,end) infinite}
.hero-photo-rgb-c{--rgb-tint:#36e9ff;animation:heroRgbSplitC 11.5s steps(1,end) infinite}
.hero-photo:hover .hero-photo-rgb-r,.hero-photo:hover .hero-photo-rgb-c{animation-duration:6s}

/* On-screen "recording" overlay — sells the live-footage read without any full-frame flicker */
.hero-photo-rec,.hero-photo-tc{
  position:absolute;z-index:7;pointer-events:none;user-select:none;
  font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,"Liberation Mono",monospace;
  font-size:11px;font-weight:700;letter-spacing:.14em;line-height:1;
  color:rgba(245,239,228,.78);
  text-shadow:0 1px 2px rgba(0,0,0,.6),0 0 6px rgba(0,0,0,.35);
  font-variant-numeric:tabular-nums;
}
.hero-photo-rec{
  top:17px;right:18px;
  display:inline-flex;align-items:center;gap:7px;
  text-transform:uppercase;
}
.hero-photo-rec-dot{
  width:8px;height:8px;border-radius:50%;
  background:radial-gradient(circle at 34% 32%,#ff8275,#e23a2b 68%);
  box-shadow:0 0 8px rgba(226,58,43,.7),0 0 2px rgba(226,58,43,.95);
  animation:heroRecBlink 1.4s steps(1,end) infinite;
}
.hero-photo-tc{left:18px;bottom:16px;opacity:.82}
@keyframes heroRecBlink{0%,52%{opacity:1}53%,100%{opacity:.16}}

@keyframes heroPhotoExposure{
  0%,100%{filter:brightness(.99) contrast(1.005) saturate(1.012)}
  50%{filter:brightness(1.012) contrast(1.012) saturate(1.022)}
}
@keyframes heroRgbSplitR{
  0%,7.4%,57.6%,100%{opacity:0;transform:scale(1.022) translate3d(0,0,0)}
  7.6%{opacity:.13;transform:scale(1.024) translate3d(-2.5px,0,0)}
  8.1%{opacity:.06;transform:scale(1.022) translate3d(1.5px,-1px,0)}
  8.7%{opacity:.10;transform:scale(1.023) translate3d(-1.5px,1px,0)}
  9.2%{opacity:0;transform:scale(1.022) translate3d(0,0,0)}
  58%{opacity:.12;transform:scale(1.024) translate3d(-3px,0,0)}
  58.7%{opacity:.05;transform:scale(1.022) translate3d(2px,0,0)}
  59.3%{opacity:0;transform:scale(1.022) translate3d(0,0,0)}
}
@keyframes heroRgbSplitC{
  0%,7.4%,57.6%,100%{opacity:0;transform:scale(1.022) translate3d(0,0,0)}
  7.6%{opacity:.13;transform:scale(1.024) translate3d(2.5px,0,0)}
  8.1%{opacity:.06;transform:scale(1.022) translate3d(-1.5px,1px,0)}
  8.7%{opacity:.10;transform:scale(1.023) translate3d(1.5px,-1px,0)}
  9.2%{opacity:0;transform:scale(1.022) translate3d(0,0,0)}
  58%{opacity:.12;transform:scale(1.024) translate3d(3px,0,0)}
  58.7%{opacity:.05;transform:scale(1.022) translate3d(-2px,0,0)}
  59.3%{opacity:0;transform:scale(1.022) translate3d(0,0,0)}
}
@keyframes heroPhotoDrift{
  0%{transform:scale(1.018) translate3d(0,0,0)}
  32%{transform:scale(1.032) translate3d(-8px,-3px,0)}
  64%{transform:scale(1.028) translate3d(7px,3px,0)}
  100%{transform:scale(1.018) translate3d(0,0,0)}
}
@keyframes heroPhotoNoise{
  0%{transform:translate3d(0,0,0)}
  25%{transform:translate3d(-1px,1px,0)}
  50%{transform:translate3d(1px,-1px,0)}
  75%{transform:translate3d(-1px,-1px,0)}
  100%{transform:translate3d(1px,1px,0)}
}
@keyframes heroPhotoScanline{
  0%,42%,100%{opacity:0;transform:translateY(0)}
  46%{opacity:.08}
  52%{opacity:.045}
  60%{opacity:0;transform:translateY(1320%)}
}
@keyframes heroPhotoGlitchOne{
  0%,19%,21.2%,100%{opacity:0;transform:translate3d(0,0,0) scaleX(1)}
  19.4%{opacity:.20;transform:translate3d(-5px,0,0) scaleX(1.05)}
  20.1%{opacity:.09;transform:translate3d(3px,1px,0) scaleX(.98)}
  20.9%{opacity:.14;transform:translate3d(-3px,-1px,0) scaleX(1.03)}
}
@keyframes heroPhotoGlitchTwo{
  0%,61%,63.5%,100%{opacity:0;transform:translate3d(0,0,0) scaleX(1)}
  61.3%{opacity:.17;transform:translate3d(5px,0,0) scaleX(1.05)}
  62.1%{opacity:.08;transform:translate3d(-3px,1px,0) scaleX(.97)}
  63%{opacity:.12;transform:translate3d(3px,-1px,0) scaleX(1.03)}
}

/* ---------- 9a. Stats ---------- */
.stats{
  margin-top:clamp(18px,2.6vw,28px);
  padding:clamp(22px,3vw,30px) clamp(14px,2vw,26px);
  border:1px solid var(--line);border-radius:var(--r-lg);
  background:linear-gradient(160deg,rgba(15,12,9,.90),rgba(7,6,5,.84));
  box-shadow:var(--shadow-1);
  display:grid;grid-template-columns:repeat(5,1fr);
}
.stats > div{position:relative;padding:6px 12px;text-align:center}
.stats > div + div::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:1px;height:62%;
  background:linear-gradient(180deg,transparent,rgba(242,207,106,.32),transparent);
}
.stats strong{
  display:block;
  font-family:var(--font-display);font-style:italic;font-weight:700;
  color:var(--gold2);
  font-size:clamp(26px,2.3vw,33px);line-height:1.05;
  text-shadow:0 0 26px rgba(242,207,106,.20);
}
.stats span{
  display:block;margin-top:7px;color:var(--soft);
  font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase;
}
.has-js .stats > div{opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .6s var(--ease-out)}
.has-js .stats.is-visible > div{opacity:1;transform:none}
.has-js .stats.is-visible > div:nth-child(2){transition-delay:70ms}
.has-js .stats.is-visible > div:nth-child(3){transition-delay:140ms}
.has-js .stats.is-visible > div:nth-child(4){transition-delay:210ms}
.has-js .stats.is-visible > div:nth-child(5){transition-delay:280ms}

/* ---------- 9b. Door ---------- */
.door{
  padding-top:var(--sp-section);
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:20px;align-items:stretch;
}
.door-main{
  height:100%;display:flex;flex-direction:column;
  padding:clamp(26px,3vw,38px);
  border:1px solid var(--line);border-radius:var(--r-lg);
  background:var(--card-grad);
  box-shadow:var(--shadow-2);
}
.door-main p{margin-bottom:14px}
.door-main p:last-of-type{margin-bottom:18px}
.access-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:auto;padding-top:8px}
.access-strip span{
  display:flex;align-items:center;justify-content:center;
  min-height:40px;padding:0 12px;
  border:1px solid rgba(214,170,67,.22);border-radius:999px;
  background:rgba(255,226,154,.055);
  color:rgba(248,240,228,.86);
  font-size:12px;font-weight:800;letter-spacing:.04em;text-align:center;
  transition:border-color .25s ease,background-color .25s ease,color .25s ease;
}
.access-strip span:hover{border-color:rgba(242,207,106,.48);background:rgba(242,207,106,.08);color:var(--gold2)}
.door-side{height:100%;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(3,1fr);gap:12px;align-self:stretch}
.door-side article{
  display:flex;flex-direction:column;justify-content:center;
  padding:18px 22px;
  border:1px solid var(--line);border-radius:var(--r-md);
  background:linear-gradient(145deg,rgba(24,20,15,.78),rgba(9,8,6,.72));
  box-shadow:var(--shadow-1);
  transition:border-color .3s ease,transform .3s var(--ease-out),box-shadow .3s ease;
}
.door-side article:hover{border-color:rgba(242,207,106,.34);transform:translateY(-3px);box-shadow:var(--shadow-2)}
.door-side h3{display:flex;align-items:center;gap:10px;font-size:16px}
.door-side h3::before{content:"";width:16px;height:1px;flex:none;background:linear-gradient(90deg,var(--gold2),rgba(242,207,106,.25))}
.door-side p{margin:0;font-size:14.5px;line-height:1.55}

/* ---------- 9c. Services ---------- */
.services{padding-top:var(--sp-section)}
.section-head{max-width:780px;margin-bottom:clamp(26px,3.4vw,40px)}
.section-head p:last-child{max-width:660px;margin-bottom:0}
.service-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;
  align-items:stretch;grid-auto-rows:1fr;counter-reset:serviceCard;
}
.service-card{
  --mx:50%;--my:50%;
  counter-increment:serviceCard;
  position:relative;isolation:isolate;overflow:hidden;
  min-height:188px;height:100%;
  display:flex;flex-direction:column;justify-content:flex-start;
  padding:24px 23px 22px;
  border:1px solid transparent;border-radius:var(--r-md);
  background:
    linear-gradient(145deg,rgba(23,19,13,.92),rgba(8,7,5,.82)) padding-box,
    linear-gradient(135deg,rgba(242,207,106,.34),rgba(214,170,67,.08) 38%,rgba(255,255,255,.06) 60%,rgba(242,207,106,.22)) border-box;
  box-shadow:var(--shadow-1),inset 0 1px 0 rgba(255,239,184,.055);
  transition:transform .32s var(--ease-out),box-shadow .32s ease,filter .32s ease;
}
.service-card::before{
  content:"";position:absolute;inset:-1px;z-index:-1;opacity:.34;
  background:
    radial-gradient(420px circle at var(--mx) var(--my),rgba(242,207,106,.18),rgba(214,170,67,.07) 34%,transparent 68%),
    linear-gradient(180deg,rgba(255,255,255,.035),transparent 48%);
  transition:opacity .42s ease,background .42s ease;
}
.service-card::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;
  background:linear-gradient(135deg,rgba(242,207,106,.10),transparent 28%,transparent 72%,rgba(214,170,67,.08));
  transition:opacity .42s ease;
}
.service-card:hover{
  transform:translateY(-6px) scale(1.006);
  box-shadow:var(--shadow-2),0 0 0 1px rgba(242,207,106,.20),0 0 34px rgba(214,170,67,.10);
  filter:saturate(1.035);
}
.service-card:hover::before{opacity:.82}
.service-card:hover::after{opacity:1}
.service-card h3{position:relative;margin-bottom:12px;font-size:17px;line-height:1.18}
.service-card h3::before{
  content:counter(serviceCard,decimal-leading-zero);
  display:block;margin-bottom:15px;
  color:var(--gold2);
  font-family:var(--font-sans);font-size:10.5px;line-height:1;font-weight:800;letter-spacing:.2em;
  text-shadow:0 0 18px rgba(242,207,106,.28);opacity:.92;
}
.service-card h3::after{
  content:"";display:block;width:34px;height:1px;margin-top:13px;opacity:.72;
  background:linear-gradient(90deg,var(--gold2),rgba(242,207,106,0));
  transition:width .28s ease;
}
.service-card:hover h3::after{width:58px}
.service-card p{margin:0;color:rgba(248,240,228,.78);font-size:14.5px;line-height:1.55}
.service-card .text-link{position:relative;z-index:2}
.has-js .service-card.reveal:not(.is-visible){transform:translateY(18px) scale(.985)}

/* ---------- 9d. Feature ---------- */
.feature{
  padding-top:var(--sp-section);
  display:grid;grid-template-columns:minmax(330px,.62fr) minmax(0,1.38fr);
  gap:clamp(20px,2.6vw,28px);align-items:stretch;
}
.feature-photo{
  margin:0;display:flex;height:100%;min-height:460px;padding:9px;
  border:1px solid var(--line2);border-radius:var(--r-lg);
  background:rgba(255,226,154,.06);
  box-shadow:var(--shadow-2);overflow:hidden;
}
.feature-photo img{
  width:100%;height:100%;object-fit:cover;object-position:center 47%;
  border-radius:calc(var(--r-lg) - 9px);
  transition:transform .8s var(--ease-out);
}
.feature-photo:hover img{transform:scale(1.02)}
.feature-copy{
  align-self:stretch;height:100%;min-height:460px;
  display:flex;flex-direction:column;justify-content:center;
  padding:clamp(30px,3.6vw,46px);
  border:1px solid var(--line);border-radius:var(--r-lg);
  background:linear-gradient(145deg,rgba(17,14,10,.90),rgba(8,7,5,.76));
  box-shadow:var(--shadow-1);
}
.feature-copy p{max-width:780px}
.feature-copy p:last-of-type{margin-bottom:26px}
.feature-copy .btn{align-self:flex-start}

/* ---------- 9e. Preview ---------- */
.preview{padding-top:var(--sp-section)}
.photo-wall{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:start}
.photo-card{
  --px:50%;--py:50%;--rx:0px;--ry:0px;
  position:relative;isolation:isolate;overflow:hidden;
  margin:0;padding:8px;
  border:1px solid transparent;border-radius:var(--r-md);
  background:
    linear-gradient(145deg,rgba(18,15,11,.88),rgba(7,7,6,.80)) padding-box,
    linear-gradient(135deg,rgba(242,207,106,.28),rgba(214,170,67,.06) 42%,rgba(242,207,106,.18)) border-box;
  box-shadow:var(--shadow-1),inset 0 1px 0 rgba(255,239,184,.045);
  transform:translateZ(0);
  transition:transform .42s var(--ease-out),box-shadow .42s ease,filter .42s ease;
}
.photo-card::before{
  content:"";position:absolute;inset:-2px;z-index:-1;opacity:.18;
  background:radial-gradient(360px circle at var(--px) var(--py),rgba(242,207,106,.18),rgba(214,170,67,.06) 34%,transparent 66%);
  transition:opacity .42s ease;
}
.photo-card::after{
  content:"";position:absolute;inset:8px;border-radius:calc(var(--r-md) - 8px);pointer-events:none;opacity:.42;
  background:linear-gradient(180deg,transparent 54%,rgba(0,0,0,.54));
  transition:opacity .42s ease;
}
.photo-card:hover{
  transform:translateY(-7px);
  box-shadow:var(--shadow-2),0 0 0 1px rgba(242,207,106,.12),0 0 42px rgba(214,170,67,.09);
  filter:saturate(1.025);
}
.photo-card:hover::before{opacity:.72}
.photo-card:hover::after{opacity:.62}
.photo-card img{
  position:relative;z-index:1;width:100%;height:auto;
  border-radius:calc(var(--r-md) - 8px);object-fit:contain;background:#090806;
  transform:translate3d(var(--rx),var(--ry),0) scale(1);
  transition:transform .7s var(--ease-out),filter .7s ease;
}
.photo-card:hover img{transform:translate3d(var(--rx),var(--ry),0) scale(1.012);filter:saturate(1.06) contrast(1.045)}
.photo-card figcaption{
  position:relative;z-index:2;margin:-44px 10px 9px;padding:11px 14px;
  border:1px solid rgba(242,207,106,.16);border-radius:999px;
  background:linear-gradient(135deg,rgba(9,8,6,.72),rgba(28,23,16,.52));
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  color:var(--gold2);
  font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.17em;
  transform:translateY(4px);
  transition:transform .35s ease,border-color .35s ease,background-color .35s ease;
}
.photo-card:hover figcaption{
  transform:translateY(0);
  border-color:rgba(242,207,106,.34);
  background:linear-gradient(135deg,rgba(9,8,6,.78),rgba(40,31,18,.58));
}
.has-js .photo-card.reveal:not(.is-visible){transform:translateY(22px) scale(.985)}

/* ---------- 9f. Topics ---------- */
.topics{padding-top:var(--sp-section)}
.topics .section-head{max-width:860px}
.topic-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.topic-card{
  --tx:50%;--ty:50%;
  position:relative;isolation:isolate;overflow:hidden;
  min-height:330px;display:flex;flex-direction:column;
  padding:clamp(24px,2.4vw,30px);
  border:1px solid transparent;border-radius:var(--r-lg);
  background:
    linear-gradient(145deg,rgba(22,18,13,.92),rgba(7,7,5,.82)) padding-box,
    linear-gradient(135deg,rgba(242,207,106,.34),rgba(214,170,67,.08) 44%,rgba(242,207,106,.18)) border-box;
  box-shadow:var(--shadow-2),inset 0 1px 0 rgba(255,239,184,.055);
  transition:transform .36s var(--ease-out),box-shadow .36s ease,border-color .36s ease;
}
.topic-card::before{
  content:"";position:absolute;inset:-1px;z-index:-1;opacity:.30;
  background:
    radial-gradient(460px circle at var(--tx) var(--ty),rgba(242,207,106,.16),rgba(214,170,67,.055) 34%,transparent 70%),
    linear-gradient(180deg,rgba(255,255,255,.035),transparent 48%);
  transition:opacity .42s ease;
}
.topic-card::after{
  content:"";position:absolute;right:-70px;top:-90px;width:190px;height:190px;border-radius:999px;
  background:radial-gradient(circle,rgba(242,207,106,.13),transparent 68%);
  opacity:.45;pointer-events:none;
}
.topic-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-3),0 0 0 1px rgba(242,207,106,.13),0 0 42px rgba(214,170,67,.09);
}
.topic-card:hover::before{opacity:.78}
.topic-kicker{
  display:inline-flex;align-self:flex-start;align-items:center;gap:10px;
  margin-bottom:18px;color:var(--gold2);
  font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.20em;
}
.topic-kicker::before{content:"";width:30px;height:1px;background:linear-gradient(90deg,var(--gold2),transparent)}
.topic-card h3{max-width:360px;margin:0 0 11px;font-size:21px;line-height:1.15}
.topic-card p{max-width:420px;min-height:68px;margin:0;color:rgba(248,240,228,.76);font-size:14.5px;line-height:1.58}
.topic-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.topic-pills span{
  display:inline-flex;align-items:center;
  min-height:35px;padding:0 14px;
  border:1px solid rgba(214,170,67,.20);border-radius:999px;
  background:rgba(255,226,154,.052);
  color:rgba(248,240,228,.84);
  font-size:12px;font-weight:700;letter-spacing:.02em;
  transition:transform .22s var(--ease-out),border-color .22s ease,color .22s ease,background-color .22s ease;
}
.topic-card:hover .topic-pills span{border-color:rgba(242,207,106,.27)}
.topic-pills span:hover{transform:translateY(-2px);border-color:rgba(242,207,106,.48);background:rgba(242,207,106,.09);color:var(--gold2)}
.has-js .topic-card.reveal:not(.is-visible){transform:translateY(22px) scale(.985)}

/* ---------- 9g. Final CTA ---------- */
.final{
  position:relative;isolation:isolate;overflow:hidden;
  margin-top:var(--sp-section);margin-bottom:clamp(64px,8vw,108px);
  padding:clamp(40px,6vw,72px) clamp(24px,5vw,64px);
  border:1px solid var(--line2);border-radius:32px;
  background:linear-gradient(160deg,rgba(24,19,12,.92),rgba(8,7,5,.82));
  box-shadow:var(--shadow-2);
  text-align:center;
}
.final::before{
  content:"";position:absolute;left:50%;top:-140px;transform:translateX(-50%);
  width:560px;height:300px;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(242,207,106,.13),transparent 70%);
}
.final::after{
  content:"";position:absolute;inset:10px;border:1px solid rgba(242,207,106,.10);
  border-radius:24px;pointer-events:none;
}
.final .eyebrow{justify-content:center}
.final .eyebrow::after{content:"";width:34px;height:1px;background:linear-gradient(90deg,var(--gold2),transparent);flex:none}
.final h2,.final p{margin-left:auto;margin-right:auto}
.final h2{max-width:820px;font-size:clamp(30px,3.2vw,44px)}
.final p{max-width:700px}
.final .btn{min-height:54px;padding:0 34px;font-size:14px;margin-top:10px}

/* ---------- 9h. Footer ---------- */
.site-footer{
  position:relative;z-index:2;
  padding:clamp(36px,5vw,54px) 20px clamp(40px,5vw,58px);
  border-top:1px solid rgba(214,170,67,.16);
  text-align:center;
}
.site-footer::before{
  content:"";position:absolute;top:-1px;left:50%;transform:translateX(-50%);
  width:220px;height:1px;opacity:.55;
  background:linear-gradient(90deg,transparent,var(--gold2),transparent);
}
.site-footer p{margin:0 0 8px;color:var(--soft);font-size:13.5px;line-height:1.55}
.site-footer p:last-child{margin-bottom:0}

/* ---------- 10. Reveal & Motion ---------- */
.has-js .reveal{
  opacity:0;transform:translateY(22px);
  transition:opacity .7s ease,transform .7s var(--ease-out);
  transition-delay:var(--reveal-delay,0ms);
}
.has-js .reveal.is-visible{opacity:1;transform:none}

@media (hover:none){
  /* Kill sticky :hover on touch — focus + press (section 11c) take over instead */
  .btn:hover,.header-cta:hover{transform:none}
  .hero-photo:hover,.door-side article:hover,.service-card:hover,.photo-card:hover,.topic-card:hover,.topic-pills span:hover{transform:none}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .has-js .reveal,.has-js .reveal:not(.is-visible){opacity:1!important;transform:none!important}
  .has-js .stats > div{opacity:1;transform:none}
  .hero-photo img{transform:none!important}
  .site-header::after{transition:none}
}

/* ---------- 11a. Tablet ≤1080 ---------- */
@media (max-width:1080px){
  .hero-card,.door,.feature{grid-template-columns:1fr}
  .hero-photo{height:auto}
  .hero-photo img{height:auto;min-height:0;object-fit:contain}
  .door-main{height:auto}
  .door-side{height:auto;grid-template-columns:repeat(3,1fr);grid-template-rows:auto}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .photo-wall{grid-template-columns:repeat(2,1fr)}
  .feature-photo{max-width:560px;height:auto;min-height:0;margin-inline:auto}
  .feature-photo img{height:auto;object-fit:contain}
  .feature-copy{height:auto;min-height:0;justify-content:flex-start;align-self:start}
  .topic-cards{grid-template-columns:1fr}
  .topic-card{min-height:auto}
  .topic-card p{max-width:680px;min-height:0}
  .stats{grid-template-columns:repeat(5,1fr)}
}

/* ---------- 11b. Mobile ≤760 ---------- */
@media (max-width:760px){
  :root{--header-h:64px}
  html{scroll-padding-top:80px}
  .section{width:min(100% - 32px,var(--max))}
  #access,#services,#preview,#topics,#join{scroll-margin-top:80px}

  .header-inner{grid-template-columns:auto auto;justify-content:space-between;width:calc(100% - 28px);gap:10px}
  .site-header.is-scrolled .header-inner{height:58px}
  .brand img{width:clamp(128px,38vw,148px)}
  .nav{display:none}
  .header-cta{min-height:48px;padding:0 16px;font-size:12.5px}

  .hero{padding-top:28px}
  .hero-card{gap:14px}
  .hero-copy{padding:24px 20px;border-radius:var(--r-md)}
  .hero-photo{border-radius:var(--r-md)}
  .hero-photo img,.hero-photo-vignette,.hero-photo-noise,.hero-photo-scanline,.hero-photo-glitch{border-radius:calc(var(--r-md) - 1px)}
  .hero-photo img{transform:none;animation:none;will-change:auto}
  .hero-photo-rgb{animation:none}
  .hero-photo::before,.hero-photo::after{width:26px;height:26px}
  .hero-photo::before{top:11px;left:11px}
  .hero-photo::after{bottom:11px;right:11px}
  .hero-photo-rec{top:13px;right:14px;font-size:10px;gap:6px}
  .hero-photo-rec-dot{width:7px;height:7px}
  .hero-photo-tc{left:14px;bottom:13px;font-size:10px}

  .eyebrow{font-size:10px;letter-spacing:.15em}
  .eyebrow::before{width:26px}
  h1{font-size:clamp(34px,9vw,42px);line-height:1.06}
  h2{font-size:clamp(26px,7.2vw,32px);line-height:1.1}
  h3{font-size:16px}
  p{font-size:15.5px}
  .lead{font-size:16px}

  .hero-actions{gap:10px}
  .btn{width:100%;min-height:50px}
  .final .btn{width:100%}

  .stats{grid-template-columns:repeat(2,1fr);row-gap:20px;padding:22px 14px}
  .stats > div + div::before{display:none}
  .stats div:last-child{grid-column:1/-1}

  .door-main,.feature-copy{padding:24px 20px;border-radius:var(--r-md)}
  .door-side,.service-grid,.photo-wall,.access-strip{grid-template-columns:1fr;grid-template-rows:auto}
  .door-side article,.service-card,.photo-card{border-radius:var(--r-md)}
  .service-grid{grid-auto-rows:auto}
  .service-card{min-height:auto;padding:21px 19px}
  .service-card h3::before{margin-bottom:12px}

  .feature{gap:20px}
  .feature-photo{min-height:0}

  .topic-card{min-height:auto;padding:22px 19px;border-radius:var(--r-md)}
  .topic-card h3{font-size:19px}
  .topic-pills span{font-size:12px;min-height:34px}

  .final{padding:36px 22px;border-radius:26px;margin-bottom:56px}
  .final::after{inset:8px;border-radius:19px}
}

/* ============================================================
   11c. Touch & scroll life  (no-hover / mobile devices)
   Desktop drives its richness from hover + pointer tracking.
   Touch devices get a parallel system instead: a scroll
   "spotlight" that lights up whichever card is crossing the
   centre of the screen, plus tactile press feedback and a
   scroll-linked glow glide. Everything here is sealed behind
   @media (hover:none), so the desktop design is never touched.
   ============================================================ */

/* Make the glow-centre vars animatable so the highlight can glide
   with scroll (instead of jumping). Only the vertical axis is driven. */
@property --my{syntax:"<percentage>";inherits:false;initial-value:50%}
@property --py{syntax:"<percentage>";inherits:false;initial-value:50%}
@property --ty{syntax:"<percentage>";inherits:false;initial-value:50%}

@media (hover:none){
  /* ---- Scroll spotlight: card at screen-centre = "active" ---- */
  .service-card.is-focus{
    transform:translateY(-5px) scale(1.005);
    box-shadow:var(--shadow-2),0 0 0 1px rgba(242,207,106,.18),0 0 30px rgba(214,170,67,.10);
    filter:saturate(1.03);
  }
  .service-card.is-focus::before{opacity:.8}
  .service-card.is-focus::after{opacity:1}
  .service-card.is-focus h3::after{width:58px}

  .photo-card.is-focus{
    transform:translateY(-6px);
    box-shadow:var(--shadow-2),0 0 0 1px rgba(242,207,106,.12),0 0 38px rgba(214,170,67,.09);
    filter:saturate(1.03);
  }
  .photo-card.is-focus::before{opacity:.7}
  .photo-card.is-focus::after{opacity:.6}
  .photo-card.is-focus img{transform:translate3d(var(--rx),var(--ry),0) scale(1.02);filter:saturate(1.06) contrast(1.045)}
  .photo-card.is-focus figcaption{
    transform:translateY(0);
    border-color:rgba(242,207,106,.34);
    background:linear-gradient(135deg,rgba(9,8,6,.78),rgba(40,31,18,.58));
  }

  .topic-card.is-focus{
    transform:translateY(-5px);
    box-shadow:var(--shadow-3),0 0 0 1px rgba(242,207,106,.13),0 0 40px rgba(214,170,67,.09);
  }
  .topic-card.is-focus::before{opacity:.78}
  .topic-card.is-focus .topic-pills span{border-color:rgba(242,207,106,.27)}

  .door-side article.is-focus{
    transform:translateY(-4px);
    border-color:rgba(242,207,106,.34);
    box-shadow:var(--shadow-2);
  }

  .feature-photo.is-focus img{transform:scale(1.02)}

  /* ---- Tactile press: immediate feedback the instant a finger lands.
          Declared after .is-focus so a press on an active card wins. ---- */
  .service-card.is-pressed,
  .topic-card.is-pressed,
  .door-side article.is-pressed{transform:translateY(-2px) scale(.992);transition-duration:.14s}
  .photo-card.is-pressed{transform:translateY(-3px) scale(.994);transition-duration:.14s}
  .photo-card.is-pressed img{transform:translate3d(var(--rx),var(--ry),0) scale(1.03)}
  .access-strip span.is-pressed,
  .topic-pills span.is-pressed{
    transform:translateY(-1px) scale(.97);
    border-color:rgba(242,207,106,.5);
    background:rgba(242,207,106,.1);
    color:var(--gold2);
  }
  .btn.is-pressed,.header-cta.is-pressed{transform:translateY(1px) scale(.97)}
}

/* ---- Glow glides down each card as it passes through the viewport,
        replacing the desktop pointer-tracked light. Progressive: where
        scroll-driven animations aren't supported the glow simply stays
        centred (still lit by .is-focus), so nothing is lost. ---- */
@supports (animation-timeline:view()){
  @media (hover:none){
    .service-card{animation:glideGlowMy linear both;animation-timeline:view();animation-range:cover}
    .photo-card{animation:glideGlowPy linear both;animation-timeline:view();animation-range:cover}
    .topic-card{animation:glideGlowTy linear both;animation-timeline:view();animation-range:cover}
  }
}
@keyframes glideGlowMy{from{--my:26%}to{--my:74%}}
@keyframes glideGlowPy{from{--py:26%}to{--py:74%}}
@keyframes glideGlowTy{from{--ty:26%}to{--ty:74%}}
