:root {
  color-scheme: light;
  /* 第五屆海報配色（2026-10-27）：淡薄荷／天藍水彩底，深青綠標題 */
  --ink: #163f45;
  --ink-deep: #1d5a63;
  --green: #2a8577;
  --green-dark: #1c6c6b;
  --title: #165f6b;
  --mint: #b1dcd2;
  --mint-pale: #eaf5ef;
  --ice: #9cc8ec;
  --orchid: #2f6fa6;
  --paper: #f7fbf9;
  --white: #ffffff;
  --line: #d3e4de;
  --soft: #56706f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 19px;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.site-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(24px, 4vw, 72px);
  color: var(--ink);
  border-bottom: 1px solid rgba(28, 108, 107, 0.12);
  transition: height 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-nav.scrolled,
.site-nav.menu-visible {
  height: 78px;
  color: var(--ink);
  background: rgba(247, 251, 249, 0.96);
  border-bottom-color: rgba(22, 63, 69, 0.1);
  box-shadow: 0 8px 28px rgba(11, 57, 53, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  transform: rotate(-8deg);
}

.brand-mark span {
  display: block;
  border-radius: 2px 2px 1px 1px;
}

.brand-mark span:nth-child(1) {
  height: 62%;
  background: var(--mint);
}

.brand-mark span:nth-child(2) {
  height: 100%;
  background: var(--green);
}

.brand-mark span:nth-child(3) {
  height: 76%;
  background: var(--ice);
}

.brand-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--title);
}

/* 大賽全稱分兩行：第五屆「曉日春暉」環境教育徵文／暨首屆環境教育AI視頻創作大賽 */
.brand-copy strong {
  font-family: "Noto Serif TC", serif;
  font-size: 20px;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-copy small {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 46px);
}

