:root {
  color-scheme: light;
  --ink: #10243e;
  --sand: #e8eef5;
  --mist: #d7e1ec;
  --paper: #f4f7fb;
  --surface: #ffffff;
  --white: #fff;
  --muted: rgba(16, 36, 62, 0.66);
  --line: rgba(16, 36, 62, 0.13);
  --soft-line: rgba(133, 158, 184, 0.28);
  --cyan: #58bfd6;
  --gold: #8fb6c8;
  --shadow: 0 24px 70px rgba(16, 36, 62, 0.1);
  --radius-lg: 34px;
  --radius-md: 22px;
  --page: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(88, 191, 214, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 16%, rgba(16, 36, 62, 0.08), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, #f6f8f9 34%, var(--paper) 100%);
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: clamp(1.08rem, 0.98vw, 1.18rem);
  line-height: 1.65;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(88, 191, 214, 0.48);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--page);
  min-height: 64px;
  margin: 14px auto 18px;
  padding: 0 14px 0 24px;
  border: 1px solid rgba(255, 253, 249, 0.82);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 14px 38px rgba(16, 36, 62, 0.08);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.brand::before {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff url("assets/logos/tes-society-logo.png") center / 82% auto no-repeat;
  content: "";
  box-shadow: 0 0 0 5px rgba(88, 191, 214, 0.14);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.main-nav a:hover {
  background: rgba(88, 191, 214, 0.12);
  color: var(--ink);
}

.main-nav a.current-page,
.main-nav a.current-section {
  background: rgba(16, 36, 62, 0.08);
  color: var(--ink);
}

.main-nav a.nav-cta {
  padding-right: 18px;
  padding-left: 18px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(88, 191, 214, 0.18);
}

.nav-toggle {
  display: none;
}

.floating-actions {
  position: fixed;
  top: 50%;
  right: max(18px, env(safe-area-inset-right));
  z-index: 24;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.floating-action {
  display: flex;
  width: 152px;
  min-height: 76px;
  padding: 15px 18px;
  border: 1px solid rgba(244, 247, 251, 0.7);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(16, 36, 62, 0.2);
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.floating-action span {
  display: block;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.floating-action small {
  display: block;
  margin-top: 5px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0.72;
}

.floating-action.primary {
  background: linear-gradient(135deg, #07182d, var(--ink));
  color: var(--paper);
}

.floating-action.secondary {
  border-color: rgba(88, 191, 214, 0.42);
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.floating-action.logo-action {
  align-items: center;
  min-height: 86px;
  border-color: rgba(88, 191, 214, 0.42);
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.floating-action.logo-action img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.floating-action.logo-action small {
  margin-top: 7px;
  letter-spacing: 0.08em;
}

.floating-action:hover {
  box-shadow: 0 22px 54px rgba(16, 36, 62, 0.24);
  transform: translateX(-3px);
}

/* Readability scale for attendees: keep labels and supporting text comfortably legible. */
.brand {
  font-size: clamp(1rem, 0.95vw, 1.18rem);
}

.main-nav a {
  font-size: clamp(0.95rem, 0.86vw, 1.05rem);
}

.floating-action span {
  font-size: clamp(1.35rem, 1.35vw, 1.7rem);
}

.floating-action small {
  font-size: clamp(0.78rem, 0.78vw, 0.9rem);
}

.eyebrow,
.section-heading > p:last-child,
.event-copy p,
.venue-card p,
.fee-card p,
.bank-details p,
.transfer-instructions p,
.contact-identity p,
.form-section-note,
.payment-confirmation-note,
.speaker-card-content p,
.speaker-directory-list span,
.speaker-results,
.university-order-note {
  font-size: max(1rem, 1em);
}

.section-heading h2 {
  font-size: clamp(3.1rem, 5.6vw, 5.8rem);
}

.choice-card small,
.form-field span,
.inline-choices label,
.diet-choices label,
.position-choices label,
.speaker-search span,
.speaker-filters button,
.speaker-type,
.contact-people dt,
.contact-methods span {
  font-size: clamp(0.95rem, 0.82vw, 1.08rem);
}

.choice-card strong {
  font-size: clamp(1.55rem, 2vw, 2.15rem);
}

.form-field input,
.form-field textarea,
.speaker-search input {
  font-size: 1.05rem;
}

.keynote-speaker-card .speaker-card-content h3 {
  font-size: clamp(1.75rem, 2.35vw, 2.25rem);
}

.keynote-speaker-card .speaker-card-content h3 small {
  font-size: 0.72em;
}

.speaker-directory-list strong {
  font-size: clamp(1.25rem, 1.4vw, 1.55rem);
}

.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 24px;
  z-index: 18;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(244, 247, 251, 0.62);
  border-radius: 50%;
  background: rgba(16, 36, 62, 0.92);
  box-shadow: 0 14px 36px rgba(16, 36, 62, 0.18);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease, visibility 160ms;
}

.back-to-top:hover {
  background: #07182d;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.hero {
  position: relative;
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface), var(--sand));
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 249, 0.54);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.event-strip {
  display: grid;
  grid-template-columns: 1.22fr 1fr 0.82fr;
  width: min(1180px, calc(100% - 48px));
  margin: 26px auto 0;
  overflow: hidden;
  border: 1px solid rgba(88, 191, 214, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 191, 214, 0.24), transparent 20rem),
    linear-gradient(135deg, #07182d, var(--ink));
  box-shadow: 0 22px 55px rgba(16, 36, 62, 0.16);
  backdrop-filter: blur(14px);
  color: var(--paper);
}

.event-strip div {
  min-height: 112px;
  padding: 25px 28px;
  border-left: 1px solid rgba(255, 253, 249, 0.16);
}

.event-strip div:first-child {
  border-left: 0;
}

.event-strip span,
.info-card > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.event-strip span {
  color: rgba(88, 191, 214, 0.84);
}

.event-strip strong {
  display: block;
  font-size: 1rem;
  line-height: 1.55;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 126px 0;
  scroll-margin-top: 92px;
}

.intro-section {
  width: min(1760px, calc(100% - 32px));
  margin-top: 74px;
  padding: clamp(54px, 4vw, 78px) clamp(34px, 4vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(88, 191, 214, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 0%, rgba(88, 191, 214, 0.18), transparent 26rem),
    linear-gradient(135deg, #07182d 0%, var(--ink) 58%, #183455 100%);
  box-shadow: 0 26px 70px rgba(16, 36, 62, 0.15);
  color: var(--paper);
}

.intro-section .section-heading::before {
  color: rgba(88, 191, 214, 0.12);
}

.intro-section .eyebrow,
.intro-section .section-heading > p:last-child {
  color: rgba(244, 247, 251, 0.66);
}

.section-heading {
  position: relative;
  max-width: 850px;
  margin-bottom: 54px;
  padding-top: 22px;
}

.section-heading::after {
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), rgba(200, 169, 106, 0.72));
  content: "";
}

.section-heading::before {
  position: absolute;
  top: -45px;
  left: -4px;
  z-index: -1;
  color: rgba(133, 158, 184, 0.48);
  content: attr(data-section);
  font-family: Arial, sans-serif;
  font-size: clamp(6rem, 13vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
.section-heading h2,
.register-band h2 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5.2vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.section-heading h2,
.register-band h2 {
  font-size: clamp(2.4rem, 4.7vw, 4.9rem);
}

.section-heading > p:last-child {
  max-width: 640px;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(22px, 2.2vw, 34px);
  align-items: stretch;
}

.organizer-only-layout {
  display: block;
}

.event-copy,
.institution-panel,
.venue-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
}

.event-copy {
  display: flex;
  min-height: clamp(390px, 38vw, 520px);
  padding: clamp(34px, 4vw, 58px);
  background:
    radial-gradient(circle at 18% 18%, rgba(88, 191, 214, 0.16), transparent 15rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  flex-direction: column;
  justify-content: center;
}

.event-copy::before {
  position: absolute;
  top: 28px;
  right: 32px;
  color: rgba(88, 191, 214, 0.2);
  content: "2026";
  font-family: Arial, sans-serif;
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.event-copy > * {
  position: relative;
  z-index: 1;
}

.event-copy h1 {
  max-width: 980px;
  margin-bottom: 20px;
  color: var(--paper);
  font-size: clamp(3.2rem, 6.1vw, 5.25rem);
  letter-spacing: -0.072em;
  line-height: 0.98;
  text-wrap: balance;
}

.event-copy > p:last-child {
  max-width: 600px;
  margin: 0;
  color: rgba(244, 247, 251, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.6;
}

.event-copy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.event-copy-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(88, 191, 214, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(244, 247, 251, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  grid-column: 1 / -1;
  grid-row: 2;
}

.about-metrics article {
  min-height: 150px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(88, 191, 214, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.about-metrics span,
.venue-card > span,
.institution-block > p {
  display: block;
  margin-bottom: 12px;
  color: rgba(88, 191, 214, 0.88);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-metrics strong {
  display: block;
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.about-metrics small {
  display: block;
  margin-top: 10px;
  color: rgba(244, 247, 251, 0.62);
  font-size: 0.76rem;
}

.institution-panel {
  display: grid;
  align-content: start;
  gap: 24px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  color: var(--ink);
  grid-column: 2;
  grid-row: 1;
}

.organizer-only-layout .institution-panel {
  grid-column: auto;
  grid-row: auto;
}

.institution-panel .organization-list {
  grid-template-columns: 1fr;
}

.institution-block + .institution-block {
  padding-top: 22px;
  border-top: 1px solid rgba(16, 36, 62, 0.1);
}

.institution-block > p {
  color: rgba(16, 36, 62, 0.48);
}

.venue-card {
  display: grid;
  align-content: end;
  min-height: 210px;
  padding: clamp(28px, 4vw, 40px);
  background:
    radial-gradient(circle at 92% 0%, rgba(88, 191, 214, 0.18), transparent 15rem),
    rgba(255, 255, 255, 0.08);
  grid-column: 1 / -1;
  grid-row: 3;
}

.venue-card h2 {
  max-width: 620px;
  margin: 0 0 12px;
  color: var(--paper);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.venue-card p {
  margin: 0;
  color: rgba(244, 247, 251, 0.66);
}

.venue-card .text-link {
  color: var(--paper);
  justify-self: start;
}

.organization-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.organization-rail {
  gap: 12px;
  margin-top: 0;
}

.organization-item {
  display: grid;
  align-items: center;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  min-height: 92px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 36, 62, 0.09);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.72));
  box-shadow: 0 12px 30px rgba(16, 36, 62, 0.05);
}

.organization-item:last-child {
  border-bottom: 1px solid rgba(16, 36, 62, 0.08);
}

.organization-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 62px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 36, 62, 0.04);
}

.organization-logo img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.organization-logo-wide img {
  width: 64px;
  height: auto;
  max-height: 42px;
}

.organization-logo-pair {
  gap: 3px;
}

.organization-logo-pair img {
  width: 29px;
  height: 29px;
}

.organization-name {
  color: var(--ink);
  font-size: clamp(0.96rem, 0.98vw, 1.1rem);
  font-weight: 800;
  line-height: 1.35;
}

.organization-name small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88em;
  font-weight: 700;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
  text-decoration: none;
}

.program-section {
  width: min(1680px, calc(100% - 220px));
  padding: clamp(104px, 6.8vw, 132px) clamp(34px, 4.8vw, 88px);
  overflow: visible;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 84% 0%, rgba(88, 191, 214, 0.13), transparent 24rem),
    linear-gradient(180deg, rgba(217, 228, 239, 0.38), transparent 320px),
    rgba(255, 253, 249, 0.54);
  color: var(--ink);
}

.program-section .section-heading::before {
  top: -56px;
  left: -4px;
  z-index: -1;
  color: rgba(133, 158, 184, 0.36);
  font-size: clamp(6rem, 13vw, 11rem);
}

.program-section .section-heading > * {
  position: relative;
  z-index: 1;
}

.program-section .eyebrow,
.program-section .section-heading > p:last-child,
.program-note {
  color: var(--muted);
}

.program-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: -18px 0 18px;
  padding: 8px 16px;
  border: 1px solid rgba(88, 191, 214, 0.42);
  border-radius: 999px;
  background: rgba(88, 191, 214, 0.13);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.2vw, 36px);
}

.program-day {
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.16);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
}

.program-day > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: clamp(138px, 10vw, 176px);
  padding: clamp(28px, 2.4vw, 42px);
  background: var(--sand);
}

.program-day > header p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.program-day > header h3 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(1.45rem, 1.45vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-align: right;
}

.program-list {
  --program-list-pad: clamp(26px, 2vw, 34px);
  padding: 10px var(--program-list-pad) 22px;
}

.program-item {
  display: grid;
  grid-template-columns: clamp(118px, 8vw, 148px) minmax(0, 1fr);
  gap: clamp(18px, 1.8vw, 28px);
  padding: clamp(20px, 1.7vw, 28px) 0;
  border-bottom: 1px solid var(--soft-line);
}

.program-item > div {
  min-width: 0;
}

.program-item:last-child {
  border-bottom: 0;
}

.program-item time {
  font-size: clamp(0.8rem, 0.74vw, 0.94rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.program-item h4 {
  margin: 0 0 3px;
  font-size: clamp(1rem, 0.9vw, 1.16rem);
  line-height: 1.4;
}

.program-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.84rem, 0.78vw, 0.98rem);
  line-height: 1.55;
}

.program-item p + p {
  margin-top: 0.38rem;
}

.program-session-title {
  color: var(--ink) !important;
  font-weight: 850;
}

.program-chair {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.55rem !important;
  padding: 0.35rem 0.68rem;
  border: 1px solid rgba(105, 194, 207, 0.38);
  border-radius: 999px;
  background: rgba(230, 248, 251, 0.72);
  color: var(--ink) !important;
  font-weight: 800;
}

.program-subtalks {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(133, 158, 184, 0.24);
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.66);
  list-style: none;
}

.program-subtalks li {
  display: grid;
  grid-template-columns: minmax(104px, 0.22fr) minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.82rem 0.95rem;
  border-bottom: 1px solid rgba(133, 158, 184, 0.18);
}

.program-subtalks li:last-child {
  border-bottom: 0;
}

.program-subtalks time {
  align-self: start;
  padding-top: 0.08rem;
  color: var(--ink);
  font-size: clamp(0.76rem, 0.72vw, 0.9rem);
  font-weight: 900;
}

.program-subtalks div {
  min-width: 0;
}

.program-subtalks strong {
  display: block;
  color: var(--ink);
  font-size: clamp(0.86rem, 0.78vw, 0.98rem);
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.program-subtalks span {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: clamp(0.78rem, 0.72vw, 0.9rem);
  font-weight: 750;
  line-height: 1.45;
}

.program-subtalks-compact li {
  grid-template-columns: minmax(104px, 0.26fr) minmax(0, 1fr);
}

.program-item.keynote,
.program-item.parallel {
  margin-top: 0;
  margin-bottom: 0;
  margin-right: calc(-1 * var(--program-list-pad));
  margin-left: calc(-1 * var(--program-list-pad));
  padding-right: var(--program-list-pad);
  padding-left: var(--program-list-pad);
  background: rgba(217, 228, 239, 0.45);
}

.program-item.parallel {
  background: rgba(217, 228, 239, 0.72);
}

.program-item .parallel-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 2px solid var(--ink);
  background: rgba(244, 247, 251, 0.7);
  color: var(--ink);
}

.program-note {
  margin: 24px 0 0;
  font-size: 0.78rem;
}

@media (max-width: 1440px) {
  .program-section {
    width: min(1280px, calc(100% - 28px));
    padding-right: clamp(26px, 3vw, 46px);
    padding-left: clamp(26px, 3vw, 46px);
  }

  .program-days {
    gap: 22px;
  }

  .program-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 1180px) {
  .program-section {
    width: calc(100% - 20px);
  }

  .program-days {
    grid-template-columns: 1fr;
  }

  .program-day > header h3 {
    max-width: 520px;
  }
}

.fee-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fee-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.76);
  box-shadow: 0 18px 48px rgba(16, 36, 62, 0.05);
}

.fee-card::before {
  position: absolute;
  right: 20px;
  bottom: -28px;
  color: rgba(133, 158, 184, 0.48);
  content: "NT$";
  font-family: Arial, sans-serif;
  font-size: 6.5rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.fee-card.featured {
  transform: translateY(-18px);
  border-color: rgba(88, 191, 214, 0.32);
  background:
    radial-gradient(circle at 84% 18%, rgba(88, 191, 214, 0.2), transparent 12rem),
    var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.fee-card.featured::before {
  color: rgba(133, 158, 184, 0.12);
}

.fee-card p {
  min-height: 52px;
  margin-bottom: 54px;
  color: var(--muted);
  font-weight: 700;
}

.fee-card.featured p,
.fee-card.featured span {
  color: rgba(244, 247, 251, 0.68);
}

.fee-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.fee-card small {
  margin-right: 5px;
  font-size: 0.85rem;
  letter-spacing: 0;
}

.fee-card span {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.registration-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.62);
}

.registration-rule {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  min-height: 210px;
  padding: 26px;
  border-left: 1px solid var(--soft-line);
}

.registration-rule:first-child {
  border-left: 0;
  background: rgba(217, 228, 239, 0.7);
}

.registration-rule > span {
  color: rgba(22, 42, 70, 0.38);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.registration-rule strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.registration-rule .rule-lead {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.registration-rule ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
  list-style: none;
}

.registration-rule li {
  position: relative;
  padding-left: 14px;
}

.registration-rule li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.registration-rule li b {
  color: var(--ink);
}

.registration-policy {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.72);
}

.policy-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--soft-line);
}

