/* =========================================================
   Laboratory Safety Network Annual Symposium 2026
   Studio Agency theme â€” dark + bold + orange accent
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg:        #0d0d0d;
  --bg-1:      #121212;
  --bg-2:      #181818;
  --bg-3:      #1f1f1f;
  --bg-card:   #161616;
  --bg-elev:   #1c1c1c;

  --text:      #f5f5f3;
  --text-soft: #d6d6d2;
  --text-mute: #8a8a86;
  --text-dim:  #5e5e5a;

  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent:        #ff4d1a;
  --accent-deep:   #e0411a;
  --accent-soft:   rgba(255, 77, 26, 0.15);
  --accent-glow:   rgba(255, 77, 26, 0.45);

  --lime:          #d8ff5a;
  --gold:          #f5d27a;

  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow:    0 18px 48px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 36px 100px rgba(0, 0, 0, 0.65);

  --radius-xs:   8px;
  --radius:      16px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  --container: 1240px;
  --header-h: 78px;
  --hero-sub-size: 22px;

  --font-display: 'Noto Sans Thai', 'Space Grotesk', 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Light theme override (kept for theme toggle) */
html[data-theme="light"] body {
  --bg:        #f4f1ec;
  --bg-1:      #efece6;
  --bg-2:      #e8e4dc;
  --bg-3:      #ddd9d1;
  --bg-card:   #ffffff;
  --bg-elev:   #ffffff;

  --text:      #0e0e0e;
  --text-soft: #2a2a28;
  --text-mute: #6b6b66;
  --text-dim:  #9a9a93;

  --border:        rgba(15, 15, 15, 0.10);
  --border-strong: rgba(15, 15, 15, 0.20);

  color-scheme: light;
}

html { color-scheme: dark; }

/* ---------- Reset ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section--tight { padding: 72px 0; }
.section--bg-1  { background: var(--bg-1); }
.section--bg-2  { background: var(--bg-2); }

/* Eyebrow / Tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 1.6s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .55; }
}

/* Display headings */
.section-title {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 18px 0 14px;
  color: var(--text);
}

#about .section-title {
  line-height: 1.21;
  margin-top: 0;
}

.section-subtitle {
  color: var(--text-mute);
  font-size: 16.5px;
  max-width: 640px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.gradient-text { color: var(--accent); }

.text-mute { color: var(--text-mute); }
.text-soft { color: var(--text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn--primary,
.btn--lime {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 48px rgba(255, 77, 26, 0.30);
}
.btn--primary:hover,
.btn--lime:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.btn--ghost,
.btn--outline-light {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover,
.btn--outline-light:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.btn--solid-dark {
  background: var(--text);
  color: var(--bg);
}
.btn--solid-dark:hover { background: var(--text-soft); }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(calc(100% - 32px), 1180px);
  height: var(--header-h);
  background: rgba(13, 13, 13, 0.50);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0 12px 0 22px;
  transition: background .25s var(--ease);
}

.site-header.scrolled {
  background: rgba(13, 13, 13, 0.62);
  box-shadow: none;
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.72);
}

/* Translucent blue glass lets the content behind the floating menu show through. */
.site-header.site-header--hero,
html[data-theme="light"] .site-header.site-header--hero {
  background: rgba(2, 22, 66, 0.55);
  border-color: rgba(182, 238, 255, 0.24);
  box-shadow: 0 10px 28px rgba(0, 10, 42, 0.14);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.site-header.site-header--hero.scrolled,
html[data-theme="light"] .site-header.site-header--hero.scrolled {
  background: rgba(2, 18, 52, 0.55);
  border-color: rgba(182, 238, 255, 0.18);
  box-shadow: 0 10px 28px rgba(0, 8, 34, 0.16);
}

.site-header--hero .brand-text strong,
.site-header--hero .nav-menu a,
.site-header--hero .icon-btn {
  color: #fff;
}

.site-header--hero .brand-text span { color: rgba(218, 247, 255, 0.72); }
.site-header--hero .icon-btn { border-color: rgba(205, 244, 255, 0.24); }
.site-header--hero .icon-btn:hover,
.site-header--hero .nav-menu a:hover,
.site-header--hero .nav-menu a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(205, 244, 255, 0.38);
}

.site-header--hero .brand-light,
html[data-theme="light"] .site-header--hero .brand-light { display: none; }
.site-header--hero .brand-dark,
html[data-theme="light"] .site-header--hero .brand-dark { display: block; }

/* Fallback when backdrop blur isn't supported (e.g. some browsers/settings) */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(13, 13, 13, 0.92);
  }
  .site-header.scrolled {
    background: rgba(13, 13, 13, 0.96);
  }
  html[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.92);
  }
  html[data-theme="light"] .site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
  }
  .site-header.site-header--hero,
  .site-header.site-header--hero.scrolled,
  html[data-theme="light"] .site-header.site-header--hero,
  html[data-theme="light"] .site-header.site-header--hero.scrolled {
    background: rgba(2, 18, 52, 0.96);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.nav > nav {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
}

.brand img {
  height: 46px;
  width: auto;
}

.brand-light { display: none; }
.brand-dark  { display: block; }
html[data-theme="light"] .brand-light { display: block; }
html[data-theme="light"] .brand-dark  { display: none; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.455;
  max-width: none;
  min-width: 0;
}

.brand-text strong {
  font-size: 14.375px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  font-size: 12.075px;
  color: var(--text-mute);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--text);
  background: var(--bg-3);
}

.nav-dropdown { position: relative; }

.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 200px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-submenu a {
  width: 100%;
  justify-content: flex-start;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.icon-btn:hover {
  background: var(--bg-3);
  border-color: var(--border-strong);
}

.icon-btn svg { width: 18px; height: 18px; }

.theme-toggle .sun  { display: block; }
.theme-toggle .moon { display: none; }
html[data-theme="light"] .theme-toggle .sun  { display: none; }
html[data-theme="light"] .theme-toggle .moon { display: block; }

.nav-cta {
  height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #031b4d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,15,54,.36) 0%, rgba(0,20,67,.08) 40%, rgba(0,17,55,.22) 100%),
    linear-gradient(90deg, rgba(0,13,48,.16), transparent 28%, transparent 72%, rgba(0,13,48,.16));
}

.hero-bg-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 0;
  opacity: 1;
  filter: saturate(1.04) contrast(1.02);
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.10'/%3E%3C/svg%3E");
  opacity: .16;
  mix-blend-mode: overlay;
}

