/* ===================================================================
   SINOTECH PETROCHEMICAL & ENGINEERING — Global Stylesheet
   Corporate navy / white system
   =================================================================== */

:root {
  /* Palette */
  --navy-950: #050f1f;
  --navy-900: #081a30;
  --navy-800: #0c2748;
  --navy-700: #143b66;
  --navy-600: #1d4f80;

  --accent: #2868a8;       /* primary blue accent */
  --accent-light: #5a93c9;
  --accent-pale: #e7eef6;
  --gold: #b9883a;         /* restrained premium accent for rules / eyebrows */

  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --bg-deep: var(--navy-900);

  --border: #dde4ec;
  --border-on-dark: rgba(255, 255, 255, 0.16);

  --text: #16222f;
  --text-dim: #54657a;
  --text-faint: #8a99ac;

  --text-on-dark: #f3f6fa;
  --text-on-dark-dim: #aebdd1;
  --text-on-dark-faint: #7d92ad;

  --shadow-sm: 0 1px 2px rgba(10, 25, 45, 0.06);
  --shadow-md: 0 10px 28px -8px rgba(10, 25, 45, 0.14);
  --shadow-lg: 0 24px 48px -16px rgba(10, 25, 45, 0.22);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --maxw: 1240px;

  --ff-head: "IBM Plex Sans", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ff-classic: Georgia, "Times New Roman", Times, serif;
}

/* Chinese mode (set by the EN/中文 toggle): append a Simplified-Chinese CJK
   stack after the Latin fonts so Chinese glyphs render with a proper webfont
   instead of the browser default. Latin text keeps IBM Plex / Inter. */
html[lang="zh-CN"] {
  --ff-head: "IBM Plex Sans", "Inter", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --ff-body: "Inter", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --ff-mono: "IBM Plex Mono", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", ui-monospace, monospace;
}
html[lang="zh-CN"] body { letter-spacing: 0; }

/* ===================== NEWS PAGE ===================== */
.news-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.news-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.news-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2bb673;
  animation: newsPulse 2s infinite;
}
@keyframes newsPulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(43, 182, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0); }
}
.news-status {
  padding: 48px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.news-fallback-link { color: var(--accent); font-weight: 600; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.news-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--accent-light);
}
.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-source {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 62%;
}
.news-date { color: var(--text-faint); white-space: nowrap; }
.news-card-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  line-height: 1.42;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0;
}
.news-card-cta {
  margin-top: auto;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--accent);
}
.news-disclaimer {
  margin-top: 34px;
  font-size: 0.82rem;
  color: var(--text-faint);
  line-height: 1.6;
}

/* ===================== ABOUT / OUR STORY ===================== */
.about-toc {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.about-toc a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.about-toc a:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.about-toc a b {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
}
.about-glance { margin: 0; }
.about-glance > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.about-glance > div:last-child { border-bottom: none; }
.about-glance dt {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.about-glance dd { margin: 0; font-size: 0.95rem; font-weight: 500; color: var(--text); }
.about-eq {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 22px;
  border: 1px dashed var(--accent-light);
  border-radius: var(--radius-lg);
  background: var(--accent-pale);
}
.about-eq span {
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--navy-900);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
.about-eq i { font-style: normal; font-weight: 700; color: var(--accent); }
.about-eq strong {
  font-family: var(--ff-head);
  font-size: 0.94rem;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}
.about-table-wrap { overflow-x: auto; }
.about-table-wrap .compare-table { min-width: 560px; }
@media (max-width: 640px) {
  .about-glance > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ===================== OUR STORY — in-page tabbed experience ===================== */
.story-layout { display: grid; grid-template-columns: 264px 1fr; gap: 52px; align-items: start; }
@media (max-width: 920px) { .story-layout { grid-template-columns: 1fr; gap: 22px; } }

/* Left menu (sticky) / mobile dropdown */
.story-nav { position: sticky; top: 92px; }
@media (max-width: 920px) { .story-nav { position: static; } }
.story-menu { display: flex; flex-direction: column; border-left: 2px solid var(--border); }
.story-menu button {
  display: flex; align-items: baseline; gap: 12px; width: 100%; text-align: left;
  padding: 12px 16px; margin-left: -2px; border-left: 2px solid transparent;
  color: var(--text-dim); font-family: var(--ff-head); font-weight: 600; font-size: 0.95rem;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.story-menu button .si { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--text-faint); }
.story-menu button:hover { color: var(--navy-900); background: var(--bg-alt); }
.story-menu button.is-active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-pale); }
.story-menu button.is-active .si { color: var(--accent); }
.story-select {
  display: none; width: 100%; padding: 13px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-md); background: var(--bg);
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem; color: var(--navy-900);
}
@media (max-width: 920px) { .story-menu { display: none; } .story-select { display: block; } }

/* Stage / panels */
.story-stage { min-height: 56vh; }
.story-panel { display: none; }
.story-panel.is-active { display: block; animation: storyIn 0.5s ease both; }
@keyframes storyIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.story-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.story-kicker .snum { font-family: var(--ff-mono); font-size: 2.5rem; font-weight: 500; line-height: 1; color: var(--accent); opacity: 0.32; }
.story-kicker .seyebrow { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.story-panel .s-title { font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.18; margin-bottom: 18px; }
.story-lead { font-size: 1.07rem; line-height: 1.7; color: var(--text-dim); max-width: 800px; }
.s-sub { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin: 40px 0 16px; }
.s-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; margin-top: 8px; }
@media (max-width: 820px) { .s-split { grid-template-columns: 1fr; gap: 28px; } }

/* 01 — pills */
.s-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.s-pills .pill { border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; font-size: 0.9rem; font-weight: 600; color: var(--navy-900); background: var(--bg); }

/* 02 — timeline */
.s-timeline { position: relative; margin-top: 8px; padding-left: 30px; }
.s-timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), var(--gold)); }
.s-tl { position: relative; padding: 0 0 26px 10px; }
.s-tl::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.s-tl:last-child { padding-bottom: 0; }
.s-tl .stg { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.s-tl h4 { font-size: 1.02rem; margin-bottom: 4px; }
.s-tl p { color: var(--text-dim); font-size: 0.94rem; }

/* 04 — matrix */
.s-matrix { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 8px; }
.s-matrix > div { padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.s-matrix > div:nth-child(2n) { border-right: none; }
.s-matrix > div:nth-last-child(-n+2) { border-bottom: none; }
.s-matrix h4 { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.s-matrix p { color: var(--text-dim); font-size: 0.94rem; }
@media (max-width: 560px) { .s-matrix { grid-template-columns: 1fr; } .s-matrix > div { border-right: none; } }

/* 05 — quote duo + pillars */
.s-quote-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .s-quote-duo { grid-template-columns: 1fr; } }
.s-quote { padding: 34px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.s-quote.alt { background: var(--navy-900); border-color: transparent; }
.s-quote.alt p { color: var(--text-on-dark); }
.s-quote .ql { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.s-quote.alt .ql { color: var(--accent-light); }
.s-quote p { font-family: var(--ff-head); font-size: 1.16rem; line-height: 1.5; color: var(--navy-900); }
.s-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .s-pillars { grid-template-columns: 1fr; } }
.s-pillars .p { padding: 20px; border-top: 3px solid var(--accent); background: var(--bg-alt); border-radius: 0 0 var(--radius-md) var(--radius-md); }
.s-pillars .p h4 { font-size: 1rem; margin-bottom: 6px; }
.s-pillars .p p { color: var(--text-dim); font-size: 0.92rem; }

/* 06 — zigzag big numbers */
.s-zig { display: flex; flex-direction: column; margin-top: 8px; }
.s-zig .row { display: grid; grid-template-columns: 92px 1fr; gap: 24px; align-items: center; padding: 22px 16px; border-bottom: 1px solid var(--border); }
.s-zig .row:last-child { border-bottom: none; }
.s-zig .row:nth-child(even) { background: linear-gradient(90deg, var(--bg-alt), transparent); }
.s-zig .row .bn { font-family: var(--ff-mono); font-size: 2.6rem; font-weight: 500; color: var(--accent); opacity: 0.3; line-height: 1; }
.s-zig .row h4 { font-size: 1.1rem; margin-bottom: 4px; }
.s-zig .row p { color: var(--text-dim); }

/* 08 — big-number values */
.s-bignum { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; margin-top: 8px; }
@media (max-width: 680px) { .s-bignum { grid-template-columns: 1fr; } }
.s-bignum .v { position: relative; padding: 20px 0 20px 62px; border-bottom: 1px solid var(--border); }
.s-bignum .v::before { content: attr(data-n); position: absolute; left: 0; top: 16px; font-family: var(--ff-mono); font-size: 1.5rem; font-weight: 600; color: var(--gold); }
.s-bignum .v h4 { font-size: 1.02rem; margin-bottom: 4px; }
.s-bignum .v p { color: var(--text-dim); font-size: 0.93rem; }

/* 09 — org grid */
.s-org { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 760px) { .s-org { grid-template-columns: 1fr; } }
.s-org .fn { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); transition: border-color 0.15s ease, transform 0.15s ease; }
.s-org .fn:hover { border-color: var(--accent-light); transform: translateY(-3px); }
.s-org .fn .fi { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 8px; background: var(--accent-pale); color: var(--accent); font-family: var(--ff-mono); font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; }
.s-org .fn h4 { font-size: 1rem; margin-bottom: 6px; }
.s-org .fn p { color: var(--text-dim); font-size: 0.92rem; }

/* 10 — responsibility accent list */
.s-resp { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.s-resp .r { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius-md); background: var(--bg); }
.s-resp .r .ic { width: 38px; height: 38px; color: var(--accent); }
.s-resp .r h4 { font-size: 1.04rem; margin-bottom: 4px; }
.s-resp .r p { color: var(--text-dim); }

/* 11 — ledger */
.s-ledger { border-top: 2px solid var(--navy-900); margin-top: 8px; }
.s-ledger .l { display: grid; grid-template-columns: 52px 230px 1fr; gap: 20px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--border); }
@media (max-width: 680px) { .s-ledger .l { grid-template-columns: 40px 1fr; } .s-ledger .l p { grid-column: 1 / -1; } }
.s-ledger .l .lc { font-family: var(--ff-mono); color: var(--accent); font-size: 0.9rem; }
.s-ledger .l h4 { font-size: 1.02rem; }
.s-ledger .l p { color: var(--text-dim); font-size: 0.94rem; }

/* shared small bits */
.s-tag { display: inline-block; font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); background: var(--accent-pale); border-radius: 4px; padding: 3px 8px; }
.story-panel .compare-table { margin-top: 8px; }

