:root {
  --ink: #172026;
  --deep: #23313d;
  --muted: #63717f;
  --line: #dbe3ea;
  --paper: #ffffff;
  --wash: #f4f7f9;
  --soft: #eef3f6;
  --red: #d94a36;
  --teal: #0f766e;
  --blue: #235789;
  --gold: #c8902e;
  --shadow: 0 18px 46px rgba(23, 32, 38, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.wrap {
  width: calc(100% - 40px);
  max-width: 1180px;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 234, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 220px;
}

.brand strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a,
.mail-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.menu a {
  color: var(--deep);
}

.menu a:hover {
  background: var(--soft);
}

.mail-pill {
  background: var(--red);
  color: #fff;
}

.hero {
  background:
    linear-gradient(115deg, rgba(23, 32, 38, .96), rgba(23, 32, 38, .74)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 72px);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, .76fr);
  gap: 44px;
  min-height: 520px;
  align-items: center;
  padding: 66px 0 78px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  max-width: 790px;
  margin-top: 22px;
  font-size: 54px;
  font-size: clamp(38px, 5.7vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.88;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.button.light {
  border-color: var(--line);
  background: #fff;
  color: var(--deep);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, .07);
}

.stat strong {
  display: block;
  font-size: 25px;
  line-height: 1.15;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.visual-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.media-visual {
  position: relative;
  min-height: 258px;
  background:
    linear-gradient(180deg, #dceaf2 0 46%, #cdd6dd 46% 48%, #788892 48% 54%, #313c44 54% 100%);
}

.route {
  position: absolute;
  left: 24px;
  bottom: 82px;
  display: grid;
  gap: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.route span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(23, 32, 38, .78);
}

.billboard {
  position: absolute;
  right: 34px;
  bottom: 70px;
  width: 330px;
  max-width: 70%;
  width: min(70%, 330px);
}

.billboard-face {
  border: 6px solid #172026;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 28px rgba(0, 0, 0, .24);
}

.billboard-face .red-line {
  height: 38px;
  background: var(--red);
}

.billboard-face .copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.billboard-face .copy span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #dce2e8;
}

.billboard-face .copy span:first-child {
  width: 78%;
  background: var(--deep);
}

.billboard-face .copy span:nth-child(2) {
  width: 56%;
  background: var(--gold);
}

.billboard-leg {
  width: 18px;
  height: 88px;
  margin: 0 auto;
  background: #172026;
}

.road-line {
  position: absolute;
  right: 0;
  bottom: 53px;
  left: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .9) 0 48px, transparent 48px 82px);
}

.visual-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.visual-facts div {
  min-height: 84px;
  padding: 13px;
  background: #fff;
}

.visual-facts strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.visual-facts span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.latest-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.latest-head span {
  color: var(--red);
}

.latest-carousel {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  height: 444px;
}

.latest-slide {
  display: none;
  grid-template-rows: 220px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}

.latest-slide.is-active {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  animation: latestFade .28s ease;
}

@keyframes latestFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.latest-slide img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--soft);
}

.latest-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.latest-kicker {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.latest-copy strong {
  display: block;
  max-height: 55px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 21px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  max-height: 70px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.latest-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  max-height: 68px;
  overflow: hidden;
}

.latest-facts span {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff;
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.latest-dots {
  display: flex;
  gap: 6px;
  padding: 0 16px 16px;
  background: #f8fafc;
}

.latest-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #bdc8d1;
}

.latest-dots span.is-active {
  width: 24px;
  background: var(--red);
}

.section {
  padding: 70px 0;
}

.section.white {
  background: #fff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.section-head h2 {
  max-width: 710px;
  font-size: 38px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-head p {
  max-width: 430px;
  color: var(--muted);
  font-size: 15px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
}

.chip.active {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

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

.listing-card {
  position: relative;
  display: grid;
  min-height: 332px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 38, .05);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.listing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 74, 54, .45);
  box-shadow: 0 16px 34px rgba(23, 32, 38, .1);
}

.listing-card:focus-visible {
  outline: 3px solid rgba(217, 74, 54, .45);
  outline-offset: 3px;
}

.card-accent {
  height: 7px;
  background: var(--teal);
}

.listing-card:nth-child(2) .card-accent,
.listing-card:nth-child(5) .card-accent {
  background: var(--red);
}

.listing-card:nth-child(3) .card-accent {
  background: var(--blue);
}

.listing-card:nth-child(4) .card-accent {
  background: var(--gold);
}

.listing-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 14px;
  padding: 20px;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--soft);
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.listing-card h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
}