.hero-effects,
.hero-motion-toggle { display: none; }

@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .hero-effects {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
  }

  .hero-effects-glow {
    position: absolute;
    inset: 30% -12% -10%;
    background:
      radial-gradient(ellipse at 52% 58%, rgba(45, 233, 255, .42), transparent 42%),
      radial-gradient(ellipse at 82% 82%, rgba(28, 255, 194, .3), transparent 38%);
    animation: hero-glow-drift 8s ease-in-out infinite alternate;
  }

  .hero-effects-flow {
    position: absolute;
    inset: 70% -30% -20%;
    background:
      repeating-linear-gradient(168deg, transparent 0 78px, rgba(72, 243, 255, .18) 80px, transparent 83px 160px),
      radial-gradient(ellipse at 40% 55%, rgba(30, 247, 219, .18), transparent 52%);
    animation: hero-energy-flow 12s ease-in-out infinite alternate;
  }

  .hero-effects-rays {
    position: absolute;
    inset: 38% 0 20%;
    background:
      linear-gradient(90deg, transparent 18%, rgba(95, 231, 255, .14) 18.1%, transparent 18.3%),
      linear-gradient(90deg, transparent 48%, rgba(116, 255, 242, .18) 48.1%, transparent 48.3%),
      linear-gradient(90deg, transparent 77%, rgba(95, 231, 255, .12) 77.1%, transparent 77.3%);
    mask-image: linear-gradient(transparent, #000 45%, transparent);
    -webkit-mask-image: linear-gradient(transparent, #000 45%, transparent);
    animation: hero-rays-rise 9s ease-in-out infinite alternate;
  }

  .hero-effects-spark {
    position: absolute;
    left: var(--spark-x);
    top: var(--spark-y);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c0ffff;
    box-shadow: 0 0 14px 3px rgba(69, 238, 255, .85);
    opacity: 0;
    animation: hero-spark-rise var(--spark-duration) linear var(--spark-delay) infinite;
  }

  .hero-landmark-effects {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .hero-landmark-twinkles circle {
    fill: #d9ffff;
    opacity: .08;
    filter: drop-shadow(0 0 4px #68edff);
    animation: hero-landmark-twinkle 4.8s ease-in-out infinite;
  }
  .hero-landmark-twinkles circle:nth-child(4n+1) { animation-delay: -1.6s; animation-duration: 5.7s; }
  .hero-landmark-twinkles circle:nth-child(4n+2) { animation-delay: -3.4s; animation-duration: 4.3s; }
  .hero-landmark-twinkles circle:nth-child(4n+3) { animation-delay: -.8s; animation-duration: 6.1s; }
  .hero-landmark-twinkles circle:nth-child(5n) { animation-delay: -2.7s; }

  .hero-science-halo {
    fill: none;
    stroke: #91ffff;
    stroke-width: 2;
    stroke-dasharray: 7 3 1 3;
    filter: drop-shadow(0 0 6px #1ef4ff);
    animation: hero-halo-orbit 18s linear infinite;
  }
  .hero-science-halo--second { animation-direction: reverse; animation-duration: 13s; }
  .hero-science-halo--third { stroke: #8bffcc; animation-duration: 16s; }
  .hero-science-halo--fourth { animation-direction: reverse; animation-duration: 22s; }

  .hero-energy-streams path {
    fill: none;
    stroke: #69ffef;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 130 520;
    filter: drop-shadow(0 0 7px #16dfff);
    animation: hero-energy-stream 5s linear infinite;
  }
  .hero-energy-streams path:nth-child(2) { stroke: #83dfff; animation-duration: 6s; animation-direction: reverse; }
  .hero-energy-streams path:nth-child(3) { animation-delay: -2.6s; animation-duration: 7s; }

  .hero-motion-ready .hero-motion-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: absolute;
    right: 24px;
    bottom: 20px;
    z-index: 4;
    padding: 9px 13px;
    border: 1px solid rgba(194, 246, 255, .28);
    border-radius: 999px;
    color: #e3fbff;
    background: rgba(2, 20, 61, .5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 12px;
  }

  .hero-motion-toggle:focus-visible { outline: 2px solid #c0ffff; outline-offset: 4px; }
}

.hero.is-motion-paused .hero-effects *,
.hero.is-motion-idle .hero-effects * { animation-play-state: paused; }

@keyframes hero-landmark-twinkle {
  0%, 65%, 100% { opacity: .08; }
  32% { opacity: .95; }
  45% { opacity: .4; }
}

@keyframes hero-halo-orbit { to { stroke-dashoffset: -28; } }
@keyframes hero-energy-stream { to { stroke-dashoffset: -650; } }

@keyframes hero-glow-drift {
  from { transform: translate3d(-2%, 2%, 0) scale(.96); opacity: .45; }
  to { transform: translate3d(2%, -2%, 0) scale(1.04); opacity: .9; }
}

@keyframes hero-energy-flow {
  from { transform: translate3d(-80px, 0, 0); }
  to { transform: translate3d(80px, 0, 0); }
}

@keyframes hero-rays-rise {
  from { transform: translate3d(0, 18px, 0); opacity: .25; }
  to { transform: translate3d(0, -24px, 0); opacity: .8; }
}

@keyframes hero-spark-rise {
  0% { transform: translate3d(0, 18px, 0); opacity: 0; }
  20% { opacity: .95; }
  75% { opacity: .65; }
  100% { transform: translate3d(24px, -120px, 0); opacity: 0; }
}

.hero-inner {
  position: absolute;
  top: calc(var(--header-h) + 58px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 24px;
  width: 100%;
  max-width: none;
  text-align: center;
  color: #fff;
}

#hero .hero-inner {
  bottom: max(32px, calc(100% - 100svh + 32px));
  grid-template-rows: auto 1fr;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  text-shadow: 0 2px 14px rgba(0,12,42,.234);
}

.hero-kicker {
  margin: 0;
  color: #bdf7ff;
  font-family: var(--font-display);
  font-size: clamp(11px, 1.05vw, 15px);
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-event-title {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: min(1.9vw, 42px);
  white-space: nowrap;
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: 1.28;
}

.hero-theme {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 1180px;
  margin: 2px 0 0;
  color: #c8fbff;
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 750;
  line-height: 1.5;
}

.hero-theme-en {
  color: #c8fbff;
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-theme-th {
  color: rgba(220, 248, 255, .84);
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 500;
  line-height: 1.5;
}

.hero-date-place {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 1.65vw, 28px);
  font-weight: 600;
  line-height: 1.45;
}

.hero-edition {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.hero-edition .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 1.6s var(--ease) infinite;
}

.hero-title {
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: 0.004em;
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-title--ai {
  position: relative;
  isolation: isolate;
}

@media (prefers-reduced-motion: reduce) {
  .hero-text-video {
    animation: none !important;
  }
}

.hero-title--small {
  font-size: 0.65em; /* -35% */
}

.hero-video-text {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s var(--ease);
  transform: translateZ(0);
}

.hero-video-text.is-ready {
  visibility: visible;
  opacity: 1;
}

.hero-video-fo {
  background: transparent;
  overflow: hidden;
  /* Bleed past foreignObject edge â€” fixes 1px Safari/iOS mask border artifact */
  margin: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
}

.hero-video-fo,
.hero-text-video {
  width: 100%;
  height: 100%;
}

.hero-text-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: translate3d(-3px, -5px, 0) scale(1.12);
  backface-visibility: hidden;
  filter: saturate(1.1) contrast(1.05);
  border: 0;
  outline: none;
}

.hero-desc {
  font-size: var(--hero-sub-size);
  max-width: 720px;
  margin: 0;
}

.hero-title .accent {
  color: var(--accent);
  font-style: normal;
}

.hero-title .line {
  display: block;
}

.hero-title .line { margin: 0; }

.hero-title .hero-line-plain {
  display: none;
}

.hero-title .hero-line-video {
  position: relative;
  height: 1.42em; /* +40% for FUTURE TRENDS line */
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
}

.hero-line-plain {
  color: var(--accent);
  line-height: 0.95;
}

@media (min-width: 769px) {
  .hero-title {
    gap: 6px;
    line-height: 0.82;
  }

  .hero-title .hero-line-video {
    height: 1.38em;
    margin: 2px 0 4px;
  }

  .hero-title--small {
    line-height: 1.05;
  }
}

.hero-title .hero-line-video .hero-video-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 36px;
  max-width: 720px;
}

.hero-meta-simple {
  margin-top: 22px;
  width: max-content;
  max-width: min(760px, 100%);
}

.hero-meta-line {
  font-size: var(--hero-sub-size);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-soft);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-meta-line + .hero-meta-line {
  margin-top: 6px;
  color: var(--text-mute);
  font-weight: 500;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 16px;
  border-left: 2px solid var(--border-strong);
}

.hero-meta-item span:first-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.hero-meta-item strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-cta .btn {
  height: 56px;
  padding: 0 30px;
  font-size: 15px;
}

/* ---------- Post-event resources ---------- */
.hero-resources-section {
  position: relative;
  align-self: end;
  width: 100%;
  z-index: 3;
  padding: 0;
  background: transparent;
}

.hero-resources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(660px, 100%);
  margin: 0 auto;
}

.hero-resource {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 16px 22px;
  border: 1px solid rgba(220,248,255,.5);
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0,12,43,.22);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hero-resource svg { width: 24px; height: 24px; flex: 0 0 auto; }
.hero-resource--certificate {
  color: #362309;
  border-color: #ffdc8e;
  background: linear-gradient(135deg, #ffe8ac, #efbd5a);
}
.hero-resource--photos {
  color: #fff;
  background: rgba(5,35,83,.9);
}
.hero-resource:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,12,43,.3); }
.hero-resource:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* ---------- Stats ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  padding: 56px 28px;
  position: relative;
  text-align: center;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--border);
}

.stat-item .num {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  display: block;
}

.stat-item .num small {
  font-size: 0.42em;
  color: var(--accent);
  margin-left: 4px;
  font-weight: 700;
}

.stat-item .label {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: .04em;
}

/* Old .stats fallback (used in some pages) */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.stat-card .stat-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.stat-card .num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-card .label {
  margin-top: 8px;
  color: var(--text-mute);
  font-size: 14px;
}

/* ---------- Section Heading row ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}

.section-head .section-subtitle { margin-bottom: 0; }

@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Service / Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.pillar {
  position: relative;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.pillar-media {
  height: 200px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 77, 26, 0.22), transparent 65%),
    linear-gradient(135deg, var(--bg-2), var(--bg-3));
  position: relative;
  overflow: hidden;
}

.pillar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
  transform: scale(1.02);
}

.pillar-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.72) 100%),
    radial-gradient(circle at 30% 30%, rgba(255, 77, 26, 0.18), transparent 60%);
  pointer-events: none;
}

.pillar-icon {
  z-index: 2;
}

.pillar-body {
  position: relative;
  z-index: 1;
}

.pillar:nth-child(1) .pillar-media {
  background: radial-gradient(circle at 60% 40%, rgba(255, 77, 26, 0.45), transparent 70%), linear-gradient(135deg, #1a1a1a, #232323);
}
.pillar:nth-child(2) .pillar-media {
  background: radial-gradient(circle at 30% 60%, rgba(255, 196, 26, 0.30), transparent 70%), linear-gradient(135deg, #1d1714, #2a221b);
}
.pillar:nth-child(3) .pillar-media {
  background: radial-gradient(circle at 70% 30%, rgba(216, 255, 90, 0.25), transparent 70%), linear-gradient(135deg, #18201a, #243024);
}

.pillar-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.pillar-icon svg { width: 26px; height: 26px; }
.pillar-icon i[class*="fa-"] { font-size: 26px; line-height: 1; }

.admin-nav-link i[class*="fa-"] {
  width: 1.1em;
  text-align: center;
  opacity: 0.88;
}

.pillar-body { padding: 26px 28px 30px; }

.pillar-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: var(--bg-3);
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.pillar h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--text);
}

.pillar p {
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Travel Guide ---------- */
#travel .travel-dest-icon,
#travel .travel-highlight-icon,
#travel .travel-step-icon,
#travel .travel-check-icon,
#travel .travel-card-visual-icon {
  display: grid;
  place-items: center;
  line-height: 0;
}

#travel .travel-dest-icon > .fa-solid,
#travel .travel-highlight-icon > .fa-solid,
#travel .travel-step-icon > .fa-solid,
#travel .travel-check-icon > .fa-solid,
#travel .travel-card-visual-icon > .fa-solid {
  display: grid;
  place-items: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  --fa-width: 1em;
}

#travel .travel-dest-icon > .fa-solid::before,
#travel .travel-highlight-icon > .fa-solid::before,
#travel .travel-step-icon > .fa-solid::before,
#travel .travel-check-icon > .fa-solid::before,
#travel .travel-card-visual-icon > .fa-solid::before {
  grid-area: 1 / 1;
  line-height: 1;
}

#travel .travel-route-meta .fa-solid,
#travel .travel-bus-panel-head .fa-solid,
#travel .travel-tip .fa-solid,
#travel .travel-footnote .fa-solid,
#travel .travel-dest-btn .fa-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  --fa-width: 1em;
  flex-shrink: 0;
}

