/* ==========================================================================
   LAP PHUC PRECISION MOLD — Design System
   Technical / precise: graphite + steel neutrals, brand green as accent.
   IBM Plex Sans (UI) + IBM Plex Mono (data/labels). No framework, no CDN JS.
   ========================================================================== */

:root {
  /* Neutrals — cool graphite / steel */
  --ink:        #16181B;   /* headings, dark surfaces */
  --graphite:   #202429;   /* dark section bg */
  --graphite-2: #2B3138;   /* dark card surfaces */
  --slate:      #4C555F;   /* body text */
  --steel:      #79828C;   /* muted / captions */
  --line:       #E4E7EA;   /* hairline borders */
  --line-2:     #CDD3D8;   /* stronger borders */
  --surface:    #FFFFFF;   /* cards */
  --bg:         #F6F7F8;   /* page background */
  --bg-alt:     #ECEEF0;   /* alternate sections */

  /* Brand green — restrained accent */
  --green:      #1F7A3B;
  --green-ink:  #165C2C;   /* hover / pressed */
  --green-soft: #E9F2EC;   /* tint background */
  --green-line: #C4DECB;

  /* Dark-context greens (on graphite) */
  --green-lite: #4FB56A;

  --radius:   4px;
  --radius-lg: 8px;
  --maxw:     1200px;
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow:   0 1px 2px rgba(16,24,32,0.04), 0 8px 24px rgba(16,24,32,0.06);
  --nav-h:    72px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--slate);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #fff; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mono { font-family: 'IBM Plex Mono', monospace; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--green);
}
.eyebrow--index { color: var(--green); }

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  color: var(--ink);
  margin-top: 1rem;
  max-width: 20ch;
}
.section-intro {
  color: var(--slate);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 60ch;
  margin-top: 1.25rem;
}

