/* ─────────────────────────────────────────────
   SOT 2026 — Child Theme Design System
   Ported from claude-designs/styles.css
   ───────────────────────────────────────────── */

/* ── Design Tokens ─────────────────────────── */
:root {
  --ink: #0A0E14;
  --ink-2: #11161F;
  --ink-3: #1A2030;
  --ink-4: #242C40;
  --cream: #F2EFE6;
  --cream-2: #E8E3D4;
  --line: rgba(242, 239, 230, 0.10);
  --line-strong: rgba(242, 239, 230, 0.22);
  --muted: rgba(242, 239, 230, 0.58);
  --muted-2: rgba(242, 239, 230, 0.42);

  --accent: #00AEEF;
  --accent-soft: rgba(0, 174, 239, 0.16);
  --accent-glow: rgba(0, 174, 239, 0.35);
  --amber: #E8A33D;
  --amber-soft: rgba(232, 163, 61, 0.16);

  --bg: var(--ink);
  --fg: var(--cream);
  --surface: var(--ink-2);
  --surface-2: var(--ink-3);

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;

  --font-display: 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1440px;
  --gutter: clamp(24px, 4vw, 64px);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

[data-theme="light"] {
  --ink: #F2EFE6;
  --ink-2: #ECE8DC;
  --ink-3: #DFD9C6;
  --ink-4: #CFC8B2;
  --cream: #0A0E14;
  --cream-2: #11161F;
  --line: rgba(10, 14, 20, 0.10);
  --line-strong: rgba(10, 14, 20, 0.22);
  --muted: rgba(10, 14, 20, 0.62);
  --muted-2: rgba(10, 14, 20, 0.42);
  --bg: var(--ink);
  --fg: var(--cream);
  --surface: var(--ink-2);
  --surface-2: var(--ink-3);
}

/* ── Reset / base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { margin: 0; padding: 0; scroll-behavior: smooth; }
body { margin: 0; padding: 0; }

body {
  background: var(--bg) !important;
  color: var(--fg) !important;
  font-family: var(--font-body) !important;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ── Neutralize Evently parent theme wrappers ── */
.mkdf-wrapper,
.mkdf-wrapper-inner,
.mkdf-content,
.mkdf-content-inner,
.mkdf-page-outer-wrapper,
.mkdf-page-wrapper {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  float: none !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* Hide Evently header/footer entirely — we render our own */
.mkdf-page-header,
.mkdf-mobile-header,
.mkdf-footer-outer,
.mkdf-back-to-top-holder {
  display: none !important;
}

/* ── Typography utilities ─────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.92;
  color: var(--fg);
}

.mono {
 /* font-family: var(--font-mono);
  font-size: 11px;
	
  letter-spacing: 0.08em;
  text-transform: uppercase;*/

    font-family: sans-serif;
    font-size: 12px;

}

.serif-italic {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ── Layout primitives ────────────────────── */
.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.divider { height: 1px; background: var(--line); }
.divider-strong { height: 1px; background: var(--line-strong); }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -12px var(--accent-glow); color: #fff; }

.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--fg); background: rgba(255,255,255,0.02); color: var(--fg); }

.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; transform: translateY(-1px); color: var(--ink); }

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ── Pill / chip ──────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

button.pill:hover { color: var(--fg); border-color: var(--fg); }
.pill-active { background: var(--fg) !important; color: var(--bg) !important; border-color: var(--fg) !important; }
a.pill:hover { color: var(--fg); border-color: var(--fg); text-decoration: none; }

.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: dotpulse 1.8s ease-in-out infinite;
}

@keyframes dotpulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Generative mesh background ──────────── */
.mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.mesh::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(45% 35% at 18% 20%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(35% 30% at 82% 30%, rgba(232, 163, 61, 0.18) 0%, transparent 60%),
    radial-gradient(40% 30% at 50% 90%, var(--accent-soft) 0%, transparent 60%);
  filter: blur(40px);
  animation: meshDrift 24s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%,-3%,0) scale(1.08); }
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* ── Image placeholder ────────────────────── */
.imgph {
  position: relative;
  background: repeating-linear-gradient(45deg, var(--ink-3) 0 8px, var(--ink-2) 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
}

.imgph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}

.imgph .imgph-label {
  position: relative;
  z-index: 1;
  padding: 6px 10px;
  background: rgba(0,0,0,.35);
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ── Speaker initials avatar ──────────────── */
.speaker-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 20%, var(--ink-3)) 0%, var(--ink-3) 100%);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow: hidden;
}

/* ── Card ─────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

/* ── Marquee ──────────────────────────────── */
.marquee {
  display: flex;
  gap: 64px;
  animation: marquee 38s linear infinite;
  width: max-content;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── Scroll fade ──────────────────────────── */
.fade-in { opacity: 0; transform: translateY(14px); transition: all 0.9s var(--ease); }
.fade-in.in { opacity: 1; transform: none; }

/* ── Page container ───────────────────────── */
.sot-page { min-height: 100vh; overflow-x: hidden; }

/* ── Nav ──────────────────────────────────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 9990;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  gap: 16px;
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--fg);
  flex-shrink: 0;
}

.topnav-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.topnav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.topnav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  transition: all 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.topnav-link:hover { color: var(--fg); background: rgba(255,255,255,0.03); }
.topnav-link.active { color: var(--fg); background: rgba(255,255,255,0.06); }

[data-theme="light"] .topnav-link:hover { background: rgba(0,0,0,0.04); }
[data-theme="light"] .topnav-link.active { background: rgba(0,0,0,0.06); }

.topnav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* WordPress custom logo inside topnav-brand */
.topnav-brand .custom-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* invert to white on dark bg */
}
[data-theme="light"] .topnav-brand .custom-logo {
  filter: none;
}

/* WordPress custom logo inside sot-footer-brand */
.sot-footer-brand .custom-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.topnav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.topnav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: all 0.3s var(--ease);
}

@media (max-width: 900px) {
  .topnav-links { display: none; }
  .topnav-hamburger { display: flex; }
  .topnav-actions .btn { display: none; }

  .topnav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter);
    gap: 2px;
    z-index: 49;
  }
}

/* ── Section header ────────────────────────── */
.section {
  padding-block: clamp(80px, 10vw, 140px);
  position: relative;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

/* ── Reveal-on-scroll ─────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].in { opacity: 1; transform: none; }

[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.22s; }
[data-reveal-delay="3"] { transition-delay: 0.34s; }
[data-reveal-delay="4"] { transition-delay: 0.46s; }

/* ── Reduce motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Custom cursor ────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body[data-motion="rich"] { cursor: none; }
  body[data-motion="rich"] a,
  body[data-motion="rich"] button,
  body[data-motion="rich"] [data-cursor="grow"] { cursor: none; }
  body[data-motion="rich"] input,
  body[data-motion="rich"] textarea { cursor: text; }
}

.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  opacity: 0;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s;
}

.cursor-dot.visible { opacity: 1; }
.cursor-dot.shrink { width: 3px; height: 3px; opacity: 0.4; }

.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.3s, background 0.3s, opacity 0.3s;
}

.cursor-ring.visible { opacity: 1; }
.cursor-ring.grow {
  width: 64px; height: 64px;
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ── Image curtain wipe reveal ────────────── */
.curtain-wipe { position: relative; overflow: hidden; }

.curtain-wipe::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(0);
  transition: transform 0.95s cubic-bezier(.78,0,.22,1);
  pointer-events: none;
}

.curtain-wipe.in::after { transform: translateY(-100%); }

/* ── Underline grow on link hover ─────────── */
.link-anim { position: relative; display: inline-block; }

.link-anim::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.link-anim:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── Floating animations ─────────────────── */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.floaty { animation: floaty 3s ease-in-out infinite; }

/* ── Mark SVG breathe ───────────────────── */
@keyframes breathe {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.mark-arc { animation: breathe 4s ease-in-out infinite; }
.mark-orb { transition: r 0.4s var(--ease), fill-opacity 0.4s; }
a:hover .mark-orb { r: 3.5; }

/* ── Scroll progress bar ─────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 100;
  pointer-events: none;
  width: 0%;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.06s linear;
}

/* ── Back to top ─────────────────────────── */
.to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  box-shadow: 0 12px 32px -8px var(--accent-glow);
}

.to-top.visible { opacity: 1; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px) scale(1.05); }

/* ── Image hover scale ───────────────────── */
.zoom-parent .zoom-img { transition: transform 1.2s var(--ease); transform-origin: center; }
.zoom-parent:hover .zoom-img { transform: scale(1.06); }

/* ── Tilt preserve-3d ────────────────────── */
.tilt-3d { transform-style: preserve-3d; }
.tilt-3d .lift { transform: translateZ(40px); }

/* ── Animated section dividers ──────────── */
.draw-line { position: relative; overflow: hidden; }

.draw-line::before {
  content: "";
  position: absolute; left: 0; top: 0;
  height: 1px; width: 100%;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(.78,0,.22,1);
}

.draw-line.in::before { transform: scaleX(1); }

/* ── Spin ────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Hero section ────────────────────────── */
.sot-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg);
}

.sot-hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sot-hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.sot-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 95%);
  pointer-events: none;
}

.sot-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.sot-hero-disc {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  z-index: 1;
  pointer-events: none;
}

.sot-hero-disc-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  animation: discPulse 4s ease-in-out infinite;
}

.sot-hero-disc svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.disc-ring-text {
  animation: spin 28s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}

.disc-ring-text-inner {
  animation: spin 18s linear infinite reverse;
  transform-origin: center;
  transform-box: fill-box;
}

.disc-scan {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
}

.disc-scan::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(46,91,255,0.04) 3px,
    rgba(46,91,255,0.04) 4px
  );
}

@keyframes discPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes spinSlow { to { transform: rotate(360deg); } }

@keyframes logoBreath {
  0%, 100% { opacity: 0.85; filter: drop-shadow(0 0 0px transparent); }
  50%       { opacity: 1;    filter: drop-shadow(0 0 14px var(--accent-glow)); }
}

