/* ==========================================================================
   CHIRALITY 2027 — Peking University
   Design tokens
   ========================================================================== */

:root {
  --pku-red: #94070a;
  --red-deep: #6d0508;
  --red-bright: #b01217;
  --gold: #c6a15b;
  --gold-light: #e3c98f;
  --ink: #181410;
  --ink-soft: #433b34;
  --muted: #786d63;
  --paper: #faf7f1;
  --paper-2: #f2ece2;
  --white: #ffffff;
  --line: #e3d9ca;
  --line-dark: rgba(250, 247, 241, 0.18);

  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --wrap: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   Reset and base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--red-deep);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

[hidden] {
  display: none !important;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pku-red);
  margin: 0 0 14px;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.6;
}

.note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 18px;
}

.text-link {
  color: var(--pku-red);
  border-bottom: 1px solid rgba(148, 7, 10, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.text-link:hover {
  border-color: var(--pku-red);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--pku-red);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--red-deep);
}

.btn-gold {
  background: var(--gold);
  color: #3a2508;
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline {
  border-color: rgba(250, 247, 241, 0.45);
  color: var(--paper);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--pku-red);
  color: var(--pku-red);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 11px;
}

.btn-lg {
  min-height: 54px;
  padding: 16px 32px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

/* ==========================================================================
   Top bar and header
   ========================================================================== */

.topbar {
  background: var(--ink);
  color: rgba(250, 247, 241, 0.72);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  height: 36px;
  align-items: center;
}

.topbar-edition {
  color: rgba(250, 247, 241, 0.45);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.mark {
  width: 40px;
  height: 40px;
  color: var(--pku-red);
  flex: none;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.brand-year {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--pku-red);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav > a:not(.btn) {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-nav > a:not(.btn):hover {
  color: var(--pku-red);
  border-color: var(--gold);
}

.site-nav > a.is-active {
  color: var(--pku-red);
  border-color: var(--pku-red);
}

.nav-register {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 11px 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bar {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.site-header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(90% 70% at 78% 24%, rgba(198, 161, 91, 0.18), transparent 62%),
    radial-gradient(70% 60% at 6% 104%, rgba(0, 0, 0, 0.34), transparent 60%),
    linear-gradient(158deg, #7d0509 0%, #94070a 46%, #5b0306 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.022) 0 1px,
    transparent 1px 9px
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
  padding: 84px 28px 64px;
}

.hero-copy .eyebrow {
  color: var(--gold-light);
}

.hero-title {
  font-size: clamp(54px, 8.6vw, 112px);
  line-height: 0.92;
  letter-spacing: 0.03em;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 18px;
}

.hero-title span {
  font-weight: 400;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.hero-dates {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 16px;
}

.hero-meta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.8);
  border-top: 1px solid rgba(198, 161, 91, 0.45);
  border-bottom: 1px solid rgba(198, 161, 91, 0.45);
  padding: 12px 0;
  margin: 0 0 24px;
  display: inline-block;
}

.hero-lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: rgba(250, 247, 241, 0.86);
  max-width: 52ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 12.5px;
  color: rgba(250, 247, 241, 0.5);
  margin: 0;
}

.hero-art {
  position: relative;
}

.hero-art .pagoda {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  animation: float-art 12s ease-in-out infinite;
}

@keyframes float-art {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.pagoda {
  width: 100%;
  height: auto;
  color: var(--gold);
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pagoda .art-moon circle {
  opacity: 0.75;
}

.pagoda .art-moon circle + circle {
  opacity: 0.18;
}

.pagoda .art-hills {
  opacity: 0.32;
}

.pagoda .art-tower {
  stroke-width: 1.9;
  opacity: 0.95;
}

.pagoda .art-water {
  opacity: 0.42;
}

.pagoda .art-stars {
  fill: currentColor;
  opacity: 0.55;
}

.pagoda .art-stars circle {
  stroke: none;
}

.pagoda-sm {
  max-width: 460px;
}

.hero-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(198, 161, 91, 0.28);
  background: rgba(0, 0, 0, 0.14);
}

.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 22px 28px;
}

.hero-strip-inner span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.62);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hero-strip-inner strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

/* ==========================================================================
   Announcement
   ========================================================================== */

.announcement {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.announcement-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  font-size: 14px;
}

.announcement-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.2);
  flex: none;
}

.announcement p {
  margin: 0;
  color: var(--ink-soft);
}

.announcement a {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--pku-red);
  white-space: nowrap;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 92px 0;
}