#travel .travel-route-meta .fa-solid::before,
#travel .travel-bus-panel-head .fa-solid::before,
#travel .travel-tip .fa-solid::before,
#travel .travel-footnote .fa-solid::before,
#travel .travel-dest-btn .fa-solid::before {
  line-height: 1;
}

.travel-dest-icon .fa-solid {
  font-size: 22px;
}

.travel-dest-btn .fa-solid {
  font-size: 14px;
}

.travel-highlight-icon .fa-solid {
  font-size: 20px;
}

.travel-card-visual-icon .fa-solid {
  font-size: 26px;
}

.travel-route-meta .fa-solid {
  font-size: 12px;
}

.travel-step-icon .fa-solid,
.travel-check-icon .fa-solid {
  font-size: 16px;
}

.travel-bus-panel-head .fa-solid {
  font-size: 16px;
}

.travel-tip .fa-solid,
.travel-footnote .fa-solid {
  font-size: 18px;
}

.travel-dest {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 22px;
  align-items: center;
  padding: 22px 24px;
  margin-bottom: 0;
  height: 100%;
  background:
    radial-gradient(600px 220px at 100% 0%, rgba(255, 77, 26, 0.10), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.travel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.9fr);
  gap: 18px;
  margin-bottom: 22px;
  align-items: stretch;
}