/* --- Layout --- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.bg-alt { background: var(--bg-alt); }
.bg-white { background: var(--surface); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-title,
.section-head--center .section-intro { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; transition: filter 0.35s var(--ease); }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  color: var(--slate);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--green); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.2rem;
  height: 2px; background: var(--green);
}
.header-cta { display: flex; align-items: center; gap: 1rem; }

/* Transparent state over hero */
.site-header.at-top {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.at-top .nav a { color: rgba(255,255,255,0.82); }
.site-header.at-top .nav a:hover { color: #fff; }
.site-header.at-top .nav a.active { color: #fff; }
.site-header.at-top .nav a.active::after { background: #fff; }
.site-header.at-top .hamburger span { background: #fff; }
/* Logo is a white-background badge — give it a subtle plate so edges read cleanly */
.brand img { border-radius: 3px; }

/* Scrolled / solid state */
.site-header.solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none; border: none; cursor: pointer;
  border-radius: var(--radius);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 2rem 1.5rem;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 99;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 0.9rem 0.25rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.active { color: var(--green); }
.mobile-nav .btn { margin-top: 1.25rem; width: 100%; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-alt); transform: translateY(-1px); }
.btn-onhero { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-onhero:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--green);
  font-size: 0.9375rem;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero--short { min-height: 68vh; min-height: 68svh; }
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(16,18,21,0.55) 0%, rgba(16,18,21,0) 22%),
    linear-gradient(0deg, rgba(16,18,21,0.90) 0%, rgba(16,18,21,0.55) 34%, rgba(16,18,21,0.12) 70%, rgba(16,18,21,0) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero .eyebrow { color: rgba(255,255,255,0.85); text-shadow: 0 1px 8px rgba(10,12,14,0.5); }
.hero .eyebrow::before { background: var(--green-lite); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5.2vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 1.1rem 0 0;
  max-width: 16ch;
  overflow-wrap: break-word;
  text-shadow: 0 2px 18px rgba(10,12,14,0.4);
}
.hero h1 .accent { color: var(--green-lite); }
.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.65;
  max-width: 52ch;
  margin: 1.5rem 0 0;
  text-shadow: 0 1px 10px rgba(10,12,14,0.45);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* Hero stat strip */
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stats .stat { padding: 1.5rem 0.5rem 0; }
.hero-stats .stat-num { color: #fff; }
.hero-stats .stat-label { color: rgba(255,255,255,0.6); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.stat-num .suffix { color: var(--green); }
.band-green .suffix { color: inherit; }
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-top: 0.6rem;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-grid .stat { background: var(--surface); padding: 2rem 1.5rem; }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.05em;
}
.card-title { font-size: 1.1875rem; margin: 0.85rem 0 0.6rem; color: var(--ink); }
.card-text { color: var(--slate); font-size: 0.9375rem; line-height: 1.7; }
.card-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--steel);
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}
.card-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 2.25rem; font-weight: 600;
  color: var(--ink); line-height: 1;
  margin-bottom: 0.35rem;
}
.card-count .suffix { color: var(--green); }

.card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 20px; height: 20px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ==========================================================================
   DARK SECTION
   ========================================================================== */
.section-dark {
  background: var(--graphite);
  color: rgba(255,255,255,0.72);
  position: relative;
  overflow: hidden;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: rgba(255,255,255,0.6); }
.section-dark .eyebrow::before { background: var(--green-lite); }
.section-dark .section-intro { color: rgba(255,255,255,0.68); }
.card-dark {
  background: var(--graphite-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.85rem;
}
.card-dark .card-text { color: rgba(255,255,255,0.62); }
.card-dark .card-icon { background: rgba(79,181,106,0.14); color: var(--green-lite); }

/* Feature statement (philosophy) */
.statement {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  max-width: 22ch;
}
.statement .muted { color: rgba(255,255,255,0.4); }
.statement .accent { color: var(--green-lite); }

/* ==========================================================================
   LOGO GRID (clients) — flexible, add logos freely
   ========================================================================== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.logo-cell {
  display: flex; align-items: center; justify-content: center;
  padding: 1.75rem 1.25rem;
  min-height: 104px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}
.logo-cell:hover { background: var(--bg); }
.logo-cell img {
  max-height: 42px; max-width: 130px;
  width: auto; object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}
.logo-cell:hover img { filter: grayscale(0); opacity: 1; }

/* ==========================================================================
   MEDIA / GALLERY — flexible, aspect-locked; add photos without breaking
   ========================================================================== */
.frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }

.media-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--steel);
  letter-spacing: 0.02em;
  margin-top: 0.85rem;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.gallery .frame { aspect-ratio: 4 / 3; }

.zoom { cursor: zoom-in; }
.zoom img { transition: transform 0.4s var(--ease); }
.zoom:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(12,14,16,0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem; z-index: 1000; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg { width: 20px; height: 20px; }

/* ==========================================================================
   SPEC TABLE (software/team, machine range, key facts)
   ========================================================================== */
.spec-list { border-top: 1px solid var(--line); }
.spec-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-row .k { color: var(--slate); font-weight: 500; }
.spec-row .k small { display: block; font-weight: 400; color: var(--steel); font-size: 0.8125rem; }
.spec-row .v {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--green); font-weight: 600;
  white-space: nowrap;
}

/* Facts card (dark, on company) */
.facts {
  background: var(--graphite);
  border-radius: var(--radius);
  padding: 2.25rem;
  color: #fff;
}
.facts .facts-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.4);
  margin-bottom: 1.75rem;
}
.fact-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.fact-row:first-of-type { border-top: none; }
.fact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius);
  background: rgba(79,181,106,0.16); color: var(--green-lite);
  display: flex; align-items: center; justify-content: center;
}
.fact-icon svg { width: 19px; height: 19px; }
.fact-v { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 1.0625rem; color: #fff; }
.fact-k { font-size: 0.8125rem; color: rgba(255,255,255,0.5); }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline { position: relative; }
.timeline-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.5rem; font-weight: 600;
  color: var(--green);
  line-height: 1;
  position: relative;
}
.timeline-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.timeline-body p { color: var(--slate); font-size: 0.9375rem; line-height: 1.7; max-width: 62ch; }

/* ==========================================================================
   RANGE BAR (plastic machine range)
   ========================================================================== */
.range-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
}
.range-bar span { display: block; height: 100%; }
.range-bar .r1 { width: 4%;  background: var(--green-line); }
.range-bar .r2 { width: 14%; background: #7CBE8D; }
.range-bar .r3 { width: 82%; background: var(--green); }
.range-scale {
  display: flex; justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem; color: var(--steel);
  margin-top: 0.85rem;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--steel);
  margin-bottom: 0.5rem;
}
.field label .req { color: var(--green); }
.input, .select, .textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--steel); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31,122,59,0.12);
}
.textarea { resize: vertical; min-height: 150px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2379828C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-note { font-size: 0.8125rem; color: var(--steel); margin-top: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--slate);
  height: 100%;
}
.contact-card h3 { color: var(--ink); margin-bottom: 1.75rem; }
.contact-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-item:first-of-type { border-top: none; padding-top: 0; }
.contact-item .fact-icon { background: var(--green-soft); color: var(--green); }
.contact-item .ci-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--steel); margin-bottom: 0.3rem;
}
.contact-item .ci-value { color: var(--ink); font-size: 0.9375rem; line-height: 1.55; }
.contact-item a.ci-value:hover { color: var(--green); }