@keyframes scanLine {
  0%   { top: -2px; }
  100% { top: calc(100% + 2px); }
}

.sot-hero-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.sot-hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 8vw, 108px);
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin: 0 0 20px;
  max-width: 65%;
}

.sot-hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.sot-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stats strip */
.sot-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 80px);
}

.sot-stat {
  padding: 28px var(--gutter);
  border-right: 1px solid var(--line);
}

.sot-stat:last-child { border-right: none; }

.sot-stat-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.sot-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Floating tickers */
.sot-ticker {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(0,0,0,0.4);
}

@keyframes tickerIn { to { opacity: 1; } }
@keyframes tickerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Generic two-column grid ─────────────── */
.sot-two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.sot-two-col--start  { align-items: start; }
.sot-two-col--wide   { grid-template-columns: 1.2fr 1fr; }

/* ── Partners wall (about page) ──────────── */
.sot-partners-wall {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.sot-partner-cell {
  flex: 0 0 calc(100% / 6);
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}
.sot-partner-cell:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

/* ── About section ──────────────────────── */
.sot-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.sot-about-img-wrap {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sot-mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.sot-mission-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.sot-mission-card:hover {
  border-color: var(--accent) !important;
  background: color-mix(in oklab, var(--surface) 85%, var(--accent)) !important;
}

.sot-mission-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}

.sot-mission-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Recommendations / Tags ─────────────── */
.sot-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sot-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.sot-tag-pill:hover { transform: translateY(-1px); }

/* ── CTA strip ───────────────────────────── */
.sot-cta-strip {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 120px);
  text-align: center;
}

/* ── Video playlist ─────────────────────── */
.sot-playlist-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}

.sot-player-wrap {
  aspect-ratio: 16/9;
  background: var(--ink-3);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.sot-player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.sot-player-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.sot-player-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
  width: 100%;
}

.sot-player-play-btn:hover { background: rgba(0,0,0,0.5); }

.sot-player-play-btn svg {
  width: 64px;
  height: 64px;
  fill: #fff;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}

.sot-playlist-sidebar {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-4) transparent;
}

.sot-playlist-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s var(--ease);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--fg);
  align-items: center;
}

.sot-playlist-item:hover { background: var(--surface); }
.sot-playlist-item.active { background: var(--surface); border-color: var(--accent); }

.sot-playlist-thumb {
  aspect-ratio: 16/9;
  background: var(--ink-3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.sot-playlist-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sot-playlist-title {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Event hero (SOT XX page) ───────────── */
.sot-event-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg);
}

.sot-event-hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(60px, 10vw, 140px);
  letter-spacing: -0.04em;
  line-height: 0.88;
  margin: 0 0 28px;
}

.sot-event-keyline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 80px);
}

.sot-event-keyline-item {
  padding: 20px var(--gutter);
  border-right: 1px solid var(--line);
}

.sot-event-keyline-item:last-child { border-right: none; }

.sot-event-keyline-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.sot-event-keyline-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

/* ── Countdown strip ────────────────────── */
.sot-countdown-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.sot-countdown-units {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sot-countdown-unit { text-align: center; }

.sot-countdown-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}

.sot-countdown-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.sot-countdown-sep {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--muted-2);
  line-height: 1;
  align-self: flex-start;
  margin-top: 4px;
}

/* ── Speakers grid ──────────────────────── */
.sot-speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.sot-speaker-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
  text-decoration: none;
  color: var(--fg);
  display: block;
}

.sot-speaker-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.sot-speaker-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: var(--ink-3);
      width: 200px;
}

.sot-speaker-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}

.sot-speaker-card:hover .sot-speaker-card-img img { transform: scale(1.05); }

.sot-speaker-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 1;
}

.sot-speaker-card-info { padding: 16px; }

.sot-speaker-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}

.sot-speaker-title {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.sot-speaker-track {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}

/* Speaker list view */
.sot-speakers-list { display: flex; flex-direction: column; gap: 1px; }

.sot-speaker-row {
  display: grid;
  grid-template-columns: 100px 2fr 1fr 1fr 30px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  color: var(--fg);
}

.sot-speaker-row:hover {
  background: var(--surface);
  border-color: var(--line);
}

.sot-speaker-row-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink-3);
}

.sot-speaker-row-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Speaker filter bar */
.sot-filter-bar {
  position: sticky;
  top: 68px;
  z-index: 30;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}

.sot-filter-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
	    margin-top: 10px;
}

.sot-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  flex: 1;
  max-width: 320px;
}

.sot-search-form input {
  background: none;
  border: none;
  outline: none;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 13.5px;
  width: 100%;
}

.sot-search-form input::placeholder { color: var(--muted-2); }

.sot-filter-mode-pills { display: flex; gap: 6px; }

.sot-filter-mode-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.sot-filter-mode-pill:hover { color: var(--fg); border-color: var(--fg); }
.sot-filter-mode-pill.active { color: var(--fg); background: var(--surface); border-color: var(--line-strong); }

.sot-toggle-btn { display: flex; gap: 4px; margin-left: auto; }

.sot-toggle-btn button {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.sot-toggle-btn button.active { background: var(--surface); color: var(--fg); border-color: var(--line-strong); }

/* Alpha nav */
.sot-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.sot-alpha-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}

.sot-alpha-btn:hover { color: var(--fg); border-color: var(--line-strong); }
.sot-alpha-btn.active { color: var(--fg); background: var(--surface); border-color: var(--accent); }

/* ── Speaker detail page ────────────────── */
.sot-speaker-detail-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.sot-speaker-detail-portrait {
  position: sticky;
  top: 100px;
}

.sot-speaker-detail-portrait-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-3);
}

.sot-speaker-detail-portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sot-speaker-bio {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.sot-speaker-video-row {
  display: grid;
  grid-template-columns: 140px 1fr 80px 30px;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  color: var(--fg);
}

.sot-speaker-video-row:hover { background: rgba(46,91,255,0.04); border-color: var(--accent); }

.sot-speaker-video-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink-3);
}

.sot-speaker-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Videos page ────────────────────────── */
.sot-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sot-video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  color: var(--fg);
  display: block;
}

.sot-video-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.sot-video-card.active { border-color: var(--accent); }

.sot-video-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
}

.sot-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.sot-video-card:hover .sot-video-thumb img { transform: scale(1.04); }

.sot-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.sot-video-card:hover .sot-video-overlay { background: rgba(0,0,0,0.35); }

.sot-video-overlay svg { opacity: 0; transition: opacity 0.3s; fill: #fff; }
.sot-video-card:hover .sot-video-overlay svg { opacity: 1; }

.sot-video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.sot-video-info { padding: 14px 16px; }

.sot-video-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sot-video-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Videos event dropdown */
.sot-event-dropdown { position: relative; }

.sot-event-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.sot-event-dropdown-trigger:hover { border-color: var(--fg); }

.sot-event-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 20;
  display: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.sot-event-dropdown-menu.open { display: block; }

.sot-event-dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.sot-event-dropdown-item:hover { background: var(--surface); color: var(--fg); }
.sot-event-dropdown-item.active { color: var(--fg); }

/* ── Programme table ────────────────────── */
.sot-programme-list { display: flex; flex-direction: column; }

.sot-programme-row {
  display: grid;
  grid-template-columns: 120px 80px 1fr 200px;
  align-items: start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}

.sot-programme-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 2px;
}

.sot-programme-kind {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
}

.sot-programme-kind.keynote { background: var(--accent-soft); color: var(--accent); }
.sot-programme-kind.talk { background: rgba(232,163,61,0.16); color: var(--amber); }
.sot-programme-kind.panel { background: rgba(167,139,250,0.16); color: #a78bfa; }
.sot-programme-kind.workshop { background: rgba(52,211,153,0.16); color: #34d399; }
.sot-programme-kind.break { background: var(--surface-2); color: var(--muted); }

.sot-programme-title { font-size: 15px; font-weight: 500; }
.sot-programme-speaker { font-size: 13px; color: var(--muted); text-align: right; }

/* ── Tracks grid ───────────────────────── */
.sot-tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sot-track-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all 0.3s var(--ease);
}

.sot-track-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.sot-track-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.sot-track-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

/* ── Registration tiers ─────────────────── */
.sot-reg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sot-reg-tier {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all 0.3s var(--ease);
}

.sot-reg-tier:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.sot-reg-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-block: 10px;
}

.sot-reg-price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font-body);
}

/* ── Archive page ───────────────────────── */
.sot-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.sot-event-card {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
  text-decoration: none;
  display: block;
}

.sot-event-card:hover { transform: translateY(-4px); }

.sot-event-card-bg {
  position: absolute;
  inset: 0;
  background: var(--surface-2);
}

.sot-event-card-bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
}

.sot-event-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 60%);
  animation: meshDrift 8s ease-in-out infinite alternate;
}

.sot-event-card-year {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, 9vw, 100px);
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(242,239,230,0.08);
}

.sot-event-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(10,14,20,0.95) 0%, transparent 100%);
}

.sot-event-card-edition {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.sot-event-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.sot-event-card-city {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Archive list view */
.sot-archive-list { display: flex; flex-direction: column; gap: 1px; }

.sot-event-row {
  display: grid;
  grid-template-columns: 60px 120px 100px 1fr 120px 30px;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--fg);
}

.sot-event-row:hover { background: var(--surface); border-color: var(--line); }

/* ── About page ─────────────────────────── */
.sot-story-section {
  background: linear-gradient(135deg, #C62828 0%, #AD1457 50%, #283593 100%);
  position: relative;
  overflow: hidden;
}

.sot-partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.sot-partner-item {
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sot-partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.sot-partner-item:hover {
  border-color: var(--line-strong);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.sot-partner-item:hover img { transform: scale(1.04); }

/* ── Footer ─────────────────────────────── */
.sot-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.sot-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(28px, 4vw, 48px);
}

.sot-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 14px;
}

.sot-footer-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 20px;
}

.sot-footer-socials { display: flex; gap: 8px; }

.sot-footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.sot-footer-social-link:hover {
  color: var(--fg);
  border-color: var(--fg);
  background: rgba(255,255,255,0.04);
}

.sot-footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 16px;
}