/* Home — "Our Story" connector: Sinopec feature + glimpse cards */
.home-story-feature {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
  background: var(--navy-900); border-radius: var(--radius-lg);
  padding: 46px 50px; margin-top: 8px; position: relative; overflow: hidden;
}
.home-story-feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 86% 18%, rgba(40,104,168,0.4), transparent 56%);
}
.home-story-feature .hsf-left { position: relative; z-index: 1; }
.home-story-feature .eyebrow { color: var(--accent-light); }
.home-story-feature h3 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 8px 0 14px; }
.home-story-feature p { color: var(--text-on-dark-dim); margin-bottom: 24px; max-width: 560px; }
.hsf-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hsf-right { position: relative; z-index: 1; display: flex; justify-content: center; }
.hsf-badge { background: #fff; border-radius: var(--radius-md); padding: 26px 30px; text-align: center; box-shadow: var(--shadow-lg); max-width: 290px; width: 100%; }
.hsf-badge-label { display: block; font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.hsf-badge img { max-width: 190px; max-height: 64px; width: auto; height: auto; object-fit: contain; display: block; margin: 0 auto; }
.hsf-badge-sub { display: block; font-size: 0.8rem; color: var(--text-dim); margin-top: 16px; }
@media (max-width: 760px) { .home-story-feature { grid-template-columns: 1fr; padding: 32px; } }

.home-story-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .home-story-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .home-story-cards { grid-template-columns: 1fr; } }
.home-story-cards a {
  display: block; padding: 22px; border: 1px solid var(--border);
  border-radius: var(--radius-md); background: var(--bg); text-decoration: none; color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.home-story-cards a:hover { border-color: var(--accent-light); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.home-story-cards .hsc-i { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--accent); }
.home-story-cards h4 { font-size: 1.04rem; margin: 8px 0 6px; color: var(--navy-900); }
.home-story-cards p { color: var(--text-dim); font-size: 0.9rem; margin: 0; }
.home-story-cards .arrow { color: var(--accent); font-family: var(--ff-mono); font-size: 0.78rem; margin-top: 12px; display: inline-block; }

/* Home — trusted-customers moving logo line */
.logo-marquee {
  position: relative; overflow: hidden; padding: 20px 0; margin-top: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track { display: flex; align-items: center; width: max-content; animation: logoScroll 48s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.lm-item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; height: 56px; margin-right: 58px; }
.lm-item img {
  max-height: 46px; max-width: 150px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.55; transition: filter 0.2s ease, opacity 0.2s ease;
}
.lm-item img:hover { filter: none; opacity: 1; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trusted-note { text-align: center; color: var(--text-faint); font-size: 0.82rem; margin-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 24px; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* Home — industries link cards + careers strip */
.home-link-card { display: block; text-decoration: none; color: inherit; }
.home-link-card h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--navy-900); }
.home-link-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 14px; }
.home-link-arrow { font-family: var(--ff-mono); font-size: 0.76rem; color: var(--accent); }
.home-link-card:hover .home-link-arrow { text-decoration: underline; }
.home-careers-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 32px 40px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-alt);
}
.home-careers-strip h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin: 6px 0 8px; color: var(--navy-900); }
.home-careers-strip p { color: var(--text-dim); font-size: 0.95rem; max-width: 620px; }
@media (max-width: 640px) { .home-careers-strip { padding: 26px; } }

/* Hero — credentials strip */
.hero-creds { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; }
.hero-creds span {
  position: relative; padding-left: 16px;
  font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-on-dark-dim);
}
.hero-creds span::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }

/* Home — "At a Glance" corporate summary + metric tiles */
.home-summary {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center;
  padding: 42px 46px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg);
}
.hs-kicker { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.hs-statement p { font-family: var(--ff-head); font-size: 1.12rem; line-height: 1.55; color: var(--navy-900); margin: 12px 0 20px; }
.hs-caps { display: flex; flex-wrap: wrap; gap: 9px 20px; }
.hs-caps span {
  position: relative; padding-left: 15px;
  font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim);
}
.hs-caps span::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
.hs-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.hm-item { background: var(--bg); padding: 24px 18px; text-align: center; }
.hm-num { display: block; font-family: var(--ff-mono); font-size: 2rem; font-weight: 600; color: var(--navy-900); line-height: 1; }
.hm-label { display: block; margin-top: 9px; font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
@media (max-width: 820px) { .home-summary { grid-template-columns: 1fr; gap: 32px; padding: 32px; } }
@media (max-width: 420px) { .hs-metrics { grid-template-columns: 1fr; } }

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 100px 0;
  position: relative;
  scroll-margin-top: 78px;
}
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--text-dim); font-size: 1.06rem; }

.text-dim { color: var(--text-dim); }
.text-faint { color: var(--text-faint); }
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-700); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--navy-900);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--navy-800); background: var(--bg-alt); }

/* for use on dark / navy backgrounds */
.btn-light {
  background: #fff;
  color: var(--navy-900);
}
.btn-light:hover { background: var(--accent-pale); }

.btn-outline-dark {
  border: 1px solid var(--border-on-dark);
  color: #fff;
  background: transparent;
}
.btn-outline-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.32); }

.btn-sm { padding: 10px 20px; font-size: 0.84rem; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Navbar ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
.nav {
  position: static;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.nav.scrolled .nav-inner { height: 66px; }
.nav.scrolled { box-shadow: var(--shadow-md); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 32px; height: 42px;
  display: grid;
  place-items: center;
  background: none;
  flex-shrink: 0;
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand small {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 10px 16px;
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a.active { color: var(--navy-900); border-color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 1100;
}
.nav-toggle span {
  height: 2px; width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  pointer-events: none;
}
.mobile-panel.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-panel a {
  font-family: var(--ff-head);
  font-size: 1.7rem;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border-on-dark);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 206px 0 0;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}
.hero .eyebrow { color: var(--accent-light); }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 {
  font-weight: 700;
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 .hl { color: var(--accent-light); }
.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-on-dark-dim);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-scope {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text-on-dark-faint);
  border-top: 1px solid var(--border-on-dark);
  padding-top: 20px;
  max-width: 540px;
}

/* Hero — creative technical treatment */
.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold);
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid::before { top: -16px; left: -2px; border-top: 2px solid; border-left: 2px solid; }
.hero-grid::after { bottom: 38px; right: -2px; border-bottom: 2px solid; border-right: 2px solid; }

.hero-rotator {
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}
.hero-rotator::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.06em;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), transparent 85%);
}
.hero-rotator-list {
  display: block;
  animation: heroRotate 13s cubic-bezier(.83,0,.17,1) infinite;
}
.hero-rotator-list span {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
  color: var(--accent-light);
  white-space: nowrap;
}
@keyframes heroRotate {
  0%, 15%      { transform: translateY(0); }
  18.3%, 33.3% { transform: translateY(-1.2em); }
  36.6%, 51.6% { transform: translateY(-2.4em); }
  55%, 70%     { transform: translateY(-3.6em); }
  73.3%, 88.3% { transform: translateY(-4.8em); }
  91.6%, 100%  { transform: translateY(-6em); }
}

.hero-watermark {
  position: absolute;
  right: -140px;
  top: 50%;
  width: 600px;
  height: 600px;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.07;
  pointer-events: none;
  animation: heroSpin 120s linear infinite;
}
.hero-watermark svg { width: 100%; height: 100%; }
.hero-watermark path, .hero-watermark circle { stroke: #9db8d6; }
@keyframes heroSpin { to { transform: translateY(-50%) rotate(360deg); } }

@media (max-width: 860px) {
  .hero-watermark { display: none; }
  .hero-grid::before, .hero-grid::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rotator-list,
  .hero-watermark { animation: none; }
}

.hero-visual-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-visual-panel .panel-art { padding: 30px 30px 10px; }
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 18px 26px;
  border-top: 1px solid var(--border-on-dark);
  background: rgba(5, 15, 31, 0.4);
}
.hero-trust-strip span {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
}

