/* ============================================
   Longmax Industries — Stylesheet
   Restrained industrial B2B aesthetic
   ============================================ */

:root {
  --navy:     #0B1E35;
  --navy-2:   #15314C;
  --ink:      #1F2A37;
  --body:     #3A4A5C;
  --muted:    #6B7785;
  --line:     #E1E6EC;
  --line-2:   #F1F3F6;
  --bg:       #FFFFFF;
  --bg-soft:  #F7F8FA;
  --bg-dark:  #0B1E35;
  --cyan:     #1AB6E8;        /* matches Longmax logo blue */
  --cyan-dk:  #1493BD;
  --accent:   #C8952A;        /* used sparingly — section labels only */
  --shadow-s: 0 1px 2px rgba(15,30,50,0.04);
  --shadow-m: 0 4px 16px rgba(15,30,50,0.06);
  --radius:   2px;
  --radius-2: 4px;
  --font:     'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  --font-display: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --transition: 180ms ease;
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; }

/* ── Typography ──────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.85rem, 3.4vw, 2.55rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); letter-spacing: -0.015em; }
h3 { font-size: 1.125rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; }

p { color: var(--body); }
p + p { margin-top: 0.85rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.eyebrow-on-dark { color: #E8B84B; }

.lede {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  max-width: 62ch;
}

/* ── Layout ──────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 112px 0; }

.section-head {
  margin-bottom: 3rem;
  max-width: 60ch;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.bg-soft   { background: var(--bg-soft); }
.bg-dark   { background: var(--bg-dark); color: #C5D0DC; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #FFFFFF; }
.bg-dark p { color: #C5D0DC; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-2);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-cyan {
  background: var(--cyan);
  color: #FFFFFF;
  border-color: var(--cyan);
}
.btn-cyan:hover { background: var(--cyan-dk); border-color: var(--cyan-dk); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.06); }
.btn-link {
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  border-radius: 0;
  background: none;
}
.btn-link:hover { color: var(--cyan-dk); border-color: var(--cyan-dk); }

/* ── Navigation ──────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand-mark {
  height: 44px;
  width: auto;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-size: 0.625rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-menu a:hover { color: var(--cyan-dk); }
.nav-menu a.active { color: var(--navy); font-weight: 600; }
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
}
.nav-menu .nav-cta,
.nav-menu a.nav-cta.active {
  padding: 0.55rem 1.05rem;
  background: var(--navy);
  color: #FFFFFF;
  border-radius: var(--radius-2);
  font-weight: 600;
}
.nav-menu .nav-cta:hover,
.nav-menu a.nav-cta.active:hover { background: var(--navy-2); color: #FFFFFF; }
.nav-menu .nav-cta::after,
.nav-menu a.nav-cta.active::after { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.25rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-2);
  }
  .nav-menu .nav-cta {
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
  }
}

/* ── Hero ────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy);
  color: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid #0a1828;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  filter: brightness(1.05);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,30,53,0.55) 0%, rgba(11,30,53,0.78) 100%);
}
.hero-inner {
  position: relative;
  padding: 110px 0 96px;
  max-width: 760px;
}
.hero h1 {
  color: #FFFFFF;
  margin-bottom: 1.1rem;
}
.hero .lede {
  color: #C5D0DC;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: #9CAABC;
}
.hero-meta strong {
  display: block;
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  position: relative;
  background: var(--navy);
  color: #FFFFFF;
  padding: 64px 0 48px;
  overflow: hidden;
}
.page-hero .eyebrow {
  color: #E8B84B;
}
.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: #C5D0DC;
  max-width: 60ch;
}
.page-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0.18;
}
.page-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 35%, rgba(11,30,53,0.4) 100%);
}
.page-hero > .container { position: relative; }
.breadcrumb {
  font-size: 0.8125rem;
  color: #8BA0B5;
  margin-bottom: 1rem;
}
.breadcrumb a { color: #8BA0B5; }
.breadcrumb a:hover { color: #FFFFFF; }
.breadcrumb-sep { margin: 0 0.4rem; opacity: 0.5; }

/* ── Two-column ──────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.two-col.reverse > :first-child { order: 2; }
.two-col-3-2 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 820px) {
  .two-col, .two-col-3-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse > :first-child { order: 0; }
}

.img-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.img-block img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.img-block-tall img { aspect-ratio: 3 / 4; }

/* ── Value/Feature lists ─────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (max-width: 540px) { .value-grid { grid-template-columns: 1fr; } }
.value-item {
  border-top: 2px solid var(--navy);
  padding-top: 1rem;
}
.value-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.value-item p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.6;
}

.check-list { margin: 1rem 0 1.5rem; }
.check-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.bullet-list { margin: 1rem 0 1.5rem; }
.bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.55;
}

/* Every bullet on the site uses one dot — same size, same indent, wherever it
   appears (client comment: dots must match throughout). */