.sot-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.sot-footer-links a {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.sot-footer-links a:hover { color: var(--fg); }

.sot-footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.sot-footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ── Pagination ─────────────────────────── */
.sot-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-block: 48px;
}

.sot-page-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.sot-page-btn:hover { color: var(--fg); border-color: var(--line-strong); }
.sot-page-btn.active { color: var(--fg); background: var(--surface); border-color: var(--line-strong); }
.sot-page-btn:disabled { opacity: 0.4; cursor: default; }

/* ── Homepage hero modifier ─────────────── */
.sot-hero-home {
  min-height: min(920px, 94vh);
  align-items: center;
  padding-block: 100px;
}
.sot-hero-disc-home {
  top: 50%;
  bottom: auto;
  right: calc(var(--gutter) + 20px);
  transform: translateY(-50%);
}
.sot-hero-disc-centre {
  text-align: center;
  position: relative;
  z-index: 2;
}
.sot-hero-body-home {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 65%;
}
.sot-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.sot-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.sot-hero-stat-val {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.sot-hero-stat-lbl {
  color: var(--muted);
  margin-top: 4px;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

/* ── About section ───────────────────────── */
.sot-about {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.sot-about-heading { margin-bottom: 80px; }
.sot-about-grid-home {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.sot-about-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 4/3;
  position: relative;
  background: var(--surface);
}
.sot-about-float-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10,14,20,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 18px;
}
.sot-about-accent-bar {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 28px;
  transform-origin: left;
}
.sot-mission-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
.sot-mission-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
}

/* ── Recommendations section ─────────────── */
.sot-recs {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.sot-recs-header {
  text-align: center;
  margin-bottom: 72px;
}
.sot-recs-divider {
  width: 80px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 28px;
}
.sot-recs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.sot-recs-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* ── CTA strip ───────────────────────────── */
.sot-cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.sot-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.sot-cta-sub {
  max-width: 48ch;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 auto 36px;
}
.sot-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Playlist layout (homepage) ─────────── */
.sot-playlist-section {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
}

/* ── Recent talks ────────────────────────── */
.sot-talks {
  padding: 80px 0 120px;
  border-top: 1px solid var(--line);
}
.sot-talks-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Journey ─────────────────────────────── */
.sot-journey {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.sot-journey-header { margin-bottom: 48px; }
.sot-journey-track-wrap {
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.sot-journey-track-wrap::-webkit-scrollbar { height: 4px; }
.sot-journey-track-wrap::-webkit-scrollbar-track { background: var(--line); border-radius: 2px; }
.sot-journey-track-wrap::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.sot-journey-track-wrap:active { cursor: grabbing; }
.sot-journey-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 0 var(--gutter) 8px;
}
.sot-journey-card {
  width: 380px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.sot-journey-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.sot-journey-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink-3);
  position: relative;
}
.sot-journey-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.sot-journey-card:hover .sot-journey-card-img img { transform: scale(1.05); }
.sot-journey-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sot-journey-card-year {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--fg);
}
.sot-journey-card-theme {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 20px;
}
.sot-journey-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s var(--ease);
  margin-top: auto;
}
.sot-journey-card:hover .sot-journey-card-link { gap: 10px; }

/* ── Stay Tuned ──────────────────────────── */
@keyframes sot-ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.sot-stay {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.sot-stay-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.sot-stay-ring-1 {
  width: 700px;
  height: 700px;
  border: 1px solid color-mix(in oklab, var(--accent) 15%, transparent);
  animation: sot-ring-spin 60s linear infinite;
}
.sot-stay-ring-2 {
  width: 450px;
  height: 450px;
  border: 1px solid color-mix(in oklab, var(--accent) 10%, transparent);
  animation: sot-ring-spin 40s linear infinite reverse;
}
.sot-stay-inner { position: relative; z-index: 2; }
.sot-stay-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 52ch;
  margin: 16px auto 0;
  line-height: 1.6;
}
.sot-stay-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}
.sot-stay-badge { display: block; transition: transform 0.3s var(--ease); }
.sot-stay-badge:hover { transform: translateY(-3px); }

/* ── Video featured layout ───────────────── */
.sot-video-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.sot-video-featured-meta {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--line);
  min-height: 280px;
}
.sot-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Event filter dropdown ───────────────── */
.sot-event-select {
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 8px 32px 8px 16px;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(242%2C239%2C230%2C0.5)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s;
  max-width: 220px;
}
.sot-event-select:hover { border-color: var(--line-strong); }
.sot-event-select option { background: var(--bg); color: var(--fg); }

/* ── Speakers page state ─────────────────── */
.sot-sp-hidden { display: none !important; }
#sot-sp-results { transition: opacity 0.18s ease; }
#sot-sp-results.sot-sp-loading { opacity: 0.35; pointer-events: none; }
#sot-sp-results:not(.sot-mode-starred) .sot-speaker-badge { display: none !important; }
@keyframes sot-sp-spin { to { transform: translateX(-50%) rotate(360deg); } }
.sot-sp-spinner {
  display: none;
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border: 3px solid var(--line-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: sot-sp-spin 0.65s linear infinite;
  z-index: 10;
  pointer-events: none;
}
#sot-sp-results.sot-sp-loading .sot-sp-spinner { display: block; }
#sot-vid-results { transition: opacity 0.18s ease; }
#sot-vid-results.sot-vid-loading { opacity: 0.35; pointer-events: none; }
#sot-vid-results.sot-vid-loading #sot-vid-spinner { display: block; }

/* ── Section utilities ───────────────────── */
.sot-section        { padding: 120px 0; position: relative; }
.sot-section-md     { padding: 100px 0; position: relative; }
.sot-section-sm     { padding: 48px 0;  position: relative; }
.sot-section-border { border-top: 1px solid var(--line); }
.sot-surface        { background: var(--surface); }
.sot-overflow-h     { overflow: hidden; }

/* ── Layout utilities ────────────────────── */
.sot-sticky      { position: sticky; top: 120px; }
.sot-cover       { position: absolute; inset: 0; width: 100%; height: 100%; }
.sot-img-cover   { object-fit: cover; display: block; }
.sot-flex-center { display: flex; align-items: center; justify-content: center; }

/* ── Speaker detail page ─────────────────── */
.sot-sp-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.sot-sp-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
}
.sot-sp-social      { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.sot-sp-meta-grid   { display: grid; gap: 14px; margin-top: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.sot-sp-meta-row    { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.sot-sp-bio         { margin-bottom: 48px; }
.sot-sp-tags        { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.sot-sp-video-list  { display: grid; gap: 16px; }
.sot-sp-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink-3);
  flex-shrink: 0;
  width: 140px;
}
.sot-sp-video-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sot-sp-video-info  { flex: 1; min-width: 0; }
.sot-sp-video-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.3;
}
.sot-sp-video-event { color: var(--muted); font-size: 10px; }
.sot-empty-state {
  padding: 80px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

/* ── Browse by Topics ────────────────────── */
.sot-az-nav {
  position: sticky;
  top: var(--header-h, 70px);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.sot-az-nav-list {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}
.sot-az-nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--fg);
  transition: background 0.15s, color 0.15s;
}
.sot-az-nav-link:hover { background: var(--accent-soft); color: var(--accent); }
.sot-az-nav-link.empty { color: var(--muted-2); pointer-events: none; }
.sot-az-section { padding: 64px 0 40px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h, 70px) + 54px); }
.sot-az-heading {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--fg);
  margin: 0 0 32px;
  user-select: none;
}
.sot-az-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.sot-az-topic { text-decoration: none; }
.sot-az-topic:hover .pill { border-color: var(--accent); color: var(--accent); }

/* ── Page transition curtain ─────────────── */
#sot-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform: translateY(0);
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: all;
}
#sot-transition.t-hide {
  transform: translateY(-100%);
  pointer-events: none;
}
#sot-transition.t-from-below {
  transform: translateY(100%);
  transition: none;
}
#sot-transition-disc {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 35% 35%, var(--accent-soft), transparent 65%);
  animation: discPulse 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.7);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
#sot-transition-disc.visible {
  transform: scale(1);
}
#sot-tc-logo {
  display: block;
  width: 96px;
  height: auto;
  animation: logoBreath 3s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}