.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.2); }
.map-consent { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.4rem; padding: 2.5rem 1.5rem; background: var(--bg-alt); }
.map-consent svg { width: 40px; height: 40px; color: var(--green); margin-bottom: 0.5rem; }
.map-consent-title { font-weight: 600; color: var(--ink); font-size: 1.125rem; }
.map-consent-text { color: var(--slate); max-width: 46ch; font-size: 0.9375rem; line-height: 1.6; }
.map-consent-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 1.1rem; }

/* ==========================================================================
   CAREERS (Vietnamese)
   ========================================================================== */
.lang-vi body, body.lang-vi {
  font-family: 'Be Vietnam Pro', 'IBM Plex Sans', sans-serif;
}
body.lang-vi h1, body.lang-vi h2, body.lang-vi h3, body.lang-vi h4 {
  font-family: 'Be Vietnam Pro', 'IBM Plex Sans', sans-serif;
}
.job-list { border-top: 1px solid var(--line); }
.job-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem; align-items: center;
  padding: 1.15rem 0.25rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), padding 0.2s var(--ease);
}
.job-row:hover { background: var(--surface); padding-left: 1rem; padding-right: 1rem; }
.job-title { font-weight: 600; color: var(--ink); font-size: 1.0625rem; }
.job-salary { font-family: 'IBM Plex Mono', monospace; font-size: 0.85rem; color: var(--slate); white-space: nowrap; }
.job-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--green-soft); color: var(--green-ink);
  padding: 0.35rem 0.7rem; border-radius: 999px;
  font-weight: 500; white-space: nowrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.6); }
.site-footer .wrap { padding-top: 4rem; padding-bottom: 2.5rem; }
.footer-top { border-top: 2px solid var(--green); padding-top: 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 3rem;
}
.footer-brand img { height: 46px; border-radius: 3px; margin-bottom: 1.1rem; }
.footer-tagline { font-size: 0.9375rem; color: rgba(255,255,255,0.45); max-width: 34ch; line-height: 1.6; }
.footer-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.9375rem; color: rgba(255,255,255,0.6); transition: color 0.2s var(--ease); width: fit-content; }
.footer-links a:hover { color: #fff; }
.footer-contact { font-size: 0.9375rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-contact a:hover { color: var(--green-lite); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-media img { transform: none !important; }
}

/* ==========================================================================
   EQUIPMENT TABLES
   ========================================================================== */
.eq-cat { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.eq-cat:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.eq-cat-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.eq-cat-head h3 { font-size: 1.35rem; }
.eq-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem; font-weight: 500;
  color: var(--green-ink); background: var(--green-soft);
  border: 1px solid var(--green-line);
  padding: 0.3rem 0.7rem; border-radius: 999px; white-space: nowrap;
}
.eq-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.eq-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 560px; }
.eq-table thead th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--steel); font-weight: 500; text-align: left;
  padding: 0 1rem 0.85rem; border-bottom: 1px solid var(--line-2);
}
.eq-table th.num, .eq-table td.num { text-align: right; white-space: nowrap; }
.eq-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--slate); }
.eq-table td.name { color: var(--ink); font-weight: 500; }
.eq-table th:first-child, .eq-table td.name { width: 27%; }
.eq-table th:nth-child(2), .eq-table td.origin { width: 13%; }
.eq-table th.num, .eq-table td.num { width: 7%; }
.eq-table td.origin { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; color: var(--green); white-space: nowrap; }
.eq-table td.num { font-family: 'IBM Plex Mono', monospace; font-weight: 600; color: var(--ink); }
.eq-table tr.others td { color: var(--steel); background: var(--bg); }
.eq-table tr.others td.name { color: var(--slate); font-weight: 500; }
.eq-table tr:last-child td { border-bottom: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .nav, .header-cta .btn { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(3), .hero-stats .stat:nth-child(4) { padding-top: 1.5rem; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 1.25rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid .stat:nth-child(3), .stat-grid .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .form-row { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .job-row { grid-template-columns: 1fr auto; }
  .job-row .job-salary { grid-column: 1 / -1; }
  .contact-card { padding: 1.85rem; }
}