.check-list li::before,
.bullet-list li::before,
.block ul:not(.check-list):not(.bullet-list):not(.world-map-legend) li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}

/* ── Cards / Tiles ───────────────────────────── */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 860px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .tile-grid { grid-template-columns: 1fr; } }

.tile {
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--line);
  transition: var(--transition);
  position: relative;
}
.tile:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.tile-img {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-body { padding: 1.25rem 1.4rem 1.4rem; }
.tile-body h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.tile-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}
.tile-arrow {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  background: rgba(11,30,53,0.85);
  border-radius: 50%;
  font-size: 12px;
}

/* Industry cards (Main Business preview) */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
@media (max-width: 980px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
.industry-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--navy);
  color: #FFFFFF;
  border: 1px solid transparent;
}
.industry-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: brightness(1.1);
  transition: opacity var(--transition), transform 400ms ease;
}
.industry-card:hover img { opacity: 0.75; transform: scale(1.04); }
.industry-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,30,53,0.2) 0%, rgba(11,30,53,0.85) 100%);
  z-index: 1;
}
.industry-card-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.1rem;
}
.industry-card h3 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.industry-card p {
  font-size: 0.8rem;
  color: #C5D0DC;
  margin: 0;
}

/* ── Certificate thumbnails (Quality page) ───── */
.cert-thumb {
  display: block;
  /* pushed to the foot of the card so all three scans sit at the same level,
     however long the description above them runs */
  margin-top: auto;
  padding-top: 1.1rem;
  aspect-ratio: 3 / 4;   /* reserve the space so the page doesn't jump as scans load */
  border: 1px solid var(--line);
  background: #FFFFFF;
  overflow: hidden;
}
.cert-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 400ms ease;
}
.cert-thumb:hover img { transform: scale(1.03); }

/* ── Client logo wall (Clients page) ─────────── */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 540px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-cell {
  background: #FFFFFF;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
}
/* Every logo scales to fill the same inner box, so they read at a consistent,
   larger size regardless of the source file's dimensions (SVGs included). */
.logo-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Photo grid (2×2) ────────────────────────── */
.photo-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.photo-grid-4 img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ── Photo pair (two images side by side) ────── */
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) { .photo-pair { grid-template-columns: 1fr; } }
.photo-pair img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ── Photo strip ─────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
@media (max-width: 760px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }
.photo-strip-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.photo-strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.photo-strip-item:hover img { transform: scale(1.03); }

/* ── Stats row ───────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-cell {
  background: #FFFFFF;
  padding: 1.75rem 1.5rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  line-height: 1;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ── Sidebar (inner page) ────────────────────── */
.with-sidebar {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .with-sidebar { grid-template-columns: 1fr; gap: 2rem; }
  .side-nav { position: static !important; }
}
.side-nav {
  position: sticky;
  top: 92px;
  border-left: 1px solid var(--line);
}
.side-nav h4 {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding: 0 0 0.75rem 1rem;
}
.side-nav ul { display: flex; flex-direction: column; }
.side-nav a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  color: var(--body);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: var(--transition);
}
.side-nav a:hover { color: var(--navy); }
.side-nav a.active {
  color: var(--navy);
  font-weight: 600;
  border-left-color: var(--cyan);
}

/* ── Inner blocks ────────────────────────────── */
.block { margin-bottom: 4rem; }
.block:last-child { margin-bottom: 0; }
.block-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.block-head h2 { margin-bottom: 0.25rem; }
.block-head .eyebrow { margin-bottom: 0.5rem; }
.block .sub-head {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}

/* Markdown-rendered body copy: headings need air from the paragraph above,
   otherwise they read as part of it (client comment 20260904). */
