/* ============================================================
   ECHAAR EQUIPMENTS PVT LTD — Design System
   Industrial precision manufacturing / converting machinery
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --ink:        #1e293b;   /* deep marine blue */
  --ink-2:      #334155;   /* marine elevated */
  --ink-3:      #475569;   /* marine card */
  --steel:      #0369a1;   /* marine mid (brand secondary) */
  --steel-dark: #334155;
  --accent:     #0284c7;   /* brand teal */
  --accent-2:   #38bdf8;
  --accent-dark:#075985;

  /* Neutrals */
  --white:  #ffffff;
  --paper:  #f8fafc;
  --mist:   #eef3f8;
  --line:   #e2e8f0;
  --slate:  #64748b;
  --slate-2:#94a3b8;
  --heading:#0f172a;

  --text:      #33415a;
  --text-soft: #64748b;

  /* Effects */
  --radius:   14px;
  --radius-sm:10px;
  --radius-lg:22px;
  --shadow-sm: 0 2px 8px rgba(15,23,42,.06);
  --shadow:    0 12px 34px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 30px 60px -20px rgba(15,23,42,.30);
  --ring: 0 0 0 3px rgba(2,132,199,.28);

  --maxw: 1200px;
  --gutter: clamp(18px, 4vw, 40px);

  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.bg-paper { background: var(--paper); }
.bg-mist  { background: var(--mist); }
.bg-ink   { background: radial-gradient(900px 520px at 85% -10%, #2a93d4 0%, transparent 60%), linear-gradient(160deg, #0b5f97 0%, #1279b5 100%); color: #e2f1fb; }
.center { text-align: center; }
.grid { display: grid; gap: 26px; }

/* ---------- Typography scale ---------- */
/* Eyebrow is the highlighted section label (client): brand blue, bold, a touch
   larger, no leading dash. The heading below it reads smaller. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .95rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--steel);
  margin-bottom: 12px;
}
.bg-ink .eyebrow { color: var(--accent-2); }

h1.display { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; letter-spacing: -0.03em; }
/* Section heading now reads small/secondary under the highlighted eyebrow
   (client: keep the label highlighted, the text below it small). */
.h-section { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 600; }
/* Subtitle-scale heading: a plain descriptor line under the eyebrow. */
.h-section--sub { font-size: clamp(1.1rem, 1.7vw, 1.25rem); font-weight: 500;
  line-height: 1.4; color: var(--ink); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-soft); text-wrap: pretty; }
/* In a split intro, the opening paragraph and the paragraphs after it should
   read at the same size (per client) — so the intro lead drops to body size. */
.split__body .lead { font-size: inherit; }
/* Wider head so short subtitle sentences sit on one line instead of wrapping;
   text-wrap:pretty keeps any sentence that must still wrap from stranding a
   single word on a second line. */
.section-head { max-width: 940px; margin-bottom: 46px; }
.h-section, .section-head .lead { text-wrap: pretty; }
.section-head.center { margin-inline: auto; }
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 12px 26px -10px rgba(2,132,199,.7); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--heading); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--ink);
  color: #94a3b8;
  font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 20px; }
.topbar a { color: #cbd5e1; transition: color .2s; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--accent-2); }
.topbar__left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__right { display: flex; gap: 18px; align-items: center; }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.topbar__socials { display: flex; gap: 12px; }

/* ---------- Language selector (topbar) ---------- */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; color: #cbd5e1;
  font-family: var(--font-head); font-weight: 500; font-size: .85rem; padding: 4px 7px; border-radius: 7px; }
.lang__btn:hover { color: var(--accent-2); }
.lang__btn > svg { width: 15px; height: 15px; opacity: .85; }
.lang__btn .lang__caret { width: 12px; height: 12px; opacity: .7; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 10px); background: #fff;
  border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow-lg); padding: 6px;
  min-width: 160px; z-index: 130; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px;
  font-family: var(--font-body); font-size: .92rem; color: var(--ink); transition: background .18s, color .18s; }