/* breadcrumb / page hero for sub-pages */
.page-hero {
  padding: 198px 0 76px;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%);
  position: relative;
}
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); max-width: 760px; color: #fff; }
.page-hero p { color: var(--text-on-dark-dim); font-size: 1.08rem; max-width: 640px; margin-top: 18px; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.84rem; color: var(--text-on-dark-faint);
  margin-top: 28px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---------- Logo strip ---------- */
.logostrip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logostrip span, .logostrip a {
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.logostrip a:hover { color: var(--accent); }

/* ---------- Stat band ---------- */
.statband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--navy-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.statband .stat {
  background: var(--navy-900);
  padding: 38px 28px;
  text-align: center;
}
.statband .stat-num {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}
.statband .stat-label { color: var(--text-on-dark-faint); font-size: 0.83rem; margin-top: 8px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy-800);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: box-shadow .25s ease, transform .25s ease;
  position: relative;
  scroll-margin-top: 100px;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .icon-box {
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: var(--navy-900);
  margin-bottom: 22px;
}
.card .icon-box svg { width: 23px; height: 23px; stroke: #fff; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.94rem; }
.card .tag {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.card-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap .2s ease;
}
.card-link:hover { gap: 10px; color: var(--navy-800); }

/* product spec card */
.spec-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.spec-card .spec-head {
  padding: 28px 32px;
  background: var(--navy-900);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.spec-card .spec-head h3 { font-size: 1.35rem; color: #fff; }
.spec-card .spec-head p { color: var(--text-on-dark-dim) !important; }
.spec-card .pill {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-on-dark);
  color: var(--text-on-dark-dim);
  text-transform: uppercase;
  flex-shrink: 0;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td, .spec-table th {
  padding: 15px 32px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  text-align: left;
}
.spec-table th { color: var(--text-faint); font-weight: 500; width: 45%; }
.spec-table td { color: var(--text); font-weight: 500; }
.spec-table tr:nth-child(even) { background: var(--bg-alt); }
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: none; }

/* timeline */
.timeline { position: relative; padding-left: 36px; border-left: 2px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -45px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--navy-800);
}
.timeline-item .yr { font-family: var(--ff-mono); color: var(--accent); font-size: 0.85rem; margin-bottom: 6px; display: block; font-weight: 600; }
.timeline-item h4 { font-size: 1.08rem; margin-bottom: 8px; }
.timeline-item p { color: var(--text-dim); font-size: 0.95rem; max-width: 560px; }

/* values / process steps */
.step {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step .num {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 50px;
}
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.94rem; max-width: 600px; }

/* team */
.team-card { text-align: center; }
.team-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--navy-900);
  display: grid; place-items: center;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}
.team-card h4 { font-size: 1.02rem; margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-size: 0.8rem; font-family: var(--ff-mono); letter-spacing: 0.03em; }
.team-card p.bio { color: var(--text-dim); font-size: 0.87rem; margin-top: 12px; }

/* quote / testimonial */
.quote-block {
  background: var(--bg-alt);
  border-left: 4px solid var(--navy-800);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 48px 54px;
  position: relative;
}
.quote-block svg.quote-mark { width: 36px; height: 28px; stroke: var(--accent); margin-bottom: 22px; }
.quote-block p.quote-text { font-family: var(--ff-head); font-size: 1.4rem; font-weight: 500; color: var(--navy-900); line-height: 1.42; max-width: 800px; }
.quote-attr { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.quote-attr .name { font-weight: 600; color: var(--navy-900); font-size: 0.94rem; }
.quote-attr .role { color: var(--text-faint); font-size: 0.82rem; }

/* CTA banner */
.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  padding: 64px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-banner h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); max-width: 480px; color: #fff; position: relative; z-index: 2; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 2; }

/* table for comparison */
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.compare-table th, .compare-table td { padding: 17px 24px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.compare-table th { background: var(--navy-900); color: var(--text-on-dark-dim); font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.compare-table td { color: var(--text-dim); }
.compare-table tr:nth-child(even) td { background: var(--bg-alt); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table strong { color: var(--navy-900); }
.dot-yes { color: var(--accent); font-weight: 700; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.84rem; color: var(--text-dim); font-weight: 500; }
.field input, .field textarea, .field select {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--navy-800);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 10px; }
.form-success {
  display: none;
  background: var(--accent-pale);
  border: 1px solid var(--accent-light);
  color: var(--navy-800);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 0.9rem;
}
.form-success.show { display: block; }

/* contact info cards */
.contact-info-card {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card .icon-box { flex-shrink: 0; width: 42px; height: 42px; }
.contact-info-card h4 { font-size: 0.96rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--text-dim); font-size: 0.9rem; }

/* office map placeholder */
.map-block {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  padding: 76px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border-on-dark);
}
.footer-brand p { color: var(--text-on-dark-dim); font-size: 0.9rem; margin: 18px 0 22px; max-width: 280px; }
.footer .brand { color: #fff; }
.footer h5 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-dark-faint); margin-bottom: 20px; font-family: var(--ff-mono); font-weight: 500; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--text-on-dark-dim); font-size: 0.92rem; transition: color .2s ease; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { color: var(--text-on-dark-faint); font-size: 0.84rem; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-on-dark);
  display: grid;
  place-items: center;
  color: var(--text-on-dark-dim);
  transition: border-color .2s ease, color .2s ease;
}
.social-row a:hover { border-color: #fff; color: #fff; }
.social-row svg { width: 15px; height: 15px; }

.newsletter-row { display: flex; gap: 10px; margin-top: 6px; }
.newsletter-row input {
  flex: 1;
  background: var(--navy-900);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: #fff;
  font-size: 0.88rem;
}
.newsletter-row input::placeholder { color: var(--text-on-dark-faint); }
.newsletter-row input:focus { outline: none; border-color: var(--accent-light); }

/* ---------- Animations ---------- */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
[data-aos].aos-show { opacity: 1; transform: translateY(0); }
[data-aos="fade-left"] { transform: translateX(-26px); }
[data-aos="fade-left"].aos-show { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(26px); }
[data-aos="fade-right"].aos-show { transform: translateX(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-visual-panel { margin-top: 40px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-top .footer-col-newsletter { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; padding: 44px 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .compare-table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 140px 0 70px; }
  .hero h1 { font-size: 1.7rem; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .cta-banner h2 { font-size: 1.4rem; }
  .quote-block { padding: 32px; }
  .quote-block p.quote-text { font-size: 1.15rem; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 1.45rem; }
}

/* ===================================================================
   NAV MEGA-MENU — combined Products & Industries
   =================================================================== */
.nav-item-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.89rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-dim);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.nav-dropdown-trigger:hover { color: var(--navy-900); }
.nav-item-dropdown.open .nav-dropdown-trigger,
.nav-item-dropdown.dd-active .nav-dropdown-trigger { color: var(--navy-900); border-color: var(--accent); }
.nav-dropdown-trigger .chev { width: 10px; height: 10px; transition: transform .2s ease; }
.nav-item-dropdown:hover .nav-dropdown-trigger .chev,
.nav-item-dropdown.open .nav-dropdown-trigger .chev { transform: rotate(180deg); }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 540px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  display: flex;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 1200;
}
.nav-item-dropdown:hover .nav-dropdown-panel,
.nav-item-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-col { min-width: 166px; }
.nav-dropdown-col h6 {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
  font-weight: 500;
}
.nav-dropdown-col a {
  display: block;
  padding: 8px 0;
  font-size: 0.91rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color .15s ease;
}
.nav-dropdown-col a:last-of-type { border-bottom: none; }
.nav-dropdown-col a:hover { color: var(--accent); }
.nav-dropdown-col.cta { border-left: 1px solid var(--border); padding-left: 32px; min-width: 150px; }
.nav-dropdown-col.cta a { color: var(--accent); font-weight: 600; border-bottom: none; padding: 7px 0; }
.nav-dropdown-col.cta a:hover { color: var(--navy-800); }

/* mobile accordion variant inside .mobile-panel */
.mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--ff-head);
  font-size: 1.7rem;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border-on-dark);
  color: #fff;
  background: none;
  border-left: none; border-right: none; border-top: none;
  text-align: left;
}
.mobile-dropdown-trigger .chev { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s ease; }
.mobile-dropdown-trigger.open .chev { transform: rotate(180deg); }
.mobile-dropdown-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mobile-dropdown-panel.open { max-height: 70vh; overflow-y: auto; }
.mobile-panel .mobile-dropdown-panel h6 {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  margin: 16px 4px 6px;
}
.mobile-panel .mobile-dropdown-panel a {
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 9px 4px;
  border-bottom: none;
  color: var(--text-on-dark-dim);
}

@media (max-width: 1300px) {
  .nav-dropdown-panel { left: auto; right: 0; transform: translateY(6px); min-width: 480px; }
  .nav-item-dropdown:hover .nav-dropdown-panel,
  .nav-item-dropdown.open .nav-dropdown-panel { transform: translateY(0); }
}

/* ===================================================================
   HOME PAGE — CORPORATE BLUEPRINT COMPONENTS
   =================================================================== */
.section-head.center::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 22px;
}
body.home .grid-3 .card,
body.home .grid-4 .card {
  border-radius: 2px;
  box-shadow: none;
}
body.home .card:hover { transform: none; box-shadow: none; border-color: var(--navy-700); }