.section-alt {
  background: var(--paper-2);
}

.section-tight {
  padding: 56px 0 92px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 14px;
}

.section-intro {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
}

.section-foot {
  margin-top: 32px;
}

.section-foot .text-link {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 72px;
  align-items: start;
}

.about-aside {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.about-aside .eyebrow {
  margin-bottom: 6px;
}

.about-aside .eyebrow:not(:first-child) {
  margin-top: 26px;
}

.host-name {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0 0 4px;
}

.host-detail {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.host-detail a {
  color: var(--pku-red);
}

/* Topics */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.topic-grid li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  background: var(--paper);
}

.topic-index {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* Timeline */

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}

.timeline-index {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold);
}

.timeline-label {
  font-size: 16px;
}

.timeline-date {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pku-red);
  font-weight: 600;
  white-space: nowrap;
}

.timeline-item.is-tba .timeline-date {
  color: var(--muted);
  font-weight: 500;
}

/* Speakers */

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.speaker-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 0 20px;
}

.speaker-photo {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 34px;
  color: rgba(250, 247, 241, 0.85);
  background:
    radial-gradient(80% 60% at 50% 20%, rgba(198, 161, 91, 0.35), transparent 70%),
    linear-gradient(160deg, var(--red-deep), var(--pku-red));
  margin-bottom: 18px;
}

.speaker-card h3 {
  font-size: 20px;
  margin: 0 10px 4px;
  padding: 0 10px;
}

.speaker-card p {
  padding: 0 10px;
  margin: 0 0 4px;
  font-size: 13.5px;
  color: var(--muted);
}

.speaker-role {
  font-size: 10.5px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pku-red) !important;
  font-weight: 600;
  margin-top: 16px !important;
}

.speaker-country {
  font-size: 12px !important;
}

/* Empty state */

.empty-state {
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 56px 40px;
  text-align: center;
  max-width: 720px;
}

.empty-mark {
  display: inline-block;
  width: 46px;
  height: 46px;
  color: var(--gold);
  margin-bottom: 18px;
}

.empty-mark .mark {
  width: 46px;
  height: 46px;
}

.empty-state h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto 22px;
}

/* Venue teaser */

.venue-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.venue-art {
  background: var(--red-deep);
  padding: 28px 20px 12px;
  display: flex;
  justify-content: center;
}

.venue-art .pagoda {
  max-width: 420px;
}

/* Sponsors */

.sponsor-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sponsor-tier {
  border: 1px solid var(--line);
  padding: 26px;
  background: var(--white);
}

.sponsor-logo {
  border: 1px dashed var(--line);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* CTA band */

.cta-band {
  background:
    radial-gradient(80% 120% at 85% 20%, rgba(198, 161, 91, 0.2), transparent 60%),
    var(--red-deep);
  color: var(--paper);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner .eyebrow {
  color: var(--gold-light);
}

.cta-inner h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 8px;
}

.cta-inner p {
  color: rgba(250, 247, 241, 0.65);
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex: none;
}

/* ==========================================================================
   Page head
   ========================================================================== */

.page-head {
  background:
    radial-gradient(90% 160% at 88% 0%, rgba(198, 161, 91, 0.18), transparent 55%),
    linear-gradient(150deg, var(--red-deep), var(--pku-red) 70%, #7a0508);
  color: var(--paper);
  padding: 76px 0 68px;
}

.page-head-compact {
  padding: 56px 0 48px;
}

.page-head .eyebrow {
  color: var(--gold-light);
}

.page-head h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  margin-bottom: 16px;
  max-width: 18ch;
}

.page-head .lede {
  color: rgba(250, 247, 241, 0.78);
  margin: 0;
}

/* ==========================================================================
   Prose and data
   ========================================================================== */

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  margin: 2em 0 0.6em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 20px;
  margin: 1.8em 0 0.5em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 0;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.prose-narrow {
  max-width: 66ch;
}

.rule-list li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0 12px 22px;
  margin: 0;
}

