/* RFSS website — design system
   Tokens come from the corporate presentation: navy #16255C, indigo #435CC8, gold #D4A017, cyan #10A9E2, tint #EEF2FD, border #D8DEF0.
   Type: Poppins (display / UI) + IBM Plex Sans (reading text). */

:root {
  color-scheme: light;
  --navy: #16255c;
  --navy-2: #0f1a45;
  --indigo: #435cc8;
  --indigo-d: #3149ad;
  --gold: #d4a017;
  --gold-d: #a77f0c;
  --cyan: #10a9e2;
  --tint: #eef2fd;
  --line: #d8def0;
  --paper: #ffffff;
  --text: #39435f;
  --muted: #5c6684;
  --ph-bg: #fff7dc;
  --ph-line: #d9b44a;
  --ph-text: #7a5b00;

  --f-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 3px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--f-body); color: var(--text); background: var(--paper); text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
/* Discourage saving images: no dragging, selecting or long-press "Save image" on phones */
img, svg { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo-d); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; }

/* ── Type scale ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--navy); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); font-weight: 650; font-weight: 600; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.38rem); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--text); max-width: 62ch; }
.caption { font-size: .85rem; color: var(--muted); }
.kpi-num { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }

/* ── Layout ───────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(56px, 8vw, 112px); }
.band--tint { background: var(--tint); }
.band--navy { background: var(--navy); color: #cfd6f0; }
.band--navy h2, .band--navy h3, .band--navy h4 { color: #fff; }
.band--navy a:not(.btn) { color: #9fd9f5; }
.band--tight { padding-block: clamp(36px, 5vw, 64px); }
.sec-head { margin-bottom: clamp(28px, 4vw, 52px); display: grid; gap: 16px; }
.sec-head > .rule, .rule { width: 56px; height: 3px; background: var(--gold); border: 0; margin: 0; }
.sec-head p { margin: 0; }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Odd item count: the last item keeps its column width but sits centred on its own row */
.g2--center { --gap: clamp(16px, 2.2vw, 28px); gap: var(--gap); }
.g2--center > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--gap) / 2); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.stack > * + * { margin-top: 1.1rem; }
.stack > .rule { margin-top: 1.1rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; font: 600 .95rem/1.2 var(--f-display); letter-spacing: 0; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: #e3ae1c; color: var(--navy); }
.btn--indigo { background: var(--indigo); color: #fff; }
.btn--indigo:hover { background: var(--indigo-d); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--line { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--line:hover { background: var(--indigo); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.textlink { font: 600 .95rem var(--f-display); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.textlink svg { width: 16px; height: 16px; transition: transform .2s; }
.textlink:hover svg { transform: translateX(4px); }

/* ── Header / nav ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { max-width: 1440px; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand .logo { display: block; height: 44px; width: auto; }
.brand .logo--white { display: none; }
/* Home page: header sits transparently over the hero photos, turns white on scroll */
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .3s, border-color .3s; }
.site-header--overlay::before { content: ""; position: absolute; inset: 0 0 -70px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(15, 26, 69, .8) 0%, rgba(15, 26, 69, .45) 55%, rgba(15, 26, 69, 0) 100%); transition: opacity .3s; }
.site-header--overlay.is-solid { background: #fff; border-bottom-color: var(--line); }
.site-header--overlay.is-solid::before { opacity: 0; }
.site-header--overlay:not(.is-solid) .logo--color { display: none; }
.site-header--overlay:not(.is-solid) .logo--white { display: block; }
.site-header--overlay:not(.is-solid) .menu-btn { color: #fff; border-color: rgba(255, 255, 255, .5); }
@media (min-width: 1280px) {
  .site-header--overlay:not(.is-solid) .nav > ul > li > a, .site-header--overlay:not(.is-solid) .nav > ul > li > button { color: #fff; text-shadow: 0 1px 8px rgba(15, 26, 69, .6); }
  .site-header--overlay:not(.is-solid) .nav > ul > li > a:hover, .site-header--overlay:not(.is-solid) .nav > ul > li > button:hover, .site-header--overlay:not(.is-solid) .nav li.open > button { color: var(--gold); }
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button { display: flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 10px; white-space: nowrap; font: 500 .88rem var(--f-display); color: var(--navy); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav > ul > li > a:hover, .nav > ul > li > button:hover, .nav li.open > button { color: var(--indigo); }
.nav [aria-current="page"], .nav li.here > a, .nav li.here > button { box-shadow: inset 0 -3px 0 var(--gold); }
.nav .chev { width: 10px; height: 10px; transition: transform .2s; }
/* Menu item that is itself a link: the label opens the page, the chevron opens the menu */
.nav li.has-link { display: flex; flex-wrap: nowrap; }
.nav > ul > li { flex-shrink: 0; }
/* Laptop widths: tighten the menu so it stays on one row beside the logo and button */
@media (min-width: 1280px) and (max-width: 1439px) {
  .site-header .wrap { gap: 14px; }
  .nav > ul > li > a, .nav > ul > li > button { padding: 0 7px; font-size: .84rem; }
  .nav > ul > li.has-link > a { padding-right: 1px; }
  .nav > ul > li.has-link > button { padding-left: 3px; }
  .nav-cta { margin-left: 6px; padding: 10px 14px; }
}
.nav li.has-link > a { padding-right: 2px; }
.nav li.has-link > button { padding-left: 4px; }
.nav li.has-link.open > a, .nav li.has-link:hover > a { color: var(--indigo); }
.nav li.here.has-link > a, .nav li.here.has-link > button { box-shadow: none; }
.nav li.here.has-link { box-shadow: inset 0 -3px 0 var(--gold); }
.nav li.open .chev { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: 50%; transform: translateX(-30%); min-width: 300px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 18px 40px rgba(22, 37, 92, .14); padding: 22px 26px; display: none; gap: 36px; }
.mega--2 { min-width: 640px; transform: translateX(-40%); }
.nav li.open > .mega { display: flex; }
.mega h4 { font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; min-width: 240px; }
.mega a { display: block; padding: 9px 12px; margin-inline: -12px; border-radius: var(--radius); text-decoration: none; color: var(--navy); font: 500 .93rem var(--f-display); line-height: 1.3; }
.mega a small { display: block; font: 400 .82rem var(--f-body); color: var(--muted); margin-top: 2px; }
.mega a:hover { background: var(--tint); color: var(--indigo); }
.nav-cta { margin-left: 10px; min-height: 44px; padding: 10px 18px; font-size: .86rem; white-space: nowrap; }
.menu-btn { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; color: #fff; background: var(--navy-2); isolation: isolate; }
.hero > picture, .hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero img.bg { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slides img.bg { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease-out; }
.hero-slides img.bg.is-active { opacity: 1; transform: scale(1); }
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: clamp(14px, 2vw, 22px); z-index: 2; display: flex; gap: 10px; }
.hero-dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .4); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button[aria-current="true"] { width: 44px; background: var(--gold); }
.hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15, 26, 69, .9) 0%, rgba(15, 26, 69, .55) 28%, rgba(15, 26, 69, 0) 55%), linear-gradient(95deg, rgba(15, 26, 69, .35) 0%, rgba(15, 26, 69, 0) 50%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gold); }
.hero-inner { padding-block: 120px clamp(60px, 6vw, 76px); }
.hero .hero-title { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); text-shadow: 0 2px 18px rgba(15, 26, 69, .45); }
.hero .hero-title span { display: block; }
.hero-copy { display: grid; }
.hero-text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }
.hero-text.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease .25s, visibility 0s; }
.hero .lead { color: #e6ebfa; margin-top: 14px; max-width: 56ch; }
.hero .btn-row { margin-top: 24px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.is-active > .hero-title span, .is-active > .lead, .is-active > .btn-row { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.is-active > .hero-title span:nth-child(2) { animation-delay: .12s; }
.is-active > .lead { animation-delay: .26s; }
.is-active > .btn-row { animation-delay: .36s; }

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--navy-2); isolation: isolate; padding-block: clamp(64px, 9vw, 120px) clamp(40px, 5vw, 64px); }
.page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(15, 26, 69, .94) 0%, rgba(15, 26, 69, .74) 55%, rgba(15, 26, 69, .4) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 22ch; }
.page-hero .lead { color: #dce3f8; margin-top: 18px; }
.crumbs { font-size: .85rem; color: #b9c4ea; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: #cfd9fb; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

/* ── Photo helpers ────────────────────────────────────────── */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--sq { aspect-ratio: 1; }
.photo.gold-edge { box-shadow: -8px 8px 0 var(--gold); }
.photo figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 28px 16px 12px; color: #fff; font-size: .85rem; background: linear-gradient(0deg, rgba(15, 26, 69, .8), transparent); }

/* ── Product panels (home) ────────────────────────────────── */
.panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.panel { position: relative; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; text-decoration: none; overflow: hidden; border-right: 1px solid rgba(255, 255, 255, .2); isolation: isolate; }
.panel:last-child { border-right: 0; }
.panel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15, 26, 69, .96) 0%, rgba(15, 26, 69, .6) 45%, rgba(15, 26, 69, .12) 100%); }
.panel:hover img { transform: scale(1.05); }
.panel-body { padding: 28px 24px 28px; display: grid; gap: 12px; }
.panel h3 { color: #fff; font-size: 1.3rem; }
.panel p { margin: 0; font-size: .95rem; color: #d3dbf4; max-width: none; }
.panel .textlink { color: var(--gold); margin-top: 6px; }
.panel .sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.panel .sub span { font-size: .78rem; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; color: #fff; }
.panel .bar { height: 3px; width: 40px; background: var(--gold); transition: width .3s; }
.panel:hover .bar { width: 88px; }

/* ── Pills and spec tables ────────────────────────────────── */
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin-inline: 0; margin-bottom: 0; list-style: none; }
.pills li { padding: 8px 16px; border: 1px solid var(--line); background: var(--tint); border-radius: 99px; font: 500 .88rem var(--f-display); color: var(--indigo-d); }
.spec { margin-inline: 0; margin-bottom: 0; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 2fr); gap: 16px; padding: 14px 0 14px 16px; border-bottom: 1px solid var(--line); border-left: 4px solid var(--indigo); margin-left: 0; }
.spec > div:nth-child(even) { border-left-color: var(--cyan); }
.spec dt { font: 500 .85rem var(--f-display); color: var(--muted); }
.spec dd { margin: 0; font: 600 1rem/1.4 var(--f-display); color: var(--navy); }
.checks { list-style: none; padding: 0; margin-inline: 0; margin-bottom: 0; display: grid; gap: 12px; }
.split > .checks, .split > .spec, .grid > .checks { margin-top: 0; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 20px; height: 20px; color: var(--gold-d); margin-top: 3px; }

/* ── Why RFSS ─────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .22); }
.why > div { padding: 30px 28px 34px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); display: grid; gap: 10px; align-content: start; }
.why > div:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .22); }
.why h3 { color: #fff; font-size: 1.15rem; }
.why p { margin: 0; color: #b9c4ea; font-size: .97rem; }
.why .proof { font: 600 .9rem var(--f-display); color: var(--gold); margin-top: 4px; }

/* ── Industries ───────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; color: var(--navy); text-decoration: none; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.tile:hover, .tile:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(22, 37, 92, .35); border-color: #c3cdee; }
.tile:hover::before, .tile:focus-visible::before { transform: scaleX(1); }
.tile h3 { color: var(--navy); font-size: 1.35rem; }
.tile p { margin: 8px 0 0; font-size: .92rem; color: var(--text); max-width: 32ch; }
.tile .go { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font: 600 .88rem var(--f-display); color: var(--indigo); }
.tile .go svg { width: 16px; height: 16px; color: var(--gold-d); transition: transform .3s; }
.tile:hover .go svg { transform: translateX(4px); }

/* Animated industry drawings */
.ind-art { width: 190px; height: 127px; overflow: visible; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ind-art * { transform-box: view-box; }
.ind-art .acc { stroke: var(--gold); }
.ind-art .dot { fill: var(--navy); stroke: none; }
.ind-art .flow { stroke: var(--cyan); stroke-dasharray: 6 6; animation: ind-flow 1.2s linear infinite; }
.ind-art .a-rock { transform-origin: 56px 34px; animation: ind-rock 2.6s ease-in-out infinite alternate; }
.ind-art .a-spin { transform-origin: 88px 52px; animation: ind-spin 5.2s linear infinite; }
.ind-art .a-flame { fill: var(--gold); stroke: none; transform-origin: 104px 23px; animation: ind-flicker .9s ease-in-out infinite alternate; }
.ind-art .a-steam { fill: #c9d3f4; stroke: none; transform-box: fill-box; transform-origin: center; animation: ind-steam 3s ease-out infinite; }
.ind-art .a-steam.s2 { animation-delay: 1s; }
.ind-art .a-steam.s3 { animation-delay: 2s; }
.ind-art .a-core { fill: var(--gold); stroke: none; transform-origin: 60px 38px; animation: ind-pulse 1.6s ease-in-out infinite alternate; }
.ind-art .e { fill: var(--cyan); stroke: none; }
.ind-art .a-led { fill: var(--cyan); stroke: none; animation: ind-blink 1.8s steps(2, jump-none) infinite; }
.ind-art .a-led.l2 { animation-delay: .45s; fill: var(--gold); }
.ind-art .a-led.l3 { animation-delay: .9s; }
.ind-art .a-led.l4 { animation-delay: 1.35s; }
.ind-art .teeth { stroke-width: 6; stroke-dasharray: 4.97 4.97; stroke-linecap: butt; }
.ind-art .teeth.sm { stroke-dasharray: 4.71 4.71; }
.ind-art .a-gear { transform-origin: 48px 36px; animation: ind-spin 12s linear infinite; }
.ind-art .a-gear.rev { transform-origin: 81px 52px; animation: ind-spin 8s linear infinite reverse; }
@keyframes ind-flow { to { stroke-dashoffset: -12; } }
@keyframes ind-rock { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes ind-spin { to { transform: rotate(360deg); } }
@keyframes ind-flicker { from { transform: scale(.85, .8); opacity: .8; } to { transform: scale(1.05, 1.12); opacity: 1; } }
@keyframes ind-steam { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .9; } 100% { transform: translateY(-18px) scale(1.8); opacity: 0; } }
@keyframes ind-pulse { from { transform: scale(.85); } to { transform: scale(1.15); } }
@keyframes ind-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ── KPIs ─────────────────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.kpi { padding: 28px 28px 28px 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.kpi:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .15); }
.kpi .kpi-num { font-size: clamp(2.2rem, 4.2vw, 3.4rem); color: #fff; display: block; }
.kpi .kpi-num small { font-size: .45em; font-weight: 500; color: var(--gold); letter-spacing: 0; }
.kpi .label { display: block; margin-top: 10px; font-size: .92rem; color: #b9c4ea; }
.kpi.is-ph .kpi-num { font-size: 1.15rem; color: var(--gold); }
.kpis--light .kpi { border-top-color: var(--line); }
.kpis--light .kpi:not(:nth-child(3n + 1)) { border-left-color: var(--line); }
.kpis--light .kpi-num { color: var(--navy); }
.kpis--light .label { color: var(--muted); }

/* ── Traceability thread ──────────────────────────────────── */
.thread { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; --p: 1; }
.thread::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; background: var(--line); }
.thread::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; background: var(--gold); transform-origin: top; transform: scaleY(var(--p)); }
.thread li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding-bottom: 30px; align-items: start; }
.thread li:last-child { padding-bottom: 0; }
.thread .node { z-index: 1; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 600 1rem var(--f-display); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold); }
.thread h3 { font-size: 1.12rem; margin-top: 8px; }
.thread p { margin: 4px 0 0; font-size: .97rem; }
.band--navy .thread::before { background: rgba(255, 255, 255, .2); }
.band--navy .thread .node { background: #fff; color: var(--navy); border-color: var(--navy); }

/* Process (horizontal list) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 24px 26px 0; border-top: 3px solid var(--line); position: relative; }
.steps li::before { content: ""; position: absolute; top: -3px; left: 0; width: 44px; height: 3px; background: var(--gold); }
.steps li:not(:nth-child(3n + 1)) { padding-left: 24px; }
.steps h3 { font-size: 1.05rem; margin-bottom: 8px; }
.steps h3::before { content: counter(s) ". "; color: var(--indigo); }
.steps p { margin: 0; font-size: .95rem; }

/* ── Cards (certs, projects, jobs) ────────────────────────── */
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--indigo); padding: 26px; display: grid; gap: 14px; align-content: start; }
.card--gold { border-top-color: var(--gold); }
.card h3 { font-size: 1.2rem; }
.card dl { margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.card dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.card dt { color: var(--muted); }
.card dd { margin: 0; color: var(--navy); font-weight: 500; }
.cert-thumb { display: block; border: 1px solid var(--line); padding: 6px; background: #fff; max-width: 180px; cursor: zoom-in; }
.cert-thumb img { width: 100%; }
.ph { display: inline-block; padding: 1px 8px; background: var(--ph-bg); border: 1px dashed var(--ph-line); color: var(--ph-text); border-radius: 2px; font-weight: 500; }
.ph-card { border-style: dashed; border-color: var(--ph-line); background: #fffdf4; }
/* Leadership: board portraits and key managerial personnel cards (About) */
.team-sub { display: flex; align-items: baseline; gap: 22px; font-size: 1.05rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin: 0 0 clamp(24px, 3vw, 36px); }
.team-sub span { font: 600 .95rem var(--f-display); color: var(--gold-d); }
.board, .kmp { list-style: none; margin: 0; padding: 0; display: grid; }
.board { grid-template-columns: repeat(5, 1fr); gap: 32px 20px; margin-bottom: clamp(48px, 6vw, 72px); }
.board li { display: grid; justify-items: center; text-align: center; gap: 10px; }
.board img, .kmp img { border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(22, 37, 92, .12); background: var(--tint); }
.board img { width: min(160px, 100%); height: auto; aspect-ratio: 1; margin-bottom: 8px; transition: transform .3s; }
.board li:hover img { transform: translateY(-4px); }
.board h4, .kmp h4 { font-size: 1rem; margin: 0; }
.board p { margin: 0; padding: 5px 16px; background: #e3e9fb; color: var(--indigo); font: 600 .72rem var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.kmp { grid-template-columns: repeat(2, 1fr); gap: 24px 36px; }
.kmp li { position: relative; display: flex; align-items: center; gap: 28px; background: #fff; border: 1px solid var(--line); padding: 20px 28px; }
.kmp li::before { content: ""; position: absolute; left: -1px; top: 20px; bottom: 20px; width: 5px; background: var(--gold); }
.kmp img { width: 120px; height: 120px; flex: none; }
.kmp h4 { font-size: 1.25rem; margin-bottom: 8px; }
.kmp p { margin: 0; color: var(--gold-d); font: 600 .78rem var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 1020px) { .board { grid-template-columns: repeat(3, 1fr); } .kmp { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .board { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .board img { width: 130px; }
  .board li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kmp li { gap: 18px; padding: 16px 18px; }
  .kmp img { width: 88px; height: 88px; }
  .kmp h4 { font-size: 1.05rem; }
}
/* Contact: embedded factory map */
.map-embed { position: relative; aspect-ratio: 16 / 7; min-height: 320px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--tint); overflow: hidden; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 620px) { .map-embed { aspect-ratio: 4 / 5; } }
.pnote { font-size: .85rem; color: var(--ph-text); background: var(--ph-bg); border-left: 4px solid var(--ph-line); padding: 10px 14px; max-width: 70ch; }

/* ── Gallery ──────────────────────────────────────────────── */
.gallery { columns: 3; column-gap: 14px; }
.gallery button { display: block; width: 100%; padding: 0; margin: 0 0 14px; border: 0; background: var(--tint); cursor: zoom-in; position: relative; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-size: .8rem; text-align: left; background: linear-gradient(0deg, rgba(15, 26, 69, .85), transparent); opacity: 0; transition: opacity .25s; }
.gallery button:hover .cap, .gallery button:focus-visible .cap { opacity: 1; }
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filterbar button { padding: 9px 16px; border: 1px solid var(--line); background: #fff; font: 500 .85rem var(--f-display); color: var(--navy); border-radius: 99px; cursor: pointer; min-height: 40px; }
.filterbar button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10, 16, 44, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.on { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: 12px; }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; }
.lightbox figcaption { color: #cfd6f0; text-align: center; font-size: .92rem; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button svg { width: 22px; height: 22px; }

/* ── Location diagram ─────────────────────────────────────── */
.route { display: grid; gap: 0; }
.route > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.route b { font: 600 1.05rem var(--f-display); color: var(--navy); }
.route small { display: block; font: 400 .88rem var(--f-body); color: var(--muted); margin-top: 2px; }
.route .km { font: 600 1.6rem var(--f-display); color: var(--indigo); letter-spacing: -.02em; }
.route .km small { display: inline; font-size: .9rem; color: var(--muted); }

/* ── Forms ────────────────────────────────────────────────── */
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font: 500 .88rem var(--f-display); color: var(--navy); }
.field label .req { color: #b3261e; margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem var(--f-body); color: var(--navy); background: #fff; border: 1px solid #b6bfdc; border-radius: var(--radius); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(16, 169, 226, .45); border-color: var(--indigo); }
.field .hint { font-size: .82rem; color: var(--muted); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 20px; }
.form legend { font: 600 1.05rem var(--f-display); color: var(--navy); padding: 0 0 8px; border-bottom: 2px solid var(--gold); width: 100%; margin-bottom: 18px; }
.form-status { padding: 14px 18px; border-left: 4px solid var(--indigo); background: var(--tint); display: none; }
.form-status.on { display: block; }
.hp { position: absolute; left: -9999px; }
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.tabs a { padding: 14px 22px; font: 600 .95rem var(--f-display); text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }

/* ── CTA band + footer ────────────────────────────────────── */
.cta-band { position: relative; background: var(--indigo); color: #fff; padding-block: clamp(48px, 7vw, 88px); overflow: hidden; }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe5fb; margin: 14px 0 0; }
.cta-band .btn-row { justify-content: flex-end; }
.site-footer { background: var(--navy-2); color: #aab4dc; font-size: .94rem; }
.site-footer a { color: #cfd8fa; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-block: 64px 44px; }
.foot-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid address { font-style: normal; display: grid; gap: 14px; }
.foot-grid address b { display: block; color: #fff; font: 500 .85rem var(--f-display); }
.foot-brand .logo { height: 52px; }
.foot-brand p { margin: 18px 0; font-size: .93rem; max-width: 34ch; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .85rem; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.foot-brand .flag { width: 66px; height: 44px; margin-top: 22px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 6px 16px rgba(0, 0, 0, .25); }
.social a { display: inline-flex; gap: 8px; align-items: center; }
.social svg { width: 20px; height: 20px; }
.fab { display: none; }

/* ── Reveal (only for elements flagged by JS) ─────────────── */
.js .stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > *:nth-child(2) { transition-delay: .08s; }
.js .stagger.in > *:nth-child(3) { transition-delay: .16s; }
.js .stagger.in > *:nth-child(4) { transition-delay: .24s; }
.js .stagger.in > *:nth-child(5) { transition-delay: .32s; }
.js .stagger.in > *:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .stagger > * { opacity: 1; transform: none; }
  .thread { --p: 1 !important; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1279px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 110px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; border-top: 1px solid var(--line); }
  .nav.on { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav > ul > li > a, .nav > ul > li > button { width: 100%; height: 58px; padding: 0 4px; font-size: 1.05rem; justify-content: space-between; box-shadow: none !important; }
  .nav .chev { width: 14px; height: 14px; }
  .nav li.has-link { flex-wrap: wrap; }
  .nav li.has-link > a { flex: 1; width: auto; }
  .nav li.has-link > button { width: 52px; justify-content: center; }
  .nav li.has-link > .mega { flex-basis: 100%; }
  .nav li.here.has-link { box-shadow: none; }
  .mega, .mega--2 { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 14px 12px; flex-direction: column; gap: 14px; }
  .mega a { padding: 12px 10px; font-size: .98rem; }
  .nav-cta { margin: 20px 0 0; width: 100%; min-height: 54px; }
  .fab { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy); align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(15, 26, 69, .35); }
  .fab svg { width: 24px; height: 24px; }
  .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { min-height: 420px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .g3, .g4, .tiles, .why, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split .photo { order: -1; }
  .split > .thread { order: 2; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .kpi:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .15); }
  .kpis--light .kpi:nth-child(even) { border-left-color: var(--line); }
  .why > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .why > div:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .22); }
  .steps li:not(:nth-child(3n + 1)) { padding-left: 0; }
  .steps li:nth-child(even) { padding-left: 24px; }
  .gallery { columns: 2; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .g2, .g3, .g4, .tiles, .why, .steps, .panels, .form .row { grid-template-columns: 1fr; }
  .g2--center > :last-child:nth-child(odd) { width: 100%; }
  .panel { min-height: 340px; border-right: 0; }
  .tile { min-height: 240px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 20px 12px 20px 0; }
  .kpi:nth-child(even) { padding-left: 16px; }
  .kpi .kpi-num { font-size: 2rem; }
  .why > div, .why > div:nth-child(even) { padding: 24px 0; border-left: 0; }
  .steps li, .steps li:nth-child(even) { padding: 20px 0; }
  .gallery { columns: 1; }
  .hero { min-height: max(560px, 100svh); }
  .hero::before { background: linear-gradient(0deg, rgba(15, 26, 69, .94) 0%, rgba(15, 26, 69, .7) 45%, rgba(15, 26, 69, 0) 75%); }
  .hero .btn-row .btn, .btn-row--full .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 28px; }
  .card dl > div { grid-template-columns: 1fr; gap: 0; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
  .photo.gold-edge { box-shadow: -5px 5px 0 var(--gold); }
  .brand .logo { height: 38px; }
}
