/* ==========================================================================
   柒点建设（河南）有限公司 · 官方网站
   Design system / global styles
   ========================================================================== */

:root {
  --ink: #0E141A;
  --ink-2: #161F27;
  --ink-3: #22303B;
  --gold: #B08A4F;
  --gold-2: #C9A96E;
  --gold-3: #E4D2AC;
  --paper: #F7F5F1;
  --paper-2: #EFEBE3;
  --white: #FFFFFF;
  --muted: #6C757D;
  --muted-2: #98A0A8;
  --line: #E3DED4;
  --line-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 10px rgba(14, 20, 26, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(14, 20, 26, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(14, 20, 26, 0.45);
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
.brand__mark picture, .footer-brand__mark picture, .cert-card__img picture { width: 100%; height: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--gold-2); color: #fff; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #EDEDEA; }
.section--ink .sec-title, .section--ink h2, .section--ink h3 { color: #fff; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: 0.01em; }
h1 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.22; }
h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.32; }
h3 { font-size: 20px; line-height: 1.5; }
p { margin: 0 0 1em; }
.lead { font-size: 17px; color: #3C4750; line-height: 1.95; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: .7; }
.section--ink .eyebrow { color: var(--gold-2); }

.sec-head { margin-bottom: 54px; max-width: 760px; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p { color: var(--muted); margin: 0; }

.sec-head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; max-width: none; flex-wrap: wrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 28px; border: 1px solid transparent;
  font-size: 14px; letter-spacing: 0.06em; cursor: pointer;
  transition: all .35s var(--ease); background: none; white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: #9C7841; border-color: #9C7841; }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-3); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--gold); border-color: var(--gold); }
.btn--line { border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--line);
  padding-bottom: 4px; transition: all .3s var(--ease);
}
.link-arrow:hover { color: var(--gold); border-color: var(--gold); gap: 14px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(255, 255, 255, .12); opacity: 1; transition: opacity .3s;
}
.site-header.is-solid, .site-header.is-scrolled {
  background: rgba(14, 20, 26, .94);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 18px 40px -30px rgba(0, 0, 0, .8);
}
.site-header.is-solid::after, .site-header.is-scrolled::after { opacity: 0; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; transition: height .4s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 72px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 44px; height: 44px; flex: none; border-radius: 3px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .35);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__cn {
  font-family: var(--serif); font-size: 21px; letter-spacing: 0.14em;
  color: #fff; font-weight: 600;
}
.brand__en {
  font-size: 9px; letter-spacing: 0.3em; color: var(--gold-2);
  margin-top: 6px; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 14.5px; color: rgba(255, 255, 255, .82);
  letter-spacing: 0.04em; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: #fff; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25);
  background: none; border-radius: 2px; position: relative; cursor: pointer;
}
.burger i {
  position: absolute; left: 12px; width: 20px; height: 1.5px; background: #fff;
  transition: all .35s var(--ease);
}
.burger i:nth-child(1) { top: 16px; }
.burger i:nth-child(2) { top: 22px; }
.burger i:nth-child(3) { top: 28px; }
body.nav-open .burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .burger i:nth-child(2) { opacity: 0; }
body.nav-open .burger i:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 85; background: var(--ink);
  padding: 110px 32px 40px; display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .5s var(--ease);
  visibility: hidden;
}
body.nav-open .drawer { transform: translateY(0); visibility: visible; }
.drawer a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--serif); font-size: 24px; color: #fff;
}
.drawer a small { font-family: var(--sans); font-size: 11px; color: var(--gold-2); letter-spacing: .2em; }
.drawer__foot { margin-top: auto; color: rgba(255, 255, 255, .6); font-size: 13px; line-height: 2; }
.drawer__foot b { color: #fff; font-weight: 500; }
.drawer__foot a {
  display: inline; padding: 0; border: 0; font-family: var(--sans);
  font-size: 13px; color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  padding: 150px 0 0; overflow: hidden; color: #fff; background: var(--ink);
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../img/hero.jpg") center 40% / cover no-repeat;
  background-image: image-set(url("../img/hero.d1d924293d03.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg"));
  transform: scale(1.04); animation: heroIn 2.4s var(--ease) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(9, 13, 17, .94) 0%, rgba(9, 13, 17, .78) 42%, rgba(9, 13, 17, .34) 78%, rgba(9, 13, 17, .5) 100%),
    linear-gradient(to top, rgba(9, 13, 17, .96) 0%, rgba(9, 13, 17, .1) 46%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 48px; }
.hero__inner { max-width: 780px; }
.hero .eyebrow { color: var(--gold-3); margin-bottom: 26px; }
.hero .eyebrow::before { background: var(--gold-3); }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 em {
  font-style: normal; color: var(--gold-3); display: block;
  font-size: 0.62em; letter-spacing: 0.08em; margin-top: 14px; font-weight: 400;
}
.hero__desc {
  color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.95;
  max-width: 620px; margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats {
  position: relative; z-index: 2; margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stats div {
  padding: 26px 24px 30px; border-right: 1px solid rgba(255, 255, 255, .12);
}
.hero__stats div:first-child { padding-left: 0; }
.hero__stats div:last-child { border-right: 0; }
.hero__stats b {
  display: block; font-family: var(--serif); font-size: 34px; color: var(--gold-3);
  font-weight: 600; line-height: 1.1;
}
.hero__stats b small { font-family: var(--sans); font-size: 13px; margin-left: 5px; color: rgba(255, 255, 255, .7); }
.hero__stats span { font-size: 12.5px; color: rgba(255, 255, 255, .58); letter-spacing: .08em; }

.hero__scroll {
  position: absolute; right: 34px; bottom: 140px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .3em; color: rgba(255, 255, 255, .55);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 60px; background: linear-gradient(to bottom, var(--gold-2), transparent);
  animation: scrollLine 2.4s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* page banner (inner pages) */
.banner {
  position: relative; padding: 190px 0 88px; background: var(--ink); color: #fff;
  overflow: hidden;
}
.banner__bg {
  position: absolute; inset: 0;
  background: url("../img/about.jpg") center/cover no-repeat;
  background-image: image-set(url("../img/about.86b97acbcc4a.webp") type("image/webp"), url("../img/about.jpg") type("image/jpeg")); opacity: .26;
  filter: grayscale(30%);
}
.banner__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(9, 13, 17, .96) 12%, rgba(9, 13, 17, .62) 60%, rgba(9, 13, 17, .9) 100%);
}
.banner .wrap { position: relative; z-index: 2; }
.banner .eyebrow { color: var(--gold-2); margin-bottom: 18px; }
.banner h1 { font-size: clamp(30px, 4vw, 46px); color: #fff; margin-bottom: 14px; }
.banner p { color: rgba(255, 255, 255, .62); max-width: 640px; margin: 0; font-size: 15px; }
.crumb {
  margin-top: 34px; font-size: 12px; color: rgba(255, 255, 255, .45);
  letter-spacing: .06em; display: flex; gap: 10px; align-items: center;
}
.crumb a:hover { color: var(--gold-2); }
.crumb span { opacity: .5; }

/* ==========================================================================
   404
   ========================================================================== */
.nf {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  padding: 160px 0 120px; background: var(--ink); color: #fff;
  overflow: hidden; text-align: center;
}
.nf__bg {
  position: absolute; inset: 0;
  background: url("../img/about.jpg") center/cover no-repeat;
  background-image: image-set(url("../img/about.86b97acbcc4a.webp") type("image/webp"), url("../img/about.jpg") type("image/jpeg"));
  opacity: .16; filter: grayscale(60%);
}
.nf::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 92% at 50% 38%, rgba(9, 13, 17, .74), rgba(9, 13, 17, .97) 70%);
}
.nf .wrap { position: relative; z-index: 2; }
.nf .eyebrow { color: var(--gold-2); margin-bottom: 0; }
.nf__code {
  font-family: var(--serif); font-size: clamp(96px, 17vw, 186px); line-height: .88;
  letter-spacing: .04em; margin: 20px 0 24px;
  color: rgba(201, 169, 110, .13);
  -webkit-text-stroke: 1px rgba(201, 169, 110, .5);
}
.nf h1 { font-size: clamp(23px, 3vw, 33px); color: #fff; margin-bottom: 18px; }
.nf p {
  color: rgba(255, 255, 255, .58); max-width: 560px; margin: 0 auto 40px;
  font-size: 15px; line-height: 1.95;
}
.nf__acts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nf__links {
  margin-top: 46px; display: flex; gap: 12px; justify-content: center;
  align-items: center; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .3);
}
.nf__links a { color: rgba(255, 255, 255, .62); padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nf__links a:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { background: var(--ink-2); color: rgba(255, 255, 255, .72); }
.trust .wrap {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 20px;
}
.trust__item {
  display: flex; align-items: baseline; gap: 10px;
  padding: 4px 30px; font-size: 12.5px; letter-spacing: .04em;
  border-left: 1px solid rgba(255, 255, 255, .1);
}
.trust__item:first-child { padding-left: 0; border-left: 0; }
.trust__item b { color: rgba(255, 255, 255, .95); font-weight: 500; letter-spacing: .06em; }
.trust__item i {
  font-style: normal; font-size: 10px; letter-spacing: .18em; color: var(--gold-2);
  text-transform: uppercase;
}
.trust__more { margin-left: auto; color: var(--gold-2); font-size: 12.5px; display: inline-flex; gap: 6px; align-items: center; }
.trust__more svg { width: 12px; height: 12px; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center;
}
.about-figure { position: relative; }
.about-figure img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.about-figure__badge {
  position: absolute; right: -28px; bottom: -28px; background: var(--ink); color: #fff;
  padding: 26px 30px; min-width: 190px; box-shadow: var(--shadow-md);
}
.about-figure__badge b {
  display: block; font-family: var(--serif); font-size: 30px; color: var(--gold-3); line-height: 1.1;
}
.about-figure__badge span { font-size: 12px; color: rgba(255, 255, 255, .6); letter-spacing: .08em; }
.about-figure::before {
  content: ""; position: absolute; left: -26px; top: -26px; width: 120px; height: 120px;
  border-left: 1px solid var(--gold-2); border-top: 1px solid var(--gold-2); opacity: .6;
}
.about-copy .sec-head { margin-bottom: 26px; }
.about-copy p { color: #414D56; }
.about-points { margin: 34px 0 38px; display: grid; gap: 0; }
.about-points li {
  list-style: none; display: flex; gap: 18px; padding: 18px 0;
  border-top: 1px solid var(--line);
}
.about-points li:last-child { border-bottom: 1px solid var(--line); }
.about-points b {
  font-family: var(--serif); color: var(--gold); font-size: 13px; letter-spacing: .1em;
  flex: none; width: 26px; padding-top: 2px;
}
.about-points strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.about-points span { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   Business cards
   ========================================================================== */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.biz-card {
  position: relative; display: block; background: var(--ink); overflow: hidden;
  isolation: isolate; color: #fff;
}
.biz-card__img { aspect-ratio: 4 / 3.1; overflow: hidden; }
.biz-card__img img {
  width: 100%; height: 100%; object-fit: cover; opacity: .82;
  transition: transform 1.1s var(--ease), opacity .6s;
}
.biz-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(9, 13, 17, .96) 6%, rgba(9, 13, 17, .55) 48%, rgba(9, 13, 17, .06) 100%);
  transition: opacity .5s;
}
.biz-card:hover .biz-card__img img { transform: scale(1.06); opacity: 1; }
.biz-card__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 26px 28px;
}
.biz-card__tag {
  display: inline-block; font-size: 11px; letter-spacing: .14em; color: var(--gold-3);
  border: 1px solid rgba(228, 210, 172, .45); padding: 3px 9px; margin-bottom: 12px;
}
.biz-card h3 { color: #fff; font-size: 19px; margin-bottom: 6px; letter-spacing: .04em; }
.biz-card p {
  font-size: 13px; color: rgba(255, 255, 255, .62); margin: 0; line-height: 1.7;
  max-height: 0; opacity: 0; overflow: hidden; transition: all .45s var(--ease);
}
.biz-card:hover p { max-height: 80px; opacity: 1; margin-top: 8px; }
.biz-card__no {
  position: absolute; top: 18px; right: 20px; z-index: 2; font-family: var(--serif);
  font-size: 13px; color: rgba(255, 255, 255, .5); letter-spacing: .1em;
}

/* ==========================================================================
   Qualifications / certificates
   ========================================================================== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-card {
  background: #fff; border: 1px solid var(--line); padding: 14px 14px 0;
  cursor: zoom-in; transition: all .4s var(--ease); text-align: left;
  display: flex; flex-direction: column;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-2); }
.cert-card__img {
  aspect-ratio: 5 / 7; overflow: hidden; background: #fff; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.cert-card__img img {
  width: 100%; height: 100%; object-fit: contain; background: #fff;
  transition: transform .8s var(--ease);
}
.cert-card:hover .cert-card__img img { transform: scale(1.03); }
.cert-card__zoom {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(14, 20, 26, .5); opacity: 0; transition: opacity .35s;
}
.cert-card:hover .cert-card__zoom { opacity: 1; }
.cert-card__zoom span {
  color: #fff; font-size: 12px; letter-spacing: .14em; border: 1px solid rgba(255, 255, 255, .5);
  padding: 8px 16px;
}
.cert-card__body { padding: 16px 4px 18px; }
.cert-card__body b { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.cert-card__body span { font-size: 12px; color: var(--muted); letter-spacing: .02em; }

.cert-detail {
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.cert-block {
  background: none; border: 0; border-top: 1px solid var(--line);
  padding: 40px 0; display: grid; grid-template-columns: 210px 1fr; gap: 48px; align-items: start;
}
.cert-block:first-child { border-top: 0; padding-top: 0; }
.cert-block__thumb {
  border: 1px solid var(--line); padding: 6px; background: #fff; cursor: zoom-in;
  box-shadow: var(--shadow-sm); transition: box-shadow .35s, border-color .35s;
}
.cert-block__thumb:hover { box-shadow: var(--shadow-md); border-color: var(--gold-2); }
.cert-block__thumb img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; background: #fff; }
.cert-block h3 { font-size: 19px; margin-bottom: 4px; }
.cert-block .cert-no { font-size: 12px; color: var(--gold); letter-spacing: .06em; margin-bottom: 18px; }
.spec-list {
  margin: 0; font-size: 13.5px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-content: start;
}
.spec-list div {
  display: flex; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line);
}
.spec-list dt { flex: none; width: 78px; color: var(--muted); margin: 0; }
.spec-list dd { margin: 0; color: #2A343C; }

.qual-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.qual-list div {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.qual-list em {
  font-style: normal; font-size: 12px; color: #8A6A33; border: 1px solid rgba(176, 138, 79, .5);
  padding: 3px 11px; white-space: nowrap; background: rgba(176, 138, 79, .05);
}

.notice-box {
  border-left: 2px solid var(--gold); background: #fff; padding: 26px 30px;
  font-size: 13.5px; color: #4B565E;
}
.notice-box b { color: var(--ink); }

/* ==========================================================================
   News list
   ========================================================================== */
.news-head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: 30px;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line); background: transparent; padding: 8px 18px;
  font-size: 13px; color: var(--muted); cursor: pointer; transition: all .3s;
}
.tab:hover { border-color: var(--gold-2); color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.news-list { border-top: 1px solid var(--line); }
.news-row {
  display: grid; grid-template-columns: 96px 92px 1fr 24px; gap: 24px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: background .35s, padding .35s; cursor: pointer;
}
.news-row:hover { background: #fff; padding-left: 18px; }
.news-row:hover .news-row__title { color: var(--gold); }
.news-row__date { font-family: var(--serif); color: var(--ink); }
.news-row__date b { display: block; font-size: 26px; line-height: 1; font-weight: 600; }
.news-row__date span { font-size: 11px; color: var(--muted-2); letter-spacing: .08em; }
.news-row__cat {
  font-size: 11px; letter-spacing: .1em; color: var(--gold);
  border: 1px solid rgba(176, 138, 79, .28); padding: 3px 0; text-align: center;
}
.news-row__title { font-size: 16px; font-weight: 500; transition: color .3s; }
.news-row__title small {
  display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-row__arrow { color: var(--muted-2); }
.news-row__arrow svg { width: 16px; height: 16px; }

.news-empty { padding: 60px 0; text-align: center; color: var(--muted-2); font-size: 14px; }

/* news card style (home) */
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff; border: 1px solid var(--line); padding: 30px 30px 28px;
  display: flex; flex-direction: column; transition: all .4s var(--ease); cursor: pointer;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-2); }
.news-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.news-card__cat { font-size: 11px; letter-spacing: .12em; color: var(--gold); }
.news-card__dot { width: 3px; height: 3px; background: var(--line); border-radius: 50%; }
.news-card__date { font-size: 12px; color: var(--muted-2); }
.news-card h3 { font-size: 17px; line-height: 1.55; margin-bottom: 12px; }
.news-card p { font-size: 13px; color: var(--muted); margin: 0 0 24px; line-height: 1.8; }
.news-card__more {
  margin-top: auto; font-size: 12px; color: var(--gold); letter-spacing: .1em;
  display: inline-flex; align-items: center; gap: 7px;
}
.news-card__more svg { width: 13px; height: 13px; }

/* ==========================================================================
   Why us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.why-item {
  padding: 0 32px; border-left: 1px solid rgba(255, 255, 255, .12);
}
.why-item:first-child { padding-left: 0; border-left: 0; }
.why-item b {
  display: block; font-family: var(--serif); font-size: 13px; color: var(--gold-2);
  letter-spacing: .18em; margin-bottom: 18px;
}
.why-item h3 { font-size: 18px; color: #fff; margin-bottom: 12px; }
.why-item p { font-size: 13.5px; color: rgba(255, 255, 255, .58); margin: 0; line-height: 1.85; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: p; }
.process__item {
  position: relative; padding: 30px 26px 0 0; border-top: 1px solid var(--line);
}
.process__item::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .6s var(--ease);
}
.process__item:hover::before { width: 100%; }
.process__item b {
  font-family: var(--serif); font-size: 12px; color: var(--gold); letter-spacing: .16em;
  display: block; margin-bottom: 14px; padding-top: 16px;
}
.process__item h3 { font-size: 16px; margin-bottom: 8px; }
.process__item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding: 96px 0;
}
.cta__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .3;
}
.cta__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 13, 17, .96), rgba(9, 13, 17, .72) 70%, rgba(9, 13, 17, .9));
}
.cta .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .6); margin: 0; font-size: 14.5px; }
.cta__side { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0A0F14; color: rgba(255, 255, 255, .55); padding: 72px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer-brand__mark { width: 46px; height: 46px; overflow: hidden; border-radius: 3px; }
.footer-brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand > span:last-child { display: flex; flex-direction: column; }
.footer-brand__cn { display: block; font-family: var(--serif); font-size: 19px; color: #fff; letter-spacing: .12em; }
.footer-brand__en { display: block; font-size: 9px; letter-spacing: .28em; color: var(--gold-2); margin-top: 5px; }
.site-footer p { font-size: 13px; line-height: 1.95; }
.footer-col h4 {
  font-family: var(--sans); font-size: 12px; letter-spacing: .18em; color: #fff;
  margin-bottom: 20px; font-weight: 600;
}
.footer-col a, .footer-col li { display: block; font-size: 13px; line-height: 2.2; color: rgba(255, 255, 255, .55); }
.footer-col li a { display: inline; }
.footer-col a:hover { color: var(--gold-2); }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-code {
  font-size: 11.5px; color: rgba(255, 255, 255, .38); letter-spacing: .04em; line-height: 2.1;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-code b { color: rgba(255, 255, 255, .65); font-weight: 500; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-size: 12px; color: rgba(255, 255, 255, .34); flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--gold-2); }
.footer-wordmark {
  font-family: var(--serif); font-size: clamp(32px, 6vw, 90px); line-height: .9;
  color: rgba(255, 255, 255, .04); letter-spacing: .05em; text-align: center;
  padding: 6px 0 0; user-select: none; white-space: nowrap; overflow: hidden;
}

/* ==========================================================================
   Table (company info)
   ========================================================================== */
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.info-table th, .info-table td {
  text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  width: 190px; font-weight: 500; color: var(--muted); background: #FBFAF7;
  font-size: 13px; white-space: nowrap;
}
.info-table td { color: #232C34; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 64px; align-items: start; }
.contact-item { display: flex; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.contact-item__icon {
  width: 42px; height: 42px; flex: none; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item h4 {
  font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--muted);
  margin-bottom: 6px; font-weight: 500;
}
.contact-item p { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.8; }
.contact-item small { display: block; font-size: 12.5px; color: var(--muted-2); margin-top: 4px; }

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); padding: 38px 36px 34px; }
.contact-card__label { display: inline-block; font-size: 11px; letter-spacing: .2em; color: var(--gold); margin-bottom: 14px; }
.contact-card h3 { font-size: 20px; margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  position: relative; padding: 13px 0 13px 18px; border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--muted); line-height: 1.75;
}
.contact-list li:first-child { border-top: 0; }
.contact-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 7px; height: 1px; background: var(--gold); }
.contact-list b { color: var(--ink); font-weight: 500; margin-right: 8px; }
.contact-card__acts { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.contact-card__acts .btn { flex: 1 1 auto; justify-content: center; }
.contact-note { font-size: 12.5px; color: var(--muted-2); line-height: 1.85; margin: 0; }

.map-box {
  margin-top: 56px; border: 1px solid var(--line); background: #fff; padding: 12px;
}
.map-box iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(20%); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6, 9, 12, .94);
  display: flex; align-items: center; justify-content: center; padding: 56px 72px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6); transform: scale(.97);
  transition: transform .4s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; width: 48px; height: 48px; cursor: pointer; transition: all .3s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--gold-2); color: var(--gold-2); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; margin-top: -24px; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__cap {
  position: absolute; bottom: 24px; left: 0; right: 0; text-align: center;
  color: rgba(255, 255, 255, .6); font-size: 13px; letter-spacing: .08em;
}
.lightbox svg { width: 18px; height: 18px; }