/* ── Contact Form 7 ──────────────────────── */
.sot-form-wrap .wpcf7 input[type="text"],
.sot-form-wrap .wpcf7 input[type="email"],
.sot-form-wrap .wpcf7 input[type="tel"],
.sot-form-wrap .wpcf7 textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.sot-form-wrap .wpcf7 input:focus,
.sot-form-wrap .wpcf7 textarea:focus { border-color: var(--accent); }
.sot-form-wrap .wpcf7 input::placeholder,
.sot-form-wrap .wpcf7 textarea::placeholder { color: var(--muted-2); }
.sot-form-wrap .wpcf7 input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  width: auto;
}
.sot-form-wrap .wpcf7 input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -12px var(--accent-glow);
}
.sot-form-wrap .wpcf7 label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.sot-form-wrap .wpcf7 p { margin-bottom: 20px; }
.sot-form-wrap .wpcf7-not-valid-tip { color: #f87171; font-size: 12px; margin-top: 4px; }
.sot-form-wrap .wpcf7-response-output {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.sot-form-wrap .wpcf7-mail-sent-ok  { border-color: #4ade80; color: #4ade80; }
.sot-form-wrap .wpcf7-mail-sent-ng,
.sot-form-wrap .wpcf7-aborted       { border-color: #f87171; color: #f87171; }

/* ── Connect page contact info ───────────── */
.sot-contact-info { display: flex; flex-direction: column; gap: 32px; }
.sot-contact-item-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.sot-contact-item-value {
  font-size: 17px;
  color: var(--fg);
  margin: 0;
  line-height: 1.6;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 1024px) {
  .sot-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .sot-event-keyline { grid-template-columns: repeat(2, 1fr); }
  .sot-playlist-grid { grid-template-columns: 1fr; }
  .sot-about-grid { grid-template-columns: 1fr; }
  .sot-about-grid-home { grid-template-columns: 1fr !important; }
  .sot-tracks-grid { grid-template-columns: repeat(2, 1fr); }
  .sot-reg-grid { grid-template-columns: repeat(2, 1fr); }
  .sot-partners-grid { grid-template-columns: repeat(3, 1fr); }
  .sot-footer-grid { grid-template-columns: 1fr 1fr; }
  .sot-hero-disc { display: none !important; }
  .sot-hero-title { max-width: 100%; }
  .sot-programme-row { grid-template-columns: 100px 70px 1fr; }
  .sot-programme-speaker { display: none; }
  .sot-videos-grid { grid-template-columns: repeat(2, 1fr); }
  .sot-speaker-detail-grid { grid-template-columns: 1fr; }
  .sot-speaker-detail-portrait { position: static; }
  .sot-sp-detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .sot-sticky { position: static; }
  .sot-two-col { grid-template-columns: 1fr; }
  .sot-two-col--wide { grid-template-columns: 1fr; }
  .sot-partner-cell { flex: 0 0 calc(100% / 4); }
  .sot-video-featured { grid-template-columns: 1fr; }
  .sot-video-featured-meta { border-left: none; border-top: 1px solid var(--line); }
  /* Homepage playlist collapses to single col */
  .sot-playlist-section { grid-template-columns: 1fr !important; }
  .sot-playlist-sidebar { max-height: 300px !important; }
  /* Homepage sections */
  .sot-hero-body-home { max-width: 100%; }
  .sot-hero-disc-home { display: none !important; }
  .sot-hero-stats { gap: 24px; margin-top: 48px; }
  .sot-about { padding: 72px 0; }
  .sot-recs { padding: 80px 0; }
  .sot-cta { padding: 72px 0; }
  .sot-talks { padding: 60px 0 80px; }
  .sot-journey { padding: 72px 0; }
  .sot-journey-card { width: 320px; }
  .sot-stay { padding: 100px 0; }
}

@media (max-width: 640px) {
  .sot-speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .sot-videos-grid { grid-template-columns: 1fr; }
  .sot-tracks-grid { grid-template-columns: 1fr; }
  .sot-reg-grid { grid-template-columns: 1fr; }
  .sot-partners-grid { grid-template-columns: repeat(2, 1fr); }
  .sot-footer-grid { grid-template-columns: 1fr; }
  .sot-speaker-row { grid-template-columns: 44px 1fr 24px; }
  .sot-speaker-video-row { grid-template-columns: 80px 1fr 24px; }
  .sot-programme-row { grid-template-columns: 80px 1fr; }
  .sot-event-row { grid-template-columns: 60px 1fr 24px; }
  .sot-mission-cards { grid-template-columns: 1fr; }
  /* Homepage mobile */
  .sot-hero-home { padding-block: 60px; min-height: auto; }
  .sot-hero-stats { gap: 20px; flex-wrap: wrap; }
  .sot-hero-stat-val { font-size: 26px; }
  .sot-mission-cards-grid { grid-template-columns: 1fr; }
  .sot-recs-header { margin-bottom: 40px; }
  .sot-talks-header { margin-bottom: 36px; }
  .sot-journey-header { margin-bottom: 32px; }
  .sot-journey-card { width: 80vw; }
  .sot-partner-cell { flex: 0 0 50%; }
  .sot-video-featured-meta { padding: 20px; }
  .sot-event-select { font-size: 10px; max-width: 100%; }
  .sot-stay { padding: 80px 0; }
  .sot-stay-ring-1 { width: 100vw; height: 100vw; }
  .sot-stay-ring-2 { width: 66vw; height: 66vw; }
  .sot-stay-sub { font-size: 16px; }
  .sot-stay-badges { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════
   SOT Talkies
   ═══════════════════════════════════════════ */

/* Featured two-col */
.sot-talkies-featured {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 56px;
  align-items: start;
}
.sot-talkies-featured-info { padding-top: 8px; }

/* Episode badge pill */
.sot-talkies-ep-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(46,91,255,0.3);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Guest avatar initials bubble */
.sot-talkies-guest-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(46,91,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

/* 4-col episodes grid */
.sot-talkies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Episode card */
.sot-talkies-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  color: var(--fg);
  display: block;
}
.sot-talkies-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.45);
}
.sot-talkies-card.active {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 9%, var(--surface));
}

/* Thumbnail */
.sot-talkies-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink-3);
  overflow: hidden;
}
.sot-talkies-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}
.sot-talkies-card:hover .sot-talkies-card-thumb img { transform: scale(1.05); }

/* Play button (grid cards) */
.sot-talkies-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  border: none;
  width: 100%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s var(--ease), background 0.25s;
}
.sot-talkies-card:hover .sot-talkies-play-btn { opacity: 1; }
.sot-talkies-play-btn > svg {
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Play overlay (homepage teaser — always visible) */
.sot-talkies-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.22);
  opacity: 0;
  transition: opacity 0.25s var(--ease), background 0.25s;
}
.sot-talkies-card:hover .sot-talkies-play-overlay { opacity: 1; background: rgba(0,0,0,0.4); }
.sot-talkies-play-overlay > svg {
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Card body */
.sot-talkies-card-body { padding: 16px; }

/* About section centred copy */
.sot-talkies-about { max-width: 72ch; }

/* Homepage teaser — 3-col grid */
.sot-talkies-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Responsive */
@media (max-width: 1100px) {
  .sot-talkies-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .sot-talkies-featured { grid-template-columns: 1fr; gap: 32px; }
  .sot-talkies-grid { grid-template-columns: repeat(2, 1fr); }
  .sot-talkies-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .sot-talkies-grid { grid-template-columns: 1fr; }
  .sot-talkies-teaser-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   Past Event Detail (template-past-event.php)
   ═══════════════════════════════════════════ */

/* ── Schedule header ─────────────────────── */
.sot-pe-schedule-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Timezone toggle */
.sot-pe-tz-toggle {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px;
  flex-shrink: 0;
}
.sot-pe-tz-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--muted);
  padding: 6px 16px;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sot-pe-tz-btn.active { background: var(--accent); color: #fff; }

/* ── Day columns ─────────────────────────── */
.sot-pe-days {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr));
  gap: 40px;
  align-items: start;
}

.sot-pe-day-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 56px;
  background: var(--bg);
  z-index: 3;
}
.sot-pe-day-date {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* ── Session card ────────────────────────── */
.sot-pe-session {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}
.sot-pe-session:last-child { margin-bottom: 0; }
.sot-pe-session:hover { border-color: var(--line-strong); }

/* Parallel: accent left stripe */
.sot-pe-session--parallel { border-left: 3px solid var(--accent); }

/* ── Time bar (top of card) ──────────────── */
.sot-pe-session-time {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line);
}
.sot-pe-time-pkt,
.sot-pe-time-gmt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.sot-pe-time-pkt em,
.sot-pe-time-gmt em {
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 3px;
}
.sot-pe-time-gmt { display: none; }
.sot-pe-schedule[data-tz="gmt"] .sot-pe-time-pkt { display: none; }
.sot-pe-schedule[data-tz="gmt"] .sot-pe-time-gmt { display: inline; }

/* ── Activity body ───────────────────────── */
.sot-pe-session-body {
  padding: 14px 16px;
}
.sot-pe-session-body + .sot-pe-session-body {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* Break / logistical sessions — subdued */
.sot-pe-session-body--break { opacity: 0.6; }
.sot-pe-session-body--break .sot-pe-session-title {
  font-size: 13px;
  font-weight: 500;
}

/* ── Session meta (type + theme pills) ───── */
.sot-pe-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}

/* ── Session title ───────────────────────── */
.sot-pe-session-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--fg);
}

/* ── Parallel badge ──────────────────────── */
.sot-pe-parallel-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  border-radius: 3px;
  padding: 1px 7px;
  vertical-align: middle;
}

/* ── Abstract <details> ──────────────────── */
.sot-pe-abstract { margin-bottom: 10px; }
.sot-pe-abstract summary {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
}
.sot-pe-abstract summary::-webkit-details-marker { display: none; }
.sot-pe-abstract summary::before {
  content: '▶';
  font-size: 8px;
  transition: transform 0.2s;
}
.sot-pe-abstract[open] summary::before { transform: rotate(90deg); }
.sot-pe-abstract-body {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Participants ────────────────────────── */
.sot-pe-participants {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.sot-pe-participant-row {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.sot-pe-participant-row a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s, border-color 0.15s;
}
.sot-pe-participant-row a:hover { border-color: var(--accent); color: var(--accent); }
.sot-pe-role-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  padding: 1px 6px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── Venue line ──────────────────────────── */
.sot-pe-session-venue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  opacity: 0.8;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 860px) {
  .sot-pe-days { grid-template-columns: 1fr; gap: 0; }
  .sot-pe-day  { margin-top: 40px; }
  .sot-pe-day:first-child { margin-top: 0; }
  .sot-pe-day-header { top: 48px; }
}

/* ═══════════════════════════════════════════
   Fix #3 — City hero keyline: 4-col → 2-col → 1-col
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .sot-hero-keyline {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
  }
  .sot-hero-keyline > div {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    padding: 16px 0 !important;
  }
}
@media (max-width: 480px) {
  .sot-hero-keyline {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════
   Fix #8 — Social icon tap targets (min 44×44px)
   ═══════════════════════════════════════════ */
.sot-footer-social-link {
  padding: 10px;
  margin: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 37px;
  min-height: 37px;
}

/* ═══════════════════════════════════════════
   Fix #4 — Respect prefers-reduced-motion
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  /* Kill all CSS animations and transitions */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Keep the loader functional — hide it instantly */
  #sot-transition {
    transition: none !important;
  }
  #sot-transition.t-hide {
    display: none !important;
  }
  /* Stop the marquee */
  .marquee { animation: none !important; overflow: hidden; }
  /* Stop disc animations */
  #sot-transition-disc,
  .sot-hero-disc { animation: none !important; }
  /* Stop scroll-progress bar animation */
  .scroll-progress { transition: none !important; }
}