/* Top utility bar */
.topbar {
  background: var(--navy-950);
  border-bottom: 1px solid var(--border-on-dark);
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-coverage {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-on-dark-faint);
}
.topbar-links { display: flex; gap: 22px; }
.topbar-links a {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-on-dark-dim);
  transition: color .15s ease;
}
.topbar-links a:hover { color: #fff; }

/* Document framework cards */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.doc-card .doc-tab {
  background: var(--navy-900);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 16px 22px;
}
.doc-card .doc-body { padding: 18px 22px 22px; }
.doc-card .doc-body h4 { font-size: 0.96rem; margin-bottom: 8px; color: var(--navy-900); }
.doc-card .doc-body p { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 14px; }
.doc-card .doc-body a { font-size: 0.84rem; font-weight: 600; color: var(--accent); }
.doc-card .doc-body a:hover { color: var(--navy-800); }
.doc-highlight {
  background: var(--navy-900);
  color: var(--text-on-dark-dim);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  font-size: 0.94rem;
  margin-top: 28px;
}
.doc-highlight strong { color: #fff; }

/* Inquiry path */
.inquiry-path {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 36px;
}
.inquiry-path .step-block {
  flex: 1 1 0;
  min-width: 150px;
  text-align: center;
  padding: 0 10px;
}
.inquiry-path .step-block .idx {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.inquiry-path .step-block p { font-size: 0.86rem; color: var(--text-on-dark-dim); }
.inquiry-path .arrow {
  display: flex;
  align-items: center;
  color: var(--border-on-dark);
  font-size: 1.2rem;
  padding-top: 2px;
}

/* Hero finder */
.hero-finder {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 28px;
}
.hero-finder select {
  flex: 1 1 160px;
  background: var(--navy-900);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
  padding: 11px 14px;
}
.hero-finder select:focus { outline: none; border-color: var(--accent-light); }
.hero-finder .btn { flex: 0 0 auto; }

/* Industries x Products matrix */
.matrix-wrap { overflow-x: auto; }
.matrix-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); }
.matrix-table th, .matrix-table td { border-bottom: 1px solid var(--border); padding: 14px 16px; text-align: center; white-space: nowrap; }
.matrix-table thead th {
  background: var(--navy-900);
  color: var(--text-on-dark-dim);
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.matrix-table thead th:first-child { background: var(--navy-950); }
.matrix-table thead th a { color: var(--text-on-dark-dim); }
.matrix-table thead th a:hover { color: #fff; }
.matrix-table tbody th {
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--bg-alt);
  white-space: normal;
}
.matrix-table tbody th a { color: var(--navy-900); }
.matrix-table tbody th a:hover { color: var(--accent); }
.matrix-table td.yes { color: var(--accent); font-weight: 700; font-size: 1.05rem; }
.matrix-table td.no { color: var(--border); }
.matrix-table tr:last-child td, .matrix-table tr:last-child th { border-bottom: none; }

/* Validation loop */
.loop-row { display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; }
.loop-step { flex: 1 1 0; min-width: 150px; text-align: center; padding: 0 8px; position: relative; }
.loop-step .loop-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.88rem;
  margin: 0 auto 14px;
}
.loop-step h4 { font-size: 0.94rem; margin-bottom: 6px; }
.loop-step p { font-size: 0.82rem; color: var(--text-faint); }
.loop-arrow { display: flex; align-items: center; padding-top: 20px; color: var(--border); font-size: 1.1rem; }

/* Responsibility teaser */
.resp-band { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.resp-pillars { display: flex; gap: 28px; flex-wrap: wrap; }
.resp-pillars div { font-size: 0.88rem; color: var(--text-dim); }
.resp-pillars strong { color: var(--navy-900); display: block; font-size: 0.95rem; margin-bottom: 4px; }
.resp-line { font-family: var(--ff-mono); font-size: 0.82rem; color: var(--text-faint); letter-spacing: 0.01em; }

/* Customer References (About Us) */
.customer-references .customer-group-title {
  font-size: 0.98rem;
  color: var(--navy-900);
  margin: 36px 0 16px;
  font-weight: 600;
}
.customer-references .customer-logo-group:first-of-type .customer-group-title { margin-top: 8px; }

.customer-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.customer-logo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  min-height: 92px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.customer-logo-card span {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.3;
}
.customer-logo-card:hover {
  border-color: var(--accent);
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
}
.customer-logo-card img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter .25s ease, opacity .25s ease;
}
.customer-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.customer-table-title {
  font-size: 1.1rem;
  color: var(--navy-900);
  margin: 48px 0 20px;
}
.customer-table-wrap { overflow-x: auto; }

.case-study-placeholder,
.customer-story-placeholder {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: border-color .2s ease, background .2s ease;
}
.case-study-placeholder:hover,
.customer-story-placeholder:hover {
  border-color: var(--accent);
  background: #fff;
}
.case-study-placeholder .placeholder-tag,
.customer-story-placeholder .placeholder-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  margin-bottom: 14px;
}
.case-study-placeholder h4,
.customer-story-placeholder h4 {
  font-size: 0.98rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.case-study-placeholder p,
.customer-story-placeholder p {
  font-size: 0.86rem;
  color: var(--text-faint);
  font-style: italic;
  margin: 0;
}

.customer-feedback-block { margin-top: 48px; }
.customer-feedback-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}
.customer-feedback-list li {
  font-size: 0.92rem;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.customer-feedback-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.customer-confidentiality-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
  line-height: 1.6;
}

/* Global Customer Footprint (About Us) */
.global-footprint { margin: 56px 0 48px; }
.globe-wrap {
  position: relative;
  width: 100%;
  height: 620px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at 32% 28%, #0c2040, var(--navy-950) 70%);
  box-shadow: var(--shadow-lg);
}
.globe-canvas { position: absolute; inset: 0; }