/* modal for news */
.modal {
  position: fixed; inset: 0; z-index: 210; background: rgba(6, 9, 12, .72);
  display: flex; align-items: center; justify-content: center; padding: 40px 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  background: var(--paper); max-width: 760px; width: 100%; max-height: 84vh; overflow-y: auto;
  padding: 52px 56px; position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(12px); transition: transform .4s var(--ease);
}
.modal.is-open .modal__box { transform: translateY(0); }
.modal__close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px;
  border: 1px solid var(--line); background: none; cursor: pointer; color: var(--ink);
}
.modal__meta { font-size: 12px; color: var(--gold); letter-spacing: .12em; margin-bottom: 14px; }
.modal__box h2 { font-size: 26px; margin-bottom: 22px; line-height: 1.4; }
.modal__body { font-size: 15px; color: #3B464E; line-height: 2; }
.modal__body p { margin-bottom: 1.2em; }
.modal__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 1; }
.reveal.is-pending { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .wrap { padding: 0 26px; }
  .section { padding: 82px 0; }
  .about-grid { gap: 48px; }
  .biz-grid, .news-cards { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .why-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .process { grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__scroll { display: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-figure__badge { right: 0; bottom: -20px; }
  .cert-detail { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 74px 1fr 20px; gap: 16px; }
  .news-row__cat { display: none; }
  .hero { min-height: 88vh; padding-top: 120px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .hero__stats div:nth-child(2) { border-right: 0; }
  .hero__stats div { padding: 20px 16px 22px; }
  .hero__stats div:nth-child(3) { padding-left: 0; }
  .qual-list { grid-template-columns: 1fr; }
  .modal__box { padding: 38px 28px; }
  .lightbox { padding: 40px 16px; }
  .lightbox__nav { display: none; }
  .trust__item { padding: 4px 16px; font-size: 11.5px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .wrap { padding: 0 20px; }
  .section { padding: 62px 0; }
  .sec-head { margin-bottom: 34px; }
  .biz-grid, .news-cards, .cert-grid, .why-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process__item { padding: 24px 0; border-top: 1px solid var(--line); }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .header-inner { height: 72px; }
  .brand__cn { font-size: 18px; }
  .brand__en { font-size: 8px; }
  .about-figure__badge { padding: 20px 22px; min-width: 160px; }
  .cert-block { grid-template-columns: 1fr; padding: 24px; }
  .cert-block__thumb { max-width: 160px; }
  .footer-top { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .cta { padding: 62px 0; }
  .map-box iframe { height: 320px; }
  .info-table th { width: 110px; padding: 13px 14px; }
  .info-table td { padding: 13px 14px; }
}

/* ==========================================================================
   Business detail rows
   ========================================================================== */
.biz-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 60px 0; border-top: 1px solid var(--line);
}
.sec-head + .biz-detail { border-top: 0; padding-top: 8px; }
.biz-detail:nth-child(odd) .biz-detail__media { order: 2; }
.biz-detail__media { position: relative; overflow: hidden; }
.biz-detail__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.biz-detail:hover .biz-detail__media img { transform: scale(1.03); }
.biz-detail__no {
  font-family: var(--serif); font-size: 12px; color: var(--gold); letter-spacing: .2em;
}
.biz-detail h2 { font-size: clamp(21px, 2.5vw, 29px); margin: 14px 0 14px; line-height: 1.4; }
.biz-detail p { color: #46525B; font-size: 14.5px; }
.biz-detail ul {
  list-style: none; margin: 22px 0 0; padding: 0; display: grid;
  grid-template-columns: 1fr 1fr; gap: 0 24px;
}
.biz-detail li {
  position: relative; padding: 7px 0 7px 16px; font-size: 13.5px; color: var(--muted);
}
.biz-detail li::before {
  content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 1px; background: var(--gold);
}
.qual-chip {
  display: inline-block; margin-top: 22px; font-size: 11.5px; letter-spacing: .08em;
  color: var(--gold); border: 1px solid rgba(176, 138, 79, .32); padding: 5px 12px;
}

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--ink); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; opacity: .92; transition: transform 1s var(--ease), opacity .5s; }
.gallery figure:hover img { transform: scale(1.05); opacity: 1; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px 18px;
  font-size: 13px; color: #fff; letter-spacing: .04em;
  background: linear-gradient(to top, rgba(9, 13, 17, .88), transparent);
}
.gallery figcaption small { display: block; font-size: 11px; color: rgba(255, 255, 255, .55); margin-top: 3px; }
.fig-note { font-size: 12px; color: var(--muted-2); margin: 18px 0 0; }

@media (max-width: 900px) {
  .biz-detail { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .biz-detail:nth-child(odd) .biz-detail__media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .biz-card p { max-height: 80px; opacity: 1; margin-top: 8px; }
  .cert-block { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .cert-block__thumb { max-width: 190px; }
  .spec-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .biz-detail ul { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}

/* light-background variant of the 4-column grid */
.light-cols .why-item { border-left-color: var(--line); }
.light-cols .why-item b { color: var(--gold); }
.light-cols .why-item h3 { color: var(--ink); }
.light-cols .why-item p { color: var(--muted); }
.light-cols .why-item .link-arrow { border-bottom: 1px solid var(--line); color: var(--ink); }
.light-cols .why-item .link-arrow:hover { color: var(--gold); border-color: var(--gold); }

@media (max-width: 620px) {
  .trust .wrap { flex-direction: column; align-items: flex-start; gap: 4px; }
  .trust__item { padding: 2px 0; border-left: 0; display: block; }
  .trust__item i { display: inline-block; width: 66px; }
  .trust__more { margin-left: 0; margin-top: 8px; }
}

/* anchor offset for fixed header */
[id] { scroll-margin-top: 96px; }

/* contact card button hover (light background) */
.btn--line:hover { border-color: var(--gold); color: var(--gold); }

/* contact card button hover (light background) */
.btn--line:hover { border-color: var(--gold); color: var(--gold); }

/* ==========================================================================
   移动端修正（2026-10-17）
   1) 新闻行 grid 的 1fr 列默认 min-width:auto，会被 nowrap 的摘要撑宽 → 整页横向溢出
   2) 工商信息表在 360px 下 th 固定 190px 会超出 2px → 小屏改为上下堆叠
   ========================================================================== */
.news-row__title { min-width: 0; }
.news-row__date, .news-row__cat { min-width: 0; }

@media (max-width: 620px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table tr { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .info-table tr:last-child { border-bottom: 0; }
  .info-table th {
    width: auto; background: none; border: 0; padding: 0 0 5px;
    font-size: 12px; letter-spacing: .08em; white-space: normal;
  }
  .info-table td { border: 0; padding: 0; font-size: 14px; line-height: 1.8; word-break: break-word; }

  /* 触控区放大：页脚导航与面包屑 */
  .footer-nav a { padding: 6px 0; }
  .crumb a { padding: 6px 0; display: inline-block; }
}

/* 证照缩略图在窄屏放大，避免小图配大片留白 */
@media (max-width: 900px) { .cert-block__thumb { max-width: 300px; } }
@media (max-width: 620px) { .cert-block__thumb { max-width: 100%; } }

/* 证照缩略图在窄屏放大，避免小图配大片留白 */
@media (max-width: 900px) { .cert-block__thumb { max-width: 300px; } }
@media (max-width: 620px) { .cert-block__thumb { max-width: 100%; } }

/* 证照详情缩略图：按原图比例完整显示（不裁切、不留大片白） */
.cert-block__thumb img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
@media (max-width: 620px) {
  .cert-block__thumb { max-width: 100%; }
  .cert-block__thumb img { aspect-ratio: auto; height: auto; width: 100%; }
}

/* 证照详情缩略图：按原图比例完整显示（不裁切、不留大片白） */
.cert-block__thumb img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
@media (max-width: 620px) {
  .cert-block__thumb { max-width: 100%; }
  .cert-block__thumb img { aspect-ratio: auto; height: auto; width: 100%; }
}

/* ==========================================================================
   公告详情页（news/<id>.html）
   ========================================================================== */
/* 卡片与列表行改为 <a>，保持原视觉 */
a.news-card, a.news-row { color: inherit; text-decoration: none; }
a.news-card:focus-visible, a.news-row:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.post-head {
  position: relative; background: var(--ink); color: #fff;
  padding: 156px 0 66px; overflow: hidden;
}
.post-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 169, 110, .45), transparent);
}
.post-head .crumb { color: rgba(255, 255, 255, .45); margin: 0 0 28px; }
.post-head .crumb a { color: rgba(255, 255, 255, .62); }
.post-head .crumb a:hover { color: var(--gold-2); }
.post-head__cat { display: inline-block; margin-bottom: 16px; color: var(--gold-2); }
.post-head h1 {
  font-family: var(--serif); font-size: clamp(24px, 3.1vw, 37px); line-height: 1.48;
  color: #fff; letter-spacing: .01em; max-width: 26em; text-wrap: balance;
}
.post-head__lead {
  margin: 22px 0 0; font-size: 15px; color: rgba(255, 255, 255, .66);
  line-height: 1.9; max-width: 46em;
}

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.post { min-width: 0; }
.post__body { font-size: 15.5px; color: #37424A; line-height: 2.05; }
.post__body p { margin: 0 0 1.25em; }
.post__body p:first-child { color: var(--ink); }
.post__body p:last-child { margin-bottom: 0; }

.post-nav {
  margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px;
  border-top: 1px solid var(--line); padding-top: 8px;
}
.post-nav__item { padding: 18px 0; border-bottom: 1px solid var(--line); display: block; color: var(--ink); }
.post-nav__item small { display: block; font-size: 11px; letter-spacing: .14em; color: var(--gold); margin-bottom: 6px; }
.post-nav__item b { font-weight: 500; font-size: 14px; line-height: 1.6; display: block; transition: color .3s; }
.post-nav__item:hover b { color: var(--gold); }
.post-nav__item--next { text-align: right; }
.post-nav__back {
  grid-column: 1 / -1; margin-top: 22px; font-size: 12.5px; color: var(--muted);
  letter-spacing: .08em; border-bottom: 1px solid var(--line); justify-self: start; padding-bottom: 4px;
}
.post-nav__back:hover { color: var(--gold); border-color: var(--gold); }

.post-aside { border-left: 1px solid var(--line); padding-left: 32px; }
.post-aside h4 { font-size: 12px; letter-spacing: .16em; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.post-aside__item { display: block; padding: 16px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.post-aside__item small { display: block; font-size: 11.5px; color: var(--muted-2); letter-spacing: .04em; margin-bottom: 6px; }
.post-aside__item b { font-weight: 400; font-size: 13.5px; line-height: 1.65; display: block; transition: color .3s; }
.post-aside__item:hover b { color: var(--gold); }
.post-aside__all { display: inline-block; margin-top: 18px; font-size: 12.5px; color: var(--gold); letter-spacing: .06em; }

@media (max-width: 900px) {
  .post-head { padding: 112px 0 40px; }
  .post-layout { grid-template-columns: 1fr; gap: 44px; }
  .post-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
}
@media (max-width: 620px) {
  .post-nav { grid-template-columns: 1fr; gap: 0; }
  .post-nav__item--next { text-align: left; }
}
.post-nav__item--empty { border-bottom: 0; }
@media (max-width: 620px) { .post-nav__item--empty { display: none; } }

/* Smaller background images on mobile; desktop keeps its original framing. */
@media (max-width: 700px) {
  .hero__bg { background-image: image-set(url("../img/hero-small.388e9a75c39e.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg")); }
  .banner__bg, .nf__bg { background-image: image-set(url("../img/about-small.63ed82a34d6a.webp") type("image/webp"), url("../img/about.jpg") type("image/jpeg")); }
}
