:root {
  --ink: #101522;
  --navy: #15284c;
  --navy-2: #203a68;
  --burgundy: #9c1f46;
  --burgundy-2: #741a35;
  --gold: #c9a24d;
  --teal: #0f766e;
  --paper: #f4f6f9;
  --paper-2: #eef2f6;
  --surface: #ffffff;
  --surface-soft: #fafbfc;
  --line: #dce3ec;
  --line-strong: #c7d1de;
  --text: #222b3d;
  --muted: #66758b;
  --white: #fff;
  --shadow-sm: 0 10px 24px rgba(21, 40, 76, 0.08);
  --shadow: 0 24px 70px rgba(21, 40, 76, 0.15);
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1180px;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 420px, #f8fafc 100%);
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
iframe {
  max-width: 100%;
}

::selection {
  background: rgba(156, 31, 70, 0.18);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 227, 236, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: min-height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.topbar.is-scrolled {
  min-height: 66px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(16, 21, 34, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 270px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--navy), #0b1831 55%, var(--burgundy));
  color: #f5d993;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(21, 40, 76, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.12;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a,
.nav summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  color: #344057;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav summary::-webkit-details-marker {
  display: none;
}

.nav a:hover,
.nav summary:hover,
.nav a.active,
.nav summary.active {
  background: #eef3f8;
  color: var(--navy);
}

.nav a:focus-visible,
.nav summary:focus-visible,
.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(201, 162, 77, 0.42);
  outline-offset: 2px;
}

.nav .nav-cta {
  margin-left: 5px;
  padding-inline: 15px;
  background: var(--burgundy);
  color: #fff;
  border: 1px solid var(--burgundy);
}

.nav .nav-cta:hover {
  background: var(--burgundy-2);
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  gap: 7px;
}

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 4px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.submenu a {
  display: flex;
  justify-content: flex-start;
  padding: 10px 12px;
  white-space: nowrap;
}

.flash,
.alert {
  width: min(var(--container), calc(100% - 36px));
  margin: 18px auto 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.flash.error,
.alert.error {
  border-color: #f1b8c4;
  background: #fff5f7;
  color: #9f1239;
}

.alert.success {
  border-color: #addfc8;
  background: #f0fff7;
  color: #11612c;
}

.hero {
  position: relative;
  min-height: min(840px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding: clamp(78px, 8vw, 128px) clamp(20px, 6vw, 78px) clamp(70px, 7vw, 108px);
  overflow: hidden;
  background: #0b1831;
  isolation: isolate;
  perspective: 1200px;
}

.hero.cinematic {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(240, 207, 128, 0.12), transparent 26%),
    #0b1831;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 14, 30, 0.96) 0%, rgba(14, 27, 52, 0.88) 38%, rgba(14, 27, 52, 0.45) 75%, rgba(14, 27, 52, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 14, 30, 0.78), rgba(7, 14, 30, 0.08) 44%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(11, 24, 49, 0.82), rgba(11, 24, 49, 0));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/hero-academic.png");
  background-size: cover;
  background-position: center right;
  filter: saturate(1.08) contrast(1.05);
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
  will-change: transform;
}

.hero-gridline {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, #000 0, transparent 62%);
  transform: translateY(calc(var(--parallax-y, 0) * -0.25));
}

.hero-chrome {
  position: absolute;
  right: clamp(22px, 6vw, 90px);
  top: clamp(96px, 13vw, 170px);
  z-index: 0;
  width: min(34vw, 440px);
  height: min(34vw, 440px);
  pointer-events: none;
  opacity: 0.72;
  transform: translateY(calc(var(--parallax-y, 0) * -0.55));
}

.hero-chrome span {
  position: absolute;
  border: 1px solid rgba(240, 207, 128, 0.26);
  border-radius: var(--radius);
  transform: rotate(12deg);
}

.hero-chrome span:nth-child(1) {
  inset: 0;
}

.hero-chrome span:nth-child(2) {
  inset: 48px 22px 22px 72px;
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-chrome span:nth-child(3) {
  inset: 92px 96px 86px 14px;
  border-color: rgba(15, 118, 110, 0.3);
}

.hero-wordmark {
  position: absolute;
  left: clamp(14px, 4vw, 62px);
  bottom: -0.22em;
  z-index: 0;
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(96px, 18vw, 290px);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: 0;
  pointer-events: none;
  transform: translate3d(0, calc(var(--parallax-y, 0) * -0.16), 0);
  white-space: nowrap;
}

.hero-sweep {
  position: absolute;
  inset: -30% auto -30% -22%;
  z-index: 0;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-18deg) translateX(-140%);
  animation: sweepAcross 5.8s cubic-bezier(.2,.8,.2,1) 900ms infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #fff;
  animation: heroLift 850ms ease both;
}

.hero-dashboard {
  position: absolute;
  right: clamp(22px, 7vw, 120px);
  top: clamp(92px, 18vw, 220px);
  z-index: 1;
  width: min(32vw, 420px);
  min-height: 330px;
  pointer-events: none;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.dash-card {
  position: absolute;
  width: clamp(180px, 17vw, 245px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  color: #fff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
  animation: dashboardFloat 5s ease-in-out infinite;
}

.dash-card span,
.dash-card small {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.dash-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.dash-card i {
  display: block;
  height: 5px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), #f0cf80, var(--burgundy));
}

.dash-card.certificate {
  right: 0;
  top: 0;
}

.dash-card.program {
  left: 0;
  top: 132px;
  animation-delay: -1.2s;
}

.dash-card.attendance {
  right: 36px;
  bottom: 0;
  animation-delay: -2.1s;
}

.eyebrow,
.section-title span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f0cf80;
  font-weight: 880;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
}

.eyebrow::before,
.section-title span::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 16px 0 20px;
  max-width: 920px;
  font-size: clamp(54px, 7.5vw, 108px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 820px;
  margin: 0;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.88);
}

.hero h1 {
  text-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
}

.hero-actions,
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--burgundy);
  border-radius: var(--radius-sm);
  background: var(--burgundy);
  color: #fff;
  font-weight: 840;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(156, 31, 70, 0.18);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--burgundy-2);
  border-color: var(--burgundy-2);
  box-shadow: 0 16px 34px rgba(156, 31, 70, 0.24);
}

.button.secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
  background: #f8fafc;
  border-color: var(--navy);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.58);
}

.button.wide {
  width: 100%;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-highlights span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 760;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.hero-brief {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease;
  animation: cardFloat 900ms ease 140ms both;
}

.brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brief-head span {
  color: #f0cf80;
  font-size: 12px;
  font-weight: 880;
  text-transform: uppercase;
}

.brief-head strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.route-stack {
  position: relative;
  display: grid;
  gap: 10px;
}

.route-stack::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(#f0cf80, rgba(255, 255, 255, 0.16));
}

.hero-brief a {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateZ(24px);
}

.hero-brief em {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0cf80;
  color: #0b1831;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.hero-brief strong {
  font-size: 24px;
  line-height: 1;
}

.hero-brief small {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.brief-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.brief-meter span {
  display: block;
  width: 74%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #f0cf80);
  animation: meterIn 1400ms cubic-bezier(.2,.8,.2,1) 380ms both;
}

.hero-brief p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.container {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

[data-animate],
.card,
.speaker-card,
.schedule div,
.timeline a,
.gallery-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms);
}

.is-visible,
.card.is-visible,
.speaker-card.is-visible,
.schedule div.is-visible,
.timeline a.is-visible,
.gallery-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  position: relative;
  min-height: 410px;
  display: grid;
  align-content: end;
  padding: 92px clamp(20px, 6vw, 78px) 76px;
  overflow: hidden;
  background: #10203f;
  color: #fff;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/hero-academic.png");
  background-size: cover;
  background-position: center right;
  filter: saturate(0.92) contrast(1.02);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 24, 49, 0.96), rgba(21, 40, 76, 0.82) 48%, rgba(156, 31, 70, 0.36)),
    linear-gradient(0deg, rgba(11, 24, 49, 0.55), rgba(11, 24, 49, 0.04));
}

.page-hero.compact {
  min-height: 340px;
}

.page-hero.detail {
  min-height: 470px;
}

.section-title {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-title h2,
.prose-grid h2,
.info-panel h2,
.admin-content h1 {
  margin: 9px 0 12px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-title p,
.muted {
  color: var(--muted);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band.elevated {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 36px));
  margin: -42px auto 0;
  overflow: hidden;
  border: 1px solid rgba(220, 227, 236, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(21, 40, 76, 0.18);
}

.stats-band div {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 30px clamp(18px, 4vw, 48px);
  background: #fff;
}

.stats-band.elevated div {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.stats-band strong {
  display: block;
  color: var(--burgundy);
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1;
  letter-spacing: 0;
}

.stats-band span {
  color: var(--muted);
  font-weight: 780;
}

.prestige-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background: #0b1831;
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.prestige-marquee::before,
.prestige-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 12vw;
  pointer-events: none;
}

.prestige-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #0b1831, transparent);
}

.prestige-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #0b1831, transparent);
}

