@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #12a19b;
  --teal-deep: #0e8b86;
  --orange: #ffbd59;
  --orange-deep: #f0a93a;
  --blue: #2daae2;
  --blue-deep: #1b97d0;
  --mist: #e1f8f7;
  --ink: #111111;
  --text: #24312f;
  --muted: #5c6b68;
  --line: #e4eeec;
  --paper: #f7f6f3;
  --white: #fff;
  --content: 1160px;
  --header: 132px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

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

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

button, input, select { font: inherit; color: inherit; }

h1, h2, h3, .display {
  font-family: "Archivo Black", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--orange);
  color: var(--ink);
  border-radius: 8px;
}

.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.header-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "brand tools tools"
    "nav nav lang";
  align-items: center;
  column-gap: 16px;
  min-height: 82px;
  padding-top: 16px;
}

.header-shell .brand { grid-area: brand; }
.header-shell .util-tools { grid-area: tools; justify-self: end; margin-left: 0; }
.header-shell .nav-toggle { display: none; }
.header-shell .nav-row { grid-area: nav; width: auto; margin: 0; }
.header-shell .lang-toggle { grid-area: lang; justify-self: end; margin: 0 0 10px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-size: 18px;
  line-height: 1.15;
  white-space: nowrap;
}

.util-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 12px;
  margin-left: auto;
  min-width: 0;
}


.brand-tag {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: "Open Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.util-search {
  display: flex;
  align-items: center;
  flex: 1 1 180px;
  width: min(280px, 100%);
  max-width: 300px;
  height: 46px;
  padding: 0 6px 0 16px;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  background: #fff;
}

.util-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.util-search button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--teal-deep);
  cursor: pointer;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.util-actions, .hero-actions, .inline-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}

.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--orange-deep); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: #d5dfdd;
}
.btn-outline:hover { border-color: var(--teal); }

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #d5dfdd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 0 0 10px;
}

.lang-toggle {
  min-height: 44px;
  margin-left: 8px;
  padding: 8px 12px;
  border: 1px solid #d5dfdd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.lang-toggle:hover { border-color: var(--teal); }

.nav-item { position: relative; }

.nav-link, .nav-item > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.nav-link[aria-current="page"], .nav-item > button[aria-current="page"] {
  color: var(--teal-deep);
  box-shadow: inset 0 -2px 0 var(--teal);
}

.dropdown, .flyout {
  position: absolute;
  z-index: 50;
  min-width: 230px;
  padding: 8px 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(16, 40, 38, 0.14);
}

.dropdown { top: calc(100% - 4px); right: 0; display: none; }
.flyout { top: 0; left: calc(100% - 6px); display: none; }

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.is-open > .dropdown,
.drop-item:hover > .flyout,
.drop-item:focus-within > .flyout,
.drop-item.is-open > .flyout { display: block; }

.dropdown a, .flyout a, .drop-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 8px 16px;
  color: var(--ink);
  font-weight: 600;
}

.dropdown a:hover, .flyout a:hover, .drop-parent:hover { background: var(--mist); }

.hero { position: relative; background: var(--teal); overflow: hidden; }

.hero-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.hero-slide.is-active { display: grid; }
.hero-slide[hidden] { display: none !important; }

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 96px 64px max(24px, calc((100vw - var(--content)) / 2));
}

.kicker, .crumbs {
  margin: 0 0 12px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.crumbs a:hover { text-decoration: underline; }

.hero-copy h1, .banner-copy h1 {
  margin: 0;
  font-size: clamp(36px, 3.6vw, 58px);
  text-wrap: balance;
}

.hero-copy p, .banner-lead {
  max-width: 36em;
  margin: 16px 0 0;
  color: #1a2422;
  font-size: 18px;
}

.hero-actions { margin-top: 26px; }

.hero-media, .banner-media { position: relative; min-height: 280px; }

.hero-media img, .banner-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.seam, .seam-h { pointer-events: none; }

.seam {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: calc(50% - 28px);
  width: min(46%, 520px);
  height: 100%;
}

.seam-h {
  display: none;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 46px;
}

.hero-arrows {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100vw - var(--content)) / 2));
  bottom: 28px;
  display: flex;
  gap: 10px;
}

