/* ============================================================
   Catalyst Corp — Shared Design System
   Pharma & clinical-trials event organiser · UK & US
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --plum: #86286F;
  --plum-ink: #4E1A44;
  --plum-deep: #260C21;
  --magenta: #C0328F;
  --violet: #6D3AA8;
  --gold: #C77D14;

  /* Light theme surfaces */
  --bg: #FCFBFD;
  --bg-alt: #F7F0F6;
  --surface: #FFFFFF;
  --surface-2: #FBF7FA;
  --ink: #211324;
  --text: #3E2F3C;
  --muted: #7A6B77;
  --line: #ECE4EC;
  --line-soft: #F4EDF3;

  /* Format + region accents */
  --fmt-inperson: #86286F;
  --fmt-virtual: #6D3AA8;
  --fmt-hybrid: #C77D14;
  --uk: #2A5BD7;
  --us: #C0492E;
  --coral: #C0562F;
  --coral-soft: #F7E7DE;
  --green-soft: #F6E7F1;
  --gold-soft: #FBE6F1;
  --violet-soft: #EEE7F7;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(38,12,33,0.06);
  --sh: 0 6px 18px rgba(38,12,33,0.08), 0 20px 44px -20px rgba(38,12,33,0.18);
  --sh-lg: 0 34px 80px -30px rgba(38,12,33,0.32);

  /* Layout */
  --maxw: 1240px;
  --r: 16px;
  --r-lg: 22px;

  /* Type */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 76px;
}

:root[data-theme="dark"] {
  --bg: #140A12;
  --bg-alt: #1C0F19;
  --surface: #23131F;
  --surface-2: #2A1826;
  --ink: #F6EAF1;
  --text: #E2D3DD;
  --muted: #AB92A4;
  --line: rgba(255,255,255,0.10);
  --line-soft: rgba(255,255,255,0.06);

  --plum: #D67CC0;
  --plum-ink: #E39AD1;
  --magenta: #E88FC8;
  --violet: #B79AE0;
  --gold: #E3A54D;

  --coral: #E0805C;
  --coral-soft: rgba(224,128,92,0.14);
  --green-soft: rgba(214,124,192,0.16);
  --gold-soft: rgba(232,143,200,0.14);
  --violet-soft: rgba(183,154,224,0.14);

  --sh-sm: 0 1px 2px rgba(0,0,0,0.4);
  --sh: 0 6px 18px rgba(0,0,0,0.45), 0 20px 44px -20px rgba(0,0,0,0.6);
  --sh-lg: 0 34px 80px -30px rgba(0,0,0,0.7);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

/* Lenis smooth-scroll integration (prevents native/Lenis smoothing conflict/jerk) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0; font-family: var(--sans); background: var(--bg); color: var(--text);
  line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: 820px; }

/* Skip link (a11y) */
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--plum); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; font-weight: 600; }
.skip:focus { left: 0; }

