:root {
  --ink: #182326;
  --muted: #647074;
  --line: #ccd4d1;
  --paper: #f4f5f1;
  --white: #fff;
  --deep: #17353a;
  --deep-2: #10282d;
  --gold: #d9ab49;
  --mint: #58cdbc;
  --coral: #dc755b;
  --shell: 1180px;
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body,
button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell {
  width: min(var(--shell), calc(100% - 48px - var(--safe-left) - var(--safe-right)));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 53, 58, .14);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  width: min(var(--shell), calc(100% - 48px - var(--safe-left) - var(--safe-right)));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  font-weight: 700;
}

.wordmark-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #f7f2e8;
  background: var(--deep);
  border-radius: 4px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
}

.wordmark-text { font-size: 19px; white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; padding: 26px 0 24px; color: #425054; font-size: 14px; font-weight: 650; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 2px; background: var(--coral); transition: right 180ms ease; }
.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }
.site-nav a:focus-visible { outline: 2px solid var(--deep); outline-offset: 4px; }

.intro-band {
  padding: 72px 0 76px;
  color: #f7f2e8;
  background: var(--deep);
  border-bottom: 8px solid var(--gold);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
  align-items: end;
  gap: 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #6b777a;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow.light { color: var(--mint); }

.intro-band h1,
.events-section h2,
.themes-band h2,
.page-hero h1,
.event-copy h1 {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  letter-spacing: 0;
}

.intro-band h1 { font-size: clamp(48px, 7vw, 90px); line-height: 1.02; }
.intro-copy { max-width: 430px; margin: 0 0 5px; color: rgba(247, 242, 232, .72); font-size: 17px; line-height: 1.85; }

.events-section { padding: 76px 0 96px; }

.section-heading {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 { font-size: 36px; }
.section-count { margin: 0; color: #8d9898; font-size: 13px; font-variant-numeric: tabular-nums; }

.activity-feature {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.poster-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 6px;
  background: #1c2b3b;
  box-shadow: 0 28px 60px rgba(23, 53, 58, .2);
}

.event-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms cubic-bezier(.2, .7, .2, 1);
}

.poster-link:hover .event-poster,
.poster-link:focus-visible .event-poster { transform: scale(1.018); }
.poster-link:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }

.poster-index {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 40px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  background: rgba(10, 27, 37, .64);
  backdrop-filter: blur(8px);
  border-radius: 3px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 700; }
.tag-economy { color: #704416; background: #f3dfb5; border-color: #e4c57e; }
.tag-tech { color: #125c55; background: #d0eee9; border-color: #9edbd1; }

.event-status { margin: 26px 0 10px; color: var(--coral); font-size: 13px; font-weight: 750; }
.activity-content h3 { margin: 0; font: 700 clamp(42px, 6vw, 72px)/1.12 "Noto Serif SC", "Source Han Serif SC", serif; letter-spacing: 0; }
.activity-content h3 a:hover,
.activity-content h3 a:focus-visible { color: var(--deep); text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 5px; text-underline-offset: 8px; }
.event-lead { max-width: 650px; margin: 26px 0 34px; color: #4f5d60; font-size: 18px; line-height: 1.8; }

.event-facts {
  display: grid;
  grid-template-columns: minmax(160px, .8fr) minmax(240px, 1.2fr);
  margin: 0;
  padding: 25px 0;
  border-block: 1px solid var(--line);
}

.event-facts div { min-width: 0; padding-right: 24px; }
.event-facts div + div { padding-left: 30px; border-left: 1px solid var(--line); }
.event-facts dt { margin-bottom: 8px; color: #7a8587; font-size: 12px; font-weight: 700; }
.event-facts dd { margin: 0; font-size: 16px; font-weight: 720; line-height: 1.65; }
.event-facts dd span { color: #687477; font-size: 13px; font-weight: 500; }

.action-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--deep);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button-primary { color: #fff; background: var(--deep); }
.button-primary:hover,
.button-primary:focus-visible { background: var(--coral); border-color: var(--coral); }
.button-secondary { color: var(--deep); background: transparent; }
.button-secondary:hover,
.button-secondary:focus-visible { color: #fff; background: var(--deep); }
.button:focus-visible { outline: 3px solid rgba(88, 205, 188, .55); outline-offset: 3px; }

.themes-band { padding: 68px 0; color: #f7f2e8; background: var(--deep-2); }
.theme-layout { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.themes-band h2 { font-size: 32px; }
.theme-entry { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 2px; border-block: 1px solid rgba(247, 242, 232, .25); transition: padding 180ms ease, border-color 180ms ease; }
.theme-entry:hover,
.theme-entry:focus-visible { padding-inline: 14px; border-color: var(--mint); outline: none; }
.theme-name { font: 700 25px/1.3 "Noto Serif SC", "Source Han Serif SC", serif; }
.theme-meta { color: var(--mint); font-size: 13px; white-space: nowrap; }

.site-footer { color: #7b8587; background: #fff; border-top: 1px solid var(--line); }
.footer-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }

.breadcrumb { margin: 0 0 30px; color: #7a8587; font-size: 13px; }
.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--deep); text-decoration: underline; }

.page-hero { padding: 58px 0 50px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; font-size: clamp(42px, 7vw, 76px); line-height: 1.15; }
.page-hero-copy { max-width: 680px; margin: 24px 0 0; color: #586568; font-size: 17px; line-height: 1.8; }

.event-detail { padding: 54px 0 90px; }
.event-detail-grid { display: grid; grid-template-columns: minmax(260px, 410px) minmax(0, 1fr); gap: clamp(42px, 7vw, 92px); align-items: start; }
.event-detail .poster-link { position: sticky; top: 24px; }
.event-copy { padding-top: 4px; }
.event-copy h1 { margin-top: 20px; font-size: clamp(44px, 6vw, 70px); line-height: 1.14; }
.event-sequence { margin: 12px 0 0; color: var(--coral); font-size: 13px; font-weight: 750; }
.event-copy .event-lead { margin-top: 24px; }
.event-copy .event-facts { margin-top: 34px; }
.content-block { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.content-block h2 { margin: 0 0 12px; font: 700 25px/1.35 "Noto Serif SC", "Source Han Serif SC", serif; }
.content-block p { margin: 0; color: #596568; font-size: 15px; line-height: 1.8; }

.theme-page-list { padding: 56px 0 90px; }
.theme-event { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 34px; align-items: center; padding: 28px 0; border-block: 1px solid var(--line); }
.theme-event + .theme-event { border-top: 0; }
.theme-event-poster { width: 180px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 4px; }
.theme-event-copy h2 { margin: 16px 0 10px; font: 700 34px/1.2 "Noto Serif SC", "Source Han Serif SC", serif; }
.theme-event-copy p { margin: 0; color: #5e6a6d; line-height: 1.7; }
.theme-event-date { color: var(--deep); font-size: 13px; font-weight: 750; white-space: nowrap; }

@media (max-width: 820px) {
  .shell,
  .site-header-inner { width: min(100% - 32px - var(--safe-left) - var(--safe-right), var(--shell)); }
  .site-header-inner { min-height: 64px; }
  .wordmark-mark { width: 36px; height: 36px; }
  .wordmark-text { font-size: 17px; }
  .site-nav { gap: 20px; }
  .site-nav a { padding: 22px 0 20px; font-size: 13px; }
  .site-nav a::after { bottom: 15px; }
  .intro-band { padding: 50px 0 54px; border-bottom-width: 6px; }
  .intro-grid { grid-template-columns: 1fr; gap: 26px; }
  .intro-band h1 { font-size: 52px; }
  .intro-copy { font-size: 15px; line-height: 1.75; }
  .events-section { padding: 54px 0 68px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 30px; }
  .activity-feature { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .poster-link { width: min(100%, 420px); margin-inline: auto; }
  .activity-content h3 { font-size: 48px; }
  .event-lead { margin: 20px 0 28px; font-size: 16px; }
  .theme-layout { grid-template-columns: 1fr; gap: 32px; }
  .themes-band { padding: 54px 0; }
  .event-detail { padding: 34px 0 66px; }
  .event-detail-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .event-detail .poster-link { position: relative; top: auto; }
  .event-copy h1 { font-size: 48px; }
  .theme-event { grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: start; }
  .theme-event-poster { width: 120px; }
  .theme-event-date { grid-column: 2; }
}

@media (max-width: 520px) {
  .site-nav a:first-child { display: none; }
  .intro-band h1 { font-size: 44px; }
  .event-facts { grid-template-columns: 1fr; padding: 0; }
  .event-facts div { padding: 20px 0; }
  .event-facts div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .action-row { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .theme-entry { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
  .footer-inner { padding: 20px 0; align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
  .page-hero { padding: 38px 0 40px; }
  .page-hero h1 { font-size: 41px; }
  .theme-event { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .theme-event-poster { width: 96px; }
  .theme-event-copy h2 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