.globe-info-panel {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 340px;
  background: rgba(5, 15, 31, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  color: #fff;
  transition: opacity .2s ease;
}
.globe-info-placeholder { font-size: 0.86rem; color: var(--text-on-dark-faint); line-height: 1.6; }
.globe-info-region {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.globe-info-panel h4 { font-size: 1.08rem; color: #fff; margin-bottom: 14px; }
.globe-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}
.globe-info-row span { color: var(--text-on-dark-faint); }
.globe-info-row strong { color: #fff; }
.globe-info-block { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 12px 0; }
.globe-info-block p { font-size: 0.82rem; color: var(--text-on-dark-dim); margin: 6px 0 0; line-height: 1.5; }
.placeholder-tag-dark {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(185, 136, 58, 0.4);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
}
.globe-info-note { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.76rem; color: var(--text-on-dark-faint); font-style: italic; line-height: 1.5; }

/* Pin markers */
.globe-pin { position: relative; width: 14px; height: 14px; cursor: pointer; }
.globe-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 1px rgba(185, 136, 58, 0.7);
  transition: transform .2s ease;
}
.globe-pin--hq::before { background: var(--accent-light); box-shadow: 0 0 10px 2px rgba(90, 147, 201, 0.8); }
.globe-pin:hover::before { transform: scale(1.6); }
.globe-pin-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  opacity: 0;
  animation: globePulse 2.6s ease-out infinite;
}
.globe-pin--hq .globe-pin-pulse { border-color: var(--accent-light); animation-duration: 2.1s; }
@keyframes globePulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.4); opacity: 0; }
}
.globe-pin-tooltip {
  position: absolute;
  bottom: 145%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  background: #fff;
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.72rem;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  z-index: 5;
}
.globe-pin-tooltip strong { display: block; font-size: 0.78rem; color: var(--navy-900); margin-bottom: 2px; }
.globe-pin-tooltip span { display: block; color: var(--text-faint); }
.globe-pin:hover .globe-pin-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Network marker types + always-on labels for our own locations */
.globe-pin--office::before { background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7); }
.globe-pin--factory::before { background: #e6973a; box-shadow: 0 0 11px 2px rgba(230, 151, 58, 0.85); }
.globe-pin--office .globe-pin-pulse { border-color: #fff; animation-duration: 2.2s; }
.globe-pin--factory .globe-pin-pulse { border-color: #e6973a; animation-duration: 2.3s; }
.globe-pin-label {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; pointer-events: none;
  font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.03em; color: #fff;
  background: rgba(8, 26, 48, 0.82); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2px 7px; border-radius: 3px;
}
.globe-pin--hq { z-index: 3; }
.globe-pin--office, .globe-pin--factory { z-index: 2; }
.globe-legend { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 0 0 18px; }
.globe-legend .gl-it { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dim); }
.globe-legend .gl-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.gl-dot--hq { background: var(--accent-light); }
.gl-dot--office { background: #fff; border: 1px solid var(--border); }
.gl-dot--factory { background: #e6973a; }
.gl-dot--customer { background: var(--gold); }

/* ===================== SITE-WIDE POLISH (all interior pages) ===================== */
/* Page heroes: subtle depth + a finished bottom hairline */
.page-hero { overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 88% 14%, rgba(40, 104, 168, 0.30), transparent 52%),
    radial-gradient(circle at 8% 92%, rgba(185, 136, 58, 0.10), transparent 46%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(185, 136, 58, 0.5), transparent);
}
.page-hero .container { position: relative; z-index: 1; }

/* Breadcrumb: refined corporate treatment */
.breadcrumb { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Headings: slightly tighter, more editorial — site-wide */
.section-head h2 { letter-spacing: -0.01em; line-height: 1.16; }

/* Cards: refined hover (accent top rule + crisper border) */
.card { transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.card:hover { border-top-color: var(--accent); }

/* Spec / comparison tables: gentle row hover */
.compare-table tbody tr:hover td,
.compare-table tr:hover td { background: rgba(40, 104, 168, 0.04); }

/* ===================== MOBILE OPTIMIZATION ===================== */
/* Global guard: never allow the page to scroll sideways. overflow-x:clip
   stops horizontal slide WITHOUT breaking position:sticky (unlike hidden),
   and does not clip the position:fixed header (its container is the viewport). */
html { scroll-padding-top: 88px; }
body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
.hero-rotator { max-width: 100%; }

@media (max-width: 860px) {
  /* Mobile menu: keep the close (X) tappable (header stays above the panel)
     and make the panel scroll so every link is reachable. */
  .mobile-panel {
    z-index: 990;
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 92px 26px 44px;
    gap: 2px;
  }
  .mobile-panel a { font-size: 1.35rem; padding: 9px 0; }
  .mobile-panel .mobile-dropdown-panel a { font-size: 1rem; padding: 8px 0; }
  /* Hero finder: full-width controls when stacked */
  .hero-finder select, .hero-finder .btn { width: 100%; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 58px 0; }
  .home-summary { padding: 26px; gap: 26px; }
  .home-story-feature { padding: 26px; }
  .hsf-badge { max-width: 100%; }
  .about-eq { padding: 18px 14px; gap: 7px; }
  .about-eq span { font-size: 0.74rem; padding: 5px 11px; }
  .about-eq strong { font-size: 0.8rem; padding: 6px 12px; }
  .home-story-cards { grid-template-columns: 1fr; }
  .story-kicker .snum { font-size: 1.9rem; }
  .spec-card { overflow-x: auto; }
  .home-careers-strip { padding: 26px; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.5rem; }
  .home-story-feature { padding: 22px; }
}

/* Root-level guard so nothing can ever scroll the page sideways */
html { overflow-x: clip; }

/* On mobile, scroll-reveal must not translate horizontally — the off-screen
   +/-26px shift of not-yet-revealed elements was widening the page. Reveal
   vertically instead (same animation feel, zero horizontal overflow). */
@media (max-width: 860px) {
  [data-aos="fade-left"], [data-aos="fade-right"] { transform: translateY(20px); }
  [data-aos="fade-left"].aos-show, [data-aos="fade-right"].aos-show { transform: translateY(0); }
}

/* Form controls must always be able to shrink (a <select> with long option
   text was forcing the column wide); map SVG stays within its card. */
input, select, textarea { max-width: 100%; min-width: 0; }
.form-grid, .field { min-width: 0; }
.map-block svg { max-width: 100%; height: auto; width: 100%; }

/* Grid items / cards must be allowed to shrink below their content size,
   otherwise a single track can push past a very narrow viewport. */
.grid > *, .card { min-width: 0; }

/* Very small screens: drop the long top-bar links (email + profile) but keep
   the EN/中文 toggle, so the top bar never overflows. */
@media (max-width: 600px) {
  .topbar-links a { display: none; }
  .topbar { padding: 6px 0; }
}

@media (max-width: 640px) {
  /* Long buttons must wrap instead of overflowing; key CTAs go full width */
  .btn { white-space: normal; }
  .cta-banner .actions, .cta-banner .actions .btn,
  .hero-actions .btn, .home-careers-strip .btn { width: 100%; }
  .hero-actions { width: 100%; }
  /* Glance + stat numbers shrink cleanly */
  .about-glance dt, .about-glance dd { overflow-wrap: anywhere; }
  .statband .stat { min-width: 0; }
  .statband .stat-num { font-size: 1.4rem; overflow-wrap: anywhere; line-height: 1.2; }
}

@media (max-width: 860px) {
  .doc-grid { grid-template-columns: 1fr; }
  .inquiry-path { flex-direction: column; }
  .inquiry-path .arrow { display: none; }
  .topbar-coverage { display: none; }
  .hero-finder { flex-direction: column; }
  .loop-row { flex-direction: column; }
  .loop-arrow { display: none; }
  .customer-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .customer-feedback-list { grid-template-columns: 1fr; }
  .globe-wrap { height: 460px; }
  .globe-info-panel { left: 14px; right: 14px; bottom: 14px; max-width: none; }
}
@media (max-width: 560px) {
  .customer-logo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .doc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .doc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CASE STUDY PREVIEW (Home page)
   ============================================================ */
.case-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.case-preview-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-preview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-preview-card-head { background: var(--navy-900); padding: 16px 20px; }
.case-preview-card-head .case-preview-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  margin-bottom: 6px;
}
.case-preview-card-head h4 { font-size: 1rem; color: #fff; margin: 0; }
.case-preview-card-body { padding: 20px 20px 22px; }
.case-preview-card-body .case-preview-meta {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.case-preview-card-body p { font-size: 0.88rem; color: var(--text-dim); margin: 0; }

.case-preview-matrix { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); margin-bottom: 28px; }
.case-preview-matrix th, .case-preview-matrix td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.case-preview-matrix th { background: var(--navy-900); color: var(--text-on-dark-dim); font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.case-preview-matrix td { color: var(--text-dim); }
.case-preview-matrix tr:last-child td { border-bottom: none; }
.case-preview-matrix a { color: var(--accent); text-decoration: none; }
.case-preview-matrix a:hover { color: var(--gold); }

.case-preview-link-row { text-align: center; margin-top: 6px; }
.case-preview-link {
  position: relative;
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  text-decoration: none;
  padding-bottom: 4px;
}
.case-preview-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.case-preview-link:hover { color: var(--gold); }
.case-preview-link:hover::after { transform: scaleX(1); transform-origin: left; }

.case-preview-note { margin-top: 22px; font-size: 0.8rem; color: var(--text-faint); font-style: italic; line-height: 1.6; max-width: 760px; }

@media (max-width: 860px) {
  .case-preview-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CASE STUDIES PAGE (/case-studies)
   ============================================================ */
.case-filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.case-filter-tab {
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.case-filter-tab:hover { border-color: var(--gold); color: var(--navy-900); }
.case-filter-tab.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.case-study-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.case-study-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.case-study-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-study-card[hidden] { display: none; }

.case-study-card-head { background: var(--navy-900); padding: 18px 22px; }
.case-study-label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(185, 136, 58, 0.4);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  margin-bottom: 10px;
}
.case-study-title { font-size: 1rem; color: #fff; margin: 0; line-height: 1.4; }

.case-study-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.case-study-field { padding: 9px 0; border-top: 1px solid var(--border); font-size: 0.86rem; }
.case-study-field:first-child { border-top: none; }
.case-study-field span {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
}
.case-study-field p { color: var(--text-dim); margin: 0; font-size: 0.86rem; line-height: 1.5; }

.case-study-details { margin-top: 4px; }
.case-study-details[hidden] { display: none; }

.case-study-toggle {
  margin-top: 16px;
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--navy-900);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.case-study-toggle::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.case-study-toggle:hover { color: var(--gold); }
.case-study-toggle:hover::after { transform: scaleX(1); transform-origin: left; }

.case-study-matrix { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); margin-bottom: 28px; }
.case-study-matrix th, .case-study-matrix td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.case-study-matrix th { background: var(--navy-900); color: var(--text-on-dark-dim); font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.case-study-matrix td { color: var(--text-dim); }
.case-study-matrix tr:last-child td { border-bottom: none; }

.case-study-note { margin-top: 8px; font-size: 0.82rem; color: var(--text-faint); font-style: italic; line-height: 1.6; max-width: 780px; }

@media (max-width: 860px) {
  .case-study-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .case-study-grid { grid-template-columns: 1fr; }
  .case-filter-tabs { gap: 8px; }
}

/* ============================================================
   CAREERS PAGE (/careers)
   ============================================================ */
.careers-hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.careers-hero-note { font-size: 0.86rem; color: var(--text-on-dark-faint); }

.career-area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.career-area-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.career-area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.career-area-card .career-area-label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.career-area-card h4 { font-size: 1.02rem; color: var(--navy-900); margin-bottom: 10px; }
.career-area-card p { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 16px; }
.career-area-card ul { margin: 0 0 16px; padding: 0; list-style: none; }
.career-area-card ul li { font-size: 0.84rem; color: var(--text-dim); padding-left: 16px; position: relative; margin-bottom: 6px; }
.career-area-card ul li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.career-area-card .career-area-background { border-top: 1px solid var(--border); padding-top: 14px; font-size: 0.8rem; color: var(--text-faint); }
.career-area-card .career-area-background strong { color: var(--navy-900); }

.working-principles {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  padding: 52px 50px;
}
.working-principles .section-head .eyebrow { color: var(--accent-light); }
.working-principles .section-head h2 { color: #fff; }
.working-principles .section-head p { color: var(--text-on-dark-dim); }
.working-principles-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 8px; }
.working-principles-grid .wp-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  transition: border-color .25s ease, transform .25s ease;
}
.working-principles-grid .wp-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.working-principles-grid .wp-card h4 { font-size: 0.92rem; color: #fff; margin-bottom: 8px; }
.working-principles-grid .wp-card p { font-size: 0.82rem; color: var(--text-on-dark-faint); margin: 0; line-height: 1.5; }

.openings-section .job-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-bottom: 18px;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.openings-section .job-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); transform: translateY(-2px); }
.job-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.job-card-head h4 { font-size: 1.02rem; color: var(--navy-900); margin: 0; }
.job-card-tag {
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(185, 136, 58, 0.4);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  white-space: nowrap;
}
.job-card-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.job-card-meta div { font-size: 0.8rem; }
.job-card-meta span { display: block; font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 2px; }
.job-card-meta strong { color: var(--navy-900); font-weight: 500; }
.job-card-body p { font-size: 0.88rem; color: var(--text-dim); margin: 0 0 6px; }
.job-card-body p strong { color: var(--navy-900); }
.job-card-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--navy-900);
  text-decoration: none;
  position: relative;
}
.job-card-link::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .25s ease;
}
.job-card-link:hover { color: var(--gold); }
.job-card-link:hover::after { transform: scaleX(1); transform-origin: left; }

.application-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.application-process .ap-step { text-align: center; padding: 0 10px; }
.application-process .ap-step .ap-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.92rem;
  margin: 0 auto 16px;
}
.application-process .ap-step h4 { font-size: 0.96rem; color: var(--navy-900); margin-bottom: 8px; }
.application-process .ap-step p { font-size: 0.84rem; color: var(--text-faint); margin: 0; }

.career-form-section .form-note { margin-top: 16px; }

@media (max-width: 860px) {
  .career-area-grid { grid-template-columns: repeat(2, 1fr); }
  .working-principles-grid { grid-template-columns: repeat(2, 1fr); }
  .application-process { grid-template-columns: repeat(2, 1fr); }
  .working-principles { padding: 44px 30px; }
}
@media (max-width: 600px) {
  .career-area-grid { grid-template-columns: 1fr; }
  .working-principles-grid { grid-template-columns: 1fr; }
  .application-process { grid-template-columns: 1fr; }
}

/* ============================================================
   R&D SECTION (technology.html) — mixed technical layouts
   ============================================================ */

/* Block 1 — large feature panel */
.rd-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 60px 56px;
}
.rd-feature-text .eyebrow { color: var(--accent-light); }
.rd-feature-text h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 14px 0 20px; }
.rd-feature-text p { color: var(--text-on-dark-dim); font-size: 0.96rem; margin-bottom: 14px; }
.rd-feature-diagram { display: flex; align-items: center; justify-content: center; }

/* Block 2 / Block 6 — chip components shared across panels */
.rd-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-chip {
  font-size: 0.78rem;
  color: var(--text-on-dark-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-on-dark);
  border-radius: 999px;
  padding: 6px 12px;
  transition: border-color .2s ease, color .2s ease;
}
.rd-chip:hover { border-color: var(--gold); color: #fff; }

/* Block 2 — reactor intelligence panel */
.rd-reactor-panel {
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  padding: 50px 50px 44px;
}
.rd-reactor-panel .eyebrow { color: var(--accent-light); }
.rd-reactor-panel h2 { color: #fff; }
.rd-reactor-panel > p { color: var(--text-on-dark-dim); }
.rd-cluster-row { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 30px; }
.rd-cluster { flex: 1 1 260px; }
.rd-cluster h4 { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }

/* Block 3 — input / reactor / outcome flow */
.rd-flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; margin-top: 8px; }
.rd-flow-stage { flex: 1 1 0; min-width: 220px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px 24px; }
.rd-flow-stage h4 { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.rd-flow-stage ul { list-style: none; margin: 0; padding: 0; }
.rd-flow-stage ul li { font-size: 0.86rem; color: var(--text-dim); padding-left: 14px; position: relative; margin-bottom: 8px; }
.rd-flow-stage ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.rd-flow-arrow { display: flex; align-items: center; justify-content: center; padding: 0 10px; color: var(--border); font-size: 1.3rem; flex: 0 0 auto; }
.rd-example-list { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 22px; }
.rd-example-list h4 { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.rd-example-list ol { margin: 0; padding-left: 20px; }
.rd-example-list ol li { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 8px; }

/* Block 4 — equation / system map */
.rd-eq-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.rd-eq-term {
  background: var(--navy-900); color: #fff;
  font-family: var(--ff-mono); font-size: 0.82rem;
  padding: 14px 18px; border-radius: var(--radius-sm); text-align: center;
}
.rd-eq-term.rd-eq-result { background: var(--gold); color: var(--navy-950); font-weight: 600; }
.rd-eq-op { color: var(--text-faint); font-size: 1.1rem; font-family: var(--ff-mono); }
.rd-eq-defs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.rd-eq-defs h4 { font-size: 0.92rem; color: var(--navy-900); margin-bottom: 8px; }
.rd-eq-defs p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }

/* Block 5 — vertical pilot workflow timeline */
.rd-timeline { position: relative; padding-left: 54px; }
.rd-timeline::before { content: ""; position: absolute; left: 21px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.rd-timeline-step { position: relative; padding-bottom: 34px; }
.rd-timeline-step:last-child { padding-bottom: 0; }
.rd-timeline-step .rd-tl-num {
  position: absolute; left: -54px; top: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 0.84rem;
}
.rd-timeline-step h4 { font-size: 0.98rem; color: var(--navy-900); margin-bottom: 6px; }
.rd-timeline-step p { font-size: 0.88rem; color: var(--text-dim); margin: 0; max-width: 640px; }

/* Block 6 — compact refinery band */
.rd-refinery-band {
  background: var(--navy-900);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.rd-refinery-band h3 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.rd-refinery-band p { color: var(--text-on-dark-dim); font-size: 0.88rem; margin-bottom: 10px; }

/* Block 7 — product briefs tabs */
.rd-tab-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.rd-tab-btn {
  font-family: var(--ff-mono); font-size: 0.76rem; letter-spacing: 0.04em;
  padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--text-dim); cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.rd-tab-btn:hover { border-color: var(--gold); color: var(--navy-900); }
.rd-tab-btn.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.rd-tab-panel { display: none; }
.rd-tab-panel.is-active { display: block; }
.rd-tab-panel-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 32px 34px;
}
.rd-tab-panel-inner h4 { font-size: 0.7rem; font-family: var(--ff-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.rd-tab-panel-inner p { font-size: 0.9rem; color: var(--text-dim); margin: 0; }
.rd-tab-panel-inner ul { list-style: none; margin: 0; padding: 0; }
.rd-tab-panel-inner ul li { font-size: 0.86rem; color: var(--text-dim); padding-left: 14px; position: relative; margin-bottom: 8px; }
.rd-tab-panel-inner ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}

/* Block 8 — application learning loop */
.rd-loop-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; }
.rd-loop-node { width: 140px; text-align: center; }
.rd-loop-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  font-family: var(--ff-mono); font-size: 0.82rem; margin-bottom: 10px;
}
.rd-loop-node p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }
.rd-loop-arrow { color: var(--border); font-size: 1.2rem; padding: 0 2px; }
.rd-loop-return { text-align: center; font-family: var(--ff-mono); font-size: 0.78rem; color: var(--gold); margin-bottom: 24px; }
.rd-loop-text { max-width: 680px; margin: 0 auto; text-align: center; color: var(--text-dim); font-size: 0.9rem; }

@media (max-width: 900px) {
  .rd-feature { grid-template-columns: 1fr; padding: 44px 32px; }
  .rd-eq-defs { grid-template-columns: repeat(2, 1fr); }
  .rd-tab-panel-inner { grid-template-columns: 1fr; }
  .rd-refinery-band { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rd-flow { flex-direction: column; }
  .rd-flow-arrow { transform: rotate(90deg); padding: 8px 0; }
  .rd-eq-defs { grid-template-columns: 1fr; }
  .rd-loop-node { width: 110px; }
}

/* ============================================================
   HOME PAGE REDESIGN (index.html only)
   ============================================================ */

/* Hero — subtle technical line motion */
.home-hero-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.home-hero-lines svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.16; }
.home-hero-lines .hl-drift { animation: homeLineDrift 16s linear infinite; }
@keyframes homeLineDrift {
  0% { transform: translateX(-30px); }
  100% { transform: translateX(30px); }
}

/* Industrial Scope Snapshot */
.home-scope-band {
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.home-scope-chip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-on-dark);
  border-radius: 999px;
  padding: 10px 18px;
  transition: border-color .2s ease, background .2s ease;
}
.home-scope-chip:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.08); }
.home-scope-chip .hsc-num { font-family: var(--ff-mono); font-size: 1rem; font-weight: 600; color: var(--gold); }
.home-scope-chip .hsc-label { font-size: 0.78rem; color: var(--text-on-dark-dim); white-space: nowrap; }

