:root {
  --ink: #17211e;
  --muted: #68736e;
  --paper: #f5f2eb;
  --paper-strong: #ece8df;
  --sand: #e8e0d2;
  --night: #17201e;
  --night-soft: #222d2a;
  --green: #243f34;
  --green-soft: #315445;
  --accent: #c96f46;
  --accent-soft: #e8aa7d;
  --white: #fffdf8;
  --line: rgba(23, 33, 30, 0.16);
  --shadow: 0 24px 70px rgba(14, 28, 23, 0.12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--ink);
  background: rgba(245, 242, 235, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.site-header__inner {
  width: min(calc(100% - 40px), 1360px);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.brand__eyebrow { margin-bottom: 5px; font-size: 0.72rem; letter-spacing: 0.18em; color: var(--muted); }
.brand__title { font-size: 1.02rem; font-weight: 800; letter-spacing: 0.05em; }
.primary-nav { display: flex; gap: 24px; align-items: center; }
.primary-nav a { padding: 23px 0 20px; text-decoration: none; font-size: 0.9rem; border-bottom: 3px solid transparent; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a.is-active { border-color: var(--accent); }
.nav-toggle { display: none; border: 1px solid var(--line); background: transparent; padding: 9px 12px; border-radius: 999px; }

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #101714;
}
.hero__visual, .hero__overlay { position: absolute; inset: 0; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); filter: saturate(0.65) contrast(1.08); }
.hero__overlay { background: linear-gradient(90deg, rgba(10, 18, 15, 0.93) 0%, rgba(10, 18, 15, 0.67) 42%, rgba(10, 18, 15, 0.28) 100%); }
.hero__content { position: relative; z-index: 2; padding: 110px 0 150px; }
.hero__kicker { margin: 0 0 22px; color: #e7c2a6; letter-spacing: 0.18em; font-size: 0.84rem; font-weight: 700; }
.hero h1 { margin: 0; max-width: 760px; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(3.9rem, 9vw, 8.6rem); line-height: 0.93; letter-spacing: -0.06em; font-weight: 500; }
.hero__lead { margin: 34px 0 36px; max-width: 650px; font-size: clamp(1.08rem, 2vw, 1.4rem); line-height: 1.7; color: rgba(255,255,255,0.84); }
.hero__cta { display: inline-block; padding: 13px 20px; border: 1px solid rgba(255,255,255,0.45); border-radius: 999px; text-decoration: none; font-size: 0.9rem; }
.hero__cta:hover, .hero__cta:focus-visible { color: var(--ink); background: var(--white); }
.hero__caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 26px; font-size: 0.72rem; color: rgba(255,255,255,0.62); }
.hero__caption p { margin: 2px 0; }

.chapter { padding: 120px 0; }
.chapter--light { background: var(--paper); }
.chapter--sand { background: var(--sand); }
.chapter--dark { color: var(--white); background: var(--night); }
.chapter--green { color: var(--white); background: var(--green); }
.chapter-heading { max-width: 880px; margin-bottom: 72px; }
.chapter-heading__index, .eyebrow { margin: 0 0 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.76rem; font-weight: 800; }
.chapter--dark .chapter-heading__index, .chapter--green .chapter-heading__index, .chapter--dark .eyebrow, .chapter--green .eyebrow { color: var(--accent-soft); }
.chapter-heading h2 { margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(2.3rem, 5vw, 4.9rem); line-height: 1.14; font-weight: 500; letter-spacing: -0.035em; }
.chapter-heading__intro { margin: 28px 0 0; max-width: 760px; font-size: 1.18rem; color: var(--muted); }
.chapter--dark .chapter-heading__intro, .chapter--green .chapter-heading__intro { color: rgba(255,255,255,0.68); }

.story-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr); gap: 60px; align-items: stretch; margin: 0 0 90px; }
.story-copy { max-width: 760px; font-size: 1.12rem; }
.story-copy p:first-child { margin-top: 0; }
.stat-card { min-height: 230px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.4); }
.stat-card strong { font-family: Georgia, serif; font-size: 6rem; line-height: 0.9; font-weight: 500; color: var(--accent); }
.stat-card span { margin-top: 14px; font-weight: 700; }