.listing-card p {
  color: var(--muted);
  font-size: 14px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.specs span {
  color: var(--muted);
  font-size: 12px;
}

.specs strong {
  display: block;
  color: var(--deep);
  font-size: 14px;
  line-height: 1.35;
}

.card-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.listing-card:hover .card-link {
  text-decoration: underline;
}

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

.detail-article,
.side-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 38, .05);
}

.detail-title {
  border-bottom: 1px solid var(--line);
  padding: 30px;
}

.detail-title h1 {
  margin-top: 14px;
  font-size: 42px;
  font-size: clamp(31px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

.detail-content {
  display: grid;
  gap: 20px;
  padding: 30px;
  color: #2f3a44;
  font-size: 17px;
}

.detail-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.detail-media img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.image-caption {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.fact-strip div {
  padding: 16px;
  background: #f8fafc;
}

.fact-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.fact-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.35;
}

.side-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mini-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.side-card {
  padding: 20px;
}

.side-card h3 {
  font-size: 19px;
  line-height: 1.3;
}

.side-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.mail-button {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 850;
}

.area-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.area-list a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
}

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

.note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.note h3 {
  font-size: 19px;
}

.note p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--deep);
  color: rgba(255, 255, 255, .8);
  padding: 34px 0;
}

.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer strong {
  color: #fff;
}

.codex-credit {
  color: rgba(255, 255, 255, .58);
}

@media (max-width: 1020px) {
  .nav,
  .section-head,
  .footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-grid,
  .layout {
    grid-template-columns: 1fr;
  }

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

  .side-rail {
    position: static;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 28px);
    max-width: 1180px;
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
  }

  .nav {
    gap: 14px;
    padding: 16px 0;
  }

  .brand {
    min-width: 0;
  }

  .menu a,
  .mail-pill {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero-grid {
    min-height: auto;
    padding: 42px 0 50px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-stats,
  .visual-facts,
  .listing-grid,
  .fact-strip,
  .template-notes {
    grid-template-columns: 1fr;
  }

  .latest-carousel {
    height: 494px;
  }

  .section {
    padding: 48px 0;
  }

  .billboard {
    right: 18px;
    width: 74%;
  }

  .route {
    left: 16px;
  }

  .detail-title,
  .detail-content {
    padding: 22px;
  }

  .detail-media img {
    height: 260px;
  }

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

.hero.compact .hero-grid{min-height:360px;padding:52px 0 58px}.card-image.placeholder{display:grid;place-items:center;color:var(--muted);font-weight:800}.pagination-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.pagination-row a,.pagination-row span{display:inline-flex;min-height:38px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:0 14px;background:#fff;font-weight:800}.pagination-row .current{background:var(--deep);color:#fff;border-color:var(--deep)}.contact-grid{display:grid;grid-template-columns:minmax(0,.62fr) minmax(300px,.38fr);gap:24px;align-items:start}.contact-panel{border:1px solid var(--line);border-radius:8px;background:#fff;padding:26px;box-shadow:var(--shadow)}.contact-panel h2{font-size:30px;line-height:1.2}.contact-items{display:grid;gap:12px;margin-top:20px}.contact-item{border:1px solid var(--line);border-radius:8px;padding:16px;background:#f8fafc}.contact-item span{display:block;color:var(--muted);font-size:13px;font-weight:800}.contact-item strong,.contact-item a{display:block;margin-top:4px;font-size:20px;font-weight:850;color:var(--deep)}.content-list{display:grid;gap:16px}.content-list p{font-size:17px;color:#2f3a44}.sitemap-list{columns:2;column-gap:32px;padding-left:18px}.sitemap-list li{break-inside:avoid;margin:0 0 8px}@media(max-width:900px){.contact-grid{grid-template-columns:1fr}.sitemap-list{columns:1}}