.prestige-marquee div {
  display: flex;
  width: max-content;
  gap: clamp(26px, 4vw, 64px);
  animation: marqueeMove 26s linear infinite;
}

.prestige-marquee span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(18px, 2.4vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.prestige-marquee span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0cf80;
}

.experience-strip {
  position: relative;
  width: min(1260px, calc(100% - 36px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.experience-strip::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156, 31, 70, 0.34), rgba(15, 118, 110, 0.34), transparent);
}

.experience-strip div {
  position: relative;
  min-height: 188px;
  padding: 28px;
  background: #fff;
}

.experience-strip span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #f0cf80;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 0 8px #fff;
}

.experience-strip strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
}

.experience-strip p {
  margin: 10px 0 0;
  color: var(--muted);
}

.scroll-theatre {
  --rail-x: 0vw;
  --orbit-rotate: 0deg;
  --orbit-rotate-inverse: 0deg;
  --core-scale: 1;
  --grid-y: 0px;
  --glow-x: 0vw;
  --progress-width: 0%;
  position: relative;
  height: 340vh;
  margin-top: 54px;
  background: #070e1e;
  color: #fff;
}

.theatre-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(80px, 9vw, 128px) clamp(20px, 6vw, 78px);
  overflow: hidden;
  isolation: isolate;
}

.theatre-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.theatre-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 14, 30, 0.98), rgba(7, 14, 30, 0.78) 50%, rgba(7, 14, 30, 0.94)),
    url("../img/hero-academic.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.12);
  transform: scale(1.12);
}

.theatre-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(240, 207, 128, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 207, 128, 0.13) 1px, transparent 1px);
  background-size: 86px 86px;
  transform: translateY(var(--grid-y)) rotate(0.001deg);
  will-change: transform;
}

.theatre-glow {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.28;
  transform: translateX(var(--glow-x));
}

.theatre-glow.one {
  right: -18vw;
  top: 8vh;
  background: #9c1f46;
}

.theatre-glow.two {
  left: -18vw;
  bottom: -18vh;
  background: #0f766e;
  transform: translateX(var(--glow-x-reverse));
}

.theatre-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.theatre-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 5.8vw, 86px);
  line-height: 0.92;
  letter-spacing: 0;
}

.theatre-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(17px, 1.6vw, 21px);
}

.theatre-visual {
  position: relative;
  z-index: 1;
  min-height: min(56vw, 610px);
  display: grid;
  place-items: center;
  transform: rotate(var(--orbit-rotate)) scale(var(--core-scale));
  transition: transform 80ms linear;
  will-change: transform;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(240, 207, 128, 0.34);
  border-radius: 50%;
}

.ring-a {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
}

.ring-b {
  width: min(29vw, 360px);
  height: min(29vw, 360px);
  border-color: rgba(255, 255, 255, 0.2);
  transform: rotate(35deg);
}

.orbit-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(150px, 16vw, 210px);
  height: clamp(150px, 16vw, 210px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(21, 40, 76, 0.92), rgba(156, 31, 70, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  transform: rotate(var(--orbit-rotate-inverse));
}

.orbit-core strong {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.8;
  color: #f0cf80;
}

.orbit-core span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.city-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(82px, 8vw, 112px);
  height: clamp(82px, 8vw, 112px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transform: rotate(var(--orbit-rotate-inverse));
}

.city-node span {
  color: #fff;
  font-weight: 880;
  font-size: 14px;
}

.node-1 { top: 6%; left: 45%; }
.node-2 { right: 2%; top: 44%; }
.node-3 { bottom: 7%; left: 42%; }
.node-4 { left: 4%; top: 44%; }

.theatre-rail {
  position: absolute;
  left: 50%;
  bottom: clamp(26px, 5vw, 54px);
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 32vw));
  gap: 18px;
  width: max-content;
  transform: translate3d(var(--rail-x), 0, 0);
  will-change: transform;
}

.theatre-rail article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.theatre-rail em {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f0cf80;
  color: #070e1e;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.theatre-rail strong {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-size: 22px;
  line-height: 1.08;
}

.theatre-rail p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.theatre-progress {
  position: absolute;
  left: clamp(20px, 6vw, 78px);
  right: clamp(20px, 6vw, 78px);
  bottom: 18px;
  z-index: 5;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.theatre-progress span {
  display: block;
  width: var(--progress-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #f0cf80, var(--burgundy));
}

.signature-stage {
  position: relative;
  width: min(1320px, calc(100% - 36px));
  margin: 92px auto 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 249, 0.94));
  box-shadow: 0 34px 100px rgba(21, 40, 76, 0.16);
}

.signature-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(201, 162, 77, 0.14) 34% 35%, transparent 35% 100%),
    linear-gradient(90deg, rgba(15, 118, 110, 0.08), transparent 34%, rgba(156, 31, 70, 0.08));
}

.signature-media,
.signature-copy {
  position: relative;
  z-index: 1;
}

.signature-media {
  min-height: clamp(420px, 46vw, 620px);
  perspective: 1200px;
}

.signature-photo {
  position: absolute;
  inset: 8% 8% 8% 0;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(7, 14, 30, 0.06), rgba(7, 14, 30, 0.52)),
    url("../img/hero-academic.png");
  background-size: cover;
  background-position: center right;
  box-shadow: 0 34px 110px rgba(21, 40, 76, 0.28);
  transform: rotateY(10deg) rotateX(2deg);
  transform-origin: center;
}

.signature-frame {
  position: absolute;
  border: 1px solid rgba(21, 40, 76, 0.16);
  border-radius: var(--radius);
  transform: rotateY(10deg) rotateX(2deg);
}

.signature-frame.one {
  inset: 0 2% 18% 12%;
}

.signature-frame.two {
  inset: 20% 0 0 24%;
  border-color: rgba(156, 31, 70, 0.28);
}

.signature-copy h2 {
  margin: 12px 0 18px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: 0;
}

.signature-copy p {
  color: var(--muted);
  font-size: 18px;
}

.signature-metrics {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.signature-metrics div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.signature-metrics strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #f0cf80;
  font-size: 13px;
}

.signature-metrics span {
  color: var(--ink);
  font-weight: 820;
}

.two-col,
.detail-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.feature-section {
  position: relative;
}

.feature-section::before {
  content: "";
  position: absolute;
  top: 78px;
  bottom: 78px;
  left: -42px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(var(--burgundy), var(--gold), var(--teal));
}

.text-panel,
.info-panel,
.success-box,
.form-shell,
.card,
.speaker-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.text-panel,
.info-panel,
.card,
.speaker-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover,
.speaker-card:hover,
.text-panel:hover,
.info-panel:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 70px rgba(21, 40, 76, 0.13);
}

.text-panel,
.info-panel,
.success-box,
.form-shell {
  padding: clamp(24px, 4vw, 36px);
}

.text-panel p:first-child {
  margin-top: 0;
}

.text-panel p {
  color: #3b465a;
}

.principles {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.principles span {
  padding: 11px 12px;
  border-left: 3px solid var(--gold);
  background: #f8fafc;
  color: var(--navy);
  font-weight: 780;
  transition: transform 180ms ease, border-color 180ms ease;
}

.principles span:hover {
  transform: translateX(4px);
  border-color: var(--burgundy);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-grid {
  margin: 18px 0 34px;
}

.card,
.speaker-card {
  position: relative;
  min-width: 0;
  padding: 25px;
  overflow: hidden;
}

.card::after,
.speaker-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(156, 31, 70, 0.08), transparent 38%, rgba(15, 118, 110, 0.07));
  transition: opacity 220ms ease;
}

.card:hover::after,
.speaker-card:hover::after {
  opacity: 1;
}

.card::before,
.speaker-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--teal));
}

.congress-card {
  display: grid;
  align-content: start;
}

.card h3,
.speaker-card h3,
.speaker-card h2 {
  margin: 13px 0 10px;
  color: var(--ink);
  line-height: 1.15;
}

.speaker-card h2 {
  font-size: clamp(23px, 2.6vw, 32px);
}

.card p,
.speaker-card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.speaker-card strong {
  color: var(--burgundy);
}

.speaker-card small {
  color: var(--muted);
  font-weight: 720;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 760;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 860;
  color: var(--navy);
  background: #eef3f8;
}

.badge.upcoming {
  background: #fff5d8;
  color: #79540d;
}

.badge.past {
  background: #eaf3f2;
  color: #0f5f58;
}