.step-list {
  counter-reset: step;
}

.prose .step-list li {
  padding-left: 42px;
  margin-bottom: 14px;
  counter-increment: step;
}

.prose .step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  color: var(--pku-red);
  font-family: var(--serif);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
}

.split-2 {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr;
  gap: 64px;
  align-items: start;
}

.side-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px 28px;
  position: sticky;
  top: 108px;
}

.side-card .eyebrow {
  margin-bottom: 10px;
}

.side-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}

.fact-list {
  margin: 0 0 22px;
}

.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.fact-list dt {
  color: var(--muted);
}

.fact-list dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

/* Tables */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 620px;
}

.data-table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  white-space: nowrap;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

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

.data-table tbody tr:hover td {
  background: rgba(198, 161, 91, 0.06);
}

.data-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.th-sub {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: none;
  margin-top: 3px;
}

.fee-table .includes {
  font-size: 13px;
  color: var(--muted);
  width: 40%;
}

.fee-addon td {
  background: rgba(198, 161, 91, 0.07);
}

.is-unverified td {
  background: rgba(198, 161, 91, 0.1);
}

.flag {
  color: var(--pku-red);
  font-weight: 700;
  margin-left: 2px;
}

.table-notes {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.table-notes p {
  margin: 0 0 4px;
}

/* Notices */

.notice {
  border-left: 3px solid var(--gold);
  background: rgba(198, 161, 91, 0.1);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

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

/* ==========================================================================
   Page-specific
   ========================================================================== */

/* Committees */

.committee-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.committee-group {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.committee-head h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.committee-head .eyebrow {
  color: var(--muted);
  margin: 0;
}

.committee-members {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}

.committee-members li {
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.committee-members strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

.committee-members span {
  color: var(--muted);
  font-size: 13px;
}

.committee-empty {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Programme */

.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.programme-day {
  border: 1px solid var(--line);
  background: var(--white);
}

.programme-day header {
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.programme-day header .eyebrow {
  margin-bottom: 4px;
  color: var(--muted);
}

.programme-day h2 {
  font-size: 24px;
  margin-bottom: 2px;
}

.programme-day header p:last-child {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}

.programme-item {
  display: flex;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(227, 217, 202, 0.7);
  font-size: 13px;
}

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

.programme-time {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--pku-red);
  flex: none;
  width: 38px;
}

.programme-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.programme-title {
  color: var(--ink);
  line-height: 1.35;
}

.programme-speaker {
  font-size: 12px;
  color: var(--muted);
}

.programme-kind {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.kind-break .programme-title,
.kind-logistics .programme-title {
  color: var(--muted);
}

.kind-plenary .programme-kind,
.kind-award .programme-kind {
  color: var(--pku-red);
}

/* Venue */

.venue-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 64px;
  align-items: start;
}

.venue-side {
  display: grid;
  gap: 24px;
}

.venue-art-card {
  background: var(--red-deep);
  padding: 22px 14px 8px;
}

.fact-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
}

.fact-card .eyebrow {
  margin: 0 0 4px;
}

.fact-card p:not(.eyebrow) {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

.fact-card p:not(.eyebrow):last-child {
  margin-bottom: 0;
}

/* Sponsors page */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}

.stat {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  color: var(--pku-red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  font-size: 12.5px;
  color: var(--muted);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.tier-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
}

.tier-card .eyebrow {
  color: var(--gold);
  margin-bottom: 4px;
}

.tier-card h2 {
  font-size: 26px;
  margin-bottom: 2px;
}

.tier-price {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.tier-card ul li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 8px 0 8px 20px;
  border-top: 1px solid var(--line);
  position: relative;
}

.tier-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.sponsor-copy {
  max-width: 76ch;
}

/* FAQ */

.faq-wrap {
  max-width: 860px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--serif);
  font-size: 19px;
  list-style: none;
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 22px;
  color: var(--gold);
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 40px 8px 0;
  color: var(--ink-soft);
  max-width: 70ch;
}

.faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 24px 0;
}

.faq-contact p {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
}

/* Contact */

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

.contact-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px 28px;
}

.contact-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 14px;
  color: var(--muted);
}

.contact-card a {
  color: var(--pku-red);
  font-size: 14.5px;
  word-break: break-word;
}

.contact-time {
  font-size: 11px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin: 16px 0 0;
}

.contact-address {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

/* Registration */

.fee-notes {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 80ch;
}

.register-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  padding: 32px 36px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.register-cta h2 {
  font-size: 28px;
  margin-bottom: 4px;
}

.register-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.step-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
}

.step-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   Register form
   ========================================================================== */

.register-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.register-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
}

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

