:root {
  --blue: #1a2a4a;
  --blue-deep: #102039;
  --orange: #e8751a;
  --red: #c72a2a;
  --text: #333333;
  --muted: #888888;
  --line: #e2e5ea;
  --soft: #f7f8fa;
  --footer: #f0f1f3;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(26, 42, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    "Source Han Sans SC",
    sans-serif;
  background: var(--white);
  font-size: 16px;
  line-height: 1.8;
}

body::selection {
  background: rgba(232, 117, 26, 0.22);
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(226, 229, 234, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.logo {
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #444444;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: 60vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 6vw, 86px) 58px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 18, 32, 0.88), rgba(10, 18, 32, 0.5) 58%, rgba(10, 18, 32, 0.28)),
    url("assets/typhoon-hero.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.52));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  animation: fadeIn 0.8s ease both;
}

.kicker {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 700;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--white);
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 760px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  font-weight: 400;
}

.hero-data {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  max-width: 900px;
}

.data-card {
  min-height: 112px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.data-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.data-card strong {
  display: block;
  color: var(--white);
  font-size: 32px;
  line-height: 1.1;
}

.data-card span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.hero-note {
  max-width: 820px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  width: min(1160px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(232, 117, 26, 0.22);
  border-radius: 12px;
  background: #fff8f1;
}

.notice strong {
  color: var(--orange);
  font-size: 15px;
}

.notice p {
  margin: 0;
  color: #5b5b5b;
  font-size: 14px;
  line-height: 1.7;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 92px auto 0;
  scroll-margin-top: 90px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading span {
  display: inline-flex;
  color: var(--orange);
  font-size: 14px;
  font-weight: 850;
}

.section-heading h2 {
  margin: 8px 0 10px;
  color: var(--blue);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: #666666;
  font-size: 17px;
}

.archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(360px, 0.4fr);
  gap: 34px;
  align-items: start;
}

.archive-text,
.schematic-card,
.impact-detail,
.timeline,
.knowledge-section .tab-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.archive-text {
  padding: 26px 30px;
}

.fact-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.fact-list div {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.fact-list div:last-child {
  border-bottom: 0;
}

.fact-list dt {
  color: var(--blue);
  font-size: 16px;
  font-weight: 850;
}

.fact-list dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

mark {
  color: var(--orange);
  background: transparent;
  font-weight: 850;
}

.callout {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  background: var(--soft);
}

.callout strong {
  color: var(--blue);
}

.callout p {
  margin: 6px 0 0;
  color: #555555;
  font-size: 14px;
}

.schematic-card {
  padding: 18px;
  background: #fbfcfe;
}

.schematic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.schematic-head h3 {
  margin: 0;
  color: var(--blue);
  font-size: 18px;
}

.radius-tabs {
  display: flex;
  gap: 6px;
}

.radius-btn {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #555555;
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.radius-btn.active {
  border-color: var(--orange);
  color: var(--white);
  background: var(--orange);
}

.path-graphic {
  display: block;
  width: 100%;
  height: auto;
}

.graphic-bg {
  fill: #f1f3f6;
}

.abstract-grid {
  fill: none;
  stroke: rgba(26, 42, 74, 0.06);
  stroke-width: 1;
}

.abstract-coast {
  fill: none;
  stroke: rgba(26, 42, 74, 0.22);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 9 10;
}

.wind-circle {
  fill: rgba(232, 117, 26, 0.12);
  stroke: rgba(232, 117, 26, 0.45);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  transition: r 0.25s ease;
}

.storm-path {
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  stroke-linecap: round;
}

.path-arrow {
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.area-label text {
  fill: var(--blue);
  font-size: 14px;
  font-weight: 850;
}

.path-node {
  cursor: pointer;
}

.path-node circle {
  fill: var(--orange);
  stroke: var(--white);
  stroke-width: 3;
  transition: r 0.2s ease;
}

.path-node:hover circle,
.path-node:focus circle {
  r: 11;
}

.wind-label {
  fill: #666666;
  font-size: 13px;
  font-weight: 750;
}

.path-info {
  min-height: 92px;
  margin-top: 14px;
  padding: 15px 16px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.path-info strong {
  color: var(--blue);
}

.path-info p {
  margin: 5px 0 0;
  color: #666666;
  font-size: 14px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px auto 22px;
}

.impact-tag {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(26, 42, 74, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.impact-tag:hover,
.impact-tag.active {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(26, 42, 74, 0.16);
}

.impact-tag.red {
  background: var(--red);
}

.impact-tag.orange {
  background: var(--orange);
}

.impact-tag.yellow {
  color: #5f3b00;
  background: #f2c94c;
}

.impact-detail {
  max-width: 860px;
  min-height: 100px;
  margin: 0 auto;
  padding: 20px 24px;
  text-align: center;
}

.impact-detail strong {
  color: var(--blue);
  font-size: 18px;
}

.impact-detail p {
  margin: 8px 0 0;
  color: #555555;
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.impact-metrics article {
  min-height: 116px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--soft);
}

.impact-metrics strong {
  display: block;
  color: var(--orange);
  font-size: 28px;
  line-height: 1.15;
}

.impact-metrics span {
  display: block;
  margin-top: 10px;
  color: #666666;
  font-size: 14px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding: 18px 0;
}

.timeline::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 50%;
  width: 2px;
  background: #cccccc;
  content: "";
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 110px;
  padding: 0 28px;
}

.timeline-item::before {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(232, 117, 26, 0.14);
  content: "";
  transform: translate(-50%, -50%);
}

.timeline-trigger {
  display: grid;
  gap: 5px;
  width: calc(100% - 36px);
  margin-bottom: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 24px rgba(26, 42, 74, 0.08);
}

.timeline-item:nth-child(odd) .timeline-trigger,
.timeline-item:nth-child(odd) .timeline-detail {
  grid-column: 1;
  justify-self: end;
}

.timeline-item:nth-child(even) .timeline-trigger,
.timeline-item:nth-child(even) .timeline-detail {
  grid-column: 2;
  justify-self: start;
}

.timeline-trigger .date {
  color: var(--blue);
  font-size: 16px;
  font-weight: 850;
}

.timeline-trigger strong {
  color: #444444;
  font-size: 15px;
}

.timeline-detail {
  width: calc(100% - 36px);
  max-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
  transition: max-height 0.25s ease;
}

.timeline-item.open .timeline-detail {
  max-height: 440px;
}

.timeline-detail > * {
  margin: 0;
  padding: 16px 18px;
  color: #555555;
  font-size: 14px;
  line-height: 1.7;
}

.timeline-detail ul {
  padding-left: 34px;
}

.knowledge-section {
  margin-bottom: 94px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.tab-btn {
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #555555;
  background: var(--soft);
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
}

.tab-btn.active {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.tab-panel {
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
}

.knowledge-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease;
}

.knowledge-item:hover {
  background: #fbfcfe;
}

.knowledge-item:last-child {
  border-bottom: 0;
}

.knowledge-item > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #eef2f8;
  font-size: 22px;
}

.knowledge-item h3 {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 16px;
}

.knowledge-item p {
  margin: 0;
  color: #555555;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding: 48px clamp(20px, 6vw, 86px);
  background: var(--footer);
  color: #666666;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 18px;
}

.site-footer ul {
  margin: 0;
  padding-left: 18px;
}

.site-footer li,
.site-footer p {
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--blue);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .site-nav {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-links {
    gap: 16px;
    overflow-x: auto;
    width: 100%;
  }

  .hero {
    padding-top: 136px;
  }

  .archive-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 58px;
  }

  .timeline-item::before {
    left: 24px;
  }

  .timeline-item:nth-child(odd) .timeline-trigger,
  .timeline-item:nth-child(odd) .timeline-detail,
  .timeline-item:nth-child(even) .timeline-trigger,
  .timeline-item:nth-child(even) .timeline-detail {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-data,
  .impact-metrics {
    grid-template-columns: 1fr;
  }

  .notice,
  .fact-list div {
    grid-template-columns: 1fr;
  }

  .section {
    margin-top: 76px;
  }

  .tabs {
    flex-direction: column;
  }

  .schematic-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .radius-tabs {
    flex-wrap: wrap;
  }
}