.mini-list {
  display: grid;
  gap: 11px;
  margin: 20px 0;
}

.mini-list div {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 820;
}

dd {
  margin: 0;
}

dd,
td,
th,
p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf3;
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--burgundy));
}

.timeline {
  display: grid;
  gap: 14px;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
}

.timeline a {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.timeline a::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.timeline strong {
  color: var(--ink);
  font-size: 22px;
}

.timeline span {
  color: var(--muted);
  font-weight: 760;
}

.timeline p {
  margin: 4px 0 0;
  color: var(--muted);
}

.prose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.prose-grid article {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.prose-grid p {
  color: var(--muted);
}

.schedule {
  display: grid;
  gap: 12px;
  margin: 16px 0 36px;
}

.schedule div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.schedule time {
  color: var(--burgundy);
  font-weight: 860;
}

.schedule strong {
  color: var(--ink);
}

.schedule span {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 9px;
  padding-left: 19px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

.span-2 {
  grid-column: span 2;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

label small {
  color: var(--muted);
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfd8e5;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}

textarea {
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #b9c5d4;
}

.check {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 650;
  color: var(--text);
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  flex: 0 0 18px;
}

.hp {
  position: absolute;
  left: -9999px;
}

.narrow {
  max-width: 720px;
}

.success-box {
  margin-top: 72px;
  margin-bottom: 72px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding: 22px;
  border-radius: var(--radius);
  color: #fff;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(11, 24, 49, 0.08), rgba(11, 24, 49, 0.9)),
    url("../img/hero-academic.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
}

.city-1 {
  background-position: center, 62% center;
}

.city-2 {
  background-position: center, 48% center;
}

.city-3 {
  background-position: center, 76% center;
}

.city-4 {
  background-position: center, 34% center;
}

.gallery-item span {
  color: #f0cf80;
  font-weight: 860;
}

.gallery-item strong {
  font-size: 24px;
  line-height: 1.08;
}

.map {
  min-height: 190px;
  display: grid;
  place-items: center;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(201, 162, 77, 0.12)),
    #f8fafc;
  text-align: center;
  color: var(--navy);
  font-weight: 840;
}

.certificate-view {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.certificate-summary {
  position: sticky;
  top: 94px;
}

.certificate-frame {
  min-height: 680px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.certificate-frame iframe {
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
  background: #fff;
}

.admin-shell {
  width: min(1360px, calc(100% - 28px));
  margin: 34px auto 76px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
}

.admin-nav {
  align-self: start;
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.admin-nav strong {
  color: var(--ink);
}

.admin-nav a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #f3f6fa;
  color: var(--navy);
  font-weight: 800;
}

.admin-nav a:hover {
  background: #e9f0f7;
}

.admin-nav small {
  color: var(--muted);
  word-break: break-word;
}

.admin-content {
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.admin-stats {
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-form {
  margin-bottom: 26px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filters {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  gap: 10px;
  align-items: center;
  margin: 18px 0;
}

.bulk-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.bulk-actions span {
  color: var(--muted);
  font-weight: 760;
}

.mail-preview-filter {
  grid-template-columns: minmax(220px, 1fr) auto auto;
}

.mail-preview-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.mail-list {
  display: grid;
  gap: 8px;
  max-height: 720px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.mail-list a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}

.mail-list a.active,
.mail-list a:hover {
  border-color: var(--navy);
  background: #eef3f8;
}

.mail-list strong {
  color: var(--ink);
  line-height: 1.2;
}

.mail-list span,
.mail-list small {
  color: var(--muted);
  font-size: 12px;
}

.mail-preview-panel {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.mail-preview-meta {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.mail-preview-meta h2 {
  margin: 0 0 12px;
  color: var(--ink);
}

.mail-preview-frame {
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: #fff;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: #f3f6fa;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

td input[type="checkbox"],
th input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}

td small {
  color: var(--muted);
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}

.inline-form select,
.inline-form input {
  width: auto;
  min-width: 110px;
  min-height: 36px;
  padding: 6px 8px;
}

.inline-form button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 40px clamp(20px, 6vw, 78px);
  background: #0b1831;
  color: #fff;
}

.footer p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.72);
}

.footer div:last-child {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-content: start;
}

.footer a {
  color: #f0cf80;
  font-weight: 820;
}

.footer a.footer-admin {
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 650;
}

.footer a.footer-admin:hover {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-brief {
    max-width: 760px;
  }

  .hero-chrome {
    width: 360px;
    height: 360px;
    opacity: 0.42;
  }

  .hero-dashboard {
    right: 24px;
    width: 360px;
    opacity: 0.74;
  }

  .theatre-sticky {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .theatre-copy {
    max-width: 760px;
  }

  .theatre-visual {
    position: absolute;
    right: -90px;
    bottom: 120px;
    width: 520px;
    opacity: 0.58;
  }

  .theatre-rail {
    left: 24px;
    grid-template-columns: repeat(4, minmax(270px, 44vw));
  }

  .signature-stage {
    grid-template-columns: 1fr;
  }

  .signature-media {
    min-height: 460px;
  }
}

@media (max-width: 980px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 10px 18px 12px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
  }

  .nav a,
  .nav summary {
    min-height: 40px;
  }

  .nav .nav-cta {
    margin-left: 0;
  }

  .nav-dropdown,
  .nav-dropdown summary {
    width: 100%;
  }

  .submenu {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }

  .stats-band,
  .experience-strip,
  .grid.two,
  .two-col,
  .detail-grid,
  .contact-grid,
  .prose-grid,
  .gallery-grid,
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-strip::before {
    display: none;
  }

  .scroll-theatre {
    height: 300vh;
  }

  .theatre-copy h2 {
    max-width: 780px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    position: static;
  }

  .certificate-view {
    grid-template-columns: 1fr;
  }

  .certificate-summary {
    position: static;
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    position: relative;
    padding: 10px 13px;
  }

  .brand {
    gap: 10px;
    width: 100%;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-size: 13px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 10px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav a,
  .nav summary {
    justify-content: center;
    width: 100%;
    padding: 10px 8px;
    text-align: center;
    font-size: 13px;
    line-height: 1.2;
  }

  .nav-dropdown {
    grid-column: 1 / -1;
  }

  .nav-dropdown summary {
    justify-content: center;
  }

  .submenu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .submenu a {
    white-space: normal;
  }

  .hero {
    min-height: auto;
    padding: 64px 18px 52px;
  }

  .hero-chrome,
  .hero-gridline,
  .hero-dashboard,
  .hero-wordmark,
  .hero-sweep {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(11, 24, 49, 0.95), rgba(11, 24, 49, 0.84)),
      linear-gradient(0deg, rgba(11, 24, 49, 0.68), rgba(11, 24, 49, 0.08));
  }

  .hero-media,
  .page-hero::before {
    background-position: 70% center;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 40px;
    line-height: 1.01;
  }

  .hero p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-actions,
  .actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-highlights {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-brief {
    padding: 14px;
    transform: none !important;
  }

  .page-hero {
    min-height: auto;
    padding: 56px 18px;
  }

  .page-hero.compact,
  .page-hero.detail {
    min-height: auto;
  }

  .stats-band,
  .experience-strip,
  .grid.two,
  .two-col,
  .detail-grid,
  .contact-grid,
  .prose-grid,
  .gallery-grid,
  .form-grid,
  .admin-stats,
  .filters {
    grid-template-columns: 1fr;
  }

  .stats-band.elevated {
    width: min(100% - 26px, var(--container));
    margin-top: -24px;
  }

  .experience-strip {
    width: min(100% - 26px, var(--container));
    margin-top: 22px;
  }

  .experience-strip div {
    min-height: auto;
    padding: 22px;
  }

  .experience-strip span {
    margin-bottom: 14px;
  }

  .feature-section::before {
    display: none;
  }

  .scroll-theatre {
    height: auto;
    margin-top: 28px;
  }

  .theatre-sticky {
    position: relative;
    min-height: auto;
    display: grid;
    padding: 58px 18px 42px;
  }

  .theatre-copy h2 {
    font-size: 38px;
    line-height: 1;
  }

  .theatre-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 330px;
    opacity: 0.92;
    transform: none !important;
  }

  .ring-a {
    width: 300px;
    height: 300px;
  }

  .ring-b {
    width: 220px;
    height: 220px;
  }

  .city-node {
    width: 74px;
    height: 74px;
  }

  .theatre-rail {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    grid-template-columns: 1fr;
    transform: none !important;
  }

  .theatre-rail article {
    min-height: auto;
  }

  .theatre-progress {
    display: none;
  }

  .prestige-marquee {
    padding: 12px 0;
  }

  .signature-stage {
    width: min(100% - 26px, var(--container));
    margin-top: 48px;
    padding: 18px;
  }

  .signature-media {
    min-height: 300px;
  }

  .signature-photo,
  .signature-frame {
    transform: none;
  }

  .signature-copy h2 {
    font-size: 34px;
    line-height: 1;
  }

  .signature-copy p {
    font-size: 16px;
  }

  .span-2,
  .check {
    grid-column: auto;
  }

  .mini-list div,
  .schedule div {
    grid-template-columns: 1fr;
  }

  .mini-list div {
    gap: 4px;
  }

  .card,
  .speaker-card,
  .text-panel,
  .info-panel,
  .success-box,
  .form-shell,
  .prose-grid article {
    padding: 18px;
  }

  .card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline {
    padding-left: 18px;
  }

  .timeline a {
    padding: 16px;
  }

  .timeline a::before {
    left: -27px;
  }

  .gallery-item {
    min-height: 210px;
  }

  .schedule div {
    gap: 6px;
    padding: 15px;
  }

  .check {
    align-items: flex-start;
    font-size: 14px;
  }

  .footer {
    flex-direction: column;
    padding: 30px 18px;
  }

  .footer div:last-child {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .container {
    width: min(100% - 26px, var(--container));
    padding: 50px 0;
  }

  .admin-shell {
    width: min(100% - 18px, 1360px);
    margin: 18px auto 48px;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }

  .admin-nav strong,
  .admin-nav small {
    grid-column: 1 / -1;
  }

  .admin-content {
    padding: 16px;
  }

  .admin-form,
  .bulk-actions {
    padding: 12px;
  }

  .bulk-actions .button {
    width: 100%;
  }

  .table-wrap {
    border-radius: var(--radius-sm);
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 900px;
  }

  th,
  td {
    padding: 10px;
    font-size: 13px;
  }

  .inline-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .inline-form select,
  .inline-form input,
  .inline-form button {
    width: 100%;
  }

  .mail-preview-filter,
  .mail-preview-layout {
    grid-template-columns: 1fr;
  }

  .mail-preview-frame {
    min-height: 560px;
  }

  .certificate-frame,
  .certificate-frame iframe {
    min-height: 520px;
    height: 520px;
  }
}

@media (max-width: 390px) {
  .nav,
  .submenu {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .stats-band div {
    min-height: 110px;
    padding: 22px 16px;
  }

  .section-title h2,
  .prose-grid h2,
  .info-panel h2,
  .admin-content h1 {
    font-size: 28px;
  }
}

@keyframes heroLift {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFloat {
  from {
    opacity: 0;
    transform: translateY(28px) rotateX(0deg) rotateY(0deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  }
}

@keyframes meterIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes sweepAcross {
  0% {
    transform: skewX(-18deg) translateX(-140%);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  42% {
    opacity: 0.4;
  }
  100% {
    transform: skewX(-18deg) translateX(420%);
    opacity: 0;
  }
}

@keyframes dashboardFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(1.2deg);
  }
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-animate],
  .card,
  .speaker-card,
  .schedule div,
  .timeline a,
  .gallery-item {
    opacity: 1;
    transform: none;
  }

  .hero-media,
  .hero-gridline,
  .hero-chrome,
  .hero-brief,
  .hero-dashboard,
  .hero-wordmark,
  .hero-sweep,
  .theatre-grid,
  .theatre-glow,
  .theatre-visual,
  .orbit-core,
  .city-node,
  .theatre-rail {
    transform: none !important;
  }

  .scroll-theatre {
    height: auto;
  }

  .theatre-sticky {
    position: relative;
  }

  .prestige-marquee div {
    animation: none;
  }
}

/* Reference-style congress layout refresh */
body.public-page {
  background: #fff;
}

.public-page main {
  background:
    linear-gradient(180deg, rgba(244, 248, 252, 0.68), transparent 360px),
    #fff;
}

.public-page .topbar {
  background: rgba(255, 255, 255, 0.96);
}

.congress-hero {
  min-height: min(620px, 86vh);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  align-items: end;
  padding: clamp(52px, 7vw, 92px) clamp(26px, 6vw, 76px);
}

.congress-hero::after {
  background:
    linear-gradient(90deg, rgba(9, 22, 43, 0.86) 0%, rgba(9, 22, 43, 0.68) 44%, rgba(9, 22, 43, 0.16) 100%),
    linear-gradient(0deg, rgba(9, 22, 43, 0.64), rgba(9, 22, 43, 0.04) 54%);
}

.congress-hero .hero-media {
  background-position: center right;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
}

.congress-hero .hero-content {
  max-width: 720px;
}

.congress-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 0.98;
}

.congress-hero p {
  max-width: 650px;
  font-size: clamp(15px, 1.4vw, 19px);
}

.hero-event-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-self: end;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.panel-kicker {
  color: #f0cf80;
  font-size: 12px;
  font-weight: 880;
  text-transform: uppercase;
}

.hero-event-panel h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.hero-event-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.hero-countdown div {
  min-width: 0;
  padding: 10px 7px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  text-align: center;
}

.hero-countdown strong,
.hero-countdown span {
  display: block;
}

.hero-countdown strong {
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1;
}

.hero-countdown span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 820;
  text-transform: uppercase;
}

.compact-stats {
  width: min(860px, calc(100% - 42px));
  margin: 0 auto;
  border: 0;
  background: #fff;
  box-shadow: none;
}

.compact-stats div {
  min-height: 104px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.congress-section {
  width: min(840px, calc(100% - 42px));
  padding: 76px 0;
}

.about-layout,
.welcome-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.74fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.large-section-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 64px);
  line-height: 0.92;
  letter-spacing: 0;
}

.large-section-title strong {
  display: block;
  max-width: 260px;
  margin-top: 14px;
  color: var(--burgundy);
  font-size: 14px;
  line-height: 1.25;
}

.section-copy {
  padding-top: 8px;
  color: #526175;
}

.section-copy p {
  margin: 0 0 18px;
}

.welcome-card {
  display: grid;
  gap: 18px;
}

.welcome-card > p {
  margin: 0;
  color: #526175;
}

.welcome-speakers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.welcome-speaker-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 16px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8, 19, 37, 0.05), rgba(8, 19, 37, 0.9)),
    url("../img/hero-academic.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
}

.welcome-speaker-card span {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-weight: 900;
}

.welcome-speaker-card strong {
  font-size: 14px;
  line-height: 1.15;
}

.welcome-speaker-card small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.25;
}

.program-highlights {
  position: relative;
}

.program-timeline {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 28px;
  padding-left: 52px;
}

.program-timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--burgundy), var(--navy));
}

.program-panel {
  position: relative;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: #edf5fc;
  color: var(--navy);
}

.program-panel::before {
  content: "";
  position: absolute;
  left: -47px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.program-panel h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 18px;
}

.program-panel ol {
  margin: 0;
  padding-left: 20px;
  color: #30405a;
}

.program-panel li + li {
  margin-top: 4px;
}

.program-panel.slim {
  min-height: 62px;
  display: grid;
  align-content: center;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.visit-card {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 24, 47, 0.08), rgba(10, 24, 47, 0.86)),
    url("../img/hero-academic.png");
  background-size: cover;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.visit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(21, 40, 76, 0.18);
}

