:root {
  --red: #c8102e;
  --red-dark: #a50d25;
  --ink: #202124;
  --muted: #62666b;
  --line: #dfe1e3;
  --mist: #f2f3f4;
  --white: #fff;
  --dark: #17191c;
  --radius: 3px;
  --shadow: 0 18px 48px rgba(22, 25, 28, .12);
  --shell: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif; font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #f6bdc7; outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .65em; color: var(--ink); font-family: Georgia, "Noto Serif TC", serif; font-weight: 700; line-height: 1.08; letter-spacing: -.025em; overflow-wrap: normal; }
h1 { font-size: clamp(2.8rem, 6vw, 5.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
p { margin: 0 0 1.2em; }
.shell { width: var(--shell); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10000; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 16px; color: var(--white); background: var(--dark); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .98); }
.site-header__inner { display: flex; width: var(--shell); min-height: 82px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; align-items: baseline; color: var(--ink); font-size: 1.3rem; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.site-brand strong { color: var(--red); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); font-size: .88rem; font-weight: 700; letter-spacing: .03em; }
.site-nav > a:not(.button) { position: relative; text-decoration: none; }
.site-nav > a:not(.button)::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; background: var(--red); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); }
.site-nav .language-link { padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.button { display: inline-flex; min-height: 50px; padding: 13px 25px; align-items: center; justify-content: center; border: 1px solid var(--red); border-radius: var(--radius); color: var(--white); background: var(--red); font-size: .82rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-decoration: none; text-transform: uppercase; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { border-color: var(--red-dark); color: var(--white); background: var(--red-dark); transform: translateY(-1px); }
.button--small { min-height: 42px; padding: 10px 18px; }
.button--light { border-color: var(--white); color: var(--red); background: var(--white); }
.button--light:hover { color: var(--red); background: #f9e9ec; }
.button--disabled { border-color: rgba(255, 255, 255, .5); color: rgba(255, 255, 255, .8); background: transparent; cursor: not-allowed; }
.button--disabled:hover { border-color: rgba(255, 255, 255, .5); color: rgba(255, 255, 255, .8); background: transparent; transform: none; }
.text-link { color: var(--red); font-size: .88rem; font-weight: 800; letter-spacing: .02em; }
.kicker { margin: 0 0 16px; color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.kicker--light { color: #ffcad3; }

.home-hero { position: relative; display: grid; min-height: clamp(620px, 72vh, 820px); overflow: hidden; background: var(--dark) var(--hero-image) center / cover no-repeat; isolation: isolate; }
.home-hero__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 18, .9) 0%, rgba(10, 14, 18, .7) 44%, rgba(10, 14, 18, .08) 78%); }
.home-hero__content { display: flex; max-width: 1240px; padding-block: 105px 90px; align-self: end; flex-direction: column; align-items: flex-start; }
.home-hero h1 { max-width: 840px; margin-bottom: 22px; color: var(--white); font-size: clamp(3rem, 6.5vw, 6.35rem); }
.home-hero__summary { max-width: 720px; color: rgba(255, 255, 255, .9); font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.55; }
.home-hero__updated { margin-bottom: 30px; color: rgba(255, 255, 255, .68); font-size: .82rem; font-weight: 700; letter-spacing: .04em; }

.section { padding-block: clamp(78px, 9vw, 132px); }
.section--mist { background: var(--mist); }
.section-heading { display: flex; margin-bottom: 46px; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin-bottom: 0; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.event-card { min-width: 0; border: 1px solid var(--line); background: var(--white); transition: box-shadow .22s ease, transform .22s ease; }
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.event-card__image { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #d5d8db; }
.event-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.event-card:hover .event-card__image img { transform: scale(1.025); }
.event-card__body { padding: 28px; }
.event-card__body h3 { margin-bottom: 14px; }
.event-card__body h3 a { text-decoration: none; }
.event-card__body > p:not(.event-card__eyebrow, .event-card__updated) { color: var(--muted); font-size: .96rem; }
.event-card__eyebrow { margin-bottom: 10px; color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.event-card__updated { margin-bottom: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; font-weight: 700; }
.empty-state { grid-column: 1 / -1; padding: 44px; border: 1px solid var(--line); color: var(--muted); text-align: center; }

.updates-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 120px); align-items: start; }
.updates-layout > div > p:not(.kicker) { max-width: 470px; color: var(--muted); }
.update-list { margin: 0; padding: 0; border-top: 1px solid #cfd2d5; list-style: none; }
.update-list li { border-bottom: 1px solid #cfd2d5; }
.update-list a { display: grid; padding: 23px 4px; grid-template-columns: minmax(100px, .6fr) minmax(0, 1.8fr) auto; gap: 18px; align-items: baseline; text-decoration: none; }
.update-list span, .update-list time { color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.update-list strong { font-family: Georgia, "Noto Serif TC", serif; font-size: 1.08rem; }
.about-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.about-band p:not(.kicker) { color: var(--muted); font-size: 1.12rem; }

.donation-band { padding-block: clamp(70px, 8vw, 108px); color: var(--white); background: var(--red); }
.donation-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.donation-band h2 { margin-bottom: 18px; color: var(--white); }
.donation-band p:not(.kicker) { max-width: 720px; margin-bottom: 0; color: rgba(255, 255, 255, .86); }
.donation-band .kicker { color: #ffe3e8; }

.page-hero { padding-block: clamp(82px, 9vw, 140px); border-bottom: 1px solid var(--line); background: linear-gradient(120deg, #f6f6f6, #fff 65%); }
.page-hero--compact { padding-block: clamp(70px, 7vw, 110px); }
.page-hero__inner > p:not(.kicker) { max-width: 700px; color: var(--muted); font-size: 1.18rem; }
.status-legend { display: flex; margin-bottom: 42px; gap: 24px; color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.status-legend span { display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #798087; }
.dot--active { background: var(--red); }
.dot--monitoring { background: #d48c00; }
.dot--closed { background: #6b737a; }
.navigation.pagination { margin-top: 50px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { display: grid; min-width: 42px; height: 42px; padding: 5px; border: 1px solid var(--line); place-items: center; text-decoration: none; }
.page-numbers.current { border-color: var(--red); color: var(--white); background: var(--red); }

.emergency-header { padding-block: clamp(75px, 8vw, 125px); background: var(--mist); }
.emergency-header__inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr); gap: clamp(50px, 8vw, 115px); align-items: end; }
.emergency-header h1 { max-width: 900px; font-size: clamp(2.8rem, 6vw, 5.5rem); }
.emergency-header__lead { max-width: 790px; margin-bottom: 0; color: #4f5459; font-size: clamp(1.08rem, 1.8vw, 1.35rem); }
.status-pill { display: inline-flex; margin-right: 9px; padding: 4px 9px; border: 1px solid currentColor; border-radius: 99px; color: var(--red); font-size: .66rem; letter-spacing: .1em; }
.status-pill--monitoring { color: #9a6500; }
.status-pill--closed { color: #6b737a; }
.event-meta { margin: 0; border-top: 1px solid #cfd2d5; }
.event-meta > div { padding: 16px 0; border-bottom: 1px solid #cfd2d5; }
.event-meta dt { color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.event-meta dd { margin: 3px 0 0; font-size: .92rem; font-weight: 700; }
.emergency-image { width: min(1440px, 100%); margin: 0 auto; background: var(--dark); }
.emergency-image img { width: 100%; max-height: 720px; object-fit: cover; }
.translation-notice { display: flex; margin-top: 40px; padding: 18px 22px; border-left: 4px solid #d48c00; gap: 15px; background: #fff5db; }

.article-shell { width: min(820px, calc(100% - 48px)); margin-inline: auto; padding-block: clamp(70px, 8vw, 120px); }
.article-prose { color: #33373b; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.85; }
.article-prose > *:first-child { margin-top: 0; }
.article-prose h2 { margin-top: 2.2em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.article-prose a, .sources a { color: var(--red); }
.article-section { margin-top: 70px; padding-top: 55px; border-top: 1px solid var(--line); }
.article-section h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); }
.figure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.figure-grid > div { min-width: 0; padding: 27px 23px; border-top: 4px solid var(--red); background: var(--mist); }
.figure-grid strong { display: block; margin-bottom: 6px; color: var(--red); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.figure-grid span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.timeline { margin: 30px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; padding: 0 0 34px 32px; grid-template-columns: 125px 1fr; gap: 20px; border-left: 1px solid #c6c9cc; }
.timeline li::before { position: absolute; top: 5px; left: -6px; width: 11px; height: 11px; border: 2px solid var(--red); border-radius: 50%; background: var(--white); content: ""; }
.timeline time { color: var(--red); font-size: .78rem; font-weight: 900; }
.timeline p { margin: 0; }
.sources > p { color: var(--muted); }
.sources ul { margin: 25px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.sources li { display: flex; padding: 16px 0; border-bottom: 1px solid var(--line); justify-content: space-between; gap: 20px; }
.sources li span { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.page-content { min-height: 440px; }
.not-found { min-height: 65vh; padding-block: 120px; text-align: center; }
.not-found p:not(.kicker) { color: var(--muted); }

.site-footer { padding: 72px 0 26px; color: rgba(255, 255, 255, .65); background: var(--dark); }
.site-footer__grid { display: grid; width: var(--shell); margin-inline: auto; grid-template-columns: 1.5fr .5fr; gap: 70px; }
.site-brand--footer { margin-bottom: 20px; color: var(--white); }
.site-brand--footer strong { color: #ff5a71; }
.site-footer__grid > div p { max-width: 620px; font-size: .85rem; }
.site-footer nav { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.site-footer nav a { color: rgba(255, 255, 255, .8); font-size: .85rem; text-decoration: none; }
.site-footer__bottom { display: flex; width: var(--shell); margin: 55px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); justify-content: space-between; gap: 30px; font-size: .7rem; letter-spacing: .04em; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 82px; right: 0; left: 0; display: none; padding: 24px; border-bottom: 1px solid var(--line); align-items: stretch; flex-direction: column; gap: 0; background: var(--white); box-shadow: 0 15px 25px rgba(0, 0, 0, .08); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 13px 0; }
  .site-nav .language-link { margin-top: 8px; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .site-nav .button { margin-top: 12px; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .updates-layout, .emergency-header__inner { grid-template-columns: 1fr; }
  .emergency-header__inner { gap: 45px; }
  .event-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .event-meta > div { padding-right: 15px; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 32px, 1240px); }
  body { font-size: 16px; }
  .site-header__inner { min-height: 70px; }
  .site-nav { top: 70px; }
  .home-hero { min-height: 650px; background-position: 60% center; }
  .home-hero__shade { background: linear-gradient(0deg, rgba(10, 14, 18, .92) 0%, rgba(10, 14, 18, .7) 58%, rgba(10, 14, 18, .3) 100%); }
  .home-hero__content { padding-block: 80px 55px; }
  .home-hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .section-heading, .donation-band__inner { align-items: flex-start; flex-direction: column; }
  .event-grid { grid-template-columns: 1fr; }
  .event-card__body { padding: 24px; }
  .update-list a { grid-template-columns: 1fr auto; }
  .update-list strong { grid-column: 1 / -1; grid-row: 2; }
  .update-list time { grid-column: 2; grid-row: 1; }
  .about-band, .site-footer__grid { grid-template-columns: 1fr; gap: 35px; }
  .event-meta { grid-template-columns: 1fr; }
  .emergency-image { width: 100%; }
  .emergency-image img { min-height: 300px; object-fit: cover; }
  .article-shell { width: min(100% - 32px, 820px); }
  .figure-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .sources li, .translation-notice, .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .site-footer__bottom { gap: 8px; }
}

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