:root {
  --navy: #0c2340;
  --navy-2: #16365c;
  --ink: #172333;
  --muted: #5c6b7c;
  --line: #e3e8ee;
  --paper: #f5f7fa;
  --white: #ffffff;
  --gold: #b0893e;
  --gold-soft: #e7d3a4;
  --green: #1f7a4d;
  --danger: #9d2c2c;
  --shadow: 0 18px 40px rgba(12, 35, 64, 0.12);
  --header-h: 76px;
  --max: 1140px;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "PMingLiU", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
button, input, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: var(--navy);
  color: #d5deea;
  font-size: 13px;
}
.topbar-inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.topbar p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.06);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 18px; letter-spacing: 0.04em; }
.brand-text small { color: var(--muted); font-size: 12px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  font-size: 15px;
}
.nav a[aria-current="page"] {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--gold);
}
.nav a:hover { color: var(--green); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 620px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background: #0c2340 url("../images/hero.jpg") center 30% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 18, 34, 0.9) 0%, rgba(7, 18, 34, 0.62) 48%, rgba(7, 18, 34, 0.18) 100%);
}
.hero-inner { position: relative; padding: 88px 0 120px; max-width: 680px; }
.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: var(--gold-soft);
}
.hero h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.lede { margin: 0 0 28px; font-size: 18px; color: #e6edf5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #1b1406; }
.btn-gold:hover { background: #c6a15a; }
.btn-line { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn-line:hover { background: rgba(255, 255, 255, 0.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }

.stats {
  margin-top: -52px;
  position: relative;
  z-index: 1;
}
.stats ul {
  list-style: none;
  margin: 0;
  padding: 8px 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  box-shadow: var(--shadow);
}
.stats li { padding: 22px 18px; }
.stats b {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
.stats span { color: var(--muted); font-size: 14px; }

.section { padding: 84px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2,
.page-hero h1,
.prose h2,
.biz-copy h3,
.sub-card h3,
.news-card h3,
.panel h2,
.form-card h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.section-head h2 { margin: 0 0 10px; font-size: 34px; line-height: 1.3; }
.section-head h2::after,
.panel h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 14px;
  background: var(--gold);
}
.section-head p { margin: 16px 0 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.split img { width: 100%; height: 420px; object-fit: cover; }
.kicker { margin: 0 0 8px; color: var(--green); font-size: 13px; letter-spacing: 0.14em; }
.split h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.35; }
.note { color: var(--muted); font-size: 14px; }

.biz-list { display: grid; gap: 28px; }
.biz {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 280px;
}
.section-alt .biz { box-shadow: none; border: 1px solid var(--line); }
.biz img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.biz-copy { padding: 36px 36px 32px; }
.idx {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 8px;
}
.biz-copy h3 { margin: 0 0 10px; font-size: 28px; }
.biz-copy p { margin: 0 0 16px; color: #314256; }
.biz:nth-child(even) .biz-media { order: 2; }
.text-link { color: var(--green); font-weight: 600; text-underline-offset: 3px; }

.sub-grid, .news-grid, .link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sub-card, .news-card, .link-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.sub-card h3, .news-card h3, .link-card h3 { margin: 8px 0; font-size: 22px; }
.tag { color: var(--gold); font-size: 12px; letter-spacing: 0.12em; }
.news-card p, .sub-card p, .link-card p { margin: 0; color: var(--muted); }
.news-card time { color: var(--muted); font-size: 13px; }
.news-card:hover, .link-card:hover { border-color: var(--gold); }

.quote-band {
  background: var(--navy);
  color: #e7eef6;
  padding: 56px 0;
}
.quote-band blockquote { margin: 0; max-width: 820px; }
.quote-band p { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.5; }
.quote-band span { display: block; margin-top: 14px; color: var(--gold-soft); font-size: 14px; font-family: var(--sans); }

.page-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.32;
}
.page-hero .wrap { position: relative; padding: 64px 0 52px; }
.crumb { margin: 0 0 12px; font-size: 14px; color: #d5deea; }
.crumb a { color: #fff; }
.page-hero h1 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 46px); }
.page-hero .wrap > p:last-child { margin: 0; max-width: 640px; color: #e4ebf3; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
.panel + .panel { margin-top: 18px; }
.panel h2 { margin: 0; font-size: 28px; }
.stack { display: grid; gap: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fact-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.fact-table th, .fact-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.fact-table th { width: 168px; color: var(--muted); font-weight: 500; }
.check-list { margin: 12px 0 0; padding-left: 18px; }
.check-list li { margin: 6px 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 1.4em 0 0.4em; }
.prose p { margin: 0 0 1em; }
.related { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 12px; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; align-items: start; }
.address-card { background: var(--navy); color: #e7eef6; padding: 32px; }
.address-card h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 30px; }
.address-card p { margin: 0 0 12px; }
.address-card a { color: var(--gold-soft); }
.form-card { border: 1px solid var(--line); padding: 28px; background: #fff; }
.form-card h2 { margin: 0 0 8px; font-size: 28px; }
.form-card h2::after { margin-bottom: 18px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 14px; margin-bottom: 6px; }
input, textarea {
  width: 100%;
  border: 1px solid #d5dbe3;
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; margin: 6px 0 0; }
.form-success { border: 1px solid #cfe3d6; background: #f3faf6; padding: 22px; }
.form-success h2 { margin: 0 0 8px; font-family: var(--serif); }
.hint { color: var(--muted); font-size: 13px; }

.site-footer { background: #09182c; color: #c9d4e2; padding: 48px 0 22px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h2 { margin: 0 0 12px; color: #fff; font-size: 16px; font-family: var(--sans); font-weight: 600; }
.site-footer a { color: var(--gold-soft); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer p { margin: 0 0 8px; }
.footer-base {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #9aabbe;
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}
.empty { padding: 100px 0 80px; text-align: center; }
.empty h1 { font-family: var(--serif); font-size: 42px; margin-bottom: 8px; }

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

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 14px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 20px; }
  .stats ul, .sub-grid, .news-grid, .link-grid, .split, .biz, .two-col, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .biz:nth-child(even) .biz-media { order: 0; }
  .hero { min-height: 520px; }
  .split img, .biz img { height: 240px; }
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