.visit-card span {
  font-weight: 900;
  font-size: 18px;
}

.visit-card strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.city-card-1 { background-position: center, 68% center; }
.city-card-2 { background-position: center, 46% center; }
.city-card-3 { background-position: center, 58% center; }
.city-card-4 { background-position: center, 38% center; }
.city-card-5 { background-position: center, 74% center; }
.city-card-6 { background-position: center, 30% center; }

body.public-page .footer {
  background: #f5f7fa;
  color: var(--text);
  border-top: 1px solid var(--line);
}

body.public-page .footer p,
body.public-page .footer a {
  color: var(--muted);
}

@media (min-width: 1040px) {
  body.public-page {
    padding-left: 208px;
  }

  body.public-page .topbar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 208px;
    min-height: 100vh;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 22px;
    padding: 28px 18px;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    box-shadow: 10px 0 30px rgba(16, 21, 34, 0.04);
  }

  body.public-page .topbar.is-scrolled {
    min-height: 100vh;
    box-shadow: 10px 0 30px rgba(16, 21, 34, 0.05);
  }

  body.public-page .brand {
    min-width: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  body.public-page .brand-mark {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  body.public-page .brand strong {
    font-size: 16px;
  }

  body.public-page .brand small {
    font-size: 10px;
  }

  body.public-page .nav {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 4px;
  }

  body.public-page .nav a,
  body.public-page .nav summary {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 12px;
  }

  body.public-page .nav a:hover,
  body.public-page .nav summary:hover,
  body.public-page .nav a.active,
  body.public-page .nav summary.active {
    background: var(--navy);
    color: #fff;
  }

  body.public-page .nav .nav-cta {
    margin: 10px 0 0;
    justify-content: center;
    background: var(--navy);
    border-color: var(--navy);
  }

  body.public-page .nav-dropdown {
    display: grid;
  }

  body.public-page .submenu {
    position: static;
    min-width: 0;
    margin: 4px 0 6px 12px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.public-page .submenu a {
    padding: 7px 10px;
    border-radius: 999px;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .congress-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 86px;
  }

  .hero-event-panel {
    max-width: 430px;
  }

  .about-layout,
  .welcome-layout {
    grid-template-columns: 1fr;
  }

  .welcome-speakers,
  .visit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .congress-hero {
    padding: 82px 18px 44px;
  }

  .congress-section {
    width: min(100% - 32px, 840px);
    padding: 54px 0;
  }

  .compact-stats {
    width: min(100% - 32px, 840px);
  }

  .compact-stats div {
    min-height: 94px;
  }

  .hero-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .large-section-title h2 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .welcome-speakers,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .welcome-speaker-card,
  .visit-card {
    min-height: 210px;
  }

  .program-timeline {
    padding-left: 34px;
  }

  .program-timeline::before {
    left: 8px;
  }

  .program-panel {
    padding: 20px;
  }

  .program-panel::before {
    left: -35px;
  }
}

/* Immersive 3D redesign for the main PHP site */
:root {
  --neo-bg: #070a14;
  --neo-bg-2: #10172a;
  --neo-text: #eef5ff;
  --neo-muted: #9caecc;
  --neo-cyan: #29d3ff;
  --neo-pink: #ff3d7f;
  --neo-lime: #a8ff5f;
  --neo-violet: #8c6dff;
}

body.public-page {
  padding-left: 0 !important;
  font-family: "SF Pro Display", "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--neo-bg);
  color: var(--neo-text);
}

.public-page main {
  background:
    linear-gradient(180deg, rgba(7, 10, 20, 0) 0, rgba(7, 10, 20, 0.96) 760px),
    radial-gradient(ellipse at 78% 12%, rgba(41, 211, 255, 0.15), transparent 34%),
    radial-gradient(ellipse at 16% 38%, rgba(255, 61, 127, 0.12), transparent 35%),
    var(--neo-bg);
}

body.public-page .topbar,
body.public-page .topbar.is-scrolled {
  position: sticky !important;
  inset: auto !important;
  top: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 76px !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(14px, 2vw, 28px) !important;
  padding: 12px clamp(18px, 4vw, 56px) !important;
  overflow: visible !important;
  background: rgba(7, 10, 20, 0.72) !important;
  border-right: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(22px);
}

body.public-page .brand {
  min-width: 260px !important;
  width: auto !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
}

body.public-page .brand-mark {
  width: 50px !important;
  height: 50px !important;
  flex-basis: 50px !important;
  background: linear-gradient(135deg, var(--neo-cyan), var(--neo-violet) 52%, var(--neo-pink));
  color: #06101d;
}

body.public-page .brand strong {
  color: #fff;
}

body.public-page .brand small {
  color: rgba(238, 245, 255, 0.64);
}

body.public-page .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
  flex-wrap: wrap;
}

body.public-page .nav a,
body.public-page .nav summary {
  width: auto !important;
  justify-content: center !important;
  border-radius: 999px !important;
  color: rgba(238, 245, 255, 0.78);
}

body.public-page .nav a:hover,
body.public-page .nav summary:hover,
body.public-page .nav a.active,
body.public-page .nav summary.active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

body.public-page .nav .nav-cta {
  background: linear-gradient(135deg, var(--neo-pink), var(--neo-violet)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

body.public-page .submenu {
  position: absolute !important;
  min-width: 220px !important;
  padding: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  background: rgba(12, 18, 34, 0.96) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34) !important;
}

.neo-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(74px, 8vw, 132px) clamp(20px, 6vw, 84px) clamp(118px, 10vw, 170px);
  overflow: hidden;
  isolation: isolate;
  perspective: 1400px;
}

.neo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(7, 10, 20, 0.94), rgba(7, 10, 20, 0.64) 48%, rgba(7, 10, 20, 0.86)),
    url("../img/hero-academic.png");
  background-size: cover;
  background-position: center right;
  filter: saturate(1.16) contrast(1.08);
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
}

