@import url("./tokens.css");

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--carbon); color: var(--fg-1); font-family: var(--font-sans); font-weight: 300; min-height: 100vh; overflow-x: hidden; }
body { -webkit-font-smoothing: antialiased; }

/* film grain everywhere */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.65'/></svg>");
}
/* ambient drift */
body::after {
  content: ""; position: fixed; inset: -10%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(40% 30% at 18% 28%, rgba(110,31,255,0.10), transparent 70%),
    radial-gradient(35% 28% at 82% 72%, rgba(255,184,26,0.08), transparent 70%);
  filter: blur(40px);
  animation: drift 32s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0,0); }
  to   { transform: translate(2%,-1.5%); }
}

/* atmosphere intensity scaling */
[data-atmosphere="low"]    body::before { opacity: 0.04; }
[data-atmosphere="high"]   body::before { opacity: 0.10; }

/* type helpers */
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--amber); }
.eyebrow.dim { color: var(--fg-3); }
.eyebrow.dash { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow.dash::before, .eyebrow.dash::after { content:""; width: 28px; height: 1px; background: currentColor; }
.micro { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--fg-3); }
.code { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); }
.serif-ital { font-family: var(--font-serif); font-style: italic; font-weight: 300; color: var(--amber); }

.brand-mark { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: #FFF3CC; text-shadow: 0 0 6px rgba(255,194,102,0.85), 0 0 14px rgba(255,179,71,0.6), 0 0 28px rgba(255,140,0,0.4); transform: skewX(-8deg); display: inline-flex; flex-direction: column; align-items: center; line-height: 0.95; }
.brand-mark .top { letter-spacing: 0.18em; font-size: 22px; }
.brand-mark .bot { letter-spacing: 0.42em; color: #FFC266; font-weight: 300; font-size: 9px; margin-top: 4px; }

/* III glyph */
.glyph-iii { display: inline-flex; gap: 6px; align-items: flex-end; height: 36px; }
.glyph-iii i { display: block; width: 5px; background: var(--amber); box-shadow: 0 0 10px rgba(255,184,26,0.6); }
.glyph-iii i:nth-child(1) { height: 70%; }
.glyph-iii i:nth-child(2) { height: 100%; }
.glyph-iii i:nth-child(3) { height: 55%; }

/* buttons */
.ghost-btn { font-family: var(--font-sans); font-style: italic; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; padding: 14px 32px; border: 1px solid var(--line-active); color: var(--fg-1); background: transparent; cursor: pointer; transition: all .5s ease; display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.ghost-btn:hover { border-color: var(--amber); color: var(--amber); box-shadow: 0 0 28px rgba(255,184,26,0.25); }
.primary-btn { background: var(--amber); color: #0B0B0D; border: 1px solid var(--amber); font-family: var(--font-sans); font-style: italic; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; padding: 14px 32px; cursor: pointer; transition: all .5s ease; }
.primary-btn:hover { background: var(--amber-glow); box-shadow: 0 0 32px rgba(255,184,26,0.55); }
.text-link { font-family: var(--font-sans); font-style: italic; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-2); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.text-link:hover { color: var(--amber); }
.text-link .l { display: inline-block; width: 24px; height: 1px; background: currentColor; transition: width .4s; }
.text-link:hover .l { width: 56px; }

/* corner brackets */
.frame-corners { position: absolute; inset: 0; pointer-events: none; }
.frame-corners::before, .frame-corners::after,
.frame-corners > i:first-child::before, .frame-corners > i:first-child::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--amber); opacity: 0.7;
}
.frame-corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame-corners::after  { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame-corners > i:first-child::before { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.frame-corners > i:first-child::after  { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* fade in */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-up { animation: fadeUp 1s cubic-bezier(0.22,1,0.36,1) forwards; opacity: 0; }
.fade-in { animation: fadeIn 1.4s ease forwards; opacity: 0; }
.d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .5s; } .d4 { animation-delay: .7s; } .d5 { animation-delay: .9s; } .d6 { animation-delay: 1.1s; }
@keyframes flicker { 0%,92%,100% { opacity: 1; } 93% { opacity: 0.7; } 94% { opacity: 1; } 96% { opacity: 0.86; } 97% { opacity: 1; } }
.flicker { animation: flicker 6s infinite; }

/* gold dividers */
.gold-divider { width: 1px; height: 60px; background: linear-gradient(180deg, transparent, var(--amber), transparent); }
.gold-divider.h { height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--amber), transparent); }

/* SCANNING anim */
@keyframes scanRing {
  0%   { box-shadow: 0 0 0 0 rgba(255,184,26,0.55), inset 0 0 0 1px rgba(255,184,26,0.5); }
  60%  { box-shadow: 0 0 0 80px rgba(255,184,26,0.0),  inset 0 0 0 1px rgba(255,184,26,0.2); }
  100% { box-shadow: 0 0 0 80px rgba(255,184,26,0.0),  inset 0 0 0 1px rgba(255,184,26,0.5); }
}
@keyframes scanBar {
  from { transform: translateY(-100%); opacity: 0.6; }
  to   { transform: translateY(100%);  opacity: 0.6; }
}
@keyframes typeGlow {
  0%,100% { text-shadow: 0 0 6px rgba(255,194,102,0.6), 0 0 18px rgba(255,140,0,0.4); }
  50%     { text-shadow: 0 0 14px rgba(255,194,102,0.95), 0 0 32px rgba(255,140,0,0.7); }
}

/* utility max width */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 25;
  padding: 22px 32px; display: flex; align-items: center; justify-content: space-between;
  transition: all .55s ease;
  background: linear-gradient(180deg, rgba(11,11,13,0.78), transparent);
}
.nav.scrolled { background: rgba(11,11,13,0.82); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line-soft); padding: 14px 32px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--fg-2); font-family: var(--font-sans); font-style: italic; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none; transition: color .3s; }
.nav-links a:hover { color: var(--amber); }

