/* ============================================================
   JIAZC — Global Import & Export Trade
   Shared stylesheet · editorial design system
   Calmer neutral palette · one disciplined accent · photo-led
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Neutral ink + paper */
  --ink:        #1b1b1a;   /* near-black warm */
  --ink-soft:   #46453f;
  --muted:      #7a7870;
  --line:       #e4e0d7;
  --line-soft:  #efece4;
  --paper:      #ffffff;
  --paper-alt:  #f6f3ec;   /* warm off-white */
  --paper-deep: #1f1d1a;   /* near-black sections */

  /* One disciplined accent — terracotta/brick */
  --accent:     #b1471e;
  --accent-dk:  #8c3414;
  --accent-soft:#f4e7df;

  /* Functional */
  --ok:  #2e7d4f;
  --err: #c0392b;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-xs:   0.8rem;
  --fs-sm:   0.9rem;
  --fs-base: 1.02rem;
  --fs-md:   1.16rem;
  --fs-lg:   1.4rem;
  --fs-xl:   1.85rem;
  --fs-2xl:  2.4rem;
  --fs-3xl:  3.1rem;
  --fs-4xl:  4rem;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: 6.5rem;

  /* Radius + shadow — restrained */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(27,27,26,0.05), 0 1px 3px rgba(27,27,26,0.04);
  --sh-md: 0 8px 24px rgba(27,27,26,0.08);
  --sh-lg: 0 20px 48px rgba(27,27,26,0.12);

  --maxw: 1180px;
  --maxw-text: 720px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.012em;
}
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4 { letter-spacing: 0; font-weight: 600; }
:lang(zh) { font-family: var(--font-body); }
p { color: var(--ink-soft); }

/* ---------- A11y focus ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  z-index: 1200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, 920px); margin-inline: auto; }
.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-8) 0; }
.bg-alt { background: var(--paper-alt); }
.measure { max-width: var(--maxw-text); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.section-head { max-width: 640px; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.8rem, 4vw, var(--fs-2xl)); margin-bottom: var(--sp-4); font-weight: 600; }
.section-sub { font-size: var(--fs-md); color: var(--muted); }

/* A thin rule used as an editorial divider */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  padding: 0.82rem 1.5rem;
  border-radius: var(--r-sm);
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: #000; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 0.95rem 1.8rem; font-size: var(--fs-base); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: gap 0.22s var(--ease), border-color 0.22s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.22s var(--ease); }
.link-arrow:hover { gap: 11px; border-color: var(--accent); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: border-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand-mark { height: 38px; width: auto; display: block; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; color: var(--ink); line-height: 1; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: var(--sp-1); }
.nav-list a {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a[aria-current="page"] { color: var(--ink); }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 4px;
  height: 2px;
  background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: var(--sp-4); }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 2px;
}
.lang-toggle button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  color: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  transition: all 0.2s var(--ease);
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.header-cta { display: inline-flex; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ============================================================
   HERO (home) — single strong photo + dark scrim
   ============================================================ */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper-deep);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    url("https://images.unsplash.com/photo-1605745341112-85968b19335b?auto=format&fit=crop&w=1600&q=70");
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,18,16,0.86) 0%, rgba(20,18,16,0.62) 52%, rgba(20,18,16,0.34) 100%);
  z-index: -1;
}
.hero-inner {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  max-width: 680px;
}
.hero-kicker {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--sp-5);
  font-weight: 600;
}
.hero-kicker::after {
  content: "";
  display: block;
  width: 44px; height: 2px;
  background: var(--accent);
  margin-top: var(--sp-3);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, var(--fs-4xl));
  font-weight: 500;
  line-height: 1.06;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: #fff; }
.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: var(--fs-md);
  max-width: 540px;
  margin-bottom: var(--sp-6);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-7); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.8);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .sep { opacity: 0.4; }

/* ============================================================
   PAGE HERO (interior pages) — flat ink band, no gradient soup
   ============================================================ */
.page-hero {
  position: relative;
  color: #fff;
  background: var(--paper-deep);
  isolation: isolate;
  overflow: hidden;
}
.page-hero.has-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: 0.32;
}
.page-hero.has-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,18,16,0.7), rgba(20,18,16,0.45));
}
.page-hero-inner { padding: clamp(3rem, 6vw, 5rem) 0; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, var(--fs-3xl)); font-weight: 500; margin-bottom: var(--sp-4); letter-spacing: -0.02em; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: var(--fs-md); }
.breadcrumb { display: flex; gap: 8px; font-size: var(--fs-xs); color: rgba(255,255,255,0.65); margin-bottom: var(--sp-5); font-weight: 500; letter-spacing: 0.04em; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.4; }