.neo-hero-grid {
  position: absolute;
  inset: -10%;
  z-index: -3;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(41, 211, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 211, 255, 0.16) 1px, transparent 1px);
  background-size: 76px 76px;
  transform: rotateX(62deg) translateY(16%);
  transform-origin: bottom;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 72%, transparent);
}

.neo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(41, 211, 255, 0.12) 36% 37%, transparent 37% 100%),
    linear-gradient(70deg, transparent 0 58%, rgba(255, 61, 127, 0.14) 58% 59%, transparent 59% 100%);
}

.neo-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
  animation: heroLift 850ms ease both;
}

.neo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--neo-lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.neo-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.neo-hero h1 {
  max-width: 980px;
  margin: 20px 0 22px;
  color: #fff;
  font-size: clamp(50px, 8vw, 118px);
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
}

.neo-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(238, 245, 255, 0.78);
  font-size: clamp(17px, 1.7vw, 23px);
}

.neo-hero .button,
.neo-event-strip .button {
  border-color: transparent;
  background: linear-gradient(135deg, var(--neo-pink), var(--neo-violet));
  box-shadow: 0 20px 60px rgba(255, 61, 127, 0.24);
}

.neo-hero .button.ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.neo-hero-scene {
  position: relative;
  z-index: 2;
  min-height: min(52vw, 620px);
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease;
}

.scene-axis {
  position: absolute;
  inset: 12% 8%;
  border: 1px solid rgba(41, 211, 255, 0.22);
  transform: rotateX(64deg) rotateZ(-18deg);
  box-shadow: 0 0 70px rgba(41, 211, 255, 0.16) inset;
}

.scene-card {
  position: absolute;
  width: clamp(190px, 16vw, 260px);
  min-height: 128px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  color: #fff;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
  transform-style: preserve-3d;
  animation: neoFloat 6s ease-in-out infinite;
}

.scene-card span {
  color: rgba(238, 245, 255, 0.62);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.scene-card strong {
  font-size: 24px;
  line-height: 1.02;
}

.scene-card i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--neo-cyan), var(--neo-lime), var(--neo-pink));
}

.scene-main {
  left: 24%;
  top: 34%;
  width: clamp(250px, 22vw, 360px);
  min-height: 180px;
  transform: translateZ(120px) rotateY(-12deg);
}

.scene-top {
  right: 4%;
  top: 7%;
  transform: translateZ(70px) rotateY(-18deg) rotateX(8deg);
  animation-delay: -1.4s;
}

.scene-left {
  left: 0;
  bottom: 16%;
  transform: translateZ(60px) rotateY(18deg);
  animation-delay: -2.3s;
}

.scene-right {
  right: 4%;
  bottom: 10%;
  transform: translateZ(90px) rotateY(-22deg);
  animation-delay: -3.1s;
}

.scene-ring {
  position: absolute;
  border: 1px solid rgba(168, 255, 95, 0.32);
  transform-style: preserve-3d;
  animation: ringSpin 16s linear infinite;
}

.ring-one {
  inset: 16% 13%;
  transform: rotateX(68deg) rotateZ(0deg);
}

.ring-two {
  inset: 25% 22%;
  border-color: rgba(255, 61, 127, 0.28);
  animation-duration: 22s;
  animation-direction: reverse;
}

.neo-event-strip {
  position: absolute;
  left: clamp(20px, 6vw, 84px);
  right: clamp(20px, 6vw, 84px);
  bottom: 28px;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(9, 14, 27, 0.72);
  color: #fff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px);
}

.neo-event-strip span,
.neo-event-strip small {
  display: block;
  color: rgba(238, 245, 255, 0.62);
  font-size: 12px;
  font-weight: 760;
}

.neo-event-strip strong {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.neo-countdown {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.neo-countdown span {
  min-width: 92px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(238, 245, 255, 0.72);
}

.neo-countdown strong {
  display: inline;
  color: var(--neo-lime);
  font-size: 20px;
}

.neo-stats {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: -42px auto 60px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.26);
}

.neo-stats div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.07);
}

.neo-stats strong {
  color: #fff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.neo-stats span {
  color: rgba(238, 245, 255, 0.62);
  font-weight: 780;
}

.neo-scroll-stage {
  --neo-rail-y: 0vh;
  --device-rotate: -10deg;
  --device-float: 0px;
  position: relative;
  height: 340vh;
  color: #fff;
  background:
    linear-gradient(180deg, var(--neo-bg), #0c1324 42%, var(--neo-bg));
}

.neo-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(330px, 0.66fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: clamp(82px, 8vw, 128px) clamp(20px, 6vw, 84px);
  overflow: hidden;
  perspective: 1400px;
}

.neo-sticky::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 90px 90px;
  transform: translateY(var(--grid-y)) rotateX(60deg);
}