/* Product Architecture Preview */
.home-architecture { display: flex; flex-direction: column; align-items: center; gap: 0; }
.home-arch-hub {
  background: var(--navy-900); color: #fff;
  font-family: var(--ff-mono); font-size: 0.78rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--radius-sm);
  position: relative; z-index: 2;
}
.home-arch-trunk { width: 2px; height: 28px; background: var(--border); }
.home-arch-clusters { display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; width: 100%; padding-top: 4px; }
.home-arch-cluster { flex: 1 1 280px; max-width: 380px; }
.home-arch-cluster-head { text-align: center; border-top: 2px solid var(--border); padding-top: 18px; margin-bottom: 16px; }
.home-arch-cluster-head h4 { font-size: 0.82rem; font-family: var(--ff-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); }
.home-arch-node-row { display: flex; flex-direction: column; gap: 10px; }
.home-arch-node {
  display: block; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 0.9rem; font-weight: 500; color: var(--navy-900);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-arch-node:hover { border-color: var(--gold); transform: translateX(4px); box-shadow: var(--shadow-sm); }

/* Process Duty band */
.home-duty-band { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0; margin-bottom: 8px; }
.home-duty-block {
  flex: 1 1 0; min-width: 160px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px 18px; text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.home-duty-block:hover { border-color: var(--gold); transform: translateY(-3px); }
.home-duty-block h4 { font-size: 0.86rem; color: var(--navy-900); margin-bottom: 8px; }
.home-duty-block p { font-size: 0.78rem; color: var(--text-faint); margin: 0; line-height: 1.45; }
.home-duty-arrow { display: flex; align-items: center; justify-content: center; padding: 0 4px; color: var(--border); font-size: 1.1rem; flex: 0 0 auto; }
.home-matrix-subhead { margin: 44px 0 22px; font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); border-top: 1px solid var(--border); padding-top: 28px; }

/* Regional Market Orientation */
.home-region-band { display: flex; flex-wrap: wrap; }
.home-region-col { flex: 1 1 220px; padding: 0 28px; border-left: 1px solid var(--border); }
.home-region-col:first-child { border-left: none; padding-left: 0; }
.home-region-col h4 { font-size: 0.96rem; color: var(--navy-900); margin-bottom: 10px; }
.home-region-col p { font-size: 0.84rem; color: var(--text-faint); margin: 0; line-height: 1.5; }

/* R&D Glimpse */
.home-rd-glimpse { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); border-radius: var(--radius-lg); padding: 56px 54px; }
.home-rd-glimpse .eyebrow { color: var(--accent-light); }
.home-rd-glimpse h2 { color: #fff; }
.home-rd-intro { color: var(--text-on-dark-dim); font-size: 0.96rem; max-width: 760px; margin-top: 14px; margin-bottom: 36px; }
.home-rd-list { display: flex; flex-direction: column; gap: 0; }
.home-rd-item { display: flex; gap: 24px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--border-on-dark); }
.home-rd-item:first-child { border-top: none; }
.home-rd-item .hri-num { font-family: var(--ff-mono); font-size: 0.82rem; color: var(--gold); flex: 0 0 auto; width: 32px; }
.home-rd-item h4 { font-size: 0.96rem; color: #fff; margin-bottom: 6px; }
.home-rd-item p { font-size: 0.86rem; color: var(--text-on-dark-dim); margin: 0; max-width: 640px; }
.home-rd-cta-row { margin-top: 36px; }

@media (max-width: 900px) {
  .home-arch-clusters { flex-direction: column; align-items: stretch; }
  .home-duty-band { flex-direction: column; }
  .home-duty-arrow { transform: rotate(90deg); padding: 6px 0; }
  .home-region-band { flex-direction: column; gap: 24px; }
  .home-region-col { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; }
  .home-region-col:first-child { border-top: none; padding-top: 0; }
  .home-rd-glimpse { padding: 40px 28px; }
}
@media (max-width: 600px) {
  .home-scope-band { padding: 26px 20px; }
}

/* ============================================================
   RESPONSIBILITY PAGE (sustainability.html)
   ============================================================ */

/* Section 1 — pillars */
.resp-pillars { margin-top: 8px; }
.resp-pillar { display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.resp-pillar:last-child { border-bottom: none; }
.resp-pillar-num { font-family: var(--ff-head); font-size: 1.6rem; font-weight: 700; color: var(--accent); min-width: 56px; }
.resp-pillar h3 { font-size: 1.05rem; color: var(--navy-900); margin-bottom: 8px; }
.resp-pillar p { font-size: 0.92rem; color: var(--text-dim); margin: 0; max-width: 720px; }

/* Section 2 — safety split layout */
.resp-safety-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
.resp-checklist { background: var(--navy-950); border-radius: var(--radius-lg); padding: 34px 32px; }
.resp-checklist h4 { color: #fff; font-size: 0.84rem; font-family: var(--ff-mono); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 18px; }
.resp-checklist ul { list-style: none; margin: 0; padding: 0; }
.resp-checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--border-on-dark); font-size: 0.88rem; color: var(--text-on-dark-dim); }
.resp-checklist li:first-child { border-top: none; }
.resp-checklist li::before { content: "\2713"; color: var(--gold); flex: 0 0 auto; font-weight: 700; }
.resp-safety-notes { display: flex; flex-direction: column; gap: 26px; }
.resp-safety-notes h4 { font-size: 0.98rem; color: var(--navy-900); margin-bottom: 8px; }
.resp-safety-notes p { font-size: 0.9rem; color: var(--text-dim); margin: 0; }

/* Section 3 — stewardship cycle */
.resp-cycle { display: flex; flex-wrap: wrap; gap: 0; align-items: stretch; }
.resp-cycle-stage { flex: 1 1 0; min-width: 170px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 18px; text-align: center; }
.resp-cycle-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--ff-mono); font-size: 0.8rem; margin-bottom: 14px; }
.resp-cycle-stage h4 { font-size: 0.9rem; color: var(--navy-900); margin-bottom: 8px; }
.resp-cycle-stage p { font-size: 0.79rem; color: var(--text-faint); margin: 0; line-height: 1.45; }
.resp-cycle-arrow { display: flex; align-items: center; justify-content: center; padding: 0 4px; color: var(--border); font-size: 1.1rem; flex: 0 0 auto; }