/* ============================================================
   INTRO / LEAD PARAGRAPH BLOCK (editorial)
   ============================================================ */
.lead {
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}
:lang(zh) .lead { font-family: var(--font-body); }
.lead .accent { color: var(--accent); }

/* Two-column editorial intro: heading left, prose right */
.intro-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.intro-split .prose p + p { margin-top: var(--sp-4); }

/* ============================================================
   STAT LINE (grounded figures woven, asymmetric)
   ============================================================ */
.figure-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: baseline;
}
.figure {
  display: flex;
  flex-direction: column;
}
.figure .n { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.figure .n .accent { color: var(--accent); }
.figure .l { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--sp-2); max-width: 16ch; }

/* ============================================================
   CATEGORY — real photography + strong typography (no glyphs)
   ============================================================ */
.cat-list { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.cat-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.cat-row.flip .cat-figure { order: 2; }
.cat-figure {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  border-radius: var(--r-lg);
  background-color: #d9d2c6; /* neutral fallback, not gradient */
}
.cat-figure img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.cat-row:hover .cat-figure img { transform: scale(1.04); }
.cat-figure .index {
  position: absolute; top: 16px; left: 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: #fff;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.cat-body h3 { font-size: clamp(1.6rem, 3.2vw, var(--fs-xl)); margin-bottom: var(--sp-4); font-weight: 600; }
.cat-body p { font-size: var(--fs-base); margin-bottom: var(--sp-5); max-width: 46ch; }
.cat-body .meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.cat-body .meta span { position: relative; padding-right: var(--sp-4); }
.cat-body .meta span:not(:last-child)::after { content: "·"; position: absolute; right: 4px; color: var(--line); }
.cat-body .meta strong { color: var(--ink); font-weight: 600; }

/* Tags (kept lightweight, used on product page) */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-5); }
.tag {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: var(--r-pill);
}

/* ============================================================
   IMAGE FALLBACK — neutral, intentional (no gradient)
   ============================================================ */
.cat-figure[data-img-failed],
.split-media[data-img-failed],
.product-media[data-img-failed],
.mission-media[data-img-failed],
.feature-photo[data-img-failed] {
  background-color: #d9d2c6;
}
.cat-figure[data-img-failed]::after,
.split-media[data-img-failed]::after,
.product-media[data-img-failed]::after,
.mission-media[data-img-failed]::after,
.feature-photo[data-img-failed]::after {
  content: "JIAZC";
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: var(--fs-lg);
  color: rgba(27,27,26,0.28);
}

/* ============================================================
   EDITORIAL FEATURE ROWS (text-led, numbered — no glyph grid)
   ============================================================ */
.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.feature-item .idx {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-lg);
  color: var(--accent);
  line-height: 1.2;
}
.feature-item .body { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1rem, 4vw, 3rem); align-items: baseline; }
.feature-item h3 { font-size: var(--fs-md); font-weight: 600; }
.feature-item p { font-size: var(--fs-base); }

/* Split feature (image + text) — restrained */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background-color: #d9d2c6;
}
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.check-list { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; color: var(--ink-soft); font-size: var(--fs-base); align-items: start; }
.check-list li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: 6px; }
.check-list li strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   DARK EDITORIAL BAND (reach / shipping)
   ============================================================ */