/* mobile menu toggle */
.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; color: var(--fg-2); font-size: 24px; align-items: center; justify-content: center; width: 44px; height: 44px; position: relative; z-index: 26; }
.nav-toggle:hover { color: var(--amber); }

.mobile-menu { position: fixed; top: 0; right: -320px; width: 280px; height: 100vh; background: rgba(11,11,13,0.95); backdrop-filter: blur(20px); border-left: 1px solid var(--line-soft); z-index: 24; transition: right .4s ease; overflow-y: auto; padding: 80px 0 40px; }
.mobile-menu.open { right: 0; }
.mobile-menu a { display: block; padding: 16px 24px; color: var(--fg-2); font-family: var(--font-sans); font-style: italic; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none; transition: all .3s; border-bottom: 1px solid var(--line-faint); }
.mobile-menu a:hover { color: var(--amber); background: rgba(255,184,26,0.04); }
.mobile-menu .status { padding: 16px 24px; color: var(--fg-3); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; border-top: 1px solid var(--line-faint); margin-top: 16px; }
.mobile-menu .apply-btn { margin: 16px 24px; }

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 23; transition: opacity .4s ease; }
.nav-overlay.open { display: block; }

.nav-status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--fg-3); }
.nav-status .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: pulseDot 2.6s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: .9; } 50% { opacity: .35; } }

/* SECTION */
.section { position: relative; padding: 128px 32px; }

/* HERO */
.hero { position: relative; min-height: 100vh; padding: 120px 32px 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.74) saturate(1.05); transform: scale(1.04); animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate(0,0); } to { transform: scale(1.10) translate(-1%, -1%); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 38%, rgba(255,184,26,0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(11,11,13,0.45) 0%, rgba(11,11,13,0.92) 100%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,184,26,0.04) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay; opacity: 0.5;
}

/* hero corner labels */
.hero-corner { position: absolute; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--fg-2); line-height: 1.6; }
.hero-corner.tl { top: 96px; left: 32px; text-align: left; }
.hero-corner.tr { top: 96px; right: 32px; text-align: right; color: var(--amber); }
.hero-corner.bl { bottom: 32px; left: 32px; text-align: left; }
.hero-corner.br { bottom: 32px; right: 32px; text-align: right; }

