:root {
  --ink: #13294b;
  --muted: #4a4c4b;
  --paper: #f7f8fb;
  --cream: #e8edf5;
  --green: #1d58a7;
  --orange-deep: #c84113;
  --mint: #dbe7f5;
  --amber: #ff5f05;
  --white: #ffffff;
  --line: rgba(19, 41, 75, .18);
  --radius: 1.2rem;
  --shadow: 0 18px 55px rgba(19, 41, 75, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Hind, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 251, .92);
  backdrop-filter: blur(14px);
}
.site-nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { text-decoration: none; font-size: 1.2rem; font-weight: 900; letter-spacing: -.03em; }
.brand span { color: var(--orange-deep); }
.page-nav { display: flex; gap: .25rem; padding: .3rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); }
.page-nav a { padding: .45rem .85rem; border-radius: 999px; color: var(--muted); font-size: .86rem; font-weight: 750; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.page-nav a:hover { color: var(--orange-deep); background: var(--white); }
.page-nav a[aria-current="page"] { color: var(--white); background: var(--ink); }
.short-label { display: none; }
.section-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.78); }
.section-nav-inner { display: flex; min-height: 46px; align-items: center; gap: 1.25rem; }
.section-nav-label { flex: 0 0 auto; color: var(--orange-deep); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.section-links { display: flex; min-width: 0; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.section-links::-webkit-scrollbar { display: none; }
.section-links a { flex: 0 0 auto; padding: .35rem .7rem; border-radius: 999px; color: var(--muted); font-size: .8rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.section-links a:hover { color: var(--ink); background: var(--cream); }
.section-links a[aria-current="location"] { color: var(--ink); background: var(--mint); }
main [id] { scroll-margin-top: 132px; }
.button {
  display: inline-flex;
  min-height: 48px;
  padding: .7rem 1.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.button.primary { border-color: var(--green); color: var(--white); background: var(--green); }
.button:hover { transform: translateY(-2px); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.page-hero { padding: 5.5rem 0 4.5rem; border-bottom: 1px solid var(--line); }
.page-hero h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; }
.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1.25rem;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 500;
}
.page-hero.compact { padding: 2.5rem 0 2rem; }
.page-hero.compact .eyebrow {
  margin-bottom: 1rem;
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  letter-spacing: .09em;
}
.page-hero.compact h1 {
  max-width: 1040px;
  margin-bottom: .75rem;
  font-size: clamp(2.2rem, 3.5vw, 3.35rem);
}
.page-hero.compact .deadline-banner { margin-top: 1.25rem; }
.page-hero.compact .hero-intro { max-width: 1040px; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.page-hero.compact .hero-intro p { margin: 0; }
.page-hero.compact .hero-intro p + p { margin-top: .65rem; }
.page-hero .lede { max-width: 780px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hackathon-theme { max-width: 850px; margin: 1.5rem 0 0; padding: 1rem 1.25rem; border-left: 4px solid var(--amber); border-radius: 0 .9rem .9rem 0; color: var(--ink); background: var(--white); box-shadow: 0 12px 36px rgba(19, 41, 75, .1); font-family: "Roboto Slab", Georgia, serif; font-size: clamp(1.3rem, 2.7vw, 1.9rem); font-weight: 500; line-height: 1.35; }
.deadline-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 1.35rem 1.5rem;
  align-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}
.deadline-banner span { color: var(--mint); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.deadline-banner strong { font-family: "Roboto Slab", Georgia, serif; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 500; }
.deadline-banner .prize-teaser { display: block; margin-top: .55rem; color: var(--white); font-size: .9rem; letter-spacing: .01em; text-transform: none; }

section { padding: 5rem 0; }
section.alt { background: var(--cream); }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 3rem; margin-bottom: 2.5rem; }
h2 { margin-bottom: .8rem; font-family: "Roboto Slab", Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.7rem); font-weight: 500; }
.section-copy { margin: 0; color: var(--muted); font-size: 1.08rem; }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; padding: 0; list-style: none; }
.topics li { position: relative; padding: 1rem 1rem 1rem 2.7rem; border: 1px solid var(--line); border-radius: .9rem; background: rgba(255,255,255,.5); font-weight: 650; }
.topics li::before { position: absolute; left: 1rem; content: "↗"; color: var(--green); font-weight: 900; }
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.focus-card { position: relative; display: block; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.focus-card:hover { transform: translateY(-3px); border-color: rgba(29, 88, 167, .45); box-shadow: var(--shadow); }
.focus-card:focus-visible { outline: 3px solid rgba(29, 88, 167, .28); outline-offset: 3px; }
.focus-number { display: inline-grid; width: 2.35rem; height: 2.35rem; margin-bottom: 1.25rem; place-items: center; border-radius: 50%; color: var(--white); background: var(--green); font-size: .82rem; font-weight: 900; }
.focus-card h3 { margin-bottom: .65rem; font-family: "Roboto Slab", Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 500; letter-spacing: -.025em; }
.focus-card p { margin: 0; color: var(--muted); }
.focus-card .detail-link { display: inline-flex; margin-top: 1rem; color: var(--green); font-size: .88rem; font-weight: 800; }
.focus-subareas { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.focus-subareas span { padding: .3rem .65rem; border-radius: 999px; color: var(--green); background: var(--mint); font-size: .78rem; font-weight: 800; }
.focus-details { display: grid; gap: .75rem; margin-top: 2.5rem; }
.focus-detail { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.focus-detail summary { display: flex; gap: 1rem; padding: 1.15rem 1.35rem; align-items: center; cursor: pointer; font-weight: 800; list-style: none; }
.focus-detail summary::-webkit-details-marker { display: none; }
.focus-detail summary::after { margin-left: auto; color: var(--green); content: "+"; font-size: 1.5rem; line-height: 1; }
.focus-detail[open] summary::after { content: "−"; }
.detail-number { color: var(--green); font-size: .78rem; letter-spacing: .1em; }
.detail-body { padding: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }
.detail-body p { margin: 0; }
.detail-body p + p, .detail-body p + ul, .detail-body ul + p { margin-top: 1rem; }
.detail-body h4 { margin: 1.35rem 0 .45rem; color: var(--ink); font-size: .92rem; letter-spacing: .02em; }
.detail-body ul { margin-bottom: 0; padding-left: 1.2rem; }
.detail-body li + li { margin-top: .5rem; }
.detail-body .fit-test { margin-top: 1.25rem; padding: 1rem 1.1rem; border-left: 4px solid var(--green); border-radius: 0 .65rem .65rem 0; color: var(--ink); background: var(--mint); }
.detail-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; align-items: start; }
.detail-figure { margin: 0; padding: .65rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--paper); }
.detail-figure-viewport { aspect-ratio: 1645 / 859; overflow: hidden; background: var(--white); }
.detail-figure img { display: block; width: 100%; height: auto; }
.detail-figure figcaption { padding: .85rem .35rem .2rem; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.detail-figure figcaption strong { color: var(--ink); }
.expectations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.expectation-card { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.expectation-card h3 { margin-bottom: 1rem; font-family: "Roboto Slab", Georgia, serif; font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 500; }
.expectation-card ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.expectation-card li + li { margin-top: .7rem; }
.expectation-card strong { color: var(--ink); }
.prize-section { color: var(--white); background: var(--ink); }
.prize-section .eyebrow { color: var(--mint); }
.prize-section .section-copy { color: rgba(255,255,255,.76); }
.prize-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.prize-card { display: flex; min-height: 108px; padding: 1.15rem 1.3rem; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid rgba(255,255,255,.28); border-radius: .9rem; color: var(--ink); background: var(--white); }
.prize-card.first { border-color: rgba(255, 95, 5, .7); background: #fffaf5; }
.prize-place { color: var(--green); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.prize-amount { font-family: "Roboto Slab", Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 500; line-height: 1; }
.prize-conditions { margin: 1.25rem 0 0; padding: 1.25rem 1.4rem; border-left: 4px solid var(--amber); background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); }
.prize-recognition { margin: 1rem 0 0; padding: 1.25rem 1.4rem; border-left: 4px solid var(--mint); background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); }
.prize-recognition strong { color: var(--white); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-card { display: flex; min-height: 310px; padding: 1.8rem; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.feature-card.agent { color: var(--white); background: var(--ink); }
.feature-card .tag { align-self: flex-start; margin-bottom: 3rem; padding: .25rem .65rem; border-radius: 999px; color: var(--green); background: var(--mint); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.feature-card h3 { margin-bottom: .75rem; font-family: "Roboto Slab", Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; }
.feature-card p { margin: 0 0 1.5rem; color: var(--muted); }
.feature-card.agent p { color: rgba(255,255,255,.72); }
.feature-card .button { align-self: flex-start; margin-top: auto; }
.feature-card.agent .button { border-color: rgba(255,255,255,.55); }
.dates { border-top: 1px solid var(--line); }
.date-row { display: grid; grid-template-columns: 11rem 1fr auto; gap: 2rem; padding: 1.25rem .25rem; align-items: center; border-bottom: 1px solid var(--line); }
.date-row time { color: var(--green); font-weight: 900; }
.date-row strong { font-size: 1.05rem; }
.date-row span { color: var(--muted); font-size: .84rem; }
.note { padding: 1.3rem 1.5rem; border-left: 4px solid var(--amber); background: var(--white); color: var(--muted); }
.committee-subsection + .committee-subsection { margin-top: 2.5rem; }
.committee-subsection-title { margin: 0 0 1rem; font-family: "Roboto Slab", Georgia, serif; font-size: 1.4rem; font-weight: 600; }
.pc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.pc-chair { grid-column: span 2; padding: 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); background: var(--white); }
.pc-chair span { color: var(--green); font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pc-chair h3, .pc-chair h4 { margin: .55rem 0 .25rem; font-family: "Roboto Slab", Georgia, serif; font-size: 1.35rem; font-weight: 600; }
.pc-chair h3 a, .pc-chair h4 a { color: inherit; text-decoration: none; }
.pc-chair p { margin: 0; color: var(--muted); }
.pc-chair .title { color: var(--ink); font-weight: 700; }
.pc-chair .title a { color: inherit; text-decoration: none; }
.pc-chair .affiliation { margin-top: .3rem; }
.portrait-card { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: center; border-top: 1px solid var(--line); }
.portrait-link { display: block; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }
.portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.portrait-luyi { object-position: center 28%; }
.portrait-xiaojing { object-position: center 35%; }
.portrait-yue { object-position: center 24%; }
.pc-placeholder { grid-column: 1 / -1; padding: 1.5rem; border: 1px dashed rgba(19, 42, 44, .35); border-radius: var(--radius); color: var(--muted); background: rgba(255,255,255,.4); text-align: center; }
.judge-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.judge-card { min-height: 148px; padding: 1.25rem; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: var(--radius); background: var(--white); }
.judge-card h3 { margin: 0 0 .75rem; font-family: "Roboto Slab", Georgia, serif; font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.judge-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.judge-card .title { color: var(--ink); font-weight: 700; }
.judge-card .affiliation { margin-top: .4rem; }

footer { padding: 3rem 0; color: rgba(255,255,255,.74); background: var(--ink); }
.footer-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
footer strong { display: block; margin-bottom: .35rem; color: var(--white); font-size: 1.15rem; }
footer p { margin: 0; }
footer a { color: var(--mint); }

@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-grid, .focus-grid, .expectations-grid, .detail-layout, .prize-grid { grid-template-columns: 1fr; }
  .judge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 1.5rem, 1120px); }
  .site-nav { min-height: 62px; gap: .65rem; }
  .brand { font-size: 1.05rem; }
  .page-nav { gap: 0; padding: .2rem; }
  .page-nav a { padding: .4rem .55rem; font-size: .74rem; }
  .wide-label { display: none; }
  .short-label { display: inline; }
  .section-nav-inner { gap: .6rem; }
  .section-nav-label { font-size: .6rem; }
  .section-links a { padding-inline: .55rem; font-size: .75rem; }
  .page-hero { padding-top: 4rem; }
  .deadline-banner, .date-row { grid-template-columns: 1fr; gap: .35rem; }
  .topics { grid-template-columns: 1fr; }
  .pc-grid { grid-template-columns: 1fr; }
  .judge-grid { grid-template-columns: 1fr; }
  .pc-chair { grid-column: auto; }
  .portrait-card { grid-template-columns: 80px 1fr; }
  .portrait-link { width: 80px; height: 80px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