.policy-heading h3 {
  margin: 0;
  font-size: 1.35rem;
}

.policy-heading > span {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(88, 191, 214, 0.12);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.policy-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.policy-timeline > div {
  min-height: 174px;
  padding: 26px 28px;
  border-left: 1px solid var(--soft-line);
}

.policy-timeline > div:first-child {
  border-left: 0;
}

.policy-timeline time {
  display: block;
  margin-bottom: 18px;
  color: rgba(22, 42, 70, 0.38);
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.policy-timeline strong {
  display: block;
  margin-bottom: 7px;
}

.policy-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.policy-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--soft-line);
  background: rgba(217, 228, 239, 0.32);
}

.policy-details article {
  padding: 26px 28px;
  border-left: 1px solid var(--soft-line);
}

.policy-details article:first-child {
  border-left: 0;
}

.policy-details h4 {
  margin-bottom: 12px;
}

.policy-details ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 0.8rem;
}

.payment-section,
.sponsors-section,
.contact-section {
  padding-top: 90px;
}

.payment-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.72);
}

.bank-details {
  margin: 0;
  padding: 42px;
  background:
    radial-gradient(circle at 88% 12%, rgba(88, 191, 214, 0.2), transparent 12rem),
    var(--ink);
  color: var(--paper);
}

.bank-details div {
  padding: 22px 0;
  border-bottom: 1px solid rgba(133, 158, 184, 0.28);
}

.bank-details div:last-child {
  border-bottom: 1px solid rgba(133, 158, 184, 0.28);
}

.bank-details dt {
  color: rgba(244, 247, 251, 0.58);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.bank-details dd {
  margin: 6px 0 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.transfer-instructions {
  padding: 46px;
}

.transfer-instructions h3 {
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.transfer-flow {
  display: grid;
  position: relative;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.transfer-flow li {
  display: grid;
  position: relative;
  grid-template-columns: 48px 170px 1px minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
  padding: 14px 18px;
  border: 1px solid rgba(133, 158, 184, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.76));
  box-shadow: 0 10px 24px rgba(16, 36, 62, 0.05);
  color: var(--muted);
  align-items: center;
}

.transfer-flow li::after {
  display: block;
  width: 1px;
  min-height: 64px;
  background: linear-gradient(180deg, rgba(88, 191, 214, 0), rgba(133, 158, 184, 0.5), rgba(88, 191, 214, 0));
  content: "";
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
}

.transfer-flow span {
  display: grid;
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  place-items: center;
  box-shadow: 0 12px 24px rgba(16, 36, 62, 0.16);
}

.transfer-flow strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.transfer-flow p {
  grid-column: 4;
  align-self: center;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.transfer-instructions > p {
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--soft-line);
}

.transfer-instructions a {
  font-weight: 800;
}

.sponsor-feature-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.sponsor-card {
  position: relative;
  display: flex;
  min-height: 260px;
  margin: 0;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.76);
  color: var(--ink);
  grid-column: span 3;
  box-shadow: 0 16px 46px rgba(16, 36, 62, 0.05);
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.sponsor-card-gold {
  min-height: 360px;
  padding: 38px;
  background: linear-gradient(145deg, rgba(255, 253, 249, 0.96), rgba(217, 228, 239, 0.72));
  grid-column: span 10;
}

.sponsor-card-silver {
  background: linear-gradient(145deg, rgba(255, 253, 249, 0.84), rgba(133, 158, 184, 0.38));
  grid-column: span 5;
}

.sponsor-card-bronze {
  background: rgba(217, 228, 239, 0.58);
  grid-column: span 4;
}

.sponsor-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.sponsor-card-gold img {
  height: 210px;
}

.sponsor-card-silver img {
  height: 170px;
}

.sponsor-card-bronze img {
  height: 150px;
}

.sponsor-card-apg img {
  width: min(94%, 660px);
  height: 205px;
  margin: 0 auto;
  object-fit: contain;
}

.sponsor-card-dovetail img {
  height: 150px;
  object-fit: contain;
  object-position: center;
}

.sponsor-card h3 {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.sponsor-card[href] {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sponsor-card[href]:hover {
  border-color: rgba(88, 191, 214, 0.48);
  box-shadow: 0 24px 58px rgba(16, 36, 62, 0.14);
  transform: translateY(-3px);
}

.sponsor-placeholder {
  display: grid;
  min-height: 170px;
  place-items: center;
  border: 1px dashed rgba(22, 42, 70, 0.28);
  border-radius: 16px;
  color: rgba(22, 42, 70, 0.38);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.sponsor-logo-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--soft-line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.44);
}

.sponsor-logo-card {
  display: grid;
  min-height: 132px;
  padding: 18px;
  place-items: center;
  border: 1px solid rgba(133, 158, 184, 0.62);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.72);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.sponsor-logo-card img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.sponsor-logo-placeholder {
  border-style: dashed;
  background: transparent;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 0.9fr;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.74);
}

.contact-panel > * {
  padding: 40px;
  border-left: 1px solid var(--soft-line);
}

.contact-panel > *:first-child {
  border-left: 0;
}

.contact-identity {
  display: flex;
  gap: 28px;
  background:
    radial-gradient(circle at 20% 18%, rgba(88, 191, 214, 0.12), transparent 12rem),
    var(--sand);
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.contact-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.contact-logo {
  display: block;
  width: 118px;
  height: 118px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(244, 247, 251, 0.62);
  mix-blend-mode: multiply;
}

.contact-identity h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
  line-height: 1.3;
}

.contact-identity p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-people {
  margin: 0;
}

.contact-people div {
  padding: 16px 0;
  border-bottom: 1px solid var(--soft-line);
}

.contact-people div:first-child {
  padding-top: 0;
}

.contact-people div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-people dt,
.contact-methods span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.contact-people dt span,
.contact-people dd span {
  margin-left: 5px;
}

.contact-people dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.contact-methods {
  display: flex;
  gap: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 191, 214, 0.16), transparent 12rem),
    var(--ink);
  flex-direction: column;
  justify-content: center;
}

.contact-methods a {
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-methods span {
  display: block;
  margin-bottom: 3px;
  color: rgba(244, 247, 251, 0.56);
}

.register-band {
  position: relative;
  width: min(1360px, calc(100% - 28px));
  margin: 40px auto 14px;
  padding: 100px clamp(22px, 4vw, 72px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 191, 214, 0.15), transparent 25rem),
    linear-gradient(145deg, rgba(217, 228, 239, 0.9), rgba(255, 253, 249, 0.72));
}

.register-band::after {
  position: absolute;
  right: -30px;
  bottom: -90px;
  color: rgba(244, 247, 251, 0.4);
  content: "REGISTER";
  font-family: Arial, sans-serif;
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.register-band > *,
.register-band .button {
  position: relative;
  z-index: 1;
}

.register-intro {
  width: 100%;
  max-width: 1180px;
  margin-bottom: 42px;
  margin-right: auto;
  margin-left: auto;
}

.register-intro > p:not(.eyebrow),
.register-intro > div > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.registration-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.registration-fields li {
  padding: 6px 12px;
  border: 1px solid rgba(16, 36, 62, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  background: #07182d;
  box-shadow: 0 14px 30px rgba(16, 36, 62, 0.16);
  transform: translateY(-1px);
}

.amount-panel {
  min-width: 210px;
  padding: 18px 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 16%, rgba(88, 191, 214, 0.22), transparent 10rem),
    var(--ink);
  color: var(--paper);
  text-align: right;
}

.amount-panel span,
.amount-panel small {
  display: block;
  color: rgba(244, 247, 251, 0.62);
  font-size: 0.72rem;
}

.amount-panel strong {
  display: block;
  margin: 4px 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.payment-confirmation {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
  margin-bottom: 18px;
}

.payment-confirmation .amount-panel {
  display: flex;
  container-type: inline-size;
  min-width: 0;
  min-height: 190px;
  padding: 28px;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.payment-confirmation .amount-panel strong {
  max-width: 100%;
  margin: 8px 0;
  font-size: clamp(2rem, 13cqw, 4rem);
  overflow-wrap: normal;
  white-space: nowrap;
}

.bank-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  background: var(--surface);
}

.bank-summary div {
  padding: 22px 24px;
  border-bottom: 1px solid var(--soft-line);
  border-left: 1px solid var(--soft-line);
}

.bank-summary div:nth-child(odd) {
  border-left: 0;
}

.bank-summary div:last-child {
  border-bottom: 0;
  grid-column: 1 / -1;
}

.bank-summary dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.bank-summary dd {
  margin: 6px 0 0;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.45;
}

.copyable-account {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.copy-account-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.78;
}

.copy-account-button:hover,
.copy-account-button.copied {
  opacity: 1;
}

.copy-account-button.copied {
  background: currentColor;
}

.bank-details .copy-account-button.copied {
  color: var(--ink);
  background: var(--paper);
}

.bank-summary .copy-account-button.copied {
  color: var(--paper);
  background: var(--ink);
}

.payment-confirmation-note {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

.registration-form {
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
  padding: 42px;
  border: 1px solid rgba(255, 253, 249, 0.72);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 22px 55px rgba(16, 36, 62, 0.09);
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 32px 0;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
}

.form-section:first-child {
  padding-top: 0;
}

.form-section legend {
  width: 100%;
  min-width: 0;
  margin-bottom: 24px;
  padding: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.form-section legend span {
  margin-right: 10px;
  color: rgba(16, 36, 62, 0.36);
  font-family: Arial, sans-serif;
}

.form-section-note {
  max-width: 780px;
  margin: -10px 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.form-section-note a {
  color: var(--ink);
  font-weight: 900;
  text-decoration-color: rgba(88, 191, 214, 0.7);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.membership-submit-notice {
  color: #c91f1f !important;
  font-weight: 900 !important;
}

.membership-submit-notice a {
  color: #c91f1f !important;
  font-weight: 950 !important;
  text-decoration-color: rgba(201, 31, 31, 0.55) !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.form-field {
  display: flex;
  gap: 9px;
  flex-direction: column;
  min-width: 0;
}

.form-field > span {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

.form-field > span small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.form-field b {
  color: #a24b42;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  outline: none;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(88, 191, 214, 0.72);
  box-shadow: 0 0 0 3px rgba(88, 191, 214, 0.16);
}

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

.membership-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card > span {
  display: flex;
  min-height: 130px;
  padding: 20px;
  border: 1px solid var(--soft-line);
  border-radius: 16px;
  background: var(--surface);
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.choice-card strong {
  font-size: clamp(1.28rem, 1.7vw, 1.7rem);
}

.choice-card small {
  color: var(--muted);
}

.choice-card input:checked + span {
  transform: translateY(-3px);
  border-color: rgba(88, 191, 214, 0.72);
  background: linear-gradient(145deg, rgba(88, 191, 214, 0.12), rgba(255, 253, 249, 0.88));
}

.choice-card input:focus-visible + span {
  outline: 3px solid rgba(88, 191, 214, 0.36);
  outline-offset: 3px;
}

.conditional-fields {
  margin-top: 18px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(217, 228, 239, 0.52);
}

.roommate-status-field {
  grid-column: 1 / -1;
}

.roommate-status-choices {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roommate-status-choices label {
  align-items: flex-start;
  min-height: 76px;
}

.roommate-name-field {
  grid-column: 1 / -1;
  max-width: 560px;
}

.field-help {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.inline-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
  min-height: 48px;
  min-width: 0;
}

.inline-choices label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.66);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.inline-choices label:has(input:checked) {
  transform: translateY(-2px);
  border-color: rgba(88, 191, 214, 0.72);
  background: rgba(88, 191, 214, 0.12);
}

.inline-choices label span {
  min-width: 0;
  white-space: nowrap;
}

.inline-choices input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--cyan);
}

.position-choices {
  display: flex;
  flex-wrap: wrap;
}

.position-choices label {
  flex: 1 0 150px;
  min-width: 150px;
}

.position-choices label:nth-child(4) {
  flex-basis: 260px;
  min-width: 260px;
}

.position-choices label span {
  overflow-wrap: normal;
  white-space: nowrap;
}

.position-field {
  grid-column: 1 / -1;
}

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

[hidden],
.other-position[hidden],
.roommate-name-field[hidden],
.honeypot-field {
  display: none !important;
}

.consent-field {
  display: grid;
  align-items: start;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
}

.consent-field input {
  width: 20px;
  height: 20px;
  margin: 0;
  transform: translateY(0.2em);
}

.consent-field span {
  line-height: 1.6;
}

.form-submit-row {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--soft-line);
}

.submit-message strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.submit-message p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-submit-row button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-submit-row button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.form-submit-row button:not(:disabled):hover {
  transform: translateY(-2px);
}

.submission-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.registration-success {
  margin-top: 22px;
  padding: 34px;
  border: 1px solid rgba(244, 247, 251, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0%, rgba(88, 191, 214, 0.22), transparent 14rem),
    var(--ink);
  box-shadow: 0 22px 55px rgba(16, 36, 62, 0.16);
  color: var(--paper);
}

.registration-success[hidden] {
  display: none !important;
}

.success-heading {
  max-width: 780px;
}

.success-heading h3 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.success-heading p:last-child {
  color: rgba(244, 247, 251, 0.68);
}

.success-registration-id {
  display: grid;
  gap: 20px;
  margin: 28px 0 18px;
  padding: 22px 24px;
  border: 1px solid rgba(244, 247, 251, 0.24);
  border-radius: 16px;
  background: rgba(244, 247, 251, 0.08);
}

.success-registration-id span {
  color: rgba(244, 247, 251, 0.6);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.success-registration-id strong {
  font-family: Arial, sans-serif;
  font-size: clamp(1.8rem, 4.8vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-align: left;
}

.success-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 251, 0.2);
  border-radius: 16px;
}

.success-summary > div {
  padding: 17px 20px;
  border-top: 1px solid rgba(244, 247, 251, 0.16);
  border-left: 1px solid rgba(244, 247, 251, 0.16);
}

.success-summary > div:nth-child(-n + 2) {
  border-top: 0;
}

.success-summary > div:nth-child(odd) {
  border-left: 0;
}

.success-summary dt {
  color: rgba(244, 247, 251, 0.54);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.success-summary dd {
  margin: 5px 0 0;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) auto;
  align-items: start;
  gap: clamp(34px, 5vw, 96px);
  width: min(1360px, calc(100% - 28px));
  margin: 0 auto 14px;
  padding: 34px max(28px, calc((100% - 1180px) / 2));
  border-radius: 24px;
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  max-width: 640px;
  margin-bottom: 0;
}

.site-footer > div {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}

.site-footer a {
  color: var(--paper);
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

body.footer-in-view .floating-actions {
  opacity: 0;
  pointer-events: none;
}

.speaker-preview-section {
  padding-top: 80px;
}

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

.keynote-preview-card {
  position: relative;
  display: grid;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.84);
  box-shadow: 0 18px 48px rgba(16, 36, 62, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.keynote-preview-card[href] {
  color: inherit;
  text-decoration: none;
}

.keynote-preview-card[href]::after {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--muted);
  content: "↗";
  font-size: 0.9rem;
  font-weight: 900;
}

.keynote-preview-card[href]:hover {
  border-color: rgba(88, 191, 214, 0.42);
  box-shadow: 0 18px 40px rgba(16, 36, 62, 0.08);
  transform: translateY(-3px);
}

.keynote-preview-card > div {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 26px;
}

.keynote-preview-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(217, 228, 239, 0.86), rgba(255, 253, 249, 0.74));
}

.speaker-monogram {
  display: block;
  width: 100%;
  min-width: 0;
  height: 230px;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(88, 191, 214, 0.28), transparent 4rem),
    var(--ink);
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.speaker-monogram img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--avatar-position, center 24%);
  transform:
    translate(var(--avatar-shift-x, 0), var(--avatar-shift-y, 0))
    scale(var(--avatar-zoom, 1));
  transform-origin: center center;
}

.keynote-preview-card:nth-child(2) .speaker-monogram img {
  object-position: var(--avatar-position, center 18%);
}

.keynote-preview-card:nth-child(3) .speaker-monogram img {
  object-position: var(--avatar-position, center 16%);
}

.keynote-preview-card p {
  min-height: 58px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.keynote-preview-card h3 {
  max-width: 100%;
  margin: 0 0 8px;
  font-size: clamp(1.12rem, 1.55vw, 1.45rem);
  line-height: 1.25;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.keynote-preview-card h3 > span {
  display: block;
}

.keynote-preview-card h3 small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68em;
  font-weight: 700;
}

.keynote-preview-card div > span {
  color: var(--muted);
  font-size: 0.76rem;
}

.speakers-page-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 22px 28px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(16, 36, 62, 0.12);
}

.speakers-page-link span:last-child {
  font-size: 1.5rem;
  transition: transform 160ms ease;
}

.speakers-page-link:hover span:last-child {
  transform: translateX(5px);
}

.invited-preview-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 68px;
  margin-bottom: 20px;
}

.invited-preview-header h3 {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.invited-preview-header p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.speaker-slider-controls {
  display: flex;
  gap: 8px;
}

.speaker-slider-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
  place-items: center;
  transition: background 160ms ease, color 160ms ease;
}

.speaker-slider-controls button:hover {
  border-color: rgba(88, 191, 214, 0.52);
  background: var(--ink);
  color: var(--paper);
}

.invited-speaker-slider {
  display: grid;
  grid-auto-columns: minmax(230px, 0.28fr);
  grid-auto-flow: column;
  gap: 12px;
  margin-right: calc((100vw - var(--page)) / -2);
  padding: 2px max(24px, calc((100vw - var(--page)) / 2)) 22px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--cyan) transparent;
  scroll-padding-inline: 0;
  scroll-snap-type: inline mandatory;
}

.invited-preview-card {
  display: grid;
  align-items: center;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  min-height: 146px;
  padding: 22px;
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.76);
  scroll-snap-align: start;
  box-shadow: 0 12px 30px rgba(16, 36, 62, 0.04);
}

.speaker-preview-avatar {
  display: grid;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 18%, rgba(88, 191, 214, 0.26), transparent 3.2rem),
    var(--ink);
  color: var(--paper);
  font-size: 1.3rem;
  font-weight: 900;
  place-items: center;
}