.block h3,
.block h4 { margin-top: 1.9rem; margin-bottom: 0.55rem; }
.block h3:first-child,
.block h4:first-child { margin-top: 0; }
.block ul:not(.check-list):not(.bullet-list):not(.world-map-legend) { margin: 0.6rem 0 1.1rem; }
.block ul:not(.check-list):not(.bullet-list):not(.world-map-legend) li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.3rem;
  color: var(--body);
  font-size: 0.95rem;
}


/* ── Milestones timeline ─────────────────────── */
.timeline {
  position: relative;
  margin-left: 1rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 6px; bottom: 6px;
  left: 0;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding: 0 0 1.5rem 1.75rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5px; top: 9px;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 0.15rem;
}
.timeline-text {
  font-size: 0.9375rem;
  color: var(--body);
  line-height: 1.55;
}

/* ── Office cards ────────────────────────────── */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 880px) { .office-grid { grid-template-columns: 1fr; } }
.office {
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem;
}
.office h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.office p {
  font-size: 0.875rem;
  color: var(--body);
  margin-bottom: 0.5rem;
  line-height: 1.55;
}
.office .office-row {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}
.office .office-row .label {
  flex: 0 0 56px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.office .office-row .value {
  font-size: 0.875rem;
  color: var(--ink);
}

/* ── Form ────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
}
@media (max-width: 660px) { .form-grid { grid-template-columns: 1fr; } }
.form-row { display: flex; flex-direction: column; }
.form-row.full { grid-column: 1 / -1; }
.form-row label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-row label .req { color: var(--cyan); }
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  color: var(--ink);
  font-size: 0.9375rem;
  transition: var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,30,53,0.08);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-actions { margin-top: 1.25rem; }
.form-fineprint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.85rem;
}

/* ── Press list ──────────────────────────────── */
.press-list {
  border-top: 1px solid var(--line);
}
.press-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 600px) {
  .press-item { grid-template-columns: 1fr; gap: 0.25rem; }
}
.press-date {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cyan-dk);
  letter-spacing: 0.04em;
}
.press-title {
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}
.press-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Reasons (Resources page) ────────────────── */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}
@media (max-width: 800px) { .reasons-grid { grid-template-columns: 1fr; } }
.reason-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
}
.reason-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
  border-right: 1px solid var(--line);
  padding-right: 1rem;
  letter-spacing: 0.02em;
}
.reason-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.reason-item p {
  font-size: 0.9375rem;
  color: var(--body);
  line-height: 1.6;
}

/* ── Materials chips (plastic injection) ─────── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.8125rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.chip .chip-key {
  font-weight: 600;
  color: var(--navy);
}
.chip .chip-val {
  color: var(--muted);
  font-size: 0.75rem;
}

/* ── Video block ─────────────────────────────── */
.video-block {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-block img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.75;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(11,30,53,0.15), rgba(11,30,53,0.55));
  transition: var(--transition);
}
.video-play:hover { background: linear-gradient(180deg, rgba(11,30,53,0.05), rgba(11,30,53,0.4)); }
.video-play .play-circle {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.96);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play .play-circle svg { width: 22px; height: 22px; fill: var(--navy); transform: translateX(2px); }
.video-meta {
  position: absolute;
  bottom: 1rem; left: 1rem;
  padding: 0.3rem 0.65rem;
  background: rgba(11,30,53,0.85);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Quote / CTA section ─────────────────────── */
.cta-band {
  background: var(--navy);
  color: #FFFFFF;
  padding: 64px 0;
}
.cta-band .cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 720px) { .cta-band .cta-inner { grid-template-columns: 1fr; } }
.cta-band h2 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.cta-band p {
  color: #C5D0DC;
  font-size: 0.9375rem;
  max-width: 52ch;
}