.neo-stage-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.neo-stage-copy h2,
.neo-section-head h2 {
  margin: 16px 0 18px;
  color: #fff;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.neo-stage-copy p,
.neo-section-head p {
  color: rgba(238, 245, 255, 0.68);
  font-size: 18px;
}

.neo-device {
  position: relative;
  z-index: 2;
  min-height: 520px;
  display: grid;
  place-items: center;
  transform: translateY(var(--device-float)) rotateY(var(--device-rotate)) rotateX(8deg);
  transform-style: preserve-3d;
  transition: transform 80ms linear;
}

.device-screen {
  width: min(74vw, 420px);
  min-height: 520px;
  display: grid;
  align-content: end;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(41, 211, 255, 0.26), rgba(255, 61, 127, 0.14));
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
}

.screen-chip {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--neo-lime);
  color: #071020;
  font-size: 12px;
  font-weight: 900;
}

.device-screen strong {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.9;
}

.screen-bars {
  display: grid;
  gap: 10px;
}

.screen-bars i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.screen-bars i:nth-child(1) { width: 82%; background: var(--neo-cyan); }
.screen-bars i:nth-child(2) { width: 64%; background: var(--neo-pink); }
.screen-bars i:nth-child(3) { width: 74%; background: var(--neo-lime); }

.neo-rail {
  position: absolute;
  right: clamp(20px, 6vw, 84px);
  top: 72vh;
  z-index: 4;
  display: grid;
  gap: 18px;
  width: min(420px, calc(100% - 40px));
  transform: translate3d(0, var(--neo-rail-y), 0);
  will-change: transform;
}

.neo-card,
.holo-panel,
.speaker-holo,
.orbit-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms);
}

.neo-card.is-visible,
.holo-panel.is-visible,
.speaker-holo.is-visible,
.orbit-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.neo-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
}

.neo-card em {
  color: var(--neo-lime);
  font-style: normal;
  font-weight: 900;
}

.neo-card strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 24px;
}

.neo-card p {
  margin: 8px 0 0;
  color: rgba(238, 245, 255, 0.66);
}

.neo-progress {
  position: absolute;
  left: clamp(20px, 6vw, 84px);
  right: clamp(20px, 6vw, 84px);
  bottom: 22px;
  z-index: 5;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.neo-progress span {
  display: block;
  width: var(--progress-width);
  height: 100%;
  background: linear-gradient(90deg, var(--neo-cyan), var(--neo-lime), var(--neo-pink));
}

.neo-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 142px) 0;
  color: #fff;
}

.neo-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.neo-section-head {
  max-width: 760px;
}

.neo-section-head.narrow {
  max-width: 820px;
  margin-bottom: 34px;
}

.neo-section .section-title h2,
.neo-section .card h3,
.neo-section .speaker-card h3 {
  color: #fff;
}

.holo-grid {
  display: grid;
  gap: 16px;
}

.holo-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(41, 211, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.holo-panel span {
  color: var(--neo-lime);
  font-weight: 900;
}

.holo-panel h3 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: 28px;
}

.holo-panel p {
  margin: 0;
  color: rgba(238, 245, 255, 0.66);
}

.program-orbit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  perspective: 1000px;
}

.orbit-item {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
  transform-style: preserve-3d;
}

.orbit-item:nth-child(odd) {
  transform: translateY(24px) rotateY(-7deg);
}

.orbit-item:nth-child(even) {
  transform: translateY(24px) rotateY(7deg);
}

.orbit-item.is-visible:nth-child(odd) {
  transform: translateY(0) rotateY(-7deg);
}

.orbit-item.is-visible:nth-child(even) {
  transform: translateY(0) rotateY(7deg);
}

.orbit-item time {
  color: var(--neo-lime);
  font-size: 13px;
  font-weight: 900;
}

.orbit-item strong {
  color: #fff;
  font-size: 21px;
  line-height: 1.08;
}

.orbit-item span {
  color: rgba(238, 245, 255, 0.58);
}

.speaker-holo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.speaker-holo {
  position: relative;
  min-height: 300px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(7, 10, 20, 0.92)),
    url("../img/hero-academic.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.3);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.speaker-holo > span {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--neo-cyan), var(--neo-lime));
  color: #071020;
  font-weight: 950;
  font-size: 24px;
}

.speaker-holo h3 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.08;
}

.speaker-holo strong {
  color: var(--neo-lime);
}

.speaker-holo p {
  margin: 0;
  color: rgba(238, 245, 255, 0.66);
}

.neo-section .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(238, 245, 255, 0.72);
}

.neo-section .card h3,
.neo-section .card-top,
.neo-section dt,
.neo-section dd {
  color: #fff;
}

body.public-page .footer {
  background: #060914;
  color: rgba(238, 245, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes neoFloat {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -18px;
  }
}

@keyframes ringSpin {
  from {
    transform: rotateX(68deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(68deg) rotateZ(360deg);
  }
}

@media (max-width: 1100px) {
  .neo-hero,
  .neo-sticky,
  .neo-split {
    grid-template-columns: 1fr;
  }

  .neo-hero-scene {
    min-height: 520px;
  }

  .neo-event-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .neo-scroll-stage {
    height: auto;
  }

  .neo-sticky {
    position: relative;
    min-height: auto;
  }

  .neo-rail {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    transform: none;
  }
}

@media (max-width: 820px) {
  body.public-page .topbar,
  body.public-page .topbar.is-scrolled {
    align-items: flex-start !important;
  }

  body.public-page .nav {
    justify-content: flex-start !important;
  }

  .neo-hero {
    padding: 66px 18px 42px;
  }

  .neo-hero h1 {
    font-size: clamp(42px, 13vw, 74px);
  }

  .neo-hero-scene {
    min-height: 420px;
  }

  .scene-main {
    left: 10%;
  }

  .scene-left,
  .scene-right,
  .scene-top {
    transform: scale(0.82);
  }

  .neo-stats,
  .program-orbit,
  .speaker-holo-grid {
    grid-template-columns: 1fr;
  }

  .neo-stats {
    margin-top: 0;
  }

  .device-screen {
    min-height: 430px;
  }

  .neo-stage-copy h2,
  .neo-section-head h2 {
    font-size: clamp(36px, 11vw, 62px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-card,
  .scene-ring {
    animation: none !important;
  }

  .neo-device,
  .neo-rail,
  .neo-hero-bg {
    transform: none !important;
  }
}

/* White academic bridge theme */
:root {
  --bridge-ink: #112039;
  --bridge-text: #26384f;
  --bridge-muted: #667891;
  --bridge-line: #dfe8f3;
  --bridge-soft: #f5f9fd;
  --bridge-blue: #0d5fa6;
  --bridge-cyan: #13b8d8;
  --bridge-rose: #c72d62;
  --bridge-green: #6fbf73;
}

body.public-page {
  background:
    radial-gradient(circle at 78% 8%, rgba(19, 184, 216, 0.14), transparent 30%),
    radial-gradient(circle at 12% 28%, rgba(199, 45, 98, 0.1), transparent 32%),
    #ffffff !important;
  color: var(--bridge-text) !important;
}

.public-page main {
  background:
    linear-gradient(180deg, rgba(245, 249, 253, 0.72) 0, #fff 620px),
    #fff !important;
}

body.public-page .topbar,
body.public-page .topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.86) !important;
  border-bottom-color: rgba(17, 32, 57, 0.1) !important;
  box-shadow: 0 14px 42px rgba(17, 32, 57, 0.08) !important;
}

body.public-page .brand strong {
  color: var(--bridge-ink) !important;
}

body.public-page .brand small {
  color: var(--bridge-muted) !important;
}

body.public-page .brand-mark {
  background: linear-gradient(135deg, #e9f8ff, #ffffff 45%, #ffeaf2) !important;
  color: var(--bridge-blue) !important;
  border: 1px solid rgba(13, 95, 166, 0.18);
}

body.public-page .nav a,
body.public-page .nav summary {
  color: #41536b !important;
}

body.public-page .nav a:hover,
body.public-page .nav summary:hover,
body.public-page .nav a.active,
body.public-page .nav summary.active {
  background: #edf6fb !important;
  color: var(--bridge-blue) !important;
}

body.public-page .nav .nav-cta,
.neo-hero .button,
.neo-event-strip .button {
  background: linear-gradient(135deg, var(--bridge-blue), var(--bridge-cyan)) !important;
  color: #fff !important;
  box-shadow: 0 18px 44px rgba(13, 95, 166, 0.18) !important;
}

.neo-hero .button.ghost {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(13, 95, 166, 0.18) !important;
  color: var(--bridge-blue) !important;
  box-shadow: 0 14px 38px rgba(17, 32, 57, 0.08) !important;
}

body.public-page .submenu {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(17, 32, 57, 0.1) !important;
}

.neo-hero {
  color: var(--bridge-text);
}

.neo-hero-bg {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78) 44%, rgba(255, 255, 255, 0.88)),
    url("../img/hero-academic.png") !important;
  background-size: cover !important;
  background-position: center right !important;
  filter: saturate(1.02) contrast(1.02) !important;
}

.neo-hero::before {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(19, 184, 216, 0.14), transparent 24%),
    linear-gradient(120deg, transparent 0 36%, rgba(19, 184, 216, 0.15) 36% 37%, transparent 37% 100%),
    linear-gradient(70deg, transparent 0 58%, rgba(199, 45, 98, 0.12) 58% 59%, transparent 59% 100%) !important;
}

.neo-hero-grid {
  opacity: 0.42 !important;
  background-image:
    linear-gradient(rgba(13, 95, 166, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 95, 166, 0.12) 1px, transparent 1px) !important;
}

.neo-kicker {
  color: var(--bridge-rose) !important;
}

.neo-hero h1,
.neo-stage-copy h2,
.neo-section-head h2,
.device-screen strong,
.holo-panel h3,
.orbit-item strong,
.speaker-holo h3 {
  color: var(--bridge-ink) !important;
  text-shadow: none !important;
}

.neo-hero p,
.neo-stage-copy p,
.neo-section-head p,
.neo-card p,
.holo-panel p,
.speaker-holo p,
.orbit-item span {
  color: var(--bridge-muted) !important;
}

.scene-axis,
.scene-ring {
  border-color: rgba(13, 95, 166, 0.18) !important;
  box-shadow: 0 0 70px rgba(19, 184, 216, 0.12) inset !important;
}

.scene-card,
.neo-event-strip,
.neo-card,
.holo-panel,
.orbit-item,
.speaker-holo,
.device-screen {
  border-color: rgba(17, 32, 57, 0.1) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 253, 0.72)) !important;
  color: var(--bridge-ink) !important;
  box-shadow: 0 28px 90px rgba(17, 32, 57, 0.12) !important;
}