.lang__menu button:hover { background: var(--paper); color: var(--accent-dark); }
/* Hide Google Translate's injected chrome — the custom selector drives it */
#google_translate_element { display: none !important; }
.goog-te-banner-frame, iframe.skiptranslate { display: none !important; }
body { top: 0 !important; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
/* Header/topbar share the SAME container as the footer & page content, so the header
   logo lines up exactly with the footer logo. Nav is kept compact enough to fit. */
.site-header .container, .topbar .container { max-width: var(--maxw); padding-inline: var(--gutter); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 12px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  box-shadow: 0 8px 18px -6px rgba(2,132,199,.6);
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.logo__tag { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--slate); margin-top: 4px; }

/* Primary nav */
.nav__menu { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav__item { position: relative; flex-shrink: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 500; font-size: .9rem;
  padding: 9px 10px; border-radius: 9px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item.active > .nav__link { color: var(--accent); }
.nav__link .caret { width: 13px; height: 13px; transition: transform .25s var(--ease); opacity: .6; }
.nav__item:hover .caret { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Language selector + LinkedIn now live in the header (moved out of the old top bar).
   Restyle them for the light header background. */
.nav__actions .lang__btn { color: var(--ink-2); padding: 8px 8px; }
.nav__actions .lang__btn:hover { color: var(--accent); }
/* Set the language control apart from the nav links: breathing room + a subtle divider,
   vertically centred with the rest of the header controls. */
.nav__actions .lang { margin-left: 18px; padding-left: 18px; }
.nav__actions .lang::before { content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); width: 1px; height: 22px; background: var(--line); }
.header-social { display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; color: var(--ink-2);
  border: 1px solid var(--line); transition: color .2s, border-color .2s, background .2s; }
.header-social:hover { color: var(--accent); border-color: var(--accent); background: var(--mist); }
.header-social svg { width: 18px; height: 18px; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 12px;
  min-width: 300px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown--wide { min-width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dropdown__col-title {
  grid-column: 1 / -1; font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--slate);
  padding: 8px 12px 4px;
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 10px;
  transition: background .18s, color .18s; color: var(--ink-2);
}
.dropdown a:hover { background: var(--paper); }
.dropdown a:hover .dd-txt b { color: var(--accent-dark); }
.dd-txt b { display: block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.dd-txt span { font-size: .82rem; color: var(--text-soft); }

/* Mobile toggle */
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: #f1f5f9; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #38bdf8 0%, transparent 60%),
              linear-gradient(160deg, #0b5f97 0%, #1279b5 55%, #0b5f97 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(900px 500px at 75% 20%, #000 0%, transparent 75%);
  opacity: .7;
}
.hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(2,132,199,.28), transparent 65%);
  top: -120px; right: -80px; filter: blur(20px); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
  padding: clamp(52px, 8vw, 96px) 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-size: .8rem; font-weight: 500; letter-spacing: .04em; margin-bottom: 22px;
}
.hero__badge b { color: var(--accent-2); font-family: var(--font-head); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero__lead { color: #94a3b8; font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 540px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero__stat b { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: #fff; display: block; }
.hero__stat span { font-size: .82rem; color: #94a3b8; letter-spacing: .03em; }

/* Hero visual */
.hero__visual { position: relative; }
.hero__panel {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  aspect-ratio: 4/4.4;
  background: linear-gradient(150deg, #1279b5, #0b5f97);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.hero__panel::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px);
}
.gear-illus { width: 68%; color: rgba(255,255,255,.9); }
.hero__float {
  position: absolute; background: rgba(255,255,255,.97); color: var(--ink);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; backdrop-filter: blur(6px);
}
.hero__float .fi { width: 40px; height: 40px; border-radius: 10px; background: var(--paper);
  display: grid; place-items: center; color: var(--accent); }
.hero__float .fi svg { width: 22px; height: 22px; }
.hero__float b { font-family: var(--font-head); font-size: 1rem; display: block; }
.hero__float span { font-size: .78rem; color: var(--text-soft); }
.hero__float--1 { bottom: 26px; left: -26px; }
.hero__float--2 { top: 30px; right: -22px; }

/* Marquee / trust strip */
.trust { border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.15); }
.trust .container { display: flex; align-items: center; gap: 30px; padding: 20px 0; flex-wrap: wrap; }
.trust__label { font-family: var(--font-head); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #94a3b8; white-space: nowrap; }
.trust__items { display: flex; gap: 28px; flex-wrap: wrap; flex: 1; }
.trust__items span { font-family: var(--font-head); font-weight: 500; color: #cbd5e1; font-size: .98rem; opacity: .85; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative; color: #f1f5f9; padding: clamp(40px, 4.6vw, 62px) 0 clamp(28px, 3.3vw, 44px);
  background: radial-gradient(900px 520px at 85% 0%, #38bdf8 0%, transparent 58%),
              linear-gradient(155deg, #0b5f97 0%, #1279b5 100%);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 400px at 80% 10%, #000, transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 780px; margin-bottom: 18px; }
.page-hero p { color: #e2f1fb; max-width: 820px; font-size: 1.12rem; text-wrap: pretty; }
.page-hero .breadcrumb { color: #cfe6f7; }
.page-hero .breadcrumb a { color: #eaf5fd; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .cur { color: #fff; }

/* ---------- Photo banner variant (PMD vertical pages) ----------
   Full-bleed photo with a white scrim on the left so the dark text
   stays readable on every banner — including the darker ones. */
/* Taller band so much more of the photo is visible (less crop) */
.page-hero--photo { background: #fff; min-height: clamp(460px, 38vw, 660px); display: flex;
  align-items: center; padding: clamp(56px, 6vw, 80px) 0; }
.page-hero--photo::before { display: none; }          /* no grid pattern over the photo */
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center; z-index: 0; }
/* Light-touch scrim: only as strong as the dark text needs, clearing early
   so the right ~two-thirds of the photo shows at full richness. */
.page-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,
    rgba(255,255,255,.86) 0%, rgba(255,255,255,.80) 34%, rgba(255,255,255,.64) 50%,
    rgba(255,255,255,.28) 62%, rgba(255,255,255,0) 76%); }
.page-hero--photo .container { z-index: 2; }
.page-hero--photo h1 { color: var(--ink);
  text-shadow: 0 2px 18px rgba(255,255,255,.85), 0 1px 3px rgba(255,255,255,.9); }
.page-hero--photo p { color: var(--text); text-shadow: 0 1px 10px rgba(255,255,255,.85); }
.page-hero--photo .breadcrumb { color: var(--slate); }
.page-hero--photo .breadcrumb a { color: var(--slate); }
.page-hero--photo .breadcrumb a:hover { color: var(--accent-dark); }
.page-hero--photo .breadcrumb .cur { color: var(--ink); }

/* Photo hero — DARK variant (keeps the indigo look + white text, machine shown on the
   right behind a light indigo scrim). Used on the CMD overview page. */
.page-hero--photo-dark { position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0b5f97 0%, #1279b5 55%, #0b5f97 100%); }
.page-hero--photo-dark::before { display: none; }              /* drop the grid pattern */
.page-hero--photo-dark .page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 78% center; z-index: 0; }
/* minimal scrim — dark where the text sits (left), fading to reveal the machine (right) */
.page-hero--photo-dark::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10,86,138,.93) 0%, rgba(13,104,160,.85) 38%,
    rgba(18,121,181,.60) 60%, rgba(18,121,181,.30) 100%); }
.page-hero--photo-dark .container { position: relative; z-index: 2; }

@media (max-width: 900px) {
  /* on narrow screens the text sits over the whole image, so lighten it evenly */
  .page-hero--photo { min-height: 380px; }
  .page-hero--photo::after { background: linear-gradient(90deg,
      rgba(255,255,255,.86) 0%, rgba(255,255,255,.80) 55%, rgba(255,255,255,.74) 100%); }
}
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: #94a3b8; margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb span { opacity: .5; }
.breadcrumb .cur { color: #e2e8f0; }

/* ============================================================
   CARDS & COMPONENTS
   ============================================================ */

/* Stat band */
/* Quality-assurance stat cards (dark section, sit opposite the intro text) */
.qa-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qa-card { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04);
  border-radius: var(--radius); padding: 34px 28px; }
.qa-card b { display: block; font-family: var(--font-head); font-weight: 700; color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; margin-bottom: 10px; }
.qa-card span { font-family: var(--font-head); font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-2); font-weight: 600; }

.statband { background: radial-gradient(900px 520px at 85% -10%, #2a93d4 0%, transparent 60%), linear-gradient(160deg, #0b5f97 0%, #1279b5 100%); color: #fff; }
.statband .grid { grid-template-columns: repeat(4, 1fr); text-align: center; gap: 0; }
.statband__item { padding: 40px 18px; border-right: 1px solid rgba(255,255,255,.08); }
.statband__item:last-child { border-right: none; }
.statband__item b { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700;
  color: #fff; display: block; }
.statband__item b .u { color: var(--accent-2); }
.statband__item span { color: #94a3b8; font-size: .92rem; }

/* Division cards */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.division-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 36px;
  color: #fff; isolation: isolate;
}
.division-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform .6s var(--ease);
}
.division-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,23,42,.25) 0%, rgba(15,23,42,.55) 45%, rgba(15,23,42,.92) 100%);
}
.division-card:hover::before { transform: scale(1.06); }
.division-card--pmd::before { background: linear-gradient(135deg,#0b5f97,#075985); }
.division-card--cmd::before { background: linear-gradient(135deg,#075985,#0c4a6e); }
.division-card__tag { font-family: var(--font-head); font-size: .76rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.division-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 12px; }
.division-card p { color: #cbd5e1; margin-bottom: 20px; }
.division-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.division-card__tags span { font-size: .8rem; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.division-card .link-arrow { color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 600; color: var(--accent); font-size: .96rem; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Feature / product grid */
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card__ic {
  width: 56px; height: 56px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: var(--accent); margin-bottom: 20px;
}
.feature-card__ic svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-soft); font-size: .96rem; }
.feature-card--steel .feature-card__ic { background: linear-gradient(135deg,#e2e8f0,#cbd5e1); color: var(--steel); }

/* Product tiles */
.product-grid { grid-template-columns: repeat(3, 1fr); }
.product-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff;
  border: 1px solid var(--line); isolation: isolate;
}
.product-tile::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(135deg, #0369a1, #075985); transition: transform .5s var(--ease); }
.product-tile:nth-child(3n+2)::before { background: linear-gradient(135deg,#0369a1,#075985); }
.product-tile:nth-child(3n)::before { background: linear-gradient(135deg,#0b5f97,#075985); }
.product-tile::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(15,23,42,.85)); }
.product-tile:hover::before { transform: scale(1.07); }
.product-tile__ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; margin-bottom: auto; }
.product-tile__ic svg { width: 24px; height: 24px; color: #fff; }
.product-tile h3 { color: #fff; font-size: 1.15rem; margin-top: 16px; }
.product-tile p { color: #cbd5e1; font-size: .86rem; margin-top: 4px; }

/* Split / about section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.split__media { position: relative; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4;
  background: linear-gradient(150deg, #1279b5, #0b5f97);
  border: 1px solid var(--line); position: relative; display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.media-frame svg.big { width: 55%; color: rgba(255,255,255,.85); }
.media-frame--light { background: linear-gradient(150deg,#f1f5f9,#cbd5e1); }
.media-frame--light svg.big { color: var(--steel); }
.media-badge { position: absolute; bottom: -22px; right: -18px; background: var(--accent); color: #fff;
  border-radius: 16px; padding: 20px 24px; box-shadow: var(--shadow-lg); text-align: center; }
.media-badge b { font-family: var(--font-head); font-size: 2rem; display: block; line-height: 1; }
.media-badge span { font-size: .78rem; opacity: .92; }

.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .ci { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: #eaf6ee; color: #1a9e57; display: grid; place-items: center; margin-top: 2px; }
.check-list .ci svg { width: 15px; height: 15px; }
/* Bold label runs inline into its description on the same line
   ("Label: description …") instead of stacking above it (client reference). */
.check-list b { font-family: var(--font-head); color: var(--ink); display: inline; font-size: 1.02rem; }
.check-list b::after { content: ": "; }
.check-list span { color: var(--text); font-size: .94rem; }

/* Industry chips grid */
/* Our Sectors cards: large image on top, title + description + link below
   (client reference). */
.sector-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector-card { display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s; }
.sector-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.sector-card__img { aspect-ratio: 2 / 1; overflow: hidden; }
.sector-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.sector-card:hover .sector-card__img img { transform: scale(1.06); }
.sector-card__body { padding: 14px 20px 16px; display: flex; flex-direction: column; }
.sector-card__body h4 { font-family: var(--font-head); color: var(--steel);
  font-size: 1.05rem; font-weight: 600; margin-bottom: 9px; }
.sector-card__body p { color: var(--ink); font-size: .92rem; line-height: 1.55; margin-bottom: 15px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sector-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); }
.sector-card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.sector-card:hover .sector-card__link svg { transform: translateX(4px); }
@media (max-width: 900px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sector-grid { grid-template-columns: 1fr; } }

.industry-grid { grid-template-columns: repeat(3, 1fr); }
.industry-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; gap: 16px; align-items: flex-start; transition: .3s var(--ease);
}
.industry-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.industry-card__ic { flex-shrink: 0; width: 50px; height: 50px; border-radius: 12px;
  background: linear-gradient(140deg, #0b5f97, #075985); color: #eaf6ff; display: grid; place-items: center; }
.industry-card__ic svg { width: 26px; height: 26px; }
/* Photo thumbnail instead of an icon (uses the sector's banner image).
   Photo cards run 2-across: a thumbnail this size leaves too little room for the
   copy in a 3-across card, and the sector titles start wrapping. */
.industry-grid--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.industry-grid--photo .industry-card { gap: 22px; align-items: center; }
.industry-card__thumb { flex-shrink: 0; width: 132px; height: 132px; border-radius: 14px;
  overflow: hidden; background: var(--mist); box-shadow: var(--shadow-sm); }
.industry-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s var(--ease); }
.industry-card:hover .industry-card__thumb img { transform: scale(1.08); }
/* Text-only variant: no icon block, so the copy uses the full card width.
   Flex (not grid) so a trailing short row centres instead of leaving a
   visibly empty cell — 5 cards read as 3 + 2 centred. */
.industry-grid--plain { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.industry-grid--plain .industry-card { display: block; padding: 30px 28px;
  flex: 1 1 280px; max-width: calc((100% - 52px) / 3); text-align: center; }
.industry-grid--plain .industry-card h4 { margin-bottom: 10px; }
@media (max-width: 1040px) {
  .industry-grid--plain .industry-card { max-width: calc((100% - 26px) / 2); }
}
@media (max-width: 620px) {
  .industry-grid--plain .industry-card { max-width: 100%; }
}
/* Centred variant: keeps the icon, but stacks it above centred copy and
   centres the whole group so a 2-card row sits under the heading instead of
   pinning to the left with an empty third column. */
.industry-grid--center { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.industry-grid--center .industry-card { flex-direction: column; align-items: center;
  text-align: center; gap: 16px; flex: 1 1 320px; max-width: 420px; padding: 34px 30px; }
.industry-grid--center .industry-card > div:not(.industry-card__ic) { width: 100%; }
@media (max-width: 620px) {
  .industry-grid--center .industry-card { max-width: 100%; }
}

/* Key Components — centred capability cards (Civilian Nuclear Energy) */
.kc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.kc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; display: flex; flex-direction: column;
  align-items: center; flex: 1 1 240px; max-width: 300px; transition: .3s var(--ease);
}
.kc-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.kc-card__ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ring); color: var(--accent-dark); margin-bottom: 18px; }
.kc-card__ic svg { width: 26px; height: 26px; }
.kc-card h4 { margin: 0 0 8px; color: var(--heading); }
.kc-card p { margin: 0; color: var(--text-soft); }
@media (max-width: 620px) {
  .kc-card { max-width: 100%; }
}

/* Applications — CMD product pages: icon + title header over a product packshot */
.app-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px 24px; }
.app-cell { display: flex; flex-direction: column; }
.app-cell__head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 14px; }
.app-cell__ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; }
.app-cell__ic svg { width: 24px; height: 24px; }
.app-cell__head h4 { margin: 0; font-size: 1.02rem; color: var(--heading); line-height: 1.22; }
.app-cell__img { background: #fff; border: 1px solid var(--line); border-radius: 16px;
  height: 210px; padding: 16px; overflow: hidden; transition: .3s var(--ease); }
.app-cell:hover .app-cell__img { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.app-cell__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 1100px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .app-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; } }
@media (max-width: 460px) {
  .app-grid { grid-template-columns: 1fr; }
  .app-cell__img { height: 280px; }
}

.industry-card h4 { font-size: 1.08rem; margin-bottom: 6px; }
.industry-card p { font-size: .9rem; color: var(--text-soft); }

/* Board of Directors — photo cards */
.director-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.director-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; margin: 0; }
.director-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.director-card__photo { aspect-ratio: 4/5; overflow: hidden; background: var(--mist); }
.director-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block; transition: transform .5s var(--ease); }
.director-card:hover .director-card__photo img { transform: scale(1.05); }
.director-card figcaption { padding: 16px 12px; text-align: center; }
.director-card figcaption b { font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; display: block; }
.director-card figcaption span { color: var(--accent-dark); font-size: .82rem; font-weight: 600; margin-top: 4px; display: block; }
@media (max-width: 1024px) { .director-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .director-grid { grid-template-columns: repeat(2, 1fr); } }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background: radial-gradient(700px 400px at 15% 20%, #0369a1 0%, transparent 60%),
              linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px); text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px; opacity: .35; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .btn--light { color: var(--accent-dark); }

/* FAQ / news accordion */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: #cbd5e1; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 18px;
  align-items: center; padding: 22px 26px; font-family: var(--font-head); font-weight: 600;
  font-size: 1.05rem; color: var(--ink); }
.faq-q .pm { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; transition: .3s; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: .3s; }
.faq-q .pm::before { width: 13px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 13px; }
.faq-item.open .pm { background: var(--accent); border-color: var(--accent); }
.faq-item.open .pm::before, .faq-item.open .pm::after { background: #fff; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a__inner { padding: 0 26px 24px; color: var(--text-soft); }

/* News cards */
.news-grid { grid-template-columns: repeat(3, 1fr); }
/* Centred variant: a trailing row of fewer cards centres instead of pinning
   left with an empty cell (e.g. 4 past-event cards read as 3 + 1 centred). */
.news-grid--center { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.news-grid--center .news-card { flex: 1 1 300px; max-width: calc((100% - 52px) / 3); }
@media (max-width: 900px) { .news-grid--center .news-card { max-width: calc((100% - 26px) / 2); } }
@media (max-width: 620px) { .news-grid--center .news-card { max-width: 100%; } }
/* Four cards forced into a single row (collapses responsively) */
.news-grid--4 .news-card { max-width: calc((100% - 78px) / 4); }
@media (max-width: 1000px) { .news-grid--4 .news-card { max-width: calc((100% - 26px) / 2); } }
@media (max-width: 620px) { .news-grid--4 .news-card { max-width: 100%; } }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .3s var(--ease); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
/* Photos must fill the 16:9 box — otherwise the placeholder shows as bars behind them */
.news-card__img { aspect-ratio: 16/9; background: var(--mist); position: relative;
  display: grid; place-items: center; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card__img svg { width: 60px; height: 60px; color: var(--slate); }
.news-card__tag { position: absolute; top: 14px; left: 14px; background: var(--accent); color: var(--ink);
  font-size: .72rem; font-family: var(--font-head); font-weight: 700; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15,23,42,.22); }
.news-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; background: #fff; }
.news-card__date { font-size: .82rem; color: var(--accent-dark); font-weight: 600; margin-bottom: 10px; }
.news-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--ink); }
.news-card p { color: var(--text); font-size: .92rem; flex: 1; }
.news-card .link-arrow { margin-top: 16px; font-size: .9rem; }

/* Timeline */
/* Milestones — centre line, items alternating left / right */
.timeline { position: relative; max-width: 1020px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: 6px; bottom: 6px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--accent), var(--steel) 55%, var(--line)); }

/* odd items sit in the left half (text right-aligned), even items in the right half */
.tl-item { position: relative; width: 50%; padding: 0 50px 48px 0; text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 48px 50px; text-align: left; }
.tl-item:last-child, .tl-item:nth-last-child(2) { padding-bottom: 0; }

/* the dot straddles the centre line */
.tl-item::before { content: ""; position: absolute; top: 4px; right: -10px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--mist); z-index: 1; }
.tl-item:nth-child(even)::before { right: auto; left: -10px; }

.tl-year { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 1.5rem; margin-bottom: 6px; }
.tl-item h4 { font-size: 1.16rem; margin-bottom: 6px; }
.tl-item p { color: var(--text-soft); font-size: .96rem; }

/* items slide in from their own side */
.timeline .tl-item[data-reveal] { transform: translate(-28px, 16px); }
.timeline .tl-item:nth-child(even)[data-reveal] { transform: translate(28px, 16px); }
.timeline .tl-item[data-reveal].in { transform: none; }

/* single column on narrow screens */
@media (max-width: 860px) {
  .timeline::before { left: 8px; transform: none; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; text-align: left; padding: 0 0 38px 42px; }
  .tl-item::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
  .tl-item:nth-last-child(2) { padding-bottom: 38px; }
  .tl-item:last-child { padding-bottom: 0; }
  .timeline .tl-item[data-reveal],
  .timeline .tl-item:nth-child(even)[data-reveal] { transform: translateY(22px); }
  .timeline .tl-item[data-reveal].in { transform: none; }
}

/* ============================================================
   MILESTONES — scroll-driven horizontal glide (About Us)
   The section pins to the viewport and the timeline slides sideways as the
   page scrolls (JS sets the spacer height + translateX). Colours are all
   token-based, so it follows the site theme automatically.
   ============================================================ */
.msx-pin { position: relative; }                 /* tall spacer; height set by JS */
/* Hug the content and anchor just below the header instead of filling 100vh —
   a full-viewport box left big empty bands above/below the short timeline. */
.msx-pin__sticky { position: sticky; top: 88px; display: flex; flex-direction: column;
  overflow: hidden; padding-bottom: 16px; }
/* Heading rides inside the pinned frame, right above the rail — no stray gap */
.msx-pin__title { margin-bottom: 4px; }
.msx-pin__title .lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.msx-pin__head { display: flex; align-items: center; gap: 16px; margin: 4px 0 22px; }
.msx-pin__bar { flex: 1; height: 5px; background: var(--line); border-radius: 5px; overflow: hidden; }
.msx-pin__bar i { display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--steel)); border-radius: 5px; }
.msx-pin__vp { overflow: hidden; }
.msx-pin__track { display: flex; will-change: transform; padding: 6px 0; width: max-content; }
/* Modest, even breathing room around the (now content-hugging) pinned frame. */
#milestones.section { padding-top: clamp(34px, 5vw, 60px); padding-bottom: clamp(34px, 5vw, 60px); }

/* Horizontal milestone item: card above/below a continuous rail, year pill on the line */
.tl-h__item { position: relative; flex: 0 0 288px; display: grid;
  grid-template-rows: 1fr 56px 1fr; padding: 0 12px; }
.tl-h__item::before { content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; transform: translateY(-1px); background: #94a3b8; }
.tl-h__item:first-child::before { left: 50%; }
.tl-h__item:last-child::before  { right: 50%; }
.tl-h__year { grid-row: 2; justify-self: center; align-self: center; position: relative; z-index: 1;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink);
  background: #fff; border: 2px solid var(--accent); border-radius: 999px; padding: 6px 16px;
  box-shadow: 0 0 0 5px var(--mist); white-space: nowrap; }
.tl-h__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; transition: .3s var(--ease); position: relative; }
.tl-h__card::after { content: ""; position: absolute; left: 50%; width: 2px; height: 18px;
  background: #94a3b8; transform: translateX(-1px); }
.tl-h__card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.tl-h__card h4 { font-size: 1rem; color: var(--ink); margin-bottom: 6px; }
.tl-h__card p { color: var(--text-soft); font-size: .88rem; margin: 0; }
.tl-h__item:nth-child(odd)  .tl-h__card { grid-row: 1; align-self: end; margin-bottom: 4px; }
.tl-h__item:nth-child(odd)  .tl-h__card::after { top: 100%; }
.tl-h__item:nth-child(even) .tl-h__card { grid-row: 3; align-self: start; margin-top: 4px; }
.tl-h__item:nth-child(even) .tl-h__card::after { bottom: 100%; }

@media (max-width: 700px) {
  /* On phones: drop the pin, fall back to a simple horizontal swipe rail */
  .tl-h__item { flex-basis: 250px; grid-template-rows: 1fr 52px 1fr; }
  .msx-pin__sticky { height: auto; position: static; }
  .msx-pin { height: auto !important; }
  .msx-pin__vp { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .msx-pin__track { transform: none !important; }
  .msx-pin__head { margin: 14px 0 18px; }
  #milestones.section { padding-top: clamp(40px, 8vw, 72px); padding-bottom: clamp(40px, 8vw, 72px); }
}

/* Team */
/* 3 tiles per row, centred as a balanced block (6 departments = 3 x 2) */
.team-grid { grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; }
.team-card { text-align: center; }
.team-card__avatar { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px;
  background: linear-gradient(150deg,#0369a1,#075985); display: grid; place-items: center; position: relative; }
.team-card__avatar svg { width: 45%; color: rgba(255,255,255,.55); }
.team-card h4 { font-size: 1.1rem; }
.team-card span { color: var(--accent); font-size: .88rem; font-weight: 600; font-family: var(--font-head); }
.team-card p { color: var(--text-soft); font-size: .88rem; margin-top: 8px; }

/* Values / awards */
.value-grid { grid-template-columns: repeat(3,1fr); }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  border-top: 3px solid var(--accent); }
.value-card__n { font-family: var(--font-head); font-weight: 700; color: var(--mist); font-size: 2.4rem;
  line-height: 1; color: #e2e8f0; }
.value-card h3 { margin: 8px 0 10px; font-size: 1.2rem; }
.value-card p { color: var(--text-soft); font-size: .95rem; }
/* Two centred cards (Vision & Mission) with larger titles */
.value-grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; }
.value-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .value-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .value-grid--4 { grid-template-columns: 1fr; } }
.value-card--lg h3 { font-size: 1.7rem; margin: 0 0 14px; text-align: center; }
@media (max-width: 700px) { .value-grid--duo { grid-template-columns: 1fr; } }

.award-grid { grid-template-columns: repeat(3,1fr); }
.award-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: flex; gap: 18px; align-items: flex-start; }
.award-card__ic { flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px;
  background: linear-gradient(135deg,#f0f9ff,#bae6fd); color: #0369a1; display: grid; place-items: center; }
.award-card__ic svg { width: 28px; height: 28px; }
.award-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.award-card p { font-size: .88rem; color: var(--text-soft); }

/* Two-up card row, centred (e.g. ISO 9001 + One Star Export House) */
.grid--duo { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }

/* ============================================================
   LIGHTBOX — click an award/certificate image to enlarge
   ============================================================ */
.award-item__img, .pcard__img, .part-card__img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 6vh 5vw; background: rgba(15,23,42,.93); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: 18px;
  max-width: 100%; max-height: 100%; transform: scale(.96); transition: transform .25s var(--ease); }
.lightbox.open .lightbox__fig { transform: none; }
.lightbox__img { max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain;
  border-radius: 12px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0,0,0,.65); }
.lightbox__cap { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
  text-align: center; max-width: 680px; }
.lightbox__cap span { display: block; font-family: var(--font-body); font-weight: 400;
  font-size: .95rem; color: #cbd5e1; margin-top: 7px; line-height: 1.55; }
.lightbox__close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff;
  display: grid; place-items: center; transition: .2s var(--ease); }
.lightbox__close:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.lightbox__close svg { width: 20px; height: 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.contact-info { display: grid; gap: 20px; }
.contact-info__item { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); }
.contact-info__ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(140deg, #0b5f97, #075985);
  color: #eaf6ff; display: grid; place-items: center; }
.contact-info__ic svg { width: 24px; height: 24px; }
.contact-info__item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-info__item p, .contact-info__item a { color: var(--text-soft); font-size: .95rem; line-height: 1.55; }
.contact-info__item a:hover { color: var(--accent); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px);
  box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem;
  color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--paper); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 130px; }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 340px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Generic prose */
.prose p { margin-bottom: 18px; color: var(--text); }
.prose p:last-child { margin-bottom: 0; }

/* Callout box */
.callout { background: var(--paper); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 28px; }
.callout h4 { margin-bottom: 8px; }

/* Embedded YouTube video (CMD machine-in-motion) */
.video-block .section-head { margin-bottom: 24px; }
.video-embed { position: relative; width: 100%; max-width: 880px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden; background: #000;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Job listings */
.job-list { display: grid; gap: 16px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; transition: .3s; }
.job-card:hover { box-shadow: var(--shadow-sm); border-color: #cbd5e1; }
.job-card__meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.job-card__meta span { font-size: .84rem; color: var(--text-soft); display: inline-flex; gap: 6px; align-items: center; }
.job-card__meta svg { width: 15px; height: 15px; color: var(--accent); }
.job-card h3 { font-size: 1.2rem; }
.tag { display: inline-block; font-size: .74rem; font-family: var(--font-head); font-weight: 600;
  padding: 4px 11px; border-radius: 999px; background: #e2e8f0; color: var(--steel); }

/* ============================================================
   FOOTER
   ============================================================ */
/* Footer kept on a clean white ground on every page, per brand direction */
.site-footer { background: var(--white); color: var(--text); padding-top: 72px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px;
  border-bottom: 1px solid var(--line); }
.footer-brand .logo__name { color: var(--heading); }
.footer-brand p { margin: 22px 0; max-width: 340px; font-size: 1rem; line-height: 1.75; color: var(--text); }
.footer-brand .logo__tag { color: var(--slate-2); }
.footer-col h4 { color: var(--heading); font-size: .84rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 20px; font-weight: 700; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: .98rem; color: var(--slate); transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--accent-dark); padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; font-size: .98rem; margin-bottom: 15px; line-height: 1.6; color: var(--slate); }
.footer-contact a { color: var(--slate); }
.footer-contact a:hover { color: var(--accent-dark); }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); color: var(--slate);
  display: grid; place-items: center; transition: .25s; }
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 26px 0; flex-wrap: wrap; font-size: .92rem; color: var(--slate-2); }
.footer-bottom a { color: var(--slate-2); }
.footer-bottom a:hover { color: var(--accent-dark); }
.footer-bottom__links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ============================================================
   PRODUCT PAGES (galleries, specs, photos, models)
   ============================================================ */