.travel-dest-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(255, 77, 26, 0.22);
}

.travel-dest strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.travel-dest span {
  display: block;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.6;
}

.travel-dest-btn { white-space: nowrap; }

.travel-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 0;
  height: 100%;
}

.travel-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  min-height: 0;
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.travel-highlight-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.travel-highlight-icon--mrt {
  color: #7cb8ff;
  background: rgba(96, 165, 250, 0.10);
  border-color: rgba(96, 165, 250, 0.24);
}

.travel-highlight-icon--walk {
  color: var(--lime);
  background: rgba(216, 255, 90, 0.08);
  border-color: rgba(216, 255, 90, 0.20);
}

.travel-highlight-icon--landmark {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(255, 77, 26, 0.22);
}

.travel-highlight strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.travel-highlight span {
  display: block;
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 2px;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  align-items: stretch;
}

.travel-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.travel-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.travel-card-visual {
  position: relative;
  min-height: 124px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
}

.travel-card--mrt .travel-card-visual {
  background: radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.22), transparent 60%), linear-gradient(135deg, var(--bg-2), var(--bg-3));
}

.travel-card--bus .travel-card-visual {
  background: radial-gradient(circle at 80% 20%, rgba(216, 255, 90, 0.16), transparent 60%), linear-gradient(135deg, var(--bg-2), var(--bg-3));
}

.travel-card--car .travel-card-visual {
  background: radial-gradient(circle at 80% 20%, rgba(245, 210, 122, 0.18), transparent 60%), linear-gradient(135deg, var(--bg-2), var(--bg-3));
}

.travel-card-visual-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 1;
  color: var(--text-soft);
}

.travel-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 22px 22px;
  flex: 1;
}

.travel-card--bus .travel-bus-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.travel-card--bus .travel-bus-detail {
  flex: 1;
}

.travel-card-body h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.travel-card-lead {
  margin: -8px 0 0;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.65;
}

.travel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.25;
  text-align: center;
}

.travel-badge--mrt {
  color: #7cb8ff;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.28);
}

.travel-badge--bus {
  color: var(--lime);
  background: rgba(216, 255, 90, 0.08);
  border: 1px solid rgba(216, 255, 90, 0.22);
}

.travel-badge--car {
  color: var(--gold);
  background: rgba(245, 210, 122, 0.08);
  border: 1px solid rgba(245, 210, 122, 0.24);
}

.travel-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

html[data-theme="light"] .travel-route {
  background: rgba(15, 15, 15, 0.03);
}

.travel-route-node {
  text-align: center;
}

.travel-route-node strong {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
}

.travel-route-node small {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.travel-route-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.travel-route-dot--mrt { color: #7cb8ff; background: rgba(96, 165, 250, 0.25); }
.travel-route-dot--hotel { color: var(--accent); background: var(--accent-soft); }

.travel-route-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}

.travel-route-line {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #7cb8ff, var(--accent));
  border-radius: 999px;
}

.travel-route-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
  white-space: nowrap;
}

.travel-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.travel-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.travel-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.travel-step-icon--mrt {
  color: #7cb8ff;
  background: rgba(96, 165, 250, 0.10);
  border-color: rgba(96, 165, 250, 0.22);
}

.travel-step-icon--bus {
  color: var(--lime);
  background: rgba(216, 255, 90, 0.08);
  border-color: rgba(216, 255, 90, 0.20);
}

.travel-steps strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 2px;
}

.travel-steps span {
  display: block;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.6;
}

.travel-steps em {
  font-style: normal;
  color: var(--text-soft);
  font-weight: 600;
}

