:root {
  --green-950: #0d2f24;
  --green-900: #12372a;
  --green-800: #1c4a39;
  --green-100: #e8eee8;
  --cream: #f7f4ed;
  --white: #fffef9;
  --ink: #17221d;
  --muted: #65736a;
  --line: rgba(18, 55, 42, 0.14);
  --line-strong: rgba(18, 55, 42, 0.24);
  --gold: #b69a5b;
  --red: #8b3a34;
  --shadow: 0 18px 50px rgba(18, 55, 42, 0.08);
  --shadow-hover: 0 24px 70px rgba(18, 55, 42, 0.12);
  --radius: 18px;
  --container: 1180px;
  --section: 96px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 254, 249, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 254, 249, 0.98);
  box-shadow: 0 10px 26px rgba(18, 55, 42, 0.08);
}

.utility-bar {
  color: rgba(255, 254, 249, 0.88);
  background: var(--green-950);
  font-size: 0.82rem;
}

.utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-inner span {
  color: #dce8df;
  font-weight: 750;
}

.utility-inner strong {
  font-weight: 650;
}

.nav-shell {
  width: min(var(--container), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-950);
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.12;
  font-weight: 850;
}

.brand small {
  display: block;
  max-width: 310px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

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

.nav-links a {
  padding: 10px 11px;
  color: #334a40;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green-950);
  background: var(--green-100);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-950);
}

.section-block {
  padding: var(--section) 0;
}

.subtle-bg,
.report-section,
.test-section,
.gallery-section {
  background: var(--white);
}

.hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: 88px 0;
  background:
    linear-gradient(90deg, rgba(247, 244, 237, 0.98), rgba(247, 244, 237, 0.86)),
    radial-gradient(circle at 86% 22%, rgba(18, 55, 42, 0.12), transparent 30rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 64px;
  align-items: center;
}

.hero-emblem {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--green-950);
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  line-height: 1.03;
  font-weight: 900;
}

.hero-en {
  margin-bottom: 24px;
  color: var(--green-800);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-lead {
  margin-bottom: 12px;
  color: #273f34;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 780;
}

.hero-text,
.section-lead {
  color: #4e5f55;
  font-size: 1.07rem;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-actions,
.choice-row,
.cert-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(18, 55, 42, 0.12);
}

.btn-primary {
  color: var(--white);
  background: var(--green-900);
  border-color: var(--green-900);
}

.btn-secondary {
  color: var(--green-950);
  background: var(--white);
  border-color: var(--line-strong);
}

.hero-visual,
.image-panel,
.metric-card,
.mission-list article,
.report-card,
.announcement-panel,
.declaration-card,
.case-feature,
.case-card,
.quiz-question,
.quiz-result,
.poster-card,
.certificate {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 249, 0.92);
  box-shadow: var(--shadow);
}

.hero-visual {
  margin: 0;
  padding: 16px;
}

.hero-visual img,
.image-panel img,
.case-feature img {
  width: 100%;
  border-radius: 14px;
  background: var(--green-100);
}

.hero-visual figcaption {
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.metrics-section {
  padding: 64px 0;
  background: var(--green-950);
}

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

.metric-card {
  padding: 26px;
  background: rgba(255, 254, 249, 0.08);
  border-color: rgba(255, 254, 249, 0.14);
  box-shadow: none;
}

.metric-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 900;
}

.metric-card p {
  margin-bottom: 0;
  color: rgba(255, 254, 249, 0.74);
  font-weight: 650;
}

.split-layout,
.report-layout,
.join-layout,
.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1fr);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-copy h2,
.section-heading h2,
.report-card h2 {
  margin-bottom: 16px;
  color: var(--green-950);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.14;
  font-weight: 880;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.mission-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.mission-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  padding: 22px;
}

.mission-list span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-weight: 800;
}

.mission-list h3,
.case-card h3,
.poster-meta h3,
.announcement-panel h3 {
  color: var(--green-950);
}

.mission-list h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.mission-list p,
.case-card p,
.case-feature p,
.report-card p,
.quiz-result p,
#cert-body {
  margin-bottom: 0;
  color: var(--muted);
}

.image-panel {
  padding: 16px;
}

.info-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.info-list p {
  margin-bottom: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--green-900);
  background: var(--white);
}

.report-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
}

.report-card,
.announcement-panel {
  padding: 30px;
}

.report-card {
  color: var(--white);
  background: var(--green-950);
}

.report-card h2,
.report-card .eyebrow {
  color: var(--white);
}

.report-card p {
  color: rgba(255, 254, 249, 0.76);
}

.report-card .btn-primary {
  color: var(--green-950);
  background: var(--white);
  border-color: rgba(255, 254, 249, 0.70);
}

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

.panel-heading span,
.announcement-panel time,
.case-number,
.poster-meta span,
.cert-kicker {
  color: var(--green-800);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.announcement-panel h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.announcement-panel article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.announcement-panel article:last-child {
  border-bottom: 0;
}

.announcement-panel h4 {
  margin: 6px 0 0;
  color: #2e4438;
  font-size: 1rem;
  line-height: 1.45;
}

.declaration {
  background: var(--green-950);
}

.declaration .section-heading h2,
.declaration .section-heading p {
  color: var(--white);
}

.declaration .eyebrow {
  color: #cddbd2;
}

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

.declaration-card {
  padding: 26px;
  background: rgba(255, 254, 249, 0.08);
  border-color: rgba(255, 254, 249, 0.14);
  box-shadow: none;
}

.declaration-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: #d7c690;
  font-weight: 800;
}

