/* DESIGN.md tokens */
:root {
  --bg: #faf9fc;
  --bg-speakers: #f7f5fc;
  --bg-agenda: #f3f8fc;
  --bg-roundtables: #ffffff;
  --bg-venue: #f4f8fc;
  --bg-footer: #1b1b63;
  --bg-elevated: #ffffff;
  --ink: #1b1b63;
  --ink-soft: #2a2a78;
  --muted: #5b6170;
  --muted-icon: #8b909c;
  --logo: #1b1b63;
  --photo-bg: #0c1140;
  --divider: #1b1b63;
  --focus: #5b4fc7;
  --cta: #1b1b63;
  --cta-text: #ffffff;
  --line: rgba(27, 27, 99, 0.12);
  --font: "Manrope", ui-sans-serif, sans-serif;
  --font-display: "Space Grotesk", ui-sans-serif, sans-serif;
  --font-brand: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hero-ink: #1c2390;
  --hero-ink-mid: #52108c;
  --hero-meta: #333333;
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --space-page-x: clamp(1.35rem, 5.5vw, 4.5rem);
  --radius-photo: 0;
  --radius-control: 10px;
  --max-width: 1180px;
  --header-h: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(180deg, #faf9fc 0%, #f7f5fc 30%, #f3f8fc 60%, #f4f8fc 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-control);
}

.skip-link:focus {
  top: 1rem;
}

/* —— Layout shell —— */
.container {
  width: min(100% - 2 * var(--space-page-x), var(--max-width));
  margin-inline: auto;
}

/* —— Header (visible once) —— */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header-h);
  background: transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

.btn--header-rsvp {
  display: none;
  min-height: 34px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(27, 27, 99, 0.16);
}

