:root {
  --paper: #f4f0e8;
  --paper-bright: #fffdf8;
  --ink: #161a1d;
  --muted: #565b5d;
  --blue: #003e8f;
  --blue-dark: #062b5b;
  --blue-soft: #dbe6f3;
  --copper: #b94b0b;
  --amber: #d58a2e;
  --rule: rgba(22, 26, 29, .28);
  --journey: 0%;
  --header-height: 72px;
}

@font-face {
  font-family: "Zhixin Display";
  src: url("assets/fonts/zhixin-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: var(--header-height) auto 0 0;
  width: 3px;
  height: var(--journey);
  background: var(--blue);
  z-index: 30;
  pointer-events: none;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid var(--ink);
  transition: transform .28s ease;
}
.site-header.header-hidden { transform: translateY(-100%); }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 360px;
  padding: 8px 26px;
  text-decoration: none;
  border-right: 1px solid var(--rule);
}
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-mark rect { fill: none; stroke: var(--blue); stroke-width: 3; }
.brand-mark rect:nth-child(3) { stroke: var(--copper); }
.brand-mark path { stroke: var(--ink); stroke-width: 2.5; }
.brand strong { display: block; font-size: 16px; letter-spacing: .08em; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: stretch; }
.site-nav a {
  display: grid;
  place-items: center;
  min-width: 118px;
  padding: 0 22px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-left: 1px solid var(--rule);
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 4px;
  background: var(--copper);
  transition: right .24s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="location"]::after { right: 0; }
.menu-toggle { display: none; }

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: 42% 58%;
  position: relative;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-bright);
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 110px) clamp(34px, 5vw, 78px);
  z-index: 2;
}
.hero h1 {
  max-width: 8.5em;
  font-family: "Zhixin Display", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(54px, 5.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 900;
}
.hero-lead {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 2px solid var(--copper);
  color: var(--blue-dark);
  font-weight: 800;
}
.hero-body { max-width: 32em; margin-top: 12px; color: var(--muted); }
.primary-action {
  align-self: flex-start;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding: 13px 20px;
  background: var(--copper);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.primary-action svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.primary-action:hover svg { transform: translateX(4px); }
.primary-action svg { transition: transform .2s ease; }
.hero-media { min-width: 0; overflow: hidden; border-left: 1px solid var(--ink); }
.hero-media img { object-position: 56% center; }
.hero-route {
  position: absolute;
  left: 28%;
  right: 0;
  top: 20%;
  width: 72%;
  height: 220px;
  z-index: 3;
  pointer-events: none;
}
.hero-route path { fill: none; stroke: var(--blue); stroke-width: 5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--route, .25)); }
.hero-index { position: absolute; left: 18px; bottom: 18px; color: var(--blue); font: 700 11px Consolas, monospace; letter-spacing: .12em; }

.route-index {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--blue-dark);
  color: white;
  border-bottom: 2px solid var(--ink);
}
.route-index span { min-height: 82px; display: flex; align-items: center; gap: 14px; padding: 18px 26px; border-right: 1px solid rgba(255,255,255,.3); font-size: 13px; }
.route-index span:last-child { border-right: 0; }
.route-index b { color: #f6a458; font: 700 16px Consolas, monospace; }

.section-heading, .products-heading {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 40px;
  align-items: start;
  padding: clamp(64px, 8vw, 120px) clamp(26px, 6vw, 92px) clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--ink);
}
.section-heading h2, .products-heading h2, .records h2, .contact h2 {
  font-family: "Zhixin Display", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.section-heading > p:last-child, .products-heading > p:last-child { max-width: 32em; color: var(--muted); }
.path-flow { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 2px solid var(--ink); }
.path-step { min-width: 0; border-right: 1px solid var(--ink); background: var(--paper-bright); }
.path-step:last-child { border-right: 0; }
.path-step figure { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--ink); }
.path-step > div { min-height: 260px; padding: 34px clamp(24px, 3vw, 48px) 46px; }
.path-step h3 { margin-top: 0; font-size: clamp(25px, 2.4vw, 38px); line-height: 1.12; }
.path-step p { margin-top: 16px; color: var(--muted); }