/* ═══════════════════════════════════════════
   SOT XX 2026 City Landing Pages
   ═══════════════════════════════════════════ */

/* CTA strip — left-align when three-city layout is active */
.sot-cta-inner { text-align: left; }

/* Edition card (Other Editions section) */
.sot-edition-card { color: var(--fg); }
.sot-edition-card:hover { border-color: var(--accent) !important; }

/* City cards on cta-event: 3-col → 1-col on mobile */
@media (max-width: 860px) {
  .sot-cta-inner > div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  .sot-cta-inner > div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  /* Edition cards: 2-col → 1-col */
  .sot-edition-card { padding: 24px !important; }
}

/* ═══════════════════════════════════════════
   Comprehensive UX pass — readability, mobile, polish
   ═══════════════════════════════════════════ */

/* ── #6 Readability: raise muted opacity ──── */
:root {
  --muted:   rgba(242, 239, 230, 0.72);
  --muted-2: rgba(242, 239, 230, 0.60);
}
[data-theme="light"] {
  --muted:   rgba(10, 14, 20, 0.65);
  --muted-2: rgba(10, 14, 20, 0.50);
}

/* ── #14 Programme kind: capitalize labels ── */
.sot-programme-kind { text-transform: capitalize !important; }

/* ── #12 City card CSS hover ────────────────
   Replaces onmouseenter/onmouseleave JS handlers in cta-event.php */
.sot-city-card {
  display: block;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: var(--ink-2);
  transition: border-color 0.2s, background 0.2s;
  color: var(--fg);
}
.sot-city-card:hover {
  border-color: var(--accent);
  background: var(--ink-3);
  color: var(--fg);
}

/* ── #15 Hero heading: cap at 180px ──────── */
.sot-hero-city-name,
[class*="sot-hero"] h1,
[class*="sot-hero"] .display {
  max-font-size: 180px;
}
/* Specific override for city template inline heading */
@media (min-width: 1200px) {
  .sot-hero-city-name { font-size: clamp(72px, 12vw, 180px) !important; }
}

/* ── #7 Playlist sidebar: better mobile height */
@media (max-width: 1024px) {
  .sot-playlist-sidebar {
    max-height: 60vh !important;
    overflow-y: auto;
  }
}

/* ── Mobile: 768px supplemental ─────────────
   Catch anything the 1024px block misses */
@media (max-width: 768px) {
  /* Topnav: tighten padding on tablets */
  .topnav-inner { padding-inline: 20px; }
  /* Hero sections: reduce vertical padding */
  .sot-hero { padding-block: 80px 56px; }
  /* At a Glance / stat strip: always 2-col */
  .sot-stats-strip { grid-template-columns: repeat(2, 1fr) !important; }
  /* Programme time col: hide seconds on tablet */
  .sot-programme-kind { font-size: 10px; }
  /* CTA register row: stack on tablet */
  .sot-cta-register-row { flex-direction: column !important; align-items: flex-start !important; }
}

/* ── Mobile: 480px ────────────────────────── */
@media (max-width: 480px) {
  /* Hero: compact */
  .sot-hero { padding-block: 36px 40px; }
  .sot-hero-eyebrow { font-size: 10px !important; }

  /* Nav: very tight */
  .topnav-inner { padding: 10px 16px; }
  .topnav-logo img { height: 28px !important; }

  /* Programme rows: stack to single column */
  .sot-programme-row {
    grid-template-columns: 1fr !important;
    gap: 4px;
    padding: 14px !important;
  }
  .sot-programme-time { display: inline; font-size: 11px; }

  /* Footer: always single column */
  .sot-footer-grid { grid-template-columns: 1fr !important; }
  .sot-footer-brand { max-width: 100%; }

  /* City cards: single column */
  .sot-city-card { padding: 24px; }
  .sot-cta-inner > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Tracks grid: 2-col stays fine; reduce gap */
  .sot-tracks-grid { gap: 12px; }

  /* Partners: 2-col */
  .sot-partners-grid { grid-template-columns: repeat(2, 1fr); }

  /* Speaker rows: tighten */
  .sot-speakers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Countdown: scale down values */
  [data-countdown] { gap: 12px !important; }
  [data-countdown] > div > div:first-child {
    font-size: clamp(32px, 10vw, 56px) !important;
  }

  /* Buttons: slightly smaller */
  .btn { padding: 12px 18px; font-size: 13px; }
  .btn.btn-primary { padding: 12px 20px; }

  /* Stat strip: 2-col at 480px (already set, reinforce) */
  .sot-hero-stats { gap: 16px; }
  .sot-hero-stat-val { font-size: 24px; }

  /* Programme tab switcher */
  .sot-programme-tabs { gap: 6px !important; flex-wrap: wrap; }
  .sot-programme-tabs .pill { font-size: 10px; padding: 5px 10px; }

  /* Event edition cards: full width */
  .sot-edition-cards { grid-template-columns: 1fr !important; }
  .sot-edition-card { padding: 24px !important; }
}

/* ── Mobile: 360px ────────────────────────── */
@media (max-width: 380px) {
  /* Shell: tightest padding */
  .shell { padding-inline: 14px; }

  /* Hero keyline: single column at very small */
  .sot-hero-keyline { grid-template-columns: 1fr !important; }

  /* Stat strip: 1-col */
  .sot-stats-strip { grid-template-columns: 1fr !important; }

  /* Buttons: full-width on tiny screens */
  .sot-hero .btn { width: 100%; justify-content: center; }

  /* Footer bottom bar: stack */
  .sot-footer-bottom { flex-direction: column !important; gap: 12px !important; text-align: center; }
  .sot-footer-cities { display: none; }
}

/* ═══════════════════════════════════════════
   Events Archive Page (template-events-by-year.php)
   ═══════════════════════════════════════════ */

/* Suppress legacy Mikado page title banner on archive page */
.page-template-template-events-by-year .mkdf-title-holder { display: none !important; }
.page-template-template-events-by-year .mkdf-content { background: var(--bg) !important; }
.page-template-template-events-by-year .mkdf-container { background: var(--bg) !important; }
.page-template-template-events-by-year .mkdf-sidebar-holder { display: none !important; }
.page-template-template-events-by-year .mkdf-page-content-holder-inner { padding: 0 !important; }
.page-template-template-events-by-year .mkdf-main-content { background: var(--bg) !important; }

/* Archive grid — 4 cols desktop */
.sot-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Archive card */
.sot-archive-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.25s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.sot-archive-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.45);
  color: var(--fg);
}
.sot-archive-card--stub { opacity: 0.7; }
.sot-archive-card--stub:hover { transform: none; box-shadow: none; border-color: var(--line-strong); }

/* Thumbnail */
.sot-archive-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink-3);
}
.sot-archive-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}
.sot-archive-card:hover .sot-archive-card-thumb img { transform: scale(1.05); }

/* Play arrow overlay on hover */
.sot-archive-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.32);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  color: #fff;
}
.sot-archive-card:hover .sot-archive-card-play { opacity: 1; }

/* Body */
.sot-archive-card-body { padding: 14px 16px 16px; }

/* Responsive */
@media (max-width: 1100px) { .sot-archive-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .sot-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 380px)  { .sot-archive-grid { grid-template-columns: 1fr; } }

/* ── Homepage journey card: cover image ──── */
.sot-journey-card-img {
  position: relative;
  overflow: hidden;
}
.sot-journey-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.45s var(--ease);
}
.sot-journey-card:hover .sot-journey-card-cover { transform: scale(1.06); }

/* ═══════════════════════════════════════════════════════════════
   [sot_programme] shortcode — wrapper context styles
   ═══════════════════════════════════════════════════════════════ */

.sot-prog-wrap {
  padding: 40px 0;
  background: var(--bg);
  border-radius: var(--radius-lg);
}

.sot-prog-wrap .sot-pe-day-header {
  top: 0;
  background: var(--bg);
}

.sot-prog-wrap .sot-pe-session-title {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: -0.02em;
}

.sot-prog-wrap .sot-pe-days {
  width: 100%;
}


/* ═══════════════════════════════════════════════════════════════
   Heading Color Fix
   modules.min.css sets h1-h4 { color:#191919 } — near-black,
   invisible on the dark SOT site. Override globally here.
   ═══════════════════════════════════════════════════════════════ */

/* Global: all headings use the foreground design token */
body h1, body h2, body h3, body h4, body h5, body h6 {
  color: var(--fg);
}

/* mkdf section-title components: inherit from context
   so any parent color override propagates through correctly */
.mkdf-st-title,
.mkdf-st-title-label,
.mkdf-st-title .mkdf-st-title-mark,
.mkdf-st-title-label .mkdf-st-title-mark,
h2.mkdf-st-title > span.mkdf-st-title-mark {
  color: inherit;
}

/* SOT hero and named dark sections */
[class*="sot-hero"] h1,
[class*="sot-hero"] h2,
[class*="sot-hero"] h3,
[class*="sot-hero"] h4,
[class*="sot-section"] h1,
[class*="sot-section"] h2,
[class*="sot-section"] h3,
[class*="sot-section"] h4 {
  color: var(--fg);
}

/* VC page-builder rows with inline dark background */
[style*="background-color:#0A0E14"] h1,
[style*="background-color:#0A0E14"] h2,
[style*="background-color:#0A0E14"] h3,
[style*="background-color:#0A0E14"] h4,
[style*="background-color: #0A0E14"] h1,
[style*="background-color: #0A0E14"] h2,
[style*="background-color: #0A0E14"] h3,
[style*="background-color: #0A0E14"] h4,
[style*="background-color:#11161F"] h1,
[style*="background-color:#11161F"] h2,
[style*="background-color:#11161F"] h3,
[style*="background-color:#11161F"] h4,
[style*="background-color: #11161F"] h1,
[style*="background-color: #11161F"] h2,
[style*="background-color: #11161F"] h3,
[style*="background-color: #11161F"] h4 {
  color: var(--fg);
}

