﻿/* ============================================================
   Prototype A — Unified site, Steel + Copper
   Design system source: /DESIGN.md
   Self-hosted fonts (no CDN dependency, works offline)
   ============================================================ */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/jiumi/general-sans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/jiumi/general-sans-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/jiumi/general-sans-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/jiumi/general-sans-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jiumi/jetbrains-mono-400.woff2') format('woff2');
  font-weight: 400 500; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --anchor: #0E1B2E;
  --anchor-2: #1B2A44;
  --surface: #F6F4F0;
  --surface-2: #EDEAE2;
  --ink: #0E1B2E;
  --ink-2: #3A4658;
  --ink-3: #6E7785;
  --line: #D9D4C8;
  --accent: #B45A1E;
  --accent-2: #8C4515;
  --success: #2F7D4F;
  --warning: #C68A1E;
  --danger:  #B23A2A;

  --font-en: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-zh: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --max-w: 1280px;
  --max-w-wide: 1584px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
  --t-micro: 120ms;
  --t-short: 200ms;
  --t-medium: 320ms;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-size: 16px !important; }
body {
  font-family: var(--font-zh), var(--font-en);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:lang(en) body, .lang-en {
  font-family: var(--font-en), var(--font-zh);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-micro) var(--ease-out); }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.container {
  width: 100% !important;
  max-width: var(--max-w-wide) !important;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.display {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); }
h3 { font-size: 1.375rem; font-weight: 500; }

p { margin: 0 0 1em 0; color: var(--ink-2); }
.lead { font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Utility bar (top) ---------- */
.utility-bar {
  background: var(--anchor);
  color: rgba(246, 244, 240, 0.85);
  font-size: 0.8125rem;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.utility-bar .left { display: flex; gap: 16px; align-items: center; }
.utility-bar .right { display: flex; gap: 20px; align-items: center; }
.utility-bar a:hover { color: #fff; }
.lang-switch { display: inline-flex; gap: 6px; align-items: center; }
.lang-switch .active { color: #fff; font-weight: 500; }
.lang-switch .sep { color: rgba(246, 244, 240, 0.4); }

/* ---------- Header (nav) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  height: 72px;
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 36px;
  height: 36px;
  background: var(--anchor);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}
.brand .brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
}
.brand .name { white-space: nowrap; }
.brand .sub { color: var(--ink-3); font-size: 0.75rem; font-weight: 400; }

.nav-primary { display: flex; gap: 32px; }
.nav-primary a {
  font-size: 0.9375rem;
  color: var(--ink-2);
  padding: 8px 0;
  position: relative;
}
.nav-primary a:hover, .nav-primary a.current { color: var(--ink); }
.nav-primary a.current::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

.header-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--t-short) var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--anchor); color: var(--ink); }
.btn-dark { background: var(--anchor); color: var(--surface); }
.btn-dark:hover { background: var(--anchor-2); color: var(--surface); }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }

@media (max-width: 960px) {
  .nav-primary { display: none; }
  .header-cta .btn:not(.btn-primary) { display: none; }
  .menu-toggle { display: block; }
  /* Hamburger opens the nav as a dropdown panel under the sticky header */
  .site-header.nav-open .nav-primary {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(14, 27, 46, 0.14);
    padding: 8px 0;
  }
  .site-header.nav-open .nav-primary a { padding: 14px 24px; }
  .site-header.nav-open .nav-primary a.current::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 764px;
  display: flex;
  align-items: flex-end;
  color: var(--surface);
  overflow: hidden;
  background: var(--anchor);
}
.hero .bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/jiumi/hero-a-machinist.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(0.7);
  animation: hero-fade 320ms var(--ease-out);
}
.hero .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(14, 27, 46, 0.45) 0%,
    rgba(14, 27, 46, 0.55) 40%,
    rgba(14, 27, 46, 0.85) 100%);
}
.hero .container { position: relative; padding-top: 120px; padding-bottom: 80px; width: 100%; }
.hero .eyebrow { color: rgba(180, 90, 30, 1); }
.hero .display { max-width: 880px; color: #fff; margin-top: 16px; }
.hero .attribution {
  display: flex; align-items: center; gap: 12px;
  margin-top: 32px;
  font-size: 0.9375rem;
  color: rgba(246, 244, 240, 0.85);
}
.hero .attribution .divider { width: 32px; height: 1px; background: var(--accent); }
.hero .actions { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.hero .actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero .actions .btn-ghost:hover { border-color: #fff; }
.hero .hero-brands {
  position: absolute;
  z-index: 2;
  top: 40px;
  right: max(32px, calc((100% - var(--max-w)) / 2 + 32px));
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero .hero-brands .hb {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(246, 244, 240, 0.85);
  white-space: nowrap;
}
.hero .hero-brands .hb + .hb { position: relative; }
.hero .hero-brands .hb + .hb::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(246, 244, 240, 0.3);
}
@media (max-width: 768px) {
  .hero .hero-brands { display: none; }
}

@keyframes hero-fade {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- Authorized brand wall ---------- */
.brand-wall {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}
.brand-wall .label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 32px;
}
.brand-wall .logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.brand-wall .logo {
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  white-space: nowrap;
  filter: grayscale(1);
  transition: color var(--t-short) var(--ease-out), filter var(--t-short) var(--ease-out);
  text-align: center;
  flex: 1;
}
.brand-wall .logo:hover { color: var(--ink); filter: grayscale(0); }
.brand-wall .logo .sub {
  display: block;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .brand-wall .logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ---------- Section base ---------- */
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .title { color: var(--anchor); }
.section-head .desc { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.55; }
@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Service cards (three businesses) ---------- */
.services { background: var(--surface); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 768px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--surface);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: background var(--t-short) var(--ease-out);
}
.service-card:hover { background: var(--surface-2); }
.service-card .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--anchor);
  margin-bottom: 16px;
}
.service-card .entity {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.service-card p { flex: 1; color: var(--ink-2); }
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9375rem;
  margin-top: 24px;
}
.service-card .more::after {
  content: '→';
  transition: transform var(--t-short) var(--ease-out);
}
.service-card:hover .more::after { transform: translateX(4px); }

/* ---------- Industries grid ---------- */
.industries { background: var(--surface-2); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 960px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
.industry {
  background: var(--surface);
  padding: 28px 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.industry:hover { background: var(--surface-2); }
.industry .name {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--anchor);
}
.industry .scope { font-size: 0.875rem; color: var(--ink-3); margin-top: 4px; }
.industry .meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ---------- Cases ---------- */
.cases { background: var(--surface); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 960px) { .case-grid { grid-template-columns: 1fr; } }
.case-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.case-gallery .img {
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
  background-size: cover;
  background-position: center;
  margin-bottom: 0;
}
@media (max-width: 560px) { .case-gallery { grid-template-columns: 1fr 1fr; } }
.case {
  display: flex;
  flex-direction: column;
}
.case .img {
  aspect-ratio: 16 / 10;
  background: var(--ink-3);
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}
.case .tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.case h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--anchor); }
.case .outcome { font-size: 0.9375rem; color: var(--ink-2); }