.declaration-card p {
  margin-bottom: 0;
  color: rgba(255, 254, 249, 0.84);
}

.case-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px;
}

.case-feature div {
  padding: 12px 14px;
}

.case-feature h3 {
  margin: 10px 0 12px;
  color: var(--green-950);
  font-size: clamp(1.55rem, 2.5vw, 2.5rem);
  line-height: 1.18;
}

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

.case-card {
  min-height: 240px;
  padding: 26px;
}

.case-card h3 {
  margin: 12px 0;
  font-size: 1.18rem;
  line-height: 1.35;
}

.quiz-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: start;
  gap: 24px;
}

.quiz-form {
  display: grid;
  gap: 14px;
}

.quiz-question {
  margin: 0;
  padding: 22px;
}

.quiz-question legend {
  margin-bottom: 14px;
  color: var(--green-950);
  font-size: 1.04rem;
  font-weight: 780;
}

.choice-row label {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 14px;
  color: #40564a;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 160ms ease, background 160ms ease;
}

.choice-row label:hover {
  border-color: var(--line-strong);
}

.choice-row label:has(input:checked) {
  border-color: var(--green-900);
  background: var(--green-100);
}

.choice-row input {
  accent-color: var(--green-900);
}

.quiz-submit {
  justify-self: start;
}

.quiz-result {
  position: sticky;
  top: 124px;
  padding: 30px;
}

.result-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 12px;
  color: var(--green-950);
  background: var(--green-100);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.quiz-result h3 {
  margin-bottom: 16px;
  color: var(--green-950);
  font-size: 1.65rem;
  line-height: 1.22;
}

.meter {
  height: 12px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 55, 42, 0.10);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9bb59e, var(--gold), var(--red));
  transition: width 280ms ease;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.poster-card {
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.poster-card:hover,
.poster-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
  outline: none;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--green-100);
  border-bottom: 1px solid var(--line);
}

.poster-meta {
  padding: 20px;
}

.poster-meta h3 {
  margin: 8px 0 8px;
  font-size: 1.12rem;
  line-height: 1.35;
}

.poster-meta p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.join-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
}

.certificate {
  position: relative;
  min-height: 430px;
  padding: 42px;
  overflow: hidden;
  border: 6px double rgba(182, 154, 91, 0.42);
  background: linear-gradient(135deg, var(--white), #f5efe1);
}

.certificate::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(18, 55, 42, 0.16);
  border-radius: 12px;
  pointer-events: none;
}

.cert-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--green-950);
  font-size: 0.82rem;
  font-weight: 850;
}

.cert-topline img {
  width: 38px;
  height: 38px;
}

.cert-seal {
  position: absolute;
  right: 42px;
  top: 42px;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  color: var(--red);
  border: 3px double var(--red);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 850;
  transform: rotate(-8deg);
}

.certificate h3 {
  max-width: 460px;
  margin-bottom: 18px;
  color: var(--green-950);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.18;
}

.cert-title {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  color: var(--white);
  background: var(--green-900);
  border-radius: 999px;
  font-weight: 850;
}

#cert-body {
  max-width: 560px;
}

.cert-footer {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 32px;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(13, 47, 36, 0.78);
  backdrop-filter: blur(8px);
}

.poster-modal.is-open {
  display: flex;
}

.modal-content {
  width: min(560px, 92vw);
  max-height: 90vh;
  text-align: center;
}

.modal-content img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border: 1px solid rgba(255, 254, 249, 0.42);
  border-radius: 14px;
  background: var(--cream);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.24);
}

.modal-content p {
  margin: 12px 0 0;
  color: var(--white);
  font-weight: 800;
}

.modal-close {
  position: absolute;
  right: 24px;
  top: 20px;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: rgba(13, 47, 36, 0.70);
  border: 1px solid rgba(255, 254, 249, 0.36);
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 120;
  max-width: min(460px, calc(100% - 32px));
  padding: 14px 18px;
  color: var(--white);
  background: var(--green-950);
  border: 1px solid rgba(255, 254, 249, 0.18);
  border-radius: 999px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  font-weight: 750;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  padding: 44px 0;
  color: var(--white);
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 850;
}

.site-footer .brand-logo {
  width: 42px;
  height: 42px;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-note {
  color: rgba(255, 254, 249, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  :root {
    --section: 82px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .hero-grid,
  .split-layout,
  .split-layout.reverse,
  .report-layout,
  .join-layout,
  .quiz-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .image-panel {
    max-width: 760px;
    margin-inline: auto;
  }

  .metric-grid,
  .declaration-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz-result {
    position: static;
  }
}

@media (max-width: 760px) {
  .container,
  .nav-shell {
    width: min(100% - 28px, var(--container));
  }

  .utility-inner {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 8px 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 64px 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .metric-grid,
  .declaration-grid,
  .case-grid,
  .poster-grid {
    grid-template-columns: 1fr;
  }

  .case-feature {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mission-list article {
    grid-template-columns: 1fr;
  }

  .panel-heading {
    display: block;
  }

  .certificate {
    min-height: 560px;
    padding: 30px;
  }

  .cert-seal {
    position: static;
    margin-left: auto;
    margin-bottom: 18px;
  }

  .cert-footer {
    left: 30px;
    right: 30px;
    bottom: 26px;
  }

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