.travel-bus-panel {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

html[data-theme="light"] .travel-bus-panel {
  background: rgba(15, 15, 15, 0.03);
}

.travel-bus-panel-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
}

.travel-bus-panel-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
}

.travel-bus-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.travel-line-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 6px 10px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  color: var(--text-soft);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}

.travel-line-chip--muted {
  color: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .travel-line-chip--muted {
  color: rgba(15, 15, 15, 0.38);
  border-color: rgba(15, 15, 15, 0.08);
  background: rgba(15, 15, 15, 0.03);
}

.travel-line-chip--feat {
  color: var(--text);
  background: var(--bg-2);
  border-color: var(--border-strong);
}

.travel-line-chip--feat.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(255, 77, 26, 0.35);
}

.travel-line-chip--muted.is-active {
  color: var(--text-soft);
  opacity: 1;
  background: var(--bg-3);
  border-color: var(--border-strong);
}

.travel-line-chip:hover {
  border-color: var(--border-strong);
}

.travel-line-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.travel-bus-detail {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

html[data-theme="light"] .travel-bus-detail {
  background: rgba(15, 15, 15, 0.03);
}

.travel-bus-detail-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 12px;
}

.travel-bus-detail-line {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.travel-bus-detail-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(216, 255, 90, 0.08);
  border: 1px solid rgba(216, 255, 90, 0.18);
}

.travel-bus-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin: 0;
}

.travel-bus-detail-item {
  margin: 0;
  min-width: 0;
}

.travel-bus-detail-item--wide {
  grid-column: 1 / -1;
}

.travel-bus-detail-item dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.travel-bus-detail-item dd {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
}

.travel-bus-detail-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.65;
}

.travel-checklist {
  display: grid;
  gap: 10px;
}

.travel-check {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

html[data-theme="light"] .travel-check {
  background: rgba(15, 15, 15, 0.03);
}

.travel-check-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(245, 210, 122, 0.08);
  border: 1px solid rgba(245, 210, 122, 0.22);
}

.travel-check strong {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 2px;
}

.travel-check span {
  display: block;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.55;
}

.travel-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

html[data-theme="light"] .travel-tip {
  background: rgba(15, 15, 15, 0.03);
}

.travel-tip .fa-solid {
  color: var(--accent);
}

.travel-tip strong {
  color: var(--text-soft);
}

.travel-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.65;
}

.travel-footnote .fa-solid {
  color: var(--accent);
}

.travel-footnote strong { color: var(--text-soft); }

.travel-footnote a {
  color: var(--accent);
  font-weight: 600;
}

.travel-footnote a:hover { text-decoration: underline; }

/* ---------- Travel â€” Airport ---------- */
.travel-airport {
  margin-top: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.travel-airport:hover {
  border-color: var(--border-strong);
}

.travel-airport-visual {
  min-height: 124px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: radial-gradient(circle at 80% 20%, rgba(245, 210, 122, 0.18), transparent 60%), linear-gradient(135deg, var(--bg-2), var(--bg-3));
}

.travel-badge--airport {
  color: var(--gold);
  background: rgba(245, 210, 122, 0.10);
  border: 1px solid rgba(245, 210, 122, 0.28);
}

.travel-airport-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 22px 22px;
}

.travel-airport-body h3 {
  margin: 0;
  padding-top: 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.travel-airport-lead {
  margin: -8px 0 0;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.65;
}

.travel-airport-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.travel-airport-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mute);
  background: var(--bg-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.travel-airport-tab .fa-solid {
  font-size: 14px;
  opacity: 0.85;
}

.travel-airport-tab.is-active {
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(255, 77, 26, 0.32);
}

.travel-airport-tab.is-active .fa-solid {
  color: var(--accent);
}

.travel-airport-tab:hover {
  border-color: var(--border-strong);
}

.travel-airport-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.travel-airport-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.travel-airport-option {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

html[data-theme="light"] #travel .travel-airport-option {
  background: rgba(15, 15, 15, 0.04);
}

.travel-airport-option-head h4 {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.45;
}

.travel-airport-option-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

.travel-airport-option--rail .travel-airport-option-tag {
  color: #7cb8ff;
  background: rgba(96, 165, 250, 0.10);
  border: 1px solid rgba(96, 165, 250, 0.22);
}

.travel-airport-option--express .travel-airport-option-tag {
  color: var(--gold);
  background: rgba(245, 210, 122, 0.10);
  border: 1px solid rgba(245, 210, 122, 0.22);
}

.travel-airport-option--surface .travel-airport-option-tag {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.travel-airport-option-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-mute);
}

.travel-airport-option-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.travel-airport-option-meta .fa-solid {
  width: 14px;
  color: var(--accent);
  text-align: center;
}

.travel-airport-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.travel-airport-steps li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.6;
}

.travel-airport-step-num {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 77, 26, 0.22);
}

.travel-airport-option-note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.6;
}

/* Travel â€” light mode contrast */
html[data-theme="light"] #travel .travel-badge--mrt {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.10);
  border-color: rgba(37, 99, 235, 0.24);
}

html[data-theme="light"] #travel .travel-badge--bus,
html[data-theme="light"] #travel .travel-bus-detail-type {
  color: #4a6200;
  background: rgba(93, 115, 0, 0.10);
  border-color: rgba(93, 115, 0, 0.22);
}

html[data-theme="light"] #travel .travel-highlight-icon--walk,
html[data-theme="light"] #travel .travel-step-icon--bus,
html[data-theme="light"] #travel .travel-bus-panel-head .fa-solid {
  color: #5c7300;
  background: rgba(93, 115, 0, 0.08);
  border-color: rgba(93, 115, 0, 0.20);
}

html[data-theme="light"] #travel .travel-highlight-icon--mrt,
html[data-theme="light"] #travel .travel-step-icon--mrt {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.20);
}

html[data-theme="light"] #travel .travel-line-chip--muted {
  color: rgba(15, 15, 15, 0.52);
  border-color: rgba(15, 15, 15, 0.12);
  background: rgba(15, 15, 15, 0.05);
}