/* hero monumental */
.hero-mark {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(80px, 13vw, 220px);
  letter-spacing: 0.08em;
  line-height: 0.92; text-transform: uppercase; color: var(--fg-1);
  text-shadow: 0 0 40px rgba(255,184,26,0.28);
}
.hero-lounge {
  display: block; font-family: var(--font-serif); font-style: italic; font-weight: 300;
  font-size: clamp(20px, 2.4vw, 38px); letter-spacing: 0.42em; color: var(--amber);
  margin-top: 22px; transform: skewX(-8deg);
  text-shadow: 0 0 8px rgba(255,194,102,0.7), 0 0 20px rgba(255,179,71,0.45);
  animation: typeGlow 6s ease-in-out infinite;
}
.hero-tag {
  font-family: var(--font-sans); font-weight: 300; font-size: 16px; line-height: 1.85;
  color: var(--fg-2); max-width: 480px; margin: 56px auto 0; letter-spacing: 0.02em;
}
.hero-cta { margin-top: 56px; display: flex; gap: 36px; flex-wrap: wrap; align-items: center; justify-content: center; }
.scroll-ind { position: absolute; right: 32px; bottom: 56px; writing-mode: vertical-rl; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--fg-3); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.scroll-ind::after { content: ""; width: 1px; height: 56px; background: linear-gradient(180deg, var(--amber), transparent); }

/* TONIGHT bar */
.tonight {
  position: relative; padding: 32px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: rgba(11,11,13,0.78); backdrop-filter: blur(8px);
}
.tonight-row { display: flex; align-items: center; gap: 56px; padding: 0 32px; max-width: 1400px; margin: 0 auto; flex-wrap: wrap; }
.tonight-label { display: flex; flex-direction: column; gap: 4px; }
.tonight-label .now { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--amber); display: inline-flex; align-items: center; gap: 10px; }
.tonight-label .now .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: pulseDot 2.6s infinite; }
.tonight-label .ts { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); }
.tonight-events { display: flex; gap: 0; align-items: stretch; flex: 1; }
.t-event { padding: 4px 28px; border-left: 1px solid var(--line-faint); display: flex; flex-direction: column; gap: 4px; min-width: 220px; }
.t-event:first-child { border-left: 0; }
.t-event .ttl { font-family: var(--font-display); font-weight: 300; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg-1); }
.t-event .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); }
.t-event .time { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--amber); }

/* PHILOSOPHY */
.philosophy {
  background: var(--graphite); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: stretch; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--amber); margin-bottom: 32px; display: flex; align-items: center; gap: 12px; }
.section-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h-display { font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 5vw, 76px); line-height: 1.04; text-transform: uppercase; letter-spacing: -0.005em; }
.h-italic { font-family: var(--font-serif); font-style: italic; font-weight: 300; color: var(--amber); text-transform: lowercase; letter-spacing: 0; }
.lead { font-family: var(--font-sans); font-weight: 300; font-size: 16px; line-height: 1.85; color: var(--fg-2); margin-top: 32px; max-width: 480px; }
.lead strong { color: var(--fg-1); font-weight: 400; }
.photo { aspect-ratio: 4/5; border: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,13,0.55) 0%, transparent 60%); }
.photo .corner { position: absolute; right: 18px; bottom: 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); text-align: right; }

/* CLEARANCE */
.clearance { padding: 128px 0 96px; position: relative; }
.clearance .head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; max-width: 1280px; margin: 0 auto 80px; padding: 0 32px; }
.lvl-stage {
  position: relative; max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 280px 1fr 280px; gap: 0;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  min-height: 580px; align-items: stretch;
  background: var(--carbon-soft);
}
.lvl-list { border-right: 1px solid var(--line-faint); padding: 32px 0; }
.lvl-row {
  padding: 24px 28px; border-bottom: 1px solid var(--line-faint); cursor: pointer; transition: all .5s ease;
  display: flex; flex-direction: column; gap: 6px; position: relative;
}
.lvl-row::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--amber); transform: scaleY(0); transform-origin: top; transition: transform .5s ease; }
.lvl-row:hover { background: rgba(255,184,26,0.04); }
.lvl-row.active::after { transform: scaleY(1); }
.lvl-row.active { background: rgba(255,184,26,0.06); }
.lvl-row .num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--fg-3); }
.lvl-row.active .num { color: var(--amber); }
.lvl-row .name { font-family: var(--font-display); font-weight: 300; font-size: 24px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.lvl-row .sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); }