.band-dark {
  position: relative;
  color: #fff;
  background: var(--paper-deep);
}
.band-dark h2 { color: #fff; font-size: clamp(1.8rem,4vw,var(--fs-2xl)); margin-bottom: var(--sp-4); font-weight: 500; }
.band-dark p { color: rgba(255,255,255,0.78); }
.band-dark .eyebrow { color: #d98f6e; }
.reach-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,5rem); align-items: center; }
.lane-list { display: grid; gap: 0; margin-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,0.16); }
.lane-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-size: var(--fs-sm);
}
.lane-list .from { font-family: var(--font-display); font-weight: 500; color: #fff; font-size: var(--fs-md); }
.lane-list .to { color: rgba(255,255,255,0.68); text-align: right; }

/* ============================================================
   PROCESS / STEPS — numbered editorial, no glyphs
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step {
  padding: var(--sp-6) var(--sp-5) var(--sp-6) 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; padding-right: 0; }
.step .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-xl);
  color: var(--accent);
  margin-bottom: var(--sp-4);
  display: block;
}
.step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-3); font-weight: 600; }
.step p { font-size: var(--fs-sm); }

/* ============================================================
   CTA BAND — flat ink, no radial gradient
   ============================================================ */
.cta-band {
  position: relative;
  background: var(--paper-deep);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.cta-band .inner { max-width: 620px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,4vw,var(--fs-2xl)); margin-bottom: var(--sp-4); font-weight: 500; }
.cta-band p { color: rgba(255,255,255,0.82); margin-bottom: var(--sp-6); }
.cta-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.product-block { padding: clamp(3rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--line); }
.product-block:last-of-type { border-bottom: none; }
.product-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.product-split.reverse .product-media { order: 2; }
.product-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background-color: #d9d2c6;
}
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-media .label {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255,255,255,0.94);
  border-radius: var(--r-sm);
  padding: 5px 12px;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-xs); color: var(--ink);
  letter-spacing: 0.04em;
}
.spec-list { display: grid; gap: 0; margin-top: var(--sp-5); border-top: 1px solid var(--line); }
.spec-list li {
  display: grid; grid-template-columns: 12rem 1fr; gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.spec-list .k { font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.spec-list .v { color: var(--ink-soft); }

/* Division index (text list, not icon cards) */
.division-index {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.division-index a {
  display: flex; align-items: baseline; gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4) var(--sp-5) 0;
  border-right: 1px solid var(--line);
  transition: color 0.2s var(--ease);
}
.division-index a:last-child { border-right: none; }
.division-index a:hover { color: var(--accent); }
.division-index .n { font-family: var(--font-display); color: var(--accent); font-weight: 500; font-size: var(--fs-md); }
.division-index .t { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-md); }

/* ============================================================
   CAPABILITIES PAGE
   ============================================================ */
.trade-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.trade-table th, .trade-table td { padding: var(--sp-4) var(--sp-4); text-align: left; border-bottom: 1px solid var(--line); }
.trade-table thead th { font-family: var(--font-body); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--fs-xs); border-bottom: 1.5px solid var(--ink); }
.trade-table td:first-child { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: var(--fs-base); }

/* Incoterm rows */
.term-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.term-row {
  display: grid; grid-template-columns: 8rem 1fr; gap: clamp(1rem,4vw,3rem);
  padding: var(--sp-6) 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.term-row .code { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xl); color: var(--ink); }
.term-row .code small { display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.04em; margin-top: 4px; }
.term-row p { font-size: var(--fs-base); }

/* FAQ / accordion */
.faq { display: grid; gap: 0; max-width: 800px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-5) 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--fs-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
}
.faq-item summary .icon svg { width: 16px; height: 16px; color: var(--accent); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .answer { padding: 0 0 var(--sp-5); }
.faq-item .answer p { font-size: var(--fs-base); max-width: 64ch; }

/* ============================================================
   CONTACT PAGE — clean real-business layout, no icon grid
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,6vw,5rem); align-items: start; }
.contact-details { display: grid; gap: var(--sp-6); }
.contact-block h3 {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-bottom: var(--sp-3); font-weight: 600; font-family: var(--font-body);
}
.contact-block .big { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-lg); color: var(--ink); line-height: 1.3; }
.contact-block a.big:hover { color: var(--accent); }
.contact-block p { font-size: var(--fs-base); color: var(--ink-soft); }
.contact-block address { font-style: normal; font-size: var(--fs-base); color: var(--ink-soft); line-height: 1.5; white-space: pre-line; }
.contact-block .row { display: flex; flex-direction: column; gap: 2px; }
.contact-block .row + .row { margin-top: var(--sp-3); }
.contact-block .sub { font-size: var(--fs-sm); color: var(--muted); }
.contact-divider { height: 1px; background: var(--line); border: 0; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, var(--sp-7));
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  padding: 0.78rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: var(--err);
  background: #fdf3f2;
}
.field .error-msg {
  font-size: var(--fs-xs);
  color: var(--err);
  font-weight: 600;
  min-height: 1em;
  display: none;
}
.field .error-msg.show { display: block; }
.form-note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-3); }

.form-success {
  display: none;
  align-items: center;
  gap: var(--sp-4);
  background: #f0f6f1;
  border: 1px solid #cbe3d1;
  border-radius: var(--r-md);
  padding: var(--sp-5);
  color: #1e5c3a;
  margin-bottom: var(--sp-5);
}
.form-success.show { display: flex; animation: pop 0.4s var(--ease); }
.form-success svg { width: 36px; height: 36px; flex-shrink: 0; color: var(--ok); }
.form-success h3 { color: #1e5c3a; font-size: var(--fs-md); margin-bottom: 2px; font-weight: 600; }
.form-success p { color: #2e6b48; font-size: var(--fs-sm); }
@keyframes pop { from { transform: scale(0.98); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.hours-list { display: grid; gap: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: var(--sp-4); padding: 0.45rem 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-sm); }
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.hours-list .time { color: var(--muted); }

/* ============================================================
   ABOUT — values & timeline (text-led)
   ============================================================ */
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem) clamp(2rem,6vw,5rem); }
.value h3 { font-size: var(--fs-md); margin-bottom: var(--sp-3); font-weight: 600; }
.value h3::before { content: ""; display: block; width: 32px; height: 2px; background: var(--accent); margin-bottom: var(--sp-3); }
.value p { font-size: var(--fs-base); }

