/* =========================================================
   PSCL — Power Services Company Limited
   Brand: navy #0C1A3B / red #E7322A (company profile), steel #B0C4DF (web mockups)
   ========================================================= */
:root {
  --navy-950: #070F24;
  --navy-900: #0C1A3B;
  --navy-800: #0F2147;
  --navy-700: #182E62;
  --navy-600: #24407F;
  --steel: #B0C4DF;
  --steel-200: #D3DEEE;
  --mist: #EEF3FA;
  --paper: #F7F9FC;
  --white: #FFFFFF;
  --red: #E7322A;
  --red-600: #C8231C;
  --amber: #F5C443;
  --ink: #0C1A3B;
  --ink-2: #3D4B6B;
  --ink-3: #5F6C88;
  --line: #DCE3EE;
  --line-dark: rgba(255,255,255,.12);

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-xl: 32px;
  --sh-1: 0 1px 2px rgba(12,26,59,.06), 0 4px 14px rgba(12,26,59,.06);
  --sh-2: 0 10px 40px -10px rgba(12,26,59,.28);
  --sh-3: 0 30px 80px -20px rgba(7,15,36,.55);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 140px);
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--f-sans); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--paper); font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; line-height: 1.04; letter-spacing: -.02em; font-weight: 800; font-stretch: 92%; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 14px; height: 14px; }
.ic--lg { width: 28px; height: 28px; }
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; font-stretch: 100%; }
.red { color: var(--red); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale ---------- */
.h-mega { font-size: clamp(44px, 8.4vw, 116px); font-weight: 900; letter-spacing: -.035em; line-height: .95; font-stretch: 88%; }
.h-xl { font-size: clamp(36px, 5.6vw, 72px); letter-spacing: -.03em; }
.h-lg { font-size: clamp(30px, 4.2vw, 54px); }
.h-md { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.015em; }
.h-sm { font-size: 19px; letter-spacing: -.01em; font-weight: 700; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #FF6E66; }
.eyebrow--center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-900); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15.5px; letter-spacing: .01em; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--red { --bg: var(--red); box-shadow: 0 10px 30px -10px rgba(231,50,42,.7); }
.btn--red:hover { --bg: var(--red-600); box-shadow: 0 16px 34px -10px rgba(231,50,42,.8); }
.btn--ghost { --bg: transparent; --fg: var(--navy-900); border-color: rgba(12,26,59,.25); }
.btn--ghost:hover { border-color: var(--navy-900); }
.btn--ghost-light { --bg: rgba(255,255,255,.06); --fg: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.14); border-color: #fff; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 16.5px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
a:hover > .link-arrow .ic, .link-arrow:hover .ic { transform: translateX(4px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; transition: .2s; }
.icon-btn:hover { border-color: var(--navy-900); }

/* ---------- Progress / topbar / nav ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), #FF8A5B); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.topbar { background: var(--navy-950); color: #C8D3E6; font-size: 13.5px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__tag { margin: 0; display: flex; align-items: center; gap: 10px; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a, .topbar__links span { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__links a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; color: var(--red); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #3BD671; box-shadow: 0 0 0 0 rgba(59,214,113,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(59,214,113,0); } 100% { box-shadow: 0 0 0 0 rgba(59,214,113,0); } }

.nav { position: sticky; top: 0; z-index: 100; transition: background .35s, box-shadow .35s, transform .35s var(--ease); background: rgba(12,26,59,.0); }
.nav__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.has-hero .nav { position: fixed; top: 40px; left: 0; right: 0; }
.nav.is-solid, body:not(.has-hero) .nav { background: rgba(9,19,45,.86); backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 10px 40px -20px rgba(0,0,0,.6); }
.has-hero .nav.is-solid { top: 0; }
.nav.is-hidden { transform: translateY(-110%); }
.brand img { width: 152px; height: auto; filter: drop-shadow(0 6px 16px rgba(0,0,0,.25)); transition: width .3s var(--ease); }
.nav.is-solid .brand img { width: 136px; }
.menu { margin-left: auto; }
.menu__list { display: flex; gap: 2px; align-items: center; }
.menu__list > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; color: #E5ECF7; font-weight: 600; font-size: 15px; border-radius: 999px; position: relative; transition: color .2s, background .2s; }
.menu__list > li > a:hover { color: #fff; background: rgba(255,255,255,.08); }
.menu__list > li > a[aria-current="page"] { color: #fff; }
.menu__list > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px; }
.nav__cta { min-height: 44px; padding: 10px 18px; font-size: 14.5px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; place-items: center; margin-left: auto; }

.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--gutter);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid {
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 8px auto 0; background: #fff; color: var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 20px;
}
.mega__h { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 4px 10px 10px; }
.mega__col a { display: flex; gap: 12px; padding: 10px; border-radius: 12px; transition: background .2s; }
.mega__col a:hover { background: var(--mist); }
.mega__col .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--mist); color: var(--navy-700); stroke-width: 1.8; transition: .2s; }
.mega__col a:hover .ic { background: var(--red); color: #fff; }
.mega__col b { display: block; font-size: 15px; line-height: 1.25; }
.mega__col small { color: var(--ink-3); font-size: 13px; }
.mega__feature { position: relative; border-radius: 16px; background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); color: #fff; padding: 22px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; }
.mega__feature img { position: absolute; inset: 14px 14px auto; width: calc(100% - 28px); border-radius: 12px; transition: transform .5s var(--ease); }
.mega__feature:hover img { transform: scale(1.04) translateY(-4px); }
.mega__feature b { font-size: 19px; line-height: 1.2; margin-bottom: 10px; position: relative; }
.mega__feature .eyebrow { margin-bottom: 8px; position: relative; }

.drawer { position: fixed; inset: 0; z-index: 300; background: rgba(5,10,25,.55); backdrop-filter: blur(4px); }
.drawer[hidden] { display: none; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--navy-900); color: #fff; padding: 18px 22px 28px; display: flex; flex-direction: column; animation: slideIn .35s var(--ease-out); overflow-y: auto; }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer__top .icon-btn { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: 14px 4px; font-size: 22px; font-weight: 700; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; }
.drawer nav a[aria-current="page"] { color: #FF6E66; }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; padding-top: 24px; }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: clamp(56px, 7vw, 96px); }
.sec--navy { background: var(--navy-900); color: #fff; }
.sec--navy .lead, .sec--navy .muted { color: #B9C6DD; }
.sec--deep { background: var(--navy-950); color: #fff; }
.sec--steel { background: var(--steel); }
.sec--mist { background: var(--mist); }
.sec--white { background: #fff; }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 860px; margin-inline: auto; }
.sec-head p { margin: 0; }
.grid-bg { 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: 56px 56px; }
.grid-bg--light { background-image: linear-gradient(rgba(12,26,59,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(12,26,59,.05) 1px, transparent 1px); background-size: 56px 56px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: max(720px, 100svh); color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-950); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kenburns 22s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1.0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(7,15,36,.92) 0%, rgba(7,15,36,.6) 45%, rgba(7,15,36,.15) 100%),
  linear-gradient(0deg, rgba(7,15,36,.95) 0%, rgba(7,15,36,0) 45%); }
.hero__lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7; }
.hero__lines path { fill: none; stroke: url(#lineGrad); stroke-width: 1.4; stroke-dasharray: 6 14; animation: current 3.5s linear infinite; }
.hero__lines path:nth-child(2) { animation-duration: 5s; opacity: .6; }
.hero__lines path:nth-child(3) { animation-duration: 4.2s; opacity: .4; }
@keyframes current { to { stroke-dashoffset: -200; } }
.hero__in { padding-top: 200px; padding-bottom: 56px; width: 100%; }
.hero__kicker { display: inline-flex; gap: 10px; align-items: center; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 600; margin-bottom: 26px; }
.hero__kicker b { background: var(--red); padding: 4px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .08em; }
.hero h1 { max-width: 13ch; }
.hero h1 .red { display: inline-block; }
.hero__sub { max-width: 560px; font-size: clamp(18px, 1.7vw, 21px); color: #D2DCEC; margin: 26px 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__foot { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.hero__stat { padding: 24px 24px 0 0; }
.hero__stat + .hero__stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); }
.hero__stat b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-stretch: 88%; }
.hero__stat b sup { color: var(--red); font-size: .55em; vertical-align: top; position: relative; top: .1em; margin-left: 2px; }
.hero__stat > span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #AFC0DB; font-weight: 600; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 64px; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #9DB0D0; display: flex; align-items: center; gap: 12px; }
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--red), transparent); animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page hero (inner pages) */
.phero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate; padding: 200px 0 clamp(64px, 8vw, 110px); }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: kenburns 18s var(--ease) forwards; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,15,36,.94), rgba(7,15,36,.55) 60%, rgba(7,15,36,.35)), linear-gradient(0deg, rgba(7,15,36,.8), transparent 50%); }
.phero h1 { max-width: 16ch; }
.phero .lead { color: #D2DCEC; max-width: 640px; margin-top: 22px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #AFC0DB; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs .ic { width: 14px; height: 14px; }
.phero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip-glass { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13.5px; font-weight: 600; backdrop-filter: blur(6px); display: inline-flex; gap: 8px; align-items: center; }
.chip-glass .ic { width: 16px; height: 16px; color: #FF6E66; }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; position: relative; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 48px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; font-stretch: 85%; white-space: nowrap; }
.marquee__item svg { width: 26px; height: 26px; color: rgba(255,255,255,.75); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--navy { background: var(--navy-900); }
.marquee--navy .marquee__item svg { color: var(--red); }

/* ---------- Founder / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.founder { position: relative; }
.founder__img { border-radius: var(--r-xl); overflow: hidden; background: #E9EBEE; position: relative; aspect-ratio: 4/4.6; }
.founder__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.founder__badge { position: absolute; left: -18px; bottom: 32px; background: var(--navy-900); color: #fff; padding: 16px 22px; border-radius: 16px; box-shadow: var(--sh-2); }
.founder__badge b { display: block; font-size: 18px; }
.founder__badge span { font-size: 13px; color: #AFC0DB; }
.founder__years { position: absolute; right: -14px; top: 28px; width: 136px; height: 136px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: var(--sh-2); }
.founder__years b { font-size: 46px; line-height: 1; font-weight: 900; font-stretch: 85%; }
.founder__years span { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.ring-text { position: absolute; inset: -14px; animation: spin 22s linear infinite; }
.ring-text text { font-size: 9.2px; letter-spacing: 3.2px; fill: var(--navy-900); font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
.quote { font-family: var(--f-serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.18; letter-spacing: -.01em; margin: 0 0 28px; position: relative; color: var(--navy-900); }
.quote::before { content: "\201C"; position: absolute; left: -.08em; top: -.55em; font-size: 3.4em; color: var(--red); opacity: .18; line-height: 1; }
.sig { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.sig__line { width: 40px; height: 2px; background: var(--red); }
.sig b { display: block; }
.sig span { font-size: 14px; color: var(--ink-3); }
.check-list { display: grid; gap: 12px; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(231,50,42,.12); color: var(--red); stroke-width: 3; margin-top: 1px; }
.sec--navy .check-list .ic { background: rgba(231,50,42,.2); color: #FF6E66; }

/* ---------- Pillars over photo ---------- */
.pillars { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.pillars__bg { position: absolute; inset: 0; z-index: -2; }
.pillars__bg img { width: 100%; height: 120%; object-fit: cover; }
.pillars::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,15,36,.88), rgba(12,26,59,.78)); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r-lg); overflow: hidden; }
.pillar { background: rgba(9,19,45,.6); backdrop-filter: blur(10px); padding: clamp(28px, 3.4vw, 44px); transition: background .35s; position: relative; }
.pillar:hover { background: rgba(24,46,98,.7); }
.pillar__ic { width: 72px; height: 72px; border-radius: 50%; background: #EDE6D3; color: var(--navy-900); display: grid; place-items: center; margin-bottom: 26px; transition: transform .5s var(--ease); }
.pillar:hover .pillar__ic { transform: rotate(-8deg) scale(1.06); }
.pillar__ic .ic { width: 32px; height: 32px; stroke-width: 1.7; }
.pillar h3 { font-size: 24px; margin-bottom: 12px; }
.pillar p { color: #C4D0E4; margin: 0; }
.pillar__n { position: absolute; right: 26px; top: 22px; font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.4); font-weight: 700; }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-1);
  display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.card__media { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--steel-200); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__tag { position: absolute; left: 14px; top: 14px; background: rgba(12,26,59,.82); color: #fff; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.15; }
.card__body p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.card__body .link-arrow { margin-top: auto; padding-top: 8px; font-size: 15px; }
.card__ic { position: absolute; right: 16px; bottom: -22px; width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(231,50,42,.8); z-index: 2; }
.card__ic .ic { width: 24px; height: 24px; }

/* Feature tiles (big hover tiles) */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { grid-column: span 4; position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; isolation: isolate; }
.tile--wide { grid-column: span 8; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,15,36,.95) 0%, rgba(7,15,36,.35) 55%, rgba(7,15,36,.1)); transition: background .5s; }
.tile:hover img { transform: scale(1.06); }
.tile:hover::before { background: linear-gradient(0deg, rgba(12,26,59,.97) 0%, rgba(12,26,59,.6) 70%, rgba(12,26,59,.3)); }
.tile__n { position: absolute; top: 24px; left: 28px; font-size: 12px; letter-spacing: .2em; font-weight: 700; color: rgba(255,255,255,.75); text-transform: uppercase; }
.tile h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.tile p { color: #CBD6E8; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.tile:hover p, .tile:focus-visible p { max-height: 160px; opacity: 1; margin-top: 4px; }
.tile .link-arrow { color: #fff; margin-top: 14px; }
.tile:has(.tile__stat):not(.tile--wide) .tile__n { display: none; }
.tile__stat { position: absolute; right: 24px; top: 20px; text-align: right; }
.tile__stat b { display: block; font-size: 38px; font-weight: 900; line-height: 1; font-stretch: 85%; }
.tile__stat span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #C4D0E4; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat { padding: 36px 28px; border-left: 1px solid var(--line-dark); position: relative; overflow: hidden; }
.stat:first-child { border-left: 0; }
.stat b { display: flex; align-items: baseline; gap: 2px; font-size: clamp(42px, 5vw, 68px); line-height: 1; font-weight: 900; letter-spacing: -.035em; font-stretch: 85%; }
.stat b small { font-size: .42em; color: var(--red); font-weight: 800; letter-spacing: 0; }
.stat > span { display: block; margin-top: 12px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #AFC0DB; font-weight: 600; max-width: 22ch; }
.stat::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.stat.is-in::after { transform: scaleX(.22); }
.stats--light { border-color: var(--line); }
.stats--light .stat { border-color: var(--line); }
.stats--light .stat > span { color: var(--ink-3); }

/* ---------- Tabs (disciplines) ---------- */
.tabs__list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tab { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; transition: .25s; min-height: 48px; }
.tab .ic { width: 18px; height: 18px; }
.tab:hover { border-color: var(--navy-900); }
.tab[aria-selected="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.tab[aria-selected="true"] .ic { color: #FF6E66; }
.sec--navy .tab { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.sec--navy .tab[aria-selected="true"] { background: #fff; color: var(--navy-900); }
.sec--navy .tab[aria-selected="true"] .ic { color: var(--red); }
.panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; animation: fadeUp .6s var(--ease-out); }
.panel[hidden] { display: none; }
.panel__img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/4; position: relative; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel__badge { position: absolute; left: 20px; bottom: 20px; background: rgba(9,19,45,.82); backdrop-filter: blur(10px); color: #fff; border-radius: 14px; padding: 14px 18px; }
.panel__badge b { font-size: 30px; font-weight: 900; display: block; line-height: 1; font-stretch: 85%; }
.panel__badge span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #C4D0E4; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Horizontal scroller / slider ---------- */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 400px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 30px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--red) transparent; overscroll-behavior-x: contain; }
.hscroll > * { scroll-snap-align: start; }
.hscroll::-webkit-scrollbar { height: 6px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--red); border-radius: 6px; }
.scroller-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.scroller-nav { display: flex; gap: 10px; }
.sec--navy .icon-btn, .sec--deep .icon-btn { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.sec--navy .icon-btn:hover, .sec--deep .icon-btn:hover { background: #fff; color: var(--navy-900); }

.pcard { border-radius: var(--r-lg); overflow: hidden; background: var(--navy-800); border: 1px solid var(--line-dark); display: flex; flex-direction: column; transition: transform .45s var(--ease), border-color .3s; }
.pcard:hover { transform: translateY(-6px); border-color: rgba(231,50,42,.6); }
.pcard__media { aspect-ratio: 4/3; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__body { padding: 22px 22px 26px; }
.pcard__body h3 { font-size: 20px; line-height: 1.2; margin: 10px 0 8px; }
.pcard__body p { color: #B9C6DD; font-size: 15px; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 5px 9px; border-radius: 6px; background: var(--mist); color: var(--navy-700); }
.tag--dark { background: rgba(255,255,255,.08); color: #D2DCEC; }
.tag--red { background: var(--red); color: #fff; }

/* Slider (projects) */
.slider { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--navy-950); }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16/10; position: relative; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__ui { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; align-items: center; gap: 14px; background: linear-gradient(0deg, rgba(7,15,36,.85), transparent); color: #fff; }
.slider__bars { display: flex; gap: 6px; flex: 1; }
.slider__bars button { flex: 1; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,.3); padding: 0; position: relative; min-width: 12px; }
.slider__bars button::before { content: ""; position: absolute; inset: -10px 0; }
.slider__bars button[aria-current="true"] { background: var(--red); }
.slider__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.slider__btn:hover { background: #fff; color: var(--navy-900); }
.slider__count { font-size: 13px; font-weight: 700; letter-spacing: .1em; min-width: 48px; }

/* ---------- Safety statement ---------- */
.safety { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--navy-950); }
.safety__bg { position: absolute; inset: 0; z-index: -2; }
.safety__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.safety::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,15,36,.92) 0%, rgba(7,15,36,0) 45%), linear-gradient(90deg, rgba(7,15,36,.96) 25%, rgba(7,15,36,.55) 70%, rgba(7,15,36,.3)); }
.safety__quote { font-size: clamp(44px, 7.4vw, 104px); font-weight: 900; line-height: .95; letter-spacing: -.04em; font-stretch: 85%; max-width: 11ch; margin: 0 0 30px; }
.safety__quote::before { content: "\201C"; display: block; color: var(--red); font-size: 1.4em; line-height: .5; height: .38em; }
.pillars4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-dark); }
.pillars4 > div { padding: 28px 24px 0 0; }
.pillars4 > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.pillars4 small { color: var(--red); font-weight: 800; letter-spacing: .16em; font-size: 12px; }
.pillars4 h3 { font-size: 20px; margin: 10px 0 10px; }
.pillars4 p { color: #B9C6DD; font-size: 15px; margin: 0; }

/* ---------- Certifications / logos ---------- */
.certs { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.cert { display: flex; align-items: center; gap: 18px; padding: 16px 22px 16px 16px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.cert img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.cert b { display: block; font-size: 16px; line-height: 1.25; }
.cert span { font-size: 13.5px; color: #AFC0DB; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--red), rgba(231,50,42,.1)); }
.tl { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-bottom: 38px; }
.tl__dot { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--red); z-index: 1; }
.tl__dot .ic { width: 20px; height: 20px; }
.tl small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); font-weight: 800; }
.tl h3 { font-size: 22px; margin: 6px 0 8px; }
.tl p { margin: 0; color: var(--ink-2); }

/* ---------- People / dept cards ---------- */
.dept { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dept__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: .3s var(--ease); }
.dept__item:hover { border-color: var(--navy-900); transform: translateY(-4px); box-shadow: var(--sh-1); }
.dept__item small { color: var(--red); font-weight: 800; letter-spacing: .16em; font-size: 12px; }
.dept__item h3 { font-size: 20px; margin: 10px 0 8px; }
.dept__item p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Mission blocks */
.mission { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mission__item { padding: 32px 28px; border-radius: var(--r-lg); background: var(--navy-800); border: 1px solid var(--line-dark); position: relative; overflow: hidden; }
.mission__item::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--red), transparent); }
.mission__item .ic { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: rgba(231,50,42,.16); color: #FF6E66; margin-bottom: 22px; }
.mission__item p { margin: 0; color: #C4D0E4; }
.mission__item h3 { font-size: 20px; margin-bottom: 12px; }

/* ---------- Services page ---------- */
.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.svc-nav { position: sticky; top: 110px; display: grid; gap: 2px; padding: 12px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.svc-nav p { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--ink-3); margin: 6px 10px 8px; }
.svc-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: .2s; }
.svc-nav a .ic { width: 18px; height: 18px; color: var(--ink-3); }
.svc-nav a:hover { background: var(--mist); color: var(--ink); }
.svc-nav a.is-active { background: var(--navy-900); color: #fff; }
.svc-nav a.is-active .ic { color: #FF6E66; }
.svc { padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 26px; }
.svc__kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--red); margin-bottom: 10px; display: block; }
.svc__stat { text-align: right; padding-left: 22px; border-left: 3px solid var(--red); }
.svc__stat b { display: block; font-size: clamp(38px, 4.4vw, 56px); font-weight: 900; line-height: 1; letter-spacing: -.03em; font-stretch: 85%; }
.svc__stat b small { font-size: .45em; color: var(--red); }
.svc__stat > span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.svc__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; margin-bottom: 26px; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc__img:hover img { transform: scale(1.04); }
.svc__img { position: relative; }
.img-note { position: absolute; left: 14px; bottom: 12px; z-index: 1; padding: 5px 10px; border-radius: 6px; background: rgba(12,26,59,.62); color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; line-height: 1.2; pointer-events: none; backdrop-filter: blur(2px); }
.svc__cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; }
.mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.mini-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.mini-list li::before { content: ""; width: 7px; height: 7px; flex: none; margin-top: 9px; background: var(--red); transform: rotate(45deg); }
.mini-list--1 { grid-template-columns: 1fr; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps3 div { background: var(--mist); border-radius: var(--r); padding: 18px; }
.steps3 small { color: var(--red); font-weight: 800; letter-spacing: .14em; font-size: 12px; }
.steps3 b { display: block; margin: 6px 0; }
.steps3 p { font-size: 14.5px; margin: 0; color: var(--ink-2); }

/* Accordion */
.acc { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.acc + .acc { margin-top: 10px; }
.acc summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 12px; font-weight: 700; min-height: 56px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { margin-left: auto; transition: transform .3s var(--ease); color: var(--red); }
.acc[open] summary .ic { transform: rotate(45deg); }
.acc__body { padding: 0 20px 18px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th { text-align: left; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 10px 8px; border-bottom: 2px solid var(--navy-900); font-weight: 800; }
.ptable td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable td:first-child { color: var(--red); font-weight: 800; width: 40px; }
.ptable td small { display: block; color: var(--ink-3); margin-top: 4px; font-size: 14px; }
.ptable tr { transition: background .2s; }
/* scope/role column: one tag per line, never split mid-tag, all left-aligned */
.ptable td:last-child { width: 1%; }
.ptable td:last-child .tag { display: table; white-space: nowrap; margin: 0 0 6px; }
.ptable td:last-child .tag:last-child { margin-bottom: 0; }
.ptable tbody tr:hover { background: var(--mist); }

/* Full range grid */
.range { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.range__item { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: .3s var(--ease); }
.range__item:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--sh-1); }
.range__item img { width: 76px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.range__item b { font-size: 15px; line-height: 1.25; display: block; }
.range__item span { font-size: 13px; color: var(--ink-3); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; min-height: 44px; transition: .2s; }
.filter:hover { border-color: var(--navy-900); }
.filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.sec--navy .filter, .sec--deep .filter { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.sec--navy .filter[aria-pressed="true"], .sec--deep .filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.is-filtered-out { display: none !important; }

/* ---------- Electrical testing ---------- */
.tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.test {
  position: relative; padding: 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  overflow: hidden; transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.test::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(231,50,42,.18), transparent 45%); opacity: 0; transition: opacity .3s; }
.test:hover { transform: translateY(-4px); border-color: rgba(231,50,42,.55); background: rgba(255,255,255,.06); }
.test:hover::before { opacity: 1; }
.test__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; position: relative; }
.test__ic { width: 50px; height: 50px; border-radius: 14px; background: var(--amber); color: var(--navy-900); display: grid; place-items: center; }
.test__ic .ic { width: 24px; height: 24px; }
.test__n { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: rgba(255,255,255,.35); }
.test h3 { font-size: 20px; margin-bottom: 8px; position: relative; }
.test p { margin: 0; color: #B9C6DD; font-size: 15px; position: relative; }
.test--cta { background: var(--red); border-color: var(--red); display: flex; flex-direction: column; justify-content: space-between; }
.test--cta p { color: #FFE1DF; }
.test--cta:hover { background: var(--red-600); }

.volt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.volt > div { background: var(--navy-800); padding: 30px; }
.volt b { font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1; letter-spacing: -.03em; font-stretch: 85%; display: block; }
.volt b small { color: var(--red); font-size: .5em; }
.volt > div > span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #AFC0DB; font-weight: 700; }

/* ---------- Equipment ---------- */
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eq { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.eq:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.eq__media { background: #B0C4DF; aspect-ratio: 4/3; display: grid; place-items: center; position: relative; overflow: hidden; }
.eq__media img { width: 92%; height: 88%; object-fit: contain; transition: transform .7s var(--ease); }
.eq:hover .eq__media img { transform: scale(1.06) translateX(6px); }
.eq__media .tag { position: absolute; left: 14px; top: 14px; background: var(--navy-900); color: #fff; }
.eq__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.eq__body h3 { font-size: 21px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec { font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: var(--mist); color: var(--navy-700); }
.eq__brands { font-size: 13.5px; color: var(--ink-3); }
.eq__brands b { color: var(--ink); }
.eq__body .btn { margin-top: auto; align-self: flex-start; min-height: 44px; padding: 10px 18px; font-size: 14.5px; }
.brand-table { width: 100%; border-collapse: collapse; }
.brand-table caption { text-align: left; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; background: var(--navy-900); color: #fff; padding: 12px 16px; border-radius: 10px 10px 0 0; }
.brand-table th, .brand-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; vertical-align: top; }
.brand-table th { font-weight: 800; letter-spacing: .06em; width: 42%; }
.brand-tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-tables > div { background: #fff; border-radius: 12px; box-shadow: var(--sh-1); overflow: hidden; }

/* ---------- Projects page ---------- */
.proj { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.proj:first-of-type { border-top: 0; }
.proj:nth-of-type(even) .proj__media { order: 2; }
.proj__n { font-size: clamp(64px, 9vw, 128px); font-weight: 900; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--steel); font-stretch: 80%; }
.proj h2 { font-size: clamp(26px, 3vw, 38px); margin: 14px 0 16px; }
.proj p { color: var(--ink-2); }
.proj__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; margin: 22px 0; }
.proj__facts div { background: #fff; padding: 14px 16px; }
.proj__facts b { display: block; font-size: 22px; font-weight: 900; font-stretch: 88%; }
.proj__facts span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.proj__ph { aspect-ratio: 16/10; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.proj__ph img { width: 100%; height: 100%; object-fit: cover; }
.proj__ph .tag { position: absolute; left: 18px; top: 18px; }
.ongoing { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(59,214,113,.12); color: #1C8A48; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ongoing .dot-live { width: 7px; height: 7px; }

/* ---------- Gallery ---------- */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; border-radius: var(--r); overflow: hidden; position: relative; cursor: zoom-in; background: var(--navy-800); }
.masonry img { width: 100%; transition: transform .8s var(--ease), filter .4s; }
.masonry figure:hover img { transform: scale(1.05); filter: brightness(.75); }
.masonry .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; font-weight: 700; font-size: 14.5px; background: linear-gradient(0deg, rgba(7,15,36,.85), transparent); transform: translateY(100%); transition: transform .4s var(--ease); display: flex; justify-content: space-between; align-items: center; }
.masonry figure:hover .cap, .masonry button:focus-visible .cap { transform: none; }
.masonry button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.masonry button:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(5,10,25,.94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lightbox[hidden] { display: none; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.lightbox__stage { display: grid; place-items: center; padding: 0 70px; min-height: 0; }
.lightbox__stage img { max-height: 78vh; max-width: 100%; width: auto; border-radius: 10px; box-shadow: var(--sh-3); animation: zoomIn .35s var(--ease-out); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } }
.lightbox__cap { text-align: center; padding: 14px 18px 22px; color: #C4D0E4; }
.lightbox .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 14px; } .lightbox__next { right: 14px; }

/* ---------- Community ---------- */
.impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.impact > div { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.impact .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(231,50,42,.1); color: var(--red); margin-bottom: 16px; }
.impact b { display: block; font-size: 19px; margin-bottom: 6px; }
.impact p { margin: 0; font-size: 15px; color: var(--ink-2); }
.partners { display: flex; flex-wrap: wrap; gap: 10px; }
.partner { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; transition: .25s var(--ease); }
.partner:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.partner mark { background: rgba(231,50,42,.18); color: inherit; border-radius: 3px; }
.search { position: relative; max-width: 420px; margin-bottom: 22px; }
.search input { width: 100%; min-height: 52px; padding: 12px 18px 12px 48px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; background: #fff; }
.search input:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 4px rgba(12,26,59,.1); }
.search .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.count-note { font-size: 14px; color: var(--ink-3); margin: -8px 0 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-cards { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: .3s var(--ease); }
a.info-card:hover { border-color: var(--red); transform: translateX(4px); }
.info-card .ic { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--navy-900); color: #fff; }
.info-card small { display: block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; margin-bottom: 4px; }
.info-card b { font-size: 16.5px; display: block; line-height: 1.35; }
.hours { padding: 24px; border-radius: var(--r-lg); background: var(--navy-900); color: #fff; }
.hours__now { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.1); margin-bottom: 14px; }
.hours__now.is-closed .dot-live { background: var(--red); animation: none; }
.hours ul li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.hours ul li.is-today { color: #FF8A84; font-weight: 700; }
.form { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--sh-2); border: 1px solid var(--line); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 13px 15px; min-height: 50px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); background: #fff; box-shadow: 0 0 0 4px rgba(12,26,59,.1); }
.field .help { font-size: 13px; color: var(--ink-3); }
.field .err { font-size: 13px; color: var(--red-600); display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); }
.field.is-invalid .err { display: block; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; transition: .2s; }
.seg input:checked + label { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.seg input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form__foot p { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form__status.is-ok { display: block; background: rgba(59,214,113,.12); color: #17703A; }
.form__status.is-err { display: block; background: rgba(231,50,42,.1); color: var(--red-600); }
.map { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-1); aspect-ratio: 16/9; background: var(--steel-200); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA band / footer ---------- */
.cta-band { position: relative; color: #fff; padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; isolation: isolate; background: var(--navy-900); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,26,59,.95), rgba(12,26,59,.6)); }
.cta-band__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.cta-band h2 { max-width: 14ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.footer { background: var(--navy-950); color: #B9C6DD; padding: 80px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand img { width: 170px; margin-bottom: 20px; }
.footer__motto { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: #fff; }
.footer__h { color: #fff; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a, .footer address a, .footer address > span { transition: color .2s; display: inline-flex; gap: 10px; align-items: flex-start; }
.footer ul a:hover, .footer address a:hover { color: #fff; }
.footer address { display: grid; gap: 12px; }
.footer address .ic { width: 17px; height: 17px; color: var(--red); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; transition: .25s; }
.social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; margin-top: 56px; border-top: 1px solid var(--line-dark); font-size: 13.5px; flex-wrap: wrap; }
.footer__base p { margin: 0; }
.footer__tags { letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(231,50,42,.8); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .35s var(--ease); }
.totop .ic { transform: rotate(180deg); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.mobile-cta { display: none; }

/* ---------- Reveal animations ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.is-in { opacity: 1; transform: none; }
.rv--l { transform: translateX(-40px); }
.rv--r { transform: translateX(40px); }
.rv--s { transform: scale(.94); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 150ms); }
.split-words.is-in .w > span { transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu, .nav__cta { display: none; }
  .burger { display: grid; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .cards, .equip-grid, .tests { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile--wide { grid-column: span 6; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding: 8px; scrollbar-width: none; }
  .svc-nav::-webkit-scrollbar { display: none; }
  .svc-nav p { display: none; }
  .svc-nav a { white-space: nowrap; }
  .brand-tables { grid-template-columns: 1fr 1fr; }
  .impact { grid-template-columns: 1fr 1fr; }
  .mission { grid-template-columns: 1fr; }
  .pillars4 { grid-template-columns: 1fr 1fr; }
  .pillars4 > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .topbar__tag { display: none; }
  .topbar__in { justify-content: center; }
  .sec-head, .split, .panel, .proj, .contact-grid, .cta-band__in, .svc__cols { grid-template-columns: 1fr; }
  .split--rev > :first-child, .proj:nth-of-type(even) .proj__media { order: 0; }
  .cta-band__actions { justify-content: flex-start; }
  .hero__foot, .stats { grid-template-columns: 1fr 1fr; }
  .hero__stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .pillars__grid { grid-template-columns: 1fr; }
  .volt { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .founder__badge { left: 12px; }
  .founder__years { right: 22px; top: 22px; width: 112px; height: 112px; }
  .ring-text { inset: -10px; }
  .founder__years b { font-size: 38px; }
  .svc__head { grid-template-columns: 1fr; }
  .svc__stat { text-align: left; }
  .svc__img { aspect-ratio: 16/9; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(9,19,45,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mobile-cta.is-on { transform: none; }
  .totop { bottom: 86px; }
  .footer { padding-bottom: 76px; }
  .lightbox__stage { padding: 0 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
}
@media (max-width: 620px) {
  .cards, .equip-grid, .tests, .brand-tables, .impact, .dept, .steps3, .mini-list, .form__grid { grid-template-columns: 1fr; }
  .tile, .tile--wide { grid-column: span 12; min-height: 360px; }
  .tile p { max-height: none; opacity: 1; margin-top: 4px; }
  .topbar__links li:nth-child(2) { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .pillars4 { grid-template-columns: 1fr; }
  .pillars4 > div + div { border-left: 0; padding-left: 0; }
  .hero__in { padding-top: 160px; }
  .phero { padding-top: 160px; }
  .brand img { width: 128px; }
  .proj__facts { grid-template-columns: 1fr 1fr; }
  .ptable th:nth-child(3), .ptable td:nth-child(3) { display: none; }
  .hscroll { grid-auto-columns: 84%; }
  .cert { width: 100%; }
}
.split > .tile, .svc > .tile { grid-column: auto !important; }
.proj:not(:has(.proj__media)) { grid-template-columns: 1fr; max-width: 900px; }

/* group photo in the "Our Work" block: landscape frame so the whole team shows; badges moved off the faces */
.founder--wide { align-self: center; }
.founder--wide .founder__img { aspect-ratio: 16/9.6; }
.founder--wide { margin-bottom: 64px; }
.founder--wide .founder__years { top: auto; bottom: -84px; right: -10px; }
.founder--wide .founder__badge { bottom: -58px; left: 0; }
@media (max-width: 760px) {
  .founder--wide .founder__years { right: 14px; bottom: -78px; }
  .founder--wide .founder__badge { left: 0; bottom: -54px; }
}

/* WhatsApp chat bubble (all pages) — bottom-left, clear of the back-to-top button and the mobile CTA bar */
.wa-bubble { position: fixed; left: 20px; bottom: 20px; z-index: 96; display: flex; align-items: center; gap: 0; height: 56px; padding: 0 14px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; box-shadow: 0 14px 34px -12px rgba(18,140,74,.75); transition: gap .3s var(--ease), padding .3s var(--ease), transform .2s var(--ease); }
.wa-bubble svg { width: 28px; height: 28px; flex: none; }
.wa-bubble__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 15px; transition: max-width .35s var(--ease); }
.wa-bubble:hover, .wa-bubble:focus-visible { gap: 10px; padding: 0 20px 0 14px; transform: translateY(-2px); }
.wa-bubble:hover .wa-bubble__label, .wa-bubble:focus-visible .wa-bubble__label { max-width: 180px; }
.wa-bubble::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: wa-pulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
@media (max-width: 860px) { .wa-bubble { left: 16px; bottom: 86px; height: 52px; padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .wa-bubble::after { animation: none; } }

/* contact page: telephone card with individually tappable numbers */
.info-card--phones b a { color: inherit; text-decoration: none; }
.info-card--phones b a:hover { color: var(--red); }
.info-card--phones .info-card__wa { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: #25D366; color: #fff !important; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; vertical-align: 2px; }
.info-card--phones .info-card__wa:hover { background: #1ebe5a; }
