/* Resources tab — shared chrome + article + gate styles.
   Both the /resources index and every /resources/<slug> article link this one
   file instead of inlining page CSS like the root pages do, because articles
   are a repeating pattern: each new issue's post copies the article markup and
   gets its design from here. All asset URLs are absolute — these pages live in
   a subdirectory. Brand tokens match every root page's :root exactly. */

@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Regular.woff2') format('woff2'), url('/assets/fonts/Satoshi-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Medium.woff2') format('woff2'), url('/assets/fonts/Satoshi-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Bold.woff2') format('woff2'), url('/assets/fonts/Satoshi-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Black.woff2') format('woff2'), url('/assets/fonts/Satoshi-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/Satoshi-Italic.woff2') format('woff2'), url('/assets/fonts/Satoshi-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --black: #050505; --ink: #0a0a0e; --midnight: #04111c; --deep-blue: #051826;
  --blue: #3d8ecf; --blue-glow: #6cb3e8; --blue-deep: #2a6ea5;
  --white: #ffffff; --muted: rgba(255,255,255,0.6); --line: rgba(255,255,255,0.08);
  --gutter: clamp(24px, 4vw, 64px);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { background: var(--black); }
body { background: var(--black); color: var(--white); font-family: 'Satoshi', system-ui, sans-serif; line-height: 1.5; overflow-x: clip; }
.display { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 900; line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase; }
.display .blue { color: var(--blue); }
.mono { font-family: 'JetBrains Mono', monospace; }

/* NAV (same system as the root pages) */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 22px var(--gutter); display: flex; justify-content: space-between; align-items: center; transition: background 0.3s, backdrop-filter 0.3s; }
.nav.scrolled { background: rgba(5,5,5,0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; height: 40px; text-decoration: none; color: var(--white); }
.nav-brand img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.15s; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-link:hover, .nav-link.active { color: var(--blue-glow); }
.nav-link.active { font-weight: 700; }
.nav-cta { background: var(--white); color: var(--black); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 13px; text-decoration: none; transition: color 0.15s, background-color 0.15s, border-color 0.15s, opacity 0.15s, transform 0.15s, box-shadow 0.15s, filter 0.15s; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-cta:hover { background: var(--blue); color: var(--white); }
@media (max-width: 900px) { .nav-links .nav-link { display: none; } }

@keyframes pulse { 50% { opacity: 0.3; transform: scale(1.5); } }
.nav-events-wrap { position: relative; }
.nav-events-btn { background: none; border: none; font-family: 'Satoshi', system-ui, sans-serif; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; transition: color 0.15s; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-events-btn:hover, .nav-events-wrap.open .nav-events-btn { color: var(--blue-glow); }
.nav-chevron { font-size: 11px; display: inline-block; transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1); line-height: 1; margin-top: 1px; }
.nav-events-wrap.open .nav-chevron { transform: rotate(180deg); }
.nav-events-wrap::after { content: ""; position: absolute; left: -40px; right: -40px; bottom: -20px; height: 20px; }
.events-dropdown { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(-6px); width: 460px; background: rgba(6,8,12,0.94); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border: 1px solid rgba(255,255,255,0.13); border-radius: 18px; padding: 16px; opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.34,1.56,0.64,1); box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(108,179,232,0.06) inset; z-index: 200; }
.nav-events-wrap:hover .events-dropdown, .nav-events-wrap.open .events-dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.events-dropdown-label { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(108,179,232,0.55); padding: 0 6px; margin-bottom: 10px; }
.event-card { display: grid; grid-template-columns: 148px 1fr; gap: 0; border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--white); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); transition: border-color 0.2s, background 0.2s; }
.event-card:hover { border-color: rgba(108,179,232,0.45); background: rgba(61,142,207,0.07); }
.event-card-photo { position: relative; overflow: hidden; }
.event-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; filter: brightness(0.88); transition: filter 0.3s, transform 0.4s; }
.event-card:hover .event-card-photo img { filter: brightness(1); transform: scale(1.04); }
.event-card-photo-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(6,8,12,0.5) 100%); }
.event-card-info { padding: 20px 18px; display: flex; flex-direction: column; justify-content: space-between; }
.event-card-series { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--blue-glow); margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.event-card-series::before { content: ""; width: 5px; height: 5px; background: var(--blue-glow); border-radius: 50%; flex-shrink: 0; animation: pulse 1.8s ease-in-out infinite; }
.event-card-name { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 900; font-size: 22px; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.01em; margin-bottom: 8px; }
.event-card-desc { font-size: 11.5px; line-height: 1.55; opacity: 0.62; margin-bottom: 14px; flex: 1; }
.event-card-cta { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; color: var(--blue-glow); text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; transition: gap 0.2s; }
.event-card:hover .event-card-cta { gap: 12px; }
.events-more { margin-top: 10px; padding: 12px 14px; border-radius: 10px; border: 1px dashed rgba(255,255,255,0.1); display: flex; align-items: center; gap: 12px; }
.events-more-text { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); }
.events-more-cities { display: flex; gap: 6px; flex-wrap: wrap; }
.events-more-city { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.14em; color: rgba(108,179,232,0.45); padding: 3px 8px; border: 1px solid rgba(108,179,232,0.18); border-radius: 99px; }

