/* ============================================================
   亚新CN 中文版 · 共享样式 /assets/site.css
   深海蓝报头 + 暖白纸面 + 亚新橙行动色 + 1px 精密网格
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- variables ---------- */
:root {
  --ink: #101820;
  --blue: #0E2A47;
  --blue-2: #1B4066;
  --orange: #F26722;
  --orange-soft: #FFD9C2;
  --orange-ink: #8A3A0F;
  --mist: #8A94A0;
  --warm: #FBF8F4;
  --teal: #2FA79B;
  --teal-soft: #DFF3F0;
  --teal-ink: #1C6B63;
  --card: #FFFFFF;
  --rule: #D8DDE3;
  --rule-strong: #B9C2CC;
  --rule-dark: rgba(255, 255, 255, 0.16);
  --gutter: 64px;
  --gap: 24px;
  --maxw: 1240px;
  --radius: 2px;

  --font-head: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;

  --dur: 0.28s;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base typography ---------- */
body {
  background: var(--warm);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 30px;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.14; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.22; }
h3 { font-size: 24px; line-height: 32px; }
h4 { font-size: 20px; line-height: 28px; font-weight: 700; }

p { font-size: 17px; line-height: 30px; }
strong, b { font-weight: 800; color: var(--blue); }
em { font-style: normal; border-bottom: 2px solid var(--orange); padding-bottom: 1px; }

.lead { font-size: 19px; line-height: 32px; color: var(--blue-2); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

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

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
}
.skip-link:focus { left: 16px; top: 12px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--blue);
  color: #fff;
  border-bottom: 1px solid var(--rule-dark);
}

/* --- masthead --- */
.masthead { border-bottom: 1px solid var(--rule-dark); }
.masthead__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--gutter) 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "status brand utility";
  align-items: center;
  gap: 16px;
}
.masthead__status { grid-area: status; display: flex; align-items: center; gap: 10px; min-width: 0; }
.status-dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 167, 155, 0.2);
}
.status-text {
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.masthead__brand { grid-area: brand; text-align: center; }
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #fff;
}
.brand__sub {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.6);
}
.brand:focus-visible { outline-offset: 6px; }

.masthead__utility { grid-area: utility; display: flex; justify-content: flex-end; gap: 8px; }
.util-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.04em;
  color: #fff;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.util-btn:hover { border-color: var(--orange); background: rgba(242, 103, 34, 0.16); }
.util-btn__label { white-space: nowrap; }
.util-btn--search::before {
  content: "";
  width: 9px; height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
}
.util-btn--search::after {
  content: "";
  width: 6px; height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
  margin-left: -8px;
  margin-right: 2px;
}

/* --- nav row --- */
.nav-row {
  background: var(--blue-2);
  border-bottom: 1px solid var(--rule-dark);
}
.nav-row__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-nav { flex: 1 1 auto; min-width: 0; }
.site-nav__list { display: flex; align-items: center; gap: 2px; }
.site-nav__link {
  position: relative;
  display: block;
  padding: 15px 14px;
  font-size: 15px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.76);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.site-nav__link[aria-current="page"] { color: #fff; font-weight: 700; }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 2px;
  background: var(--orange);
}
.site-nav__link:focus-visible { outline-offset: -4px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 14px 16px 14px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
}
.nav-toggle__bars {
  width: 16px; height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
}
.nav-toggle[aria-expanded="true"] { color: var(--orange-soft); }

