/* ═══════════════════════════════════════════════════════════
   HOME-NEW.CSS — October 2026 home page redesign
   Source: Figma "PFM - Website Explorations", node 39927-178
   (MacBook Pro 16" - 5, 1728 wide, 1280 content column).
   Standalone stylesheet: /css/global.css is NOT loaded on this
   page (its generic class names — .hero, .btn-white, .stat… —
   collide with this design). Reset + mobile menu live here.
   Every value below is taken from the Figma node unless noted.
═══════════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
button, input { font: inherit; color: inherit; }

:root {
  --wrap: 1280px;
  --gutter: max(24px, calc((100% - var(--wrap)) / 2));
  --poppins: 'Poppins', sans-serif;
  --inter: 'Inter', sans-serif;
  --switzer: 'Switzer', 'Inter', sans-serif;
  --card: #202020;
  --line: rgba(255,255,255,0.1);
  --glass-8: rgba(255,255,255,0.08);
}

body.home-v2 { background: #000; color: #fff; font-family: var(--inter); overflow-x: hidden; }
.home-v2 img, .home-v2 video { display: block; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Content column: 1280px centred (224px gutters at 1728) */
.wrap { width: min(var(--wrap), 100% - 48px); margin-left: auto; margin-right: auto; }

/* ── Mobile menu overlay (hamburger < 1100px) ──────────── */
.mobile-menu-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center; gap: 40px;
}
.mobile-menu-overlay.open { display: flex; }
.mobile-menu-overlay a { font-family: var(--inter); font-size: 22px; font-weight: 600; color: #fff; transition: opacity 0.25s ease; }
.mobile-menu-overlay a:hover { opacity: 0.7; }
.mobile-close {
  position: absolute; top: 24px; right: 28px; background: none; border: 0;
  color: rgba(255,255,255,0.62); font-size: 32px; cursor: pointer; line-height: 1;
}

/* ── Type scale (Figma) ────────────────────────────────── */
.h2 { font-family: var(--poppins); font-weight: 500; font-size: 48px; line-height: 1.2; color: #fff; letter-spacing: 0; }
.h3 { font-family: var(--poppins); font-weight: 500; font-size: 26px; line-height: 1.2; color: #fff; }
.lead { font-family: var(--inter); font-weight: 300; font-size: 24px; line-height: 1.4; color: #fff; opacity: 0.8; }
.lead-18 { font-size: 18px; }
.eyebrow {
  font-family: var(--poppins); font-weight: 700; font-size: 18px; line-height: 1.2;
  letter-spacing: 0.36px; text-transform: uppercase; color: #fff; opacity: 0.4; text-align: center;
}
.sec-head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sec-head--center { align-items: center; text-align: center; }
.sec-head--center .lead { text-align: center; }

/* ── Buttons (Figma "Button (proposed)") ───────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 24px; border-radius: 9999px; border: 0; cursor: pointer;
  font-family: var(--switzer); font-weight: 600; font-size: 17px; line-height: 24px; white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-white { background: #fff; color: rgba(0,0,0,0.9); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(255,255,255,0.18); }
/* Nav "Exhibit with us" (Figma 39927:204, Button Style=Secondary 56px):
   fill = white 7%→4% vertical gradient at 10% paint opacity (near-transparent glass),
   stroke = 1px INSIDE linear gradient #1900FF → white 24% (50%) → #008CFF, angled toward
   the top-left (Figma gradientTransform converted to CSS for the 163×56 box),
   effect = background blur 10px. The gradient ring is drawn with a masked pseudo-element. */
.btn-ghost-blue {
  position: relative; color: #fff; border: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.007), rgba(255,255,255,0.004));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost-blue::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(323.5deg, #1900ff 13.3%, rgba(255,255,255,0.24) 45%, #008cff 76.8%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn-ghost-blue:hover { background: rgba(255,255,255,0.08); }
/* Glass ring shared by the secondary buttons, arrows, X buttons and the email input:
   Figma stroke = linear gradient white 10% → white 1% (50%) → white 16%, same transform as
   the nav button, so stop positions are constant and only the angle (--ring-angle) follows
   the box's aspect ratio: angle = 360° − atan(2.15 × height / width). */
.ring-glass { position: relative; border: 0; }
.ring-glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: var(--ring-w, 1px);
  background: linear-gradient(var(--ring-angle, 295deg), rgba(255,255,255,0.10) 13.3%, rgba(255,255,255,0.01) 45%, rgba(255,255,255,0.16) 76.8%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn-glass-sm {
  height: 40px; padding: 0 20px; font-size: 15px; line-height: 20px; color: #fff;
  --ring-angle: 326.9deg; /* 132 × 40 */
  background: linear-gradient(to top, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass-sm:hover { background: linear-gradient(to top, rgba(255,255,255,0.14), rgba(255,255,255,0.08)); }

.powered-badge { display: inline-block; line-height: 0; transition: opacity 0.25s ease; }
.powered-badge:hover { opacity: 0.85; }
.powered-badge img { width: 206.452px; height: 64px; }

/* ═══════════════════════════════════════════════════════════
   HERO — 39927:180 (1728 x 980, pt 32 / pb 80, video + overlay)
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative; height: 980px; overflow: hidden; background: #100e0f;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px 0 80px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(16,14,15,0.8); }

/* Nav row — 39927:182 (height 56) */
.nav { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-logo { display: block; line-height: 0; }
.nav-logo img { width: 209px; height: 44px; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-family: var(--inter); font-weight: 400; font-size: 16px; line-height: 1.4; color: #fff; white-space: nowrap; transition: opacity 0.25s ease; }
.nav-links a:hover { opacity: 0.7; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* Hero copy — 39927:205 */
.hero-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 48px; align-items: flex-start; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; width: 100%; }
.hero-text { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.hero-title { font-family: var(--poppins); font-weight: 700; font-size: 64px; line-height: 1.2; color: #fff; letter-spacing: 0; }
.hero-sub { font-family: var(--inter); font-weight: 300; font-size: 24px; line-height: 1.4; color: #fff; opacity: 0.8; }
.hero-cta { display: flex; align-items: center; }

/* ═══════════════════════════════════════════════════════════
   PAGE BODY — 39927:230 (gap 120) + 39927:249 (gap 160)
═══════════════════════════════════════════════════════════ */
.page-body { display: flex; flex-direction: column; gap: 120px; background: #000; }
.sections { display: flex; flex-direction: column; gap: 160px; }

/* Blue radial glow (Group 1437253921, 1719.685 x 780, svg bleeds -36.75% / -16.67%) */
.glow-blue { position: absolute; width: 1719.685px; height: 780px; pointer-events: none; z-index: 0; }
.glow-blue-img { position: absolute; inset: -36.75% -16.67%; }
.glow-blue-img img { width: 100%; height: 100%; }
.glow-blue--numbers { top: -431px; left: calc(50% + 4.41px); transform: translateX(-50%); }
.glow-blue--notify { top: 335px; left: calc(50% - 4.16px); transform: translateX(-50%); }

/* ── Numbers — 39927:231 (pt 120 / pb 80, gap 120) ──────── */
.numbers { position: relative; overflow: clip; padding: 120px 0 80px; }
.numbers-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 120px; align-items: center; }
.sec-head--center.numbers-head { gap: 24px; }
.numbers .sec-head { gap: 24px; }
.stats { display: flex; gap: 85px; width: 100%; text-align: center; }
.stat { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.stat-num { font-family: var(--poppins); font-weight: 700; font-size: 56px; line-height: 1.2; color: #fff; width: 100%; font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--inter); font-weight: 300; font-size: 24px; line-height: 1.4; color: #fff; opacity: 0.8; width: 100%; }

/* ── Testimonials — 39927:250 (gap 80) ──────────────────── */
.testimonials { display: flex; flex-direction: column; gap: 80px; background: #000; }
.testi-head { display: flex; align-items: center; justify-content: space-between; }
.testi-head .sec-head { gap: 8px; }
.arrows { display: flex; gap: 8px; align-items: flex-start; }
.arrow {
  width: 48px; height: 48px; border-radius: 9999px; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-8); --ring-w: 0.96px; --ring-angle: 295deg; /* 48 × 48 */
  transition: background 0.25s ease;
}
.arrow:hover { background: rgba(255,255,255,0.14); }
.arrow img { width: 21.6px; height: 21.6px; }
.arrow-prev img { transform: rotate(180deg); }

.testi-scroller {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-left: var(--gutter); padding-right: var(--gutter);
  scroll-padding-left: var(--gutter); scroll-padding-right: var(--gutter);
  scrollbar-width: none; -ms-overflow-style: none;
}
.testi-scroller::-webkit-scrollbar { display: none; }
.testi-track { display: flex; gap: 16px; width: max-content; align-items: center; }
.testi-card {
  flex: none; width: 790px; min-height: 302px; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 24px 24px 16px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
  opacity: 0.6; transition: opacity 0.4s ease;
}
.testi-card.is-active { opacity: 1; }
.testi-top { display: flex; flex-direction: column; gap: 32px; width: 100%; align-items: flex-start; }
.testi-logo { height: 32px; width: auto; mix-blend-mode: luminosity; object-fit: cover; }
.testi-logo--plain { mix-blend-mode: normal; }
.testi-quote { font-family: var(--inter); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.6; color: #fff; margin: 0; }
.testi-author { display: flex; gap: 16px; align-items: center; }
.testi-avatar { position: relative; width: 80px; height: 80px; border-radius: 12px; background: #fff; overflow: hidden; flex: none; }
.testi-avatar img { position: absolute; top: 0; left: 0; width: 80px; height: 80px; object-fit: cover; }
.testi-avatar .testi-avatar-zoom { width: 116px; height: 116px; top: -18px; left: -18px; opacity: 0.8; }
.testi-avatar .testi-avatar-jeremiah { width: 255px; height: 191px; top: -20px; left: -73px; }
.testi-who { display: flex; flex-direction: column; gap: 4px; width: 160px; }
.testi-name { font-family: var(--poppins); font-weight: 500; font-size: 18px; line-height: 1.2; color: #fff; }
.testi-role { font-family: var(--inter); font-weight: 400; font-size: 14px; line-height: 1.4; color: #fff; opacity: 0.8; white-space: nowrap; }

/* ── Partners — 39927:279 (gap 80) ──────────────────────── */
.partners { display: flex; flex-direction: column; gap: 80px; }
.partners-body { display: flex; flex-direction: column; gap: 80px; align-items: center; }
.partners-groups { display: flex; flex-direction: column; gap: 48px; width: 100%; }
.partners-main, .partners-other { display: flex; flex-direction: column; gap: 24px; align-items: center; width: 100%; }
.pc-grid { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.pc-row { display: flex; gap: 16px; width: 100%; align-items: stretch; }

/* Partner card — 308 x 258, pt 40 / pb 24 / px 16, gap 32 */
.pc {
  position: relative; flex: 1 0 0; min-width: 1px; height: 258px; overflow: hidden;
  display: flex; flex-direction: column; gap: 32px; align-items: center; justify-content: center;
  padding: 40px 16px 24px; border-radius: 16px;
  background: var(--glass-8); border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pc:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.pc-glow { position: absolute; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 0; }
.pc-g1 { width: 534.969px; height: 330.927px; left: calc(50% + 48px); top: 145.54px; transform: translateX(-50%); }
.pc-g2 { width: 542.63px; height: 358.782px; left: calc(50% - 72.69px); top: 104px; transform: translateX(-50%); }
.pc-rot { position: relative; flex: none; width: 498px; height: 238px; }
.pc-g1 .pc-rot { transform: rotate(-11.29deg); }
.pc-g2 .pc-rot { transform: rotate(15deg); }
.pc-img { position: absolute; inset: -50.42% -24.1%; }
.pc-img img { width: 100%; height: 100%; }
.pc-logo { position: relative; z-index: 1; width: 80px; height: 80px; flex: none; }
.pc-logo > img { width: 80px; height: 80px; }
.pc-logo--fundingpips { border-radius: 8px; box-shadow: 0 4px 120px 0 #000; }
.pc-logo--fundingpips img { border-radius: 8px; object-fit: cover; }
.pc-logo--tradeify { border-radius: 16px; overflow: hidden; filter: drop-shadow(0 4px 60px #000); }
.pc-logo--tradeify .tradeify-bg { position: absolute; top: 0; left: 0; right: 0.29%; bottom: 0.29%; width: 99.71%; height: 99.71%; }
.pc-logo--tradeify .tradeify-mark { position: absolute; left: 14.2%; top: 16.43%; width: 56.9933px; height: 52.7223px; }
.pc-logo--bem { border-radius: 16px; overflow: hidden; }
.pc-logo--bem::after { content: ''; position: absolute; inset: 0; border-radius: 16px; border: 1.25px solid rgba(255,255,255,0.2); pointer-events: none; }
.pc-logo--bem img { border-radius: 16px; object-fit: cover; }
.pc-meta { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.pc-name { font-family: var(--inter); font-weight: 500; font-size: 20px; line-height: 1.2; color: #fff; white-space: nowrap; }

/* Other partners marquee — 39927:385 (gap 88, 48px icons) */
.marquee { width: 100vw; max-width: 100vw; overflow: hidden; margin-left: calc(50% - 50vw); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-set { display: flex; gap: 88px; align-items: center; padding-right: 88px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.op { display: flex; gap: 8px; align-items: center; border-radius: 16px; flex: none; transition: opacity 0.25s ease; }
.op:hover .op-name { opacity: 1; }
.op-icon { position: relative; width: 48px; height: 48px; flex: none; display: block; }
.op-icon img { width: 48px; height: 48px; }
.op-icon--box { border-radius: 16px; border: 1px solid rgba(255,255,255,0.2); overflow: hidden; background: #000; }
.op-icon--box img { position: absolute; }
.op-icon--wsf img { width: 33.6021px; height: 12.4066px; left: 15%; top: 37.08%; }
.op-icon--orion { background: #08090E; }
.op-icon--orion img { width: 34.56px; height: 34.56px; left: 14%; top: 14%; }
.op-icon--hola img { width: 42.24px; height: 42.24px; left: 6.5%; top: 8%; }
.op-icon--worthy { overflow: visible; background: transparent; }
.op-icon--worthy img { width: 48px; height: 48px; left: 0; top: 0; border-radius: 16px; object-fit: cover; }
.op-name { font-family: var(--inter); font-weight: 400; font-size: 16px; line-height: 1.2; color: #fff; opacity: 0.8; white-space: nowrap; }

/* Exhibit CTA banner — 39927:444 (1280 wide, p 32, radius 32) */
.cta-banner {
  width: 100%; display: flex; gap: 28px; align-items: center; padding: 32px; border-radius: 32px;
  background: rgba(255,255,255,0.1); border: 1px solid var(--line);
}
.cta-text { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 16px; }
.cta-banner .btn { flex: none; }

/* ── Speakers — 39927:449 (gap 80) ──────────────────────── */
.speakers { display: flex; flex-direction: column; gap: 80px; background: #000; }
.speakers-grid { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.sp-row { display: flex; gap: 16px; width: 100%; }
.sp {
  flex: 1 0 0; min-width: 1px; display: flex; gap: 32px; align-items: flex-start;
  padding: 24px 16px 24px 24px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.25));
}
.sp-body { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 32px; }
.sp-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.sp-who { display: flex; flex-direction: column; gap: 4px; }
.sp-name { font-family: var(--poppins); font-weight: 500; font-size: 18px; line-height: 1.2; color: #fff; }
.sp-role { font-family: var(--inter); font-weight: 700; font-size: 12px; line-height: 1.4; text-transform: uppercase; color: #fff; opacity: 0.4; white-space: nowrap; }
.sp-x {
  width: 40px; height: 40px; border-radius: 9999px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-8); --ring-w: 0.8px; --ring-angle: 295deg; /* 40 × 40 */ transition: background 0.25s ease;
}
.sp-x:hover { background: rgba(255,255,255,0.14); }
.sp-x img { width: 19.2px; height: 19.2px; }
.sp-bio { font-family: var(--inter); font-weight: 300; font-size: 14px; line-height: 1.4; color: #fff; opacity: 0.8; margin: 0; }
.sp-photo { width: 155px; height: 155px; border-radius: 24.8px; object-fit: cover; flex: none; }
.sp-photo--zamco { object-position: 50% 24%; }

/* Fade + "View all speakers" — 39927:523 (bottom 0, h 199; gradient h 404 from -202) */
.sp-fade { position: absolute; left: 50%; bottom: 0; width: 100%; max-width: 1280px; height: 199px; transform: translateX(-50%); pointer-events: none; z-index: 2; }
.sp-fade-grad {
  position: absolute; left: 0; top: -202px; width: 100%; height: 404px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  /* Figma background-blur is masked by the layer's alpha; CSS isn't, so mask it */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%); mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%);
}
.sp-all { position: absolute; bottom: 0; left: 529px; z-index: 3; }

/* ── Who is Prop Firm Match — 39927:526 (pt 120 / pb 200) ── */
.pfm { position: relative; padding: 120px 0 200px; overflow-x: clip; }
.pfm-glow {
  position: absolute; left: calc(50% - 12px); top: calc(50% + 91.11px);
  width: 2404px; height: 567.779px; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 0;
}
.pfm-rot { position: relative; flex: none; width: 567.779px; height: 2404px; transform: rotate(-90deg); }
.pfm-img { position: absolute; inset: -3.79% -16.06%; }
.pfm-img img { width: 100%; height: 100%; }
.pfm-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 80px; align-items: center; }
.pfm-head { display: flex; flex-direction: column; gap: 40px; align-items: center; width: 100%; }
.pfm-text { display: flex; flex-direction: column; gap: 40px; align-items: center; text-align: center; width: 100%; }
.pfm-desc { width: 1012px; max-width: 100%; text-align: center; }

/* ── Where we're heading next — 39927:557 (gap 80) ──────── */
.next { display: flex; flex-direction: column; gap: 80px; }
.next-head { display: flex; gap: 16px; align-items: center; width: 100%; }
.next-head .h2, .next-head .lead { flex: 1 0 0; min-width: 1px; }
.next-cards { display: flex; gap: 16px; }
.city { position: relative; flex: 1 0 0; min-width: 1px; height: 340px; border-radius: 8px; overflow: hidden; background: #fff; }
.city-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city-img--london { object-position: 50% 15%; }
.city-img--miami { object-position: 29.5% 50%; }
.city-overlay {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.9) 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 50%, #000 100%); mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 50%, #000 100%);
}
.city-text { position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 4px; }
.city-name { font-family: var(--poppins); font-weight: 600; font-size: 28px; line-height: 1.2; color: #fff; }
.city-sub { font-family: var(--inter); font-weight: 400; font-size: 14px; line-height: 1.4; color: #fff; opacity: 0.8; white-space: nowrap; }

/* ── Be first to hear — 39927:574 (pb 120, gap 80) ─────── */
.notify { position: relative; overflow: clip; padding: 0 0 120px; }
.notify-inner { position: relative; z-index: 1; display: flex; gap: 80px; align-items: center; }
.notify-copy { display: flex; flex-direction: column; gap: 120px; width: 733px; max-width: 100%; flex: none; }
.notify-copy .sec-head { gap: 16px; }
.notify-form { display: flex; gap: 8px; align-items: flex-start; }
.notify-field { display: block; width: 435px; max-width: 100%; border-radius: 9999px; --ring-angle: 344.5deg; /* 435 × 56 */ }
.notify-input {
  width: 100%; height: 56px; padding: 0 24px; border-radius: 9999px;
  background: var(--glass-8); border: 0; color: #fff; outline: none;
  font-family: var(--switzer); font-weight: 400; font-size: 19px; line-height: 1.5;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.notify-input::placeholder { color: rgba(255,255,255,0.6); }
.notify-input:focus { background: rgba(255,255,255,0.12); box-shadow: 0 0 0 2px rgba(212,212,216,0.35); }
.notify-btn { padding: 0 28px; }
.notify-btn:disabled { opacity: 0.7; cursor: default; }
.notify-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify-msg { margin: -96px 0 0; min-height: 0; font-family: var(--inter); font-weight: 300; font-size: 16px; line-height: 1.4; color: #fff; opacity: 0.8; }
.notify-msg:empty { display: none; }
/* 486px box (Figma). The loop render sits smaller in its frame than the Figma still, so it is scaled up 128% to match the logo's footprint. */
.pfe-loop { width: 486px; height: 486px; flex: none; display: flex; align-items: center; justify-content: center; overflow: visible; }
.pfe-loop video, .pfe-loop img { width: 128%; height: 128%; flex: none; max-width: none; object-fit: contain; }

/* ── Footer — 39927:586 (py 40, gap 40) ─────────────────── */
.foot { background: #000; padding: 40px 0; }
.foot-inner { display: flex; flex-direction: column; gap: 40px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.foot-logo { display: block; line-height: 0; }
.foot-logo img { width: 293px; height: 44px; }
.foot-links { display: flex; gap: 40px; align-items: center; }
.foot-links a { font-family: var(--inter); font-weight: 400; font-size: 16px; line-height: 1.4; color: #fff; white-space: nowrap; transition: opacity 0.25s ease; }
.foot-links a:hover { opacity: 0.7; }
.foot-rule { height: 1px; width: 100%; background: #fff; opacity: 0.2; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.foot-copy, .foot-legal a { font-family: var(--inter); font-weight: 300; font-size: 14px; line-height: 1.4; color: #fff; opacity: 0.6; margin: 0; }
.foot-legal { display: flex; gap: 32px; }
.foot-legal a:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE (not in Figma — desktop frame only)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1340px) {
  .wrap { width: min(var(--wrap), 100% - 80px); }
  .testi-card { width: min(790px, 100vw - 80px); }
}
/* ── London 2026 gallery (Figma 40268:271): React Bits Circular Gallery ── */
.gallery { position: relative; width: 100%; height: 680px; }
.gallery-stage { position: relative; width: 100%; height: 100%; }
.circular-gallery { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.circular-gallery[data-pointer] { cursor: pointer; }
.circular-gallery[data-dragging] { cursor: grabbing; }
.circular-gallery-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.circular-gallery-labels { position: absolute; inset: 0; pointer-events: none; }
.circular-gallery-label { position: absolute; top: 0; left: 0; line-height: 1.2; white-space: nowrap; will-change: transform, opacity; }
.circular-gallery-caption { position: absolute; top: 0; left: 50%; width: min(90%, 36rem); text-align: center; opacity: 0; pointer-events: none; }
.circular-gallery-caption-text { margin: 0; line-height: 1.5; opacity: 0.65; }
.circular-gallery-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.circular-gallery-close[data-visible] { opacity: 0.8; pointer-events: auto; }
.circular-gallery-close:hover { opacity: 1; }
.circular-gallery-close:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.circular-gallery-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Fallback strip: shown only when WebGL2 is unavailable */
.gallery-fallback { display: none; list-style: none; margin: 0; padding: 40px var(--gutter); gap: 16px; overflow-x: auto; height: 100%; box-sizing: border-box; align-items: center; scrollbar-width: none; }
.gallery-fallback::-webkit-scrollbar { display: none; }
.gallery-fallback li { flex: none; }
.gallery-fallback img { display: block; width: auto; height: min(512px, 100%); border-radius: 24px; box-shadow: 0 18px 44px rgba(0,0,0,0.45); }
.circular-gallery--fallback .gallery-fallback { display: flex; }
.circular-gallery--fallback .circular-gallery-canvas, .circular-gallery--fallback .circular-gallery-close { display: none; }

@media (max-width: 1100px) {
  .nav-links, .btn-ghost-blue { display: none; }
  .nav-hamburger { display: flex; }
  .pc-row { flex-wrap: wrap; }
  .pc { flex: 1 0 calc(50% - 8px); }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .sp-row { flex-direction: column; }
  .sp-all { left: 50%; transform: translateX(-50%); }
  .next-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .next-cards { flex-direction: column; }
  .gallery { height: 540px; }
  .city { flex: none; width: 100%; } /* flex-basis 0 would collapse the stacked cards to 0px tall */
  .notify-inner { flex-direction: column; align-items: flex-start; gap: 48px; }
  .notify-copy { gap: 64px; width: 100%; }
  .pfe-loop { width: min(486px, 100%); height: auto; aspect-ratio: 1 / 1; margin: 0 auto; }
  .br-d { display: none; }
  .pfm-desc { width: 100%; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--wrap), 100% - 40px); }
  .hero { height: auto; min-height: min(100svh, 820px); padding: 24px 0 56px; }
  .hero-body { gap: 32px; margin-top: 160px; }
  .hero-title { font-size: 40px; }
  .hero-sub, .lead { font-size: 18px; }
  .h2 { font-size: 34px; }
  .page-body { gap: 80px; }
  .sections { gap: 96px; }
  .numbers { padding: 80px 0 40px; }
  .numbers-inner { gap: 56px; }
  .stats { flex-wrap: wrap; gap: 32px 16px; }
  .stat { flex: 1 0 calc(50% - 8px); }
  .stat-num { font-size: 40px; }
  .stat-label { font-size: 18px; }
  .testimonials, .partners, .speakers { gap: 40px; }
  .testi-scroller { padding-left: 20px; padding-right: 20px; }
  .testi-card { width: calc(100vw - 40px); min-height: 0; padding: 20px 20px 16px; }
  .testi-quote { font-size: 19px; }
  .pc { flex: 1 0 100%; }
  .cta-banner { padding: 24px; border-radius: 24px; }
  .h3 { font-size: 22px; }
  .sp { flex-direction: column-reverse; padding: 20px; gap: 20px; }
  .sp-photo { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 240px; }
  .sp-role { white-space: normal; }
  .pfm { padding: 80px 0 120px; }
  .pfm-inner, .pfm-head, .pfm-text { gap: 32px; }
  .next-head { gap: 16px; }
  .city { height: 260px; }
  .gallery { height: 440px; }
  .notify-copy { gap: 40px; }
  .notify-form { flex-direction: column; width: 100%; }
  .notify-field, .notify-input { width: 100%; }
  .notify-btn { width: 100%; }
  .notify-msg { margin-top: -24px; }
  .foot-top { flex-direction: column; align-items: flex-start; height: auto; gap: 24px; }
  .foot-logo img { width: 220px; height: auto; }
  .foot-links { flex-wrap: wrap; gap: 16px 24px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; height: auto; gap: 12px; }
}

/* Note: the hero video and partner marquee intentionally keep running under
   prefers-reduced-motion (client request: marquee must move infinitely). */
@media (prefers-reduced-motion: reduce) {
  .testi-scroller { scroll-behavior: auto; }
}