/* Featured cases: stacked rows, photos+text side by side, alternating */
.case-grid--pair { grid-template-columns: minmax(0, 1080px); justify-content: center; row-gap: 72px; }
.case.case--feature { display: grid; grid-template-columns: 7fr 5fr; gap: 44px; align-items: center; }
.case--feature .case-gallery { margin-bottom: 0; }
.case--flip .case-gallery { order: 2; }
.case-gallery.case-gallery--mosaic { grid-template-columns: 5fr 3fr; grid-template-rows: repeat(2, 1fr); aspect-ratio: 3 / 2; }
.case-gallery--mosaic .img { aspect-ratio: auto; height: 100%; min-height: 0; }
.case-gallery--mosaic .img--lead { grid-row: 1 / 3; }
@media (max-width: 960px) {
  .case.case--feature { grid-template-columns: 1fr; gap: 20px; }
  .case--flip .case-gallery { order: 0; }
}
.case .year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 12px;
}

/* ---------- Heritage strip ---------- */
.heritage {
  background: var(--anchor);
  color: var(--surface);
}
.heritage .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .heritage .container { grid-template-columns: 1fr; gap: 32px; }
}
.heritage .year {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.heritage .year-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(246, 244, 240, 0.7);
  margin-top: 12px;
  letter-spacing: 0.05em;
}
.heritage h2 { color: #fff; max-width: 580px; margin-bottom: 16px; }
.heritage p { color: rgba(246, 244, 240, 0.85); font-size: 1.0625rem; line-height: 1.6; }

/* ---------- News ---------- */
.news .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 960px) { .news .news-grid { grid-template-columns: 1fr; } }
.news .item {
  display: block;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.news .item .date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.news .item h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--anchor);
  line-height: 1.4;
  margin-bottom: 8px;
}
.news .item .excerpt { font-size: 0.9375rem; color: var(--ink-3); }