.desktop-nav a {
  position: relative;
  font-size: 20px;
  font-weight: 600;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 19px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.nav-login svg {
  width: 18px;
}

.nav-login:hover span {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-account {
  max-width: 200px;
  overflow: hidden;
  font-size: 16px;
  opacity: 0.85;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-account[hidden],
.nav-login[hidden],
.mobile-login[hidden],
.hero-login[hidden] {
  display: none;
}

.hero-login {
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 18px;
}

.hero-login a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-login svg {
  width: 16px;
}

.nav-cta {
  justify-self: end;
  min-width: 152px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--green-dark);
  border-radius: 4px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 19px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.site-nav.scrolled .nav-cta,
.site-nav.menu-visible .nav-cta {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
}

.nav-cta:hover {
  color: var(--green-dark);
  background: var(--white);
}

.nav-cta svg {
  width: 19px;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: min(880px, 88svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  z-index: -4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.015);
}

.hero-overlay {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 251, 249, 0.94) 0%, rgba(236, 247, 242, 0.84) 40%, rgba(232, 245, 240, 0.18) 74%, rgba(232, 245, 240, 0) 100%),
    linear-gradient(180deg, rgba(247, 251, 249, 0.55), transparent 26%, transparent 70%, rgba(22, 63, 69, 0.28));
}

.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 108, 107, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 108, 107, 0.05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero-content {
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: 120px clamp(24px, 6vw, 96px) 160px;
}

.hero-kicker,
.eyebrow {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-kicker {
  color: #caeadb;
}

.hero h1 {
  max-width: 100%;
  margin: 0 0 26px;
  color: var(--title);
  font-family: "Noto Serif TC", "PMingLiU", serif;
  line-height: 1.18;
  letter-spacing: 0;
  /* 仿海報白色描邊標題 */
  text-shadow: 0 0 2px #fff, 0 0 10px rgba(255, 255, 255, 0.9), 0 4px 22px rgba(255, 255, 255, 0.7);
}

.hero h1 > span {
  display: block;
}

.hero h1 .h-ed {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: clamp(26px, 2.4vw, 38px);
  letter-spacing: 0.08em;
}

.hero h1 .h-main {
  font-size: clamp(40px, 4.7vw, 78px);
}

.hero h1 .h-sub {
  margin-top: 6px;
  color: #247b69;
  font-size: clamp(30px, 3.3vw, 54px);
}

.hero-lead {
  max-width: 590px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.primary-link {
  min-width: 172px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px 0 22px;
  border: 1px solid var(--white);
  border-radius: 5px;
  color: var(--green-dark);
  background: var(--white);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(3, 41, 38, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero .primary-link {
  border-color: var(--green-dark);
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 12px 26px rgba(22, 63, 69, 0.18);
}

.primary-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(3, 41, 38, 0.24);
}

.primary-link svg,
.secondary-link svg,
.text-link svg {
  width: 17px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
}

.secondary-link svg {
  width: 34px;
  height: 34px;
  padding: 9px;
  border: 1px solid rgba(28, 108, 107, 0.45);
  border-radius: 50%;
}

.hero-meta {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(28px, 4vw, 70px);
  padding: 18px clamp(22px, 2.4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  color: var(--title);
  background: rgba(247, 251, 249, 0.86);
  box-shadow: 0 14px 34px rgba(22, 63, 69, 0.14);
  backdrop-filter: blur(10px);
}

.hero-meta div {
  display: grid;
  gap: 10px;
}

.hero-meta span {
  color: var(--soft);
  font-size: 28px;
  letter-spacing: 0.08em;
}

.hero-meta strong {
  font-size: 32px;
  line-height: 1.25;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  font-size: 16px;
  letter-spacing: 0.14em;
}

.scroll-cue svg {
  width: 15px;
}

.section-inner {
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
}

.intro-band {
  padding: clamp(84px, 10vw, 150px) 0;
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 80px minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(34px, 5vw, 90px);
  align-items: start;
}

.section-number {
  color: var(--orchid);
  font-family: "Noto Serif TC", serif;
  font-size: 20px;
  padding-top: 5px;
}

.section-heading .eyebrow,
.section-header .eyebrow,
.requirements-heading .eyebrow,
.award-title .eyebrow {
  color: var(--green-dark);
}

.section-heading h2,
.section-header h2,
.requirements-heading h2,
.award-title h2,
.final-content h2 {
  margin: 12px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.22;
  letter-spacing: 0;
}

.intro-copy > .lead {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: "Noto Serif TC", serif;
  font-size: 30px;
  line-height: 1.6;
}

.intro-copy > p:not(.lead) {
  margin: 0;
  color: var(--soft);
  font-size: 20px;
  line-height: 1.9;
}

.intro-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.intro-facts div {
  display: grid;
  gap: 5px;
}

.intro-facts strong {
  color: var(--orchid);
  font-family: "Noto Serif TC", serif;
  font-size: 36px;
}

.intro-facts strong small {
  margin-left: 4px;
  font-size: 0.5em;
  font-weight: 700;
}

.intro-facts span {
  color: var(--soft);
  font-size: 17px;
}

.category-section {
  padding: clamp(82px, 9vw, 138px) 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(156, 200, 236, 0.16), transparent 38%),
    var(--ink-deep);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.section-header > p {
  max-width: 420px;
  margin: 0 0 7px;
  color: var(--soft);
  font-size: 20px;
  line-height: 1.75;
}

.section-header.light .eyebrow {
  color: var(--mint);
}

.section-header.light > p {
  color: rgba(255, 255, 255, 0.62);
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.category-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  overflow: hidden;
}

.category-card.junior {
  background:
    linear-gradient(150deg, rgba(177, 220, 210, 0.26), transparent 55%),
    #2a7f73;
}

.category-card.senior {
  background:
    linear-gradient(150deg, rgba(156, 200, 236, 0.24), transparent 55%),
    #2f5f7d;
}

.category-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  letter-spacing: 0.14em;
}

.category-topline svg {
  width: 24px;
}

.category-card p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
}

.category-card h3 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(42px, 5vw, 68px);
}

.card-note {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.7;
}

.theme-section,
.requirements-section,
.timeline-section,
.awards-section {
  padding: clamp(84px, 9vw, 138px) 0;
}

.theme-list {
  border-top: 1px solid var(--line);
}

.theme-list article {
  display: grid;
  grid-template-columns: 64px 64px 1fr auto;
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  min-height: 180px;
  border-bottom: 1px solid var(--line);
}

.theme-index {
  color: var(--orchid);
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
}

.theme-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--mint);
}

.theme-icon.alt {
  background: var(--ice);
}

.theme-icon svg {
  width: 24px;
}

.theme-copy span {
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 700;
}

.theme-copy h3 {
  margin: 7px 0 8px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(28px, 3vw, 42px);
}

.theme-copy p {
  margin: 0;
  color: var(--soft);
  font-size: 19px;
}

.theme-arrow {
  width: 24px;
  color: var(--green-dark);
}

.requirements-section {
  background: var(--mint-pale);
}

.requirements-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(480px, 1.15fr);
  gap: clamp(60px, 9vw, 140px);
}

.requirements-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

.requirements-heading > p:not(.eyebrow) {
  margin: 24px 0;
  color: var(--soft);
  font-size: 20px;
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--green);
  color: var(--green-dark);
  font-size: 19px;
  font-weight: 700;
}