/* ============================================================
   SOT PROGRAMME — REDESIGNED SCHEDULE STYLES
   Overrides the base .sot-pe-* block (lines 2841-3082).
   All selectors mapped to actual shortcode HTML class names.
   ============================================================ */

.sot-prog-wrap {
  background: #0d0d0d;
  padding: 2rem 0;
}

/* --- Day header --- */
.sot-pe-day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(90deg, rgba(0,188,212,0.10), transparent);
  border-bottom: none;
  border-left: 3px solid #00bcd4;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.5rem;
}

/* "Day N" label — span.mono inside the header */
.sot-pe-day-header .mono {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00bcd4;
  font-family: 'Courier New', monospace;
}

.sot-pe-day-date {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #ffffff;
  margin-left: auto;
}

/* --- Time bar (top strip of each session card) ---
   HTML: .sot-pe-session-time > span.sot-pe-time-pkt + span.sot-pe-time-gmt + span.sot-pe-parallel-badge
   Use order to place the flex::after line between time and badge. */
.sot-pe-session-time {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  background: transparent;
  border-bottom: none;
  padding: 0;
}

.sot-pe-time-pkt,
.sot-pe-time-gmt {
  font-size: 0.82rem;
  font-weight: 700;
  color: #00bcd4;
  letter-spacing: 0.04em;
  font-family: 'Courier New', monospace;
  white-space: nowrap;
  text-transform: none;
  order: 1;
}

/* Timezone label (em inside time span) */
.sot-pe-time-pkt em,
.sot-pe-time-gmt em {
  font-style: normal;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 3px;
}

/* Horizontal rule sits between time and parallel badge via order */
.sot-pe-session-time::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.06);
  order: 2;
}

/* Parallel badge — pushed to right end */
.sot-pe-parallel-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00bcd4;
  border: 1px solid rgba(0,188,212,0.3);
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  vertical-align: unset;
  order: 3;
}

/* --- Session card --- */
.sot-pe-session {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 2px solid rgba(0,188,212,0.45);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.6rem;
  overflow: visible;
  transition: border-left-color 0.2s ease;
}

.sot-pe-session:hover {
  border-color: rgba(255,255,255,0.07);
  border-left-color: #00bcd4;
}

/* Parallel sessions share the same stripe style */
.sot-pe-session--parallel {
  border-left: 2px solid rgba(0,188,212,0.45);
}

/* Break / logistical sessions — subdued */
.sot-pe-session-body--break {
  opacity: 0.55;
}

/* Session body has no internal padding — card has it already */
.sot-pe-session-body {
  padding: 0;
}

.sot-pe-session-body + .sot-pe-session-body {
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(255,255,255,0.07);
}

/* --- Session meta (pills row) --- */
.sot-pe-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

/* All pills — base style */
.sot-pe-session-meta .pill {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: 'Courier New', monospace;
}

/* Session type pill (no inline style) — accented */
.sot-pe-session-meta .pill:not([style]) {
  border: 1px solid rgba(0,188,212,0.35);
  color: rgba(0,188,212,0.85);
  background: rgba(0,188,212,0.05);
}

/* Dimension/theme pill (has inline style from PHP) — muted */
.sot-pe-session-meta .pill[style] {
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.38);
  background: transparent;
}

/* --- Session title --- */
.sot-pe-session-title {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
  letter-spacing: 0;
  margin: 0 0 0.75rem;
}

.sot-pe-session-title a {
  color: inherit;
  text-decoration: none;
}

.sot-pe-session-title a:hover {
  color: rgba(255,255,255,0.85);
}

/* --- Participants --- */
.sot-pe-participants {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.sot-pe-participant-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
}

/* Role chip */
.sot-pe-role-label {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.6;
  vertical-align: baseline;
  margin-right: 0;
  font-family: 'Courier New', monospace;
}

/* Speaker links */
.sot-pe-participant-row a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color 0.15s, border-color 0.15s;
}

.sot-pe-participant-row a:hover {
  color: #00bcd4;
  border-bottom-color: rgba(0,188,212,0.4);
}

/* --- Venue line
   No .sot-pe-card-footer wrapper exists in HTML.
   Top border on the venue itself creates separation. */
.sot-pe-session-venue {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-top: 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  width: 100%;
  opacity: 1;
  font-family: 'Courier New', monospace;
}

.sot-pe-session-venue svg {
  color: rgba(0,188,212,0.45);
  flex-shrink: 0;
}

/* --- Abstract <details>/<summary> --- */
.sot-pe-abstract {
  margin-bottom: 0.5rem;
}

/* Abstract expand toggle — maps to <summary> inside <details> */
.sot-pe-abstract summary {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,188,212,0.55);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.15s;
  font-family: 'Courier New', monospace;
}

.sot-pe-abstract summary:hover {
  color: #00bcd4;
}

.sot-pe-abstract-body {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  padding: 0.65rem 0 0;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-left: none;
  background: none;
  border-radius: 0;
}

/* --- Mobile --- */
@media (max-width: 767px) {
  .sot-pe-day-date {
    font-size: 0.85rem;
  }

  .sot-pe-session {
    padding: 0.85rem 0.95rem;
  }

  .sot-pe-session-title {
    font-size: 0.88rem;
  }

  .sot-pe-participant-row {
    font-size: 0.78rem;
  }

  .sot-pe-session-venue {
    padding-top: 0.5rem;
  }
}

/* ============================================================
   END PROGRAMME STYLES
   ============================================================ */

/* =============================================
   SOT PROGRAMME — VISUAL REFRESH v3
   Appended to bottom of style_child.css.
   All selectors verified against live HTML.
   ============================================= */

/* === OVERALL WRAPPER === */
.sot-prog-wrap {
  background: #0d0d0d;
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* === DAY HEADER ===
   .sot-pe-day-header exists.
   "Day N" label: span.mono inside header (no sot-pe-day-label class in HTML).
   Date: .sot-pe-day-date */
.sot-pe-day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  margin: 2.5rem 0 1.25rem;
  background: rgba(0,188,212,0.06);
  border-left: 3px solid #00bcd4;
  border-top: 1px solid rgba(0,188,212,0.15);
  border-bottom: 1px solid rgba(0,188,212,0.15);
  border-right: none;
  border-radius: 0;
  top: 56px;
}

/* "Day N" label — span.mono (remapped from sot-pe-day-label) */
.sot-pe-day-header .mono {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00bcd4;
}

.sot-pe-day-date {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
  margin-left: auto;
}

/* === TIME BAR ===
   Actual class: .sot-pe-session-time (INSIDE each session card).
   No sot-pe-time-block or sot-pe-time-header class exists in HTML.
   Time spans: .sot-pe-time-pkt.mono and .sot-pe-time-gmt.mono
   Timezone label: <em> inside those spans.
   ::after + order trick: line sits between time and parallel badge. */
.sot-pe-session-time {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  background: transparent;
  border-bottom: none;
  margin-bottom: 0.65rem;
}

.sot-pe-time-pkt,
.sot-pe-time-gmt {
  font-size: 0.82rem;
  font-weight: 700;
  color: #00bcd4;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: none;
  order: 1;
}

/* Timezone em label (remapped from sot-pe-tz) */
.sot-pe-time-pkt em,
.sot-pe-time-gmt em {
  font-style: normal;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.28);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 3px;
}

/* Horizontal rule — order:2 places it between time (order:1) and badge (order:3) */
.sot-pe-session-time::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
  order: 2;
}

/* Parallel badge */
.sot-pe-parallel-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00bcd4;
  border: 1px solid rgba(0,188,212,0.3);
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  vertical-align: unset;
  order: 3;
}

/* === SESSION CARD ===
   .sot-pe-session exists; .sot-pe-session--parallel is the modifier.
   No sot-pe-time-block grouping — sessions are direct children of .sot-pe-day.
   ::before left accent bar replaces border-left. */
.sot-pe-session {
  padding: 1.1rem 1.25rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.05);
  border-left: none;
  border-radius: 0;
  background: #0d0d0d;
  margin-bottom: 0;
  overflow: visible;
  position: relative;
  transition: none;
}

.sot-pe-session::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: rgba(0,188,212,0.25);
  border-radius: 0 2px 2px 0;
}

.sot-pe-session:hover {
  border-color: rgba(255,255,255,0.05);
}

/* Parallel sessions: stronger accent bar */
.sot-pe-session--parallel::before {
  background: rgba(0,188,212,0.5);
}

/* Adjacent sessions — alternate bg tint + dashed divider */
.sot-pe-session + .sot-pe-session {
  background: #0f0f0f;
  border-top: 1px dashed rgba(255,255,255,0.06);
}

.sot-pe-session:nth-child(3),
.sot-pe-session:nth-child(4) {
  background: #111111;
}

/* Session body: card padding already handles spacing */
.sot-pe-session-body {
  padding: 0;
}

.sot-pe-session-body + .sot-pe-session-body {
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(255,255,255,0.07);
}

/* Break / logistical sessions */
.sot-pe-session-body--break {
  opacity: 0.4;
}

/* === PILLS ROW ===
   Remapped: sot-pe-pills → .sot-pe-session-meta
             sot-pe-pill  → span.pill inside .sot-pe-session-meta
             sot-pe-pill--type → .pill:not([style])
             sot-pe-pill--dimension → .pill[style] */
.sot-pe-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.sot-pe-session-meta .pill {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  line-height: 1.5;
  font-family: 'Courier New', monospace;
}

/* Session type pill — no inline style override */
.sot-pe-session-meta .pill:not([style]) {
  border: 1px solid rgba(0,188,212,0.35);
  color: rgba(0,188,212,0.9);
  background: rgba(0,188,212,0.06);
}

/* Dimension/theme pill — has inline style from PHP */
.sot-pe-session-meta .pill[style] {
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.38);
  background: transparent;
}