.products { background: var(--paper); }
.product-band { min-height: 600px; display: grid; grid-template-columns: 39% 61%; border-bottom: 2px solid var(--ink); }
.product-band > * { min-width: 0; }
.product-band figure { overflow: hidden; }
.product-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(46px, 7vw, 100px); }
.product-copy h3 { max-width: 10em; margin-top: 0; font-family: "Zhixin Display", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: clamp(36px, 4.3vw, 68px); line-height: 1.03; letter-spacing: -.04em; }
.product-copy p { max-width: 34em; margin-top: 24px; }
.product-copy .boundary { padding-top: 18px; border-top: 1px solid currentColor; font-size: 13px; opacity: .75; }
.product-dark { background: var(--blue-dark); color: white; }
.product-dark .product-copy { border-right: 1px solid rgba(255,255,255,.42); }
.product-dark .product-copy > span { color: #f6a458; }
.product-light { grid-template-columns: 61% 39%; background: var(--paper-bright); }
.product-light .product-copy { border-left: 1px solid var(--ink); }

.records { min-height: 820px; display: grid; grid-template-columns: 43% 57%; background: var(--blue-dark); color: white; border-bottom: 2px solid var(--ink); }
.records-visual { align-self: stretch; position: relative; border-right: 1px solid rgba(255,255,255,.42); }
.records-visual picture { display: block; height: 100%; }
.records-visual img { filter: saturate(.9) contrast(1.03); }
.records-copy { padding: clamp(56px, 7vw, 104px); }
.records h2 { margin-top: 0; }
.timeline { list-style: none; margin: 54px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.4); }
.timeline li { display: grid; grid-template-columns: 86px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.4); }
.timeline time { color: #f6a458; font: 700 16px Consolas, monospace; }
.timeline h3 { font-size: 19px; }
.timeline p { margin-top: 7px; color: rgba(255,255,255,.76); font-size: 14px; }

.contact { display: grid; grid-template-columns: 45% 55%; background: var(--paper-bright); border-bottom: 2px solid var(--ink); }
.contact-media { min-height: 780px; border-right: 1px solid var(--ink); overflow: hidden; }
.contact-media img { object-position: 66% center; }
.contact-copy { padding: clamp(56px, 7vw, 104px); }
.contact h2 { margin-top: 22px; }
.contact-intro > p:last-child { max-width: 38em; margin-top: 24px; color: var(--muted); }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; }
.inquiry-form label { display: grid; gap: 9px; font-size: 13px; font-weight: 700; }
.inquiry-form .wide, .inquiry-form button, .form-status, .form-noscript { grid-column: 1 / -1; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.inquiry-form textarea { min-height: 110px; resize: vertical; }
.inquiry-form button { min-height: 54px; border: 0; background: var(--copper); color: white; font-weight: 800; cursor: pointer; }
.inquiry-form button:hover { background: #913803; }
.form-status, .form-noscript { min-height: 28px; color: #803000; font-weight: 700; }

.site-footer { min-height: 116px; display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; padding: 24px clamp(24px, 5vw, 78px); background: var(--ink); color: white; }
.footer-brand { display: flex; align-items: center; gap: 14px; font-weight: 800; }
.footer-brand svg { width: 38px; height: 38px; }
.footer-brand rect { fill: none; stroke: white; stroke-width: 3; }
.footer-brand rect:nth-child(3) { stroke: #f6a458; }
.footer-brand path { stroke: white; stroke-width: 2.5; }
.site-footer p { color: rgba(255,255,255,.7); font-size: 12px; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; border-bottom: 1px solid #f6a458; }

@media (max-width: 1080px) {
  .brand { min-width: 310px; padding-inline: 18px; }
  .site-nav a { min-width: auto; padding-inline: 17px; }
  .section-heading, .products-heading { grid-template-columns: 1fr 2fr; }
  .section-heading > p:last-child, .products-heading > p:last-child { grid-column: 2; }
  .product-band { grid-template-columns: 44% 56%; }
  .product-light { grid-template-columns: 56% 44%; }
}

@media (max-width: 860px) {
  :root { --header-height: 68px; }
  .site-header { height: var(--header-height); }
  .brand { min-width: 0; border-right: 0; padding-left: 16px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand small { display: none; }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 88px;
    min-height: 48px;
    margin: 10px 12px;
    padding: 0 12px;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    cursor: pointer;
    z-index: 42;
  }
  .menu-toggle i, .menu-toggle i::before { display: block; width: 18px; height: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
  .menu-toggle i::before { transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::before { transform: rotate(90deg); }
  .menu-toggle[aria-expanded="true"] { color: #fff; border-color: #fff; }
  .site-nav {
    position: fixed;
    inset: 0;
    display: none;
    align-content: center;
    padding: 96px 22px 38px;
    background: var(--blue-dark);
    color: white;
  }
  .site-nav.open { display: grid; }
  .site-nav a { min-height: 68px; display: flex; justify-content: space-between; padding: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.42); font-size: 24px; }
  .site-nav a::after { display: none; }
  body.menu-open { overflow: hidden; }
  html:not(.js) .site-header { position: static; height: auto; display: block; }
  html:not(.js) .brand { min-height: 68px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-nav { position: static; display: grid; padding: 0 18px 18px; background: var(--blue-dark); }
  html:not(.js) .site-nav a { min-height: 56px; font-size: 18px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: 590px; padding: 72px 28px 62px; }
  .hero h1 { font-size: clamp(54px, 12vw, 82px); }
  .hero-media { height: min(86vw, 620px); border-left: 0; border-top: 1px solid var(--ink); }
  .hero-media img { object-position: 56% center; }
  .hero-route { left: 10%; top: 48%; width: 90%; height: 330px; }
  .route-index { grid-template-columns: 1fr 1fr; }
  .route-index span { min-height: 66px; padding: 14px 18px; }
  .route-index span:last-child { grid-column: 1 / -1; }
  .section-heading, .products-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p:last-child, .products-heading > p:last-child { grid-column: auto; }
  .path-flow { grid-template-columns: 1fr; }
  .path-step { display: grid; grid-template-columns: 52% 48%; border-right: 0; border-bottom: 1px solid var(--ink); }
  .path-step figure { aspect-ratio: auto; min-height: 330px; border-bottom: 0; border-right: 1px solid var(--ink); }
  .path-step > div { min-height: 330px; }
  .product-band, .product-light { min-height: auto; grid-template-columns: 1fr; }
  .product-band figure { height: min(70vw, 620px); order: 1; }
  .product-copy { min-height: 480px; order: 2; border: 0 !important; border-top: 1px solid currentColor !important; }
  .records { grid-template-columns: 1fr; }
  .records-visual { height: 560px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.42); }
  .contact { grid-template-columns: 1fr; }
  .contact-media { min-height: 520px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 540px) {
  .brand strong { font-size: 14px; }
  .hero-copy { min-height: 570px; padding: 58px 22px 50px; }
  .hero h1 { font-size: 54px; }
  .hero-body { font-size: 15px; }
  .hero-route { display: none; }
  .route-index { grid-template-columns: 1fr; }
  .route-index span, .route-index span:last-child { grid-column: auto; }
  .section-heading, .products-heading, .records-copy, .contact-copy { padding: 64px 22px 48px; }
  .section-heading h2, .products-heading h2, .records h2, .contact h2 { font-size: 44px; }
  .path-step { grid-template-columns: 1fr; }
  .path-step figure { min-height: auto; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--ink); }
  .path-step > div { min-height: auto; padding: 30px 22px 44px; }
  .product-band figure { height: 88vw; }
  .product-copy { min-height: 430px; padding: 48px 22px; }
  .product-copy h3 { font-size: 42px; }
  .records-visual { height: 430px; }
  .timeline li { grid-template-columns: 64px 1fr; gap: 14px; }
  .contact-media { min-height: 420px; }
  .inquiry-form { grid-template-columns: 1fr; }
  .inquiry-form .wide, .inquiry-form button, .form-status, .form-noscript { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; }
  .site-footer p { grid-column: auto; grid-row: auto; }
  .site-footer a { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .site-header { transform: none !important; }
  .hero-route path { stroke-dashoffset: 0; }
}

@media (forced-colors: active) {
  .brand-mark rect, .brand-mark path, .hero-route path { stroke: CanvasText; }
  .primary-action, .inquiry-form button { border: 2px solid ButtonText; }
}