.lvl-cinematic { position: relative; overflow: hidden; }
.lvl-cinematic .bg { position: absolute; inset: 0; }
.lvl-cinematic .bg img { width: 100%; height: 100%; object-fit: cover; transition: opacity 1s ease, transform 14s ease; opacity: 0; }
.lvl-cinematic .bg img.active { opacity: 0.62; transform: scale(1.05); }
.lvl-cinematic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,11,13,0.55), rgba(11,11,13,0.15) 40%, rgba(11,11,13,0.85)); }
.lvl-content { position: relative; z-index: 2; padding: 56px 56px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.lvl-content .top { display: flex; flex-direction: column; gap: 18px; }
.lvl-content .titlerow { display: flex; align-items: baseline; gap: 24px; }
.lvl-content .lvl-name { font-family: var(--font-display); font-weight: 200; font-size: clamp(56px, 7vw, 104px); text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.9; color: var(--fg-1); text-shadow: 0 0 30px rgba(255,184,26,0.18); }
.lvl-content .lvl-pos { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.32em; color: var(--amber); padding-bottom: 14px; }
.lvl-content .pitch { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 22px; line-height: 1.5; color: var(--fg-1); max-width: 520px; }
.lvl-content .pitch .gold { color: var(--amber); }
.lvl-content .price { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 36px; color: var(--amber); }
.lvl-content .price .term { font-family: var(--font-mono); font-style: normal; font-size: 10px; letter-spacing: 0.22em; color: var(--fg-3); margin-left: 14px; }

.lvl-aside { border-left: 1px solid var(--line-faint); padding: 32px 24px; display: flex; flex-direction: column; gap: 14px; background: rgba(11,11,13,0.4); }
.lvl-aside h5 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; color: var(--fg-3); margin-bottom: 8px; text-transform: uppercase; }
.lvl-aside ul { list-style: none; }
.lvl-aside li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid rgba(255,184,26,0.05); font-size: 13px; line-height: 1.55; color: var(--fg-2); font-weight: 300; }
.lvl-aside li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); margin-top: 8px; flex-shrink: 0; }

.lvl-cta { padding: 24px 28px; border-top: 1px solid var(--line-faint); display: flex; align-items: center; justify-content: space-between; }
.lvl-cta-action { font-family: var(--font-sans); font-style: italic; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); cursor: pointer; }

/* VAULT */
.vault {
  position: relative; padding: 0; overflow: hidden;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.vault-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.vault-img { position: relative; overflow: hidden; }
.vault-img img { width: 100%; height: 100%; object-fit: cover; }
.vault-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 30%, rgba(11,11,13,0.85) 100%); }
.vault-text { padding: 96px 64px; display: flex; flex-direction: column; justify-content: center; gap: 32px; background: var(--carbon-soft); position: relative; }
.vault-text::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: linear-gradient(180deg, transparent, var(--amber), transparent); }
.vault-h { font-family: var(--font-display); font-weight: 200; font-size: clamp(56px, 7.5vw, 132px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.02em; }
.vault-h .ital { font-family: var(--font-serif); font-style: italic; font-weight: 300; color: var(--amber); text-transform: none; letter-spacing: 0; display: block; font-size: 0.6em; margin-top: 12px; }
.vault-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--fg-3); }
.vault-quote { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 22px; line-height: 1.55; color: var(--fg-1); max-width: 440px; }
.vault-key { display: flex; align-items: center; gap: 24px; padding-top: 24px; }
.vault-key .lock { width: 48px; height: 48px; border: 1px solid var(--amber); border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--amber); position: relative; }
.vault-key .lock::after { content: ""; position: absolute; width: 6px; height: 6px; background: var(--amber); border-radius: 999px; box-shadow: 0 0 10px var(--amber); animation: pulseDot 3s infinite; }
.vault-key .info { display: flex; flex-direction: column; gap: 4px; }
.vault-key .info .a { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.32em; color: var(--amber); text-transform: uppercase; }
.vault-key .info .b { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--fg-3); text-transform: uppercase; }