.scene-card span,
.neo-event-strip span,
.neo-event-strip small,
.neo-stats span,
.scene-card strong {
  color: var(--bridge-muted) !important;
}

.scene-card strong,
.neo-event-strip strong,
.neo-card strong,
.holo-panel h3,
.speaker-holo h3 {
  color: var(--bridge-ink) !important;
}

.scene-card i,
.neo-progress span,
.screen-bars i:nth-child(1) {
  background: linear-gradient(90deg, var(--bridge-blue), var(--bridge-cyan), var(--bridge-rose)) !important;
}

.neo-event-strip {
  background: rgba(255, 255, 255, 0.82) !important;
}

.neo-countdown span {
  background: #eef7fb !important;
  color: var(--bridge-muted) !important;
}

.neo-countdown strong,
.neo-card em,
.holo-panel span,
.orbit-item time,
.speaker-holo strong {
  color: var(--bridge-blue) !important;
}

.neo-stats {
  background: #fff !important;
  border-color: var(--bridge-line) !important;
  box-shadow: 0 26px 80px rgba(17, 32, 57, 0.1) !important;
}

.neo-stats div {
  background: linear-gradient(135deg, #ffffff, #f6fbff) !important;
}

.neo-stats strong {
  color: var(--bridge-blue) !important;
}

.neo-scroll-stage {
  background:
    radial-gradient(circle at 80% 20%, rgba(19, 184, 216, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff, #f5f9fd 48%, #ffffff) !important;
  color: var(--bridge-text) !important;
}

.neo-sticky::before {
  opacity: 0.4 !important;
  background-image:
    linear-gradient(rgba(13, 95, 166, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 95, 166, 0.11) 1px, transparent 1px) !important;
}

.screen-chip {
  background: #e8f7ee !important;
  color: #217045 !important;
}

.screen-bars i {
  background: #dce8f4 !important;
}

.screen-bars i:nth-child(2) {
  background: var(--bridge-rose) !important;
}

.screen-bars i:nth-child(3) {
  background: var(--bridge-green) !important;
}

.speaker-holo {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.94)),
    url("../img/hero-academic.png") !important;
  background-size: cover !important;
  background-position: center !important;
}

.speaker-holo > span {
  background: linear-gradient(135deg, #e8f7ff, #eaf8ef) !important;
  color: var(--bridge-blue) !important;
  border: 1px solid rgba(13, 95, 166, 0.12);
}

.neo-section {
  color: var(--bridge-text) !important;
}

.neo-section .card {
  background: #fff !important;
  border-color: var(--bridge-line) !important;
  color: var(--bridge-text) !important;
  box-shadow: 0 20px 58px rgba(17, 32, 57, 0.09) !important;
}

.neo-section .card h3,
.neo-section .card-top,
.neo-section dt,
.neo-section dd,
.section-title h2,
.prose-grid h2,
.info-panel h2 {
  color: var(--bridge-ink) !important;
}

.page-hero {
  background: #f7fbff !important;
  color: var(--bridge-ink) !important;
}

.page-hero::before {
  opacity: 0.16 !important;
  filter: saturate(0.9) contrast(1.02) !important;
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82) 56%, rgba(245, 249, 253, 0.74)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.1)) !important;
}

.page-hero p {
  color: var(--bridge-muted) !important;
}

body.public-page .footer {
  background: #f7fbff !important;
  color: var(--bridge-text) !important;
  border-top-color: var(--bridge-line) !important;
}

body.public-page .footer p,
body.public-page .footer a {
  color: var(--bridge-muted) !important;
}

/* Apply the white bridge theme to every public page */
body.public-page .container {
  position: relative;
  z-index: 1;
}

body.public-page .page-hero {
  min-height: clamp(330px, 42vw, 520px);
  align-content: center;
  padding-top: clamp(92px, 10vw, 144px);
  background:
    radial-gradient(circle at 82% 22%, rgba(19, 184, 216, 0.16), transparent 28%),
    radial-gradient(circle at 10% 78%, rgba(199, 45, 98, 0.09), transparent 32%),
    linear-gradient(135deg, #ffffff, #f5f9fd) !important;
  border-bottom: 1px solid rgba(17, 32, 57, 0.08);
  perspective: 1200px;
}

body.public-page .page-hero::before {
  opacity: 0.11 !important;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
}

body.public-page .page-hero::after {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72) 54%, rgba(245, 249, 253, 0.86)),
    linear-gradient(68deg, transparent 0 58%, rgba(13, 95, 166, 0.12) 58% 59%, transparent 59% 100%) !important;
}

body.public-page .page-hero .eyebrow,
body.public-page .section-title span {
  color: var(--bridge-rose) !important;
}

body.public-page .page-hero h1 {
  color: var(--bridge-ink) !important;
  max-width: 980px;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 0.94;
  text-shadow: none;
}

body.public-page .page-hero p {
  max-width: 780px;
  color: var(--bridge-muted) !important;
  font-size: clamp(16px, 1.7vw, 21px);
}

body.public-page .section-title {
  max-width: 860px;
}

body.public-page .section-title h2 {
  color: var(--bridge-ink) !important;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
}

body.public-page .section-title p,
body.public-page .muted,
body.public-page .card p,
body.public-page .speaker-card p,
body.public-page .prose-grid p,
body.public-page .timeline p,
body.public-page .schedule span,
body.public-page .check-list {
  color: var(--bridge-muted) !important;
}

body.public-page .text-panel,
body.public-page .info-panel,
body.public-page .success-box,
body.public-page .form-shell,
body.public-page .card,
body.public-page .speaker-card,
body.public-page .prose-grid article,
body.public-page .timeline a,
body.public-page .schedule div,
body.public-page .certificate-frame,
body.public-page .table-wrap,
body.public-page .map {
  border: 1px solid rgba(17, 32, 57, 0.1) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 255, 0.82)) !important;
  box-shadow: 0 24px 70px rgba(17, 32, 57, 0.09) !important;
}

body.public-page .card,
body.public-page .speaker-card,
body.public-page .prose-grid article,
body.public-page .schedule div,
body.public-page .timeline a,
body.public-page .info-panel,
body.public-page .form-shell {
  transform-style: preserve-3d;
}

body.public-page .card:hover,
body.public-page .speaker-card:hover,
body.public-page .prose-grid article:hover,
body.public-page .schedule div:hover,
body.public-page .timeline a:hover,
body.public-page .info-panel:hover {
  transform: translateY(-6px) rotateX(1.2deg);
  box-shadow: 0 32px 90px rgba(17, 32, 57, 0.13) !important;
}