.requirement-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cbded5;
}

.requirement-steps li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 148px;
  border-bottom: 1px solid #cbded5;
}

.requirement-steps > li > span {
  color: var(--orchid);
  font-family: "Noto Serif TC", serif;
  font-size: 19px;
}

.requirement-steps h3 {
  margin: 0 0 8px;
  font-family: "Noto Serif TC", serif;
  font-size: 30px;
}

.requirement-steps p {
  margin: 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.6;
}

.requirement-steps > li > svg {
  width: 24px;
  color: var(--green-dark);
}

.timeline-section {
  background: var(--paper);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.timeline article {
  position: relative;
  padding: 36px 24px 0 0;
}

.timeline-dot {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: #abc0b8;
  box-shadow: 0 0 0 1px #abc0b8;
}

.timeline .current .timeline-dot {
  background: var(--orchid);
  box-shadow: 0 0 0 1px var(--orchid);
}

.timeline p {
  margin: 0;
  color: var(--orchid);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.timeline h3 {
  margin: 10px 0 7px;
  font-family: "Noto Serif TC", serif;
  font-size: 30px;
}

.timeline article > span:last-child {
  color: var(--soft);
  font-size: 18px;
}

.awards-section {
  color: var(--white);
  background: #2c4f57;
}

.awards-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 9vw, 140px);
}

.award-title .eyebrow {
  color: var(--ice);
}

.award-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.award-columns > div {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 20px;
}

.award-columns span {
  color: var(--ice);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.award-columns ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.award-columns li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.final-cta {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.final-cta > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.final-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 82, 92, 0.92), rgba(28, 108, 107, 0.62), rgba(28, 108, 107, 0.2));
}

.final-content .eyebrow {
  color: var(--mint);
}

.final-content h2 {
  margin-bottom: 34px;
  font-size: clamp(44px, 6vw, 78px);
}

.light-button {
  min-width: 190px;
}

.final-contact {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.6;
}

.final-contact a,
.footer-contact a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  overflow-wrap: anywhere;
}

.footer-info {
  display: grid;
  gap: 6px;
}