.comparison-card, .flood-comparison { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; margin: 0 0 110px; }
.comparison-card__copy h3, .feature-block__copy h3, .rainfall-panel__headline h3, .event-story h3, .cause-card h3, .timeline-item h3, .resilience-summary h3 { margin: 0 0 24px; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.25; font-weight: 500; }
.feature-block { margin: 0 0 110px; }
.feature-block__copy { max-width: 800px; margin-bottom: 36px; }

.exhibit-figure { margin: 0; }
.figure-button { width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #d9d7d0; cursor: zoom-in; box-shadow: var(--shadow); }
.figure-button img { width: 100%; transition: transform 300ms ease, filter 300ms ease; }
.figure-button:hover img, .figure-button:focus-visible img { transform: scale(1.015); filter: contrast(1.03); }
.exhibit-figure figcaption { margin-top: 14px; font-size: 0.76rem; line-height: 1.55; color: var(--muted); }
.exhibit-figure figcaption span { opacity: 0.82; }
.chapter--dark .exhibit-figure figcaption, .chapter--green .exhibit-figure figcaption { color: rgba(255,255,255,0.56); }
.exhibit-figure--wide { width: 100%; }

.rainfall-panel { margin: 0 0 110px; padding: 50px; border-radius: var(--radius); background: var(--paper-strong); }
.rainfall-panel__headline { max-width: 850px; }
.metric-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 38px 0; }
.metric { padding: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric__year, .metric > span:last-child { display: block; font-size: 0.82rem; color: var(--muted); }
.metric strong { display: block; margin: 9px 0 5px; font-family: Georgia, serif; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1; color: var(--accent); font-weight: 500; }
.metric small { font-size: 1rem; }
.rainfall-panel__text { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-bottom: 42px; }

.flood-comparison__numbers { padding: 44px; border-radius: var(--radius); background: #263934; color: var(--white); }
.flood-comparison__numbers .eyebrow { color: var(--accent-soft); }
.before-after { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 26px 0; }
.before-after div:not(.before-after__arrow) { display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; }
.before-after span { font-size: 0.78rem; opacity: 0.6; }
.before-after strong { font-family: Georgia, serif; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.before-after__2010 strong { font-size: clamp(3.5rem, 6vw, 5.4rem); }
.before-after__2025 strong { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.before-after small { opacity: 0.65; }
.before-after__arrow { font-size: 1.8rem; opacity: 0.45; }

.event-story { display: grid; grid-template-columns: 200px 1fr; gap: 50px; padding: 46px 0; border-top: 1px solid rgba(255,255,255,0.15); }
.event-story__year { font-family: Georgia, serif; font-size: 4.4rem; line-height: 1; color: var(--accent-soft); }
.event-story__body { max-width: 800px; }
.event-story--later { margin-top: 120px; }
.impact-quote { margin: 110px 0 60px; padding: 0 0 0 34px; border-left: 5px solid var(--accent); }
.impact-quote p { margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 1.15; }
.memory-number { align-self: center; padding: 25px; border-top: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.18); }
.memory-number strong { display: block; font-family: Georgia, serif; font-size: 5.2rem; line-height: 1; color: var(--accent-soft); font-weight: 500; }
.memory-number span { font-size: 0.86rem; color: rgba(255,255,255,0.6); }
.oral-history { display: grid; grid-template-columns: 0.38fr 1.62fr; gap: 46px; margin-top: 110px; padding: 54px; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); background: var(--night-soft); }
.oral-history__label { color: var(--accent-soft); font-size: 0.78rem; letter-spacing: 0.16em; font-weight: 800; }
.oral-history h3 { margin: 0 0 28px; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.32; font-weight: 500; }
.oral-history__depth { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.15); }
.oral-history__depth strong { color: var(--accent-soft); font-size: 1.45rem; }

.cause-list { display: grid; gap: 26px; }
.cause-card { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 36px; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.42); }
.cause-card__number { font-family: Georgia, serif; font-size: 3.5rem; line-height: 1; color: var(--accent); opacity: 0.5; }
.cause-card__content > p { max-width: 820px; }
.cause-card .exhibit-figure { max-width: 880px; margin-top: 30px; }
blockquote { margin: 28px 0; padding: 20px 0 20px 24px; border-left: 4px solid var(--accent); font-family: Georgia, "Noto Serif TC", serif; font-size: 1.4rem; line-height: 1.55; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.tag-list span { padding: 7px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 0.82rem; opacity: 0.78; }

.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 39px; width: 1px; background: rgba(255,255,255,0.2); }
.timeline-item { position: relative; display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 38px; padding-bottom: 120px; }
.timeline-item__marker { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: center; }
.timeline-item__marker span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--accent-soft); font-family: Georgia, serif; font-weight: 700; }
.timeline-item__content { max-width: 1000px; }
.timeline-item__content > p { max-width: 800px; }
.milestone-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 30px 0; }
.milestone-row div { padding: 22px; border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; }