/* MEMBER ID / MOBILE */
.identity {
  position: relative; padding: 128px 32px;
  background: linear-gradient(180deg, var(--carbon) 0%, #0E0A14 60%, var(--carbon) 100%);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.identity::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 75% 50%, rgba(110,31,255,0.16), transparent 60%),
              radial-gradient(ellipse 40% 30% at 20% 60%, rgba(255,184,26,0.08), transparent 60%);
}
.identity-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; position: relative; }

/* phone */
.phone { width: 380px; height: 780px; max-width: 100%; margin: 0 auto; background: #06060a; border-radius: 48px; padding: 14px; position: relative; box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 60px rgba(255,184,26,0.18), inset 0 1px 0 rgba(255,184,26,0.15); border: 1px solid rgba(255,184,26,0.18); }
.phone::after { content: ""; position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: 100px; height: 26px; background: #000; border-radius: 14px; }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0a0a0d; position: relative; }
.phone-statusbar { position: absolute; top: 0; left: 0; right: 0; height: 44px; padding: 14px 28px 0; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--fg-1); z-index: 5; }
.phone-content { padding: 60px 24px 40px; height: 100%; display: flex; flex-direction: column; gap: 22px; position: relative; }
.phone-content::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(255,184,26,0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(110,31,255,0.18), transparent 60%);
  pointer-events: none;
}
.phone-content > * { position: relative; z-index: 1; }
.welcome-h { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.32em; color: var(--amber); text-transform: uppercase; display: flex; justify-content: space-between; }
.welcome-name { font-family: var(--font-display); font-weight: 300; font-size: 38px; text-transform: uppercase; line-height: 1; letter-spacing: 0.02em; color: var(--fg-1); }
.welcome-name .ital { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 300; color: var(--amber); text-transform: none; font-size: 18px; letter-spacing: 0.18em; margin-top: 8px; }

/* member card */
.mcard { aspect-ratio: 1.6/1; background: linear-gradient(135deg, #1A1410 0%, #0E0A0E 50%, #110E20 100%); border: 1px solid var(--line-soft); padding: 22px 22px 18px; position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,184,26,0.18), 0 0 32px rgba(255,184,26,0.18); }
.mcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 100% 0%, rgba(255,184,26,0.18), transparent 60%); }
.mcard-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mcard-mark { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--amber); font-size: 14px; letter-spacing: 0.18em; transform: skewX(-8deg); text-shadow: 0 0 8px rgba(255,194,102,0.7); }
.mcard-mark .b { display: block; font-size: 7px; letter-spacing: 0.42em; color: var(--amber-glow); margin-top: 3px; transform: skewX(0deg); }
.mcard-iii { display: flex; gap: 3px; align-items: flex-end; height: 18px; }
.mcard-iii i { width: 3px; background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.mcard-iii i:nth-child(1) { height: 70%; } .mcard-iii i:nth-child(2) { height: 100%; } .mcard-iii i:nth-child(3) { height: 55%; }
.mcard-mid { margin-top: 36px; font-family: var(--font-display); font-weight: 200; font-size: 32px; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; color: var(--fg-1); }
.mcard-bot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 14px; }
.mcard-bot .id { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; color: var(--fg-3); }
.mcard-bot .id strong { display: block; font-family: var(--font-display); font-weight: 300; color: var(--fg-1); font-size: 12px; letter-spacing: 0.18em; margin-top: 4px; font-style: normal; }
.mcard-bot .lvl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; color: var(--amber); padding: 4px 8px; border: 1px solid var(--line-active); }

/* phone tonight */
.phone-tonight { display: flex; flex-direction: column; gap: 10px; }
.phone-tonight h6 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; color: var(--fg-3); text-transform: uppercase; display: flex; justify-content: space-between; }
.phone-evt { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-faint); }
.phone-evt .l1 { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg-1); }
.phone-evt .l2 { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; color: var(--fg-3); margin-top: 2px; text-transform: uppercase; }
.phone-evt .time { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--amber); }

/* phone bottom CTA */
.phone-cta { margin-top: auto; padding: 14px; border: 1px solid var(--line-active); display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--font-sans); font-style: italic; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); position: relative; }
.phone-cta::before, .phone-cta::after { content: ""; width: 8px; height: 8px; border: 1px solid var(--amber); }