/* Section 4 — environmental bands */
.resp-env-bands { display: flex; flex-direction: column; }
.resp-env-band { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding: 22px 0; border-top: 1px solid var(--border); align-items: start; }
.resp-env-band:first-child { border-top: none; }
.resp-env-band h4 { font-size: 0.96rem; color: var(--navy-900); margin: 0; }
.resp-env-band p { font-size: 0.88rem; color: var(--text-dim); margin: 0; }

/* Section 5 — logistics control panel */
.resp-logistics-panel { background: var(--navy-900); border-radius: var(--radius-lg); padding: 40px 44px; }
.resp-logistics-panel .eyebrow { color: var(--accent-light); }
.resp-logistics-panel h2 { color: #fff; }
.resp-logistics-panel > p { color: var(--text-on-dark-dim); }
.resp-logistics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; margin-top: 22px; margin-bottom: 26px; }
.resp-logistics-grid div { font-size: 0.86rem; color: var(--text-on-dark-dim); padding-left: 16px; position: relative; }
.resp-logistics-grid div::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.resp-logistics-statement { border-top: 1px solid var(--border-on-dark); padding-top: 22px; font-size: 0.92rem; color: #fff; font-style: italic; max-width: 760px; }

/* Section 6 — governance manifesto panels */
.resp-governance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius-md); overflow: hidden; }
.resp-governance-panel { background: #fff; padding: 30px 28px; }
.resp-governance-panel h4 { font-size: 0.98rem; color: var(--navy-900); margin-bottom: 10px; }
.resp-governance-panel p { font-size: 0.88rem; color: var(--text-dim); margin: 0; }

@media (max-width: 860px) {
  .resp-safety-grid { grid-template-columns: 1fr; }
  .resp-cycle { flex-direction: column; }
  .resp-cycle-arrow { transform: rotate(90deg); padding: 6px 0; }
  .resp-env-band { grid-template-columns: 1fr; gap: 8px; }
  .resp-logistics-grid { grid-template-columns: 1fr; }
  .resp-governance-grid { grid-template-columns: 1fr; }
  .resp-logistics-panel { padding: 32px 26px; }
}

/* Home page — contained supporting visuals (Product Architecture / R&D Glimpse / Regional) */
.home-visual-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
  height: 220px;
  line-height: 0;
}
.home-visual-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-rd-glimpse .home-visual-banner { margin-bottom: 28px; box-shadow: none; border: 1px solid var(--border-on-dark); }
@media (max-width: 700px) {
  .home-visual-banner { height: 160px; }
}

/* ============================================================
   HOME PAGE — CLASSY / EDITORIAL LAYER (scoped to body.home)
   ============================================================ */

/* Rhythm & section heads */
body.home .section { padding: 104px 0; }
body.home .section--tight { padding: 60px 0; }
body.home .section-head { position: relative; margin-bottom: 56px; max-width: 760px; }
body.home .section-head .eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; }
body.home .section-head h2 {
  font-size: clamp(1.75rem, 2.9vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--navy-950);
}
body.home .section-head > p { font-size: 1.04rem; color: var(--text-dim); margin-top: 16px; }

/* Editorial ghost numerals behind numbered section heads */
body.home { counter-reset: homesec; }
body.home .home-numbered::before {
  content: counter(homesec, decimal-leading-zero);
  counter-increment: homesec;
  position: absolute;
  top: -0.72em;
  left: -4px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: var(--navy-950);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}
body.home .section-head.center.home-numbered::before { left: 50%; transform: translateX(-50%); }
body.home .section-head.home-numbered > * { position: relative; z-index: 1; }

/* Thin gold hairline under centered heads */
body.home .section-head.center::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* By the Numbers — refined dark band */
body.home .home-scope-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  gap: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
body.home .home-scope-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black, transparent 80%);
  pointer-events: none;
}
body.home .home-scope-chip {
  flex: 1 1 0;
  min-width: 150px;
  display: block;
  text-align: center;
  background: none;
  border: none;
  border-left: 1px solid var(--border-on-dark);
  border-radius: 0;
  padding: 8px 18px;
  position: relative;
  z-index: 1;
  transition: transform .25s ease;
}
body.home .home-scope-chip:first-child { border-left: none; }
body.home .home-scope-chip:hover { transform: translateY(-4px); background: none; }
body.home .home-scope-chip .hsc-num {
  display: block;
  font-family: var(--ff-head);
  font-size: 2.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
body.home .home-scope-chip .hsc-num::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}
body.home .home-scope-chip .hsc-label {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-on-dark-faint);
  white-space: normal;
}

