@import url("./src/styles/local-fonts.css");

:root {
  --bg: #f6f8ff;
  --surface: #ffffff;
  --surface-soft: #fbfcff;
  --text: #121b33;
  --muted: #66708a;
  --primary: #2f38d5;
  --primary-deep: #252db4;
  --accent: #58d7ff;
  --line: rgba(39, 61, 167, 0.12);
  --line-strong: #ebe8fb;
  --shadow-soft: 0 18px 50px rgba(32, 46, 120, 0.06);
  --shadow-card: 0 14px 35px rgba(32, 46, 120, 0.06);
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --wrap: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

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

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

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

ul {
  padding: 0;
  list-style: none;
}

section {
  scroll-margin-top: 92px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(50, 46, 224, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(19, 27, 87, 0.2);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand img,
.footer-logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 60px;
}

.desktop-nav a,
.header-link,
.mobile-menu summary,
.mobile-menu__panel a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.footer-links a:hover,
.mobile-menu__panel a:hover {
  color: #ffffff;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.header-link--qr {
  position: relative;
  cursor: default;
}

.header-link--qr:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

.header-link__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-link__trigger img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.header-link__popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 5;
  width: 240px;
  padding: 14px;
  border: 1px solid rgba(20, 31, 92, 0.08);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(10, 18, 73, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  text-transform: none;
  letter-spacing: 0;
}

.header-link__popover::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  transform: rotate(45deg);
  border-top: 1px solid rgba(20, 31, 92, 0.08);
  border-left: 1px solid rgba(20, 31, 92, 0.08);
}

.header-link__popover img,
.mobile-menu__qr img {
  width: 100%;
  border-radius: 10px;
}

.header-link__popover p,
.mobile-menu__qr p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.header-link--qr:hover .header-link__popover,
.header-link--qr:focus .header-link__popover,
.header-link--qr:focus-within .header-link__popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

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

.mobile-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  gap: 1px;
  width: min(260px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(35, 42, 170, 0.98);
  box-shadow: 0 18px 50px rgba(8, 13, 58, 0.3);
}

.mobile-menu__panel a {
  padding: 14px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.mobile-menu__panel a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu__qr {
  margin-top: 8px;
  padding: 14px 12px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  text-transform: none;
  letter-spacing: 0;
}

.mobile-menu__qr-label {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.mobile-menu__qr p {
  color: rgba(255, 255, 255, 0.88);
}

.hero {
  position: relative;
  top:74px;
  width: min(100%, 1920px);
  margin: 0 auto;
  min-height: auto;
  aspect-ratio: 1920 / 720;
  color: #ffffff;
  background-image: url("./src/images/banner.jpg");
  background-color: #1531dc;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

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

.hero__content {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 96px;
}

.hero__copy {
  max-width: 700px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero h1,
.section-title h2,
.welcome-card__signature strong,
.expert-card__body h3,
.transport-card h3,
.venue-card h3,
.site-footer h4 {
  font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.08;
  font-weight: 700;
}

.hero__organizers {
  margin-top: 28px;
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}

.hero__meta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-chip,
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.meta-chip img,
.live-pill img {
  width: 16px;
  height: 16px;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.scroll-indicator img {
  width: 14px;
  animation: bounce 1.8s infinite;
}

.section {
  padding: 88px 0;
}

.section--light {
  background: var(--surface);
}

#welcome {
  background: #f8f8fe;
}

.section--photos {
  background: var(--surface-soft);
}

.section--program {
  color: #ffffff;
  /* background: linear-gradient(160deg, #2e35d6 0%, #3d45e8 50%, #4a52f0 100%); */
}

.section-title {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
}

.section-title--left {
  align-items: flex-start;
  text-align: left;
}

.section-title--center {
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.section-title--invert {
  color: #ffffff;
}

.section-title__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6754f8;
  
}

.section-title__eyebrow--gradient {
  background: linear-gradient(90deg, #8642e7, #7440e6, #2d2fdd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* .section-title--invert .section-title__eyebrow {
  color: var(--accent);
} */

.section-title__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section-title__eyebrow--gradient::before {
  background: linear-gradient(90deg, #8642e7, #7440e6, #2d2fdd);
}

.section-title h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
  font-weight: 700;
  color:#0027c3;
}

.section-title__subtitle {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.section-title--invert .section-title__subtitle {
  color: rgba(255, 255, 255, 0.74);
}

.welcome-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}

.welcome-card {
  /* padding: 28px 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft); */
}

.welcome-card__quote {
  display: none;
}

.welcome-card__body {
  position: relative;
  display: grid;
  gap: 33px;
  margin-top: 0;
  padding-top: 0px;
  padding-left: 32px;
  background-image: url("./src/images/icon1.png");
  background-repeat: no-repeat, no-repeat;
  /* background-position: -20px 0, 0 0; */
  background-size: 36px 36px, 1px 100%;
  text-align: justify;
  hyphens: auto;
  /* 兼容旧版 Webkit 内核 */
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
.welcome-card__body::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: #8642E7;
}
.welcome-card__body p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(18, 27, 51, 0.8);
}

.welcome-card__signature {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ece8ff;
  text-align: right;
}

.welcome-card__signature strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.welcome-card__signature span,
.person-card p:not(.expert-card__detail),
.expert-card__role {
  display: block;
  margin-top: 6px;
  color: #6b57f7;
}

.people-list {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.people-carousel {
  position: relative;
}

.people-carousel__controls {
  display: none;
  position: absolute;
  inset: 50% 0 auto;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

.people-carousel__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  pointer-events: auto;
}

.people-carousel__control img {
  width: 18px;
  height: 18px;
}

.people-carousel__control:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(32, 46, 120, 0.14);
}

.people-carousel__control:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.person-card {
  display: grid;
  width: min(100%, 380px);
  height: auto;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 24px 20px;
  border: 1px solid #e9e6fb;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(32, 46, 120, 0.05);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}

.person-card > div {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.person-card img {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border: 1px solid #e0def7;
  border-radius: 999px;
  object-fit: cover;
}

.person-card h3,
.expert-card__body h3,
.transport-card h3,
.venue-card h3 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.person-card h3 {
  font-size: 20px;
}

.person-card h3 + h3 {
  display: none;
}

.person-card p:not(.expert-card__detail) {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.4;
}

.expert-card__detail[hidden] {
  display: none !important;
}

.person-card:focus-visible {
  outline: 3px solid rgba(47, 56, 213, 0.22);
  outline-offset: 3px;
}

.program-list {
  display: grid;
  gap: 40px;
  margin-top: 56px;
}

/* ── Program Table ── */
.program-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #e5f7ff;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-right: none;
}

.program-table td {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #393939;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 39, 195, 0.12);
  border-right: 1px solid rgba(0, 39, 195, 0.12);
  vertical-align: middle;
}

.program-table td:last-child {
  /* border-right: none; */
}

.program-table tr:last-child td {
  border-bottom: none;
}

/* Date banner row */
.program-table tr.firstRow td {
  background: linear-gradient(135deg, #3b45e8, #5a63f5);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-align: center;
  padding: 18px 16px;
  border-bottom: 2px solid rgba(0, 39, 195, 0.15);
}

/* Day header rows (Day 1 / Day 2) */
.program-table tr:not(.firstRow) td[colspan="6"],
.program-table tr:not(.firstRow) td[colspan="5"] {
  background: linear-gradient(90deg, rgba(88, 215, 255, 0.15), rgba(47, 56, 213, 0.12));
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0027c3;
  text-align: center;
  padding: 14px 16px;
  border-bottom: 2px solid rgba(0, 39, 195, 0.1);
}

/* Column header row (Time / Session / Content …) */
.program-table .col-header td {
  background: rgba(47, 56, 213, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0027c3;
  padding: 14px 14px;
  border-bottom: 2px solid rgba(0, 39, 195, 0.12);
}

/* Data rows – alternating group backgrounds */
.program-table .dr td {
  background: rgba(255, 255, 255, 0.03);
}

.program-table .g-a td {
  background: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.program-table .g-b td {
  background: rgba(255, 255, 255, 0.25);
}


/* Break rows override: keep merged break cells consistent */
.program-table td[colspan="4"],.program-table td[colspan="3"]  {
  background: rgba(88, 215, 255, 0.15);
  color: #4a6fa5;
  text-align: center;
  font-style: italic;
  font-weight: 500;
}
.program-table td.bg1 {
  background: rgba(88, 215, 255, 0.15);
}

/* Time column (data rows only, skip merged / break cells) */
.program-table .dr td:first-child:not([colspan]) {
  color: #393939;
  font-weight: 500;
  /* white-space: nowrap; */
}

/* Session column (data rows only, skip merged / break cells) */
.program-table .dr td:nth-child(2):not([colspan]) {
  color: #393939;
  font-weight: 500;
}

/* Content column – bold */
.program-table .col-content {
  color: #393939;
  font-weight: 500;
}
.program-table .col-topic {
  color: #0027c3 !important;
  font-weight: 500;
}
.program-table .col-topic .name {
  color: #3b3b3b;
  font-weight: 400;
  font-size: 13px;
}
.program-day {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.program-day__meta strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
}

.program-day__meta span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  /* color: rgba(255, 255, 255, 0.68); */
}

.program-day__schedule {
  display: grid;
  gap: 12px;
}

.program-schedule {
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.program-schedule__head,
.program-schedule__item {
  display: grid;
  grid-template-columns: 150px minmax(140px, 0.8fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
}

.program-schedule__head {
  padding: 0 18px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.program-schedule__item {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.program-schedule__time,
.program-schedule__session,
.program-schedule__content,
.program-schedule__combined strong,
.program-schedule__combined span {
  font-size: 15px;
  line-height: 1.6;
}

.program-schedule__time {
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.program-schedule__session,
.program-schedule__combined strong {
  font-weight: 600;
  color: #ffffff;
}

.program-schedule__content,
.program-schedule__combined span {
  color: rgba(255, 255, 255, 0.82);
}

.program-schedule__item--merged {
  grid-template-columns: 150px minmax(0, 1fr);
}

.program-schedule__combined {
  display: grid;
  gap: 4px;
}

/* ── Experts tabs ── */
.experts-tabs {
  margin-top: 48px;
}

.experts-tabs__buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.experts-tabs__btn {
  padding: 10px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.experts-tabs__btn.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(47, 56, 213, 0.25);
}

.experts-tabs__btn:hover:not(.is-active) {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.experts-carousel {
  position: relative;
  margin-top: 0;
  /* padding-inline: 42px; */
}

.experts-carousel__controls {
  position: absolute;
  inset: 50% 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

.experts-carousel__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  pointer-events: auto;
}

.experts-carousel__control img {
  width: 18px;
  height: 18px;
}

.experts-carousel__control:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(32, 46, 120, 0.14);
}

.experts-carousel__control:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.experts-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 16px;
  margin-top: 0;
  padding: 4px 2px 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 56, 213, 0.35) transparent;
}

.experts-grid::-webkit-scrollbar {
  height: 8px;
}

.experts-grid::-webkit-scrollbar-track {
  background: transparent;
}

.experts-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(47, 56, 213, 0.28);
}

.expert-card,
.transport-card,
.venue-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.person-card,
.expert-card,
.photo-card,
.transport-card,
.venue-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--card-rotate-x, 0deg)) rotateY(var(--card-rotate-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}

.person-card::after,
.expert-card::after,
.photo-card::after,
.transport-card::after,
.venue-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at var(--card-pointer-x, 50%) var(--card-pointer-y, 50%), rgba(88, 215, 255, 0.22), rgba(88, 215, 255, 0) 34%);
  opacity: var(--card-shine, 0);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.person-card > *,
.expert-card > *,
.photo-card > *,
.transport-card > *,
.venue-card > * {
  position: relative;
  z-index: 1;
}

.expert-card {
  scroll-snap-align: start;
  cursor: pointer;
}

.expert-card:focus-visible {
  outline: 3px solid rgba(47, 56, 213, 0.22);
  outline-offset: 3px;
}

.expert-card__image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.expert-card img {
  width: 100%;
  aspect-ratio: 580 / 1000;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.expert-card__body {
  padding: 20px;
}

.expert-card__org,
.expert-card__bio,
.transport-card p,
.venue-card p,
.footer-summary,
.footer-meta,
.footer-contact li,
.footer-links a {
  font-size: 14px;
  line-height: 1.8;
}

.expert-card__org {
  margin-top: 4px;
  color: var(--muted);
}

.expert-card__bio {
  margin-top: 12px;
  color: rgba(18, 27, 51, 0.76);
}

.live-pill {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 220px;
  height: 72px;
  padding: 0;
  margin: 20px auto 0;
  border: none;
  border-radius: 36px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(90deg, #8642e7, #7440e6, #2d2fdd);
  box-shadow: 0 10px 24px rgba(48, 56, 213, 0.2);
  backdrop-filter: none;
}

.live-pill img {
  width: 24px;
  height: 24px;
}

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

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #dfe5ff;
  box-shadow: 0 12px 30px rgba(32, 46, 120, 0.08);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-card span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  color: #ffffff;
  /* background: linear-gradient(180deg, transparent, rgba(9, 16, 52, 0.76)); */
}

.photo-card:hover img,
.expert-card:hover .expert-card__image img,
.expert-card__image:hover img,
.expert-card:focus-visible .expert-card__image img {
  transform: scale(1.04);
}

@media (hover: hover) and (pointer: fine) {
  .person-card:hover,
  .expert-card:hover,
  .photo-card:hover,
  .transport-card:hover,
  .venue-card:hover {
    border-color: rgba(88, 215, 255, 0.3);
    box-shadow: 0 24px 48px rgba(32, 46, 120, 0.14);
  }
}

body.modal-open {
  overflow: hidden;
}

.expert-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  place-items: center;
  padding: 24px;
}

.expert-modal.is-open {
  display: grid;
}

.expert-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 44, 0.74);
  backdrop-filter: blur(10px);
}

.expert-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  width: min(980px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 28px 64px rgba(11, 18, 58, 0.28);
}

.expert-modal__media {
  min-height: 0;
  align-self: stretch;
  background: linear-gradient(180deg, #edf0ff 0%, #f8f9ff 100%);
}

.expert-modal__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.expert-modal__content {
  min-height: 0;
  padding: 36px 32px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.expert-modal__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6754f8;
}

.expert-modal__content h3 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.2vw, 2.2rem);
  line-height: 1.15;
}

.expert-modal__detail {
  font-size: 15px;
  line-height: 1.8;
  margin-top: 24px;
  color: rgba(18, 27, 51, 0.8);
  text-align: justify;
  hyphens: auto;
  /* 兼容旧版 Webkit 内核 */
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.expert-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  background: rgba(18, 27, 51, 0.64);
  cursor: pointer;
}

.expert-modal__close:hover {
  background: rgba(18, 27, 51, 0.82);
}

.transport-layout {
  display: grid;
  grid-template-columns: 260px 260px minmax(0, 1fr);
  gap: 16px;
  margin-top: 48px;
  align-items: stretch;
}

.transport-card {
  padding: 24px;
}

.transport-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef3ff;
}

.transport-card__icon img,
.venue-card__intro img,
.footer-contact img {
  width: 20px;
  height: 20px;
}

.transport-card h3 {
  margin-top: 18px;
}

.transport-card p {
  margin-top: 10px;
  color: rgba(18, 27, 51, 0.76);
}

.venue-card {
  display: flex;
  flex-direction: column;
  grid-column: 3;
}

.venue-card__intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
}

.venue-card p {
  margin-top: 6px;
  color: var(--muted);
}

.venue-card iframe {
  flex: 1;
  width: 100%;
  min-height: 288px;
  border: 0;
  filter: grayscale(0.16);
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, #2b33d2 0%, #3a42ec 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 56px 0;
}

.footer-summary {
  max-width: 340px;
  /* margin-top: 16px; */
  color: rgba(255, 255, 255, 0.76);
}

.footer-meta,
.footer-links a,
.footer-contact li {
  color: rgba(255, 255, 255, 0.68);
}

.footer-meta + .footer-meta {
  margin-top: 2px;
}

.site-footer h4 {
  font-size: 16px;
  font-weight: 600;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .wrap {
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.54);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(4px);
  }

  60% {
    transform: translateY(2px);
  }
}

@media (max-width: 1100px) {
  .desktop-nav,
  .header-link {
    display: none;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
  }

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

  .experts-grid {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .venue-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .program-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .welcome-layout,
  .program-day,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .program-day {
    gap: 20px;
  }

  .program-schedule {
    padding: 22px;
  }

  .program-schedule__head {
    display: none;
  }

  .program-schedule__item,
  .program-schedule__item--merged {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .program-schedule__time {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
  }

  .photos-grid,
  .transport-layout {
    grid-template-columns: 1fr 1fr;
  }

  .experts-grid {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .expert-modal__dialog {
    grid-template-columns: 1fr;
  }

  .expert-modal__media img {
    min-height: 0;
    height: auto;
    max-height: none;
  }

}

@media (max-width: 680px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .header-bar {
    min-height: 68px;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    align-items: flex-start;
    padding-top: 112px;
    min-height: 700px;
  }

  .hero__copy {
    max-width: 25rem;
  }

  .hero__organizers {
    font-size: 14px;
  }

  .welcome-card {
    padding: 24px 22px;
  }

  .welcome-card__body {
    padding-left: 18px;
  }

  .photos-grid,
  .transport-layout {
    grid-template-columns: 1fr;
  }

  .experts-carousel {
    padding-inline: 28px;
  }

  .experts-grid {
    grid-auto-columns: calc((100% - 16px) / 2);
    padding-bottom: 10px;
  }

  .program-schedule {
    padding: 18px;
  }

  .program-schedule__item {
    padding: 16px;
  }

  .expert-modal {
    padding: 16px;
  }

  .expert-modal__dialog {
    width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }

  .expert-modal__content {
    padding: 28px 22px 24px;
  }

  .expert-modal__close {
    top: 12px;
    right: 12px;
  }

}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .welcome-layout {
    gap: 22px;
    margin-top: 32px;
  }

  .welcome-card__body {
    gap: 14px;
    max-height: 300px;
    padding-right: 12px;
    overflow-y: auto;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(47, 56, 213, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .welcome-card__body:focus-visible {
    outline: 2px solid rgba(47, 56, 213, 0.18);
    outline-offset: 6px;
  }

  .welcome-card__body p {
    font-size: 15px;
    line-height: 1.75;
  }

  .welcome-card__body::-webkit-scrollbar,
  .people-list::-webkit-scrollbar,
  .experts-grid::-webkit-scrollbar,
  .photos-grid::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  .welcome-card__body::-webkit-scrollbar-track,
  .people-list::-webkit-scrollbar-track,
  .experts-grid::-webkit-scrollbar-track,
  .photos-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .welcome-card__body::-webkit-scrollbar-thumb,
  .people-list::-webkit-scrollbar-thumb,
  .experts-grid::-webkit-scrollbar-thumb,
  .photos-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(47, 56, 213, 0.24);
  }

  .people-list {
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 12px;
    justify-items: stretch;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(47, 56, 213, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .person-card {
    width: 100%;
    min-height: 100%;
    padding: 22px 18px;
    scroll-snap-align: start;
  }

  .people-carousel {
    padding-inline: 32px;
  }

  .people-carousel__controls {
    display: flex;
  }

  .people-carousel__control {
    width: 36px;
    height: 36px;
  }

  .people-carousel__control img {
    width: 14px;
    height: 14px;
  }

  .experts-carousel {
    padding-inline: 32px;
  }

  .experts-carousel__control {
    width: 36px;
    height: 36px;
  }

  .experts-carousel__control img {
    width: 14px;
    height: 14px;
  }

  .experts-grid {
    grid-auto-columns: 100%;
    gap: 12px;
    padding: 4px 24px 12px;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
  }

  .expert-card img {
    /* aspect-ratio: 4 / 5; */
  }

  .expert-card__body {
    padding: 18px 18px 20px;
  }

  .expert-card__body h3 {
    font-size: 17px;
  }

  .expert-card__role,
  .expert-card__org {
    line-height: 1.65;
  }

  .photos-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 12px;
    margin-top: 32px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(47, 56, 213, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .photo-card {
    scroll-snap-align: start;
  }

  .photo-card img {
    aspect-ratio: 5 / 4;
  }

  .photo-card span {
    padding: 16px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .person-card,
  .expert-card,
  .photo-card,
  .transport-card,
  .venue-card {
    transition: none;
    transform: none;
  }

  .person-card::after,
  .expert-card::after,
  .photo-card::after,
  .transport-card::after,
  .venue-card::after {
    display: none;
  }
}