/* identity copy column */
.id-copy h3 { margin-top: 28px; }
.id-copy .stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-faint); }
.id-copy .stat .n { font-family: var(--font-display); font-weight: 200; font-size: 56px; color: var(--amber); line-height: 1; }
.id-copy .stat .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--fg-3); margin-top: 8px; }

/* FINAL CTA */
.final { padding: 160px 32px 96px; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,184,26,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 50% 100%, rgba(110,31,255,0.12) 0%, transparent 70%); }
.final h2 { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(56px, 8vw, 112px); line-height: 1.05; }
.final h2 .know2 { color: var(--amber); font-style: italic; }
.final-form { max-width: 460px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 14px; }
.final-form input, .final-form select { background: var(--graphite); border: 1px solid var(--line-soft); padding: 16px; color: var(--fg-1); font-family: var(--font-sans); font-weight: 300; font-size: 14px; outline: none; transition: border .4s; }
.final-form input:focus, .final-form select:focus { border-color: var(--amber); }
.final-form input::placeholder { color: var(--fg-mute); }

/* MARQUEE */
.marquee { overflow: hidden; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--carbon-soft); }
.marquee-track { display: inline-flex; gap: 48px; white-space: nowrap; animation: slideX 50s linear infinite; }
.marquee span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--amber); }
@keyframes slideX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* FOOTER */
.footer { padding: 64px 32px 28px; border-top: 1px solid var(--line-soft); background: var(--carbon-soft); }
.footer-row { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; align-items: start; padding-bottom: 32px; }
.footer h5 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { padding: 6px 0; font-family: var(--font-sans); font-style: italic; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); }
.footer .legal { max-width: 1280px; margin: 32px auto 0; padding-top: 28px; border-top: 1px solid var(--line-faint); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--fg-3); text-transform: uppercase; }

/* ACCESS GATE OVERLAY */
.gate-overlay { position: fixed; inset: 0; z-index: 100; background: var(--carbon); display: flex; align-items: center; justify-content: center; flex-direction: column; transition: opacity 1.6s ease, visibility 1.6s; }
.gate-overlay.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.gate-bg { position: absolute; inset: 0; opacity: 0.32; }
.gate-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4) saturate(0.95); }
.gate-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 50% at 50% 50%, transparent 0%, rgba(11,11,13,0.92) 80%); }
.gate-wash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 30% 40% at 50% 50%, rgba(255,184,26,0.10), transparent 70%); }
.gate-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 64px; text-align: center; padding: 0 32px; }
.gate-tl, .gate-tr, .gate-bl, .gate-br { position: absolute; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--fg-3); line-height: 1.6; z-index: 2; }
.gate-tl { top: 32px; left: 32px; }
.gate-tr { top: 32px; right: 32px; text-align: right; color: var(--amber); }
.gate-bl { bottom: 32px; left: 32px; }
.gate-br { bottom: 32px; right: 32px; text-align: right; }

.scan-circle { width: 220px; height: 220px; border: 1px solid var(--line-active); border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .8s; user-select: none; }
.scan-circle .ring1, .scan-circle .ring2, .scan-circle .ring3 { position: absolute; border-radius: 50%; border: 1px solid rgba(255,184,26,0.18); }
.scan-circle .ring1 { inset: -28px; }
.scan-circle .ring2 { inset: -64px; opacity: 0.5; }
.scan-circle .ring3 { inset: -112px; opacity: 0.25; }
.scan-circle .core { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 16px var(--amber), 0 0 40px rgba(255,184,26,0.5); }
.scan-circle.idle:hover { box-shadow: 0 0 36px rgba(255,184,26,0.4); border-color: var(--amber); }
.scan-circle.scanning { animation: scanRing 2.4s ease-out infinite; border-color: var(--amber); }
.scan-circle.scanning .scan-bar { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--amber), transparent); animation: scanBar 1.6s ease-in-out infinite; box-shadow: 0 0 8px var(--amber); }
.scan-circle.verified { border-color: var(--amber); box-shadow: 0 0 60px rgba(255,184,26,0.55); }
.scan-circle.verified .core { width: 36px; height: 36px; }

