:root {
  --ink: #172235;
  --muted: #667085;
  --line: #d8dde7;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --navy: #10243e;
  --gold: #c89d4f;
  --gold-dark: #9b7131;
  --cyan: #1f8aa5;
  --green: #1c7c67;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(16, 36, 62, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.65;
}

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

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

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

.nowrap {
  white-space: nowrap;
}

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

.container.narrow {
  width: min(820px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 5px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 42px;
  background: var(--line);
}

.brand-host img {
  width: 128px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
}

.primary-nav a {
  color: var(--ink);
  white-space: nowrap;
}

.primary-nav a:hover {
  color: var(--gold-dark);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.language-switch a.is-active {
  background: var(--navy);
  color: #fff;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1;
}

.nav-cta,
.button.primary {
  background: var(--gold);
  color: #121822;
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.button.light {
  background: #fff;
  color: var(--navy);
}

.button.wide {
  width: 100%;
  margin-top: 16px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(105deg, rgba(16, 36, 62, 0.96) 0%, rgba(16, 36, 62, 0.88) 44%, rgba(16, 36, 62, 0.45) 100%);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 1800ms ease;
}

.hero-slider img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  align-items: center;
  min-height: 680px;
  gap: 56px;
  padding: 72px 0;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lead,
.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 650ms ease;
}

.hero-media img.is-active {
  opacity: 1;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.hero-dots button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.hero-dots button.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: #121822;
}

.video-feature {
  padding-top: 70px;
  background: #fff;
}

.video-copy {
  max-width: 860px;
  padding-bottom: 28px;
}

.video-copy p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.video-frame {
  width: 100%;
  overflow: hidden;
  background: #0d1725;
}

.video-frame video {
  width: 100%;
  max-height: 760px;
  aspect-ratio: 1470 / 630;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
}

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

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

.section-heading.split,
.split-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.visual-split.image-last {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.visual-stack {
  display: grid;
  gap: 18px;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.visual-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.visual-panel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 36px 18px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  background: linear-gradient(180deg, rgba(13, 23, 37, 0), rgba(13, 23, 37, 0.82));
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
}

h3 {
  margin: 0 0 10px;
  line-height: 1.24;
}

p {
  margin: 0 0 16px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.timeline-card,
.info-panel,
.winner-card,
.gallery-card,
.person-card,
.news-row,
.contact-panel,
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-card,
.timeline-card,
.info-panel {
  padding: 26px;
}

.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

.feature-card.compact {
  min-height: 170px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-weight: 850;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 28px;
  align-items: start;
}

.info-panel.dark {
  background: var(--navy);
  color: #fff;
}

.check-list,
.number-list {
  margin: 0;
  padding-left: 20px;
}

.check-list li,
.number-list li {
  margin: 9px 0;
}

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

.stats-grid div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stats-grid strong {
  display: block;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.logo-strip img,
.winner-card img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-hero {
  padding: 104px 0;
  background: var(--navy);
  color: #fff;
}

.winner-grid,
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.year-block + .year-block {
  margin-top: 56px;
}

.year-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.year-heading span,
.award-label,
.gallery-card span,
.news-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.winner-card,
.person-card {
  padding: 16px;
}

.winner-card h3,
.person-card h3 {
  font-size: 15px;
}

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

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-card div {
  padding: 16px;
}

.people-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.judge-card {
  display: flex;
  flex-direction: column;
}

.judge-card img {
  background: var(--soft);
}

.judge-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.person-role {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.person-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.42;
}

.person-bio {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.news-row img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.contact-panel,
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
  padding: 32px;
}

.site-footer {
  padding: 56px 0 24px;
  color: #fff;
  background: #0d1725;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 220px;
  gap: 28px;
  align-items: start;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-logo {
  width: min(320px, 100%);
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: #fff;
}

.footer-host-logo {
  width: 148px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

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

  .primary-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 12px 0;
  }

  .language-switch {
    align-self: flex-start;
    margin: 8px 0;
  }

  .language-switch a {
    padding: 0 10px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    padding: 5px;
  }

  .brand-mark img {
    width: 100%;
  }

  .brand-host img {
    width: 112px;
  }

  .hero-grid,
  .two-col,
  .visual-split,
  .visual-split.image-last,
  .contact-panel,
  .cta-band,
  .footer-grid,
  .news-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .video-feature {
    padding-top: 58px;
  }

  .hero-media {
    display: none;
  }

  .timeline-grid,
  .card-grid.three,
  .stats-grid,
  .winner-grid,
  .people-grid,
  .gallery-grid,
  .logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section,
  .page-hero {
    padding: 58px 0;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .video-copy p:last-child {
    font-size: 16px;
  }

  .person-bio {
    font-size: 13px;
  }

  .timeline-grid,
  .card-grid.three,
  .stats-grid,
  .winner-grid,
  .people-grid,
  .gallery-grid,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .section-heading.split,
  .split-band,
  .footer-brand-lockup,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-link {
    gap: 9px;
  }

  .brand-divider {
    display: none;
  }

  .brand-host img {
    width: 92px;
  }
}