.nav-partner-wrap { position: relative; }
.nav-partner-wrap::after { content: ""; position: absolute; left: -40px; right: -40px; bottom: -20px; height: 20px; }
.nav-partner-wrap.open .nav-events-btn { color: var(--blue-glow); }
.nav-partner-wrap.open .nav-chevron { transform: rotate(180deg); }
.partner-dropdown { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(-6px); width: 290px; background: rgba(6,8,12,0.94); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border: 1px solid rgba(255,255,255,0.13); border-radius: 18px; padding: 10px; opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.34,1.56,0.64,1); box-shadow: 0 24px 64px rgba(0,0,0,0.7); z-index: 200; }
.nav-partner-wrap:hover .partner-dropdown, .nav-partner-wrap.open .partner-dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.partner-link { display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--white); transition: background 0.15s; }
.partner-link:hover { background: rgba(108,179,232,0.09); }
.partner-link-name { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.partner-link-desc { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }

/* Mobile nav */
.nav-hamburger { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 16px; background: none; border: none; cursor: pointer; padding: 0; z-index: 310; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: opacity 0.28s cubic-bezier(0.4,0,0.2,1), transform 0.28s cubic-bezier(0.4,0,0.2,1); transform-origin: center; }
.nav.mobile-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.mobile-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.mobile-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-drawer { position: fixed; inset: 0; z-index: 299; background: rgba(4,4,6,0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 0.22s ease; }
.nav-mobile-drawer.open { opacity: 1; pointer-events: auto; }
.nav-mobile-inner { position: relative; padding: 88px 28px 48px; display: flex; flex-direction: column; flex: 1; overflow-y: auto; }
.nav-mobile-link { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 700; font-size: 34px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; color: var(--white); text-decoration: none; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: block; transition: color 0.15s; }
.nav-mobile-link:hover, .nav-mobile-link.active { color: var(--blue-glow); }
.nav-mobile-sub { display: flex; flex-direction: column; padding: 6px 0 10px 16px; }
.nav-mobile-sublink { font-family: 'Satoshi', system-ui, sans-serif; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.55); text-decoration: none; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.04); transition: color 0.15s; text-transform: uppercase; letter-spacing: 0.04em; }
.nav-mobile-sublink:hover { color: var(--white); }
.nav-mobile-cta-wrap { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); }
.nav-mobile-cta { display: inline-flex; background: var(--blue); color: var(--white); padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; text-transform: uppercase; text-decoration: none; letter-spacing: 0.03em; transition: background 0.15s; }
.nav-mobile-cta:hover { background: var(--blue-glow); }
.nav-mobile-close { position: absolute; top: 22px; right: 22px; background: none; border: none; color: var(--white); font-size: 26px; cursor: pointer; padding: 8px; line-height: 1; opacity: 0.75; transition: opacity 0.15s; z-index: 1; }
.nav-mobile-close:hover { opacity: 1; }
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex; }
}

/* CTA buttons */
.cta { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; padding: 14px 24px; border-radius: 999px; text-decoration: none; cursor: pointer; transition: color 0.15s, background-color 0.15s, border-color 0.15s, opacity 0.15s, transform 0.15s, box-shadow 0.15s, filter 0.15s; border: none; font-family: 'Satoshi', system-ui, sans-serif; }
.cta-primary { background: #1d6faa; color: var(--white); }
.cta-primary:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.cta-ghost { color: var(--white); border: 1px solid rgba(255,255,255,0.3); background: transparent; }
.cta-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* FOOTER */
.footer { padding: 96px var(--gutter) 48px; background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-blue) 100%); position: relative; overflow: hidden; }
.footer-inner { max-width: 1400px; margin: 0 auto; position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-glow); margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.75); text-decoration: none; padding: 6px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--blue-glow); }
.footer-meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; opacity: 0.4; margin-top: 48px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; letter-spacing: 0.05em; }

