/* ==========================================================
   MODU System (S) Pte Ltd — Singapore Partner & Distributor
   Industrial design language: steel, grid, signal orange
   ========================================================== */

:root {
  --ink: #0b1620;
  --ink-2: #122230;
  --ink-3: #1b3142;
  --steel: #5b7385;
  --steel-light: #9fb1be;
  --paper: #f4f5f2;
  --paper-2: #e9ebe6;
  --white: #ffffff;
  --line: rgba(11, 22, 32, 0.12);
  --line-dark: rgba(255, 255, 255, 0.1);
  --text: #16232d;
  --text-muted: #55636e;
  --accent: #0083cb;
  --accent-dark: #006ba6;
  --accent-light: #3fb0f0;
  --accent-soft: rgba(0, 131, 203, 0.12);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 76px;
  --shadow: 0 20px 50px -20px rgba(11, 22, 32, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
.card__icon, .division__icon, .industry__icon, .dropdown__icon, .contact-list__icon { display: block; }
.card__icon svg, .division__icon svg, .industry__icon svg { width: 100%; height: 100%; }
.dropdown__icon, .contact-list__icon { display: grid; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: inherit;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: var(--ink); padding: 8px 14px; z-index: 999;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Utility labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: currentColor;
}
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.tag--new { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-muted); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-muted); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--accent); color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-stretch: 110%;
  font-weight: 700; font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--steel-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line-dark);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; min-height: 38px;
}
.topbar a:hover { color: var(--white); }
.topbar__items { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__items span, .topbar__items a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 13px; height: 13px; color: var(--accent); }
.topbar__badge { color: var(--white); display: inline-flex; align-items: center; gap: 8px; }
.topbar__dot { width: 7px; height: 7px; background: #36d07a; border-radius: 50%; box-shadow: 0 0 0 3px rgba(54,208,122,0.2); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 22, 32, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.logo__mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display); font-stretch: 125%;
  font-weight: 800; font-size: 1.45rem; letter-spacing: 0.02em;
}
.logo__sub {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.22em;
  color: var(--steel-light); margin-top: 5px; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-display); font-stretch: 108%;
  font-weight: 600; font-size: 0.93rem;
  color: rgba(255,255,255,0.82);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  background: none; border: 0; cursor: pointer;
}
.nav__link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--white); background: rgba(255,255,255,0.06); }
.nav__link[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 8px);
  width: 640px;
  background: var(--white);
  color: var(--text);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown,
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }
.dropdown a {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; border-radius: 4px;
  transition: background .2s;
}
.dropdown a:hover { background: var(--paper); }
.dropdown__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--ink); color: var(--accent); border-radius: 4px;
}
.dropdown__icon svg { width: 20px; height: 20px; }
.dropdown strong { display: block; font-family: var(--font-display); font-stretch: 108%; font-size: 0.95rem; }
.dropdown small { display: block; color: var(--text-muted); font-size: 0.8rem; line-height: 1.45; margin-top: 2px; }

.header__cta { margin-left: 12px; padding: 11px 18px; font-size: 0.88rem; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-dark); background: transparent; color: var(--white);
  border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative;
  transition: transform .25s, background .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 0;
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 span { color: var(--accent); }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--steel-light); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}
.hero__visual svg { width: 100%; height: 100%; }

.hero__spec {
  position: absolute;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em;
  color: var(--steel-light);
  background: rgba(11,22,32,0.85);
  border: 1px solid var(--line-dark);
  padding: 10px 12px;
  border-radius: 3px;
  line-height: 1.6;
}
.hero__spec b { color: var(--white); font-weight: 500; }
.hero__spec--a { top: 8%; left: -4%; }
.hero__spec--b { bottom: 14%; right: -2%; }
.hero__spec i { font-style: normal; color: var(--accent); }

/* conveyor animation */
.belt-item { animation: belt 6s linear infinite; }
.belt-item:nth-child(2) { animation-delay: -2s; }
.belt-item:nth-child(3) { animation-delay: -4s; }
@keyframes belt {
  from { transform: translateX(-40px); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  to { transform: translateX(400px); opacity: 0; }
}
.roller { animation: spin 1.6s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.arm { animation: arm 6s var(--ease) infinite; transform-origin: 300px 250px; }
@keyframes arm { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }
.dash-move { stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Stats strip */
.stats {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line-dark);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display); font-stretch: 120%;
  font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1; color: var(--white);
}
.stat__num sup { color: var(--accent); font-size: 0.55em; vertical-align: top; margin-left: 2px; }
.stat__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-light); margin-top: 10px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 900px; }
.page-hero .lead { color: var(--steel-light); }
.breadcrumb {
  position: relative;
  display: flex; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--steel-light); margin-bottom: 28px;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: var(--accent); }