/* 2025 Fenghuang flood media: preserve the original composite while replacing the upper-right panel with live video. */
.flood-media__canvas { position: relative; overflow: hidden; background: #0d1311; }
.flood-media__base { display: block; width: 100%; height: auto; }
.flood-media__video {
  position: absolute;
  top: 0;
  right: 0;
  width: 25.94%;
  height: 49.04%;
  background: #090c0b;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
}
.flood-media__video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #090c0b; }

.milestone-row strong, .milestone-row span { display: block; }
.milestone-row strong { margin-bottom: 4px; color: var(--accent-soft); font-family: Georgia, serif; font-size: 1.8rem; }
.milestone-row span { font-size: 0.86rem; color: rgba(255,255,255,0.68); }
.tunnel-note, .community-note { margin-top: 34px; padding: 30px; border-left: 4px solid var(--accent-soft); background: rgba(255,255,255,0.06); }
.tunnel-note strong { color: var(--accent-soft); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project-card { padding: 32px; border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; background: rgba(255,255,255,0.05); }
.project-card h4 { margin: 0 0 18px; font-family: Georgia, "Noto Serif TC", serif; font-size: 1.8rem; font-weight: 500; }
.project-card__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.project-card__facts span { padding: 8px 11px; border-radius: 8px; color: var(--green); background: var(--accent-soft); font-size: 0.82rem; }
.big-stat { display: flex; align-items: baseline; gap: 16px; margin: 30px 0; }
.big-stat strong { font-family: Georgia, serif; font-size: 5.4rem; line-height: 0.9; color: var(--accent-soft); font-weight: 500; }
.big-stat span { color: rgba(255,255,255,0.7); }
.pull-line { margin: 28px 0; font-family: Georgia, "Noto Serif TC", serif; font-size: 1.5rem; color: var(--accent-soft); }
.text-link { display: inline-block; margin-top: 10px; text-underline-offset: 4px; }
.resilience-summary { padding: 58px; border-radius: var(--radius); color: var(--ink); background: var(--paper); }
.resilience-summary .eyebrow { color: var(--accent); }
.resilience-summary p { max-width: 820px; }
.summary-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 36px; }
.summary-pillars span { padding: 22px; border: 1px solid var(--line); border-radius: 14px; text-align: center; font-weight: 800; }

.epilogue { padding: 150px 0; color: var(--white); background: #0d1311; }
.epilogue__inner { max-width: 980px; }
.epilogue h2 { margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: 1.12; font-weight: 500; }
.epilogue__lead { margin: 50px 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.4; color: var(--accent-soft); }
.epilogue__text { max-width: 780px; font-size: 1.15rem; color: rgba(255,255,255,0.72); }
.epilogue__statement { margin: 56px 0; color: var(--white); font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.32; }
.epilogue__final { margin: 90px 0 26px; font-weight: 800; letter-spacing: 0.08em; }
.back-to-top { display: inline-block; padding: 12px 18px; border: 1px solid rgba(255,255,255,0.36); border-radius: 999px; text-decoration: none; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: var(--paper); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 30px; font-size: 0.78rem; color: var(--muted); }
.site-footer p { margin: 3px 0; }
.site-footer__title { color: var(--ink); font-weight: 800; }

.lightbox { width: min(94vw, 1400px); max-height: 92vh; padding: 0; border: 0; border-radius: 18px; color: var(--white); background: #101412; box-shadow: 0 24px 90px rgba(0,0,0,0.45); }
.lightbox::backdrop { background: rgba(0,0,0,0.82); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.lightbox__bar p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.68); }
.lightbox__close { padding: 7px 12px; border: 1px solid rgba(255,255,255,0.24); border-radius: 999px; color: var(--white); background: transparent; cursor: pointer; }
.lightbox__body { padding: 20px; overflow: auto; }
.lightbox__body img { max-height: calc(92vh - 110px); width: auto; margin: 0 auto; object-fit: contain; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .figure-button img { transition: none; }
}

@media (max-width: 900px) {
  .site-header__inner { min-height: 64px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 64px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 740px; }
  .hero__content { padding-top: 100px; }
  .chapter { padding: 90px 0; }
  .story-grid, .comparison-card, .flood-comparison, .oral-history { grid-template-columns: 1fr; }
  .event-story { grid-template-columns: 1fr; gap: 18px; }
  .event-story__year { font-size: 3.2rem; }
  .metric-row, .rainfall-panel__text, .project-grid, .summary-pillars { grid-template-columns: 1fr; }
  .rainfall-panel { padding: 30px; }
  .cause-card { grid-template-columns: 1fr; gap: 18px; }
  .cause-card__number { font-size: 2.5rem; }
  .site-footer__inner { flex-direction: column; }
}


@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .brand__eyebrow { display: none; }
  .brand__title { font-size: 0.9rem; }
  .hero { min-height: 690px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(10,18,15,0.5), rgba(10,18,15,0.93) 72%); }
  .hero__content { padding: 90px 0 160px; align-self: flex-end; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 5.8rem); }
  .hero__caption { bottom: 16px; }
  .chapter { padding: 75px 0; }
  .chapter-heading { margin-bottom: 52px; }
  .story-grid { gap: 28px; margin-bottom: 70px; }
  .comparison-card, .feature-block, .rainfall-panel, .flood-comparison { margin-bottom: 75px; }
  .rainfall-panel { padding: 22px; }
  .metric { padding: 19px 0; }
  .flood-comparison__numbers, .cause-card, .oral-history, .resilience-summary { padding: 26px; }
  .before-after { grid-template-columns: 1fr; }
  .before-after__arrow { transform: rotate(90deg); }
  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 50px minmax(0,1fr); gap: 18px; padding-bottom: 86px; }
  .timeline-item__marker span { width: 44px; height: 44px; }
  .milestone-row { grid-template-columns: 1fr; }
  .project-card { padding: 22px; }
  .epilogue { padding: 100px 0; }
}