.eyebrow {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: var(--plum); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: #E9A7D4; }
.eyebrow.light::before { background: rgba(255,255,255,0.6); }

.lede { font-family: var(--sans); font-size: clamp(16px, 1.9vw, 19px); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 11px; font-family: var(--sans); font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { flex: none; }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 12px 26px -12px rgba(134,40,111,0.6); }
.btn-primary:hover { transform: translateY(-2px); background: var(--plum-ink); box-shadow: 0 18px 34px -12px rgba(134,40,111,0.6); }
:root[data-theme="dark"] .btn-primary { color: #1A0A16; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(192,86,47,0.5); }
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(192,86,47,0.55); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--plum-ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.btn-outline-l { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-l:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Reveal on scroll ----------
   Visible by default (no-JS / no-GSAP fallback). Hidden only once the
   pre-paint `anim-init` flag is set, so GSAP can animate them in. */
.reveal { }
html.anim-init .reveal { opacity: 0; transform: translateY(30px); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   NAV
   ============================================================ */
header.nav {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
}
header.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); flex: none; }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(140deg, var(--plum), var(--magenta)); display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px -6px rgba(134,40,111,0.55); }
.brand b { color: var(--gold); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a, .nav-item > button {
  font-family: var(--sans); font-size: 14.5px; color: var(--text); font-weight: 500;
  padding: 9px 13px; border-radius: 9px; background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: color .2s, background .2s;
}
.nav-links > a:hover, .nav-item > button:hover { color: var(--plum); background: var(--bg-alt); }
.nav-links > a.active { color: var(--plum); font-weight: 650; }
.nav-links > a.active::after { content: ""; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > button svg { transition: transform .2s; }
.nav-item:hover > button svg, .nav-item:focus-within > button svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 236px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 11px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; transition: background .18s; }
.dropdown a:hover { background: var(--bg-alt); }
.dropdown a .di { color: var(--plum); flex: none; margin-top: 2px; }
.dropdown a b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.dropdown a span { font-size: 12.5px; color: var(--muted); }

.nav-right { display: flex; align-items: center; gap: 10px; flex: none; }
.theme-btn {
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: grid; place-items: center;
  transition: color .2s, border-color .2s, transform .2s;
}
.theme-btn:hover { color: var(--plum); border-color: var(--plum); }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }

/* Hamburger */
.hamb { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 0; position: relative; }
.hamb span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.hamb span:nth-child(1) { top: 14px; }
.hamb span:nth-child(2) { top: 20px; }
.hamb span:nth-child(3) { top: 26px; }
body.menu-open .hamb span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .hamb span:nth-child(2) { opacity: 0; }
body.menu-open .hamb span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(20,10,18,0.5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 95; }
body.menu-open .drawer-scrim { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; width: min(340px, 86vw); height: 100%; z-index: 96;
  background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--sh-lg);
  transform: translateX(100%); transition: transform .34s var(--ease);
  display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
body.menu-open .drawer { transform: none; }
.drawer .dhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer .dclose { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1; }
.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav a { padding: 13px 12px; border-radius: 10px; font-size: 16px; font-weight: 550; color: var(--text); display: flex; align-items: center; gap: 10px; }
.drawer nav a:hover, .drawer nav a.active { background: var(--bg-alt); color: var(--plum); }
.drawer nav .sub { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 16px 12px 6px; }
.drawer .dcta { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-right .desk-cta { display: none; }
  .hamb { display: block; }
}

/* ============================================================
   SECTIONS / shared blocks
   ============================================================ */
.sec { padding: 96px 0; position: relative; }
.sec.tight { padding: 64px 0; }
.sec.alt { background: var(--bg-alt); }
.sec-head { max-width: 660px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -0.03em; }
.sec-head p { font-family: var(--sans); color: var(--muted); font-size: 17px; margin-top: 16px; }

/* Page hero (interior pages) */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 64px; background: linear-gradient(150deg, #72215b 0%, #F9EDF5 42%, var(--bg) 100%); }
:root[data-theme="dark"] .page-hero { background: linear-gradient(150deg, #341830 0%, #1F1019 48%, var(--bg) 100%); }
.page-hero::before { content: ""; position: absolute; top: -240px; right: -180px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(134,40,111,0.10), transparent 68%); pointer-events: none; }
.page-hero .inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -0.03em; }
.page-hero p { font-family: var(--sans); font-size: clamp(16px, 1.9vw, 19px); color: var(--muted); margin-top: 18px; max-width: 58ch; }
.breadcrumb { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--plum); }
.breadcrumb .sep { opacity: 0.5; }

/* Pill / badge */
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-family: var(--sans); font-size: 13px; color: var(--muted); box-shadow: var(--sh-sm); }
.pill .live { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(192,86,47,0.45);} 70%{box-shadow:0 0 0 8px rgba(192,86,47,0);} 100%{box-shadow:0 0 0 0 rgba(192,86,47,0);} }

/* ---------- Cards grid helpers ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 940px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* Feature / service card */
.fcard { background: linear-gradient(158deg, rgba(199,125,20,0.10) 0%, rgba(199,125,20,0.03) 46%, rgba(199,125,20,0) 76%), var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .25s; display: flex; flex-direction: column; }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: color-mix(in srgb, var(--plum) 26%, var(--line)); }
.fcard .ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: var(--green-soft); color: var(--plum); flex: none; }
.fcard h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }
.fcard p { font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin: 0; }
.fcard .flink { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--plum); margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; }
.fcard .flink svg { transition: transform .2s; }
.fcard:hover .flink svg { transform: translateX(4px); }

/* Stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.stat-band .sb { text-align: center; padding: 40px 20px; border-right: 1px solid var(--line-soft); }
.stat-band .sb:last-child { border-right: none; }
.stat-band .n { font-family: var(--serif); font-size: clamp(34px, 5vw, 48px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.stat-band .n span { color: var(--plum); }
.stat-band .l { font-family: var(--sans); color: var(--muted); font-size: 13.5px; margin-top: 6px; }
@media (max-width: 720px) { .stat-band { grid-template-columns: 1fr 1fr; } .stat-band .sb:nth-child(2){border-right:none;} .stat-band .sb:nth-child(1),.stat-band .sb:nth-child(2){border-bottom:1px solid var(--line-soft);} }

/* Logos row */
.logos { text-align: center; }
.logos .ll { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logos .lrow { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; align-items: center; }
.logos .lrow span { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--muted); opacity: 0.62; letter-spacing: -0.01em; white-space: nowrap; }
/* GSAP horizontal marquee variant */
.logos .lrow.is-marquee { flex-wrap: nowrap; justify-content: flex-start; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; gap: 56px; width: max-content; flex: none; padding-right: 56px; align-items: center; }