.gate-h { font-family: var(--font-display); font-weight: 200; font-size: clamp(40px, 5.5vw, 80px); text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; color: var(--fg-1); }
.gate-h .ital { display: block; font-family: var(--font-serif); font-style: italic; color: var(--amber); font-size: 0.42em; letter-spacing: 0.36em; margin-top: 16px; transform: skewX(-8deg); }
.gate-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.42em; color: var(--fg-2); text-transform: uppercase; }
.gate-step-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.34em; color: var(--amber); text-transform: uppercase; min-height: 14px; }

/* tablet (900px and down) */
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-status { gap: 8px; font-size: 9px; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 20px 80px; }
  .hero-mark { font-size: clamp(60px, 10vw, 140px); }
  .hero-lounge { font-size: clamp(16px, 2vw, 32px); }
  .hero-tag { font-size: 15px; margin-top: 40px; max-width: 100%; }
  .hero-cta { gap: 24px; margin-top: 40px; }
  .hero-corner { display: none; }
  .scroll-ind { display: none; }

  .section { padding: 96px 20px; }
  .wrap { padding: 0 20px; }

  .split-2, .clearance .head, .vault-grid, .identity-grid, .footer-row { grid-template-columns: 1fr; gap: 48px; }

  .tonight { padding: 24px 0; }
  .tonight-row { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 20px; }
  .tonight-events { width: 100%; overflow-x: auto; gap: 12px; }
  .tonight-label .now { font-size: 9px; }
  .t-event { min-width: 180px; padding: 8px 16px; }

  .h-display { font-size: clamp(28px, 5vw, 48px); }
  .photo { max-width: 100%; }

  .vault-text { padding: 56px 20px; }
  .vault-h { font-size: clamp(40px, 6vw, 80px); }

  .lvl-stage { grid-template-columns: 1fr; min-height: auto; border-left: 0; border-right: 0; }
  .lvl-list { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; border-right: 0; border-bottom: 1px solid var(--line-faint); padding: 12px 20px 16px; gap: 8px; }
  .lvl-row { min-width: 160px; flex-shrink: 0; padding: 16px; border-bottom: 0; border-right: 1px solid var(--line-faint); }
  .lvl-row .name { font-size: 18px; }
  .lvl-aside { border-left: 0; border-top: 1px solid var(--line-faint); padding: 20px; }
  .lvl-content { padding: 32px 20px; }
  .lvl-content .lvl-name { font-size: clamp(36px, 6vw, 72px); }
  .lvl-content .pitch { font-size: 18px; }

  .identity { padding: 96px 20px; }
  .identity-grid { gap: 48px; }
  .phone { width: 100%; max-width: 360px; height: auto; aspect-ratio: 380/780; }
  .phone-content { padding: 50px 20px 32px; gap: 18px; }
  .welcome-name { font-size: 28px; }
  .id-copy h3 { margin-top: 20px; font-size: clamp(24px, 4vw, 40px); }
  .id-copy .stat-row { gap: 24px; margin-top: 40px; }
  .id-copy .stat .n { font-size: 40px; }

  .final { padding: 120px 20px 80px; }
  .final h2 { font-size: clamp(36px, 6vw, 80px); }
  .final-form { max-width: 100%; margin-top: 40px; }
  .final-form input, .final-form select { padding: 14px; font-size: 16px; }

  .footer { padding: 48px 20px 20px; }
  .footer-row { gap: 32px; padding-bottom: 24px; }
  .footer h5 { font-size: 9px; margin-bottom: 12px; }
  .footer .legal { flex-direction: column; gap: 12px; }

  .ghost-btn, .primary-btn { padding: 12px 24px; font-size: 10px; min-height: 44px; }
  .text-link { font-size: 10px; }
}