html[data-theme="light"] #travel .travel-route,
html[data-theme="light"] #travel .travel-bus-panel,
html[data-theme="light"] #travel .travel-bus-detail,
html[data-theme="light"] #travel .travel-tip {
  background: rgba(15, 15, 15, 0.04);
}

html[data-theme="light"] #travel .travel-card-visual-icon {
  opacity: 1;
  color: var(--text-mute);
  background: rgba(15, 15, 15, 0.05);
  border-color: rgba(15, 15, 15, 0.08);
}

html[data-theme="light"] #travel .travel-badge--airport {
  color: #8a6a1a;
  background: rgba(138, 106, 26, 0.10);
  border-color: rgba(138, 106, 26, 0.24);
}

html[data-theme="light"] #travel .travel-airport-option--rail .travel-airport-option-tag {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.10);
  border-color: rgba(37, 99, 235, 0.22);
}

html[data-theme="light"] #travel .travel-airport-option--express .travel-airport-option-tag {
  color: #8a6a1a;
  background: rgba(138, 106, 26, 0.10);
  border-color: rgba(138, 106, 26, 0.22);
}

@media (max-width: 1100px) {
  .travel-hero {
    grid-template-columns: 1fr;
  }

  .travel-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .travel-airport-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .travel-highlights {
    grid-template-columns: 1fr;
  }

  .travel-grid {
    grid-template-columns: 1fr;
  }

  .travel-bus-detail-grid {
    grid-template-columns: 1fr;
  }

  .travel-airport-options {
    grid-template-columns: 1fr;
  }

  .travel-airport-toggle {
    flex-direction: column;
  }

  .travel-airport-tab {
    width: 100%;
    justify-content: center;
  }

  .travel-dest {
    grid-template-columns: auto 1fr;
  }

  .travel-dest-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .travel-route {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .travel-route-track {
    flex-direction: row;
    width: 100%;
  }

  .travel-route-line {
    height: 100%;
    width: 2px;
    min-height: 28px;
    background: linear-gradient(180deg, #7cb8ff, var(--accent));
  }
}

/* ---------- Schedule ---------- */
.schedule {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.schedule-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--border);
  transition: background .25s var(--ease);
}

.schedule-item:hover {
  background: var(--bg-1);
}

.schedule-time {
  font-size: 16.8px;
  font-weight: 600;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.schedule-content { padding-left: 0; }

.schedule-content h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--text);
}

.schedule-content p {
  font-size: 14px;
  color: var(--text-mute);
  margin: 0;
}

.schedule-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-3);
  color: var(--text-soft);
  white-space: nowrap;
  border: 1px solid var(--border);
}

.schedule-tag.is-keynote { color: var(--accent); border-color: rgba(255,77,26,.30); background: var(--accent-soft); }
.schedule-tag.is-panel   { color: var(--lime); border-color: rgba(216,255,90,.18); background: rgba(216,255,90,.08); }
.schedule-tag.is-break   { color: var(--gold); border-color: rgba(245,210,122,.22); background: rgba(245,210,122,.06); }

.schedule-footnote {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
}

/* ---------- Speakers ---------- */
.speakers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.speaker {
  padding: 24px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  text-align: left;
}

.speaker:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.speaker-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,77,26,.55), transparent 70%),
    linear-gradient(135deg, #1f1f1f, #2a2a2a);
  border: 1px solid var(--border-strong);
  margin-bottom: 16px;
}

.speaker h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--text);
}

.speaker .role {
  font-size: 13.5px;
  color: var(--text-mute);
  margin: 0 0 6px;
}

.speaker .org {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Location ---------- */
.location {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
}

.location-card {
  padding: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.location-card h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--text);
}

.location-card > p {
  color: var(--text-mute);
  margin: 0 0 20px;
}

.location-info-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 14px;
}

.location-info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.location-info-list li:first-child { border-top: 0; padding-top: 0; }

.location-info-list strong {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
}

.location-info-list svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--accent);
  margin-top: 2px;
}

.location-info-list a { color: var(--accent); }

.location-map {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.2) contrast(1.05);
}

html[data-theme="dark"] .location-map iframe {
  filter: grayscale(.65) contrast(1.05) brightness(.78);
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  padding: 100px 60px;
  text-align: center;
  background:
    radial-gradient(800px 480px at 50% 0%, rgba(255,77,26,0.18), transparent 70%),
    var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.final-cta h2 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.21;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  color: var(--text);
}

.final-cta p {
  color: var(--text-mute);
  max-width: 560px;
  margin: 0 auto 32px;
}

.final-cta .btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Wordmark band ---------- */
.wordmark {
  padding: 60px 0 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

.wordmark-text {
  font-size: clamp(64px, 18vw, 280px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--text) 0%, transparent 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 26px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  /* à¸¥à¸´à¸‡à¸à¹Œà¸”à¹ˆà¸§à¸™ / à¸ªà¸–à¸²à¸™à¸—à¸µà¹ˆ = à¸à¸§à¹‰à¸²à¸‡à¸•à¸²à¸¡à¹€à¸™à¸·à¹‰à¸­à¸«à¸² à¹„à¸¡à¹ˆà¸”à¸¶à¸‡à¸Šà¹ˆà¸­à¸‡à¸§à¹ˆà¸²à¸‡à¹€à¸à¸´à¸™ */
  grid-template-columns: minmax(260px, 1.15fr) max-content max-content minmax(220px, 1fr);
  column-gap: 28px;
  row-gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}

.footer-col {
  min-width: 0;
}

.footer-grid h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-grid li,
.footer-grid a {
  font-size: 14px;
  line-height: 1.65;
}

.footer-grid li {
  color: var(--text-mute);
}

.footer-grid a {
  color: var(--text-mute);
  transition: color .2s var(--ease);
}

.footer-grid a:hover { color: var(--accent); }

.footer-brand img { height: 42px; }

.footer-brand-desc {
  margin-top: 14px;
  display: grid;
  gap: 6px;
}

.footer-brand-desc-line {
  display: block;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.65;
}

.footer-brand-desc-line--nowrap {
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ---------- AI Floating widget (kept) ---------- */
.ai-share {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.ai-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(255, 77, 26, 0.45);
  cursor: pointer;
  transition: transform .35s var(--ease);
  position: relative;
}

.ai-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 77, 26, 0.4);
  animation: ringPulse 2.4s var(--ease) infinite;
}