.site-footer .footer-contact {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr auto;
  align-items: center;
  gap: 30px;
  padding: 40px clamp(24px, 5vw, 80px) 26px;
  color: var(--white);
  background: var(--ink-deep);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand > div {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  font-family: "Noto Serif TC", serif;
  font-size: 20px;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.site-footer p,
.site-footer > span {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 16px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  font-size: 17px;
}

.site-footer > span {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 主辦及協辦機構（2026-10-27）：標誌含白色文字，沿用計劃書末頁深色底 */
.org-section {
  padding: clamp(56px, 6vw, 88px) 0;
  color: var(--white);
  background: #173f46;
}

.org-title {
  margin: 0 0 36px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(28px, 3vw, 40px);
  text-align: center;
}

.org-group + .org-group {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.org-group h3 {
  margin: 0 0 20px;
  color: var(--mint);
  font-size: 19px;
  letter-spacing: 0.14em;
  text-align: center;
}

.org-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px clamp(36px, 6vw, 88px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.org-logos img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 76px;
  object-fit: contain;
}

/* 已登入時電郵只在寬螢幕顯示，避免擠壓中間導覽 */
@media (max-width: 1599px) {
  .nav-account {
    display: none !important;
  }
}

/* 大賽全稱較長：中等寬度收窄導覽 */
@media (max-width: 1440px) {
  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    font-size: 14px;
  }

  .desktop-nav {
    gap: 22px;
  }

  .desktop-nav a {
    font-size: 18px;
  }

  .nav-cta {
    min-width: 0;
    padding: 0 16px;
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 20px;
  }

  .desktop-nav a {
    font-size: 18px;
  }

  .nav-actions {
    gap: 14px;
  }

  .nav-cta {
    min-width: 0;
    padding: 0 16px;
    font-size: 18px;
  }
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .menu-button {
    justify-self: end;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .site-nav.scrolled .menu-button,
  .site-nav.menu-visible .menu-button {
    border-color: var(--line);
  }

  .menu-button svg {
    width: 21px;
  }

  .mobile-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    height: calc(100svh - 78px);
    display: none;
    align-content: start;
    gap: 0;
    padding: 30px 24px;
    color: var(--ink);
    background: var(--paper);
  }

  .site-nav.menu-visible .mobile-nav {
    display: grid;
  }

  .mobile-nav > a {
    display: flex;
    justify-content: space-between;
    padding: 20px 4px;
    border-bottom: 1px solid var(--line);
    font-family: "Noto Serif TC", serif;
    font-size: 28px;
  }

  .mobile-nav .mobile-cta {
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    border: 0;
    border-radius: 5px;
    color: var(--white);
    background: var(--green);
    font-family: "Noto Sans TC", sans-serif;
    font-size: 20px;
    font-weight: 700;
  }

  .mobile-cta svg {
    width: 17px;
  }

  .mobile-nav .mobile-login {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    padding: 18px 4px;
    border: 1px solid var(--green);
    border-radius: 5px;
    color: var(--green-dark);
    background: transparent;
    font-family: "Noto Sans TC", sans-serif;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-nav .mobile-login[hidden] {
    display: none;
  }

  .mobile-nav .mobile-account {
    margin: 22px 0 0;
    color: var(--soft, #5d7470);
    font-size: 16px;
    text-align: center;
    word-break: break-all;
  }

  .intro-grid {
    grid-template-columns: 50px 1fr;
  }

  .intro-copy {
    grid-column: 2;
  }

  .requirements-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .requirements-heading {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-nav {
    height: 76px;
    padding: 0 20px;
    background: rgba(247, 251, 249, 0.9);
    backdrop-filter: blur(10px);
  }

  .site-nav.scrolled,
  .site-nav.menu-visible {
    height: 70px;
  }

  .mobile-nav {
    top: 70px;
    height: calc(100svh - 70px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 14px;
    letter-spacing: 0;
  }

  .brand-copy {
    gap: 3px;
  }

  .hero h1 .h-ed {
    font-size: 24px;
  }

  .hero h1 .h-main {
    font-size: clamp(30px, 8.6vw, 44px);
  }

  .hero h1 .h-sub {
    font-size: clamp(22px, 6.2vw, 34px);
  }

  .org-logos {
    gap: 22px 30px;
  }

  .org-logos img {
    height: 56px;
  }

  .hero {
    min-height: 82svh;
    align-items: flex-end;
  }

  .hero-image {
    object-position: center 20%;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(247, 251, 249, 0.35) 0%, rgba(247, 251, 249, 0.82) 38%, rgba(247, 251, 249, 0.95) 100%);
  }

  .hero-content {
    padding: 118px 22px 130px;
  }

  .hero h1 {
    margin-top: 0;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions {
    gap: 18px;
    margin-top: 28px;
  }

  .primary-link {
    min-width: 154px;
  }

  .hero-meta {
    display: none;
  }

  .scroll-cue {
    bottom: 24px;
  }

  .section-inner {
    width: min(100% - 40px, 1240px);
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-number {
    display: none;
  }

  .intro-copy {
    grid-column: auto;
  }

  .intro-copy > .lead {
    font-size: 23px;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
  }

  .category-grid,
  .award-columns {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 290px;
  }

  .theme-list article {
    grid-template-columns: 42px 1fr auto;
    min-height: 180px;
    gap: 14px;
    padding: 20px 0;
  }

  .theme-icon {
    display: none;
  }

  .theme-copy p {
    line-height: 1.65;
  }

  .requirements-grid {
    gap: 50px;
  }

  .requirement-steps li {
    min-height: 132px;
  }

  .timeline {
    grid-template-columns: 1fr;
    padding: 0 0 0 20px;
  }

  .timeline::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 5px;
    width: 1px;
    height: auto;
  }

  .timeline article {
    min-height: 140px;
    padding: 0 0 32px 28px;
  }

  .timeline-dot {
    top: 3px;
    left: -20px;
  }

  .awards-grid {
    gap: 48px;
  }

  .award-columns {
    gap: 34px;
  }

  .final-cta {
    min-height: 560px;
  }

  .final-content h2 {
    font-size: 42px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 40px 22px 24px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .brand-copy strong,
  .brand-copy small {
    font-size: 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero-kicker {
    max-width: 280px;
    line-height: 1.6;
  }

  .secondary-link span {
    display: none;
  }

  .intro-facts {
    gap: 8px;
  }

  .intro-facts strong {
    font-size: 28px;
  }

  .requirement-steps li {
    grid-template-columns: 34px 1fr;
  }

  .requirement-steps > li > svg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.text-link + .text-link {
  margin-top: 16px;
}

.requirements-heading .text-link {
  display: flex;
  width: fit-content;
}

/* 触屏：放大可点区域（不影响桌面） */
@media (pointer: coarse) {
  .secondary-link, .text-link { min-height: 44px; }
  .scroll-cue { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
  .site-footer nav { flex-wrap: wrap; gap: 4px 18px; }
  .site-footer nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