.speaker-preview-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--avatar-position, center center);
  transform:
    translate(var(--avatar-shift-x, 0), var(--avatar-shift-y, 0))
    scale(var(--avatar-zoom, 1));
}

.invited-preview-card h4 {
  margin-bottom: 5px;
  font-size: 1.06rem;
  white-space: nowrap;
}

.invited-preview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.speakers-hero {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 0;
  width: min(1480px, calc(100% - 28px));
  min-height: 360px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 0%, rgba(88, 191, 214, 0.14), transparent 22rem),
    rgba(255, 253, 249, 0.76);
  box-shadow: var(--shadow);
}

.speakers-hero-title {
  display: flex;
  min-width: 0;
  padding: clamp(54px, 5.2vw, 86px);
  flex-direction: column;
  justify-content: center;
}

.speakers-event-name {
  position: relative;
  max-width: 780px;
  margin-bottom: clamp(30px, 3.6vw, 52px);
  padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.8vw, 34px);
  border: 1px solid rgba(133, 158, 184, 0.24);
  border-left: 6px solid var(--cyan);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.56);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(16, 36, 62, 0.08);
}

.speakers-event-name::after {
  position: absolute;
  right: clamp(22px, 2.8vw, 34px);
  bottom: -28px;
  left: clamp(22px, 2.8vw, 34px);
  height: 1px;
  background: linear-gradient(90deg, rgba(88, 191, 214, 0.72), rgba(210, 199, 157, 0.54), transparent);
  content: "";
}

.speakers-event-name .event-year {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 36, 62, 0.08);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.speakers-event-name strong {
  display: block;
  max-width: 720px;
  font-size: clamp(1.45rem, 2.15vw, 2.55rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.22;
}

.speakers-event-name .event-english {
  display: block;
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(0.72rem, 0.9vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.speakers-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(3.7rem, 6.5vw, 6.9rem);
  letter-spacing: 0;
  line-height: 0.95;
}

.speakers-hero h1 span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speakers-hero-title > p:last-child {
  max-width: 540px;
  margin-bottom: 0;
  color: var(--muted);
}

.speakers-hero-facts {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 191, 214, 0.18), transparent 12rem),
    var(--ink);
  color: var(--paper);
}

.speakers-hero-facts div {
  display: grid;
  align-items: center;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 34px;
  border-top: 1px solid rgba(133, 158, 184, 0.22);
}

.speakers-hero-facts div:first-child {
  border-top: 0;
}

.speakers-hero-facts dt {
  color: rgba(244, 247, 251, 0.5);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.speakers-hero-facts dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.speakers-hero-facts dd strong {
  font-size: 1.8rem;
  line-height: 1;
}

.keynote-section {
  padding-bottom: 90px;
}

.keynote-speaker-card {
  position: relative;
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(16, 36, 62, 0.06);
}

.speaker-portrait-placeholder {
  display: grid;
  min-height: 190px;
  place-items: end start;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(244, 247, 251, 0.15), transparent 55%),
    var(--sand);
}

.keynote-speaker-card:nth-child(2) .speaker-portrait-placeholder {
  background: var(--ink);
}

.keynote-speaker-card:nth-child(3) .speaker-portrait-placeholder {
  background: linear-gradient(135deg, #e8eef5, var(--paper));
}

.speaker-portrait-placeholder span {
  color: rgba(22, 42, 70, 0.22);
  font-family: Arial, sans-serif;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.keynote-speaker-card:nth-child(2) .speaker-portrait-placeholder span {
  color: rgba(244, 247, 251, 0.34);
}

.speaker-card-content {
  padding: 26px;
}

.speaker-type {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 5px 10px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.speaker-card-content h3 {
  margin-bottom: 16px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.speaker-card-content h3 small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.speaker-card-content p {
  min-height: 52px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.55;
}

.speaker-card-content > span:last-child {
  color: var(--muted);
  font-size: 0.8rem;
}

.invited-section {
  width: min(1480px, calc(100% - 28px));
  padding: clamp(82px, 7vw, 126px) clamp(22px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 0%, rgba(88, 191, 214, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(217, 228, 239, 0.38), transparent 320px),
    rgba(255, 253, 249, 0.54);
  color: var(--ink);
}

.invited-section .section-heading::before {
  color: rgba(133, 158, 184, 0.42);
}

.invited-section .eyebrow,
.invited-section .section-heading > p:last-child {
  color: var(--muted);
}

.invited-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.invited-summary p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.invited-summary span {
  color: var(--muted);
  font-size: 0.8rem;
}

.invited-speaker-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  counter-reset: invited-speakers;
}

.invited-speaker {
  position: relative;
  display: flex;
  min-height: 165px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.8);
  flex-direction: column;
  justify-content: flex-end;
  counter-increment: invited-speakers;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.invited-speaker::before {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(16, 36, 62, 0.22);
  content: counter(invited-speakers, decimal-leading-zero);
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.invited-speaker:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 191, 214, 0.38);
  box-shadow: 0 14px 30px rgba(16, 36, 62, 0.07);
}

.invited-speaker > div {
  display: flex;
  flex-direction: column;
}

.invited-speaker span {
  display: block;
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.invited-speaker h3 {
  order: -1;
  margin: 0;
  padding-right: 38px;
  font-size: 1.22rem;
  line-height: 1.3;
}

.featured-invitation {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 150px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  grid-column: 1 / -1;
}

.featured-invitation::before {
  color: rgba(244, 247, 251, 0.3);
}

.featured-invitation div {
  display: flex;
  flex-direction: column;
}

.featured-invitation span {
  color: rgba(244, 247, 251, 0.58);
}

.featured-invitation strong {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(244, 247, 251, 0.32);
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.68rem;
}

.keynote-speaker-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.keynote-speaker-card {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.78);
}

.keynote-speaker-card[href] {
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.keynote-speaker-card[href]::after {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--muted);
  content: "↗";
  font-size: 0.9rem;
  font-weight: 900;
}

.keynote-speaker-card[href]:hover {
  border-color: rgba(88, 191, 214, 0.42);
  box-shadow: 0 18px 40px rgba(16, 36, 62, 0.08);
  transform: translateY(-3px);
}

.keynote-speaker-visual {
  position: relative;
  display: grid;
  align-self: stretch;
  min-height: 360px;
  padding: clamp(22px, 2.4vw, 34px);
  place-items: center;
  background:
    radial-gradient(circle at 70% 18%, rgba(88, 191, 214, 0.16), transparent 8rem),
    var(--sand);
}

.keynote-number {
  position: absolute;
  top: 16px;
  left: 18px;
  color: rgba(16, 36, 62, 0.38);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.keynote-portrait {
  display: grid;
  position: relative;
  width: min(100%, 320px);
  height: clamp(250px, 26vw, 380px);
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 68% 20%, rgba(88, 191, 214, 0.26), transparent 4.4rem),
    var(--ink);
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  isolation: isolate;
  letter-spacing: 0.08em;
  place-items: center;
  box-shadow: 0 24px 52px rgba(16, 36, 62, 0.18);
}

.keynote-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--avatar-position, 50% 50%);
  transform: translate(var(--avatar-shift-x, 0), var(--avatar-shift-y, 0)) scale(var(--avatar-zoom, 1));
  transform-origin: center center;
}

.keynote-speaker-card:nth-child(2) .keynote-speaker-visual {
  background: var(--ink);
}

.keynote-speaker-card:nth-child(2) .keynote-number {
  color: rgba(244, 247, 251, 0.58);
}

.keynote-speaker-card:nth-child(2) .keynote-portrait {
  background: var(--sand);
  color: var(--ink);
}

.keynote-speaker-card .speaker-card-content {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr) auto;
  gap: 30px;
  padding: clamp(34px, 4vw, 58px);
}

.keynote-speaker-card .speaker-type {
  align-self: start;
  grid-column: 1 / -1;
  margin-bottom: -6px;
  justify-self: start;
}

.keynote-speaker-card .speaker-card-content h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.22;
}

.keynote-speaker-card .speaker-card-content h3 small {
  display: block;
  margin-top: 6px;
  font-size: 0.62em;
}

.keynote-speaker-card .speaker-card-content p {
  min-height: 0;
  margin: 0;
  color: var(--muted);
}

.keynote-speaker-card .speaker-card-content > span:last-child {
  text-align: right;
  white-space: nowrap;
}

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

.speaker-directory-tools {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 18px 24px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid var(--soft-line);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.78);
}

.speaker-search {
  display: grid;
  gap: 8px;
}

.speaker-search span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.speaker-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.speaker-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.speaker-filters button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
}

.speaker-filters button:hover,
.speaker-filters button.active {
  border-color: rgba(88, 191, 214, 0.48);
  background: var(--ink);
  color: var(--paper);
}

.speaker-results {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.speaker-group {
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.78);
}

.speaker-group-wide {
  grid-column: 1 / -1;
}

.speaker-group > header {
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--soft-line);
  background: rgba(255, 253, 249, 0.58);
}

.speaker-group > header p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.speaker-group > header h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
}

.speaker-group-featured {
  border-color: rgba(88, 191, 214, 0.32);
  background:
    radial-gradient(circle at 92% 0%, rgba(88, 191, 214, 0.2), transparent 12rem),
    var(--ink);
  color: var(--paper);
}

.speaker-group-featured > header {
  border-bottom-color: rgba(133, 158, 184, 0.22);
  background: transparent;
}

.speaker-group-featured > header p,
.speaker-group-featured .speaker-directory-list span {
  color: rgba(244, 247, 251, 0.58);
}

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

.speaker-group-wide .speaker-directory-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.speaker-group-wide > .speaker-directory-list {
  background-image:
    linear-gradient(to right, transparent calc(33.333% - 0.5px), var(--soft-line) calc(33.333% - 0.5px), var(--soft-line) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px)),
    linear-gradient(to right, transparent calc(66.666% - 0.5px), var(--soft-line) calc(66.666% - 0.5px), var(--soft-line) calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px));
}

.speaker-directory-list > :is(div, a) {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 106px;
  padding: 20px 24px;
  border-top: 1px solid var(--soft-line);
  border-left: 1px solid var(--soft-line);
  color: inherit;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.speaker-group-wide > .speaker-directory-list > :is(div, a) {
  border-bottom: 1px solid var(--soft-line);
}

.speaker-directory-list > .speaker-entry-enhanced {
  display: flex;
  min-height: 270px;
  padding: 34px 24px 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.speaker-entry-avatar {
  display: grid;
  position: relative;
  width: clamp(136px, 10vw, 168px);
  height: clamp(136px, 10vw, 168px);
  overflow: hidden;
  border-radius: 50%;
  background: rgba(217, 228, 239, 0.9);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  isolation: isolate;
  place-items: center;
  box-shadow: 0 18px 34px rgba(16, 36, 62, 0.12);
}

.speaker-entry-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--avatar-position, 50% 50%);
  transform: translate(var(--avatar-shift-x, 0), var(--avatar-shift-y, 0)) scale(var(--avatar-zoom, 1));
  transform-origin: center center;
}

.speaker-entry-enhanced > strong,
.speaker-entry-enhanced > span,
.speaker-entry-enhanced > em {
  display: block;
}

.speaker-entry-enhanced > strong {
  white-space: nowrap;
  line-height: 1.2;
}

.speaker-group-featured .speaker-entry-avatar {
  background: var(--paper);
  color: var(--ink);
}

.speaker-entry-enhanced[hidden],
.university-entry[hidden],
.speaker-group[hidden] {
  display: none !important;
}

.speaker-directory-list > :is(div, a):nth-child(-n + 2) {
  border-top: 0;
}

.speaker-directory-list > :is(div, a):nth-child(odd) {
  border-left: 0;
}

.speaker-group-wide .speaker-directory-list > :is(div, a):nth-child(-n + 3) {
  border-top: 0;
}

.speaker-group-wide .speaker-directory-list > :is(div, a):nth-child(odd) {
  border-left: 1px solid var(--soft-line);
}

.speaker-group-wide .speaker-directory-list > :is(div, a):nth-child(3n + 1) {
  border-left: 0;
}

.speaker-directory-list > a {
  padding-right: 50px;
  transition: background 160ms ease;
}

.speaker-directory-list > a::after {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--muted);
  content: "↗";
  font-size: 0.8rem;
  font-weight: 900;
}

.speaker-directory-list > a:hover {
  background: rgba(133, 158, 184, 0.25);
}

.speaker-group-featured .speaker-directory-list > a::after {
  color: rgba(244, 247, 251, 0.64);
}

.speaker-directory-list strong {
  margin-bottom: 5px;
  font-size: 1rem;
}

.speaker-directory-list span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.speaker-directory-list em {
  align-self: flex-start;
  margin-top: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(244, 247, 251, 0.3);
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.speakers-page .speaker-directory-list strong {
  margin-bottom: 8px;
  font-size: clamp(1.24rem, 1.35vw, 1.52rem);
  line-height: 1.25;
}

.speakers-page .speaker-directory-list strong small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1vw, 1.18rem);
  font-weight: 900;
  line-height: 1.25;
}

.speakers-page .speaker-group-featured .speaker-directory-list strong small {
  color: rgba(244, 247, 251, 0.96);
}

.speakers-page .speaker-directory-list span {
  font-size: clamp(0.96rem, 0.95vw, 1.12rem);
  line-height: 1.45;
}

.speakers-page .speaker-directory-list em {
  margin-top: 14px;
  padding: 6px 11px;
  font-size: clamp(0.78rem, 0.78vw, 0.92rem);
  letter-spacing: 0.04em;
}

.university-directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px;
}

.university-order-note {
  margin: 0;
  padding: 16px 20px 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.university-entry {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  background: var(--paper);
}

.university-entry > header {
  min-height: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--soft-line);
  background: rgba(133, 158, 184, 0.3);
}

.university-entry > header span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.university-entry > header h4 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.speaker-group-wide .university-entry .speaker-directory-list {
  display: flex;
  align-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
}

.speaker-group-wide .university-entry .speaker-directory-list > :is(div, a),
.speaker-group-wide .university-entry .speaker-directory-list > :is(div, a):nth-child(odd),
.speaker-group-wide .university-entry .speaker-directory-list > :is(div, a):nth-child(3n + 1) {
  flex: 1 1 210px;
  min-width: min(210px, 100%);
  padding: 14px 16px;
  border: 1px solid var(--soft-line);
  border-radius: 10px;
  background: rgba(244, 247, 251, 0.72);
}

.speakers-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: var(--page);
  margin: 0 auto;
  padding: 90px 0;
}

@media (min-width: 1181px) {
  .speakers-page main {
    width: min(1840px, 100%);
    margin: 0 auto;
    padding-right: clamp(18px, 2vw, 42px);
    padding-left: clamp(18px, 2vw, 42px);
  }

  .speakers-page .speakers-hero,
  .speakers-page .keynote-section,
  .speakers-page .invited-section,
  .speakers-page .speakers-cta {
    width: 100%;
    max-width: none;
  }

  .speakers-page .floating-actions {
    top: auto;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    left: max(18px, env(safe-area-inset-left));
    width: min(1500px, calc(100% - 36px));
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    transform: none;
  }

  .speakers-page .floating-action {
    width: auto;
    min-height: 84px;
    align-items: center;
    border-radius: 30px;
    text-align: center;
  }

  .speakers-page .floating-action span {
    font-size: clamp(1.18rem, 1.7vw, 1.75rem);
  }

  .speakers-page .floating-action:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 1320px) and (min-width: 821px) {
  .speakers-page {
    padding-bottom: 104px;
  }

  .speakers-page main {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
  }

  .speakers-page .floating-actions {
    top: auto;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    left: max(18px, env(safe-area-inset-left));
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    transform: none;
  }

  .speakers-page .floating-action {
    width: auto;
    min-height: 66px;
    align-items: center;
    text-align: center;
  }

  .speakers-page .floating-action:hover {
    transform: translateY(-2px);
  }
}