@keyframes ringPulse {
  0%   { transform: scale(.8); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.ai-fab:hover { transform: translateY(-3px) scale(1.05); }
.ai-fab svg { width: 26px; height: 26px; }

.ai-fab-label {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.ai-fab:hover .ai-fab-label { opacity: 1; transform: translateY(-50%) translateX(-4px); }

.ai-panel {
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 140px));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: panelIn .3s var(--ease);
}

.ai-panel.is-open { display: flex; }

@keyframes panelIn {
  from { transform: scale(.9) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.ai-header {
  padding: 18px 20px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-header h4 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-header h4 .ai-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse 1.6s var(--ease) infinite;
}

.ai-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  color: #fff;
}
.ai-close:hover { background: rgba(255,255,255,.3); }

.ai-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
}

.ai-msg {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
}

.ai-msg--bot {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.ai-msg--user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-msg--bot.is-typing { color: var(--text-mute); }
.ai-msg--bot.is-typing .dots { display: inline-flex; gap: 4px; margin-left: 6px; }
.ai-msg--bot.is-typing .dots span {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: typingDot 1.2s var(--ease) infinite;
}
.ai-msg--bot.is-typing .dots span:nth-child(2) { animation-delay: .2s; }
.ai-msg--bot.is-typing .dots span:nth-child(3) { animation-delay: .4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
  background: var(--bg);
}

.ai-suggestions button {
  font-size: 12px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  transition: all .2s var(--ease);
}

.ai-suggestions button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ai-input {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.ai-input input {
  flex: 1;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text);
  outline: none;
}

.ai-input input:focus {
  border-color: var(--accent);
}

.ai-input button.send {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.ai-input button.send:hover { background: var(--accent-deep); }
.ai-input button.send svg { width: 18px; height: 18px; }

/* ---------- Reveal-on-scroll (content visible by default; JS enhances) ---------- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

html.reveal-js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-js .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }
.reveal--delay-4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars   { grid-template-columns: repeat(2, 1fr); }
  .speakers  { grid-template-columns: repeat(2, 1fr); }
  .stats     { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-left: 1px solid var(--border); }
  .stat-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
  .location { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .section { padding: 80px 0; }

  .site-header {
    top: 12px;
    padding: 0 8px 0 16px;
    width: calc(100% - 24px);
  }

  .brand-text { display: none; }
  .nav-cta    { display: none; }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-h) + 16px);
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    width: min(280px, calc(100vw - 24px));
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }

  .site-header--hero .nav-menu,
  html[data-theme="light"] .site-header--hero .nav-menu {
    background: rgba(2, 18, 52, 0.98);
    border-color: rgba(182, 238, 255, 0.2);
    box-shadow: 0 22px 58px rgba(0, 8, 34, 0.46);
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-menu a { padding: 12px 14px; }

  .nav-dropdown { position: static; }

  .nav-submenu {
    position: static;
    width: 100%;
    margin-top: 4px;
    padding: 4px;
    background: var(--bg-3);
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: grid;
    gap: 2px;
  }

  .menu-toggle { display: inline-flex; }

  .hero-title {
    font-size: clamp(32px, 10vw, 54px);
    letter-spacing: 0.001em;
  }
  .hero-meta-grid { grid-template-columns: 1fr; }

  .hero-inner { gap: 22px; max-width: 100%; }
  .hero-title { max-width: 100%; }

  .hero-title .hero-line-video { height: 1.25em; }
  .hero-video-text { max-width: 100%; }

  /* iOS Safari: SVG+video text mask often renders as a solid block â€” use plain orange text */
  .hero-title .hero-line-video {
    display: none !important;
  }

  .hero-title .hero-line-plain {
    display: block;
    margin: 2px 0;
  }

  .hero-text-video {
    transform: translate3d(-4px, -6px, 0) scale(1.18);
  }

  .hero {
    min-height: 640px;
    padding-bottom: 280px;
    background: transparent;
    overflow: hidden;
  }

  .hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-inner {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding-top: calc(var(--header-h) + 42px);
    padding-bottom: 24px;
    gap: 18px;
  }
  #hero { padding-bottom: 0; }
  #hero .hero-inner { bottom: auto; min-height: 100svh; padding-bottom: 88px; }
  .hero-copy { gap: 9px; }
  .hero-kicker { max-width: 92%; letter-spacing: .15em; }
  .hero-event-title {
    width: 100%;
    font-size: clamp(22px, 5.6vw, 30px);
    line-height: 1.4;
    white-space: normal;
    text-wrap: balance;
  }
  .hero-theme-en {
    font-size: clamp(15.3px, 3.8vw, 20.4px);
    line-height: 1.45;
  }
  .hero-theme { display: grid; gap: 3px; max-width: 96%; }
  .hero-date-place { max-width: 96%; font-size: clamp(17px, 4vw, 22px); }

  .hero-edition {
    width: auto;
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
    text-align: left;
  }

  .hero-meta-simple {
    width: 100%;
    max-width: 100%;
  }

  .hero-meta-line {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }


  .schedule-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 4px;
  }
  .schedule-tag { justify-self: start; }

  .pillars   { grid-template-columns: 1fr; }
  .speakers  { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }

  .final-cta { padding: 60px 24px; }

  .ai-share { right: 14px; bottom: 14px; }
  .ai-fab   { width: 54px; height: 54px; }
}

@media (max-width: 480px) {
  .speakers { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat-item + .stat-item { border-left: 0; border-top: 1px solid var(--border); }
  .stat-item { padding: 36px 22px; }
  .hero-resources { grid-template-columns: 1fr; gap: 10px; max-width: 360px; }
  .hero-resource { min-height: 56px; padding: 13px 18px; font-size: 16px; }

  .hero-title--small { font-size: 0.58em; }

  .hero-text-video {
    transform: translate3d(-5px, -7px, 0) scale(1.22);
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}

/* ---------- VIP Registration tweaks ---------- */
.vip-form {
  --vip-input-color: #ffffff;
  --vip-label-color: #e4e4e0;
  --vip-note-color: #c9c9c5;
}

html[data-theme="light"] .vip-form {
  --vip-input-color: var(--text);
  --vip-label-color: var(--text-soft);
  --vip-note-color: var(--text-mute);
}

.vip-form,
.vip-form .pillar {
  border-radius: 18px;
}

.vip-hero .hero-title {
  text-align: left;
  line-height: 1.12;
  margin-left: 0;
}

.vip-box {
  border-radius: 18px;
}

.vip-form input,
.vip-form select,
.vip-form textarea {
  border-radius: 11px !important; /* -20% from 14px */
  font-family: inherit;
  font-size: 16px;
  color: var(--vip-input-color) !important;
}

.vip-form input::placeholder,
.vip-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
  opacity: 1;
}

html[data-theme="light"] .vip-form input::placeholder,
html[data-theme="light"] .vip-form textarea::placeholder {
  color: rgba(14, 14, 14, 0.42);
}

.vip-form input:disabled {
  color: var(--vip-label-color) !important;
}

.vip-form [style*="color:var(--text-mute)"],
.vip-form [style*="color: var(--text-mute)"] {
  color: var(--vip-label-color) !important;
}

.vip-form p[style*="color:var(--text-mute)"],
.vip-form p[style*="color: var(--text-mute)"] {
  color: var(--vip-note-color) !important;
}

.vip-form h3 {
  color: var(--accent);
}

.vip-form input:focus,
.vip-form select:focus,
.vip-form textarea:focus {
  outline: none;
  border-color: rgba(245, 210, 122, 0.70) !important;
  box-shadow: 0 0 0 4px rgba(245, 210, 122, 0.18) !important;
}

.vip-form .btn.btn--ghost {
  background: rgba(255, 77, 26, 0.08);
  border-color: rgba(255, 77, 26, 0.22);
}

.vip-form .btn.btn--ghost:hover {
  background: rgba(255, 77, 26, 0.12);
  border-color: rgba(255, 77, 26, 0.35);
}

@media (max-width: 768px) {
  /* VIP form: prevent overly narrow inputs from inline grids */
  .vip-form [style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .vip-form [style*="grid-template-columns:1fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .vip-form [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .vip-form [style*="grid-column:span 2"] {
    grid-column: 1 / -1 !important;
  }
}

.vip-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 52px !important; /* space for custom arrow */
  color: var(--vip-input-color) !important;
  background-color: var(--bg-card);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--vip-label-color) 50%),
    linear-gradient(135deg, var(--vip-label-color) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 52%,
    calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.vip-form option {
  color: var(--text);
  background: var(--bg-card);
}

.vip-form option,
.vip-form label,
.vip-form button {
  font-family: inherit;
}

/* Nested participant/room cards generated by vip-register.js */
.vip-form .pillar input,
.vip-form .pillar select,
.vip-form .pillar textarea {
  color: var(--vip-input-color) !important;
}

.vip-form [style*="border-radius:16px"],
.vip-form [style*="border-radius: 16px"] {
  border-radius: 13px !important;
}

.vip-form [style*="border-radius:14px"],
.vip-form [style*="border-radius: 14px"] {
  border-radius: 11px !important;
}

.vip-form [style*="border-radius:12px"],
.vip-form [style*="border-radius: 12px"] {
  border-radius: 10px !important;
}

/* =========================================================
   LIVE STREAM SECTION  â€”  Apple Keynote waiting-screen style
   ========================================================= */
.live-section {
  background: #000;
  padding: 108px 0 136px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

/* Subtle grain */
.live-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

/* Ambient accent glow radiating from behind the player */
.live-ambient-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 46% at 34% 71%,
      rgba(0, 224, 150, 0.075) 0%,
      transparent 70%),
    radial-gradient(ellipse 54% 44% at 69% 72%,
      rgba(0, 102, 255, 0.07) 0%,
      transparent 72%);
  z-index: 0;
  pointer-events: none;
}

.live-container {
  position: relative;
  z-index: 1;
}

/* --- Header --- */
.live-header {
  text-align: center;
  margin-bottom: 60px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 20px;
  border: 1px solid rgba(255, 77, 26, 0.48);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 77, 26, 0.07);
  margin-bottom: 32px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: liveDotPulse 1.8s ease-in-out infinite;
}