.btn--header-rsvp .btn__icon {
  width: 0.82rem;
  height: 0.82rem;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .site-header {
  background: rgba(247, 245, 252, 0.88);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

/* Official lockup from user reference (shape fixed; recolored; transparent bg) */
.brand__logo {
  display: block;
  height: clamp(1.3rem, 2.2vw, 1.55rem);
  width: auto;
  max-width: min(200px, 56vw);
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav > a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.nav > a:not(.btn):hover {
  opacity: 0.75;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bars {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-panel {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 1;
  background: #faf9fc;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--space-page-x) 1.35rem;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: 0 12px 28px rgba(27, 27, 99, 0.1);
}

.nav-panel a {
  display: block;
  padding: 0.75rem 0.25rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.nav-panel.is-open {
  display: flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn__icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 8px 20px rgba(27, 27, 99, 0.14);
}

.btn--primary:hover {
  background: #14145a;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(27, 27, 99, 0.2);
}

.btn--nav {
  min-height: 38px;
  padding: 0.45rem 1.05rem;
  margin-left: 0.15rem;
}

.btn--hero {
  margin-top: 1.4rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
}

@media (min-width: 900px) {
  .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    background: linear-gradient(
      180deg,
      rgba(245, 246, 251, 0.62) 0%,
      rgba(247, 245, 252, 0.28) 72%,
      rgba(247, 245, 252, 0) 100%
    );
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid transparent;
    transform: translateY(0);
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.25s ease,
      border-color 0.25s ease,
      backdrop-filter 0.25s ease;
    will-change: transform;
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: rgba(27, 27, 99, 0.06);
  }

  .site-header.is-hidden {
    transform: translateY(calc(-1 * var(--header-h) - 1px));
  }

  .nav {
    display: flex;
  }
  .site-header__actions {
    display: none !important;
  }
  .nav-toggle {
    display: none;
  }
  .nav-panel {
    display: none !important;
  }
}

@media (max-width: 899px) {
  html {
    background: #f5f6fb;
    scroll-behavior: auto;
  }

  .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    min-height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    background: linear-gradient(
      180deg,
      #f5f6fb 0%,
      rgba(245, 246, 251, 0.94) calc(env(safe-area-inset-top, 0px) + 0.35rem),
      rgba(247, 245, 252, 0.72) 72%,
      rgba(247, 245, 252, 0) 100%
    );
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transform: translateY(0);
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  .site-header.is-instant {
    transition: none;
  }

  .site-header.is-scrolled {
    background: rgba(247, 245, 252, 0.96);
    border-bottom-color: rgba(27, 27, 99, 0.05);
  }

  .site-header.is-hidden {
    transform: translateY(calc(-1 * var(--header-h) - env(safe-area-inset-top, 0px) - 1px));
  }

  .nav-panel {
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }

  body.nav-open .site-header {
    background: rgba(247, 245, 252, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header__actions {
    display: flex;
  }

  .btn--header-rsvp {
    display: inline-flex;
  }

  .nav-toggle {
    flex-shrink: 0;
  }

  .brand__logo {
    max-width: min(9.5rem, 42vw);
  }

  .hero__waves {
    transform: translateZ(0);
  }

  .section--speakers {
    padding-top: clamp(1.5rem, 4vw, 2.25rem);
  }

  /* Opacity-only, early trigger — no translateY hole / blank flash on scroll up */
  .reveal {
    opacity: 0;
    transform: none;
    transition: opacity 0.2s ease-out;
    will-change: opacity;
  }

  .reveal.is-in {
    opacity: 1;
    will-change: auto;
  }
}

/* —— Hero: single full-bleed photo, soft canvas warp (no stacked ribbon plate) —— */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  /* Clip media only via .hero__visual — keep type from being cropped */
  overflow: visible;
  isolation: isolate;
  /* Match photo paper so no flat “底色破口” if media lags */
  background:
    radial-gradient(ellipse 70% 55% at 72% 42%, #e9eef8 0%, transparent 58%),
    linear-gradient(180deg, #f5f6fb 0%, #f7f5fc 72%, #f7f5fc 100%);
  margin: 0;
  padding: 0;
}

.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(5rem, 18vw, 11rem);
  z-index: 3;
  pointer-events: none;
  /* Long soft handoff into speakers lilac — no hard seam */
  background: linear-gradient(
    180deg,
    rgba(247, 245, 252, 0) 0%,
    rgba(247, 245, 252, 0.2) 35%,
    rgba(247, 245, 252, 0.72) 72%,
    #f7f5fc 100%
  );
}

.hero__base,
.hero__waves {
  position: absolute;
  left: -4%;
  top: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
}

.hero__base {
  z-index: 0;
  object-fit: cover;
  object-position: 62% 48%;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
}

@media (min-width: 901px) {
  .hero__base {
    object-position: 67% 46%;
  }

  .hero__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      102deg,
      rgba(245, 246, 251, 0.78) 0%,
      rgba(245, 246, 251, 0.42) 36%,
      rgba(247, 245, 252, 0.14) 56%,
      rgba(247, 245, 252, 0) 70%
    );
  }
}

.hero__waves {
  display: block;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.45s ease;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.hero.is-warping .hero__base {
  opacity: 0;
  visibility: hidden;
}

.hero.is-warping .hero__waves {
  opacity: 1;
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 1rem) 0 5rem;
}

.hero__copy {
  max-width: min(46rem, 58%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  /* Sized so two nowrap lines fit inside copy — avoid hero crop */
  font-size: clamp(2.1rem, 4.8vw, 4.75rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.28;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 100%;
  overflow: visible;
  padding-block: 0.04em 0.08em;
}

.hero__title span {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  padding-block: 0.1em;
  background: linear-gradient(180deg, #1c2390 19.23%, #52108c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (min-width: 901px) {
  .hero__title span {
    filter: drop-shadow(0 0 14px rgba(247, 245, 252, 0.85))
      drop-shadow(0 0 6px rgba(245, 246, 251, 0.65));
  }
}

.hero__tagline {
  margin: 0.7rem 0 0;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.1vw, 2.35rem);
  font-weight: 300;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--hero-ink);
  white-space: normal; /* never clip the supporting line */
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin: 1rem 0 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.35vw, 1.65rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--hero-meta);
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__meta-item svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  color: var(--hero-meta);
  opacity: 0.88;
}

.hero__meta-sep {
  width: 1px;
  height: 0.95em;
  background: var(--hero-meta);
  opacity: 0.28;
  flex-shrink: 0;
}

.btn--hero {
  margin-top: 1.35rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 10px;
}

/* Tablet / phone: landscape ribbon like desktop — fuller hero, compact speakers */
@media (max-width: 900px) {
  .hero {
    min-height: clamp(28rem, 86vw, 88svh);
    /* Clip ribbons in .hero__visual only — keep title from being cropped */
    overflow: visible;
  }

  .hero__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      102deg,
      rgba(245, 246, 251, 0.86) 0%,
      rgba(245, 246, 251, 0.42) 38%,
      rgba(247, 245, 252, 0.12) 58%,
      rgba(247, 245, 252, 0) 72%
    );
  }

  .hero__inner {
    min-height: clamp(28rem, 86vw, 88svh);
    align-items: center;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.85rem) 0 2.25rem;
  }

  .hero__copy {
    max-width: min(100%, 26rem);
  }

  .hero__title {
    font-size: clamp(1.9rem, 6.4vw, 2.85rem);
    line-height: 1.24;
    padding-block: 0.06em 0.1em;
  }

  .hero__title span {
    white-space: normal;
    padding-block: 0.08em;
    filter: none;
  }

  .hero__tagline {
    font-size: clamp(1rem, 3.4vw, 1.35rem);
    line-height: 1.3;
    max-width: 22rem;
  }

  .hero__meta {
    font-size: clamp(0.92rem, 2.6vw, 1.1rem);
  }

  .hero__meta-sep {
    display: none;
  }

  .hero__base,
  .hero__waves {
    left: -6%;
    top: -6%;
    width: 112%;
    height: 112%;
  }

  .hero.is-warping .hero__waves {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .hero__base {
    object-fit: cover;
    object-position: 58% 40%;
  }

  .hero__visual::after {
    height: clamp(4.5rem, 20vw, 9rem);
  }
}

/* 7-inch tablet / small landscape: keep TECH CONNECT 2026 fully readable */
@media (min-width: 601px) and (max-width: 900px) {
  .hero__copy {
    max-width: min(100%, 36rem);
  }

  .hero__title {
    font-size: clamp(1.75rem, 4.6vw, 2.45rem);
    line-height: 1.26;
  }

  .hero__title span:last-child {
    max-width: 100%;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: clamp(26rem, 96vw, 86svh);
  }

  .hero__inner {
    min-height: clamp(26rem, 96vw, 86svh);
    align-items: center;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.65rem) 0 2.25rem;
  }

  .hero__copy {
    max-width: min(100%, 20rem);
  }

  .hero__title {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    letter-spacing: -0.02em;
  }

  .hero__tagline {
    margin-top: 0.45rem;
    font-size: clamp(0.9rem, 3.8vw, 1.08rem);
    max-width: 18rem;
  }

  .hero__meta {
    margin-top: 0.7rem;
    gap: 0.35rem 0.7rem;
    font-size: 0.88rem;
  }

  .btn--hero {
    margin-top: 1rem;
    min-height: 44px;
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    width: auto;
    max-width: none;
  }

  .hero__base,
  .hero__waves {
    left: -8%;
    top: -8%;
    width: 116%;
    height: 116%;
  }

  .hero.is-warping .hero__waves {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .hero__base {
    object-position: 56% 38%;
  }

  .brand__logo {
    height: 1.25rem;
    max-width: 52vw;
  }

  /* Compact speaker cards on phone */
  .speakers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .speaker {
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 3px 10px rgba(15, 23, 42, 0.045);
  }

  .speaker__photo {
    aspect-ratio: 1 / 1.05;
  }

  .speaker__body {
    gap: 0.12rem;
    padding: 0.4rem 0.2rem 0.5rem;
    min-height: 0;
  }

  .speaker__name {
    font-size: clamp(0.55rem, 2.2vw, 0.68rem);
    letter-spacing: 0;
    line-height: 1.1;
  }

  .speaker__ext {
    width: 0.42rem;
    height: 0.42rem;
  }

  .speaker__role {
    font-size: 0.55rem;
    line-height: 1.25;
    max-width: 14ch;
  }

  .speaker__logo {
    width: 2.75rem;
    height: 0.8rem;
    margin-top: 0.15rem;
  }
}

@media (max-width: 380px) {
  .hero {
    min-height: clamp(24rem, 100vw, 82svh);
  }

  .hero__inner {
    min-height: clamp(24rem, 100vw, 82svh);
  }

  .hero__title {
    font-size: 1.4rem;
  }

  .hero__tagline {
    font-size: 0.85rem;
    max-width: 100%;
  }

  .hero__copy {
    max-width: 100%;
  }

  .speakers-grid {
    gap: 0.35rem;
  }

  .speaker__body {
    padding: 0.32rem 0.15rem 0.42rem;
  }

  .speaker__name {
    font-size: 0.52rem;
  }

  .speaker__role {
    font-size: 0.5rem;
    max-width: 12ch;
  }

  .speaker__logo {
    width: 2.4rem;
    height: 0.7rem;
  }
}

/* Mid desktop: wrap before title overflows the copy column */
@media (min-width: 901px) {
  .hero__title {
    font-size: clamp(2rem, 4.4vw, 4.55rem);
  }

  .hero__title span {
    white-space: nowrap;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero__title {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
  }

  .hero__title span {
    white-space: normal;
  }

  .hero__copy {
    max-width: min(40rem, 62%);
  }
}

@media (min-width: 1200px) {
  .hero__copy {
    max-width: min(54rem, 68%);
  }
}

/* Large desktop: nowrap title must fit copy column — avoid clipping “2026” */
@media (min-width: 1400px) {
  .hero__copy {
    max-width: min(56rem, 72%);
  }

  .hero__title {
    font-size: clamp(2rem, 3.65vw, 4.3rem);
  }

  .hero__title span {
    max-width: none;
    padding-inline-end: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__waves {
    display: none;
  }

  .hero.is-warping .hero__base {
    opacity: 1;
    visibility: visible;
  }

  .btn--primary:hover {
    transform: none;
  }
}

/* —— Sections: shared bleed + soft gradient handoff between blocks —— */
.section {
  position: relative;
  padding: var(--space-section) 0;
  isolation: isolate;
}

/* Soft vertical color bridges so sections read as one continuous field */
.section::before,
.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(4.5rem, 10vw, 7.5rem);
  pointer-events: none;
  z-index: 0;
}

.section::before {
  top: 0;
  background: linear-gradient(
    180deg,
    var(--bridge-from, transparent) 0%,
    transparent 100%
  );
}

.section::after {
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--bridge-to, transparent) 100%
  );
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section--speakers {
  margin-top: 0;
  /* Soft lilac paper — continues hero atmosphere */
  --bridge-from: rgba(247, 245, 252, 0.98);
  --bridge-to: rgba(243, 248, 252, 0.9);
  background:
    radial-gradient(ellipse 80% 70% at 85% 0%, rgba(168, 150, 230, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 10% 90%, rgba(200, 180, 230, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #f7f5fc 0%, #f5f2fb 42%, #f3f7fc 100%);
}

.section--agenda {
  --bridge-from: rgba(245, 242, 251, 0.9);
  --bridge-to: rgba(255, 255, 255, 0.95);
  background:
    radial-gradient(ellipse 70% 60% at 90% 20%, rgba(140, 190, 235, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, #f3f7fc 0%, #f6fafd 45%, #fafcfe 100%);
}

.section--roundtables {
  --bridge-from: rgba(246, 250, 253, 0.95);
  --bridge-to: rgba(244, 248, 252, 0.95);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(220, 200, 240, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #fafcfe 0%, #ffffff 40%, #f7fafd 100%);
}

.section--venue {
  --bridge-from: rgba(255, 255, 255, 0.95);
  --bridge-to: rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(ellipse 65% 55% at 12% 30%, rgba(140, 185, 230, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 90% 80%, rgba(160, 175, 235, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #f7fafd 0%, #f3f8fc 48%, #ffffff 100%);
}

.section__head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 40rem;
}

.section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Speakers (card grid) —— */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.speaker {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.06);
  text-align: center;
}

/* remove old speaker-only opacity animation; use shared reveal below */

.speaker__photo {
  aspect-ratio: 1;
  background: var(--photo-bg);
  overflow: hidden;
  margin: 0;
  border-radius: 0;
}

.speaker__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.speaker__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-grow: 1;
  padding: 0.9rem 0.5rem 1.05rem;
  min-height: 7.25rem;
  width: 100%;
  min-width: 0;
}

.speaker__name {
  margin: 0;
  width: 100%;
  min-width: 0;
  font-family: var(--font-display);
  /* Larger, but still one line for longest name (Wee Hyong Tok) */
  font-size: clamp(0.78rem, 0.7vw + 0.48rem, 1.05rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  line-height: 1.15;
}

.speaker__name a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.speaker__name a:hover,
.speaker__name a:focus-visible {
  color: var(--ink-soft);
}

.speaker__ext {
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14 5h5v5M19 5l-9 9M10 7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-4' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14 5h5v5M19 5l-9 9M10 7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-4' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.85;
}

.speaker__role {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.4;
  max-width: 18ch;
  text-align: center;
}

.speaker__company {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin: auto auto 0;
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
  color: #1f2937;
  text-align: center;
}

.speaker__company-label {
  font: inherit;
  color: inherit;
  display: inline-block;
  line-height: 1;
}

.speaker__company-logo {
  display: block;
  width: 5.25rem;
  height: 1.35rem;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.speaker__logo {
  display: block;
  /* Uniform frame so every company mark reads at the same scale */
  width: 5.25rem;
  height: 1.35rem;
  max-width: 100%;
  margin: auto auto 0;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .speakers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1100px) {
  .speakers-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* —— Agenda —— */
.agenda {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.agenda__item {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.agenda__time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.agenda__time span {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.agenda__body h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.agenda__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.agenda__body .speakers-line {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .agenda__item {
    grid-template-columns: 9.5rem minmax(0, 1fr);
    align-items: start;
  }
}

/* —— Career roundtable tracks —— */
.tracks {
  display: grid;
  gap: 1.5rem 1.75rem;
  grid-template-columns: 1fr;
}

.track {
  padding: 0;
  border: none;
  min-width: 0;
}

.track__title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  text-wrap: balance;
}

.track__mentors {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.track__mentors li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 0.85rem;
  align-items: center;
}

.track__photo {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--photo-bg);
  flex-shrink: 0;
}

.track__photo--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f5f6fb;
  line-height: 1;
}

.track__meta {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.track__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.3;
}

.track__name a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.track__name a:hover,
.track__name a:focus-visible {
  color: var(--ink);
}

.track__role {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .tracks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 1.25rem 1.5rem;
  }

  .track__title {
    font-size: 0.95rem;
    min-height: 2.8em;
  }
}

@media (min-width: 1100px) {
  .tracks {
    gap: 1.5rem 2rem;
  }

  .track__title {
    font-size: 1.02rem;
  }
}

/* —— Venue —— */
.venue-grid {
  display: grid;
  gap: 1.75rem;
}

.venue-block h3 {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.venue-block p {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
}

.venue-block p + p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.venue-note {
  color: var(--muted) !important;
  font-size: 0.95rem !important;
}

.venue-link {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.venue-link:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .venue-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }

  .venue-block--wide {
    grid-column: 1 / -1;
  }
}

/* —— Footer —— */
.site-footer {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__organizers {
  background: #ffffff;
  padding: clamp(1.25rem, 3vw, 1.85rem) 0;
  border-top: 1px solid rgba(27, 27, 99, 0.08);
}

.site-footer__organizers-inner {
  width: min(100% - 2 * var(--space-page-x), 34rem);
  margin-inline: auto;
}

.organizers__title,
.sponsors__title {
  margin: 0 0 0.9rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.organizers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1.15rem) clamp(0.85rem, 2.8vw, 1.5rem);
}

.organizers li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
}

.organizers img {
  display: block;
  width: auto;
  max-width: min(7.25rem, 32vw);
  height: clamp(1.7rem, 3.6vw, 2.25rem);
  object-fit: contain;
  object-position: center;
}

/* Square marks (TJCCS / UW TGSA) keep a bit more height */
.organizers li:nth-child(2) img,
.organizers li:nth-child(3) img {
  height: clamp(2.1rem, 4.5vw, 2.75rem);
  max-width: 3.5rem;
}

.site-footer__sponsors {
  background: #fff;
  padding: 0 0 1.3rem;
}

.site-footer__sponsors-inner {
  width: min(100% - 2 * var(--space-page-x), 48rem);
  margin-inline: auto;
}

.sponsors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.5rem) clamp(1rem, 2.8vw, 1.75rem);
}

.sponsors li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
}

.sponsors img {
  display: block;
  width: auto;
  max-width: min(8rem, 30vw);
  height: clamp(1.8rem, 3.5vw, 2.5rem);
  object-fit: contain;
  object-position: center;
}

.sponsors li:nth-child(1) img,
.sponsors li:nth-child(6) img {
  max-width: min(6.2rem, 26vw);
}

.site-footer__bar {
  position: relative;
  z-index: 2;
  padding: 1.65rem 0 2rem;
  background: var(--bg-footer);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  position: relative;
  z-index: 3;
}

.site-footer__bar p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__email {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.25rem 0.15rem;
  font-size: 0.9rem;
  line-height: 1.2;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  cursor: pointer;
  pointer-events: auto;
}

.site-footer__email:hover {
  opacity: 0.9;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  pointer-events: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transform: translateY(-1px);
}

.social-link:focus-visible,
.site-footer__email:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* —— Animations —— */
/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__waves {
    display: none;
  }

  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .btn--primary:hover {
    transform: none;
  }

  .site-header {
    transition: none !important;
  }

  .site-header.is-hidden {
    transform: none;
  }
}