.speakers-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.speakers-cta p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 1280px) {
  .intro-section {
    width: min(1120px, calc(100% - 24px));
  }

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

  .event-copy,
  .institution-panel,
  .venue-card,
  .about-metrics {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .institution-panel .organization-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-copy h1 {
    font-size: clamp(3rem, 7vw, 5.6rem);
  }
}

@media (max-width: 980px) {
  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 0.75rem;
  }

  .floating-actions {
    right: 12px;
  }

  .floating-action {
    width: 132px;
    min-height: 68px;
    padding: 13px 15px;
    border-radius: 20px;
  }

  .floating-action.logo-action {
    min-height: 72px;
  }

  .floating-action.logo-action img {
    width: 40px;
    height: 40px;
  }

  .floating-action span {
    font-size: 1.04rem;
  }

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

  .event-copy,
  .institution-panel,
  .venue-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .venue-card {
    min-height: 220px;
  }

  .about-metrics {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-methods {
    grid-column: 1 / -1;
    flex-direction: row;
  }

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

  .main-nav a {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 0.71rem;
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 28px, 1240px);
    --radius-lg: 26px;
  }

  body {
    padding-bottom: 92px;
  }

  .site-header {
    top: 8px;
    min-height: 58px;
    margin-top: 8px;
  }

  .nav-toggle {
    display: block;
    padding: 9px 15px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 800;
  }

  .main-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    padding: 14px;
    border: 1px solid var(--soft-line);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.85rem;
  }

  .floating-actions {
    top: auto;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    left: max(14px, env(safe-area-inset-left));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    transform: none;
  }

  .floating-action {
    width: auto;
    min-height: 64px;
    align-items: center;
    border-radius: 20px;
    text-align: center;
  }

  .floating-action:hover {
    transform: translateY(-2px);
  }

  .back-to-top {
    bottom: 96px;
  }

  .hero {
    width: calc(100% - 16px);
  }

  .event-strip {
    grid-template-columns: 1fr;
    width: calc(100% - 42px);
    margin-top: 18px;
  }

  .event-strip div {
    min-height: auto;
    padding: 20px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .event-strip div:first-child {
    border-top: 0;
  }

  .section {
    padding: 96px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .about-metrics,
  .program-days,
  .fee-grid,
  .payment-grid,
  .sponsor-feature-grid,
  .contact-panel,
  .keynote-preview-grid,
  .keynote-speaker-grid {
    grid-template-columns: 1fr;
  }

  .speaker-monogram {
    height: 300px;
  }

  .sponsor-card,
  .sponsor-card-gold,
  .sponsor-card-silver,
  .sponsor-card-bronze {
    grid-column: 1 / -1;
  }

  .sponsor-logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-methods {
    grid-column: auto;
  }

  .intro-section {
    width: calc(100% - 16px);
    margin-top: 54px;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .event-copy {
    min-height: 380px;
  }

  .institution-panel {
    padding: 22px;
  }

  .program-section {
    width: calc(100% - 16px);
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .fee-card.featured {
    transform: none;
  }

  .registration-rules {
    grid-template-columns: 1fr;
  }

  .registration-rule {
    min-height: auto;
    border-top: 1px solid var(--soft-line);
    border-left: 0;
  }

  .registration-rule:first-child {
    border-top: 0;
  }

  .policy-timeline,
  .policy-details {
    grid-template-columns: 1fr;
  }

  .policy-timeline > div,
  .policy-details article {
    min-height: auto;
    border-top: 1px solid var(--soft-line);
    border-left: 0;
  }

  .policy-timeline > div:first-child,
  .policy-details article:first-child {
    border-top: 0;
  }

  .payment-grid,
  .contact-panel {
    border-radius: 24px;
  }

  .contact-panel > * {
    padding: 32px;
    border-top: 1px solid var(--soft-line);
    border-left: 0;
  }

  .contact-panel > *:first-child {
    border-top: 0;
  }

  .contact-methods {
    align-items: flex-start;
    flex-direction: column;
  }

  .register-band {
    width: calc(100% - 16px);
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .register-intro {
    margin-bottom: 32px;
  }

  .form-submit-row {
    grid-template-columns: 1fr auto;
  }

  .payment-confirmation {
    grid-template-columns: 1fr;
  }

  .roommate-status-choices {
    grid-template-columns: 1fr;
  }

  .registration-form {
    padding: 32px;
  }

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

  .membership-options,
  .diet-choices,
  .inline-choices {
    grid-template-columns: 1fr;
  }

  .position-choices {
    display: grid;
    grid-template-columns: 1fr;
  }

  .position-choices label,
  .position-choices label:nth-child(4) {
    min-width: 0;
  }

  .registration-plans {
    grid-template-columns: 1fr;
  }

  .choice-card > span {
    min-height: 104px;
  }

  .site-footer {
    width: calc(100% - 16px);
    flex-direction: column;
  }

  .site-footer > div {
    flex-direction: column;
    gap: 5px;
  }

  .keynote-preview-card {
    min-height: auto;
  }

  .speakers-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .speakers-hero-title {
    min-height: 330px;
    padding: 52px 38px;
  }

  .speakers-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .speakers-hero-facts div {
    display: block;
    padding: 22px;
    border-top: 0;
    border-left: 1px solid rgba(133, 158, 184, 0.22);
  }

  .speakers-hero-facts div:first-child {
    border-left: 0;
  }

  .speakers-hero-facts dt {
    margin-bottom: 8px;
  }

  .speaker-portrait-placeholder {
    min-height: 180px;
  }

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

@media (max-width: 520px) {
  .back-to-top {
    right: 16px;
    bottom: 92px;
    width: 44px;
    height: 44px;
  }

  .floating-actions {
    gap: 8px;
  }

  .floating-action {
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .floating-action.logo-action {
    min-height: 58px;
  }

  .floating-action.logo-action img {
    width: 34px;
    height: 34px;
  }

  .floating-action span {
    font-size: 0.98rem;
  }

  .floating-action small {
    display: none;
  }

  .brand {
    font-size: 0.8rem;
  }

  .hero {
    border-radius: 20px;
  }

  .event-strip {
    width: calc(100% - 28px);
  }

  .section-heading::before {
    top: -20px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  h1,
  .section-heading h2,
  .register-band h2 {
    font-size: 2.55rem;
  }

  .fee-card,
  .bank-details,
  .transfer-instructions,
  .contact-panel > * {
    padding: 26px;
  }

  .event-copy,
  .venue-card {
    padding: 26px;
  }

  .event-copy {
    min-height: 340px;
  }

  .event-copy h1 {
    font-size: 2.85rem;
    line-height: 1;
  }

  .institution-panel {
    padding: 18px;
  }

  .institution-panel .organization-list {
    grid-template-columns: 1fr;
  }

  .about-metrics article {
    min-height: 128px;
    padding: 20px;
  }

  .speaker-monogram {
    height: 260px;
  }

  .organization-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    min-height: 76px;
    padding: 10px;
  }

  .organization-logo {
    width: 58px;
    height: 54px;
  }

  .speaker-preview-section {
    padding-top: 60px;
  }

  .keynote-preview-card {
    align-items: center;
    flex-direction: row;
    gap: 18px;
    padding: 24px;
  }

  .speaker-monogram {
    width: 82px;
    min-width: 82px;
    height: 82px;
  }

  .keynote-preview-card h3 {
    white-space: normal;
  }

  .keynote-speaker-card .speaker-card-content h3 {
    white-space: normal;
  }

  .speakers-hero {
    border-radius: 24px;
  }

  .speakers-hero-title {
    min-height: 300px;
    padding: 42px 26px;
  }

  .speakers-hero h1 {
    font-size: 3.4rem;
  }

  .speakers-hero-facts {
    grid-template-columns: 1fr;
  }

  .speakers-hero-facts div,
  .speakers-hero-facts div:first-child {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 18px 24px;
    border-top: 1px solid rgba(133, 158, 184, 0.22);
    border-left: 0;
  }

  .invited-section {
    padding: 90px 20px;
  }

  .invited-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .invited-speaker-list {
    grid-template-columns: 1fr;
  }

  .invited-speaker {
    min-height: 140px;
    padding: 18px;
  }

  .featured-invitation {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .featured-invitation strong {
    justify-self: start;
  }

  .speakers-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 72px 0;
  }

  .speakers-cta .button {
    width: 100%;
  }

  .registration-rule {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 22px;
  }

  .policy-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-timeline > div,
  .policy-details article {
    padding: 22px;
  }

  .registration-success {
    margin-right: -12px;
    margin-left: -12px;
    padding: 24px;
    border-radius: 18px;
  }

  .success-registration-id {
    align-items: flex-start;
    flex-direction: column;
  }

  .success-registration-id strong {
    text-align: left;
  }

  .success-summary {
    grid-template-columns: 1fr;
  }

  .success-summary > div,
  .success-summary > div:nth-child(-n + 2),
  .success-summary > div:nth-child(odd) {
    border-top: 1px solid rgba(244, 247, 251, 0.16);
    border-left: 0;
  }

  .success-summary > div:first-child {
    border-top: 0;
  }

  .program-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .program-day > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .program-day > header h3 {
    text-align: left;
  }

  .program-list {
    padding-right: 20px;
    padding-left: 20px;
  }

  .program-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .program-item.keynote,
  .program-item.parallel {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .transfer-flow li {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 16px;
  }

  .transfer-flow li::after {
    display: none;
  }

  .transfer-flow p {
    grid-column: 2;
  }

  .sponsor-logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsor-card,
  .sponsor-card-gold,
  .sponsor-card-silver,
  .sponsor-card-bronze {
    grid-column: 1 / -1;
  }

  .sponsor-card {
    min-height: 220px;
    padding: 22px;
  }

  .sponsor-card img {
    height: 120px;
  }

  .sponsor-card-gold img,
  .sponsor-card-silver img,
  .sponsor-card-bronze img {
    height: 130px;
  }

  .sponsor-card-apg img {
    width: min(96%, 430px);
    height: 150px;
  }

  .sponsor-logo-card {
    min-height: 116px;
    padding: 14px;
  }

  .sponsor-logo-card img {
    height: 70px;
  }

  .register-band::after {
    font-size: 5rem;
  }

  .registration-form {
    margin-right: -12px;
    margin-left: -12px;
    padding: 24px;
    border-radius: 18px;
  }

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

  .membership-options,
  .diet-choices,
  .inline-choices {
    grid-template-columns: 1fr;
  }

  .position-choices {
    display: grid;
    grid-template-columns: 1fr;
  }

  .position-choices label,
  .position-choices label:nth-child(4) {
    min-width: 0;
  }

  .form-submit-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .submit-message {
    grid-column: auto;
    order: 1;
  }

  .payment-confirmation .amount-panel {
    min-height: 170px;
  }

  .bank-summary {
    grid-template-columns: 1fr;
  }

  .bank-summary div,
  .bank-summary div:nth-child(odd) {
    border-bottom: 1px solid var(--soft-line);
    border-left: 0;
  }

  .bank-summary div:last-child {
    border-bottom: 0;
    grid-column: auto;
  }

  .form-submit-row .button {
    width: 100%;
    order: 2;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .speaker-directory-tools {
    grid-template-columns: 1fr;
  }

  .speaker-filters {
    justify-content: flex-start;
  }

  .keynote-speaker-card .speaker-card-content {
    grid-template-columns: 1fr;
  }

  .keynote-speaker-card .speaker-card-content > span:last-child {
    text-align: left;
  }

  .speaker-directory {
    grid-template-columns: 1fr;
  }

  .speaker-group-wide {
    grid-column: auto;
  }

  .university-group {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .invited-preview-header {
    align-items: flex-start;
    margin-top: 52px;
  }

  .speaker-slider-controls {
    display: none;
  }

  .invited-speaker-slider {
    grid-auto-columns: minmax(218px, 78vw);
    margin-right: -24px;
    padding-right: 24px;
  }

  .invited-preview-card {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 128px;
    padding: 18px;
  }

  .speaker-preview-avatar {
    width: 64px;
    height: 64px;
  }

  .speaker-directory-tools {
    padding: 18px;
  }

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

  .speaker-filters button {
    width: 100%;
  }

  .keynote-speaker-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .keynote-speaker-visual {
    min-height: clamp(320px, 86vw, 430px);
    padding: 0;
  }

  .keynote-portrait {
    width: 100%;
    height: clamp(320px, 86vw, 430px);
    border-radius: 0;
    font-size: 1.2rem;
    box-shadow: none;
  }

  .keynote-speaker-card .speaker-card-content {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 22px;
  }

  .keynote-speaker-card .speaker-type,
  .keynote-speaker-card .speaker-card-content > span:last-child {
    grid-column: auto;
  }

  .keynote-speaker-card .speaker-card-content > span:last-child {
    text-align: left;
  }

  .speaker-directory-list,
  .speaker-group-wide .speaker-directory-list,
  .speaker-group-wide .university-entry .speaker-directory-list {
    grid-template-columns: 1fr;
  }

  .university-directory {
    grid-template-columns: 1fr;
  }

  .university-entry {
    grid-template-columns: 1fr;
  }

  .university-entry > header {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .speaker-directory-list > :is(div, a),
  .speaker-directory-list > :is(div, a):nth-child(odd),
  .speaker-directory-list > :is(div, a):nth-child(-n + 2),
  .speaker-group-wide .speaker-directory-list > :is(div, a):nth-child(odd),
  .speaker-group-wide .speaker-directory-list > :is(div, a):nth-child(-n + 3),
  .speaker-group-wide .speaker-directory-list > :is(div, a):nth-child(3n + 1) {
    border-top: 1px solid var(--soft-line);
    border-left: 0;
  }

  .speaker-group-wide .university-entry .speaker-directory-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .speaker-group-wide .university-entry .speaker-directory-list > :is(div, a),
  .speaker-group-wide .university-entry .speaker-directory-list > :is(div, a):nth-child(odd),
  .speaker-group-wide .university-entry .speaker-directory-list > :is(div, a):nth-child(3n + 1) {
    min-width: 0;
    border: 1px solid var(--soft-line);
  }

  .speaker-directory-list > .speaker-entry-enhanced {
    min-height: 240px;
  }

  .speaker-entry-avatar {
    width: 132px;
    height: 132px;
  }
}

/* Clickable sponsor card affordance */
#sponsors a[href],
.sponsors a[href],
.sponsor-card[href],
.sponsor-card a[href] {
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

#sponsors a[href]::after,
.sponsors a[href]::after,
.sponsor-card[href]::after,
.sponsor-card a[href]::after {
  content: "查看網站 ↗";
  position: absolute;
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(16px, 1.8vw, 26px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(91, 197, 213, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #162a46;
  font-size: clamp(0.78rem, 0.85vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(22, 42, 70, 0.13);
  backdrop-filter: blur(10px);
}

#sponsors a[href]:hover,
.sponsors a[href]:hover,
.sponsor-card[href]:hover,
.sponsor-card a[href]:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 197, 213, 0.9);
  box-shadow: 0 24px 55px rgba(22, 42, 70, 0.18);
}

#sponsors a[href]:focus-visible,
.sponsors a[href]:focus-visible,
.sponsor-card[href]:focus-visible,
.sponsor-card a[href]:focus-visible {
  outline: 3px solid rgba(91, 197, 213, 0.85);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  #sponsors a[href]::after,
  .sponsors a[href]::after,
  .sponsor-card[href]::after,
  .sponsor-card a[href]::after {
    right: 14px;
    bottom: 14px;
    font-size: 0.78rem;
    padding: 0.45rem 0.72rem;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1.08rem;
    line-height: 1.72;
  }

  .brand {
    font-size: 1rem;
  }

  .main-nav a,
  .speaker-filters button,
  .choice-card small,
  .form-field span,
  .inline-choices label,
  .diet-choices label,
  .position-choices label,
  .speaker-search span,
  .speaker-type,
  .contact-people dt,
  .contact-methods span {
    font-size: 1rem;
  }

  .floating-action span {
    font-size: clamp(1.12rem, 4.6vw, 1.45rem);
  }

  .floating-action small {
    display: block;
    font-size: 0.82rem;
  }

  .section-heading h2,
  h1,
  .register-band h2 {
    font-size: clamp(2.8rem, 13vw, 4.25rem);
  }

  .event-copy h1 {
    font-size: clamp(3rem, 13vw, 4.3rem);
  }

  .speakers-hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .speakers-event-name strong {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .speakers-event-name .event-english,
  .speakers-event-name .event-year,
  .speakers-hero-title > p:last-child,
  .section-heading > p:last-child,
  .form-section-note,
  .payment-confirmation-note,
  .speaker-directory-list span,
  .speaker-results,
  .university-order-note {
    font-size: 1rem;
  }

  .choice-card strong {
    font-size: clamp(1.65rem, 6.8vw, 2.15rem);
  }

  .keynote-speaker-card .speaker-card-content h3,
  .speaker-directory-list strong {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }
}

/* Important information scale-up: large layouts should not make key text feel small. */
.hero {
  width: min(1720px, calc(100% - 24px));
}

.event-strip {
  width: min(1500px, calc(100% - 36px));
  grid-template-columns: 1.35fr 1.05fr 0.9fr;
}

.event-strip div {
  min-height: 138px;
  padding: clamp(28px, 2.4vw, 42px);
}

.event-strip span {
  font-size: clamp(1.02rem, 0.95vw, 1.2rem);
  letter-spacing: 0.14em;
}

.event-strip strong {
  font-size: clamp(1.35rem, 1.55vw, 2rem);
  line-height: 1.5;
}

.about-metrics article span,
.about-metrics article small,
.registration-fields li,
.timeline-card p,
.fee-card p,
.bank-details p,
.transfer-instructions p {
  font-size: clamp(1rem, 0.95vw, 1.18rem);
}

.about-metrics article strong {
  font-size: clamp(2.35rem, 3.4vw, 4rem);
}

.keynote-speaker-card .speaker-type {
  font-size: clamp(1rem, 0.9vw, 1.15rem);
  padding: 8px 16px;
}

.keynote-speaker-card .speaker-card-content h3 {
  font-size: clamp(2.2rem, 3vw, 3.25rem);
}

.keynote-speaker-card .speaker-card-content h3 small {
  font-size: 0.78em;
}

.keynote-speaker-card .speaker-card-content p {
  font-size: clamp(1.45rem, 1.8vw, 2.1rem);
  line-height: 1.45;
}

.keynote-speaker-card .speaker-card-content > span:last-child {
  font-size: clamp(1.2rem, 1.3vw, 1.55rem);
}

.speakers-hero-facts dt {
  font-size: clamp(0.95rem, 0.9vw, 1.15rem);
}

.speakers-hero-facts dd {
  font-size: clamp(1.25rem, 1.35vw, 1.65rem);
}

.speakers-hero-facts dd strong {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
}

@media (max-width: 720px) {
  .hero {
    width: min(100% - 12px, 100%);
    border-radius: 18px;
  }

  .event-strip {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
  }

  .event-strip div {
    min-height: 0;
    padding: 22px 24px;
    border-top: 1px solid rgba(255, 253, 249, 0.16);
    border-left: 0;
  }

  .event-strip div:first-child {
    border-top: 0;
  }

  .event-strip span {
    font-size: 1rem;
  }

  .event-strip strong {
    font-size: clamp(1.35rem, 5.5vw, 1.8rem);
  }

  .keynote-speaker-card .speaker-type {
    font-size: 1rem;
  }

  .keynote-speaker-card .speaker-card-content p,
  .keynote-speaker-card .speaker-card-content > span:last-child {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }
}

/* Readable information panels and refined keynote layout. */
.registration-rule {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  min-height: 300px;
  padding: 42px 46px;
}

.registration-rule > span {
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.registration-rule strong {
  margin-bottom: 18px;
  font-size: 1.5rem;
  line-height: 1.35;
}

.registration-rule .rule-lead {
  margin-bottom: 24px;
  font-size: 1.45rem;
  line-height: 1.5;
}

.registration-rule ul {
  gap: 18px;
  font-size: 1.16rem;
  line-height: 1.75;
}

.registration-rule li {
  padding-left: 24px;
}

.registration-rule li::before {
  top: 0.82em;
  width: 8px;
  height: 8px;
}

.policy-heading {
  padding: 34px 42px;
}

.policy-heading h3 {
  font-size: 1.8rem;
}

.policy-heading > span {
  font-size: 0.95rem;
}

.policy-timeline > div {
  min-height: 230px;
  padding: 38px 42px;
}

.policy-timeline time {
  margin-bottom: 30px;
  font-size: 2.6rem;
}

.policy-timeline strong {
  margin-bottom: 14px;
  font-size: 1.55rem;
  line-height: 1.35;
}

.policy-timeline p {
  font-size: 1.15rem;
  line-height: 1.7;
}

.policy-details article {
  padding: 42px 46px;
}

.policy-details h4 {
  margin-bottom: 22px;
  font-size: 1.6rem;
}

.policy-details ul {
  gap: 16px;
  font-size: 1.14rem;
  line-height: 1.75;
}

.fee-card p,
.timeline-card p,
.program-item p,
.transfer-instructions p,
.bank-details p {
  font-size: 1.12rem;
  line-height: 1.72;
}

.keynote-speaker-grid {
  gap: 28px;
}

.keynote-speaker-card {
  position: relative;
  grid-template-columns: minmax(360px, 0.38fr) minmax(0, 1fr);
  min-height: 440px;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(217, 228, 239, 0.34), transparent 42%),
    rgba(255, 253, 249, 0.9);
  box-shadow: 0 22px 60px rgba(16, 36, 62, 0.06);
}

.keynote-speaker-visual {
  min-height: 440px;
  padding: 34px;
}

.keynote-number {
  top: 28px;
  left: 30px;
  font-size: 1rem;
}

.keynote-portrait {
  width: min(100%, 360px);
  height: 360px;
  border-radius: 32px;
}

.keynote-speaker-card .speaker-card-content {
  display: flex;
  max-width: 760px;
  padding: 54px 64px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}

.keynote-speaker-card .speaker-type {
  margin: 0 0 10px;
  padding: 9px 18px;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

.keynote-speaker-card .speaker-card-content h3 {
  max-width: 640px;
  margin: 0;
  color: var(--ink);
  font-size: 3.55rem;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.keynote-speaker-card .speaker-card-content h3 small {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.58em;
  letter-spacing: 0;
}

.keynote-speaker-card .speaker-card-content p {
  max-width: 600px;
  margin: 8px 0 0;
  color: #536176;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.45;
}

.keynote-speaker-card .speaker-card-content > span:last-child {
  display: inline-flex;
  width: auto;
  margin-top: 6px;
  padding: 10px 16px;
  border: 1px solid rgba(88, 191, 214, 0.28);
  border-radius: 999px;
  background: rgba(88, 191, 214, 0.1);
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
  text-align: left;
  white-space: normal;
}

@media (max-width: 1180px) {
  .registration-rules,
  .policy-timeline {
    grid-template-columns: 1fr;
  }

  .registration-rule,
  .registration-rule:first-child,
  .policy-timeline > div,
  .policy-timeline > div:first-child {
    border-top: 1px solid var(--soft-line);
    border-left: 0;
  }

  .registration-rule:first-child,
  .policy-timeline > div:first-child {
    border-top: 0;
  }

  .registration-rule {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .keynote-speaker-card {
    grid-template-columns: 1fr;
  }

  .keynote-speaker-visual {
    min-height: 390px;
  }

  .keynote-speaker-card .speaker-card-content {
    max-width: none;
    padding: 38px 34px 42px;
  }

  .keynote-speaker-card .speaker-card-content h3 {
    font-size: 3rem;
  }

  .keynote-speaker-card .speaker-card-content p {
    font-size: 1.38rem;
  }
}

@media (max-width: 720px) {
  .registration-rule {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 30px 24px;
  }

  .registration-rule strong,
  .registration-rule .rule-lead {
    font-size: 1.35rem;
  }

  .registration-rule ul,
  .policy-timeline p,
  .policy-details ul,
  .fee-card p,
  .timeline-card p,
  .program-item p,
  .transfer-instructions p,
  .bank-details p {
    font-size: 1.08rem;
    line-height: 1.75;
  }

  .policy-heading,
  .policy-timeline > div,
  .policy-details article {
    padding: 30px 24px;
  }

  .policy-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-heading h3 {
    font-size: 1.55rem;
  }

  .policy-timeline time {
    margin-bottom: 18px;
    font-size: 2.15rem;
  }

  .policy-timeline strong,
  .policy-details h4 {
    font-size: 1.35rem;
  }

  .keynote-speaker-card {
    border-radius: 28px;
  }

  .keynote-speaker-visual {
    min-height: 0;
    padding: 18px;
  }

  .keynote-portrait {
    width: 100%;
    height: 360px;
    border-radius: 22px;
  }

  .keynote-number {
    top: 30px;
    left: 30px;
  }

  .keynote-speaker-card .speaker-card-content {
    padding: 28px 24px 34px;
    gap: 14px;
  }

  .keynote-speaker-card .speaker-type {
    font-size: 0.88rem;
  }

  .keynote-speaker-card .speaker-card-content h3 {
    font-size: 2.45rem;
  }

  .keynote-speaker-card .speaker-card-content h3 small {
    font-size: 0.62em;
  }

  .keynote-speaker-card .speaker-card-content p {
    font-size: 1.22rem;
  }

  .keynote-speaker-card .speaker-card-content > span:last-child {
    font-size: 1.05rem;
  }
}

/* Compact readable rules: keep large type without creating excessive line breaks. */
.event-strip {
  width: min(1880px, calc(100% - 36px));
  grid-template-columns: minmax(620px, 1.34fr) minmax(430px, 0.96fr) minmax(420px, 0.9fr);
}

.event-strip div {
  min-height: 132px;
  padding: clamp(26px, 2vw, 36px) clamp(32px, 2.6vw, 50px);
}

.event-strip strong {
  font-size: clamp(1.45rem, 1.45vw, 1.82rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.event-strip div:first-child strong,
.event-strip div:nth-child(2) strong,
.event-strip div:nth-child(3) strong {
  white-space: nowrap;
}

.registration-rules {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1.08fr);
}

.registration-rule {
  display: block;
  min-height: 0;
  padding: 44px clamp(46px, 3vw, 70px) 48px;
}

.registration-rule > span {
  display: block;
  margin-bottom: 18px;
  font-size: 1rem;
}

.registration-rule strong {
  display: block;
  margin-bottom: 28px;
  font-size: clamp(1.7rem, 1.7vw, 2.05rem);
  line-height: 1.18;
}

.registration-rule .rule-lead {
  max-width: 12em;
  margin-bottom: 28px;
  font-size: clamp(1.45rem, 1.45vw, 1.78rem);
  line-height: 1.45;
}

.registration-rule ul {
  gap: 18px;
  font-size: clamp(1.14rem, 1.06vw, 1.3rem);
  line-height: 1.68;
}

.registration-rule li {
  padding-left: 28px;
}

.registration-rule li b {
  white-space: nowrap;
}

.registration-rule:nth-child(2) {
  padding-right: clamp(54px, 3.5vw, 82px);
  padding-left: clamp(54px, 3.5vw, 82px);
}

.registration-rule:nth-child(2) .rule-lead {
  max-width: 11em;
}

.registration-rule:nth-child(3) .rule-lead {
  max-width: 11em;
}

@media (max-width: 1420px) {
  .event-strip {
    grid-template-columns: minmax(520px, 1.26fr) minmax(360px, 0.9fr) minmax(360px, 0.9fr);
  }

  .event-strip strong {
    font-size: clamp(1.28rem, 1.35vw, 1.58rem);
  }

  .registration-rule {
    padding-right: 36px;
    padding-left: 36px;
  }

  .registration-rule:nth-child(2) {
    padding-right: 42px;
    padding-left: 42px;
  }

  .registration-rule ul {
    font-size: 1.1rem;
  }
}

@media (max-width: 1180px) {
  .event-strip {
    grid-template-columns: 1fr;
  }

  .event-strip div:first-child strong,
  .event-strip div:nth-child(2) strong,
  .event-strip div:nth-child(3) strong {
    white-space: normal;
  }

  .registration-rule,
  .registration-rule:nth-child(2) {
    padding: 34px 34px 38px;
  }

  .registration-rule .rule-lead,
  .registration-rule:nth-child(2) .rule-lead,
  .registration-rule:nth-child(3) .rule-lead {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .event-strip div {
    padding: 22px 24px;
  }

  .event-strip strong {
    font-size: 1.28rem;
    line-height: 1.45;
  }

  .registration-rule,
  .registration-rule:nth-child(2) {
    padding: 28px 24px 32px;
  }

  .registration-rule strong {
    margin-bottom: 18px;
    font-size: 1.55rem;
  }

  .registration-rule .rule-lead {
    margin-bottom: 20px;
    font-size: 1.28rem;
  }

  .registration-rule ul {
    gap: 14px;
    font-size: 1.08rem;
    line-height: 1.7;
  }
}

/* Hero zoom: prioritize readability of the visual on desktop and phones. */
.hero {
  width: min(2200px, 100vw);
  max-width: none;
  border-radius: clamp(24px, 3vw, 54px);
}

.hero img {
  width: 100%;
  height: clamp(820px, 60vw, 1180px);
  object-fit: cover;
  object-position: 50% 50%;
}

@media (max-width: 1180px) {
  .hero {
    width: calc(100vw - 12px);
  }

  .hero img {
    height: clamp(560px, 70vw, 820px);
    object-position: 35% 50%;
  }
}

@media (max-width: 720px) {
  .hero {
    width: calc(100vw - 16px);
    border-radius: 22px;
  }

  .hero img {
    height: clamp(470px, 122vw, 620px);
    object-position: 10% 0%;
  }
}

/* Keep the main visual complete; enlarge surrounding content instead of cropping the artwork. */
.hero {
  width: min(1900px, calc(100% - 12px));
  max-width: none;
}

.hero img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 720px) {
  .hero {
    width: calc(100% - 12px);
  }

  .hero img {
    height: auto;
  }
}

/* Redesigned homepage hero: large live text and complete event information. */
.hero-redesign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  width: min(1880px, calc(100% - 22px));
  min-height: clamp(780px, 58vw, 1040px);
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.72);
  border-radius: clamp(28px, 3vw, 54px);
  background:
    linear-gradient(120deg, rgba(244, 247, 251, 0.96) 0%, rgba(244, 247, 251, 0.92) 55%, rgba(42, 133, 220, 0.22) 56%, rgba(21, 86, 185, 0.78) 100%),
    #f4f7fb;
  box-shadow: var(--shadow);
}

.hero-redesign::after {
  border-color: rgba(16, 36, 62, 0.08);
}

.hero-copy-panel {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  padding: clamp(54px, 5.5vw, 108px) clamp(40px, 5.4vw, 108px) clamp(180px, 13vw, 230px);
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  margin: 0 0 clamp(22px, 2vw, 34px);
  color: #1f5ca8;
  font-size: clamp(1.35rem, 1.55vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-redesign h1 {
  max-width: 13.5em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.9rem, 5.5vw, 7.2rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.hero-subtitle {
  max-width: 24em;
  margin: clamp(24px, 2.4vw, 40px) 0 0;
  color: #536176;
  font-size: clamp(1.35rem, 1.65vw, 2.05rem);
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-detail-grid {
  display: grid;
  grid-template-columns: minmax(380px, 1.1fr) minmax(320px, 0.94fr) minmax(260px, 0.78fr);
  gap: 14px;
  margin-top: clamp(46px, 4vw, 72px);
}

.hero-detail-grid div {
  min-height: 146px;
  padding: clamp(24px, 2vw, 34px);
  border: 1px solid rgba(31, 92, 168, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(16, 36, 62, 0.08);
}

.hero-detail-grid span {
  display: block;
  margin-bottom: 16px;
  color: #2d9fbd;
  font-size: clamp(1.05rem, 1vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-detail-grid strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.65rem, 1.85vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1.28;
}

.hero-detail-grid div:first-child strong {
  white-space: nowrap;
}

.hero-science-panel {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.64), transparent 8rem),
    radial-gradient(circle at 64% 58%, rgba(91, 210, 232, 0.64), transparent 13rem),
    radial-gradient(circle at 46% 78%, rgba(169, 121, 255, 0.44), transparent 15rem),
    linear-gradient(145deg, #1f5ca8 0%, #5d4dd7 50%, #102841 100%);
}

.hero-science-panel::before,
.hero-science-panel::after,
.hero-science-panel span {
  position: absolute;
  content: "";
}

.hero-science-panel::before {
  top: -8%;
  right: -42%;
  width: 650px;
  height: 1380px;
  border: 3px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  box-shadow:
    inset 34px 0 0 rgba(91, 210, 232, 0.1),
    0 0 0 22px rgba(255, 255, 255, 0.03);
  transform: rotate(-28deg);
}

.hero-science-panel::after {
  top: 7%;
  right: -17%;
  width: 430px;
  height: 1180px;
  border: 2px dashed rgba(91, 210, 232, 0.58);
  border-radius: 999px;
  transform: rotate(-28deg);
}

.hero-science-panel span {
  width: 30px;
  height: 30px;
  border: 6px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.95), rgba(91, 210, 232, 0.85) 42%, rgba(62, 55, 176, 0.82) 72%);
  box-shadow:
    0 0 32px rgba(91, 210, 232, 0.52),
    58px 58px 0 -4px rgba(255, 255, 255, 0.82),
    118px 112px 0 4px rgba(91, 210, 232, 0.88),
    176px 170px 0 -2px rgba(169, 121, 255, 0.78),
    236px 226px 0 6px rgba(255, 255, 255, 0.78),
    296px 282px 0 0 rgba(91, 210, 232, 0.78),
    356px 338px 0 8px rgba(169, 121, 255, 0.72);
  transform: rotate(-28deg);
}

.hero-science-panel span:nth-child(1) {
  top: 9%;
  left: 24%;
}

.hero-science-panel span:nth-child(2) {
  top: 38%;
  left: 52%;
  filter: hue-rotate(24deg);
  transform: rotate(-28deg) scale(0.88);
}

.hero-science-panel span:nth-child(3) {
  top: 64%;
  left: 14%;
  filter: hue-rotate(-18deg);
  transform: rotate(-28deg) scale(1.08);
}

.hero-science-panel i {
  position: absolute;
  display: block;
}

.hero-organizer-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid rgba(255, 253, 249, 0.16);
  background: rgba(7, 24, 45, 0.94);
  color: var(--paper);
}

.hero-organizer-strip div {
  display: grid;
  min-height: 142px;
  padding: 24px 18px 22px;
  border-left: 1px solid rgba(244, 247, 251, 0.28);
  place-items: center;
  text-align: center;
}

.hero-organizer-strip div:first-child {
  border-left: 0;
}

.hero-redesign .hero-organizer-strip img {
  width: auto;
  height: 54px;
  max-width: 160px;
  object-fit: contain;
}

.hero-organizer-strip strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1rem, 0.95vw, 1.2rem);
  font-weight: 900;
  line-height: 1.35;
}

.hero-logo-pair span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-redesign .hero-logo-pair img {
  height: 50px;
  max-width: 86px;
}

@media (max-width: 1360px) {
  .hero-redesign {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  }

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

  .hero-detail-grid div {
    min-height: 0;
  }

  .hero-detail-grid div:first-child strong {
    white-space: normal;
  }
}

@media (max-width: 920px) {
  .hero-redesign {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy-panel {
    padding: 44px 30px 40px;
  }

  .hero-science-panel {
    min-height: 180px;
  }

  .hero-organizer-strip {
    position: static;
    grid-template-columns: 1fr;
  }

  .hero-organizer-strip div {
    min-height: 104px;
    padding: 20px 24px;
    border-top: 1px solid rgba(244, 247, 251, 0.18);
    border-left: 0;
    grid-template-columns: 92px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .hero-organizer-strip div:first-child {
    border-top: 0;
  }

  .hero-organizer-strip strong {
    margin-top: 0;
    font-size: 1.16rem;
  }
}

@media (max-width: 720px) {
  .hero-redesign {
    width: calc(100% - 16px);
    border-radius: 24px;
  }

  .hero-kicker {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }

  .hero-redesign h1 {
    font-size: clamp(2.55rem, 10vw, 3.45rem);
    line-height: 1.12;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .hero-detail-grid {
    gap: 12px;
    margin-top: 32px;
  }

  .hero-detail-grid div {
    padding: 22px;
  }

  .hero-detail-grid span {
    font-size: 0.95rem;
  }

  .hero-detail-grid strong {
    font-size: 1.42rem;
  }

  .hero-redesign .hero-organizer-strip img,
  .hero-redesign .hero-logo-pair img {
    height: 46px;
  }
}

/* Poster-style hero inspired by the provided epigenetics visual. */
.hero-redesign {
  grid-template-columns: minmax(0, 0.68fr) minmax(380px, 0.32fr);
  width: min(1900px, calc(100% - 20px));
  min-height: clamp(760px, 53vw, 960px);
  border-color: rgba(24, 50, 192, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 56% 45%, rgba(29, 58, 208, 0.18), transparent 4.8rem),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.92), transparent 16rem),
    linear-gradient(90deg, #fff8e9 0%, #fffaf0 60%, #eceaff 60%, #d8d6fb 100%);
  box-shadow: 0 34px 90px rgba(21, 42, 120, 0.13);
}

.hero-copy-panel {
  padding: clamp(58px, 5vw, 96px) clamp(48px, 5vw, 104px) clamp(166px, 12vw, 210px);
  justify-content: center;
}

.hero-kicker {
  margin-bottom: clamp(28px, 2.5vw, 46px);
  color: #102cc9;
  font-size: clamp(1rem, 1vw, 1.35rem);
  letter-spacing: 0.44em;
}

.hero-redesign h1 {
  max-width: 10em;
  color: #102cc9;
  font-size: clamp(5.1rem, 6.2vw, 8.6rem);
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.hero-meeting-name {
  max-width: 16em;
  margin: clamp(18px, 1.8vw, 28px) 0 0;
  color: #102cc9;
  font-size: clamp(2rem, 2.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.18;
}

.hero-subtitle {
  max-width: 22em;
  margin-top: clamp(30px, 3vw, 54px);
  padding-top: 24px;
  border-top: 2px solid rgba(16, 44, 201, 0.72);
  color: #102cc9;
  font-size: clamp(1.45rem, 1.45vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.hero-detail-grid {
  grid-template-columns: minmax(380px, 1.2fr) minmax(260px, 0.8fr) minmax(230px, 0.7fr);
  gap: clamp(18px, 1.6vw, 28px);
  margin-top: clamp(42px, 3.8vw, 70px);
}

.hero-detail-grid div {
  min-height: 0;
  padding: 0 0 0 clamp(20px, 1.5vw, 30px);
  border: 0;
  border-left: 2px solid rgba(16, 44, 201, 0.72);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-detail-grid span {
  margin-bottom: 12px;
  color: #102cc9;
  font-size: clamp(1rem, 0.98vw, 1.3rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-detail-grid strong {
  color: #102cc9;
  font-size: clamp(1.7rem, 1.8vw, 2.55rem);
  font-weight: 900;
  line-height: 1.32;
}

.hero-science-panel {
  background:
    linear-gradient(90deg, rgba(211, 210, 246, 0.62) 0 1px, transparent 1px 28px),
    radial-gradient(circle at 18% 58%, rgba(16, 44, 201, 0.88), rgba(16, 44, 201, 0.04) 16%, transparent 26%),
    linear-gradient(180deg, rgba(235, 232, 255, 0.96), rgba(205, 204, 248, 0.9));
}

.hero-science-panel::before {
  top: 10%;
  right: 34%;
  width: 460px;
  height: 460px;
  border: 2px solid rgba(16, 44, 201, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(16, 44, 201, 0.06),
    0 0 0 60px rgba(16, 44, 201, 0.055),
    0 0 0 92px rgba(16, 44, 201, 0.05),
    0 0 0 124px rgba(16, 44, 201, 0.045),
    0 0 0 156px rgba(16, 44, 201, 0.04),
    0 0 0 188px rgba(16, 44, 201, 0.035);
  transform: none;
}

.hero-science-panel::after {
  top: 13%;
  right: -34%;
  width: 560px;
  height: 660px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 62% 50%, rgba(255, 250, 235, 0.88) 0 21%, transparent 22%),
    radial-gradient(ellipse at 44% 50%, rgba(255, 250, 235, 0.74) 0 27%, transparent 28%),
    radial-gradient(ellipse at 27% 50%, rgba(16, 44, 201, 0.88) 0 32%, transparent 33%),
    radial-gradient(ellipse at 8% 50%, rgba(16, 44, 201, 0.72) 0 34%, transparent 35%);
  box-shadow:
    -120px 0 0 rgba(16, 44, 201, 0.3),
    -220px 0 0 rgba(255, 250, 235, 0.72),
    -318px 0 0 rgba(16, 44, 201, 0.42);
  filter: drop-shadow(0 30px 42px rgba(16, 44, 201, 0.22));
  transform: none;
}

.hero-science-panel span {
  width: 28px;
  height: 28px;
  border: 0;
  background: #102cc9;
  box-shadow:
    0 0 0 16px rgba(16, 44, 201, 0.05),
    210px -40px 0 -4px rgba(255, 250, 235, 0.9),
    300px 130px 0 8px rgba(16, 44, 201, 0.82),
    96px 284px 0 10px rgba(205, 185, 236, 0.92),
    350px 355px 0 2px rgba(255, 250, 235, 0.9);
  transform: none;
}

.hero-science-panel span:nth-child(1) {
  top: 12%;
  right: 22%;
  left: auto;
}

.hero-science-panel span:nth-child(2) {
  top: 44%;
  right: 42%;
  left: auto;
  transform: scale(0.82);
}

.hero-science-panel span:nth-child(3) {
  top: 76%;
  right: 18%;
  left: auto;
  transform: scale(1.08);
}

.hero-organizer-strip {
  right: clamp(24px, 3vw, 56px);
  bottom: clamp(24px, 2.6vw, 46px);
  left: clamp(24px, 3vw, 56px);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(16, 44, 201, 0.16);
  border-radius: 22px;
  background: rgba(255, 250, 235, 0.84);
  color: #102cc9;
  box-shadow: 0 18px 45px rgba(21, 42, 120, 0.1);
  backdrop-filter: blur(16px);
}

.hero-organizer-strip div {
  min-height: 110px;
  padding: 18px 16px;
  border-left-color: rgba(16, 44, 201, 0.18);
}

.hero-organizer-strip strong {
  color: #102841;
  font-size: clamp(0.9rem, 0.86vw, 1.08rem);
}

@media (max-width: 1360px) {
  .hero-redesign {
    grid-template-columns: 1fr minmax(280px, 0.3fr);
  }

  .hero-redesign h1 {
    font-size: clamp(4.2rem, 6vw, 6.2rem);
  }
}

@media (max-width: 920px) {
  .hero-redesign {
    grid-template-columns: 1fr;
    background:
      radial-gradient(circle at 86% 18%, rgba(16, 44, 201, 0.14), transparent 13rem),
      #fff8e9;
  }

  .hero-copy-panel {
    padding: 48px 30px 34px;
  }

  .hero-science-panel {
    min-height: 280px;
    order: 2;
  }

  .hero-organizer-strip {
    position: static;
    order: 3;
    margin: 0;
    border-width: 1px 0 0;
    border-radius: 0;
    background: rgba(255, 250, 235, 0.94);
  }
}

@media (max-width: 720px) {
  .hero-redesign {
    width: calc(100% - 16px);
  }

  .hero-copy-panel {
    padding: 38px 24px 28px;
  }

  .hero-kicker {
    margin-bottom: 24px;
    font-size: 0.95rem;
    letter-spacing: 0.34em;
  }

  .hero-redesign h1 {
    max-width: 6em;
    font-size: clamp(3.05rem, 14vw, 4.25rem);
    line-height: 1.08;
  }

  .hero-meeting-name {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .hero-subtitle {
    padding-top: 18px;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
  }

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

  .hero-detail-grid div {
    padding: 20px 20px 20px 22px;
    border: 1px solid rgba(16, 44, 201, 0.14);
    border-left: 4px solid #102cc9;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
  }

  .hero-detail-grid span {
    font-size: 0.9rem;
  }

  .hero-detail-grid strong {
    font-size: 1.35rem;
  }

  .hero-science-panel {
    min-height: 220px;
  }

  .hero-science-panel::before {
    right: 22%;
    width: 260px;
    height: 260px;
  }

  .hero-science-panel::after {
    right: -56%;
    width: 360px;
    height: 400px;
  }
}

/* Direct poster hero: keep the supplied design intact. */
.hero-static-poster {
  display: block;
  width: min(1900px, calc(100% - 20px));
  min-height: 0;
  padding: 0;
  border-radius: clamp(22px, 2.6vw, 42px);
  background: transparent;
}

.hero-static-poster img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 720px) {
  .hero-static-poster {
    width: calc(100% - 14px);
    border-radius: 20px;
  }
}

/* Readability pass: raise supporting text for senior attendees without changing the visual hierarchy. */
body {
  font-size: clamp(1.16rem, 1.04vw, 1.3rem);
  line-height: 1.72;
}

p,
li,
dd,
label,
input,
textarea,
select,
button {
  font-size: max(1em, 1rem);
}

.eyebrow,
.program-status,
.program-note,
.section-heading > p,
.form-section-note,
.field-help,
.fee-card span,
.registration-rule li,
.policy-details li,
.sponsor-logo-placeholder span,
.organization-name small,
.event-copy-tags span {
  font-size: clamp(1rem, 0.9vw, 1.15rem);
}

.main-nav a,
.floating-action small,
.site-footer,
.site-footer a {
  font-size: clamp(1rem, 0.95vw, 1.14rem);
}

.section-heading h2 {
  line-height: 1.08;
}

.program-section .section-heading {
  max-width: 980px;
}

.program-section .eyebrow {
  color: var(--muted);
}

.program-status {
  padding: 0.62rem 1rem;
}

.program-day > header p,
.program-item time,
.program-item p,
.program-note {
  font-size: clamp(1.05rem, 0.98vw, 1.18rem);
}

.program-item h4 {
  font-size: clamp(1.2rem, 1.08vw, 1.38rem);
  line-height: 1.42;
}

.program-item {
  grid-template-columns: clamp(136px, 8.5vw, 164px) minmax(0, 1fr);
}

.registration-rule strong,
.policy-details h4,
.form-section legend,
.form-field > span,
.consent-field span {
  font-size: clamp(1.2rem, 1.08vw, 1.42rem);
}

.registration-rule .rule-lead,
.policy-timeline p,
.payment-confirmation-note,
.success-heading p {
  font-size: clamp(1.12rem, 1vw, 1.28rem);
}

.form-field input,
.form-field textarea,
.choice-card span small,
.inline-choices label,
.copy-account-button {
  font-size: clamp(1.08rem, 0.98vw, 1.22rem);
}

@media (max-width: 720px) {
  body {
    font-size: 1.12rem;
    line-height: 1.72;
  }

  .program-item {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .program-item time {
    font-size: 1.06rem;
  }

  .program-item h4 {
    font-size: 1.24rem;
  }
}

/* Final registration polish: readable, but no forced wrapping on wide screens. */
.register-band {
  padding-top: clamp(76px, 5.8vw, 112px);
  padding-bottom: clamp(76px, 5.8vw, 112px);
}

.register-intro {
  max-width: 1120px;
  margin-bottom: clamp(34px, 3.6vw, 52px);
}

.register-band h2 {
  max-width: 10em;
  font-size: clamp(3.4rem, 5.1vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.register-intro > div > p:not(.eyebrow) {
  max-width: 980px;
  font-size: clamp(1.12rem, 1.03vw, 1.28rem);
  line-height: 1.72;
}

.registration-rules {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.04fr) minmax(0, 1.04fr);
}

.registration-rule,
.registration-rule:nth-child(2) {
  padding: clamp(34px, 2.6vw, 48px) clamp(36px, 3.1vw, 64px) clamp(38px, 3vw, 54px);
}

.registration-rule strong {
  margin-bottom: 22px;
  font-size: clamp(1.55rem, 1.45vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.registration-rule .rule-lead,
.registration-rule:nth-child(2) .rule-lead,
.registration-rule:nth-child(3) .rule-lead {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(1.24rem, 1.16vw, 1.48rem);
  line-height: 1.46;
}

.registration-rule ul {
  gap: 16px;
  font-size: clamp(1.06rem, 0.98vw, 1.2rem);
  line-height: 1.72;
}

.registration-rule a {
  color: var(--ink);
  font-weight: 900;
  text-decoration-color: rgba(88, 191, 214, 0.78);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

@media (max-width: 1280px) {
  .registration-rules {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .register-band {
    padding: 68px 18px;
  }

  .register-band h2 {
    font-size: clamp(3rem, 12vw, 4rem);
  }

  .registration-rule,
  .registration-rule:nth-child(2) {
    padding: 28px 24px 32px;
  }

  .registration-rule strong {
    font-size: 1.45rem;
  }

  .registration-rule .rule-lead {
    font-size: 1.22rem;
  }
}

/* Homepage hero with live, responsive event information over the new visual. */
.hero-image-composite {
  display: grid;
  width: min(1920px, calc(100% - 20px));
  min-height: clamp(720px, 54vw, 980px);
  margin-top: 8px;
  overflow: hidden;
  border-radius: clamp(26px, 3vw, 54px);
  background:
    linear-gradient(90deg, rgba(244, 247, 251, 0.96) 0%, rgba(244, 247, 251, 0.78) 31%, rgba(244, 247, 251, 0.24) 54%, rgba(7, 24, 45, 0.08) 100%),
    url("assets/hero/epigenetics-city-dna-hero.png") center / cover no-repeat;
  box-shadow: 0 34px 90px rgba(16, 36, 62, 0.16);
}

.hero-image-composite::before {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(7, 24, 45, 0.38), transparent);
  content: "";
  pointer-events: none;
}

.hero-image-composite::after {
  border-color: rgba(255, 253, 249, 0.58);
}

.hero-image-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1180px, 67%);
  min-height: inherit;
  padding: clamp(54px, 5vw, 92px) clamp(42px, 5.2vw, 104px);
  flex-direction: column;
  justify-content: center;
}

.hero-image-composite .hero-kicker {
  margin: 0 0 clamp(18px, 2vw, 30px);
  color: #315f98;
  font-size: clamp(1rem, 1.05vw, 1.34rem);
  letter-spacing: 0.28em;
}

.hero-image-composite h1 {
  max-width: 10.6em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 5.2vw, 7.1rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero-image-composite h1 span,
.hero-image-composite .hero-subtitle span {
  display: block;
}

.hero-image-composite h1 span:first-child {
  white-space: nowrap;
}

.hero-image-composite h1 span:last-child {
  margin-top: 0.04em;
  white-space: nowrap;
}

.hero-image-composite .hero-meeting-name {
  max-width: 18em;
  margin: clamp(18px, 2vw, 30px) 0 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 2.18vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.16;
  white-space: nowrap;
}

.hero-image-composite .hero-subtitle {
  max-width: 36em;
  margin: clamp(22px, 2.4vw, 38px) 0 0;
  padding-top: clamp(18px, 2vw, 28px);
  border-top: 4px solid rgba(88, 191, 214, 0.82);
  color: #42536b;
  font-size: clamp(1.1rem, 1.16vw, 1.46rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.42;
}

.hero-image-composite .hero-subtitle span + span {
  margin-top: 0.16em;
}

.hero-info-row {
  display: grid;
  grid-template-columns: minmax(330px, 1.08fr) minmax(300px, 0.98fr) minmax(230px, 0.72fr);
  gap: clamp(12px, 1.2vw, 18px);
  margin-top: clamp(34px, 3vw, 56px);
}

.hero-info-row div {
  min-height: 148px;
  padding: clamp(22px, 1.7vw, 30px);
  border: 1px solid rgba(255, 253, 249, 0.72);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 18px 48px rgba(16, 36, 62, 0.12);
  backdrop-filter: blur(14px);
}

.hero-info-row > div > span {
  display: block;
  margin-bottom: 14px;
  color: #2d9fbd;
  font-size: clamp(1rem, 0.96vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.22em;
}

.hero-info-row strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.36rem, 1.34vw, 1.78rem);
  font-weight: 900;
  letter-spacing: -0.018em;
  line-height: 1.32;
}

.hero-info-row small {
  display: block;
  margin-top: 8px;
  color: #536176;
  font-size: clamp(1rem, 0.9vw, 1.12rem);
  font-weight: 800;
  line-height: 1.4;
}

.hero-map-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: clamp(14px, 1.4vw, 20px);
  padding: 0.58rem 1rem;
  border: 1px solid rgba(92, 203, 225, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: clamp(0.95rem, 0.9vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(16, 36, 62, 0.12);
}

.hero-map-link::after {
  content: "↗";
  margin-left: 0.45em;
}

.hero-map-link:hover {
  border-color: rgba(92, 203, 225, 0.95);
  background: rgba(238, 251, 253, 0.96);
}

@media (max-width: 1320px) {
  .hero-image-content {
    width: min(1100px, 76%);
  }

  .hero-info-row {
    grid-template-columns: 1fr;
    max-width: 780px;
  }

  .hero-info-row div {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .hero-image-composite {
    width: calc(100% - 16px);
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(244, 247, 251, 0.98) 0%, rgba(244, 247, 251, 0.9) 49%, rgba(7, 24, 45, 0.16) 100%),
      url("assets/hero/epigenetics-city-dna-hero.png") 63% center / cover no-repeat;
  }

  .hero-image-content {
    width: 100%;
    min-height: 760px;
    padding: 48px 26px 34px;
    justify-content: flex-start;
  }

  .hero-image-composite h1 {
    max-width: 8.2em;
    font-size: clamp(3.1rem, 10.2vw, 4.5rem);
    line-height: 1.08;
  }

  .hero-image-composite .hero-meeting-name {
    font-size: clamp(1.6rem, 6vw, 2.25rem);
    white-space: normal;
  }

  .hero-image-composite .hero-subtitle {
    max-width: 22em;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
  }

  .hero-info-row {
    margin-top: auto;
    padding-top: 38px;
  }
}

@media (max-width: 520px) {
  .hero-image-content {
    min-height: 820px;
    padding: 36px 18px 20px;
  }

  .hero-image-composite .hero-kicker {
    font-size: 0.92rem;
    letter-spacing: 0.2em;
  }

  .hero-image-composite h1 {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
  }

  .hero-info-row div {
    padding: 20px;
    border-radius: 18px;
  }

  .hero-info-row strong {
    font-size: 1.28rem;
  }
}

/* Floating actions: keep every label inside the button on narrow screens. */
.floating-action {
  align-items: center;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}

.floating-action span,
.floating-action small {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.floating-action small {
  letter-spacing: 0.08em;
}

@media (max-width: 980px) {
  .floating-action {
    width: 154px;
    min-height: 74px;
    padding: 12px 14px;
  }

  .floating-action span {
    font-size: clamp(1.18rem, 4.4vw, 1.52rem);
    line-height: 1.12;
  }

  .floating-action small {
    display: block;
    font-size: clamp(0.72rem, 2.65vw, 0.88rem);
    line-height: 1.22;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 520px) {
  .floating-actions {
    right: max(14px, env(safe-area-inset-right));
    gap: 12px;
  }

  .floating-action {
    width: min(310px, calc(100vw - 46px));
    min-height: 86px;
    padding: 14px 28px;
    border-radius: 24px;
  }

  .floating-action span {
    font-size: clamp(1.28rem, 5.8vw, 1.72rem);
  }

  .floating-action small {
    display: block;
    margin-top: 7px;
    font-size: clamp(0.64rem, 2.55vw, 0.78rem);
    line-height: 1.18;
    letter-spacing: 0.02em;
  }

  .floating-action.primary small {
    font-size: clamp(0.6rem, 2.35vw, 0.72rem);
    letter-spacing: 0.01em;
  }

  .floating-action.logo-action {
    min-height: 118px;
  }
}

/* Unified section headings: 02-07 share one rhythm, scale, and spacing system. */
.section-heading,
.program-section .section-heading {
  position: relative;
  max-width: min(920px, 100%);
  margin-bottom: clamp(42px, 4vw, 64px);
  padding-top: clamp(54px, 5vw, 76px);
}

.section-heading::before,
.program-section .section-heading::before {
  top: 0;
  left: -0.02em;
  z-index: -1;
  color: rgba(133, 158, 184, 0.42);
  font-size: clamp(7.4rem, 11.8vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.72;
}

.section-heading .eyebrow,
.program-section .eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(10px, 1vw, 14px);
  color: #536176;
  font-size: clamp(1.05rem, 1.15vw, 1.42rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1.15;
  text-transform: uppercase;
}

.section-heading h2,
.program-section .section-heading h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: clamp(4.15rem, 6.4vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading > p:last-child,
.program-section .section-heading > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-top: clamp(22px, 2vw, 32px);
  color: var(--muted);
  font-size: clamp(1.18rem, 1.12vw, 1.42rem);
  line-height: 1.7;
  letter-spacing: 0;
}

.section-heading::after,
.program-section .section-heading::after {
  width: 88px;
  height: 4px;
  margin-top: clamp(24px, 2vw, 34px);
  border-radius: 999px;
}

.program-status {
  margin: clamp(24px, 2vw, 34px) 0 0;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  font-size: clamp(1.05rem, 1vw, 1.24rem);
  letter-spacing: 0.12em;
  line-height: 1.15;
}

@media (max-width: 720px) {
  .section-heading,
  .program-section .section-heading {
    margin-bottom: 36px;
    padding-top: 50px;
  }

  .section-heading::before,
  .program-section .section-heading::before {
    font-size: clamp(6.6rem, 28vw, 9rem);
  }

  .section-heading .eyebrow,
  .program-section .eyebrow {
    font-size: clamp(0.98rem, 4vw, 1.18rem);
    letter-spacing: 0.18em;
  }

  .section-heading h2,
  .program-section .section-heading h2 {
    font-size: clamp(3.15rem, 13vw, 4.55rem);
    line-height: 1.04;
  }

  .section-heading > p:last-child,
  .program-section .section-heading > p:last-child {
    margin-top: 20px;
    font-size: 1.08rem;
  }
}

.program-item .program-session-title {
  color: var(--ink) !important;
  font-size: clamp(1rem, 0.92vw, 1.14rem);
  line-height: 1.45;
}

.program-item .program-chair {
  font-size: clamp(0.9rem, 0.82vw, 1rem);
}

.program-item .program-subtalks time {
  font-size: clamp(0.76rem, 0.72vw, 0.9rem);
}

.program-item .program-subtalks strong {
  font-size: clamp(0.86rem, 0.78vw, 0.98rem);
}

.program-item .program-subtalks span {
  font-size: clamp(0.78rem, 0.72vw, 0.9rem);
}

@media (max-width: 720px) {
  .program-subtalks li,
  .program-subtalks-compact li {
    grid-template-columns: 1fr;
    gap: 0.38rem;
  }

  .program-subtalks time {
    width: fit-content;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(217, 228, 239, 0.75);
  }
}

/* Mobile speaker cards: make portraits substantial and keep names visible. */
@media (max-width: 720px) {
  .keynote-preview-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .keynote-preview-card {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .keynote-preview-card > div {
    padding: 24px 26px 30px;
  }

  .keynote-preview-card .speaker-monogram {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 1 / 0.9;
    border-radius: 26px 26px 0 0;
  }

  .keynote-preview-card p {
    min-height: 0;
    margin-bottom: 12px;
    font-size: 1.02rem;
    line-height: 1.35;
  }

  .keynote-preview-card h3 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: clamp(2rem, 8vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    overflow-wrap: normal;
  }

  .keynote-preview-card h3 small {
    margin-top: 6px;
    font-size: 0.58em;
  }

  .keynote-preview-card div > span {
    color: var(--muted);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
  }

  .keynote-speaker-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .keynote-speaker-card {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: hidden;
    border-radius: 30px;
  }

  .keynote-speaker-visual {
    min-height: 0;
    padding: 20px 20px 0;
  }

  .keynote-portrait {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1 / 0.9;
    border-radius: 24px;
  }

  .keynote-speaker-card .speaker-card-content {
    display: flex;
    padding: 22px 26px 34px;
    gap: 12px;
  }

  .keynote-speaker-card .speaker-type {
    order: 1;
    margin: 0;
    font-size: 0.98rem;
  }

  .keynote-speaker-card .speaker-card-content h3 {
    display: block;
    order: 2;
    font-size: clamp(2.25rem, 8.8vw, 3rem);
    line-height: 1.1;
    overflow-wrap: normal;
  }

  .keynote-speaker-card .speaker-card-content h3 small {
    display: block;
    margin-top: 6px;
    font-size: 0.56em;
    line-height: 1.2;
  }

  .keynote-speaker-card .speaker-card-content p {
    order: 3;
    margin-top: 4px;
    font-size: 1.18rem;
    line-height: 1.4;
  }

  .keynote-speaker-card .speaker-card-content > span:last-child {
    order: 4;
    margin-top: 4px;
    font-size: 1.08rem;
  }
}

@media (max-width: 430px) {
  .keynote-preview-card .speaker-monogram,
  .keynote-portrait {
    aspect-ratio: 1 / 1.04;
  }

  .keynote-preview-card > div,
  .keynote-speaker-card .speaker-card-content {
    padding-right: 22px;
    padding-left: 22px;
  }
}

/* Speakers page balance: compact the hero facts and give keynote cards breathing room. */
@media (min-width: 721px) {
  .speakers-page .speakers-hero {
    grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.54fr);
    min-height: clamp(300px, 28vw, 390px);
  }

  .speakers-page .speakers-hero-title {
    padding: clamp(42px, 4vw, 68px);
  }

  .speakers-page .speakers-hero-facts div {
    grid-template-columns: minmax(86px, 0.42fr) minmax(0, 1fr);
    gap: clamp(22px, 2.2vw, 38px);
    min-height: 0;
    padding: clamp(24px, 2.6vw, 38px) clamp(28px, 3vw, 48px);
  }

  .speakers-page .speakers-hero-facts dt {
    font-size: clamp(0.82rem, 0.72vw, 1rem);
    letter-spacing: 0.18em;
  }

  .speakers-page .speakers-hero-facts dd {
    font-size: clamp(1.15rem, 1.05vw, 1.45rem);
    line-height: 1.35;
  }

  .speakers-page .speakers-hero-facts dd strong {
    display: block;
    margin-bottom: 10px;
    font-size: clamp(2.35rem, 2.7vw, 3.25rem);
    line-height: 0.95;
  }

  .speakers-page .keynote-speaker-card {
    min-height: clamp(410px, 32vw, 520px);
  }

  .speakers-page .keynote-speaker-card .speaker-card-content {
    justify-content: center;
    padding-top: clamp(64px, 5vw, 92px);
    padding-bottom: clamp(58px, 4.5vw, 84px);
  }

  .speakers-page .keynote-speaker-card .speaker-type {
    margin-bottom: 8px;
  }
}

@media (max-width: 720px) {
  .speakers-page .speakers-hero-facts div {
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .speakers-page .speakers-hero-facts dd strong {
    display: inline-block;
    margin-right: 8px;
  }
}

/* Keep homepage keynote preview type generous; solve fit with spacing, not smaller text. */
@media (min-width: 721px) {
  .keynote-preview-grid {
    gap: clamp(22px, 2.4vw, 36px);
  }

  .keynote-preview-card {
    min-height: clamp(500px, 36vw, 620px);
  }

  .keynote-preview-card .speaker-monogram {
    height: clamp(260px, 19vw, 340px);
  }

  .keynote-preview-card > div {
    padding: clamp(34px, 3vw, 52px);
  }

  .keynote-preview-card p {
    min-height: 0;
    margin-bottom: clamp(38px, 4.2vw, 72px);
    font-size: clamp(1.05rem, 1vw, 1.28rem);
    line-height: 1.35;
  }

  .keynote-preview-card h3 {
    margin-bottom: clamp(18px, 1.6vw, 28px);
    font-size: clamp(2.1rem, 2.65vw, 3.35rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    overflow-wrap: normal;
  }

  .keynote-preview-card h3 small {
    margin-top: 8px;
    font-size: 0.58em;
  }

  .keynote-preview-card div > span {
    font-size: clamp(1.16rem, 1.25vw, 1.55rem);
    font-weight: 700;
    line-height: 1.42;
  }
}

/* Wider desktop heading notes: use the available space instead of wrapping early. */
@media (min-width: 981px) {
  .section-heading,
  .program-section .section-heading {
    max-width: min(1380px, 100%);
  }

  .section-heading > p:last-child,
  .program-section .section-heading > p:last-child {
    max-width: min(1280px, 100%);
  }
}

/* Registration rules: align bullets and avoid orphaned final punctuation. */
.registration-rule {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: clamp(14px, 1.2vw, 22px);
}

.registration-rule ul {
  gap: clamp(14px, 1.1vw, 18px);
}

.registration-rule li {
  position: relative;
  display: block;
  padding-left: 28px;
  text-wrap: pretty;
}

.registration-rule li::before {
  position: absolute;
  top: 0.74em;
  left: 0;
  margin-top: 0;
}

@media (min-width: 981px) {
  .registration-rules {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1.08fr) minmax(0, 1.08fr);
  }

  .registration-rule,
  .registration-rule:nth-child(2) {
    padding-right: clamp(46px, 3.8vw, 72px);
  }
}

/* Mobile-only repair: keep the three quick actions as equal buttons and tidy speaker cards. */
@media (max-width: 720px) {
  body {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .floating-actions,
  .speakers-page .floating-actions {
    top: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    display: grid;
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    transform: none;
  }

  .floating-action,
  .speakers-page .floating-action {
    width: auto;
    min-width: 0;
    min-height: 78px;
    padding: 10px 6px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
  }

  .floating-action span,
  .speakers-page .floating-action span {
    max-width: 100%;
    font-size: clamp(1.08rem, 4.5vw, 1.42rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .floating-action small,
  .speakers-page .floating-action small {
    max-width: 100%;
    margin-top: 6px;
    font-size: clamp(0.58rem, 2.35vw, 0.72rem);
    line-height: 1.12;
    letter-spacing: 0.035em;
    white-space: nowrap;
  }

  .floating-action.logo-action,
  .speakers-page .floating-action.logo-action {
    min-height: 78px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .floating-action.logo-action img,
  .speakers-page .floating-action.logo-action img {
    width: 34px;
    height: 34px;
    margin-bottom: 3px;
  }

  .back-to-top {
    bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .speakers-page .keynote-speaker-card {
    padding: 14px;
  }

  .speakers-page .keynote-speaker-visual {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .speakers-page .keynote-portrait {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.92;
    margin-bottom: 22px;
    border-radius: 22px;
  }

  .speakers-page .keynote-speaker-card .speaker-card-content {
    clear: both;
    padding: 0 14px 22px;
    gap: 14px;
  }

  .speakers-page .keynote-speaker-card .speaker-card-content h3,
  .speakers-page .keynote-speaker-card .speaker-card-content p,
  .speakers-page .keynote-speaker-card .speaker-card-content > span:last-child {
    margin-top: 0;
  }

  .speakers-page .speaker-group:not(.speaker-group-featured) .speaker-directory-list,
  .speakers-page .speaker-group-wide > .speaker-directory-list,
  .speakers-page .speaker-group-wide .university-entry .speaker-directory-list {
    background-image: none;
  }
}

@media (max-width: 380px) {
  .floating-actions,
  .speakers-page .floating-actions {
    gap: 6px;
  }

  .floating-action,
  .speakers-page .floating-action {
    min-height: 72px;
    border-radius: 18px;
  }

  .floating-action span,
  .speakers-page .floating-action span {
    font-size: clamp(1rem, 4.2vw, 1.2rem);
  }

  .floating-action small,
  .speakers-page .floating-action small {
    font-size: clamp(0.52rem, 2.15vw, 0.64rem);
    letter-spacing: 0.02em;
  }
}

/* Floating action fit: keep "Online Registration" away from the button edge. */
.floating-action {
  width: 168px;
  min-height: 88px;
  padding-inline: 16px;
}

.floating-action.primary {
  width: 168px;
  padding-inline: 16px;
}

.floating-action.primary small {
  font-size: 0.58rem;
  letter-spacing: 0.055em;
}

.floating-action.logo-action {
  min-height: 88px;
}

.speakers-page .floating-action {
  width: auto;
}

/* Floating action polish: equal, centered labels with comfortable inner margins. */
.floating-action,
.floating-action.primary,
.speakers-page .floating-action {
  width: 188px;
  min-height: 98px;
  padding: 18px 24px;
  align-items: center;
  text-align: center;
}

.floating-action span,
.speakers-page .floating-action span {
  max-width: 100%;
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-align: center;
  overflow-wrap: anywhere;
}

.floating-action small,
.speakers-page .floating-action small {
  max-width: 100%;
  margin-top: 7px;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-align: center;
  overflow-wrap: anywhere;
}

.floating-action.primary small,
.speakers-page .floating-action.primary small {
  font-size: 0.72rem;
  letter-spacing: 0.035em;
}

.floating-action.logo-action,
.speakers-page .floating-action.logo-action {
  min-height: 98px;
  gap: 8px;
}

.floating-action.logo-action img,
.speakers-page .floating-action.logo-action img {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .floating-action,
  .speakers-page .floating-action {
    width: auto;
    min-width: 0;
    min-height: 86px;
    padding: 12px 10px;
  }

  .floating-action.primary,
  .speakers-page .floating-action.primary {
    width: auto;
    padding-inline: 10px;
  }

  .floating-action span,
  .speakers-page .floating-action span {
    font-size: clamp(1rem, 4.15vw, 1.24rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    white-space: normal;
  }

  .floating-action small,
  .floating-action.primary small,
  .speakers-page .floating-action small,
  .speakers-page .floating-action.primary small {
    font-size: clamp(0.56rem, 2.25vw, 0.68rem);
    line-height: 1.1;
    letter-spacing: 0.015em;
    white-space: normal;
  }

  .floating-action.logo-action,
  .speakers-page .floating-action.logo-action {
    min-height: 86px;
    padding: 10px;
    gap: 5px;
  }

  .floating-action.logo-action img,
  .speakers-page .floating-action.logo-action img {
    width: 34px;
    height: 34px;
  }
}

/* Speakers page mobile spacing: keep hero, photos, and text from colliding. */
@media (max-width: 720px) {
  .speakers-page .speakers-hero {
    margin-bottom: clamp(34px, 9vw, 54px);
  }

  .speakers-page .keynote-section {
    padding-top: 0;
  }

  .speakers-page .keynote-speaker-card {
    display: flex;
    padding: 14px;
    flex-direction: column;
    gap: 0;
  }

  .speakers-page .keynote-speaker-visual {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0 0 30px;
    flex: 0 0 auto;
  }

  .speakers-page .keynote-portrait {
    display: block;
    width: 100%;
    height: clamp(350px, 92vw, 460px);
    margin: 0;
    border-radius: 22px;
  }

  .speakers-page .keynote-speaker-card .speaker-card-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 14px 24px;
    margin: 0;
    flex: 0 0 auto;
  }
}

/* Neutral card color treatment: no option or speaker is visually prioritized. */
.fee-card,
.fee-card.featured {
  transform: none;
  border-color: rgba(133, 158, 184, 0.24);
  background:
    radial-gradient(circle at 82% 16%, rgba(88, 191, 214, 0.14), transparent 12rem),
    linear-gradient(135deg, rgba(247, 252, 254, 0.96), rgba(255, 253, 249, 0.9));
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(16, 36, 62, 0.05);
}

.fee-card::before,
.fee-card.featured::before {
  color: rgba(133, 158, 184, 0.34);
}

.fee-card p,
.fee-card span,
.fee-card.featured p,
.fee-card.featured span {
  color: var(--muted);
}

.keynote-speaker-card,
.keynote-speaker-card:nth-child(2) {
  background:
    linear-gradient(90deg, rgba(217, 228, 239, 0.34), transparent 42%),
    rgba(255, 253, 249, 0.9);
}

.keynote-speaker-visual,
.keynote-speaker-card:nth-child(2) .keynote-speaker-visual,
.speakers-page .keynote-speaker-visual,
.speakers-page .keynote-speaker-card:nth-child(2) .keynote-speaker-visual {
  background:
    radial-gradient(circle at 70% 18%, rgba(88, 191, 214, 0.16), transparent 8rem),
    #eaf3f9;
}

.keynote-number,
.keynote-speaker-card:nth-child(2) .keynote-number {
  color: rgba(16, 36, 62, 0.38);
}

/* Desktop keynote layout: keep the three keynote speakers equally weighted and side by side. */
@media (min-width: 961px) {
  .keynote-speaker-grid,
  .speakers-page .keynote-speaker-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
  }

  .keynote-speaker-card,
  .speakers-page .keynote-speaker-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
  }

  .keynote-speaker-visual,
  .speakers-page .keynote-speaker-visual {
    width: 100%;
    min-height: 0;
    padding: clamp(18px, 1.7vw, 28px) clamp(18px, 1.7vw, 28px) 0;
  }

  .keynote-portrait,
  .speakers-page .keynote-portrait {
    width: 100%;
    max-width: none;
    height: clamp(300px, 24vw, 430px);
  }

  .keynote-speaker-card .speaker-card-content,
  .speakers-page .keynote-speaker-card .speaker-card-content {
    display: flex;
    width: 100%;
    max-width: none;
    padding: clamp(28px, 2.6vw, 42px);
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
  }

  .keynote-speaker-card .speaker-card-content h3,
  .speakers-page .keynote-speaker-card .speaker-card-content h3 {
    max-width: 100%;
    min-height: 2.18em;
    font-size: clamp(2.4rem, 3.25vw, 3.55rem);
    line-height: 1.08;
  }

  .keynote-speaker-card .speaker-card-content p,
  .speakers-page .keynote-speaker-card .speaker-card-content p {
    max-width: 100%;
    min-height: 2.45em;
    font-size: clamp(1.18rem, 1.45vw, 1.48rem);
    line-height: 1.28;
  }

  .keynote-speaker-card .speaker-card-content > span:last-child,
  .speakers-page .keynote-speaker-card .speaker-card-content > span:last-child {
    text-align: left;
    white-space: normal;
  }
}

/* Speakers page: keep keynote names visible between portraits and affiliations. */
.speakers-page .keynote-speaker-card .speaker-type,
.speakers-page .keynote-speaker-card .speaker-card-content h3 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  height: auto !important;
  overflow: visible !important;
}

.speakers-page .keynote-speaker-card .speaker-card-content {
  overflow: visible;
}

.speakers-page .keynote-speaker-card .speaker-card-content h3 {
  margin: 0;
  color: var(--ink);
}

.speakers-page .keynote-speaker-card .speaker-card-content h3 span {
  display: inline;
}

.speakers-page .keynote-speaker-card .speaker-card-content .keynote-name {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 0 clamp(12px, 1vw, 18px) !important;
  overflow: visible !important;
  color: var(--ink) !important;
  font-size: clamp(2.25rem, 3vw, 3.45rem) !important;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  white-space: normal;
  transform: none !important;
  clip-path: none !important;
  text-indent: 0 !important;
}

.speakers-page .keynote-speaker-card .speaker-card-content .keynote-name span {
  display: inline !important;
}

@media (max-width: 720px) {
  .speakers-page .keynote-speaker-card .speaker-card-content .keynote-name {
    margin-bottom: 14px !important;
    font-size: clamp(2.45rem, 10vw, 3.2rem) !important;
    line-height: 1.04;
  }
}

/* Speakers page final keynote stack: keep portraits, names, affiliations, and locations separated. */
.speakers-page .keynote-speaker-grid {
  display: grid !important;
  align-items: stretch !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 28px) !important;
}

.speakers-page .keynote-speaker-card {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(217, 228, 239, 0.34), transparent 42%),
    rgba(255, 253, 249, 0.96) !important;
}

.speakers-page .keynote-speaker-card .keynote-speaker-visual {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(18px, 1.7vw, 28px) clamp(18px, 1.7vw, 28px) !important;
  overflow: hidden !important;
  transform: none !important;
}

.speakers-page .keynote-speaker-card .keynote-portrait {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: clamp(290px, 23vw, 410px) !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  transform: none !important;
}

.speakers-page .keynote-speaker-card .keynote-portrait img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.speakers-page .keynote-speaker-card .speaker-card-content {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  align-content: start !important;
  grid-template-rows: auto auto minmax(2.45em, auto) auto !important;
  row-gap: clamp(12px, 1vw, 18px) !important;
  width: 100% !important;
  max-width: none !important;
  min-height: clamp(270px, 18vw, 340px) !important;
  margin: 0 !important;
  padding: clamp(28px, 2.5vw, 44px) clamp(34px, 2.8vw, 50px) clamp(34px, 2.6vw, 48px) !important;
  border-top: 1px solid rgba(210, 222, 235, 0.78) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  transform: none !important;
  overflow: visible !important;
}

.speakers-page .keynote-speaker-card .speaker-card-content .speaker-type {
  grid-row: 1 !important;
  display: inline-flex !important;
  width: fit-content !important;
  margin: 0 !important;
}

.speakers-page .keynote-speaker-card .speaker-card-content .keynote-name {
  grid-row: 2 !important;
  display: block !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 2.15em !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(2.35rem, 3vw, 3.25rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  white-space: normal !important;
  transform: none !important;
  clip-path: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
}

.speakers-page .keynote-speaker-card .speaker-card-content .keynote-name span {
  display: inline !important;
}

.speakers-page .keynote-speaker-card .speaker-card-content p {
  grid-row: 3 !important;
  min-height: 2.45em !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: clamp(1.25rem, 1.35vw, 1.5rem) !important;
  line-height: 1.3 !important;
}

.speakers-page .keynote-speaker-card .speaker-card-content > span:last-child {
  grid-row: 4 !important;
  align-self: end !important;
  width: fit-content !important;
  margin-top: clamp(4px, 0.8vw, 12px) !important;
}

@media (max-width: 960px) {
  .speakers-page .keynote-speaker-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  .speakers-page .keynote-speaker-grid {
    gap: 18px !important;
  }

  .speakers-page .keynote-speaker-card {
    display: grid !important;
    grid-template-rows: auto auto !important;
    padding: 14px !important;
  }

  .speakers-page .keynote-speaker-card .keynote-speaker-visual {
    padding: 0 !important;
  }

  .speakers-page .keynote-speaker-card .keynote-portrait {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1.05 !important;
    border-radius: 22px !important;
  }

  .speakers-page .keynote-speaker-card .speaker-card-content {
    min-height: 0 !important;
    padding: 26px 28px 36px !important;
    row-gap: 14px !important;
  }

  .speakers-page .keynote-speaker-card .speaker-card-content .keynote-name {
    min-height: 0 !important;
    font-size: clamp(2.55rem, 10vw, 3.35rem) !important;
    line-height: 1.05 !important;
  }

  .speakers-page .keynote-speaker-card .speaker-card-content p {
    min-height: 0 !important;
    font-size: clamp(1.65rem, 6vw, 2.05rem) !important;
    line-height: 1.24 !important;
  }
}

/* Speakers page QA override: enforce clear separation between keynote portraits and text. */
.speakers-page .keynote-section .keynote-speaker-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  overflow: hidden !important;
}

.speakers-page .keynote-section .keynote-speaker-visual {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(20px, 2vw, 34px) !important;
}

.speakers-page .keynote-section .keynote-portrait {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: clamp(300px, 22vw, 420px) !important;
  margin: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #eef7fb 0%, #ffffff 68%, #e8f4f8 100%) !important;
}

.speakers-page .keynote-section .keynote-portrait img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.speakers-page .keynote-section .speaker-card-content {
  position: relative !important;
  display: grid !important;
  grid-template-rows: auto auto minmax(2.6em, auto) auto !important;
  gap: clamp(12px, 1.1vw, 18px) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(30px, 2.8vw, 48px) clamp(34px, 3vw, 52px) clamp(36px, 3vw, 52px) !important;
  border-top: 1px solid rgba(210, 222, 235, 0.8) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  transform: none !important;
}

.speakers-page .keynote-section .speaker-card-content .speaker-type,
.speakers-page .keynote-section .speaker-card-content .keynote-name,
.speakers-page .keynote-section .speaker-card-content p,
.speakers-page .keynote-section .speaker-card-content > span:last-child {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
}

.speakers-page .keynote-section .speaker-card-content .keynote-name {
  display: block !important;
  min-height: 0 !important;
  color: var(--ink) !important;
  font-size: clamp(2.45rem, 2.8vw, 3.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
}

.speakers-page .keynote-section .speaker-card-content p {
  min-height: 2.6em !important;
  color: var(--muted) !important;
  font-size: clamp(1.32rem, 1.35vw, 1.55rem) !important;
  line-height: 1.32 !important;
}

.speakers-page .keynote-section .speaker-card-content > span:last-child {
  width: fit-content !important;
  align-self: end !important;
}

@media (max-width: 720px) {
  .speakers-page .keynote-section .keynote-speaker-card {
    padding: 14px !important;
  }

  .speakers-page .keynote-section .keynote-speaker-visual {
    padding: 0 !important;
  }

  .speakers-page .keynote-section .keynote-portrait {
    height: auto !important;
    aspect-ratio: 1 / 1.06 !important;
    border-radius: 22px !important;
  }

  .speakers-page .keynote-section .speaker-card-content {
    padding: 26px 28px 38px !important;
    gap: 14px !important;
  }

  .speakers-page .keynote-section .speaker-card-content .keynote-name {
    font-size: clamp(2.45rem, 10vw, 3.25rem) !important;
    line-height: 1.08 !important;
  }

  .speakers-page .keynote-section .speaker-card-content p {
    min-height: 0 !important;
    font-size: clamp(1.55rem, 5.6vw, 2rem) !important;
    line-height: 1.25 !important;
  }
}

/* KEYNOTE_LINK_ALIGN_START */
.keynote-link-card {
  cursor: pointer;
}

.keynote-link-card:focus-visible {
  outline: 4px solid rgba(93, 198, 218, 0.55);
  outline-offset: 6px;
}

.keynote-align-card {
  --keynote-photo-height: clamp(300px, 26vw, 500px);
  --keynote-role-height: 68px;
  --keynote-name-height: 168px;
  --keynote-affiliation-height: 126px;
}

.keynote-align-card .keynote-card-media {
  width: 100%;
  height: var(--keynote-photo-height);
  min-height: var(--keynote-photo-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(235, 247, 253, 0.98), rgba(255, 255, 255, 0.96));
}

.keynote-align-card .keynote-card-photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center top !important;
}

@media (min-width: 900px) {
  .keynote-align-card {
    display: flex !important;
    flex-direction: column !important;
  }

  .keynote-align-card .keynote-card-role {
    min-height: var(--keynote-role-height);
    display: flex;
    align-items: flex-end;
  }

  .keynote-align-card .keynote-card-name {
    min-height: var(--keynote-name-height);
    display: flex;
    align-items: flex-start;
  }

  .keynote-align-card .keynote-card-affiliation {
    min-height: var(--keynote-affiliation-height);
    display: flex;
    align-items: flex-start;
  }

  .keynote-align-card .keynote-card-location {
    margin-top: auto;
    align-self: flex-start;
  }
}

@media (max-width: 899px) {
  .keynote-align-card .keynote-card-media {
    height: auto;
    min-height: 0;
  }

  .keynote-align-card .keynote-card-photo {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain !important;
    object-position: center top !important;
  }

  .keynote-align-card .keynote-card-role,
  .keynote-align-card .keynote-card-name,
  .keynote-align-card .keynote-card-affiliation {
    min-height: 0;
  }
}
/* KEYNOTE_LINK_ALIGN_END */

/* Speakers page final polish: balance bottom quick actions and long keynote names. */
.speakers-page .keynote-section .speaker-card-content .name-nowrap {
  display: inline-block !important;
  white-space: nowrap !important;
}

.speakers-page .keynote-section .keynote-speaker-card:nth-child(3) .speaker-card-content .keynote-name {
  font-size: clamp(2.1rem, 2.35vw, 2.75rem) !important;
  line-height: 1.1 !important;
}

@media (min-width: 1181px) {
  .speakers-page {
    padding-bottom: calc(132px + env(safe-area-inset-bottom)) !important;
  }

  .speakers-page .floating-actions {
    right: max(42px, env(safe-area-inset-right)) !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    left: max(42px, env(safe-area-inset-left)) !important;
    width: min(1840px, calc(100% - 84px)) !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(18px, 2vw, 32px) !important;
    justify-items: center !important;
  }

  .speakers-page .floating-action,
  .speakers-page .floating-action.primary,
  .speakers-page .floating-action.logo-action {
    width: min(260px, 100%) !important;
    min-height: 92px !important;
    padding: 16px 24px !important;
  }
}

@media (max-width: 1180px) and (min-width: 721px) {
  .speakers-page {
    padding-bottom: calc(120px + env(safe-area-inset-bottom)) !important;
  }

  .speakers-page .floating-actions {
    right: max(18px, env(safe-area-inset-right)) !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    left: max(18px, env(safe-area-inset-left)) !important;
    display: grid !important;
    width: auto !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    transform: none !important;
  }

  .speakers-page .floating-action,
  .speakers-page .floating-action.primary,
  .speakers-page .floating-action.logo-action {
    width: auto !important;
    min-height: 82px !important;
    padding: 14px 18px !important;
  }
}

@media (max-width: 720px) {
  .speakers-page .keynote-section .keynote-speaker-card:nth-child(3) .speaker-card-content .keynote-name {
    font-size: clamp(2.15rem, 8.8vw, 3rem) !important;
  }
}