body.public-page .card::before,
body.public-page .speaker-card::before {
  height: 5px;
  background: linear-gradient(90deg, var(--bridge-blue), var(--bridge-cyan), var(--bridge-rose)) !important;
}

body.public-page .card::after,
body.public-page .speaker-card::after {
  background: linear-gradient(135deg, rgba(19, 184, 216, 0.08), transparent 42%, rgba(199, 45, 98, 0.08)) !important;
}

body.public-page .card h3,
body.public-page .speaker-card h2,
body.public-page .speaker-card h3,
body.public-page .timeline strong,
body.public-page .schedule strong,
body.public-page label,
body.public-page dt,
body.public-page dd,
body.public-page .success-box h1 {
  color: var(--bridge-ink) !important;
}

body.public-page .speaker-card strong,
body.public-page .schedule time {
  color: var(--bridge-blue) !important;
}

body.public-page .badge {
  background: #eef7fb !important;
  color: var(--bridge-blue) !important;
}

body.public-page .badge.past {
  background: #edf7f0 !important;
  color: #217045 !important;
}

body.public-page .mini-list div {
  border-bottom-color: rgba(17, 32, 57, 0.09) !important;
}

body.public-page .timeline {
  border-left-color: var(--bridge-blue) !important;
}

body.public-page .timeline a::before {
  background: var(--bridge-rose) !important;
  border-color: #fff !important;
  box-shadow: 0 0 0 4px rgba(199, 45, 98, 0.12) !important;
}

body.public-page .prose-grid article {
  border-top: 0 !important;
  overflow: hidden;
}

body.public-page .prose-grid article::before {
  content: "";
  display: block;
  height: 5px;
  margin: -30px -30px 24px;
  background: linear-gradient(90deg, var(--bridge-blue), var(--bridge-cyan), var(--bridge-rose));
}

body.public-page .schedule div {
  border-left: 0 !important;
  grid-template-columns: 132px 1fr;
}

body.public-page .schedule div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--bridge-blue), var(--bridge-cyan));
}

body.public-page .schedule div {
  position: relative;
  overflow: hidden;
}

body.public-page input,
body.public-page select,
body.public-page textarea {
  border-color: rgba(17, 32, 57, 0.14) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  color: var(--bridge-text) !important;
  box-shadow: 0 10px 24px rgba(17, 32, 57, 0.04) inset;
}

body.public-page input:focus,
body.public-page select:focus,
body.public-page textarea:focus {
  border-color: var(--bridge-cyan) !important;
  outline: 3px solid rgba(19, 184, 216, 0.18) !important;
}

body.public-page .button {
  border-color: transparent !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--bridge-blue), var(--bridge-cyan)) !important;
  color: #fff !important;
  box-shadow: 0 18px 44px rgba(13, 95, 166, 0.16) !important;
}

body.public-page .button.secondary,
body.public-page .button.ghost {
  border-color: rgba(13, 95, 166, 0.18) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  color: var(--bridge-blue) !important;
  box-shadow: 0 14px 34px rgba(17, 32, 57, 0.07) !important;
}

body.public-page .gallery-item {
  border-radius: 24px !important;
  box-shadow: 0 26px 80px rgba(17, 32, 57, 0.12) !important;
}

body.public-page .gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 184, 216, 0.12), transparent 44%, rgba(199, 45, 98, 0.14));
  pointer-events: none;
}

body.public-page .gallery-item span,
body.public-page .gallery-item strong {
  position: relative;
  z-index: 1;
}

body.public-page .gallery-item span {
  color: #ffffff !important;
}

body.public-page .map {
  background:
    linear-gradient(135deg, rgba(19, 184, 216, 0.11), rgba(111, 191, 115, 0.1)),
    #fff !important;
  color: var(--bridge-blue) !important;
}

body.public-page .certificate-summary {
  top: 100px;
}

body.public-page .linkedin-button {
  background: #0a66c2 !important;
  color: #fff !important;
}

body.public-page .linkedin-note {
  margin: 14px 0 0;
  color: var(--bridge-muted);
  font-size: 13px;
  line-height: 1.45;
}

body.public-page .certificate-frame iframe {
  background: #fff;
}

body.public-page .alert,
body.public-page .flash {
  border-color: rgba(17, 32, 57, 0.1) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: var(--bridge-ink) !important;
  box-shadow: 0 18px 50px rgba(17, 32, 57, 0.08) !important;
}

body.public-page table {
  background: #fff !important;
}

body.public-page th {
  background: #f2f8fc !important;
  color: var(--bridge-blue) !important;
}

body.public-page td {
  color: var(--bridge-text) !important;
}

body.public-page .success-box {
  position: relative;
  overflow: hidden;
}

body.public-page .success-box::before,
body.public-page .form-shell::before,
body.public-page .info-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--bridge-blue), var(--bridge-cyan), var(--bridge-rose));
}

body.public-page .form-shell,
body.public-page .info-panel {
  position: relative;
  overflow: hidden;
}

@media (max-width: 760px) {
  body.public-page .schedule div {
    grid-template-columns: 1fr;
  }

  body.public-page .page-hero h1 {
    font-size: clamp(36px, 11vw, 56px);
  }
}

/* Professional mobile-first program and speaker tables */
.professional-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(17, 32, 57, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.9));
  box-shadow: 0 24px 70px rgba(17, 32, 57, 0.09);
}

.professional-table table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

.professional-table thead {
  display: none;
}

.professional-table tbody,
.professional-table tr,
.professional-table td {
  display: block;
}

.professional-table tr {
  position: relative;
  padding: 16px;
  border-bottom: 1px solid rgba(17, 32, 57, 0.08);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms);
}

.professional-table tr.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.professional-table tr:last-child {
  border-bottom: 0;
}

.professional-table td {
  padding: 0;
  border: 0;
  color: var(--bridge-text);
}

.professional-table td + td {
  margin-top: 12px;
}

.professional-table td::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 4px;
  color: var(--bridge-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.professional-table strong {
  display: block;
  color: var(--bridge-ink);
  font-size: 16px;
  line-height: 1.24;
}

.professional-table time {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf7fb;
  color: var(--bridge-blue);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.professional-table span,
.professional-table small {
  display: block;
  color: var(--bridge-muted);
  font-size: 14px;
  line-height: 1.35;
}

.speakers-table td:first-child strong {
  font-size: 17px;
}

.speakers-table td:first-child {
  position: relative;
  padding-left: 54px;
  min-height: 42px;
}

.speakers-table td:first-child::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(13, 95, 166, 0.16), rgba(19, 184, 216, 0.16)),
    #fff;
  border: 1px solid rgba(13, 95, 166, 0.14);
}

.detail-grid > div > h2 {
  margin: 32px 0 14px;
  color: var(--bridge-ink);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.detail-grid > div > h2:first-child {
  margin-top: 0;
}

@media (min-width: 760px) {
  .professional-table thead {
    display: table-header-group;
  }

  .professional-table tbody {
    display: table-row-group;
  }

  .professional-table tr {
    display: table-row;
    padding: 0;
    border-bottom: 0;
  }

  .professional-table th,
  .professional-table td {
    display: table-cell;
    vertical-align: top;
    border-bottom: 1px solid rgba(17, 32, 57, 0.08);
  }

  .professional-table th {
    padding: 15px 18px;
    background: rgba(242, 248, 252, 0.92);
    color: var(--bridge-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .professional-table td {
    padding: 18px;
  }

  .professional-table td + td {
    margin-top: 0;
  }

  .professional-table td::before {
    content: none;
  }

  .professional-table tr:last-child td {
    border-bottom: 0;
  }

  .program-table th:nth-child(1),
  .program-table td:nth-child(1) {
    width: 160px;
  }

  .program-table th:nth-child(3),
  .program-table td:nth-child(3) {
    width: 240px;
  }

  .speakers-table th:nth-child(1),
  .speakers-table td:nth-child(1) {
    width: 34%;
  }

  .speakers-table th:nth-child(2),
  .speakers-table td:nth-child(2) {
    width: 28%;
  }

  .speakers-table td:first-child {
    padding-left: 72px;
  }

  .speakers-table td:first-child::after {
    left: 18px;
    top: 18px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 759px) {
  .professional-table {
    border-radius: 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .professional-table tbody {
    display: grid;
    gap: 12px;
  }

  .professional-table tr {
    border: 1px solid rgba(17, 32, 57, 0.1);
    border-radius: 18px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.9));
    box-shadow: 0 18px 46px rgba(17, 32, 57, 0.08);
  }

  .program-table td[data-label="Akademik Başlık"] strong {
    font-size: 17px;
  }
}