/* Two-type news: company (self-hosted) vs partner WeChat (link out) */
.news .news-group + .news-group { margin-top: 52px; }
.news .news-group-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 2px solid var(--anchor);
  padding-bottom: 10px;
  margin-bottom: 4px;
}
.news .news-group-label { font-size: 1rem; font-weight: 600; color: var(--anchor); }
.news .news-group-sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.news .item-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.news .item-meta .date { margin-bottom: 0; }
.news .item .tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  line-height: 1.7;
}
.news .item .tag--company { color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); }
.news .item .tag--partner { color: #fff; background: var(--accent); }
.news .item .tag--lang {
  color: var(--accent);
  background: rgba(180, 90, 30, 0.12);
  border: 1px solid rgba(180, 90, 30, 0.32);
}
.news .item--external h3 .ext-mark { color: var(--accent); font-weight: 600; margin-left: 4px; }
.news .item--external:hover h3 { color: var(--accent); }

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative;
  color: #fff;
  background:
    linear-gradient(115deg,
      rgba(14, 27, 46, 0.92) 0%,
      rgba(14, 27, 46, 0.74) 50%,
      rgba(180, 90, 30, 0.62) 100%),
    url('../img/jiumi/bg-automation-line.jpg');
  background-size: cover;
  background-position: center 35%;
}
.cta-strip .container {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .cta-strip .container { grid-template-columns: 1fr; gap: 24px; }
  .cta-strip {
    background:
      linear-gradient(180deg,
        rgba(14, 27, 46, 0.92) 0%,
        rgba(14, 27, 46, 0.82) 58%,
        rgba(180, 90, 30, 0.70) 100%),
      url('../img/jiumi/bg-automation-line.jpg');
    background-size: cover;
    background-position: center;
  }
}
.cta-strip h2 { color: #fff; max-width: 640px; }
.cta-strip p { color: rgba(255, 255, 255, 0.9); font-size: 1.0625rem; }
.cta-strip .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 768px) { .cta-strip .actions { justify-content: flex-start; } }
.cta-strip .btn-dark { background: var(--anchor); color: #fff; }
.cta-strip .btn-dark:hover { background: var(--anchor-2); }
.cta-strip .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-strip .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 0;
  background: var(--anchor);
  color: rgba(246, 244, 240, 0.75);
  padding: 64px 0 32px;
  font-size: 0.875rem;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) { .site-footer .container { grid-template-columns: 1fr 1fr; gap: 32px; } }
.site-footer h4 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .entity-list {
  color: rgba(246, 244, 240, 0.6);
  font-size: 0.875rem;
  line-height: 1.42857143;
}
.site-footer a:hover { color: #fff; }
.site-footer .entity {
  font-weight: 500;
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 12px;
  line-height: 1.5;
}
.site-footer .legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 244, 240, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(246, 244, 240, 0.55);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Inner page: About ---------- */
.page-hero {
  padding-top: 96px;
  padding-bottom: 64px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.page-hero .breadcrumb .accent { color: var(--accent); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--anchor); max-width: 880px; }
.page-hero .lead { margin-top: 24px; max-width: 760px; }
/* About page-hero: company front-desk photo behind a dark scrim */
.page-hero--photo { position: relative; overflow: hidden; border-bottom: 0; }
.page-hero--photo .bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/jiumi/boli-facility-1.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(0.75);
}
.page-hero--photo .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 27, 46, 0.6) 0%, rgba(14, 27, 46, 0.8) 100%);
}
.page-hero--photo .container { position: relative; }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo .lead { color: rgba(255, 255, 255, 0.85); }
.page-hero--photo .breadcrumb { color: rgba(255, 255, 255, 0.65); }
.page-hero--photo .breadcrumb a { color: rgba(255, 255, 255, 0.65); }
.page-hero--contact { position: relative; overflow: hidden; border-bottom: 0; background: var(--surface); }
.page-hero--contact .bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/jiumi/contact-hero-bg-v4.png');
  background-size: cover;
  background-position: center right;
}
.page-hero--contact .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 244, 236, 0.76) 0%, rgba(248, 244, 236, 0.54) 50%, rgba(248, 244, 236, 0.24) 100%);
}
.page-hero--contact .container { position: relative; }