/* Focus — same rules as the root pages */
:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: 3px; border-radius: 3px; }
.cta:focus-visible, .nav-cta:focus-visible, .nav-link:focus-visible,
.nav-events-btn:focus-visible, .event-card:focus-visible { outline: 2px solid var(--blue-glow); outline-offset: 4px; }
.skip-link { position: absolute; top: -100%; left: 1rem; background: #050505; color: #fff; padding: 0.5rem 1rem; z-index: 10000; font-family: inherit; text-decoration: none; border-radius: 4px; }
.skip-link:focus { top: 1rem; }

/* ============ RESOURCES INDEX ============ */
.res-hero { position: relative; padding: 168px var(--gutter) 72px; background: var(--black); overflow: hidden; }
.res-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(61,142,207,0.16), transparent 70%); pointer-events: none; }
.res-hero-inner { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; }
.res-hero-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--blue); letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 18px; }
.res-hero-h1 { font-size: clamp(56px, 10vw, 160px); margin-bottom: 24px; }
.res-hero-sub { font-size: 18px; line-height: 1.55; opacity: 0.85; max-width: 620px; }

.res-list { padding: 24px var(--gutter) 120px; background: var(--black); }
.res-list-inner { max-width: 1400px; margin: 0 auto; }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1100px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .res-grid { grid-template-columns: 1fr; } }
.res-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--white); background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%); border: 1px solid var(--line); transition: border-color 0.22s, background 0.22s, transform 0.22s; }
.res-card:hover { border-color: rgba(108,179,232,0.4); background: linear-gradient(180deg, rgba(61,142,207,0.08) 0%, rgba(61,142,207,0.02) 100%); transform: translateY(-3px); }
.res-card-photo { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.res-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.85); transition: filter 0.3s, transform 0.45s; }
.res-card:hover .res-card-photo img { filter: brightness(1); transform: scale(1.04); }
.res-card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,5,5,0.55) 100%); }
.res-card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.res-card-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-glow); display: flex; gap: 12px; flex-wrap: wrap; }
.res-card-title { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em; }
.res-card-excerpt { font-size: 14px; line-height: 1.6; opacity: 0.72; flex: 1; }
.res-card-cta { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-glow); display: inline-flex; align-items: center; gap: 7px; transition: gap 0.2s; }
.res-card:hover .res-card-cta { gap: 12px; }

/* Subscribe band on the index */
.res-band { margin-top: 72px; background: linear-gradient(135deg, rgba(61,142,207,0.10), rgba(61,142,207,0.02)); border: 1px solid rgba(108,179,232,0.32); border-radius: 24px; padding: 48px 56px; }
@media (max-width: 768px) { .res-band { padding: 32px 26px; } }
.res-band .nl { border-top: none; padding: 0; margin-bottom: 0; }

/* ============ ARTICLE ============ */
.article-hero { position: relative; padding: 168px var(--gutter) 0; background: var(--black); overflow: hidden; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(61,142,207,0.15), transparent 70%); pointer-events: none; }
.article-hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.article-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--blue); letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.article-eyebrow a { color: inherit; text-decoration: none; }
.article-eyebrow a:hover { color: var(--blue-glow); }
.article-eyebrow .sep { opacity: 0.4; }
.article-h1 { font-size: clamp(40px, 7vw, 88px); margin-bottom: 22px; }
.article-dek { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; opacity: 0.85; max-width: 640px; margin-bottom: 26px; }
.article-meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); display: flex; gap: 16px; flex-wrap: wrap; padding-bottom: 36px; }
.article-figure { max-width: 1000px; margin: 0 auto; padding: 0 0 8px; position: relative; z-index: 2; }
.article-figure img { width: 100%; height: auto; display: block; border-radius: 16px; border: 1px solid var(--line); }
.article-figure figcaption { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.58); margin-top: 12px; }

