:root {
  --bg: #f1f6f7;
  --card: #deeaec;
  --ink: #22343a;
  --muted: #587078;
  --accent: #2f6f7a;
  --line: #c8dadd;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(34, 52, 58, .07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
}

p {
  margin: 0 0 10px;
}

p:last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--card);
  font-weight: 700;
}

.shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
}

.brand-note {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .12em;
}

.nav-main {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-list,
.nav-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--ink);
  border-color: var(--accent);
  text-decoration: none;
}

.nav-anchor {
  background: var(--card);
  border-color: transparent;
  color: var(--ink);
}

.section {
  padding: 34px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-title {
  font-size: 21px;
}

.section-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.side-note {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-cell {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.faq-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-item {
  flex: 1 1 320px;
  min-width: 0;
  background: var(--card);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.faq-q {
  font-size: 15px;
  margin-bottom: 6px;
}

.faq-a {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.story-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: story;
}

.story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  counter-increment: story;
}

.story:first-child {
  border-top: 0;
  padding-top: 4px;
}

.story-lede {
  min-width: 0;
}

.story-body {
  min-width: 0;
  font-size: 14px;
  color: var(--muted);
}

.story:nth-child(even) .story-lede {
  order: 2;
}

.story-num {
  display: block;
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  color: var(--accent);
  opacity: .35;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.story-num::before {
  content: counter(story, decimal-leading-zero);
}

.story-title {
  font-size: 18px;
}

.story-text {
  margin: 0;
}

.story-body p:first-of-type::first-letter {
  float: left;
  font-size: 2.4em;
  line-height: .92;
  padding: 2px 7px 0 0;
  color: var(--accent);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow);
}

.feature-card::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 10px;
}

.feature-title {
  font-size: 15px;
}

.feature-text {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: news;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  counter-increment: news;
}

.news-item:first-child {
  border-top: 0;
}

.news-num {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

.news-num::before {
  content: counter(news, decimal-leading-zero);
}

.news-link {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-date {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.cta-band {
  background: var(--card);
  border-top: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
}

.cta-text {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  max-width: 640px;
}

.cta-link {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
}

.cta-link:hover {
  text-decoration: none;
  opacity: .9;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 22px;
}

.footer-brand {
  max-width: 320px;
}

.footer-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.footer-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.footer-nav {
  min-width: 0;
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-item {
  margin: 0;
}

.footer-link {
  font-size: 13px;
  color: var(--muted);
}

.footer-link:hover {
  color: var(--accent);
}

.footer-band {
  background: var(--ink);
}

.footer-band-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 13px;
  padding-bottom: 13px;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: #cfe0e3;
}

.footer-key {
  margin: 0;
  font-size: 12px;
  letter-spacing: .08em;
  color: #cfe0e3;
}

.cms-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
}

.cms-form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.cms-form input,
.cms-form textarea,
.cms-form select {
  width: 100%;
  max-width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.cms-form textarea {
  min-height: 110px;
  resize: vertical;
}

.cms-form button,
.cms-form .cms-submit {
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.cms-form button:hover,
.cms-form .cms-submit:hover {
  opacity: .9;
}

.cms-form .cms-error,
.cms-form .error {
  flex: 1 1 100%;
  margin: 0;
  font-size: 13px;
  color: #8c3b32;
}

.cms-form .cms-success,
.cms-form .success {
  flex: 1 1 100%;
  margin: 0;
  font-size: 13px;
  color: var(--accent);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .story:nth-child(even) .story-lede {
    order: 0;
  }

  .section {
    padding: 26px 0;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-main {
    margin-left: 0;
  }

  .section-title {
    font-size: 19px;
  }

  .story-num {
    font-size: 36px;
  }
}

:root{--intro-bg:#f1f6f7;--intro-card:#deeaec;--intro-ink:#22343a;--intro-accent:#2f6f7a;}
.intro-stage {
  background:
    radial-gradient(ellipse at 82% 16%, color-mix(in srgb, var(--intro-accent) 16%, transparent), transparent 54%),
    linear-gradient(160deg, var(--intro-card), var(--intro-bg));
  border-bottom: 1px solid color-mix(in srgb, var(--intro-ink) 12%, transparent);
}
.intro-wrap {
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 92px) clamp(20px, 4vw, 60px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.intro-wrap:not(.intro-center):has(> .intro-visual), .intro-wrap:has(> .intro-index) {
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
}
.intro-copy { min-width: 0; max-width: 54rem; }
.intro-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.intro-copy p {
  max-width: 38em;
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}
.intro-center { text-align: center; justify-items: center; }
.intro-center p { margin-inline: auto; }
.intro-center .intro-visual { width: min(100%, 680px); }
.intro-reverse > .intro-visual { order: -1; }
.intro-stage .intro-wrap.intro-banner { grid-template-columns: minmax(0, 1fr); }
.intro-banner .intro-visual img { aspect-ratio: 16 / 9; }
.intro-panel .intro-copy {
  padding: clamp(16px, 3vw, 36px);
  border-inline-start: 4px solid var(--intro-accent);
  background: var(--intro-bg);
}
@media (min-width: 761px) {
  .intro-wrap.intro-compact:has(> .intro-visual) {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr);
  }
  .intro-wrap.intro-panel:has(> .intro-visual) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  }
}
.intro-index {
  min-width: 0;
  padding: clamp(16px, 3vw, 32px);
  background: var(--intro-bg);
  border: 1px solid color-mix(in srgb, var(--intro-ink) 14%, transparent);
  border-radius: 1rem;
  overflow-wrap: anywhere;
}
.intro-visual {
  min-width: 0;
  margin: 0;
  padding: clamp(8px, 1.5vw, 16px);
  background: var(--intro-bg);
  border: 1px solid color-mix(in srgb, var(--intro-accent) 24%, transparent);
  border-radius: clamp(12px, 2vw, 24px);
  box-shadow: 0 18px 64px color-mix(in srgb, var(--intro-ink) 16%, transparent);
}
.intro-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.intro-visual figcaption { margin: .6rem .35rem 0; font-size: .875rem; }
.intro-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.intro-center .intro-actions { justify-content: center; }
.intro-link, .intro-actions .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.25rem;
  border-radius: 2rem;
  border: 1px solid color-mix(in srgb, var(--intro-ink) 24%, transparent);
  color: var(--intro-ink);
  background: var(--intro-bg);
  text-decoration: none;
  font-weight: 650;
}
.intro-actions a.action-button { color: var(--intro-bg); background: var(--intro-ink); }
.intro-link:hover, .intro-link:focus-visible { border-color: var(--intro-accent); }
.intro-glass {
  background: color-mix(in srgb, var(--intro-bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
.intro-reading {
  max-width: 840px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 60px);
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .intro-wrap:not(.intro-center):has(> .intro-visual), .intro-wrap:has(> .intro-index) {
    grid-template-columns: minmax(0, 1fr);
  }
  .intro-reverse > .intro-visual { order: 0; }
}