.content-block { padding: 80px 0; }
.content-block + .content-block { padding-top: 0; }
.content-block .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}
@media (max-width: 768px) {
  .content-block .container { grid-template-columns: 1fr; gap: 24px; }
}
.content-block h2 {
  font-size: 1.5rem;
  color: var(--anchor);
  position: sticky;
  top: 96px;
  align-self: start;
}
.content-block .body p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
.content-block .body p + p { margin-top: 1em; }

.facts {
  background: var(--surface-2);
  padding: 80px 0;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 768px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } }
.fact {
  background: var(--surface);
  padding: 32px 24px;
  text-align: center;
}
.fact .num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.fact .label {
  font-size: 0.875rem;
  color: var(--ink-2);
  margin-top: 12px;
}

/* ---------- Products page ---------- */
.brand-section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.brand-section:nth-of-type(even) { background: var(--surface-2); }
.brand-section .brand-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  margin-bottom: 48px;
  align-items: end;
}
@media (max-width: 768px) {
  .brand-section .brand-head { grid-template-columns: 1fr; gap: 16px; }
}
.brand-section .brand-name {
  font-size: 2rem;
  font-weight: 600;
  color: var(--anchor);
  line-height: 1.15;
  margin: 0 0 8px 0;
}
.brand-section .brand-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.brand-section .brand-blurb {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product-card {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: background var(--t-short) var(--ease-out);
}
.product-card:hover { background: var(--surface-2); }
.product-card .img {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 20px;
}
.product-card .family {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.product-card h3 {
  font-size: 1.0625rem;
  color: var(--anchor);
  margin: 0 0 8px 0;
  line-height: 1.3;
  font-weight: 500;
}
.product-card .summary {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
  margin: 0 0 16px 0;
}
.product-card .more {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-card .more::after { content: '→'; transition: transform var(--t-short) var(--ease-out); }
.product-card:hover .more::after { transform: translateX(4px); }

/* ---------- Contact form ---------- */
.proto-contact-form-shell {
  max-width: 880px !important;
  margin: 0 auto !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  padding: 40px !important;
}
.proto-contact-form {
  display: grid;
  gap: 24px;
}
.proto-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.proto-contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--anchor);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.proto-contact-form input:not([type="hidden"]),
.proto-contact-form textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  outline: none;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-zh), var(--font-en);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color var(--t-short) var(--ease-out), box-shadow var(--t-short) var(--ease-out), background var(--t-short) var(--ease-out);
}
.proto-contact-form textarea {
  min-height: 144px;
  resize: vertical;
}
.proto-contact-form input::placeholder,
.proto-contact-form textarea::placeholder {
  color: var(--ink-3);
}
.proto-contact-form input:focus,
.proto-contact-form textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(180, 90, 30, 0.12);
}
.proto-contact-form .btn {
  justify-self: start;
  min-height: 52px;
  padding-inline: 24px;
}
.proto-feedback {
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.proto-feedback.success {
  border-color: rgba(47, 125, 79, 0.35);
  background: rgba(47, 125, 79, 0.08);
  color: var(--success);
}
.proto-feedback.error {
  border-color: rgba(178, 58, 42, 0.35);
  background: rgba(178, 58, 42, 0.08);
  color: var(--danger);
}
@media (max-width: 768px) {
  .proto-contact-form-shell { padding: 28px 20px !important; }
  .proto-contact-form__row { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Misc ---------- */
.divider { width: 48px; height: 2px; background: var(--accent); margin: 0 0 24px 0; }

/* ---------- Placeholder markers ----------
   Near-final review build. A's hero and case photos are real Boli
   shots, so they carry no badge; only the sample news still flags
   itself as "to be provided" until the real 2025–26 items land. */
.case .img, .hero { position: relative; }
.tbd-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: rgba(14, 27, 46, 0.9);
  color: #ffffff;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  pointer-events: none;
  white-space: nowrap;
}
.tbd-badge--hero { top: 96px; }
.tbd-inline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(180, 90, 30, 0.14);
  padding: 2px 7px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
  font-style: normal;
  font-weight: 500;
}
.tbd-entity { border-bottom: 0; }
.tbd-entity::after { content: none; }