/* 2026-08-30 exhibit layout refinements */
.hero {
  min-height: 0;
  display: block;
  overflow: visible;
  background: #101714;
}
.hero__figure {
  margin: 0;
  background: #101714;
}
.hero__figure > img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
  filter: none;
}
.hero__caption {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 10px;
  padding-bottom: 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.62);
}
.hero__caption span { display: block; }
.hero__content {
  position: static;
  padding: 64px 0 76px;
}
.hero h1 {
  max-width: none;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.hero__lead { max-width: none; }

.chapter-heading,
.chapter-heading__intro,
.story-copy,
.feature-block__copy,
.rainfall-panel__headline,
.event-story__body,
.cause-card__content > p,
.timeline-item__content,
.timeline-item__content > p,
.resilience-summary p {
  max-width: none;
  width: 100%;
}
.rainfall-panel__text {
  grid-template-columns: 1fr;
  gap: 12px;
}

.figure-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.figure-pair .figure-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: #fff;
}
.figure-pair .figure-button img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.figure-pair figcaption {
  font-size: 0.82rem;
}
.figure-pair figcaption span {
  display: block;
  margin-top: 3px;
}

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__content { padding: 48px 0 62px; }
  .figure-pair { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero { min-height: 0; }
  .hero__content { padding: 40px 0 52px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.8rem); }
  .hero__caption { padding-top: 8px; padding-bottom: 12px; }
}

