/* =============================================================
   DAFIN PRECISION TECHNOLOGY — Corporate site stylesheet
   Industrial / precision-engineering visual system
   Palette: deep navy + steel + silver + white
   ============================================================= */

:root {
  /* Color tokens */
  --ink: #0b1622;
  --navy: #0e2238;
  --navy-2: #14314f;
  --navy-3: #1a3f63;
  --steel: #21649f;
  --steel-strong: #1a4f80;
  --steel-light: #4e8cc7;
  --silver: #c8d2dc;
  --silver-mid: #8d9aa8;
  --silver-dark: #5c6874;
  --paper: #f5f7fa;
  --paper-2: #eef2f6;
  --white: #ffffff;
  --line: #e0e6ed;
  --line-strong: #cdd6df;
  --accent: #e8a33d;
  --accent-soft: #f6e3c2;

  /* Typography */
  --font-sans: "Inter", "Segoe UI", "Helvetica Neue", "PingFang TC",
    "Microsoft JhengHei", "Heiti TC", "Noto Sans TC", system-ui, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Roboto Mono", ui-monospace,
    "SFMono-Regular", Menlo, Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.28s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  color: #26313d;
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--paper); }
.section--dark { background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%); color: #dbe4ee; }
.section--split { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--steel); font-weight: 600;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.section--dark .eyebrow { color: var(--steel-light); }

.h-display {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08; letter-spacing: -0.015em;
  color: var(--ink); font-weight: 800;
}
.h-section {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15; color: var(--ink); font-weight: 800; letter-spacing: -0.01em;
}
.section--dark .h-display, .section--dark .h-section { color: #ffffff; }

.lede { color: var(--silver-dark); font-size: clamp(16px, 1.6vw, 19px); max-width: 62ch; }
.section--dark .lede { color: #b9c6d4; }

.section-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .h-section { margin: 14px 0 16px; }

/* ---------- Buttons & CTAs ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 24px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: all var(--t) var(--ease);
  line-height: 1; white-space: nowrap;
}
.btn .arr { transition: transform var(--t) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--steel); color: #fff; }
.btn--primary:hover { background: var(--steel-strong); box-shadow: 0 10px 26px rgba(33, 100, 159, 0.28); }
.btn--accent { background: var(--accent); color: #1c1506; }
.btn--accent:hover { background: #d6952f; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--steel); color: var(--steel-strong); }
.btn--sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 22, 34, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--header-h);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 22px; letter-spacing: 0.14em; color: #fff; }
.brand__sub { font-size: 10.5px; letter-spacing: 0.22em; color: var(--silver-mid); margin-top: 5px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__link {
  color: #c3cedb; font-size: 14.5px; font-weight: 500; padding: 9px 13px;
  border-radius: var(--radius); transition: all var(--t) var(--ease); position: relative;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; background: var(--accent);
}

.header-tools { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang {
  display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px; overflow: hidden; font-size: 12.5px; font-weight: 600;
}
.lang a { padding: 7px 13px; color: var(--silver-mid); transition: all var(--t); }
.lang a.is-active { background: var(--steel); color: #fff; }
.lang a:not(.is-active):hover { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 42px; height: 42px; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
  transition: transform var(--t);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #0b1622 0%, #10263e 55%, #14314f 100%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 72%);
}
.hero__beam {
  position: absolute; right: -10%; top: -20%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(78, 140, 199, 0.35) 0%, transparent 65%);
  filter: blur(4px);
}
.hero__inner { position: relative; padding: clamp(72px, 11vw, 148px) 0 clamp(64px, 9vw, 116px); }
.hero__tag {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver);
  border: 1px solid rgba(255,255,255,0.22); padding: 8px 14px; border-radius: 999px;
}
.hero__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 68px); line-height: 1.04; font-weight: 800;
  letter-spacing: -0.02em; margin: 26px 0 20px; max-width: 16ch;
}
.hero h1 .accent { color: var(--steel-light); }
.hero__lede { font-size: clamp(17px, 2vw, 22px); color: #c7d3e0; max-width: 54ch; line-height: 1.5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__notes { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; }
.hero__note { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: #9fb0c2; display: flex; align-items: center; gap: 8px; }
.hero__note::before { content: ""; width: 5px; height: 5px; background: var(--steel-light); transform: rotate(45deg); }

/* ---------- Credential strip ---------- */
.cred-strip { background: #fff; border-bottom: 1px solid var(--line); }
.cred-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 34px; padding: 22px 0; }
.cred-strip__item { display: flex; align-items: center; gap: 12px; }
.cred-strip__num { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--steel-strong); }
.cred-strip__label { font-size: 12.5px; color: var(--silver-dark); letter-spacing: 0.03em; line-height: 1.3; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.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(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; transition: all var(--t) var(--ease); position: relative; overflow: hidden;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(14, 34, 56, 0.1); }
.card__ico {
  width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--paper-2); color: var(--steel); margin-bottom: 18px;
}
.card__ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--silver-dark); font-size: 15px; }
.card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-weight: 600; font-size: 14.5px; color: var(--steel-strong);
  white-space: nowrap;
}
.card__link .arr { transition: transform var(--t) var(--ease); }
.card__link:hover .arr { transform: translateX(4px); }