.form-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 20px;
}

.form-section legend {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 22px;
  padding: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.field-narrow {
  max-width: 220px;
  margin-top: 12px;
}

.field > span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.field em {
  color: var(--pku-red);
  font-style: normal;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-height: 48px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.18);
  background: var(--white);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: rgba(148, 7, 10, 0.55);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
}

.check input {
  margin-top: 4px;
  accent-color: var(--pku-red);
  width: 16px;
  height: 16px;
  flex: none;
}

.check-consent {
  margin: 8px 0 28px;
  font-size: 13.5px;
}

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

.category-card {
  cursor: pointer;
  position: relative;
}

.category-card input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.category-card-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 18px;
  height: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.category-card input:checked + .category-card-inner {
  border-color: var(--pku-red);
  background: rgba(148, 7, 10, 0.04);
  box-shadow: inset 0 0 0 1px var(--pku-red);
}

.category-card input:focus-visible + .category-card-inner {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.category-name {
  font-size: 14px;
  font-weight: 600;
}

.category-price {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--pku-red);
  line-height: 1.1;
}

.category-price small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.category-price-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.form-status {
  display: none;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  border-left: 3px solid var(--pku-red);
  background: rgba(148, 7, 10, 0.06);
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: #2f6b45;
  background: rgba(47, 107, 69, 0.08);
}

.register-summary {
  position: sticky;
  top: 108px;
}

.summary-card {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 30px 28px;
}

.summary-card h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.summary-list {
  margin: 0 0 18px;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.summary-list dt {
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.summary-total {
  border-bottom: 0 !important;
  border-top: 1px solid var(--ink);
  margin-top: 8px;
  padding-top: 14px !important;
}

.summary-total dt {
  color: var(--ink) !important;
  font-weight: 600;
}

.summary-total dd {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--pku-red);
  line-height: 1;
}

.summary-note {
  font-size: 12px;
  color: var(--muted);
  min-height: 1.5em;
}

.summary-benefits {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.summary-benefits li {
  font-size: 12.5px;
  color: var(--muted);
  padding: 4px 0 4px 16px;
  position: relative;
}

.summary-benefits li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-weight: 700;
}

.summary-help {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}

.summary-help a {
  color: var(--pku-red);
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(24, 20, 16, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-panel {
  background: var(--paper);
  max-width: 520px;
  width: 100%;
  padding: 40px;
  border-top: 3px solid var(--gold);
}

.modal-panel h2 {
  font-size: 30px;
}

.modal-panel p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Admin dashboard
   ========================================================================== */

.admin-bar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto auto;
  gap: 14px;
  align-items: end;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  margin-bottom: 28px;
}

.admin-bar .field > span {
  font-size: 10px;
}

.admin-bar .btn {
  min-height: 48px;
}

.admin-error {
  color: var(--pku-red);
  font-size: 13px;
  margin: 0 0 20px;
}

.stat-row-admin {
  margin-bottom: 32px;
}

.admin-chart-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  margin-bottom: 28px;
}

.admin-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.admin-chart-head h2 {
  font-size: 24px;
  margin: 0;
}

.chart-legend {
  display: flex;
  gap: 18px;
  font-size: 11.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 6px;
}

.chart-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.swatch {
  width: 10px;
  height: 10px;
  display: inline-block;
}

.swatch-reg {
  background: var(--gold);
}

.swatch-paid {
  background: var(--pku-red);
}

.admin-chart svg {
  width: 100%;
  height: auto;
}

.admin-chart .grid-line {
  stroke: var(--line);
  stroke-width: 1;
}

.admin-chart .axis-label {
  fill: var(--muted);
  font-size: 10px;
  font-family: var(--sans);
}

.admin-chart .bar-reg {
  fill: var(--gold);
}

.admin-chart .bar-paid {
  fill: var(--pku-red);
}

.admin-chart .bar-reg,
.admin-chart .bar-paid {
  transition: opacity 0.15s var(--ease);
}

.admin-chart .bar-reg:hover,
.admin-chart .bar-paid:hover {
  opacity: 0.75;
}

.admin-recent {
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.admin-recent summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--serif);
  font-size: 18px;
  list-style: none;
}

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