/* === SESSION TITLE ===
   h3.sot-pe-session-title — !important needed because parent theme
   modules.min.css sets h1-h4{color:#191919} and we can't edit that file. */
.sot-pe-session-title {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff !important;
  line-height: 1.45;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.sot-pe-session-title a {
  color: #ffffff !important;
  text-decoration: none;
}

/* === PARTICIPANTS ===
   Remapped: sot-pe-people → .sot-pe-participants
             sot-pe-person-row → .sot-pe-participant-row
             sot-pe-role-chip → .sot-pe-role-label
             sot-pe-person-name → .sot-pe-participant-row a (no person-name class) */
.sot-pe-participants {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.sot-pe-participant-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

/* Role chip — !important overrides the existing specificity from the 2841-3082 block */
.sot-pe-role-label {
  font-size: 0.63rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: math-auto !important;
  color: rgba(255,255,255,1) !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  padding: 2px 6px !important;
  border-radius: 3px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1.6 !important;
  vertical-align: baseline;
  margin-right: 0;
  font-family: 'Montserrat';
}

/* Person name — speaker links (no sot-pe-person-name class in HTML) */
.sot-pe-participant-row a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color 0.15s, border-color 0.15s;
}

.sot-pe-participant-row a:hover {
  color: #00bcd4;
  border-bottom-color: rgba(0,188,212,0.35);
}

/* === VENUE ===
   Remapped: sot-pe-venue → .sot-pe-session-venue
             sot-pe-card-footer → doesn't exist; top-border on venue creates separation.
   ::before cyan dot replaces the SVG pin icon (SVG is hidden).
   !important overrides existing .sot-pe-session-venue rules from lines 3064-3077. */
.sot-pe-session-venue {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.75) !important;
  opacity: 1 !important;
  margin-top: 0.5rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  width: 100%;
  font-family: monospace;
}

.sot-pe-session-venue::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0,188,212,0.4);
  flex-shrink: 0;
}

/* Hide SVG pin — cyan dot ::before takes its place */
.sot-pe-session-venue svg {
  display: none;
}

/* === ABSTRACT ===
   details.sot-pe-abstract and div.sot-pe-abstract-body exist.
   Toggle: <summary> inside <details> (no sot-pe-abstract-toggle class).
   !important overrides .sot-pe-abstract summary{color:var(--accent)} from old block. */
.sot-pe-abstract {
  margin-bottom: 0.5rem;
}

.sot-pe-abstract summary {
  font-family: monospace !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(0,188,212,0.85) !important;
  cursor: pointer !important;
  list-style: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  transition: color 0.15s !important;
}

.sot-pe-abstract summary:hover {
  color: #00bcd4 !important;
}

.sot-pe-abstract-body {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  padding: 0.65rem 0 0;
  margin-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-left: none;
  background: none;
  border-radius: 0;
}

/* === MOBILE === */
@media (max-width: 767px) {
  .sot-prog-wrap {
    padding: 1rem 0.75rem;
  }

  .sot-pe-day-date {
    font-size: 0.85rem;
  }

  .sot-pe-session-title {
    font-size: 0.9rem;
  }

  .sot-pe-participant-row {
    font-size: 0.78rem;
  }

  .sot-pe-session-venue {
    padding-top: 0.4rem;
  }
}

/* =============================================
   END SOT PROGRAMME VISUAL REFRESH v3
   ============================================= */

/* =============================================
   JOURNEY SLIDER — ENHANCED INTERACTION
   Scrollable element: .sot-journey-track-wrap
   Cards: .sot-journey-card (380px, snap:start)
   ============================================= */

/* Section needs position:relative for arrow buttons */
.sot-journey {
  position: relative;
}

/* === SCROLLABLE WRAPPER ===
   Was: overflow-x:auto, visible 4px scrollbar, cursor:grab.
   Now: hidden scrollbar, smooth scroll, padding for cards to breathe. */
.sot-journey-track-wrap {
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
  padding-bottom: 0;

  /* Hide scrollbar — all browsers */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sot-journey-track-wrap::-webkit-scrollbar {
  display: none;
}

.sot-journey-track-wrap:active {
  cursor: grabbing;
}

/* is-dragging class added by JS during mouse drag */
.sot-journey-track-wrap.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

/* === CARD — mobile shrink ===
   Desktop stays 380px (already set).
   Mobile: 85vw so one card almost fills the viewport. */
@media (max-width: 768px) {
  .sot-journey-card {
    width: 85vw;
  }
}

/* === ARROW BUTTONS ===
   Injected into .sot-journey by JS.
   Positioned relative to .sot-journey (position:relative above). */
.sot-journey-prev,
.sot-journey-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  backdrop-filter: blur(4px);
  line-height: 1;
}

.sot-journey-prev { left: 0.5rem; }
.sot-journey-next { right: 0.5rem; }

.sot-journey-prev:hover,
.sot-journey-next:hover {
  background: rgba(0,188,212,0.15);
  border-color: rgba(0,188,212,0.4);
}

/* Hide arrows on mobile — swipe is enough */
@media (max-width: 768px) {
  .sot-journey-prev,
  .sot-journey-next {
    display: none;
  }
}

/* === PROGRESS BAR ===
   Injected after .sot-journey-track-wrap by JS. */
.sot-journey-progress {
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin: 16px var(--gutter) 0;
  overflow: hidden;
}

.sot-journey-progress-bar {
  height: 100%;
  background: #00bcd4;
  border-radius: 2px;
  transition: width 0.15s ease;
  width: 0%;
}

/* =============================================
   END JOURNEY SLIDER STYLES
   ============================================= */

/* =============================================
   JOURNEY — STATIC GRID (replaces slider)
   Wrapper changed from track-wrap/track to
   .sot-journey-grid. Shows 4 cards max.
   ============================================= */

/* 4-column grid on desktop */
.sot-journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 var(--gutter);
}