/* ---------- About (who we are) split ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-imgs { position: relative; height: 500px; }
.about-imgs .im { position: absolute; border-radius: 18px; background-size: cover; background-position: center; box-shadow: var(--sh); }
.about-imgs .im1 { width: 62%; height: 78%; left: 0; top: 0; background-image: linear-gradient(rgba(38,12,33,0.12),rgba(38,12,33,0.12)), url('https://images.unsplash.com/photo-1587825140708-dfaf72ae4b04?auto=format&fit=crop&w=800&q=72'); }
.about-imgs .im2 { width: 56%; height: 56%; right: 0; bottom: 0; border: 6px solid var(--bg); background-image: linear-gradient(rgba(134,40,111,0.28),rgba(78,26,68,0.28)), url('https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=800&q=72'); }
.about-copy h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; }
.about-copy p { color: var(--muted); font-family: var(--sans); font-size: 16px; margin: 20px 0; }
.about-stats { display: flex; gap: 40px; margin-top: 26px; flex-wrap: wrap; }
.about-stats .n { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--plum); letter-spacing: -0.02em; }
.about-stats .l { font-family: var(--sans); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } .about-imgs { height: 400px; } }

/* ---------- Service row (bordered, rotating arrow) ---------- */
.svc-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc { padding: 52px 34px 44px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.svc:not(:first-child) { padding-left: 34px; }
.svc:last-child { border-right: none; }
.svc .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc h3 { font-size: 25px; letter-spacing: -0.02em; max-width: 12ch; }
.svc .arr { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--plum); flex: none; transition: transform .25s var(--ease), background .2s, color .2s; }
.svc:hover .arr { background: var(--plum); color: #fff; transform: rotate(45deg); }
:root[data-theme="dark"] .svc:hover .arr { color: #1A0A16; }
.svc p { color: var(--muted); font-family: var(--sans); font-size: 14.5px; margin: 0; }
@media (max-width: 820px) { .svc-row { grid-template-columns: 1fr; } .svc { border-right: none; border-bottom: 1px solid var(--line); padding: 36px 0; } .svc:not(:first-child) { padding-left: 0; } .svc:last-child { border-bottom: none; } }

/* ---------- Event cards (shared events + home + past) ---------- */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .events-grid { grid-template-columns: 1fr; } }
.ev { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .25s; }
.ev:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: color-mix(in srgb, var(--plum) 26%, var(--line)); }
.ev .top { height: 8px; }
.ev .pad { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.ev .row1 { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.ev .dblock { flex: none; text-align: center; width: 50px; }
.ev .dblock .d { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1; }
.ev .dblock .m { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--plum); font-weight: 700; margin-top: 3px; }
.ev .fmt { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: #fff; margin-left: auto; }
.ev .cat { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.ev h3 { font-size: 18.5px; letter-spacing: -0.015em; line-height: 1.24; margin-bottom: 12px; }
.ev .loc { font-family: var(--sans); display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.ev .loc svg { flex: none; }
.ev .rflag { font-family: var(--sans); font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 5px; color: #fff; letter-spacing: 0.03em; margin-left: auto; }
.ev .scar { font-family: var(--sans); font-size: 11.5px; font-weight: 600; color: var(--coral); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 6px; }
.ev .scar::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.ev .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.ev .price { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.ev .price b { font-family: var(--serif); color: var(--ink); font-size: 17px; font-weight: 600; }

.empty { grid-column: 1 / -1; text-align: center; padding: 64px 20px; }
.empty svg { color: var(--muted); opacity: 0.45; margin-bottom: 16px; }
.empty h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.empty p { font-family: var(--sans); color: var(--muted); margin: 0 0 20px; }

/* ---------- Filters toolbar ---------- */
.events-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters .fglabel { font-family: var(--sans); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 4px 0 10px; }
.filters .fglabel:first-child { margin-left: 0; }
.chip { font-family: var(--sans); padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .18s var(--ease); }
.chip:hover { border-color: var(--plum); color: var(--plum); }
.chip.active { background: var(--plum); color: #fff; border-color: var(--plum); }
:root[data-theme="dark"] .chip.active { color: #1A0A16; }
.searchmini { display: flex; align-items: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); min-width: 230px; }
.searchmini svg { color: var(--muted); flex: none; }
.searchmini input { border: none; background: transparent; font-family: var(--sans); font-size: 14px; color: var(--text); flex: 1; }
.searchmini input:focus { outline: none; }
.count { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.count b { color: var(--plum); }
.month-label { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 12px 0 2px; }
.month-label:first-child { margin-top: 0; }
.month-label h3 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.month-label .rule { flex: 1; height: 1px; background: var(--line); }
.month-label .mc { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }

/* ---------- Topic tiles ---------- */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.topic { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; align-items: center; gap: 16px;
  transition: transform .22s var(--ease), box-shadow .25s var(--ease), border-color .22s; font-family: var(--sans); }
.topic:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: color-mix(in srgb, var(--plum) 30%, var(--line)); }
.topic .tic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.topic h4 { font-family: var(--sans); font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.topic .tc { font-size: 13px; color: var(--muted); margin-top: 2px; }
.topic .arr { margin-left: auto; color: var(--muted); transition: transform .2s, color .2s; }
.topic:hover .arr { transform: translateX(3px); color: var(--plum); }
@media (max-width: 860px) { .topics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }

/* ---------- Ambient gradient bubbles ---------- */
.fx-host { position: relative; overflow: hidden; }
.fx-host > .wrap { position: relative; z-index: 1; }
.fx-bubbles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fx-bubbles .b { position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.28; animation: bubbleFloat 18s ease-in-out infinite; will-change: transform, opacity; }
.fx-bubbles .b1 { width: 340px; height: 340px; left: 4%; top: 8%; background: radial-gradient(circle, rgba(192,50,143,0.55), transparent 70%); animation-duration: 17s; }
.fx-bubbles .b2 { width: 260px; height: 260px; right: 8%; top: 4%; background: radial-gradient(circle, rgba(109,58,168,0.5), transparent 70%); animation-duration: 21s; animation-delay: -5s; }
.fx-bubbles .b3 { width: 400px; height: 400px; left: 32%; bottom: -14%; background: radial-gradient(circle, rgba(199,125,20,0.4), transparent 70%); animation-duration: 24s; animation-delay: -9s; }
.fx-bubbles .b4 { width: 220px; height: 220px; right: 26%; bottom: 2%; background: radial-gradient(circle, rgba(134,40,111,0.5), transparent 70%); animation-duration: 19s; animation-delay: -3s; }
.fx-bubbles .b5 { width: 180px; height: 180px; left: 12%; bottom: 12%; background: radial-gradient(circle, rgba(214,64,159,0.45), transparent 70%); animation-duration: 15s; animation-delay: -7s; }
@keyframes bubbleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.22; }
  25% { transform: translate(34px, -28px) scale(1.1); opacity: 0.5; }
  50% { transform: translate(-22px, 18px) scale(0.92); opacity: 0.32; }
  75% { transform: translate(20px, 30px) scale(1.06); opacity: 0.48; }
}
@media (prefers-reduced-motion: reduce) { .fx-bubbles .b { animation: none; opacity: 0.3; } }

/* ---------- Speakers ---------- */
.spk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.spk { text-align: center; }
.spk .ph { aspect-ratio: 1; border-radius: 18px; position: relative; overflow: hidden; margin-bottom: 16px; box-shadow: var(--sh-sm); }
.spk .ph .ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 42px; font-weight: 600; color: rgba(255,255,255,0.94); }
.spk h4 { font-size: 18px; letter-spacing: -0.01em; }
.spk .role { font-family: var(--sans); color: var(--plum); font-size: 13px; font-weight: 600; margin-top: 4px; }
.spk .org { font-family: var(--sans); color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .spk-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Testimonial ---------- */
.quote-wrap { max-width: 900px; margin: 0 auto; text-align: center; }
.quote-wrap .stars { color: var(--gold); font-size: 17px; letter-spacing: 3px; margin-bottom: 22px; }
.quote-wrap blockquote { font-family: var(--serif); font-size: clamp(22px, 3.2vw, 32px); line-height: 1.34; font-weight: 500; margin: 0 0 26px; letter-spacing: -0.015em; color: var(--ink); }
.quote-wrap blockquote b { color: var(--plum); font-weight: 600; font-style: italic; }
.qauthor { display: flex; align-items: center; justify-content: center; gap: 13px; }
.qauthor .av { width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--sans); font-weight: 700; color: #fff; }
.qauthor .n { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--ink); }
.qauthor .r { font-family: var(--sans); color: var(--muted); font-size: 13px; }

/* ---------- CTA box ---------- */
.cta-box { position: relative; overflow: hidden; border-radius: 26px; padding: 62px 48px; text-align: center; background: linear-gradient(135deg, #86286F, #4E1A44); box-shadow: var(--sh-lg); }
.cta-box::before { content: ""; position: absolute; top: -40%; right: -8%; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(214,64,159,0.28), transparent 68%); }
.cta-box .eyebrow { color: #E9A7D4; justify-content: center; }
.cta-box .eyebrow::before { background: rgba(255,255,255,0.6); }
.cta-box h2 { color: #FBFDF9; font-size: clamp(28px, 4.2vw, 44px); position: relative; letter-spacing: -0.025em; }
.cta-box p { font-family: var(--sans); color: rgba(255,255,255,0.85); font-size: 18px; margin: 16px auto 30px; max-width: 54ch; position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Image band + parallax reveal ----------
   The band sticks while the next (opaque) section scrolls up over it. */
.video { height: 460px; position: relative;
  background: linear-gradient(rgba(38,12,33,0.42),rgba(38,12,33,0.42)), url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1700&q=72') center/cover; }
.parallax-pair { position: relative; }
.parallax-pair > .video { position: sticky; top: 0; z-index: 0; }
.parallax-pair > .calendar { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .parallax-pair > .video { position: relative; } }

/* ---------- Calendar (dark plum agenda) ---------- */
.calendar { background: var(--plum-deep); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
:root[data-theme="dark"] .calendar { background: #0E0710; }
.calendar::after { content: ""; position: absolute; right: -120px; top: 40px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(192,50,143,0.28), transparent 68%); pointer-events: none; }
.cal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; position: relative; z-index: 2; margin-bottom: 30px; }
.cal-head .eyebrow { color: #E9A7D4; }
.cal-head h2 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -0.03em; }
.cal-head .more { color: #fff; font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 9px; align-items: center; white-space: nowrap; font-family: var(--sans); }
.cal-head .more:hover { color: var(--magenta); }
.daytabs { display: flex; gap: 30px; border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 16px; margin-bottom: 8px; position: relative; z-index: 2; flex-wrap: wrap; }
.daytab { background: none; border: none; color: rgba(255,255,255,0.55); font-family: var(--sans); font-size: 15px; font-weight: 700; cursor: pointer; padding: 0; position: relative; }
.daytab[aria-selected="true"] { color: #fff; }
.daytab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: -17px; height: 2px; width: 100%; background: var(--magenta); }
.daypanel { display: none; position: relative; z-index: 2; }
.daypanel.active { display: block; }
.slot { position: relative; overflow: hidden; display: grid; grid-template-columns: 130px 1fr 190px 180px 44px; gap: 20px; align-items: center; padding: 22px 18px; margin: 0 -18px; border-radius: 12px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.slot::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: 12px;
  background: linear-gradient(90deg, rgba(214,64,159,0.26) 0%, rgba(134,40,111,0.12) 42%, rgba(134,40,111,0.02) 72%, transparent 100%);
  transform: scaleX(0); transform-origin: left center; transition: transform .55s var(--ease); }
.slot:hover::before, .slot:focus-visible::before { transform: scaleX(1); }
.slot > * { position: relative; z-index: 1; }
.slot .time { font-family: var(--sans); font-weight: 700; font-variant-numeric: tabular-nums; }
.slot .time span { display: block; font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; }
.slot .ti { font-family: var(--serif); font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.slot .sp b, .slot .lo b { display: block; color: #fff; font-weight: 600; font-size: 14.5px; font-family: var(--sans); }
.slot .sp span, .slot .lo span { font-size: 12.5px; color: rgba(255,255,255,0.5); font-family: var(--sans); }
.slot .go { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: all .2s; }
.slot:hover .go { background: var(--magenta); border-color: var(--magenta); }
@media (max-width: 860px) { .slot { grid-template-columns: 1fr; gap: 6px; } .slot .go { display: none; } .slot .time span { display: inline; margin-left: 8px; } }

/* ---------- Marquee ---------- */
.marquee { padding: 8px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: scroll 34s linear infinite; align-items: center; }
.marquee-track span { font-family: var(--serif); font-size: clamp(30px, 5vw, 60px); font-weight: 600; color: transparent; -webkit-text-stroke: 1.2px color-mix(in srgb, var(--plum) 45%, transparent); letter-spacing: -0.02em; white-space: nowrap; }
.marquee-track .star { color: var(--magenta); -webkit-text-stroke: 0; font-size: clamp(20px, 3vw, 34px); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none !important; } }

/* ---------- Accordion (FAQ) ---------- */
.acc { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; margin-bottom: 12px; }
.acc summary { list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--sans); font-weight: 600; font-size: 16.5px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--plum); transition: transform .25s, background .2s, color .2s; }
.acc[open] summary .plus { transform: rotate(45deg); background: var(--plum); color: #fff; border-color: var(--plum); }
.acc .acc-body { padding: 0 22px 20px; font-family: var(--sans); color: var(--muted); font-size: 15px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 36px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px color-mix(in srgb, var(--plum) 16%, transparent); }
.field .hint { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.form-note { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--plum); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success h3 { font-size: 24px; margin-bottom: 8px; }
.form-success p { font-family: var(--sans); color: var(--muted); }

/* Contact info list */
.cinfo { display: grid; gap: 18px; }
.cinfo .ci { display: flex; gap: 14px; align-items: flex-start; }
.cinfo .ci .cic { width: 44px; height: 44px; border-radius: 11px; background: var(--green-soft); color: var(--plum); display: grid; place-items: center; flex: none; }
.cinfo .ci b { font-family: var(--sans); font-size: 14px; color: var(--ink); display: block; }
.cinfo .ci span, .cinfo .ci a { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.cinfo .ci a:hover { color: var(--plum); }

/* ---------- Split feature (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev .split-media { order: 0; } }
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); aspect-ratio: 4/3; background-size: cover; background-position: center; }
.split-copy h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.02em; }
.split-copy p { font-family: var(--sans); color: var(--muted); font-size: 16px; margin: 18px 0; }
.ticklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticklist li { font-family: var(--sans); font-size: 15px; color: var(--text); display: flex; gap: 11px; align-items: flex-start; }
.ticklist li .tk { color: var(--plum); flex: none; margin-top: 3px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--plum), var(--magenta)); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--plum); }
.tl-item .yr { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--plum); }
.tl-item h4 { font-size: 20px; margin: 4px 0 6px; }
.tl-item p { font-family: var(--sans); font-size: 14.5px; color: var(--muted); }

/* Value cards */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; box-shadow: var(--sh-sm); }
.step .num { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--plum); opacity: 0.4; line-height: 1; }
.step h4 { font-size: 18px; margin: 10px 0 8px; }
.step p { font-family: var(--sans); font-size: 14px; color: var(--muted); }

/* ---------- Process stack (GSAP swipe cards) ---------- */
.process-stack { background: var(--plum-deep); color: #fff; padding: 90px 0 110px; position: relative; overflow: hidden; }
:root[data-theme="dark"] .process-stack { background: #0E0710; }
.process-stack .eyebrow { color: #E9A7D4; }
.process-stack .eyebrow::before { background: rgba(255,255,255,0.55); }
.process-stack .sec-head h2 { color: #fff; }
.process-stack .sec-head p { color: rgba(255,255,255,0.7); }
.stack { position: relative; max-width: 920px; margin: 46px auto 0; }
.stack-card { position: relative; will-change: transform; }
.stack-card + .stack-card { margin-top: 26px; }
/* Process deck stacks via CSS sticky (reliable, no pin artefacts) */
.process-stack .stack-card { position: sticky; }
.process-stack .stack-card:nth-child(1) { top: calc(var(--nav-h) + 34px); }
.process-stack .stack-card:nth-child(2) { top: calc(var(--nav-h) + 50px); }
.process-stack .stack-card:nth-child(3) { top: calc(var(--nav-h) + 66px); }
.process-stack .stack-card:nth-child(4) { top: calc(var(--nav-h) + 82px); }
@media (prefers-reduced-motion: reduce) { .process-stack .stack-card { position: relative; top: auto; } }
.stack-card .sc { position: relative; overflow: hidden; border-radius: 24px; padding: 46px 46px 40px; min-height: 300px;
  background: linear-gradient(158deg, #3a1834 0%, #1c0d18 62%);
  border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8); transform-origin: center top; }
.stack-card .sc-step { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--magenta); display: inline-flex; align-items: center; gap: 12px; }
.stack-card .sc-step::before { content: ""; width: 26px; height: 1.5px; background: var(--magenta); }
.stack-card h3 { color: #fff; font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.03em; margin: 16px 0 14px; }
.stack-card .sc p { color: rgba(255,255,255,0.72); font-family: var(--sans); font-size: clamp(15px, 1.7vw, 18px); max-width: 46ch; margin: 0; }
.stack-card .sc-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.stack-card .sc-tags span { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 8px 15px; }
.stack-card .sc-num { position: absolute; top: 8px; right: 30px; font-family: var(--serif); font-weight: 600; font-size: clamp(120px, 18vw, 210px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.12); pointer-events: none; letter-spacing: -0.04em; }
@media (max-width: 620px) { .stack-card .sc { padding: 34px 26px 30px; } .stack-card .sc-num { font-size: 96px; right: 16px; } }

/* Testimonial stack (frosted glass cards) — stacked via CSS sticky, not GSAP pin */
.testi-stack { max-width: 780px; margin-bottom: 60px; }
.testi-stack .stack-card { position: sticky; }
.testi-stack .stack-card:nth-child(1) { top: calc(var(--nav-h) + 40px); }
.testi-stack .stack-card:nth-child(2) { top: calc(var(--nav-h) + 56px); }
.testi-stack .stack-card:nth-child(3) { top: calc(var(--nav-h) + 72px); }
.testi-stack .stack-card:nth-child(4) { top: calc(var(--nav-h) + 88px); }
@media (prefers-reduced-motion: reduce) { .testi-stack .stack-card { position: relative; top: auto; } }
.tsc { position: relative; transform-origin: center top; text-align: center; min-height: 240px;
  background:
    linear-gradient(155deg, rgba(199,125,20,0.16) 0%, rgba(199,125,20,0.05) 46%, rgba(199,125,20,0) 78%),
    color-mix(in srgb, var(--surface) 80%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.35); backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); border-radius: 22px; padding: 44px 48px; box-shadow: var(--sh);
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tsc .stars { color: var(--gold); font-size: 16px; letter-spacing: 3px; margin-bottom: 18px; }
.tsc blockquote { font-family: var(--serif); font-size: clamp(18px, 2.3vw, 25px); line-height: 1.42; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 24px; max-width: 42ch; }
.tsc blockquote b { color: var(--plum); font-style: italic; font-weight: 600; }
.tsc .qa { display: flex; align-items: center; gap: 13px; }
.tsc .qa .av { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--sans); font-weight: 700; font-size: 15px; }
.tsc .qa .n { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--ink); }
.tsc .qa .r { font-family: var(--sans); font-size: 13px; color: var(--muted); }
@media (max-width: 620px) { .tsc { padding: 32px 24px; } }

/* Sponsor tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.tier.pop { border-color: var(--plum); box-shadow: var(--sh-lg); position: relative; }
.tier.pop .ribbon { position: absolute; top: 18px; right: 18px; background: var(--plum); color: #fff; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.tier h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-family: var(--sans); font-weight: 700; }
.tier .price { font-family: var(--serif); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; margin: 14px 0 2px; color: var(--ink); }
.tier .per { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.tier ul { list-style: none; padding: 22px 0; margin: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.tier li { font-family: var(--sans); font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.tier li .tk { color: var(--plum); flex: none; margin-top: 2px; }
.tier .btn { margin-top: auto; }

/* ---------- Past-event / case-study card ---------- */
.past-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .past-grid { grid-template-columns: 1fr; } }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .25s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: color-mix(in srgb, var(--plum) 22%, var(--line)); }
.pcard .pbanner { height: 148px; position: relative; padding: 14px; display: flex; align-items: flex-end; }
.pcard .pbanner .pk { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.30); padding: 5px 11px; border-radius: 999px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.pcard .pbody { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pcard h3 { font-size: 18px; line-height: 1.24; letter-spacing: -0.015em; margin-bottom: 6px; }
.pcard .pmeta { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.pcard .pstats { display: flex; gap: 18px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.pcard .pstats .v { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); line-height: 1; }
.pcard .pstats .k { font-family: var(--sans); font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ---------- Event detail page ---------- */
.ed-hero { background: linear-gradient(135deg, #4E1A44, #86286F); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
.ed-hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(214,64,159,0.3), transparent 68%); }
.ed-hero .inner { position: relative; z-index: 2; }
.ed-hero .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ed-hero .tag { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.16); color: #fff; }
.ed-hero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 46px); max-width: 20ch; }
.ed-hero .ed-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; font-family: var(--sans); font-size: 15px; }
.ed-hero .ed-meta .m { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.92); }
.ed-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .ed-layout { grid-template-columns: 1fr; } }
.ed-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 26px; position: sticky; top: calc(var(--nav-h) + 20px); }
.ed-card .price { font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.ed-card .price small { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 400; }
.ed-card .cd { display: flex; gap: 10px; margin: 20px 0; }
.ed-card .cd .u { flex: 1; text-align: center; background: var(--bg-alt); border-radius: 10px; padding: 12px 6px; }
.ed-card .cd .u b { font-family: var(--serif); font-size: 26px; color: var(--ink); display: block; line-height: 1; }
.ed-card .cd .u span { font-family: var(--sans); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.ed-card .inc { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ed-card .inc li { font-family: var(--sans); font-size: 13.5px; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.ed-card .inc li .tk { color: var(--plum); flex: none; }
.agenda-day { margin-bottom: 30px; }
.agenda-day > h3 { font-size: 20px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.agenda-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.agenda-row .at { font-family: var(--sans); font-weight: 600; font-size: 13.5px; color: var(--plum); }
.agenda-row .ai b { font-family: var(--sans); font-size: 15.5px; color: var(--ink); font-weight: 600; }
.agenda-row .ai span { font-family: var(--sans); font-size: 13px; color: var(--muted); display: block; margin-top: 3px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site { background: var(--plum-deep); color: #fff; padding: 74px 0 32px; }
:root[data-theme="dark"] footer.site { background: #0E0710; border-top: 1px solid var(--line); }
footer.site .foot-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.12); }
footer.site .foot-top h2 { color: #fff; font-size: clamp(24px, 3.2vw, 38px); letter-spacing: -0.02em; }
footer.site .brand { color: #fff; margin-bottom: 14px; }
footer.site .foot-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 820px) { footer.site .foot-top { grid-template-columns: 1fr; } }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding: 44px 0; }
@media (max-width: 820px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } }
.foot-cols .about-txt { color: rgba(255,255,255,0.7); font-size: 14px; max-width: 34ch; margin-top: 4px; }
.foot-cols h5 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 0 18px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-cols a { color: rgba(255,255,255,0.82); font-size: 14px; }
.foot-cols a:hover { color: var(--magenta); }
.foot-news { display: flex; gap: 8px; margin-top: 6px; }
.foot-news input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; background: rgba(255,255,255,0.06); color: #fff; font-family: var(--sans); font-size: 14px; }
.foot-news input::placeholder { color: rgba(255,255,255,0.5); }
.foot-news input:focus { outline: none; border-color: var(--magenta); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; color: rgba(255,255,255,0.8); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--sans); color: rgba(255,255,255,0.6); font-size: 13px; }
.foot-bottom a:hover { color: #fff; }

/* Focus ring */
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }

/* ---------- Top deadline banner ---------- */
.topbar { background: linear-gradient(90deg, var(--plum-ink), var(--plum)); color: #fff; font-family: var(--sans); font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: flex-start; gap: 14px; padding: 9px 26px; position: relative; text-align: left; }
.topbar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.topbar strong { color: #FCE1F1; }
.topbar-x { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255,255,255,0.8); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; }
.topbar-x:hover { color: #fff; }
@media (max-width: 620px) { .topbar { font-size: 12px; } .topbar .wrap { padding-right: 42px; } }

/* ---------- Sponsor wall ---------- */
.sponsor-wall { display: grid; gap: 24px; }
.sp-tier-label { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.sp-row { display: flex; flex-wrap: wrap; gap: 14px; }
.sp-logo { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 26px; box-shadow: var(--sh-sm); letter-spacing: -0.01em; }

/* ---------- Venue card ---------- */
.venue-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh-sm); }
.venue-card .vi { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--plum); display: grid; place-items: center; flex: none; }
.venue-card b { font-family: var(--sans); font-size: 16px; color: var(--ink); display: block; margin-bottom: 4px; }
.venue-card p { font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Speaker modal ---------- */
.spk-modal { position: fixed; inset: 0; z-index: 130; background: rgba(20,10,18,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.spk-modal.show { opacity: 1; visibility: visible; }
.spk-modal .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); max-width: 540px; width: 100%; padding: 30px; position: relative; transform: translateY(12px); transition: transform .25s var(--ease); }
.spk-modal.show .box { transform: none; }
.spk-modal .mbody { display: flex; gap: 20px; align-items: flex-start; }
@media (max-width: 480px) { .spk-modal .mbody { flex-direction: column; } }
.spk-modal .mclose { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--ink); cursor: pointer; font-size: 18px; }

/* Mobile sticky register bar (event page) */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 88; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -8px rgba(38,12,33,0.2); padding: 12px 16px; gap: 12px; align-items: center; }
  .mobile-cta .mp { font-family: var(--sans); font-size: 13px; color: var(--muted); flex: none; }
  .mobile-cta .mp b { font-family: var(--serif); font-size: 18px; color: var(--ink); display: block; }
  .mobile-cta .btn { flex: 1; }
  body.has-mcta { padding-bottom: 76px; }
}

/* Insight/blog card */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }
.post { display: block; }
.post .pi { aspect-ratio: 16/10; border-radius: var(--r); background-size: cover; background-position: center; box-shadow: var(--sh-sm); transition: transform .25s var(--ease); }
.post:hover .pi { transform: translateY(-5px); }
.post .cat { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--magenta); margin: 18px 0 8px; }
.post h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.28; }
.post .meta { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 85; width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--plum); color: #fff; display: grid; place-items: center; box-shadow: var(--sh);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility .3s, background .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--plum-ink); transform: translateY(-3px); }
:root[data-theme="dark"] .to-top { color: #1A0A16; }
body.has-mcta .to-top { bottom: 88px; }
@media (max-width: 900px) { .to-top { right: 14px; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); font-family: var(--sans); font-size: 14px; font-weight: 500; padding: 13px 20px; border-radius: 12px; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; z-index: 120; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