.admin-recent summary::after {
  content: "+";
  float: right;
  color: var(--gold);
}

.admin-recent[open] summary::after {
  content: "−";
}

.status-pill {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--line);
}

.status-pill.is-paid {
  color: #2f6b45;
  border-color: rgba(47, 107, 69, 0.4);
  background: rgba(47, 107, 69, 0.07);
}

.status-pill.is-pending {
  color: var(--muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 241, 0.62);
  padding: 72px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-wordmark {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.14em;
  color: var(--paper);
  margin-bottom: 14px;
}

.footer-wordmark span {
  color: var(--gold);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 10px;
}

.footer-mail a {
  color: var(--gold-light);
}

.footer-col h2 {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 600;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 13px;
  margin: 0 0 9px;
  color: rgba(250, 247, 241, 0.62);
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 11.5px;
  color: rgba(250, 247, 241, 0.4);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 28px 26px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: calc(100vh - 114px);
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(24, 20, 16, 0.12);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav > a:not(.btn) {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .nav-register {
    margin: 18px 0 0;
    width: 100%;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 64px 28px 40px;
    gap: 24px;
  }

  .hero-art {
    order: 2;
    opacity: 0.9;
  }

  .hero-art .pagoda {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .about-grid,
  .venue-teaser,
  .split-2,
  .venue-layout,
  .register-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px 0 0;
  }

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

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

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

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

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .tier-grid,
  .steps-grid,
  .sponsor-tiers {
    grid-template-columns: 1fr;
  }

  .register-summary {
    position: static;
  }

  .side-card {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

  .admin-bar .btn {
    width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .committee-group {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }

  .topbar-edition {
    display: none;
  }

  .header-inner {
    height: 68px;
  }

  .brand-name,
  .brand-year {
    font-size: 18px;
  }

  .mark {
    width: 34px;
    height: 34px;
  }

  .hero-grid {
    padding: 48px 20px 32px;
  }

  .hero-title {
    font-size: clamp(44px, 14vw, 64px);
    gap: 0 10px;
  }

  .hero-strip-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .announcement-inner {
    flex-wrap: wrap;
    padding: 14px 20px;
  }

  .announcement a {
    margin-left: 22px;
  }

  .section {
    padding: 64px 0;
  }

  .section-tight {
    padding: 40px 0 64px;
  }

  .page-head {
    padding: 52px 0 44px;
  }

  .topic-grid,
  .speaker-grid,
  .programme-grid,
  .committee-members {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 34px 1fr;
    gap: 4px 12px;
  }

  .timeline-date {
    grid-column: 2;
    font-size: 11px;
  }

  .field-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .register-form {
    padding: 26px 20px;
  }

  .register-cta,
  .faq-contact {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

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

  .admin-chart-card {
    padding: 18px 12px;
  }
}

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