.article-body { padding: 40px var(--gutter) 96px; background: var(--black); }
.article-body-inner { max-width: 720px; margin: 0 auto; }
.article-body p { font-size: 17.5px; line-height: 1.75; color: rgba(255,255,255,0.86); margin: 0 0 22px; }
.article-body p strong { color: var(--white); }
/* Content links only — scoped so .cta buttons inside the article keep their
   own colors instead of inheriting link blue on a blue background. */
.article-body p a, .article-body li a { color: var(--blue-glow); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(108,179,232,0.45); transition: text-decoration-color 0.15s; }
.article-body p a:hover, .article-body li a:hover { text-decoration-color: var(--blue-glow); }
.article-body h2 { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 900; font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em; margin: 52px 0 20px; }
.article-body ul { margin: 0 0 22px; padding-left: 22px; }
.article-body li { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.86); margin-bottom: 10px; }
.article-body li::marker { color: var(--blue); }

/* Stat tiles — the "receipts" moment inside an article */
.article-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 32px; }
@media (max-width: 720px) { .article-stats { grid-template-columns: 1fr; } }
.article-stat { background: linear-gradient(180deg, rgba(61,142,207,0.12) 0%, rgba(61,142,207,0.03) 100%); border: 1px solid rgba(108,179,232,0.3); border-radius: 14px; padding: 22px 20px; }
.article-stat-num { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 900; font-size: clamp(30px, 4vw, 44px); color: var(--blue-glow); line-height: 1; letter-spacing: -0.02em; }
.article-stat-label { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 8px; line-height: 1.45; }
.article-stat-label a { color: rgba(255,255,255,0.65); }

/* End-of-article CTA */
.article-end { margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.1); }
.article-end-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-glow); margin-bottom: 14px; }
.article-end-h { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 900; font-size: clamp(26px, 3.6vw, 40px); text-transform: uppercase; line-height: 0.98; margin-bottom: 14px; }
.article-end p { margin-bottom: 24px; }
.article-end-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ SCROLL GATE ============ */
body.gate-locked { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 400; display: none; align-items: flex-end; justify-content: center; padding: var(--gutter); padding-bottom: max(4vh, 24px); background: linear-gradient(180deg, rgba(5,5,5,0.25) 0%, rgba(5,5,5,0.82) 40%, rgba(4,17,28,0.96) 100%); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.gate.open { display: flex; }
.gate-card { width: 100%; max-width: 560px; background: rgba(6,8,12,0.97); border: 1px solid rgba(108,179,232,0.38); border-radius: 20px; padding: 40px 40px 32px; box-shadow: 0 32px 90px rgba(0,0,0,0.75), 0 0 70px rgba(61,142,207,0.12); }
@media (max-width: 600px) { .gate-card { padding: 30px 24px 26px; } }
@media (prefers-reduced-motion: no-preference) {
  .gate.open { animation: gate-fade 0.3s ease; }
  .gate.open .gate-card { animation: gate-rise 0.38s cubic-bezier(0.22,1,0.36,1); }
}
@keyframes gate-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gate-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.gate-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue-glow); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.gate-eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--blue-glow); border-radius: 50%; animation: pulse 1.8s ease-in-out infinite; }
.gate-h { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 900; font-size: clamp(26px, 5vw, 36px); text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em; margin-bottom: 12px; }
.gate-sub { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.72); margin-bottom: 22px; }
.gate .nl-row { grid-template-columns: minmax(0, 1fr) auto; max-width: none; }
@media (max-width: 600px) { .gate .nl-row { grid-template-columns: 1fr; } }
.gate .nl-consent { max-width: none; }
.gate-back { margin-top: 20px; text-align: center; }
.gate-back-link { background: none; border: none; cursor: pointer; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s; padding: 14px 12px; }
.gate-back-link:hover { color: var(--white); }
.gate-success { display: none; text-align: center; padding: 8px 0 4px; }
.gate.subscribed .gate-form-wrap { display: none; }
.gate.subscribed .gate-success { display: block; }
.gate-success-h { font-family: 'Satoshi', system-ui, sans-serif; font-weight: 900; font-size: 26px; text-transform: uppercase; margin-bottom: 8px; color: var(--blue-glow); }
.gate-success p { font-size: 14.5px; color: rgba(255,255,255,0.75); margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
  .nav, .nav-chevron, .events-dropdown, .partner-dropdown, .res-card, .res-card-photo img,
  .event-card-photo img, .cta, .gate.open, .gate.open .gate-card { transition: none; animation: none; }
}