.hero-arrows button, .icon-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.hero-arrows svg, .icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.statement {
  position: relative;
  padding: 92px 0 28px;
  overflow: hidden;
}

.statement h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  text-wrap: balance;
}

.flourish {
  position: absolute;
  top: 24px;
  width: 180px;
  height: 220px;
  pointer-events: none;
}

.flourish-left { left: 0; }
.flourish-right { right: 0; }

.section { padding: 72px 0; }
.section-tight { padding-top: 24px; }

.display-title {
  margin: 0 0 28px;
  font-size: clamp(32px, 4vw, 46px);
  text-align: center;
}

.help-grid, .ways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.help-card, .event-card, .news-card, .story-card {
  background: var(--teal);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.help-card img, .event-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 22%; }

.help-body, .event-body { padding: 22px 22px 24px; }

.help-body h2, .event-body h2, .news-copy h2, .story-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2vw, 32px);
}

.help-body p, .event-body p, .news-copy p, .story-copy p {
  margin: 10px 0 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.story-card {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 360px;
}

.story-card.is-active { display: grid; }
.story-card[hidden] { display: none !important; }

.story-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; min-height: 280px; }

.story-copy, .news-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
}

.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }

.dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d5d3;
  cursor: pointer;
}

.dots button[aria-selected="true"] { background: var(--teal); }

.impact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 460px;
  background: var(--teal);
  color: #fff;
  overflow: hidden;
}

.impact-media { position: relative; z-index: 0; min-height: 320px; }
.impact-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

.impact-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: -28px;
  width: 56px;
  height: 100%;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
}

.impact-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 8vw 48px 64px;
}
.impact-copy h2 { margin: 0 0 18px; color: #fff; font-size: clamp(32px, 3vw, 44px); }
.impact-copy li { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.impact-copy ul { margin: 0 0 22px; padding-left: 1.2em; }

.ways-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 240px;
  background: var(--mist);
  border-radius: 16px;
  overflow: hidden;
}

.ways-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; min-height: 180px; }
.ways-card div { padding: 28px; }
.ways-card h2 { margin: 0 0 8px; font-size: 28px; }
.ways-card p { margin: 0 0 16px; }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.center { display: flex; justify-content: center; margin-top: 28px; }

.news-list { display: grid; gap: 24px; }

.news-card { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 280px; }

.news-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; min-height: 220px; }

.app-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  background: var(--blue);
  color: var(--ink);
}