/* Real photo inside a media-frame — shown in full (no crop) on a light studio
   frame, matching the click-to-view lightbox. */
.media-frame img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.media-frame:has(img.photo) { background: #ffffff; }

/* Contain variant: show the whole machine on a light studio frame instead of
   cropping it to fill. A landscape frame suits wide press photography; the
   gradient fills whatever the photo does not, so any aspect ratio looks tidy. */
.media-frame--contain { aspect-ratio: 16/10; }
.media-frame--contain:has(img.photo) {
  background: #ffffff; }
.media-frame--contain img.photo { object-fit: contain; padding: 16px; }
/* Wide single-image band: one large machine photo spanning the whole section
   on a clean white ground (used for "on the shop floor" style showcases). */
/* "Available Machine Options" strap under a dark Special-features list */
.machine-options {
  margin: 40px auto 0; max-width: 760px; text-align: center;
  color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.6;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
}
.machine-options b { color: #fff; }
.bg-mist .machine-options, .bg-paper .machine-options {
  color: var(--text-soft); border-top-color: var(--line);
}
.bg-mist .machine-options b, .bg-paper .machine-options b { color: var(--heading); }
.media-frame--wide { aspect-ratio: 16/9; }
.media-frame--wide img.photo { padding: 32px; }
/* Stacked large machine shots: one full-width image per row with a caption. */
.machine-stack { display: flex; flex-direction: column; gap: 40px; max-width: 980px; margin-inline: auto; }
.machine-shot { margin: 0; }
.machine-shot figcaption {
  margin-top: 18px; text-align: center; font-family: var(--font-head);
  font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; color: var(--heading);
}
@media (max-width: 620px) {
  .media-frame--wide { aspect-ratio: 4/3; }
  .media-frame--wide img.photo { padding: 16px; }
}

/* Logo image (drop-in real logo) */
.logo__img { height: 42px; width: auto; display: block; }
/* Footer logo: larger, no chip, and left-aligned to match the header logo */
.site-footer .logo { display: inline-flex; align-items: center; }
.site-footer .logo__img { height: 58px; width: auto; background: none; padding: 0; border-radius: 0; }

/* Product hero photo banner */
.prod-showcase { position: relative; }
.prod-showcase .media-frame { aspect-ratio: 16/10; }

/* Product gallery */
/* Flex (not grid) so a trailing row with fewer cards centres instead of
   leaving a single card pinned to the left with empty columns beside it. */
.pgallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.pgallery > * { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
.pgallery--4 > * { flex-basis: calc((100% - 72px) / 4); }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pcard__img { aspect-ratio: 4/3; overflow: hidden; position: relative; padding: 16px;
  background: #fff; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .55s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.07); }
.pcard__body { padding: 18px 20px; text-align: center; }
.pcard__body h4 { font-size: 1.04rem; margin-bottom: 5px; }
.pcard__body p { font-size: .86rem; color: var(--text-soft); }
.pcard__tag { position: absolute; top: 12px; left: 12px; background: rgba(15,23,42,.82); color: #fff;
  font-size: .68rem; font-family: var(--font-head); font-weight: 600; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }

/* Whole-part galleries: the machine/component IS the selling point, so it is
   shown complete on a light studio frame instead of being cropped to fill the
   tile. Every tile is the same aspect ratio, so the grid stays perfectly
   aligned regardless of each photo's own proportions.
   --contain = name-only cards · --frame = cards that keep a description. */
.pgallery--contain .pcard__img,
.pgallery--frame .pcard__img { padding: 16px; background: #fff; }
.pgallery--contain .pcard__img img,
.pgallery--frame .pcard__img img { object-fit: contain; }
/* Name-only cards: no description paragraph to sit under the title. */
.pgallery--contain .pcard__body { padding: 16px 20px; text-align: center; }
.pgallery--contain .pcard__body h4 { margin-bottom: 0; }

/* Solo gallery: a single showcase card, centred instead of pinned to the
   left of an otherwise-empty three-column grid. */
.pgallery--solo { display: flex; justify-content: center; }
.pgallery--solo > * { flex: 0 1 auto; }
.pgallery--solo .pcard { width: 100%; max-width: 460px; }

/* Spec table */
.spec-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 480px; }
.spec-table caption { text-align: left; font-family: var(--font-head); font-weight: 600; color: var(--ink);
  padding: 16px 18px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line);
  font-size: .94rem; vertical-align: top; }
.spec-table tbody tr:last-child td, .spec-table tbody tr:last-child th { border-bottom: none; }
.spec-table tbody th { background: var(--paper); font-family: var(--font-head); font-weight: 600;
  color: var(--ink); width: 34%; }
.spec-table thead th { background: #0b5f97; color: #fff; font-family: var(--font-head);
  font-weight: 600; letter-spacing: .02em; }
.spec-table tbody tr:hover td { background: #f8fafc; }

/* Machine spec tables (Sr / Description / Size / Make / Qty / Photo) */
.spec-table--machines { min-width: 860px; }
.spec-table--machines td:first-child { width: 58px; color: var(--text-soft); }
.spec-table--machines tbody th { width: auto; min-width: 200px; }
.spec-table--machines td:last-child { width: 112px; }
/* small clickable photo in the table */
.table-thumb { display: block; width: 96px; height: 66px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: #fff; cursor: zoom-in; padding: 4px; }
.table-thumb img { width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .35s var(--ease); }
.table-thumb:hover img { transform: scale(1.1); }
.table-thumb--none { display: inline-block; width: auto; height: auto; border: none; background: none;
  cursor: default; font-size: .8rem; color: var(--text-soft); font-style: italic; }

/* Model cards (CMD machine variants) */
.model-grid { grid-template-columns: repeat(3, 1fr); }
.model-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  border-top: 3px solid var(--steel); transition: .3s var(--ease); }
.model-card h3 a { color: inherit; }
.model-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.model-card:hover h3 a { color: var(--accent-dark); }
.model-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.model-card--flagship, .model-card--flagship { border-top-color: var(--accent); }
.model-card__badge { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--steel); background: #e2e8f0;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.model-card--flagship .model-card__badge { color: var(--accent-dark); background: #e0f2fe; }
.model-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.model-card .model-card__sub { color: var(--text-soft); font-size: .9rem; margin-bottom: 14px; }
.model-card__specs { display: grid; gap: 9px; }
.model-card__specs li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem;
  padding-bottom: 9px; border-bottom: 1px dashed var(--line); }
.model-card__specs li:last-child { border-bottom: none; padding-bottom: 0; }
.model-card__specs span { color: var(--text-soft); }
.model-card__specs b { font-family: var(--font-head); color: var(--ink); font-weight: 600; }

/* Photo variant — a machine image above the spec card. Used on the CI Flexo overview
   where only the 4 model families are shown, each with a representative photo. */
.model-grid--photo { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.model-card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
/* The whole machine must always be visible — contain on a plain white frame, never cropped.
   Edge-to-edge (no padding) so the photo fills the card width like the reference. */
.model-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; padding: 0;
  background: #fff; border-bottom: 1px solid var(--line); }
.model-card__img img { width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .5s var(--ease); }
.model-card--photo:hover .model-card__img img { transform: scale(1.04); }
.model-card--photo:hover h3 { color: var(--accent-dark); }
.model-card--photo .model-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
/* teal accent rule under the model name */
.model-card--photo .model-card__body h3 { margin-bottom: 0; line-height: 1.2; min-height: 2.4em; }
.model-card--photo .model-card__body h3::after { content: ""; display: block; width: 38px; height: 3px;
  border-radius: 2px; background: var(--accent); margin: 12px 0 18px; }
/* full-width outlined "Details" button pinned to the card bottom for even alignment */
.model-card__btn { margin-top: 24px; margin-top: max(24px, auto); display: block; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.model-card--photo .model-card__body .model-card__specs { margin-bottom: 24px; }
.model-card--photo .model-card__btn { margin-top: auto; }
.model-card--photo:hover .model-card__btn { border-color: var(--accent); color: var(--accent-dark);
  background: rgba(2,132,199, .06); }
/* Keep every spec on a single line so the rows line up identically across all cards */
.model-card--photo .model-card__specs li { font-size: .8rem; gap: 10px; align-items: baseline;
  white-space: nowrap; }
.model-card--photo .model-card__specs span { flex: 0 0 auto; }
.model-card--photo .model-card__specs b { flex: 1 1 auto; text-align: right; }
.model-card--photo .model-card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; margin: 0;
  background: #fff; box-shadow: 0 2px 8px rgba(15,23,42,.18); }
@media (max-width: 1024px) {
  .model-grid--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; margin-inline: auto; }
}
@media (max-width: 620px) {
  .model-grid--photo { grid-template-columns: 1fr; }
}

/* Feature list (2-col checklist for specs/features) */
.feature-list { columns: 2; column-gap: 40px; }
.feature-list li { break-inside: avoid; display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; }
.feature-list .fi { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #eaf6ee;
  color: #1a9e57; display: grid; place-items: center; margin-top: 2px; }
.feature-list .fi svg { width: 13px; height: 13px; }
.feature-list span { font-size: .95rem; color: var(--text); }
/* Centred variant: pull the two columns inward as one centred block. Items stay
   left-aligned so the check bullets line up cleanly down each column. */
.feature-list--center { max-width: 760px; margin-inline: auto; column-gap: 56px; }
.feature-list--center li { justify-content: flex-start; }
/* Light text for feature/check lists placed on the dark indigo sections */
.bg-ink .feature-list span { color: #cbd5e1; }

/* Centred closing prose under a feature list */
.prose-center { max-width: 860px; margin: 44px auto 0; text-align: center; }
.prose-center p { color: var(--text-soft); }
.prose-center p + p { margin-top: 14px; }
.bg-ink .prose-center p { color: #cbd5e1; }
.bg-ink .check-list b { color: #fff; }
.bg-ink .check-list span { color: #cbd5e1; }
.bg-ink .lead { color: #cbd5e1; }

/* Related products strip */
.related-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; transition: .3s var(--ease); }
.related-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.related-card__ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px; background: linear-gradient(140deg, #0b5f97, #075985);
  color: #eaf6ff; display: grid; place-items: center; }
.related-card__ic svg { width: 24px; height: 24px; }
.related-card b { font-family: var(--font-head); color: var(--ink); font-size: 1rem; display: block; }
.related-card span { font-size: .84rem; color: var(--text-soft); }
/* 5 related verticals (every sector except the current one). Flex rather than grid so
   the short last row centres itself instead of hanging off to the left. */
.related-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.related-grid .related-card { flex: 1 1 300px; max-width: 372px; }

/* Photo variant — a real image instead of the icon tile */
.related-grid--photo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.related-card--photo { padding: 0; overflow: hidden; gap: 20px; }
.related-card__thumb { flex-shrink: 0; width: 120px; height: 120px; overflow: hidden;
  background: var(--mist); display: block; }
.related-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s var(--ease); }
.related-card--photo:hover .related-card__thumb img { transform: scale(1.07); }
.related-card--photo > span:last-child { padding: 18px 24px 18px 0; }
@media (max-width: 520px) {
  .related-card__thumb { width: 92px; height: 92px; }
}

@media (max-width: 1024px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .pgallery > *, .pgallery--4 > * { flex-basis: calc((100% - 24px) / 2); }
  .pgallery--solo > * { flex-basis: auto; }
}
@media (max-width: 620px) {
  .model-grid { grid-template-columns: 1fr; }
  .pgallery > *, .pgallery--4 > * { flex-basis: 100%; }
  .feature-list { columns: 1; }
}

/* ============================================================
   BLUEPRINT COMPONENTS (video hero, facilities, map, clients, awards, brochure)
   ============================================================ */

/* Home hero — bare video banner.
   The client's banner is a finished 1920x700 graphic, so it carries no text and no
   scrim: it is shown edge to edge at its own aspect ratio, which means it is never
   cropped at any viewport width. */
/* Breadcrumb bar below a full-bleed video banner (subpage nav context) */
.breadcrumb-bar { border-bottom: 1px solid var(--line); padding: 15px 0; background: #fff; }
.breadcrumb-bar .breadcrumb { margin-bottom: 0; color: var(--slate); }
.breadcrumb-bar .breadcrumb a { color: var(--steel); }
.breadcrumb-bar .breadcrumb a:hover { color: var(--accent-dark); }
/* Current page: dark and bold so visitors clearly see where they are */
.breadcrumb-bar .breadcrumb .cur { color: var(--ink); font-weight: 700; opacity: 1; }

.hero-banner { position: relative; background: var(--ink); line-height: 0; }
/* Pinned video banner: the video stays fixed at the top while the page content
   scrolls up and overlaps/covers it. */
.hero-banner--sticky { position: sticky; top: 0; z-index: 0; }
.scroll-stage { position: relative; z-index: 1; background: var(--white); }
.hero-banner__video { display: block; width: 100%; height: auto;
  aspect-ratio: 1920 / 560; object-fit: cover; }

/* Screen-reader-only (keeps the page's h1 for SEO now that the banner has no text) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* "Made in India" branding badge */
.mii { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 11px;
  border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; letter-spacing: .02em;
  color: #fff; white-space: nowrap; backdrop-filter: blur(4px); }
.mii__flag { width: 28px; height: 19px; border-radius: 3px; flex-shrink: 0; position: relative;
  background: linear-gradient(#FF9933 33.33%, #FFFFFF 33.33% 66.66%, #138808 66.66%);
  box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.mii__flag::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
  margin: -3px 0 0 -3px; border-radius: 50%; border: 1.3px solid #000080; }
/* light variant for white/paper sections */
.mii--light { background: #fff; border-color: var(--line); color: var(--ink);
  box-shadow: var(--shadow-sm); backdrop-filter: none; }
.hero__badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__badges .hero__badge { margin-bottom: 0; }

/* Group banner (Since 1978 — PMD/CMD) */
.group-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
/* Photo sits clean and unshaded; the copy lives on a white panel beneath it,
   so the division images read at full brightness. */
.gb-card { display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.gb-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.gb-card__img { position: relative; aspect-ratio: 16 / 5.6; overflow: hidden; background: #fff; padding: 14px; }
.gb-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gb-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px clamp(24px, 2.4vw, 34px) 22px; }
.gb-card h3 { color: var(--ink); font-size: clamp(1.4rem, 1.7vw, 1.75rem); margin-bottom: 10px; }
.gb-card p { color: var(--text-soft); margin-bottom: 22px; font-size: 1.02rem; flex: 1; }
.gb-card .link-arrow { color: var(--accent-dark); font-weight: 600; }

/* Facilities — circle format */
/* 3 facilities per row, centred (6 departments = 3 x 2) */
.facilities-circle { display: grid; grid-template-columns: repeat(3, 168px);
  justify-content: center; gap: clamp(24px, 4vw, 56px) clamp(30px, 6vw, 80px); }
.fac-node { width: 168px; text-align: center; }
.fac-node__ring { width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 30% 25%, #fff, var(--paper));
  border: 2px solid var(--line); transition: .35s var(--ease); }
.fac-node__ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px dashed var(--accent); opacity: .35; transition: .35s; }
.fac-node:hover .fac-node__ring { border-color: var(--accent); transform: translateY(-6px);
  box-shadow: var(--shadow); }
.fac-node:hover .fac-node__ring::before { transform: rotate(30deg); opacity: .8; }
.fac-node__ring svg { width: 52px; height: 52px; color: var(--steel); }
.fac-node:hover .fac-node__ring svg { color: var(--accent-dark); }
.fac-node h4 { font-size: 1.02rem; }
.bg-ink .fac-node__ring { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.bg-ink .fac-node__ring svg { color: var(--accent-2); }
.bg-ink .fac-node h4 { color: #fff; }

/* Distribution / installation map + locations */
.dist-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.dist-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper);
  aspect-ratio: 4/3; position: relative; display: grid; place-items: center; }
.dist-map img, .dist-map iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
/* World installation map — full-width dotted map with location markers overlaid */
.dist-map--world { aspect-ratio: 739 / 357; background: #f1f5f9; }
/* Slightly larger map that breaks out a little wider than the text column.
   Uses negative side margins (not transform) so it stays centred even with the
   data-reveal animation, which drives transform. */
.dist-map--lg { width: min(1300px, 96vw); max-width: none;
  margin-inline: calc((100% - min(1300px, 96vw)) / 2); }
.dist-map--world img { object-fit: fill; }
.map-pin { position: absolute; width: 13px; height: 13px; border-radius: 50%; transform: translate(-50%, -50%);
  border: 2.5px solid #fff; box-shadow: 0 1px 5px rgba(15,23,42, .4); z-index: 2; cursor: pointer;
  transition: transform .15s var(--ease); }
.map-pin--in { background: var(--accent); }
.map-pin--ex { background: #e5133f; }
.map-pin:hover, .map-pin:focus-visible { transform: translate(-50%, -50%) scale(1.35); z-index: 6; outline: none; }
/* hover/focus tooltip naming each marker */
.map-pin::after { content: attr(data-loc); position: absolute; left: 50%; bottom: calc(100% + 9px);
  transform: translateX(-50%) translateY(4px); background: var(--ink); color: #fff; font-family: var(--font-head);
  font-weight: 600; font-size: .74rem; white-space: nowrap; padding: 5px 10px; border-radius: 7px;
  box-shadow: 0 4px 14px rgba(15,23,42, .28); opacity: 0; visibility: hidden;
  transition: opacity .16s var(--ease), transform .16s var(--ease); z-index: 7; }
.map-pin::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--ink); opacity: 0; visibility: hidden;
  transition: opacity .16s var(--ease); z-index: 7; }
.map-pin:hover::after, .map-pin:focus-visible::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.map-pin:hover::before, .map-pin:focus-visible::before { opacity: 1; visibility: visible; }
/* Highlighted from a hovered location card: enlarge, ring and show the tooltip */
.map-pin.is-active { transform: translate(-50%, -50%) scale(1.5); z-index: 6; }
.map-pin--in.is-active { box-shadow: 0 0 0 6px rgba(2,132,199, .28), 0 1px 5px rgba(15,23,42, .4); }
.map-pin--ex.is-active { box-shadow: 0 0 0 6px rgba(229, 19, 63, .24), 0 1px 5px rgba(15,23,42, .4); }
.map-pin.is-active::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.map-pin.is-active::before { opacity: 1; visibility: visible; }

/* Location details split into Within India / Export groups */
.loc-groups { display: grid; gap: 30px; }
.loc-group__title { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--ink);
  margin-bottom: 14px; }
.loc-group__title span { font-weight: 500; font-size: .82rem; color: var(--text-soft); }
.loc-list { display: grid; gap: 12px; }
.loc-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 15px 18px; transition: .3s var(--ease); }
.loc-item:hover, .loc-item.is-active { border-color: var(--accent); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.loc-item { cursor: pointer; }
.loc-item__ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(140deg, #0b5f97, #075985);
  color: #eaf6ff; display: grid; place-items: center; }
.loc-item__ic svg { width: 20px; height: 20px; }
.loc-item b { font-family: var(--font-head); color: var(--ink); display: block; font-size: 1rem; }
.loc-item span { font-size: .84rem; color: var(--text-soft); }
.loc-item .flag { margin-left: auto; font-size: .74rem; font-family: var(--font-head); font-weight: 600;
  color: var(--accent-dark); background: #e0f2fe; padding: 4px 10px; border-radius: 999px; }

/* Client logo grid */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.client-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 128px; display: grid; place-items: center; padding: 22px 26px; text-align: center;
  transition: .3s var(--ease); }
.client-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.client-card b { font-family: var(--font-head); font-size: 1.28rem; color: var(--ink); letter-spacing: -.01em; }
.client-card span { display: block; font-size: .78rem; color: var(--text-soft); margin-top: 6px; }
/* Logo image tiles — every logo shares the same canvas ratio so they align perfectly */
.client-card img { width: 100%; height: auto; display: block;
  filter: none; opacity: 1; transition: transform .3s var(--ease); }

/* Awards gallery */
.award-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.award-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .3s var(--ease); }
.award-item:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.award-item__img { height: 250px; background: var(--paper); overflow: hidden; display: grid; place-items: center; padding: 14px; }
.award-item__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.award-item__cap { padding: 16px 18px; }
.award-item__cap h4 { font-size: .98rem; line-height: 1.3; }
.award-item__cap span { font-size: .82rem; color: var(--accent-dark); font-family: var(--font-head); font-weight: 600; }

/* Brochure download card */
.brochure { display: flex; align-items: center; gap: 22px; background: linear-gradient(120deg, #0b5f97, #075985);
  color: #fff; border-radius: var(--radius-lg); padding: 30px 34px; flex-wrap: wrap; }
.brochure__ic { flex-shrink: 0; width: 60px; height: 60px; border-radius: 14px; background: rgba(255,255,255,.12);
  display: grid; place-items: center; color: var(--accent-2); }
.brochure__ic svg { width: 30px; height: 30px; }
.brochure__txt { flex: 1; min-width: 220px; }
.brochure__txt h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.brochure__txt p { color: #cbd5e1; font-size: .94rem; }
.brochure .btn { flex-shrink: 0; }

/* Substrate / spec chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { font-family: var(--font-head); font-weight: 500; font-size: .86rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px; }
.bg-ink .chips span { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }

@media (max-width: 1024px) {
  .group-banner, .dist-wrap { grid-template-columns: 1fr; }
  .client-grid, .award-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .client-grid, .award-gallery { grid-template-columns: repeat(2, 1fr); }
  .facilities-circle { grid-template-columns: repeat(2, 132px); }
  .fac-node { width: 132px; }
  .fac-node__ring { width: 108px; height: 108px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .08s; }
[data-reveal].d2 { transition-delay: .16s; }
[data-reveal].d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .divisions, .split, .contact-grid, .form-row { grid-template-columns: 1fr; }
  .feature-grid, .product-grid, .industry-grid, .news-grid, .value-grid, .award-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .statband .grid { grid-template-columns: repeat(2,1fr); }
  .statband__item:nth-child(2) { border-right: none; }
  .statband__item:nth-child(1), .statband__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 1280px) {
  /* The header's backdrop-filter would otherwise trap the fixed drawer inside the
     header box (a filter/transform ancestor becomes the containing block for
     position:fixed). Disabling it on mobile lets the drawer fill the viewport. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav__menu { position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); flex-direction: column;
    align-items: stretch; background: #fff; padding: 118px 22px 40px; gap: 4px;
    transform: translateX(105%); transition: transform .35s var(--ease); overflow-y: auto;
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.3); z-index: 90; }
  .nav__menu.open { transform: translateX(0); }
  .nav__link { padding: 14px 16px; font-size: 1.05rem; justify-content: space-between; border-radius: 10px; }
  .nav__link:hover { background: var(--paper); }
  .nav__toggle { display: block; z-index: 95; position: relative; }
  .dropdown, .dropdown--wide { position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--line); border-radius: 0;
    margin: 2px 0 8px 16px; padding: 4px 0; min-width: 0; display: none; grid-template-columns: 1fr; }
  .nav__item.expanded > .dropdown { display: block; }
  .nav__item.expanded > .dropdown--wide { display: grid; }
  .dropdown__col-title { padding: 10px 12px 4px; }
  .nav__item:hover .caret { transform: none; }
  .nav__item.expanded .caret { transform: rotate(180deg); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.45); opacity: 0; visibility: hidden;
    transition: .3s; z-index: 80; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .nav__actions .btn--primary { display: none; }
  /* No nav links beside it in the drawer layout, so drop the divider/extra spacing. */
  .nav__actions .lang { margin-left: 4px; padding-left: 0; }
  .nav__actions .lang::before { display: none; }
}

@media (max-width: 620px) {
  .feature-grid, .product-grid, .industry-grid, .news-grid, .value-grid, .award-grid, .team-grid { grid-template-columns: 1fr; }
  .statband .grid { grid-template-columns: 1fr; }
  .statband__item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .hero__stats { gap: 22px; }
  .job-card { flex-direction: column; align-items: flex-start; }
  /* Compact the header controls so Language + LinkedIn + hamburger all fit:
     the language control collapses to a globe-only button. */
  .nav__actions { gap: 6px; }
  .nav__actions .lang__btn { padding: 4px; gap: 0; }
  .nav__actions .lang__btn [data-lang-label], .nav__actions .lang__btn .lang__caret { display: none; }
  .header-social { width: 38px; height: 38px; }
}

/* Four feature cards forced into a single row (collapses responsively).
   Declared after the responsive .feature-grid rules so it wins the cascade. */
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .feature-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid--4 { grid-template-columns: 1fr; } }
/* Four model/spec cards forced into a single row (collapses responsively). */
.model-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .model-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .model-grid--4 { grid-template-columns: 1fr; } }

/* ---------- PMD In-house capability: dept circles + infrastructure card ---------- */
.cap-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: center; margin-top: 44px; }
.cap-depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 18px; border-right: 1px solid var(--line); padding-right: 48px; }
.cap-dept { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; }
.cap-dept__ic { width: 84px; height: 84px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; transition: .3s var(--ease); }
.cap-dept__ic svg { width: 34px; height: 34px; }
.cap-dept:hover .cap-dept__ic { background: var(--accent); color: #fff; }
.cap-dept > span { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.25; }
.cap-infra { display: flex; flex-direction: column; gap: 14px; }
.cap-infra__img { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.cap-infra__img img { width: 100%; height: 100%; object-fit: cover; }
.cap-infra:hover .cap-infra__img { box-shadow: var(--shadow); transform: translateY(-3px); }
.cap-infra__cap { display: flex; flex-direction: column; gap: 2px; }
.cap-infra__cap b { font-family: var(--font-head); color: var(--accent-dark); font-size: 1.2rem; }
.cap-infra__cap span { color: var(--text-soft); font-size: .92rem; }
@media (max-width: 900px) { .cap-layout { grid-template-columns: 1fr; gap: 36px; } .cap-depts { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 34px; } }
@media (max-width: 560px) { .cap-depts { grid-template-columns: repeat(2, 1fr); } .cap-dept__ic { width: 72px; height: 72px; } }

/* ---------- Customer logo marquee (auto-rotating, boxless) ---------- */
.logo-marquee { overflow: hidden; margin-top: 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-marquee__track { display: flex; align-items: center; gap: 72px; width: max-content; animation: logo-scroll 45s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee img { height: 72px; width: auto; max-width: none; object-fit: contain; flex: 0 0 auto; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; } }
@media (max-width: 600px) { .logo-marquee img { height: 52px; } .logo-marquee__track { gap: 48px; } }

/* ---------- CMD Overview: Echaar Offering range + CI Flexo expand ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.offer-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; background: transparent; border: 0; border-radius: 0; padding: 6px; transition: transform .3s var(--ease); cursor: pointer; width: 100%; font: inherit; color: inherit; }
.offer-item:hover { transform: translateY(-4px); }
.offer-item:hover .offer-item__name { color: var(--accent); }
.offer-item__img { display: block; width: 100%; height: 180px; }
.offer-item__img img { width: 100%; height: 100%; object-fit: contain; }
.offer-item__name { font-family: var(--font-head); font-weight: 700; color: var(--steel); font-size: 1.08rem; line-height: 1.3; display: inline-flex; align-items: center; gap: 7px; transition: color .3s var(--ease); }
.offer-item__chev { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; transition: transform .3s var(--ease); }
.offer-item--toggle[aria-expanded="true"] .offer-item__name { color: var(--accent); }
.offer-item--toggle[aria-expanded="true"] .offer-item__chev { transform: rotate(180deg); }
.ci-models { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 40px; }
.ci-models__title { text-align: center; font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 30px; color: var(--ink); }
@media (max-width: 900px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- Product page: breadcrumb/title, image gallery, tabs, parts ---------- */
.breadcrumb--light a { color: var(--steel); }
.breadcrumb--light a:hover { color: var(--accent-dark); }
.breadcrumb--light span { color: var(--slate); }
.breadcrumb--light .cur { color: var(--ink); font-weight: 700; opacity: 1; }
.product-h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--ink); margin: 12px 0 30px; letter-spacing: -0.02em; }

.pg { display: grid; grid-template-columns: 1fr 92px; gap: 20px; align-items: start; }
.pg__stage { background: #fff; border: 0; border-radius: var(--radius); aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; }
.pg__stage img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pg__video { width: 100%; aspect-ratio: 16 / 9; }
.pg__video iframe { width: 100%; height: 100%; border: 0; display: block; }

.pg__thumbs { display: flex; flex-direction: column; gap: 12px; }
.pg__thumb { position: relative; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: #fff; padding: 6px; cursor: pointer; transition: border-color .2s; }
.pg__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pg__thumb.is-active { border-color: var(--accent); }
.pg__thumb--video > img { filter: brightness(.68); }
.pg__play { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; display: grid; place-items: center; color: #fff; }
.pg__play svg { width: 22px; height: 22px; }
@media (max-width: 700px) { .pg { grid-template-columns: 1fr; } .pg__thumbs { flex-direction: row; overflow-x: auto; } .pg__thumb { flex: 0 0 72px; } }

.ptabs__nav { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 42px; }
.ptabs__tab { flex: 1; padding: 16px 12px; font-family: var(--font-head); font-weight: 600; font-size: .98rem; text-align: center; background: var(--mist); color: var(--ink); border-right: 1px solid var(--line); cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.ptabs__tab:last-child { border-right: none; }
.ptabs__tab:hover { background: #e2e8f0; }
.ptabs__tab.is-active { background: linear-gradient(135deg, #0b5f97, #1279b5); color: #fff; }
.ptabs__panel { display: none; }
.ptabs__panel.is-active { display: block; }
.ptab-lead { max-width: 900px; margin: 0 auto; text-align: center; text-wrap: pretty; }
.ptab-lead + .ptab-lead { margin-top: 14px; }
.ptab-lead--soft { color: var(--text-soft); }
.ptab-subhead { text-align: center; font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink); margin: 52px 0 26px; }
.ptabs__panel .feature-list span { color: var(--text); }
.machine-options--light { border-top-color: var(--line); color: var(--text); }
.machine-options--light b { color: var(--ink); }

.parts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.part-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.part-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.part-card__img { aspect-ratio: 4 / 3; background: #fff; }
.part-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.part-card__name { padding: 15px 16px; text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .parts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .parts-grid { grid-template-columns: 1fr; } }

/* Contact: two-unit maps */
.map-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.map-label { font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; margin-bottom: 14px; text-align: center; }
@media (max-width: 760px) { .map-duo { grid-template-columns: 1fr; } }

/* Academy: Student Opportunities cards */
.opp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.opp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.opp-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.opp-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.opp-card__img img { width: 100%; height: 100%; object-fit: cover; }
.opp-card__name { padding: 16px; text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .opp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .opp-grid { grid-template-columns: 1fr; } }

/* Plate Mounter: sub-heading under gallery */
.pm-subhead { text-align: center; margin-top: 24px; }
.pm-subhead b { display: block; font-family: var(--font-head); color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.5rem); }
.pm-subhead span { color: var(--text-soft); font-size: .98rem; }

/* ---- Careers: expandable job descriptions ---- */
.job-jd { flex-basis: 100%; width: 100%; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 14px; }
.job-jd > summary { cursor: pointer; font-weight: 600; color: var(--accent-dark); font-size: .92rem; list-style: none; display: inline-flex; align-items: center; gap: 9px; }
.job-jd > summary::-webkit-details-marker { display: none; }
.job-jd > summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 1rem; line-height: 1; }
.job-jd[open] > summary::before { content: "\2013"; }
.job-jd__body { margin-top: 16px; color: var(--text-soft); font-size: .95rem; max-width: 900px; }
.job-jd__body .jd-sub { color: var(--text-soft); font-size: .9rem; margin-bottom: 14px; }
.job-jd__body h4 { color: var(--heading); font-size: 1rem; font-family: var(--font-head); margin: 18px 0 8px; }
.job-jd__body h5 { color: var(--steel); font-size: .92rem; font-weight: 700; margin: 12px 0 6px; }
.job-jd__body p { margin-bottom: 10px; line-height: 1.6; }
.job-jd__body ul { margin: 0 0 12px; padding-left: 20px; }
.job-jd__body li { margin-bottom: 6px; line-height: 1.55; }

/* ---- Machine Overview (product pages) — reference 2-column layout ---- */
.mov { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4.5vw, 58px); align-items: start; }
.mov__bar { width: 54px; height: 5px; background: var(--accent); border-radius: 3px; margin-bottom: 18px; }
.mov__title { font-family: var(--font-head); font-weight: 800; color: var(--accent); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.06; letter-spacing: -.01em; margin-bottom: 20px; text-transform: uppercase; }
.mov__text p { color: var(--text-soft); line-height: 1.7; margin-bottom: 14px; max-width: 640px; }
.mov__specs { display: flex; flex-direction: column; }
.mov-spec { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.mov-spec:first-child { padding-top: 4px; }
.mov-spec:last-child { border-bottom: 0; }
.mov-spec__ic { width: 50px; height: 50px; color: var(--steel); }
.mov-spec__ic svg { width: 100%; height: 100%; }
.mov-spec__v .lbl { display: block; color: var(--text-soft); font-size: .84rem; margin-bottom: 3px; }
.mov-spec__v .big { display: block; font-family: var(--font-head); font-weight: 800; color: var(--heading); font-size: 1.22rem; line-height: 1.18; }
.mov-spec__v .sm { font-size: .82rem; color: var(--text-soft); font-weight: 500; }
.mov-spec__v .big--txt { font-size: 1.02rem; }
.mov-spec__v .mdl { display: block; font-family: var(--font-head); font-weight: 800; color: var(--steel); font-size: 1.06rem; line-height: 1.5; }
@media (max-width: 860px) { .mov { grid-template-columns: 1fr; } .mov__specs { margin-top: 6px; } }

/* ---- Machine Overview — list variants (Plate Mounter / Lamination) ---- */
.mov-spec--list { align-items: start; border-bottom: 0; }
.mov-spec--list .mov-spec__ic { margin-top: 2px; }
.mov-spec__v .mdl { display: block; font-family: var(--font-head); font-weight: 800; color: var(--steel); font-size: 1.1rem; line-height: 1.55; }
.mov-types__title { display: block; color: var(--text-soft); font-size: .88rem; font-weight: 600; margin-bottom: 4px; }
.mov-type { font-family: var(--font-head); font-weight: 800; color: var(--steel); font-size: 1.14rem; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mov-type:last-child { border-bottom: 0; }
.mov-type span { color: var(--text-soft); font-weight: 600; font-size: .96rem; }

/* ---- Event-logo card image (home upcoming events) ---- */
.news-card__img--logo { background: #fff; display: grid; place-items: center; padding: 22px 30px; }
.news-card__img--logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---- Vision & Mission: mission points as a 2-column checklist ---- */
.mission-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 42px; max-width: 1040px; margin: 22px auto 0; text-align: left; }
@media (max-width: 760px) { .mission-list { grid-template-columns: 1fr; } }

/* ---- Language menu: scroll when many languages are listed ---- */
.lang__menu { max-height: min(68vh, 440px); overflow-y: auto; min-width: 180px; }

/* ---- Event card name-badge (events without a logo) ---- */
.news-card__img--name { background: linear-gradient(150deg, #eef3f8, #dbeafe); }
.news-card__img--name .event-badge { font-family: var(--font-head); font-weight: 800; color: var(--steel); font-size: clamp(1.1rem, 2vw, 1.45rem); text-align: center; line-height: 1.25; padding: 20px 26px; }

/* ---- Brochure lead-capture modal ---- */
.bmodal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.bmodal[hidden] { display: none; }
.bmodal__overlay { position: absolute; inset: 0; background: rgba(11,26,43,.55); backdrop-filter: blur(2px); }
.bmodal__box { position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: min(440px, calc(100vw - 36px)); max-height: calc(100vh - 48px); overflow-y: auto; padding: clamp(24px, 4vw, 36px); }
.bmodal__close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; border: 1px solid var(--line); }
.bmodal__close:hover { background: var(--mist); }
.bmodal__title { font-family: var(--font-head); color: var(--heading); font-size: 1.4rem; margin-bottom: 6px; }
.bmodal__sub { color: var(--text-soft); font-size: .95rem; margin-bottom: 20px; }
.bmodal__form .field { margin-bottom: 14px; }
.bmodal__form label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.bmodal__form input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--paper); }
.bmodal__form input:focus { outline: none; border-color: var(--accent); background: #fff; }
.bmodal__submit { width: 100%; justify-content: center; margin-top: 6px; }


/* ===== Our Facilities — image cards ===== */
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fac-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.fac-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fac-card__img { aspect-ratio: 4/3; background: var(--mist); overflow: hidden; }
.fac-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.fac-card:hover .fac-card__img img { transform: scale(1.05); }
.fac-card__body { padding: 18px 20px 20px; }
.fac-card__body h4 { font-size: 1.1rem; color: var(--heading); margin-bottom: 8px; }
.fac-card__more { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--accent-dark); }
.fac-card__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.fac-card:hover .fac-card__more { color: var(--accent); }
.fac-card:hover .fac-card__more svg { transform: translateX(3px); }
@media (max-width: 900px) { .fac-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fac-grid { grid-template-columns: 1fr; } }

/* Upcoming unit placeholder */
.pcard--soon .pcard__img { display: grid; place-items: center; padding: 0; background: linear-gradient(150deg, var(--mist), #e8eef5); }
.pcard__soon { font-family: var(--font-head); font-weight: 800; color: var(--steel); font-size: 1.2rem; letter-spacing: .02em; }


/* ===== PDCA circular cycle ===== */
.pdca { --plan:#1b4b8f; --do:#2ba3d6; --check:#15a394; --act:#f2b134;
  display:grid; grid-template-columns:1fr auto 1fr; gap:34px; align-items:center; max-width:1040px; margin:0 auto; }
.pdca__side { display:flex; flex-direction:column; gap:40px; }
.pdca__step { display:flex; gap:14px; }
.pdca__num { font-family:var(--font-head); font-weight:800; font-size:1.7rem; line-height:1; color:#cfd8e3; flex:none; }
.pdca__step h3 { font-size:1.12rem; color:var(--heading); margin-bottom:6px; }
.pdca__step p { color:var(--text-soft); font-size:.9rem; line-height:1.55; }
.pdca__side:first-child .pdca__step { text-align:right; flex-direction:row-reverse; }
.pdca__ring { width:clamp(260px,30vw,340px); aspect-ratio:1; border-radius:50%; position:relative; justify-self:center;
  background:conic-gradient(var(--do) 0 89deg,#fff 89deg 91deg,var(--check) 91deg 179deg,#fff 179deg 181deg,var(--act) 181deg 269deg,#fff 269deg 271deg,var(--plan) 271deg 359deg,#fff 359deg 360deg);
  box-shadow:0 18px 50px rgba(20,40,80,.18); }
.pdca__seg { position:absolute; transform:translate(-50%,-50%); display:flex; flex-direction:column; align-items:center; gap:4px; color:#fff; text-align:center; }
.pdca__seg svg { width:30px; height:30px; }
.pdca__seg b { font-size:1rem; font-weight:700; }
.pdca__seg--plan { top:25%; left:25%; }
.pdca__seg--do { top:25%; left:75%; }
.pdca__seg--check { top:75%; left:75%; }
.pdca__seg--act { top:75%; left:25%; }
.pdca__hub { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:45%; aspect-ratio:1; border-radius:50%;
  background:#fff; box-shadow:0 6px 20px rgba(20,40,80,.14); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; }
.pdca__hub svg { width:30px; height:30px; color:var(--steel); }
.pdca__hub span { font-family:var(--font-head); font-weight:800; color:var(--heading); font-size:1rem; line-height:1.15; text-align:center; }
@media (max-width:820px){
  .pdca { grid-template-columns:1fr; gap:26px; max-width:460px; }
  .pdca__ring { order:-1; }
  .pdca__side:first-child .pdca__step { text-align:left; flex-direction:row; }
}