/* Numbered / stat card variant */
.stat-card { border-left: 3px solid var(--steel); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split__media { position: relative; }
.split__media .ph { border-radius: var(--radius-lg); }

/* ---------- Placeholder media ---------- */
.ph {
  position: relative; display: grid; place-items: center; min-height: 200px;
  background:
    repeating-linear-gradient(45deg, var(--paper-2) 0 8px, var(--paper) 8px 16px);
  border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  color: var(--silver-mid); overflow: hidden;
}
.ph__inner { text-align: center; padding: 28px; }
.ph__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-mid); margin-top: 12px; }
.ph__ico { width: 44px; height: 44px; margin: 0 auto; color: var(--silver-mid); }
.ph--dark { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.16); color: #7f93a8; }
.ph--tall { min-height: 340px; }
.ph--square { aspect-ratio: 4/3; }

/* ---------- Real images (products / about) ---------- */
.prod-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; display: block; }
.founder-img { width: 100%; max-width: 420px; margin: 0 auto; display: block; aspect-ratio: 3/4; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facility-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #eef1f4; display: block; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.step__num {
  font-family: var(--font-mono); font-size: 40px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.4px var(--steel-light);
}
.step h3 { font-size: 17px; color: var(--ink); font-weight: 700; margin: 14px 0 8px; }
.step p { font-size: 14px; color: var(--silver-dark); }
.step__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.step__tag { font-family: var(--font-mono); font-size: 11px; color: var(--steel-strong); background: var(--paper-2); padding: 4px 8px; border-radius: 3px; }

/* ---------- Feature list ---------- */
.list-check { list-style: none; display: grid; gap: 14px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: #33414f; }
.list-check li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px;
  background: var(--steel); border-radius: 4px; position: relative;
}
.list-check li::after { content: ""; } /* keep spacing consistent */
.list-check li .ck {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: var(--steel);
}
.list-check li .ck svg { width: 18px; height: 18px; }

/* ---------- Table (specs) ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--silver-dark); background: var(--paper); font-weight: 600; }
.spec-table td { color: #33414f; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: linear-gradient(135deg, #0b1622 0%, #10263e 60%, #14314f 100%); color: #fff; overflow: hidden; }
.page-hero__grid {
  position: absolute; inset: 0; opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 20%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 75% 20%, #000 0%, transparent 70%);
}
.page-hero__inner { position: relative; padding: clamp(56px, 8vw, 96px) 0; }
.page-hero .crumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-mid); margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; max-width: 18ch; }
.page-hero p { color: #c7d3e0; max-width: 62ch; font-size: clamp(16px, 1.8vw, 20px); margin-top: 18px; }

/* ---------- Bento / value props ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value {
  padding: 30px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff;
}
.value h3 { font-size: 19px; color: var(--ink); font-weight: 700; margin: 12px 0 8px; display: flex; align-items: center; gap: 10px; }
.value p { color: var(--silver-dark); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.cta-band h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.cta-band p { color: #b9c6d4; margin-top: 10px; max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb9c6; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 44px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.site-footer a { color: #aeb9c6; transition: color var(--t); }
.site-footer a:hover { color: #fff; }
.site-footer__links { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.site-footer__brand p { margin-top: 16px; font-size: 14px; max-width: 34ch; }
.site-footer__contact li { display: flex; gap: 10px; font-size: 14.5px; margin-bottom: 10px; }
.site-footer__contact .k { color: var(--silver-mid); flex-shrink: 0; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: 13px; color: #758394; }
.site-footer__bottom a { color: #8d9aa8; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 24px 60px rgba(14,34,56,0.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 14px; background: #fff; transition: border-color var(--t), box-shadow var(--t);
  font-size: 15px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(33, 100, 159, 0.14);
}
.field textarea { resize: vertical; min-height: 140px; }
.field .hint { font-size: 12px; color: var(--silver-mid); }
.file-drop { border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 18px; text-align: center; color: var(--silver-dark); font-size: 13.5px; cursor: pointer; transition: all var(--t); }
.file-drop:hover { border-color: var(--steel); color: var(--steel-strong); background: var(--paper); }
.form-success { display: none; padding: 30px; text-align: center; }
.form-success.is-visible { display: block; }
.form-success .ico { width: 56px; height: 56px; border-radius: 50%; background: #e6f2ea; color: #2f7d4f; display: grid; place-items: center; margin: 0 auto 16px; }
.form-success h3 { color: var(--ink); font-size: 20px; margin-bottom: 8px; }

/* ---------- Inline action entry ---------- */
.action-entry {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px solid var(--line); border-left: 3px solid var(--steel); border-radius: var(--radius-lg);
  padding: 20px 22px; background: #fff; margin-top: 22px;
}
.action-entry__text { flex: 1 1 280px; }
.action-entry__text strong { color: var(--ink); font-size: 15.5px; }
.action-entry__text span { display: block; color: var(--silver-dark); font-size: 14px; margin-top: 3px; }
.action-entry__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Tags / badges ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--steel-strong); background: var(--paper-2); padding: 5px 10px; border-radius: 3px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.04em; padding: 8px 14px; border-radius: 3px;
  background: rgba(255,255,255,0.06); color: #dbe4ee; border: 1px solid rgba(255,255,255,0.14);
}
.badge::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }

/* ---------- Utilities ---------- */
.muted { color: var(--silver-mid); }
.text-steel { color: var(--steel-strong); }
.section--dark .text-steel { color: var(--steel-light); }
.ph-value {
  color: inherit; font-style: normal; background: none;
  padding: 0; border: 0; font-size: 1em; white-space: normal;
}
.mono { font-family: var(--font-mono); }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 22px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(11, 22, 34, 0.98); padding: 12px 20px 24px; gap: 2px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all var(--t) var(--ease);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 13px 10px; font-size: 16px; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: rgba(255,255,255,0.08); }
  .nav-toggle { display: inline-flex; }
  .header-tools .btn--primary { display: none; }
  .grid--3, .grid--2, .value-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
}

/* ---------- Photo carousel (About) ---------- */
.carousel {
  position: relative; overflow: hidden; border-radius: var(--radius, 6px);
  background: var(--paper-2); border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(9, 22, 36, 0.14);
}
.carousel__track { position: relative; aspect-ratio: 4 / 3; }
.carousel__slide {
  position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
.carousel__slide.is-active { opacity: 1; visibility: visible; }
.carousel__slide img {
  width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer;
}
.carousel__slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 18px 48px; color: #fff; font-size: 13px; letter-spacing: .02em;
  background: linear-gradient(to top, rgba(7, 17, 28, .82), rgba(7, 17, 28, 0));
  pointer-events: none;
}
.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(9, 22, 36, .55); color: #fff; font-size: 24px; line-height: 1;
  display: grid; place-items: center; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s ease, border-color .2s ease;
}
.carousel__nav:hover { background: var(--steel); border-color: var(--steel); }
.carousel__nav--prev { left: 14px; }
.carousel__nav--next { right: 14px; }
.carousel__dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 2; padding: 7px 11px; border-radius: 999px;
  background: rgba(9, 22, 36, .52);
}
.carousel__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .45); transition: background .2s ease, width .2s ease;
}
.carousel__dots button.is-active { background: var(--accent); width: 24px; border-radius: 4px; }

@media (max-width: 640px) {
  .carousel__nav { width: 38px; height: 38px; font-size: 20px; }
  .carousel__nav--prev { left: 10px; }
  .carousel__nav--next { right: 10px; }
  .carousel__dots { bottom: 12px; }
}

/* ---------- Print / PDF export ---------- */
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { position: static !important; }
  .nav, .nav-toggle, .lang { display: none !important; }
  .card, .step, .value, .form-card, .action-entry, .cta-band { break-inside: avoid; }
  .section-head { break-after: avoid; }
  .split { grid-template-columns: 1fr 1fr !important; }
  .grid--3 { grid-template-columns: repeat(2, 1fr) !important; }
  .section { padding: 36px 0; }
  .hero__inner { padding: 56px 0 46px; }
}

/* About: supply chain intro list */
.scl { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.scl__item { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.scl__num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--steel); padding-top: 4px; }
.scl h3 { font-size: 17px; margin: 0 0 6px; color: var(--ink); font-weight: 700; }
.scl p { font-size: 14px; line-height: 1.7; color: var(--silver-dark); margin: 0; }
.scl-link { margin-top: 16px; }
.scl-link svg { width: 17px; height: 17px; flex: none; }
#supply-chain { scroll-margin-top: 96px; }

/* About: certification rail */
.cert-rail { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: clamp(26px, 4vw, 40px); padding-top: 22px; border-top: 1px solid var(--line); }
.cert-rail span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--steel-strong); background: var(--paper-2); padding: 6px 10px; border-radius: 4px; }
.split--top { align-items: start; }

/* About: supply chain capability gallery */
.cap-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(30px, 4vw, 46px); }
.cap-gallery figure { margin: 0; }
.cap-gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.cap-gallery figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--steel-strong); }
@media (max-width: 760px) { .cap-gallery, .scl { grid-template-columns: 1fr; } }

/* About: supply chain two-column text blocks */
.sc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: clamp(22px, 3vw, 34px); }
.sc-cols > div { border-top: 1px solid var(--line); padding-top: 18px; }
.sc-cols h3 { font-size: 17px; margin: 0 0 12px; color: var(--ink); font-weight: 700; }
.sc-cols p { font-size: 14.5px; line-height: 1.85; color: var(--silver-dark); margin: 0; }
@media (max-width: 760px) { .sc-cols { grid-template-columns: 1fr; } }