/* ── Footer ──────────────────────────────────── */
footer {
  background: #061525;
  color: #9CAABC;
  padding: 64px 0 24px;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
footer h4 {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1rem;
}
footer ul li { margin-bottom: 0.55rem; }
footer a { color: #9CAABC; }
footer a:hover { color: #FFFFFF; }
.footer-brand img { height: 22px; margin-bottom: 1rem; }
.footer-brand p {
  color: #8B98A8;
  font-size: 0.875rem;
  max-width: 36ch;
  line-height: 1.6;
}
.footer-contact p { margin-bottom: 0.5rem; color: #C9D4E0; }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #6B7785;
}

/* ── Map block ───────────────────────────────── */
.map-block {
  border: 1px solid var(--line);
  background: #FFFFFF;
  padding: 1rem;
}
.map-block img { width: 100%; height: auto; }
.map-caption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* ── Utility ─────────────────────────────────── */
.muted { color: var(--muted); }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.divider {
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
  border: 0;
}

/* ── Language switcher in nav ────────────────── */
.nav-menu .lang-switch {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 0.95rem;
  margin-left: 0.2rem;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav-menu .lang-switch:hover { color: var(--navy); }
.nav-menu .lang-switch::after { display: none; }

@media (max-width: 860px) {
  .nav-menu .lang-switch {
    border-left: 0;
    padding-left: 0;
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-2);
    text-align: left;
  }
}

/* ── Floating "Contact us" button ────────────── */
.floating-contact {
  position: fixed;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  background: var(--cyan);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(11,30,53,0.30), 0 5px 12px rgba(11,30,53,0.18);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.floating-contact:hover {
  background: var(--cyan-dk);
  transform: translateY(calc(-50% - 2px));
  box-shadow: 0 18px 40px rgba(11,30,53,0.36), 0 6px 14px rgba(11,30,53,0.22);
  color: #FFFFFF;
}
.floating-contact:active { transform: translateY(-50%); }
.floating-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 540px) {
  .floating-contact {
    right: 1rem;
    padding: 0.75rem 1.05rem;
    font-size: 0.8125rem;
    gap: 0.45rem;
  }
  .floating-contact svg { width: 16px; height: 16px; }
}

/* Hide label on very small screens — just show icon */
@media (max-width: 360px) {
  .floating-contact span { display: none; }
  .floating-contact { padding: 0.75rem; }
}

/* Chinese-only line-height tweak for better CJK rendering */
.lang-zh { line-height: 1.7; }
.lang-zh h1, .lang-zh h2, .lang-zh h3, .lang-zh h4 { letter-spacing: 0; }

/* ── Locations grid (Countries of Business) ──── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 2.5rem;
}
@media (max-width: 820px) { .locations-grid { grid-template-columns: 1fr; } }

.location-card {
  position: relative;
  padding: 1.4rem 1.4rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
}
.location-pin {
  width: 22px;
  height: 22px;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}
.location-type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.location-city {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.location-country {
  font-size: 0.875rem;
  color: var(--body);
  margin-bottom: 0.75rem;
}
.location-note {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line-2);
}

/* ── Coverage stats row ──────────────────────── */
.coverage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 0 0 2.5rem;
}
@media (max-width: 540px) { .coverage-stats { grid-template-columns: 1fr; } }
.coverage-stat {
  background: var(--bg-soft);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.coverage-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.coverage-stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ── Regions grid (countries by region) ───────── */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
  margin-top: 1.25rem;
}
@media (max-width: 980px) { .regions-grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1.5rem; } }
@media (max-width: 540px) { .regions-grid { grid-template-columns: 1fr; } }

.region-block { min-width: 0; }
.region-name {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.lang-zh .region-name {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.95rem;
}
.region-countries li {
  font-size: 0.875rem;
  color: var(--body);
  padding: 0.35rem 0;
  border-bottom: 1px dotted var(--line-2);
  line-height: 1.4;
}
.region-countries li:last-child { border-bottom: 0; }

.region-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.region-count {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--cyan-dk);
  background: rgba(26,182,232,0.12);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  line-height: 1.4;
}

/* ── World map (generated SVG) ────────────────── */
.world-map {
  position: relative;
  margin: 1.5rem 0 2.5rem;
  padding: 1rem 1rem 0.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
}
.world-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.world-map .sea {
  fill: #E8F1F7;
}
.world-map .cc {
  fill: #C6D3E0;
  stroke: #FFFFFF;
  stroke-width: 1.4;
  stroke-linejoin: round;
  transition: fill var(--transition);
}
.world-map .cc.is-served {
  fill: var(--cyan);
  cursor: pointer;
  transition: fill var(--transition), stroke var(--transition), stroke-width var(--transition);
}
.world-map .cc.is-served:hover {
  fill: var(--navy);
  stroke: var(--navy);
  stroke-width: 1.2;
}

.world-map .market-dot {
  fill: var(--cyan);
  stroke: #FFFFFF;
  stroke-width: 1;
}
.world-map .facility-dot {
  fill: var(--navy);
  stroke: #FFFFFF;
  stroke-width: 1.5;
}
.world-map .facility-pulse {
  fill: var(--cyan);
  opacity: 0.45;
  transform-box: fill-box;
  transform-origin: center;
  animation: facility-pulse 2.4s ease-out infinite;
}
.world-map .facility { cursor: default; }
.world-map .facility-label {
  font-family: var(--font-body, inherit);
  font-size: 17px;
  font-weight: 600;
  fill: var(--navy);
  paint-order: stroke;
  stroke: #FFFFFF;
  stroke-width: 4px;
  stroke-linejoin: round;
}
/* The svg scales with its container, and its contents scale with it — so on a
   phone the 17-unit labels land at ~5px. Scale pins and labels up on narrow
   screens to keep them readable. The extra translateX adds to the offset baked
   into the markup, clearing the enlarged dot. */
@media (max-width: 640px) {
  .world-map .facility-dot { r: 10; }
  .world-map .facility-pulse { r: 16; }
  .world-map .facility-label { font-size: 30px; stroke-width: 6px; }
  .world-map .facility-label[text-anchor="start"] { transform: translateX(10px); }
  .world-map .facility-label[text-anchor="end"] { transform: translateX(-10px); }
}
@keyframes facility-pulse {
  0%   { transform: scale(0.6); opacity: 0.5; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.world-map-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  padding: 0.3rem 0.6rem;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  border-radius: var(--radius);
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -130%);
  box-shadow: var(--shadow-m);
}
.world-map-tooltip[hidden] { display: none; }

.world-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0.6rem 0.25rem 0.15rem;
}
.world-map-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.lg-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}
.lg-swatch.lg-served { background: var(--cyan); }
.lg-swatch.lg-facility {
  background: var(--navy);
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(26,182,232,0.30);
}