.page-hero .container { position: relative; }
.page-hero__code {
  position: absolute; right: var(--gutter); bottom: -10px;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(5rem, 16vw, 13rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.09);
  pointer-events: none; user-select: none;
}

.subnav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a {
  flex-shrink: 0;
  padding: 16px 14px;
  font-family: var(--font-display); font-stretch: 106%; font-weight: 600; font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
}
.subnav a:hover, .subnav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .lead, .section--dark .muted { color: var(--steel-light); }
.section--steel { background: var(--ink-2); color: var(--white); }

.section-head {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { margin: 0; max-width: 760px; }
.section-head p { margin: 16px 0 0; }

/* Division cards (home) */
.divisions {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}
.division {
  position: relative;
  padding: 40px 32px 36px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: background .3s var(--ease), color .3s var(--ease);
  min-height: 520px;
}
.division:last-child { border-right: 0; }
.division__code { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--steel); }
.division__icon {
  width: 64px; height: 64px; margin: 28px 0 28px;
  color: var(--accent);
}
.division h3 { font-size: 1.6rem; }
.division p { color: var(--text-muted); }
.division ul { margin: 8px 0 32px; border-top: 1px solid var(--line); }
.division li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 0.93rem; font-weight: 500;
}
.division .link-arrow { margin-top: auto; align-self: flex-start; }
.division:hover { background: var(--ink); color: var(--white); }
.division:hover p { color: var(--steel-light); }
.division:hover ul, .division:hover li { border-color: var(--line-dark); }
.division:hover .link-arrow { color: var(--white); }
.division:hover .division__code { color: var(--steel-light); }

/* Feature / product rows */
.product {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px);
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.product:first-of-type { border-top: 0; }
.product__meta { position: sticky; top: calc(var(--header-h) + 80px); }
.product__num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 14px; display: flex; gap: 12px; align-items: center; }
.product h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.product__art {
  margin-top: 28px;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border-radius: 6px;
  position: relative; overflow: hidden;
  color: var(--accent);
}
.product__art .grid-bg { mask-image: none; -webkit-mask-image: none; opacity: .6; }
.product__art svg { position: relative; width: 100%; height: 100%; }
.product__body > p:first-child { font-size: 1.1rem; color: var(--text); }

.checklist { display: grid; gap: 0; margin: 24px 0 32px; border-top: 1px solid var(--line); }
.checklist li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: ""; width: 18px; height: 18px; margin-top: 3px;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230083cb' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.checklist strong { font-weight: 600; }

.spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 0.9rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; width: 38%; background: var(--paper); }
.spec-table td { font-family: var(--font-mono); font-size: 0.82rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; }
.chip {
  font-size: 0.82rem; font-weight: 500;
  padding: 7px 12px; border-radius: 40px;
  background: var(--paper); border: 1px solid var(--line);
}
.section--white .chip { background: var(--paper); }

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 24px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.card__num { position: absolute; top: 24px; right: 24px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--steel-light); }
.section--dark .card, .section--steel .card { background: var(--ink-2); border-color: var(--line-dark); color: var(--white); }
.section--steel .card { background: var(--ink-3); }
.section--dark .card p, .section--steel .card p { color: var(--steel-light); }

/* Industry tiles */
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.industry {
  background: var(--ink);
  padding: 32px 24px 28px;
  min-height: 260px;
  display: flex; flex-direction: column;
  transition: background .3s var(--ease);
}
.industry:hover { background: var(--ink-3); }
.industry__icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: auto; }
.industry h3 { font-size: 1.15rem; margin: 32px 0 8px; }
.industry p { font-size: 0.86rem; color: var(--steel-light); margin: 0; }
.industry__code { font-family: var(--font-mono); font-size: 0.68rem; color: var(--steel); letter-spacing: 0.1em; margin-bottom: 4px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; padding-right: 24px; }
.step__dot {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--accent); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.85rem;
  position: relative; margin-bottom: 24px;
}
.section--white .step__dot, .section .step__dot { background: var(--paper); }
.section--white .step__dot { background: var(--white); }
.section--dark .step__dot { background: var(--ink); }
.step h3 { font-size: 1.15rem; }
.step p { font-size: 0.92rem; color: var(--text-muted); }
.section--dark .step p { color: var(--steel-light); }