/* 2 columns on tablet */
@media (max-width: 1024px) {
  .sot-journey-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* 1 column on mobile */
@media (max-width: 640px) {
  .sot-journey-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Cards fill their grid cell — override the fixed 380px/320px/80vw widths
   set in the old slider CSS */
.sot-journey-grid .sot-journey-card {
  width: 100%;
}

/* =============================================
   END JOURNEY GRID
   ============================================= */


/* =============================================
   TOPNAV — DROPDOWN MENUS + SEARCH OVERLAY
   ============================================= */

/* ── Dropdown wrapper ── */
.topnav-item {
  position: relative;
}

.topnav-item > .topnav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topnav-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.topnav-item:hover .topnav-chevron,
.topnav-item.open  .topnav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── Dropdown panel ── */
.topnav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: color-mix(in oklab, var(--surface) 96%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

/* Arrow pointer */
.topnav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

/* Show on hover (desktop) and .open (JS toggle) */
.topnav-item:hover .topnav-dropdown,
.topnav-item:focus-within .topnav-dropdown,
.topnav-item.open .topnav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ── Dropdown items ── */
.topnav-dropdown-item {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.topnav-dropdown-item:hover { background: rgba(255,255,255,0.07); color: var(--fg); }
.topnav-dropdown-item.active { color: var(--fg); background: rgba(255,255,255,0.05); }

[data-theme="light"] .topnav-dropdown-item:hover  { background: rgba(0,0,0,0.05); color: var(--fg); }
[data-theme="light"] .topnav-dropdown-item.active { background: rgba(0,0,0,0.04); }

/* ── Search trigger button ── */
.topnav-search-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: inherit;
  line-height: inherit;
}

/* ── Mobile dropdown (accordion) ── */
@media (max-width: 900px) {
  .topnav-item { position: static; }

  .topnav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    pointer-events: auto;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 2px 0 2px 16px;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    display: block;
    transition: max-height 0.25s ease;
  }

  .topnav-dropdown::before { display: none; }

  .topnav-item.open .topnav-dropdown { max-height: 300px; }

  .topnav-item > .topnav-link {
    width: 100%;
    justify-content: space-between;
  }

  .topnav-dropdown-item { font-size: 13px; }
  .topnav-search-trigger { width: 100%; justify-content: flex-start; }
}

/* =============================================
   SITE-WIDE SEARCH OVERLAY
   ============================================= */

#sot-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,14,20,0.9);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(80px, 14vh, 150px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

#sot-search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sot-search-close {
  position: absolute;
  top: 20px;
  right: var(--gutter, 24px);
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.sot-search-close:hover { color: var(--fg); border-color: var(--fg); }

.sot-search-inner {
  width: 100%;
  max-width: 680px;
  padding: 0 var(--gutter, 24px);
}

.sot-search-label {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.sot-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 8px;
}

.sot-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: clamp(26px, 4vw, 44px);
  font-family: var(--font-display, sans-serif);
  font-weight: 500;
  color: var(--fg);
  caret-color: var(--accent);
  letter-spacing: -0.02em;
}

.sot-search-input::placeholder { color: rgba(255,255,255,0.25); }

/* Suppress native search clear/cancel buttons */
.sot-search-input::-webkit-search-cancel-button,
.sot-search-input::-webkit-search-decoration { display: none; }

.sot-search-submit {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 6px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.sot-search-submit:hover { color: var(--fg); }

.sot-search-hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* =============================================
   END TOPNAV DROPDOWN + SEARCH OVERLAY
   ============================================= */

/* ─────────────────────────────────────────────────────────────
   DROPDOWN GAP FIX
   top: 100% + padding-top bridges the hover gap so the panel
   doesn't vanish as the mouse moves from the link to the menu.
   ───────────────────────────────────────────────────────────── */
.topnav-dropdown {
  top: 100%;
  padding-top: 12px;
  transform: translateX(-50%) translateY(0); /* was translateY(-6px) */
}
.topnav-dropdown::before { top: 8px; } /* arrow sits inside the padding */

/* On show, no extra translateY needed (padding does the spacing) */
.topnav-item:hover .topnav-dropdown,
.topnav-item:focus-within .topnav-dropdown,
.topnav-item.open .topnav-dropdown {
  transform: translateX(-50%) translateY(0);
}

/* ─────────────────────────────────────────────────────────────
   SPEAKER IMAGES — source photos are 200×200px square.
   Switching from 4/5 portrait to 1/1 square ratio prevents
   upscaling in two directions, keeping images crisp.
   ───────────────────────────────────────────────────────────── */
.sot-speaker-card-img { aspect-ratio: 1 / 1; }
.sot-sp-portrait      { aspect-ratio: 1 / 1; }

/* ─────────────────────────────────────────────────────────────
   SPEAKER DETAIL PAGE — portrait capped at source image size
   Source photos are 200×200px; displaying larger causes blur.
   Grid left-col auto-sizes to the portrait max-width.
   ───────────────────────────────────────────────────────────── */
.sot-sp-detail-grid      { grid-template-columns: auto 1fr; gap: 48px; }
.sot-sp-portrait         { width: 201px; max-width: 100%; aspect-ratio: 1 / 1; }

@media (max-width: 760px) {
  .sot-sp-detail-grid    { grid-template-columns: 1fr; gap: 32px; }
  .sot-sp-portrait       { max-width: 160px; }
}

/* ─────────────────────────────────────────────────────────────
   MINI DISC — decorative spinning disc for mission/vision cards
   Echoes the hero disc at 64 px. Uses the global spinSlow keyframe.
   ───────────────────────────────────────────────────────────── */
.sot-mini-disc {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 35% 35%, var(--accent-soft), transparent 65%);
  overflow: visible;
}

/* ─────────────────────────────────────────────────────────────
   EVENT KEY VISUAL — full-width promotional banner
   ───────────────────────────────────────────────────────────── */
.sot-kv {
  position: relative;
  overflow: hidden;
  background: #000;
  display: block;
}
.sot-kv-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: cover;
  object-position: center top;
}
.sot-kv-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 80px var(--gutter) 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.28) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sot-kv-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sot-kv-btn {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .sot-kv-content {
    position: static;           /* pull out of the image, sit below it */
    background: rgba(0,0,0,0.92);
    padding: 20px 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .sot-kv-img {
    max-height: 56vw;           /* keeps image a reasonable height */
  }
}

/* ─────────────────────────────────────────────────────────────
   SCHEDULE MOBILE FIXES
   Prevents right-side overflow on narrow screens.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {

  .sot-prog-wrap {
    overflow-x: hidden;
    padding: 20px 0;
  }

  /* Time bar: wrap instead of overflow */
  .sot-pe-session-time {
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
  }
  .sot-pe-session-time::after {
    display: none;
  }

  /* Parallel badge drops to its own line */
  .sot-pe-parallel-badge {
    order: 4;
    margin-top: 0;
  }

  /* Day header: date wraps below label */
  .sot-pe-day-header {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
  }
  .sot-pe-day-date {
    margin-left: 0;
    width: 100%;
    font-size: 0.82rem;
  }

  /* Session card: tighter padding */
  .sot-pe-session {
    padding: 0.7rem 0.8rem;
    margin-bottom: 0.5rem;
  }

  /* Participant rows: wrap speaker names */
  .sot-pe-participant-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.25rem 0.4rem;
    font-size: 0.76rem;
  }

  .sot-pe-role-label {
    flex-shrink: 0;
  }

  .sot-pe-session-title {
    font-size: 0.85rem;
    margin-bottom: 0.55rem;
  }

  .sot-pe-session-meta {
    flex-wrap: wrap;
  }

  .sot-pe-schedule-header {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }

  /* Clip VC column wrappers so nothing bleeds right */
  .sot-prog-wrap,
  .wpb_text_column .wpb_wrapper {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ─────────────────────────────────────────────────────────────
   MOBILE REGISTER BUTTON (inside nav drawer)
   Hidden on desktop; appears at bottom of mobile menu panel.
   ───────────────────────────────────────────────────────────── */
.topnav-mobile-register {
  display: none;
}
@media (max-width: 900px) {
  .topnav-mobile-register {
    display: block;
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }
  .topnav-mobile-register .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* ─────────────────────────────────────────────────────────────
   HERO COUNTDOWN TIMER
   ───────────────────────────────────────────────────────────── */
.sot-countdown {
  margin: 0 0 36px;
}
.sot-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.sot-cd-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: cdDotPulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes cdDotPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}
.sot-countdown-units {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.sot-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 54px;
}
.sot-cd-val {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.sot-cd-lbl {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}
.sot-countdown-colon {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  color: var(--line-strong);
  line-height: 1.1;
  padding-bottom: 18px;
  align-self: flex-end;
}
@media (max-width: 600px) {
  .sot-countdown-unit { min-width: 42px; }
  .sot-countdown-colon { font-size: 24px; padding-bottom: 14px; }
}

/* ─────────────────────────────────────────────────────────────
   HERO DISC — MOBILE (≤1024px)
   Show smaller disc centered above the heading instead of hiding.
   Overrides the "display:none !important" set higher up.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sot-hero-disc-home {
    display: flex !important;  /* override display:none */
    width: 170px !important;
    height: 170px !important;
    position: absolute !important;
    top: 72px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
  /* Scale SVG rings to fill the smaller container */
  .sot-hero-disc-home svg {
    width: 100% !important;
    height: 100% !important;
  }
  /* Scale down the big "XX" numeral */
  .sot-hero-disc-home .sot-hero-disc-centre > div:nth-child(2) {
    font-size: 44px !important;
  }
  /* Push hero text down to clear the disc */
  .sot-hero-body-home {
    padding-top: 220px !important;
  }
}

/* Phones ≤480px — slightly smaller disc */
@media (max-width: 480px) {
  .sot-hero-disc-home {
    width: 130px !important;
    height: 130px !important;
    top: 68px !important;
  }
  .sot-hero-disc-home .sot-hero-disc-centre > div:nth-child(2) {
    font-size: 34px !important;
  }
  .sot-hero-body-home {
    padding-top: 180px !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   KV VIDEO BACKGROUND
   Replaces the static image with a looping muted video.
   ───────────────────────────────────────────────────────────── */

/* Give the section a fixed height now that the image is gone */
.sot-kv {
  height: 88vh;
  max-height: 720px;
  min-height: 380px;
}

.sot-kv-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.sot-kv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.sot-kv-content {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gutter);
  background: rgba(0,0,0,0.88);
}

/* ── Mobile video fixes ── */
@media (max-width: 768px) {
  .sot-kv-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .sot-kv-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    -webkit-media-controls: none;
    pointer-events: none;
  }
  .sot-kv-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px 20px;
  }
}
@media (max-width: 480px) {
}

/* ── Event page banner (vc_raw_html wrapper on sot-xx-islamabad) ── */
.sot-event-banner-video {
  position: relative;
  overflow: hidden;
  background: #000;
  height: 88vh;
  max-height: 720px;
  min-height: 380px;
  display: block;
}

/* ─────────────────────────────────────────────────────────────
   VIDEO BANNER — VC ROW CONTAINER FIX
   VC adds column wrappers with padding/overflow that collapse
   the video container on the event page. Force them to pass
   height through so the absolutely-positioned video fills correctly.
   ───────────────────────────────────────────────────────────── */
.sot-event-banner-row,
.sot-event-banner-row .vc_column-inner,
.sot-event-banner-row .wpb_wrapper,
.sot-event-banner-row .vc_col-sm-12 {
  padding: 0 !important;
  margin: 0 !important;
  height: 100%;
}

/* Mobile video — aspect-ratio:16/9 so video fills width without side cropping */
@media (max-width: 768px) {
  .sot-kv,
  .sot-event-banner-video {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 480px;
    min-height: 0;
  }
}
@media (max-width: 480px) {
  .sot-kv,
  .sot-event-banner-video {
    max-height: 320px;
  }
}

/* ─────────────────────────────────────────────────────────────
   FEATURED SPEAKERS MARQUEE
   ───────────────────────────────────────────────────────────── */
.sot-sm {
  overflow: hidden;
  padding-block: 64px;
  background: var(--ink-3, #0a0a0a);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.sot-sm-header {
  padding-bottom: 48px;
}
.sot-sm-row {
  overflow: hidden;
  display: flex;
  width: 100%;
  /* Soft fade-out on both edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}
.sot-sm-track {
  display: flex;
  gap: 14px;
  will-change: transform;
  flex-shrink: 0;
}
/* Both rows scroll at the same speed (40 s = ~86 px/s for 14 × 214 px tracks) */
.sot-sm-row--ltr .sot-sm-track {
  animation: sot-sm-ltr 40s linear infinite;
}
.sot-sm-row--rtl .sot-sm-track {
  animation: sot-sm-rtl 40s linear infinite;
}
@keyframes sot-sm-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes sot-sm-rtl {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
/* Pause on hover for the whole row */
.sot-sm-row:hover .sot-sm-track {
  animation-play-state: paused;
}
/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .sot-sm-track { animation: none !important; }
}
.sot-sm-card {
  flex-shrink: 0;
  width: 200px;
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.sot-sm-card:hover {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 8px 36px rgba(0,0,0,0.6);
}
.sot-sm-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sot-sm-card:hover .sot-sm-img {
  transform: scale(1.06);
}
.sot-sm-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 52px 14px 14px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.55) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sot-sm-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.sot-sm-des {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 768px) {
  .sot-sm { padding-block: 40px; gap: 10px; }
  .sot-sm-card { width: 150px; border-radius: 6px; }
  .sot-sm-img { width: 150px; height: 150px; }
  .sot-sm-track { gap: 10px; }
  .sot-sm-row--ltr .sot-sm-track,
  .sot-sm-row--rtl .sot-sm-track { animation-duration: 55s; }
}
@media (max-width: 480px) {
  .sot-sm { padding-block: 28px; gap: 8px; }
  .sot-sm-card { width: 120px; }
  .sot-sm-img { width: 120px; height: 120px; }
  .sot-sm-track { gap: 8px; }
  .sot-sm-name { font-size: 12px; }
  .sot-sm-row--ltr .sot-sm-track,
  .sot-sm-row--rtl .sot-sm-track { animation-duration: 70s; }
}