@media (max-width: 640px) {
  .world-map { padding: 0.5rem 0.5rem 0.5rem; }
  .world-map-legend { gap: 0.4rem 1.1rem; padding-left: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .world-map .facility-pulse { animation: none; opacity: 0.35; }
}

/* ── Cookie notice ───────────────────────────── */
/* Fixed colors so it reads consistently across all three design themes. */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 85;
  width: calc(100% - 2rem);
  max-width: 580px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  background: #0B1E35;
  color: #C5D0DC;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.32);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar-text { margin: 0; color: #C5D0DC; }
.cookie-bar-text a { color: #2BC2F5; text-decoration: underline; }
.cookie-bar-btn {
  flex-shrink: 0;
  padding: 0.55rem 1.15rem;
  background: #1AB6E8;
  color: #06121A;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: 6px;
  transition: background var(--transition);
}
.cookie-bar-btn:hover { background: #2BC2F5; }
@media (max-width: 560px) {
  .cookie-bar { flex-direction: column; align-items: stretch; bottom: 0.5rem; }
  .cookie-bar-btn { width: 100%; }
}

/* ── Footer legal links ──────────────────────── */
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { color: #9CAABC; }
.footer-legal a:hover { color: #FFFFFF; }

/* ── Prose (legal / long-form pages) ─────────── */
.prose { max-width: 72ch; }
.prose h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
}
.prose h3 {
  font-size: 1rem;
  margin: 1.4rem 0 0.4rem;
}
.prose p { margin-bottom: 0.85rem; color: var(--body); }
.prose ul { list-style: disc; padding-left: 1.25rem; margin: 0.5rem 0 1.1rem; }
.prose li { margin-bottom: 0.35rem; color: var(--body); line-height: 1.6; }
.prose a { color: var(--cyan-dk); text-decoration: underline; }
.prose .draft-note {
  background: #FFF7E6;
  border: 1px solid #F0D58A;
  color: #6B5417;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}
.prose .legal-updated {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ── Core values grid (icon cards) ───────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 860px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem;
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
  border-radius: var(--radius-2);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.value-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  color: var(--cyan);
  margin-bottom: 0.9rem;
}
.value-icon svg { width: 100%; height: 100%; }
.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--navy);
}
.value-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Video block: click-to-play YouTube facade ─ */
.video-block[data-youtube] { cursor: pointer; }
.video-block iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