/* Locations */
.network { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.network__item { background: var(--white); padding: 22px 20px; }
.network__item strong { display: block; font-family: var(--font-display); font-stretch: 108%; }
.network__item span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.network__item--sg { background: var(--ink); color: var(--white); }
.network__item--sg span { color: var(--accent); }

/* CTA band */
.cta {
  background: var(--accent);
  color: var(--ink);
  position: relative; overflow: hidden;
}
.cta .container { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); position: relative; }
.cta h2 { margin: 0 0 8px; max-width: 720px; }
.cta p { margin: 0; font-size: 1.08rem; max-width: 620px; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(11,22,32,0.07) 0 2px, transparent 2px 22px);
}
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--ghost { color: var(--ink); border-color: rgba(11,22,32,0.4); }
.cta .btn--ghost:hover { background: rgba(11,22,32,0.08); border-color: var(--ink); }

/* Quote */
.quote { border-left: 3px solid var(--accent); padding: 8px 0 8px 28px; }
.quote blockquote { margin: 0 0 16px; font-family: var(--font-display); font-stretch: 105%; font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.quote cite { font-style: normal; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-light); }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.value { padding: 32px 32px 0 0; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line); }
.value__num { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 3rem; color: var(--accent); line-height: 1; margin-bottom: 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.contact-card { padding: clamp(32px, 4vw, 56px); }
.contact-card__company { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.contact-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 32px; }
.contact-list { border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list__icon { width: 48px; height: 48px; border-radius: 4px; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list__label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-list__value { font-family: var(--font-display); font-stretch: 105%; font-size: 1.12rem; font-weight: 600; line-height: 1.4; color: var(--ink); word-break: break-word; }
a.contact-list__value:hover { color: var(--accent-dark); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.map { position: relative; min-height: 520px; background: var(--paper-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.05); }

.hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--steel-light); padding-top: clamp(64px, 8vw, 96px); font-size: 0.93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer h4 { color: var(--white); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 20px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--white); }
.footer__about p { max-width: 340px; margin-top: 20px; }
.footer__contact li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.footer__contact svg { width: 16px; height: 16px; color: var(--accent); margin-top: 4px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; }
.footer__bottom a { color: var(--white); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .industries { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding-bottom: 80px !important;
    background: var(--ink);
    flex-direction: column; align-items: stretch;
    padding: 16px var(--gutter) 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .nav { visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .menu-open .nav { transform: none; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .dropdown {
    position: static; transform: none; width: auto;
    grid-template-columns: 1fr; background: transparent; box-shadow: none; color: var(--white);
    padding: 0; display: none; opacity: 1; visibility: visible;
  }
  .nav__item:hover .dropdown, .nav__item:focus-within .dropdown { transform: none; }
  .nav__item.is-open .dropdown { display: grid; transform: none; }
  .dropdown a:hover { background: rgba(255,255,255,0.05); }
  .dropdown small { color: var(--steel-light); }
  .nav .header__cta { display: inline-flex; margin: 24px 0 0; justify-content: center; }

  .hero__inner, .split { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 440px; }
  .hero__spec--a { left: 0; }
  .hero__spec--b { right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding-left: 0; border-bottom: 1px solid var(--line-dark); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(odd) { padding-right: 20px; }
  .stat:nth-child(even) { padding-left: 20px; }
  .stat:nth-child(n+3) { border-bottom: 0; }

  .divisions { grid-template-columns: 1fr; }
  .division { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .division:last-child { border-bottom: 0; }

  .product { grid-template-columns: 1fr; }
  .product__meta { position: static; }
  .cards, .cards--2 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps::before { display: none; }
  .network { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .map { min-height: 380px; }
  .section-head { grid-template-columns: 1fr; }
  .cta .container { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hours { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar__items span.hide-sm { display: none; }
  .topbar__badge { display: none; }
  .industries { grid-template-columns: 1fr 1fr; }
  .industry { min-height: 210px; padding: 24px 18px; }
  .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .logo__name { font-size: 1.25rem; }
  .hero__spec { display: none; }
  .btn { padding: 14px 20px; }
  .spec-table th { width: 44%; }
}

/* ==========================================================
   Brand: official MODU logo + MODU blue accent
   ========================================================== */
.logo { gap: 14px; }
.logo__img { height: 42px; width: auto; display: block; }
.logo__region {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel-light);
  padding: 6px 0 6px 14px;
  border-left: 1px solid rgba(255,255,255,0.2);
  line-height: 1.2;
}
.footer .logo__img { height: 52px; }

/* Text and icons on dark backgrounds use a lighter tint of MODU blue for contrast */
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow, .section--steel .eyebrow,
.hero h1 span, .stat__num sup, .breadcrumb span[aria-current], .hero__spec i,
.topbar svg, .footer__contact svg, .dropdown__icon, .contact-list__icon,
.industry__icon, .section--dark .card__icon, .section--steel .card__icon,
.section--dark .step__dot, .division:hover .division__icon { color: var(--accent-light); }
.section--dark .step__dot { border-color: var(--accent-light); }

/* Buttons: white text on blue */
.skip-link { color: var(--white); }
.btn--primary { color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.hero .btn--primary:hover, .page-hero .btn--primary:hover, .section--steel .btn--primary:hover { background: var(--white); color: var(--ink); }
.btn--dark:hover { background: var(--accent); color: var(--white); }

/* CTA band in MODU blue */
.cta { color: var(--white); }
.cta::before { background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 22px); }
.cta p { color: rgba(255,255,255,0.88); }
.cta .btn--dark:hover { background: var(--white); color: var(--ink); }
.cta .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.cta .btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.quote { border-left-color: var(--accent-light); }
.tag--new { color: var(--accent); }
.section--dark .tag--new, .division:hover .tag--new { color: var(--accent-light); background: rgba(63,176,240,0.14); }

@media (max-width: 640px) {
  .logo__img { height: 34px; }
  .logo__region { font-size: 0.6rem; padding-left: 10px; letter-spacing: 0.16em; }
}

/* ==========================================================
   Photography & static (no-animation) presentation
   ========================================================== */
/* No decorative motion: content is visible immediately */
.reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
.card:hover { transform: none; }
.btn:hover svg, .link-arrow:hover svg { transform: none; }

/* Photo heroes */
.hero--photo, .page-hero--photo {
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero--photo::before, .page-hero--photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,22,32,0.94) 0%, rgba(11,22,32,0.82) 45%, rgba(11,22,32,0.55) 100%);
}
.hero--photo > .container, .page-hero--photo > .container { position: relative; }
.hero--photo .hero__inner { grid-template-columns: 1fr; max-width: 760px; }
.hero--photo { padding-top: clamp(80px, 11vw, 150px); }

/* Product gallery */
.gallery { margin: 28px 0 0; }
.gallery__main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main img[src$=".png"] { object-fit: contain; padding: 12px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.gallery__thumb {
  padding: 0; border: 2px solid transparent; border-radius: 4px; background: var(--white);
  aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; opacity: 0.7;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--accent); opacity: 1; }

.photo { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--white); margin-bottom: 24px; }
.photo img { width: 100%; height: auto; }
.photo--empty {
  margin-top: 28px; aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: var(--paper); color: var(--steel);
}
.photo__icon { width: 64px; height: 64px; color: var(--accent); }
.photo__icon svg { width: 100%; height: 100%; }
.photo__caption { font-family: var(--font-display); font-weight: 700; color: var(--ink); }

/* Photo grids */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-card {
  position: relative; display: block;
  border-radius: 6px; overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(11,22,32,0.88));
  color: var(--white);
  font-family: var(--font-display); font-stretch: 105%; font-weight: 600; font-size: 0.98rem;
}
a.photo-card:hover .photo-card__label { color: var(--accent-light); }

.clients { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(16px, 3vw, 32px); }
.clients img { width: 100%; height: auto; }

.product__meta .gallery { max-width: 560px; }

@media (max-width: 980px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .photo-grid { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .hero--photo::before, .page-hero--photo::before { background: rgba(11,22,32,0.86); }
}