/* Product Architecture — premium hub */
body.home .home-arch-hub {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border: 1px solid var(--border-on-dark);
  letter-spacing: 0.08em;
  padding: 16px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
}
body.home .home-arch-hub::before {
  content: "";
  position: absolute;
  left: 14px; top: 14px; right: 14px; bottom: 14px;
  border: 1px solid rgba(185,136,58,0.35);
  border-radius: 3px;
  pointer-events: none;
}
body.home .home-arch-trunk { width: 1px; height: 36px; background: linear-gradient(var(--gold), var(--border)); }
body.home .home-arch-cluster-head h4 { color: var(--gold); letter-spacing: 0.1em; }
body.home .home-arch-cluster-head { border-top-color: var(--navy-900); }
body.home .home-arch-node {
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
body.home .home-arch-node:hover {
  border-color: var(--gold);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

/* Process Duty — numbered blocks */
body.home .home-duty-band { counter-reset: homeduty; }
body.home .home-duty-block {
  position: relative;
  padding-top: 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.home .home-duty-block::before {
  content: counter(homeduty, decimal-leading-zero);
  counter-increment: homeduty;
  position: absolute;
  top: 12px; left: 0; right: 0;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}
body.home .home-duty-block:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
body.home .home-duty-block h4 { color: var(--navy-950); }
body.home .home-matrix-subhead { color: var(--text-faint); }
body.home .matrix-table { box-shadow: var(--shadow-md); }
body.home .matrix-table thead th { letter-spacing: 0.05em; }

/* Regional — indexed columns */
body.home .home-region-band { counter-reset: homereg; }
body.home .home-region-col { counter-increment: homereg; padding-top: 6px; transition: border-color .25s ease; }
body.home .home-region-col h4 { position: relative; }
body.home .home-region-col h4::before {
  content: counter(homereg, decimal-leading-zero);
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
body.home .home-region-col:hover { border-left-color: var(--gold); }

/* R&D Glimpse — richer dark feature */
body.home .home-rd-glimpse { position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
body.home .home-rd-glimpse::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(120deg, black, transparent 70%);
  -webkit-mask-image: linear-gradient(120deg, black, transparent 70%);
  pointer-events: none;
}
body.home .home-rd-glimpse > * { position: relative; z-index: 1; }
body.home .home-rd-item { transition: border-color .25s ease; }
body.home .home-rd-item:hover { border-top-color: var(--gold); }

/* Case preview — premium cards */
body.home .case-preview-card { position: relative; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
body.home .case-preview-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
body.home .case-preview-card:hover::before { transform: scaleX(1); }
body.home .case-preview-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* Final CTA — refined framing */
body.home .cta-banner { position: relative; border: 1px solid var(--border-on-dark); box-shadow: var(--shadow-lg); }
body.home .inquiry-path { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--border-on-dark); }

/* Decorative hero scroll cue */
body.home .hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  pointer-events: none;
}
body.home .hero-scroll-cue i {
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: heroScroll 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes heroScroll {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 860px) {
  body.home .section { padding: 72px 0; }
  body.home .home-scope-chip { border-left: none; }
  body.home .hero-scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.home .hero-scroll-cue i { animation: none; }
}

/* ============================================================
   PRODUCT DETAIL PAGES — shared technical-content components
   ============================================================ */
.product-section-title {
  font-size: 1.1rem;
  color: var(--navy-900);
  margin: 0 0 20px;
}
.product-positioning { font-size: 0.96rem; color: var(--text-dim); max-width: 760px; margin-bottom: 8px; }

.product-where-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; list-style: none; margin: 0; padding: 0; }
.product-where-list li { font-size: 0.88rem; color: var(--text-dim); padding-left: 16px; position: relative; }
.product-where-list li::before { content: "\2014"; position: absolute; left: 0; color: var(--gold); }

.product-factor-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.product-factor-chip {
  font-size: 0.78rem;
  color: var(--text-dim);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}

.product-pathways { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 8px; }
.product-pathway-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color .2s ease, padding-left .2s ease;
}
.product-pathway-link:hover { color: var(--accent); padding-left: 8px; }
.product-pathway-link .ppl-sub { display: block; font-weight: 400; font-size: 0.82rem; color: var(--text-faint); margin-top: 4px; }
.product-pathway-link .ppl-arrow { font-family: var(--ff-mono); color: var(--gold); flex-shrink: 0; }

.product-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 20px; transition: border-color .2s ease, transform .2s ease; }
.product-case-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.product-case-card .pcc-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  margin-bottom: 10px;
}
.product-case-card h4 { font-size: 0.9rem; color: var(--navy-900); margin-bottom: 8px; }
.product-case-card p { font-size: 0.82rem; color: var(--text-faint); margin: 0; font-style: italic; }

.product-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.product-checklist div { font-size: 0.86rem; color: var(--text-dim); padding-left: 18px; position: relative; }
.product-checklist div::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

@media (max-width: 760px) {
  .product-case-grid { grid-template-columns: 1fr; }
  .product-checklist { grid-template-columns: 1fr; }
  .product-where-list { grid-template-columns: 1fr; }
}

/* ---- Model detail cards (per-SKU descriptions, no raw spec data) ---- */
.model-list { display: grid; gap: 16px; margin-bottom: 36px; }
.model-detail {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--bg);
  padding: 22px 24px;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.model-detail:hover { box-shadow: var(--shadow-sm); border-left-color: var(--accent-light); }
.model-detail-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.model-detail-code {
  font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-pale);
  padding: 4px 10px; border-radius: var(--radius-sm); white-space: nowrap;
}
.model-detail-title { font-family: var(--ff-head); font-size: 1.05rem; font-weight: 600; color: var(--navy-900); margin: 0; line-height: 1.3; }
.model-detail-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin: 0 0 14px; }
.model-detail-meta dt {
  font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 3px;
}
.model-detail-meta dd { margin: 0; font-size: 0.86rem; color: var(--text-dim); line-height: 1.5; }
.model-detail p.md-desc { margin: 0; color: var(--text); line-height: 1.66; font-size: 0.92rem; }
.model-detail .md-xref { margin: 14px 0 0; padding: 12px 16px; background: var(--accent-pale); border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--text-dim); line-height: 1.55; }
.model-detail .md-xref a { color: var(--accent); }
/* Compact variant — used inside the Product Architecture grid overview */
.grid > .model-detail { height: 100%; }
.model-detail.compact { padding: 20px; }
.model-detail.compact .model-detail-head { margin-bottom: 12px; }
.model-detail.compact .model-detail-title { font-size: 1rem; }
.model-detail.compact .model-detail-meta { grid-template-columns: 1fr; gap: 0; margin-bottom: 12px; }
.model-detail.compact .md-desc { font-size: 0.88rem; }
@media (max-width: 640px) { .model-detail-meta { grid-template-columns: 1fr; } }

/* ============================================================
   INDUSTRIES PAGE — duty envelope (Gas Treatment) + matrix wrap
   ============================================================ */
.industry-envelope {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px 36px;
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
}
.industry-envelope-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px dashed var(--border);
}
.industry-envelope-row:last-child { border-bottom: none; }
.industry-envelope-row .ie-num {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--gold);
  min-width: 28px;
  padding-top: 2px;
}
.industry-envelope-row h4 { font-size: 0.96rem; color: var(--navy-900); margin: 0 0 6px; }
.industry-envelope-row p { font-size: 0.86rem; color: var(--text-faint); margin: 0; }

.industry-positioning { font-size: 0.96rem; color: var(--accent-light); font-weight: 500; margin-bottom: 18px; }
.page-hero .industry-positioning { color: var(--accent-light); }

@media (max-width: 600px) {
  .industry-envelope { padding: 4px 22px; }
}

/* ============================================================
   ABOUT PAGE — classy / editorial layer (scoped to body.about)
   ============================================================ */
body.about .section { padding: 100px 0; }

/* Hero — faint logo monogram watermark + refined depth */
body.about .page-hero { overflow: hidden; }
body.about .page-hero .container { position: relative; z-index: 2; }
body.about .page-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 50%;
  width: 400px;
  height: 400px;
  transform: translateY(-50%);
  background: url("../images/sinotech-logo.png") no-repeat center / contain;
  filter: brightness(0) invert(1);
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

/* Refined section heads */
body.about .section-head { position: relative; margin-bottom: 52px; }
body.about .section-head .eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; }
body.about .section-head h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--navy-950);
}
body.about .section-head.center::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Premium card hover */
body.about .card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
body.about .card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
body.about .icon-box { transition: color .25s ease, border-color .25s ease; }
body.about .card:hover .icon-box { color: var(--gold); border-color: var(--gold); }

/* Quote block — refined gold accent */
body.about .quote-block .quote-mark { color: var(--gold); opacity: 0.7; }

/* Headquarters & management figures — editorial framed images */
body.about .about-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #fff;
}
body.about .about-figure img { width: 100%; display: block; }
body.about .about-figure figcaption {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  padding: 15px 18px;
  border-top: 1px solid var(--border);
}

/* Management photo — quiet, contained, grayscale; subtle reveal on hover */
body.about .management-photo {
  max-width: 920px;
  margin: 52px auto 0;
}
body.about .management-photo img {
  filter: grayscale(1) contrast(1.03) brightness(1.02);
  transition: filter .6s ease;
}
body.about .management-photo:hover img { filter: grayscale(0.55) contrast(1.02); }

@media (max-width: 860px) {
  body.about .section { padding: 72px 0; }
  body.about .page-hero::after { width: 260px; height: 260px; right: -50px; opacity: 0.04; }
}