/* --- inline search panel --- */
.search-panel {
  background: var(--blue);
  border-top: 1px solid var(--rule-dark);
  color: #fff;
}
.search-panel__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--gutter) 26px;
  display: grid;
  gap: 14px;
}
.search-panel__label {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.68);
}
.search-input {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #fff;
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 24px;
}
.search-input::placeholder { color: var(--mist); }
.search-results { display: flex; flex-wrap: wrap; gap: 8px; }
.search-results__item { display: block; }
.search-chip {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  color: #fff;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.search-chip:hover,
.search-chip:focus-visible { border-color: var(--orange); background: rgba(242, 103, 34, 0.18); color: var(--orange-soft); }
.search-hint { font-size: 13px; line-height: 20px; color: var(--orange-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 80px;
  background: var(--blue);
  color: rgba(255, 255, 255, 0.78);
  border-top: 3px solid var(--orange);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--gutter) 26px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule-dark);
}
.footer__col { min-width: 0; }
.footer__brand {
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}
.footer__text {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.64);
}
.footer__title {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
}
.footer__list { display: grid; gap: 9px; font-size: 14px; line-height: 22px; }
.footer__link {
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__link:hover { color: #fff; border-bottom-color: var(--orange); }
.footer__link:focus-visible { outline-offset: 3px; }
.contact-item { display: flex; gap: 8px; align-items: baseline; }
.contact-item__label {
  flex: none;
  min-width: 3em;
  font-size: 13px;
  color: var(--mist);
}
.footer__icp { font-family: var(--font-num); font-size: 13px; color: rgba(255, 255, 255, 0.66); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 20px;
  font-size: 13px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 64px 0; border-top: 1px solid var(--rule); }
.section--first { border-top: 0; padding-top: 40px; }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 30px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.prose { max-width: 68ch; }
.prose > p + p { margin-top: 22px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 32px; }

.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.grid--bento { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--mist);
}
.breadcrumb__sep { color: var(--rule-strong); }

/* ============================================================
   COMPONENTS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.02em;
  color: var(--blue);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { border-color: var(--orange); color: var(--orange); }
.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn--primary:hover { background: #D9551A; border-color: #D9551A; color: #fff; }
.btn--ghost { border-color: var(--rule-strong); color: var(--blue); }
.btn--onblue { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--onblue:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--orange); transform: translateY(-2px); }
.card__label {
  font-family: var(--font-num);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.14em;
  color: var(--mist);
}
.card__title { font-family: var(--font-head); font-size: 20px; line-height: 28px; font-weight: 800; color: var(--blue); }
.card__meta { font-size: 14px; line-height: 23px; color: var(--mist); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tag--orange { background: var(--orange-soft); color: var(--orange-ink); }
.tag--teal { background: var(--teal-soft); color: var(--teal-ink); }
.tag--line { border: 1px solid var(--rule); color: var(--mist); }

/* ---------- image frame (页面阶段放截图 / 城市光影) ---------- */
.image-frame {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.image-frame--wide img { aspect-ratio: 21 / 9; }
.image-frame--tall img { aspect-ratio: 4 / 5; }
.image-frame--slant { clip-path: polygon(0 0, 100% 2.5%, 100% 100%, 0 97.5%); }
.image-frame__caption {
  padding: 10px 14px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  line-height: 20px;
  color: var(--mist);
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  :root { --gutter: 40px; }
  .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .col-3, .col-4 { grid-column: span 4; }
  .col-6, .col-8 { grid-column: span 8; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .masthead__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "utility" "status";
    gap: 14px;
    padding: 20px var(--gutter) 16px;
  }
  .masthead__utility { grid-area: utility; justify-content: center; }
  .masthead__status { grid-area: status; justify-content: center; }
  .brand__name { font-size: 26px; letter-spacing: 0.1em; }

  .nav-toggle { display: inline-flex; }
  .site-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .site-nav__list { flex-wrap: nowrap; width: max-content; padding-right: 24px; }
  .site-nav[data-open] .site-nav__list { flex-wrap: wrap; width: 100%; padding-right: 0; }
  .site-nav[data-open] { overflow-x: visible; }
  .site-nav[data-open] .site-nav__link { padding: 12px 12px; }
  .site-nav[data-open] .site-nav__link[aria-current="page"]::after { left: 12px; right: 12px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --gap: 16px; }
  body { font-size: 16px; line-height: 28px; }
  p { font-size: 16px; line-height: 28px; }
  .lead { font-size: 17px; line-height: 28px; }
  h3 { font-size: 21px; line-height: 30px; }
  .section { padding: 44px 0; }
  .site-footer { margin-top: 56px; }
  .footer__inner { padding: 40px var(--gutter) 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 26px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-3, .col-4, .col-6, .col-8 { grid-column: span 2; }
  .card { padding: 20px; }
  .btn { width: 100%; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card:hover { transform: none; }
}