@keyframes liveDotPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 77, 26, 0.6);
  }
  60% {
    opacity: 0.45;
    box-shadow: 0 0 0 6px rgba(255, 77, 26, 0);
  }
}

.live-title {
  font-size: clamp(1.85rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
  color: #fff;
}

.live-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
  letter-spacing: 0.02em;
}

/* --- Player wrapper --- */
.live-player {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

/* Restrained cool glow sampled from the green-blue live artwork */
.live-glow {
  position: absolute;
  inset: -16% -6%;
  background:
    radial-gradient(ellipse 50% 62% at 33% 50%,
      rgba(0, 224, 150, 0.13) 0%,
      transparent 72%),
    radial-gradient(ellipse 48% 60% at 71% 52%,
      rgba(0, 94, 255, 0.11) 0%,
      transparent 74%);
  filter: blur(62px);
  opacity: 0.82;
  z-index: 0;
  pointer-events: none;
}

/* The player box itself */
.live-player-inner {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 0 0 1px rgba(143, 255, 222, 0.1),
    0 0 42px rgba(0, 218, 151, 0.05),
    0 0 72px rgba(0, 94, 255, 0.04),
    0 60px 140px rgba(0, 0, 0, 0.88),
    0 20px 48px rgba(0, 0, 0, 0.6);
}

/* YouTube iframe */
.live-player-inner iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* Static placeholder image */
.live-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Overlay shown when no live yet */
.live-soon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 32px;
  gap: 8px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.18) 38%,
    transparent 60%
  );
}

.live-soon-chip {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  margin: 0;
}

.live-soon-date {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
  letter-spacing: 0.04em;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .live-section  { padding: 80px 0 96px; }
  .live-header   { margin-bottom: 40px; }
  .live-player-inner { border-radius: 14px; }
}

@media (max-width: 480px) {
  .live-section { padding: 64px 0 80px; }
  .live-title   { font-size: 1.7rem; }
  .live-badge   { font-size: 10px; }
}