.app-copy { padding: 56px max(24px, calc((100vw - var(--content)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.app-copy h2 { margin: 0 0 12px; font-size: clamp(32px, 3vw, 46px); }
.app-copy p { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.app-media { position: relative; min-height: 260px; }
.app-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

.site-footer { background: var(--teal); color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1.2fr;
  gap: 28px;
  padding: 48px 0 28px;
}
.footer-grid h2 { margin: 0 0 12px; color: var(--orange); font-size: 20px; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 8px; color: #fff; font-weight: 600; }
.footer-grid a:hover { text-decoration: underline; }
.footer-base { padding: 18px 0 28px; text-align: center; border-top: 1px solid rgba(255,255,255,.25); }
.footer-base p { margin: 0 0 6px; }
.record { margin: 0; padding: 16px; text-align: center; color: #6d7c79; background: #fff; }

.banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 340px;
  background: var(--teal);
  overflow: hidden;
}

.banner-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 88px 56px max(24px, calc((100vw - var(--content)) / 2));
}

.prose { max-width: 760px; }
.prose h2 { margin: 28px 0 10px; font-size: 32px; }
.prose p { margin: 0 0 14px; font-size: 18px; }
.prose a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.side {
  position: sticky;
  top: calc(var(--header) + 16px);
  padding: 18px;
  background: var(--mist);
  border-radius: 14px;
}

.side h2 { margin: 0 0 10px; font-size: 22px; }
.side a { display: block; margin: 0 0 10px; font-weight: 700; color: var(--teal-deep); }
.side a:hover { text-decoration: underline; }

.filter-row, .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }

.chip, .filter-button, .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: #eef3f2;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.chip[aria-pressed="true"], .filter-button.active, .tag { background: var(--teal); color: #fff; }

.page-search, .sort-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin-bottom: 16px;
  padding: 0 16px;
  border: 1.5px solid #d5e3e0;
  border-radius: 12px;
  background: #fff;
}

.page-search input, .sort-bar select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 17px;
}

.result-list { display: grid; gap: 14px; }

.result {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.result .type {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 800;
}

.result h2 { margin: 0 0 6px; font-size: 24px; }
.result p { margin: 0 0 8px; }
.result a.more { color: var(--teal-deep); font-weight: 800; }

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

.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(16, 40, 38, 0.08);
}

.catalog-card img, .thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 22%;
  background: #d7ece8 center / cover no-repeat;
}

.catalog-card .pad { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 16px 16px 18px; }
.catalog-card h2 { margin: 8px 0; font-size: 22px; }
.catalog-card p { margin: 0 0 12px; }
.meta { color: var(--muted); font-size: 14px; font-weight: 700; }

.catalog-card[hidden] { display: none !important; }

.empty {
  padding: 28px;
  text-align: center;
  background: var(--paper);
  border-radius: 12px;
}

.team-grid, .partner-grid, .feature-grid, .contact-grid {
  display: grid;
  gap: 18px;
}

.team-grid, .feature-grid { grid-template-columns: repeat(3, 1fr); }
.partner-grid { grid-template-columns: minmax(220px, 280px); justify-content: start; }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.info-card, .contact-card {
  padding: 22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 40, 38, 0.06);
}

.info-card h3, .contact-card h3 { margin: 0 0 6px; font-size: 22px; }
.role { margin: 0 0 8px; color: var(--teal-deep); font-weight: 800; }
.section-mist { background: var(--mist); }
.section-paper { background: var(--paper); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

@media (max-width: 1180px) {
  .util-search { flex-basis: 140px; max-width: 200px; }
  .util-actions .btn { padding-inline: 12px; }
}

@media (max-width: 980px) {
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand lang menu"
      "tools tools tools"
      "nav nav nav";
    padding-top: 12px;
  }
  .header-shell .nav-toggle { display: inline-flex; grid-area: menu; }
  .header-shell .lang-toggle { grid-area: lang; margin: 0; }
  .header-shell .util-tools { justify-self: stretch; width: 100%; flex-direction: column; align-items: stretch; }
  .util-search { width: 100%; max-width: none; flex: 1 1 auto; }
  .util-actions { width: 100%; justify-content: flex-start; }
  .nav-toggle { display: inline-flex; }
  .seam { display: none; }
  .seam-h { display: block; }
  .nav-row {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }
  .site-header.is-open .nav-row { display: flex; }
  .dropdown, .flyout {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    padding-left: 8px;
  }
  .nav-item.is-open > .dropdown, .drop-item.is-open > .flyout { display: block; }
  .hero-slide.is-active, .banner, .impact, .app-band, .story-card, .news-card, .ways-card, .layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-slide.is-active { display: flex; flex-direction: column; }
  .hero-media, .banner-media, .impact-media, .app-media { order: -1; height: 240px; }
  .impact-media::after { display: none; }
  .hero-copy, .banner-copy { padding: 36px 20px 28px; }
  .hero-arrows { left: 20px; bottom: 16px; }
  .event-grid, .catalog-grid, .card-grid, .team-grid, .partner-grid { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
  .help-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--content)); }
  .brand-name { white-space: normal; font-size: 15px; }
  .event-grid, .catalog-grid, .card-grid, .team-grid, .partner-grid, .contact-grid, .feature-grid, .ways-grid { grid-template-columns: 1fr; }
  .util-actions .btn { flex: 1 1 auto; }
  .hero-copy h1, .banner-copy h1, .statement h2 { font-size: 34px; }
  .section { padding: 48px 0; }
}

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