:root {
  --paper: #f7f7f4;
  --surface: #ffffff;
  --ink: #171a1c;
  --muted: #697176;
  --line: #d9dcda;
  --sea: #245e69;
  --sun: #a95138;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 26, 28, .12);
  background: rgba(247, 247, 244, .94);
  backdrop-filter: blur(16px);
}
.nav {
  width: min(calc(100% - 40px), var(--max));
  height: 68px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav-links a { color: #42484b; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--sun); }
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-button span { display: block; width: 21px; height: 1px; margin: 5px auto; background: var(--ink); }

.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.hero {
  position: relative;
  min-height: 76vh;
  max-height: 820px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #637681 url("/assets/images/hero-coast-sunset.webp") center 55% / cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(8, 16, 21, .28); }
.hero-content { position: relative; z-index: 1; padding: 90px 0 72px; }
.eyebrow { margin: 0 0 12px; color: var(--sun); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.hero .eyebrow { color: #f2c5ad; }
h1, h2, h3 { margin-top: 0; line-height: 1.18; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; }
h1 { margin-bottom: 18px; font-size: 72px; font-weight: 500; }
.hero-copy { max-width: 570px; margin: 0; font-size: 20px; }
.signature { margin: 14px 0 26px; font-family: Georgia, "Noto Serif SC", serif; font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-weight: 600; }

.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section h2 { margin-bottom: 0; font-size: 38px; font-weight: 500; }
.section-lead { max-width: 570px; color: var(--muted); }
.routes { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 12px; }
.route { position: relative; min-height: 265px; overflow: hidden; background: #ddd; }
.route:first-child { grid-row: span 2; min-height: 542px; }
.route img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.route:hover img { transform: scale(1.025); }
.route::after { content: ""; position: absolute; inset: 0; background: rgba(8, 14, 17, .18); }
.route span { position: absolute; z-index: 1; left: 22px; bottom: 18px; color: white; font: 500 26px Georgia, "Noto Serif SC", serif; }

.footprint-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .7fr); gap: 44px; align-items: center; }
.map-shell { position: relative; min-height: 480px; overflow: hidden; border: 1px solid var(--line); background: #eef2ef; }
.map-shell svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-land { fill: #d9e1dc; stroke: #fff; stroke-width: 1.2; }
.map-route { fill: none; stroke: var(--sea); stroke-width: 2; stroke-dasharray: 6 7; opacity: .55; }
.map-point { fill: var(--sun); stroke: white; stroke-width: 2; }
.map-label { fill: #2d373a; font-size: 12px; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
.stat { padding: 22px 0; border-top: 1px solid var(--line); }
.stat strong { display: block; font: 500 44px Georgia, serif; }
.stat span { color: var(--muted); font-size: 14px; }
.city-list { color: var(--muted); font-size: 14px; }

.feature-band { background: var(--sea); color: #fff; }
.feature-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.feature-image img { height: 100%; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px max(40px, calc((100vw - var(--max)) / 2)); padding-left: 72px; }
.feature-copy h2 { font-size: 44px; font-weight: 500; }
.feature-copy p { max-width: 470px; color: rgba(255,255,255,.78); }

.post-list { border-top: 1px solid var(--ink); }
.post-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 30px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-row time, .post-row small { color: var(--muted); }
.post-row h3 { margin: 0 0 6px; font-size: 24px; font-weight: 500; }
.post-row:hover h3 { color: var(--sun); }

.about-strip { display: grid; grid-template-columns: 340px 1fr; gap: 58px; align-items: center; }
.about-strip img { aspect-ratio: 4 / 5; object-fit: cover; }
.about-strip h2 { font-size: 42px; }
.contact-line { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; color: var(--sea); font-size: 14px; }

.page-hero { padding: 88px 0 52px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; margin-bottom: 16px; font-size: 58px; }
.page-hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 18px; }
.now-cover { margin: 34px 0 0; height: 460px; object-fit: cover; object-position: center 58%; }
.now-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.now-item { min-height: 210px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.now-item:nth-child(2n) { border-right: 0; }
.now-item h3 { font-size: 23px; font-weight: 500; }
.now-item p { color: var(--muted); }
.closing { padding: 70px 0 20px; text-align: center; font: 500 30px Georgia, "Noto Serif SC", serif; }

.article { width: min(calc(100% - 40px), 820px); margin: auto; padding: 76px 0 100px; }
.article-meta { color: var(--muted); font-size: 14px; }
.article h1 { margin: 15px 0 24px; font-size: 50px; }
.article .intro { font-size: 19px; color: #4b5356; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 44px; }
.gallery figure { margin: 0; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figure:first-child img { aspect-ratio: 16 / 9; }
.gallery figcaption { padding: 8px 2px 18px; color: var(--muted); font-size: 13px; }
.prose { font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: 18px; }
.prose p { margin: 1.2em 0; }

.archive-row { display: grid; grid-template-columns: 110px 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.archive-row time { color: var(--muted); }
.archive-row h2 { margin: 0 0 7px; font-size: 27px; font-weight: 500; }
.archive-row p { margin: 0; color: var(--muted); }
.empty-state { min-height: 320px; display: grid; place-items: center; text-align: center; }
.empty-state h2 { font-size: 32px; }
.empty-state p { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; gap: 18px; }

@media (max-width: 850px) {
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 18px 20px 24px; flex-direction: column; align-items: flex-start; gap: 15px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links.open { display: flex; }
  h1 { font-size: 52px; }
  .routes { grid-template-columns: 1fr 1fr; }
  .route:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 420px; }
  .footprint-layout, .about-strip { grid-template-columns: 1fr; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-image { height: 430px; }
  .feature-copy { padding: 58px 32px; }
}

@media (max-width: 600px) {
  .nav, .wrap { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 70vh; }
  .hero-content { padding-bottom: 48px; }
  h1, .page-hero h1, .article h1 { font-size: 42px; }
  .hero-copy { font-size: 17px; }
  .section { padding: 62px 0; }
  .section h2 { font-size: 31px; }
  .section-head { display: block; }
  .section-head .text-link { margin-top: 16px; }
  .routes { grid-template-columns: 1fr; }
  .route, .route:first-child { grid-column: auto; min-height: 360px; }
  .map-shell { min-height: 410px; }
  .feature-image { height: 360px; }
  .feature-copy h2 { font-size: 34px; }
  .post-row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .post-row time { grid-column: 1 / -1; }
  .about-strip { gap: 34px; }
  .about-strip img { max-height: 560px; }
  .now-cover { height: 360px; }
  .now-grid { grid-template-columns: 1fr; }
  .now-item, .now-item:nth-child(2n) { border-right: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; }
  .gallery figure:first-child img { aspect-ratio: 4 / 5; }
  .archive-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route img { transition: none; }
}