/* mobile (600px and down) */
@media (max-width: 600px) {
  body { font-size: 14px; }

  .nav { padding: 12px 16px; }
  .nav-status { display: none; }
  .nav a[href="#apply"] { padding: 8px 16px; font-size: 9px; }

  .hero { padding: 80px 16px 60px; min-height: auto; }
  .hero-mark { font-size: clamp(48px, 9vw, 100px); letter-spacing: 0.06em; }
  .hero-lounge { font-size: clamp(14px, 1.8vw, 24px); margin-top: 16px; }
  .hero-tag { font-size: 14px; margin-top: 28px; line-height: 1.6; }
  .hero-cta { gap: 16px; flex-direction: column; margin-top: 28px; }
  .hero-cta a { width: 100%; justify-content: center; }

  .section { padding: 64px 16px; }
  .wrap { padding: 0 16px; }

  .split-2 { gap: 32px; }
  .section-label { font-size: 9px; margin-bottom: 20px; }
  .section-label::before { width: 20px; }

  .tonight { padding: 18px 0; }
  .tonight-row { padding: 0 16px; gap: 16px; }
  .tonight-label .now { font-size: 8px; }
  .tonight-label .ts { font-size: 9px; }
  .t-event { min-width: 150px; padding: 6px 12px; }
  .t-event .ttl { font-size: 14px; }
  .t-event .meta { font-size: 8px; }
  .t-event .time { font-size: 8px; }

  .h-display { font-size: clamp(20px, 4vw, 36px); }
  .lead { font-size: 14px; margin-top: 20px; max-width: 100%; }

  .photo { aspect-ratio: 3/4; }
  .photo .corner { font-size: 8px; right: 12px; bottom: 12px; }

  .vault-h { font-size: clamp(32px, 5vw, 64px); }
  .vault-quote { font-size: 18px; max-width: 100%; }
  .vault-key { gap: 16px; }
  .vault-key .lock { width: 40px; height: 40px; }

  .lvl-list { padding: 10px 16px; gap: 6px; }
  .lvl-row { min-width: 140px; padding: 12px; }
  .lvl-row .num { font-size: 8px; }
  .lvl-row .name { font-size: 14px; }
  .lvl-row .sub { font-size: 8px; }
  .lvl-content { padding: 24px 16px; }
  .lvl-content .lvl-name { font-size: clamp(28px, 5vw, 52px); }
  .lvl-content .pitch { font-size: 16px; line-height: 1.4; }
  .lvl-content .price { font-size: 28px; }
  .lvl-aside { padding: 16px; }
  .lvl-aside h5 { font-size: 8px; margin-bottom: 6px; }
  .lvl-aside li { font-size: 12px; padding: 6px 0; }

  .identity { padding: 64px 16px; }
  .identity-grid { gap: 32px; }
  .phone { max-width: 100%; }
  .phone-content { padding: 40px 16px 24px; gap: 16px; }
  .welcome-h { font-size: 8px; }
  .welcome-name { font-size: 22px; }
  .welcome-name .ital { font-size: 14px; margin-top: 4px; }
  .mcard { padding: 16px; }
  .mcard-mid { font-size: 24px; margin-top: 24px; }
  .phone-tonight h6 { font-size: 8px; }
  .phone-evt .l1 { font-size: 12px; }
  .phone-evt .time { font-size: 8px; }
  .phone-cta { font-size: 9px; padding: 10px; }

  .id-copy h3 { margin-top: 16px; font-size: clamp(18px, 3.5vw, 28px); }
  .id-copy .stat-row { gap: 16px; margin-top: 28px; padding-top: 20px; }
  .id-copy .stat .n { font-size: 32px; }
  .id-copy .stat .l { font-size: 8px; margin-top: 4px; }

  .final { padding: 80px 16px 60px; }
  .final h2 { font-size: clamp(24px, 5vw, 56px); line-height: 1.15; }
  .final-form { gap: 10px; margin-top: 28px; }
  .final-form input, .final-form select { padding: 12px; font-size: 16px; border-radius: 2px; }

  .footer { padding: 40px 16px 16px; }
  .footer-row { gap: 24px; padding-bottom: 16px; }
  .footer h5 { font-size: 8px; margin-bottom: 8px; }
  .footer li { font-size: 11px; padding: 4px 0; }
  .footer .legal { font-size: 9px; gap: 6px; padding-top: 16px; }

  .ghost-btn, .primary-btn { padding: 10px 20px; font-size: 9px; min-height: 44px; min-width: 44px; }
  .text-link { font-size: 9px; gap: 10px; }
  .text-link .l { width: 16px; }
  .text-link:hover .l { width: 36px; }

  .marquee-track { gap: 32px; animation: slideX 40s linear infinite; }

  .eyebrow { font-size: 10px; }
  .code { font-size: 10px; }
  .micro { font-size: 9px; }
}