/* Timeline */
.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.tl-item { display: grid; grid-template-columns: 6rem 1fr; gap: clamp(1rem,4vw,2.5rem); padding: var(--sp-6) 0; border-bottom: 1px solid var(--line); }
.tl-item:first-child { border-top: 1px solid var(--line); }
.tl-item .year { font-family: var(--font-display); font-weight: 500; color: var(--accent); font-size: var(--fs-lg); }
.tl-item h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); font-weight: 600; }
.tl-item p { font-size: var(--fs-base); }

/* Mission split */
.mission-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background-color: #d9d2c6;
}
.mission-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Two-up plain prose cards (mission/vision) */
.prose-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,5rem); }
.prose-two .item h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-3); font-weight: 600; }
.prose-two .item h3::before { content: ""; display: block; width: 36px; height: 2px; background: var(--accent); margin-bottom: var(--sp-4); }
.prose-two .item p { font-size: var(--fs-base); }

/* Supporting photo for a feature section */
.feature-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  background-color: #d9d2c6;
}
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--paper-deep); color: rgba(255,255,255,0.7); padding-top: var(--sp-8); }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: var(--sp-6); padding-bottom: var(--sp-7); }
.footer-brand img { height: 36px; filter: brightness(0) invert(1); margin-bottom: var(--sp-4); opacity: 0.92; }
.footer-brand img.footer-logo { height: 64px; width: auto; display: block; filter: none; opacity: 1; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: var(--fs-sm); max-width: 320px; }
.footer-social { display: flex; gap: 8px; margin-top: var(--sp-5); }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.footer-social a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }
.footer-col h4 { color: #fff; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--sp-4); font-family: var(--font-body); font-weight: 600; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: var(--fs-sm); color: rgba(255,255,255,0.65); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: grid; gap: 2px; }
.footer-contact .k { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); }
.footer-contact a, .footer-contact span { color: rgba(255,255,255,0.78); font-size: var(--fs-sm); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: var(--sp-5) 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.07s; }
.reveal.d2 { transition-delay: 0.14s; }
.reveal.d3 { transition-delay: 0.21s; }
.reveal.d4 { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; padding-right: 0; }
  .step { border-bottom: 1px solid var(--line); }
  .step:nth-last-child(-n+2) { border-bottom: none; }
  .reach-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .intro-split { grid-template-columns: 1fr; gap: var(--sp-5); }
  .feature-item .body { grid-template-columns: 1fr; gap: var(--sp-2); }
  .division-index { grid-template-columns: 1fr; }
  .division-index a { border-right: none; border-bottom: 1px solid var(--line); }
  .division-index a:last-child { border-bottom: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .brand img.brand-mark { height: 32px; }
  .brand-name { font-size: 1.15rem; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    padding: var(--sp-4);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    margin: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 0.85rem 1rem; border-radius: var(--r-sm); font-size: var(--fs-md); }
  .nav-list a[aria-current="page"] { background: var(--paper-alt); }
  .nav-list a[aria-current="page"]::after { display: none; }
  .header-cta { display: none; }
  .split, .product-split, .product-split.reverse,
  .contact-grid, .cat-row, .cat-row.flip,
  .value-list, .prose-two { grid-template-columns: 1fr; gap: var(--sp-6); }
  .product-split.reverse .product-media { order: 0; }
  .cat-row.flip .cat-figure { order: 0; }
  .split-media, .mission-media, .product-media, .cat-figure { order: -1; }
  .tl-item { grid-template-columns: 1fr; gap: var(--sp-2); }
  .term-row { grid-template-columns: 1fr; gap: var(--sp-2); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 1.8rem, var(--maxw)); }
  .section { padding: var(--sp-8) 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .form-grid, .spec-list li { grid-template-columns: 1fr; }
  .spec-list li { gap: 2px; padding: var(--sp-3) 0; }
  .footer-top { grid-template-columns: 1fr; }
  .figure-row { gap: var(--sp-5); }
  .hero-cta .btn { flex: 1; }
  .trade-table { display: block; overflow-x: auto; white-space: nowrap; }
  .footer-bottom { flex-direction: column; }
}