/* 2026-08-30 V3: restore original immersive hero while keeping most of the wide source visible */
.hero {
  position: relative;
  min-height: clamp(560px, 34.9vw, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #101714;
}
.hero__visual,
.hero__overlay {
  position: absolute;
  inset: 0;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
  filter: saturate(0.72) contrast(1.06);
}
.hero__overlay {
  background: linear-gradient(90deg, rgba(10, 18, 15, 0.92) 0%, rgba(10, 18, 15, 0.64) 42%, rgba(10, 18, 15, 0.18) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 92px 0 130px;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.9rem, 8.4vw, 8.2rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}
.hero__lead {
  margin: 34px 0 36px;
  max-width: 650px;
}
.hero__caption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 22px;
  display: block;
  padding-top: 0;
  padding-bottom: 0;
  color: rgba(255,255,255,0.66);
}
.hero__caption p { margin: 2px 0; }

.cause-card__title {
  margin-bottom: 24px;
}
.cause-card__title span {
  font: inherit;
  color: var(--accent);
}

@media (max-width: 760px) {
  .hero {
    min-height: 76svh;
  }
  .hero__visual img {
    object-position: 50% center;
  }
  .hero__content {
    padding: 88px 0 142px;
  }
  .hero h1 {
    max-width: 92%;
    font-size: clamp(3.2rem, 16vw, 5.6rem);
  }
  .hero__lead {
    max-width: 92%;
    font-size: 1rem;
  }
  .hero__caption {
    bottom: 16px;
    font-size: 0.66rem;
  }
}

/* 2026-09-04 requested refinements */
.header-brand-group { display:flex; align-items:center; gap:18px; min-width:0; }
.ncdr-logo { display:flex; align-items:center; gap:9px; padding-right:18px; border-right:1px solid var(--line); text-decoration:none; color:var(--ink); flex:0 0 auto; }
.ncdr-logo__mark { font-family:Arial, sans-serif; font-weight:900; font-style:italic; font-size:1.25rem; letter-spacing:-0.08em; color:#23608f; }
.ncdr-logo__text { display:flex; flex-direction:column; font-size:.72rem; font-weight:800; line-height:1.12; white-space:nowrap; }
.ncdr-logo__text small { margin-top:2px; font-size:.42rem; font-weight:500; color:var(--muted); letter-spacing:.01em; }

.road-warning-note { margin-top:24px; padding:28px; border:1px solid rgba(255,255,255,.14); border-radius:16px; background:rgba(255,255,255,.045); }
.road-warning-note > p:first-child { margin-top:0; }
.core-list { display:grid; gap:10px; margin:18px 0 0; padding:0; list-style:none; counter-reset:core; }
.core-list li { counter-increment:core; display:grid; grid-template-columns:42px minmax(0,1fr); gap:12px; align-items:center; padding:14px 16px; border-radius:12px; background:rgba(255,255,255,.07); }
.core-list li::before { content:counter(core); width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:var(--accent-soft); color:var(--green); font-family:Georgia,serif; font-weight:700; }
.core-list li strong,.core-list li span { display:block; }
.core-list li span { font-size:.84rem; color:rgba(255,255,255,.64); }

.linked-figure .figure-button { display:block; text-decoration:none; }
.linked-figure .figure-button::after { content:none; display:none; }

.cbs-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); gap:26px; align-items:stretch; margin-top:24px; }
.cbs-points { display:grid; gap:12px; padding-left:1.2em; }
.cbs-points li::marker { color:var(--accent-soft); }
.cbs-source { color:rgba(255,255,255,.7); font-size:.88rem; }
.cbs-visual { min-height:300px; padding:28px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; border-radius:20px; text-decoration:none; color:#fff; background:linear-gradient(145deg,#173b4c,#0b202d 65%,#14382d); border:1px solid rgba(255,255,255,.16); position:relative; overflow:hidden; }
.cbs-visual__waves { position:absolute; top:16px; right:20px; font-size:2rem; letter-spacing:-.2em; color:var(--accent-soft); transform:rotate(-20deg); }
.cbs-visual__phone { width:116px; height:190px; border:6px solid rgba(255,255,255,.8); border-radius:22px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; margin-bottom:18px; box-shadow:0 12px 28px rgba(0,0,0,.24); }
.cbs-visual__phone b { font-size:1.8rem; color:var(--accent-soft); }
.cbs-visual__phone small { color:#fff; font-weight:800; }
.cbs-visual__phone em { font-size:.72rem; font-style:normal; color:rgba(255,255,255,.68); }
.cbs-visual > strong { font-family:Georgia,"Noto Serif TC",serif; font-size:1.6rem; line-height:1.35; }
.cbs-visual > small { margin-top:6px; color:rgba(255,255,255,.62); }

.summary-pillars a { padding:22px; border:1px solid var(--line); border-radius:14px; text-align:center; font-weight:800; text-decoration:none; color:var(--ink); transition:transform .18s ease, background .18s ease; }
.summary-pillars a span { display:block; margin-top:8px; padding:0; border:0; font-size:.75rem; font-weight:600; color:var(--accent); }
.summary-pillars a:hover,.summary-pillars a:focus-visible { transform:translateY(-2px); background:#fff; }

.exhibit-promo { margin:60px 0 30px; padding:30px; border:1px solid rgba(255,255,255,.18); border-radius:18px; background:rgba(255,255,255,.05); }
.exhibit-promo h3 { margin:8px 0 12px; font-family:Georgia,"Noto Serif TC",serif; font-size:clamp(1.35rem,2.6vw,2rem); font-weight:500; }
.exhibit-promo p { color:rgba(255,255,255,.7); }
.exhibit-promo a { display:inline-block; margin-top:10px; color:var(--accent-soft); font-weight:800; text-underline-offset:4px; }

@media (max-width: 1050px) {
  .ncdr-logo__text { display:none; }
  .ncdr-logo { padding-right:12px; }
}
@media (max-width: 900px) {
  .cbs-grid { grid-template-columns:1fr; }
  .header-brand-group { gap:10px; }
  .ncdr-logo { border-right:0; padding-right:0; }
}
@media (max-width: 620px) {
  .ncdr-logo__mark { font-size:1rem; }
  .header-brand-group { gap:8px; }
  .brand__title { font-size:.78rem; }
  .flood-media__video,.flood-media__clinic,.flood-media__road { box-shadow:0 0 0 1px rgba(255,255,255,.5); }
}

/* 2026-09-04 supplied NCDR logo and CBS summary artwork */
.ncdr-logo__image{display:block;width:min(290px,30vw);height:auto;max-height:58px;object-fit:contain;object-position:left center}
.cbs-visual--image{padding:0;overflow:hidden;background:transparent;border:0;display:block}
.cbs-visual--image img{display:block;width:100%;height:auto;border-radius:18px}
@media (max-width:760px){.ncdr-logo__image{width:210px;max-width:58vw}.cbs-visual--image img{border-radius:12px}}

/* image8: overlay the original Su'ao flood video on the upper-left panel */
.image8-media {
  position: relative;
  display: block;
  width: 100%;
}
.image8-media > img {
  display: block;
  width: 100%;
  height: auto;
}
.image8-video {
  position: absolute;
  left: 0.15%;
  top: 0.25%;
  width: 25.15%;
  height: 50.0%;
  z-index: 3;
  object-fit: cover;
  background: #000;
  border: 0;
}
@media (max-width: 720px) {
  .image8-video { controls: true; }
}

/* 2026-09-04: road closure cores in one horizontal row */
.core-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.core-list li { grid-template-columns:42px minmax(0,1fr); align-content:center; min-height:104px; }
@media (max-width: 820px) { .core-list { grid-template-columns:1fr; } .core-list li { min-height:0; } }

/* CBS artwork caption below the image */
.cbs-figure { margin:0; min-width:0; }
.cbs-figure .cbs-visual { width:100%; }
.cbs-figure figcaption { margin-top:10px; text-align:center; font-size:.88rem; line-height:1.55; color:rgba(255,255,255,.72); }
.cbs-figure figcaption a { color:var(--accent-soft); text-underline-offset:3px; }

/* Keep the short descriptions in the three road-closure core cards on one line. */
.core-list li span {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* 2026-09-18 content revision: comparison and rainfall data tables */
.story-question { margin-top: 26px; padding-left: 20px; border-left: 4px solid var(--accent); }
.story-question strong { display: inline-block; margin-bottom: 8px; color: var(--accent); font-family: Georgia, "Noto Serif TC", serif; font-size: 1.35rem; }

.flood-comparison { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: start; }
.flood-comparison__numbers h3 { margin: 0 0 24px; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.25; font-weight: 500; }

.table-wrap { width: 100%; overflow-x: auto; border-radius: 14px; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; min-width: 680px; background: rgba(255,255,255,.68); font-size: .92rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 13px 14px; border: 1px solid rgba(45,56,52,.16); text-align: center; vertical-align: middle; }
.data-table thead th { background: #e3dfd4; color: var(--ink); font-weight: 800; }
.data-table tbody th { text-align: left; background: rgba(255,255,255,.72); font-weight: 700; }
.data-table td { white-space: nowrap; }
.data-table--dark { min-width: 620px; color: #fff; background: rgba(255,255,255,.04); }
.data-table--dark th, .data-table--dark td { border-color: rgba(255,255,255,.16); }
.data-table--dark thead th { color: #fff; background: rgba(255,255,255,.14); }
.data-table--dark tbody th { color: #fff; background: rgba(255,255,255,.06); }
.data-table--dark tbody tr:nth-child(even) td { background: rgba(255,255,255,.035); }
.table-title { margin: 28px 0 12px; font-weight: 800; color: var(--ink); }
.table-title span { margin-left: 8px; font-size: .78rem; font-weight: 500; color: var(--muted); }
.table-title--spaced { margin-top: 34px; }
.cause-data-block { max-width: 920px; margin-top: 22px; }
.data-table--threshold { min-width: 740px; }
.road-warning-figure { margin: 24px 0 28px; max-width: 760px; }
.road-warning-figure .figure-button { background: rgba(255,255,255,.08); }

@media (max-width: 900px) {
  .flood-comparison { grid-template-columns: 1fr; }
  .data-table { font-size: .86rem; }
}

@media (max-width: 620px) {
  .flood-comparison__numbers { padding: 24px; }
  .data-table th, .data-table td { padding: 11px 10px; }
  .table-title span { display: block; margin: 5px 0 0; }
}

/* 2026-09-18 story-flow refinements */
.rainfall-panel--compact { margin-bottom: 82px; }
.rainfall-panel--compact .metric-row { margin-bottom: 26px; }
.rainfall-panel__bridge { max-width: 880px; margin: 0; font-size: 1.05rem; line-height: 1.9; color: var(--muted); }
.comparison-note { margin: 26px 0 0; padding: 18px 20px; border-left: 4px solid var(--accent); background: rgba(255,255,255,0.08); font-size: .98rem; line-height: 1.8; }
.resilience-framework { margin: 0 0 72px; padding: 34px; border-radius: var(--radius); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); }
.resilience-framework__lead { margin: 0 0 22px; max-width: 760px; color: rgba(255,255,255,0.82); font-size: 1.08rem; }
.resilience-framework__pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.resilience-framework__pillars > div { padding: 22px; border-radius: 16px; background: rgba(255,255,255,0.08); }
.resilience-framework__pillars strong { display: block; margin-bottom: 8px; color: var(--accent-soft); font-size: 1.16rem; }
.resilience-framework__pillars span { display: block; color: rgba(255,255,255,0.72); line-height: 1.65; }
.strategy-tag { display: inline-flex; align-items: center; margin: 0 0 10px !important; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--green) !important; font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
@media (max-width: 760px) {
  .resilience-framework { padding: 24px; margin-bottom: 52px; }
  .resilience-framework__pillars { grid-template-columns: 1fr; }
}

/* 0923 revisions */
.hero__split-captions{position:absolute;left:0;right:0;bottom:18px;z-index:3;display:grid;grid-template-columns:1fr 1fr;gap:24px;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.85);pointer-events:none}.hero__split-captions p{margin:0;padding:10px 18px;background:rgba(0,0,0,.48);font-size:.92rem;line-height:1.5}.hero__split-captions p:last-child{text-align:right}@media(max-width:720px){.hero__split-captions{grid-template-columns:1fr;gap:4px;bottom:8px}.hero__split-captions p,.hero__split-captions p:last-child{text-align:left;font-size:.76rem;padding:6px 10px}}
.alert-key{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.alert-key span{padding:7px 12px;border-radius:999px;font-weight:800}.alert-key .level1{background:#f8d7da;color:#8b1e26;border:2px solid #c9363e}.alert-key .level2{background:#fff3bf;color:#725b00;border:2px solid #e3b900}.threshold-hit{font-weight:800}.threshold-hit.level1{background:#f8d7da;color:#8b1e26}.threshold-hit.level2{background:#fff3bf;color:#725b00}.threshold-note{margin-top:12px;font-weight:700}.debris-alerts{margin-top:28px;padding:24px;border-radius:18px;background:rgba(255,255,255,.72)}.debris-alerts h4{margin-top:0;font-size:1.3rem}.debris-alert-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.debris-alert-step{padding:14px;border-radius:12px;background:#fff}.debris-alert-step strong,.debris-alert-step span{display:block}.debris-alert-step span{margin-top:7px;font-size:.9rem}.debris-legend{display:grid;grid-template-columns:1fr 1fr;gap:12px}.debris-legend div{padding:14px;border-radius:12px}.debris-legend .yellow{background:#fff3bf;border-left:6px solid #e3b900}.debris-legend .red{background:#f8d7da;border-left:6px solid #c9363e}@media(max-width:850px){.debris-alert-grid{grid-template-columns:1fr}.debris-legend{grid-template-columns:1fr}}
.extended-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.extended-links a{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-radius:12px;background:rgba(255,255,255,.1);color:inherit;text-decoration:none;font-weight:700}.extended-links a:hover{text-decoration:underline}@media(max-width:800px){.extended-links{grid-template-columns:1fr}}

/* 2026-10-13 editorial revisions */
.route-description, .route-alert-period { margin: 12px 0 0; line-height: 1.8; }
.route-alert-period { font-size: .9rem; }
.comparison-subtitle { margin: 14px 0 10px; font-size: 1.22rem; }
.comparison-explanation { line-height: 1.9; margin: 0 0 20px; }
.memory-typhoon-label { color: var(--accent-soft); font-size: 1.18rem; letter-spacing: .08em; }

/* 2026-10-13: enlarge requested section labels to section-heading scale. */
.memory-typhoon-label, .enlarged-section-label { font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.25; font-weight: 600; letter-spacing: .02em; }
.memory-typhoon-label { color: var(--accent-soft); }
