/* ==========================================================================
   SK GROUP — Main stylesheet (shared by all pages)
   Division pages load an extra theme file:
     fire-solutions.css  → red / black / white
     sk-projects.css     → charcoal / white / gold
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --red: #D71920;
  --red-dark: #A80F15;
  --black: #111111;
  --charcoal: #222222;
  --white: #FFFFFF;
  --gold: #C9A24A;
  --paper: #F4F2EF;
  --grey: #8A8A8F;
  --line: rgba(255,255,255,.12);
  --line-dark: rgba(17,17,17,.12);

  --accent: var(--red);            /* overridden per division */
  --accent-ink: #fff;              /* text on accent */

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: #fff; background: var(--black); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-transform: uppercase; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 6px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--light { background: var(--paper); color: var(--black); }
.section--white { background: #fff; color: var(--black); }
.section--dark { background: var(--black); }
.section--charcoal { background: var(--charcoal); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lead { max-width: 680px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.h-xl { font-size: clamp(48px, 8.4vw, 132px); }
.h-lg { font-size: clamp(40px, 5.8vw, 84px); }
.h-md { font-size: clamp(30px, 3.6vw, 48px); }
.h-sm { font-size: clamp(22px, 2vw, 28px); }
.text-accent { color: var(--accent); }
.text-outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.section--light .text-outline, .section--white .text-outline { -webkit-text-stroke-color: var(--black); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,.72); max-width: 620px; }
.section--light .lead, .section--white .lead { color: #4a4a4f; }
.muted { color: rgba(255,255,255,.6); }
.section--light .muted, .section--white .muted { color: #66666b; }

/* ---------- 4. Buttons ---------- */
.btn {
  --bg: var(--accent); --fg: var(--accent-ink);
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px;
  font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: var(--bg); color: var(--fg); border-radius: 999px; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(101%);
  border-radius: inherit; transition: transform .5s var(--ease);
}
.btn:hover { color: var(--black); transform: translateY(-2px); box-shadow: 0 14px 40px -12px var(--accent); }
.btn:hover::before { transform: none; }
.btn .icon { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--dark { --bg: var(--black); --fg: #fff; }
.btn--dark::before { background: var(--accent); }
.btn--dark:hover { color: #fff; }
.section--light .btn--ghost, .section--white .btn--ghost { --fg: var(--black); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.35); }
.section--light .btn--ghost::before, .section--white .btn--ghost::before { background: var(--black); }
.section--light .btn--ghost:hover, .section--white .btn--ghost:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(6px); }

/* ---------- 5. Page loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: var(--black);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__mark {
  width: 84px; height: 84px; border-radius: 16px; background: var(--accent); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 40px; color: #fff; animation: loaderPulse 1.4s var(--ease-io) infinite;
}
.loader__bar { width: 180px; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; border-radius: 2px; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--accent); animation: loaderBar 1.1s var(--ease-io) infinite; }
.loader__text { font-size: 12px; letter-spacing: .4em; color: rgba(255,255,255,.55); text-transform: uppercase; }
@keyframes loaderPulse { 50% { transform: scale(.92) rotate(-4deg); } }
@keyframes loaderBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- 6. Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .45s var(--ease), transform .45s var(--ease), height .45s var(--ease), box-shadow .45s;
}
.site-header.is-scrolled { --header-h: 70px; background: rgba(12,12,13,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav-open .site-header { z-index: 130; transform: none; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 900; font-size: 26px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.brand__mark { width: 44px; height: 44px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; font-size: 22px; color: #fff; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__text small { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .32em; color: rgba(255,255,255,.6); margin-top: 4px; }
.brand img { height: 44px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav__link { position: relative; font-size: 14px; font-weight: 700; letter-spacing: .06em; padding: 8px 0; color: rgba(255,255,255,.82); transition: color .3s; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { height: 46px; padding: 0 22px; font-size: 12px; }
.nav__divisions { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line); }
.nav__division { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; color: rgba(255,255,255,.75); transition: background .3s, color .3s; white-space: nowrap; }
.nav__division:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav__division[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.nav__toggle { display: none; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; z-index: 120; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .45s var(--ease), opacity .3s; }
.nav__toggle span:nth-child(1) { top: 18px; } .nav__toggle span:nth-child(2) { top: 23px; } .nav__toggle span:nth-child(3) { top: 28px; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--black); padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 42px); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility .8s;
}
.nav-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu__links a { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 10vw, 64px); text-transform: uppercase; line-height: 1.12; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.mobile-menu__links a:hover { color: var(--accent); }
.nav-open .mobile-menu__links a { opacity: 1; transform: none; }
.nav-open .mobile-menu__links li:nth-child(1) a { transition-delay: .25s; } .nav-open .mobile-menu__links li:nth-child(2) a { transition-delay: .3s; }
.nav-open .mobile-menu__links li:nth-child(3) a { transition-delay: .35s; } .nav-open .mobile-menu__links li:nth-child(4) a { transition-delay: .4s; }
.nav-open .mobile-menu__links li:nth-child(5) a { transition-delay: .45s; } .nav-open .mobile-menu__links li:nth-child(6) a { transition-delay: .5s; }
.nav-open .mobile-menu__links li:nth-child(7) a { transition-delay: .55s; }
.mobile-menu__foot { display: grid; gap: 10px; margin-top: 40px; color: rgba(255,255,255,.7); font-size: 15px; }
.mobile-menu__foot a { display: inline-flex; gap: 10px; align-items: center; }
.no-scroll { overflow: hidden; }

/* ---------- 7. Hero (full-width banner slider) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #000; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-io); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0,0,0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.15) 100%),
    linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 45%);
}
.hero__grid { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .5;
  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: 96px 96px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.hero__glow { position: absolute; z-index: 3; width: 60vw; height: 60vw; right: -18vw; top: -20vw; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent); filter: blur(30px); opacity: .55; pointer-events: none; animation: glowFloat 12s ease-in-out infinite alternate; }
@keyframes glowFloat { to { transform: translate(-6vw, 8vw) scale(1.1); } }
.hero__content { position: relative; z-index: 4; width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(110px, 14vh, 160px); }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title { font-size: clamp(38px, 7.4vw, 128px); overflow-wrap: anywhere; line-height: .9; }
.hero__title .line { display: block; }
.hero__sub { margin-top: 28px; max-width: 600px; font-size: clamp(17px, 1.5vw, 21px); color: rgba(255,255,255,.82); }
.hero__actions { margin-top: 40px; }
.hero__ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 34px; }
.hero__ui .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero__dots { display: flex; gap: 10px; align-items: center; }
.hero__dot { position: relative; width: 64px; height: 26px; }
.hero__dot::before, .hero__dot i { content: ""; position: absolute; left: 0; top: 12px; height: 2px; width: 100%; background: rgba(255,255,255,.25); }
.hero__dot i { background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active i { animation: dotProgress var(--slide-time, 6s) linear forwards; }
.hero.is-paused .hero__dot.is-active i { animation: none; transform: scaleX(1); }
@keyframes dotProgress { to { transform: scaleX(1); } }
.hero__caption { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; gap: 14px; align-items: center; }
.hero__caption b { font-family: var(--font-display); font-size: 22px; color: #fff; letter-spacing: .05em; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__scroll span { width: 1px; height: 46px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: #fff; animation: scrollLine 2s var(--ease-io) infinite; }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.hero__side { position: absolute; z-index: 5; right: var(--gutter); top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: rgba(255,255,255,.5); white-space: nowrap; }

/* Sub-page hero (slightly shorter) */
.hero--division { min-height: 92vh; min-height: 92svh; }

/* ---------- 8. Ticker (text marquee) ---------- */
.ticker { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 20px 0; position: relative; z-index: 6; }
.ticker--dark { background: var(--black); color: #fff; border-block: 1px solid var(--line); }
.marquee { display: flex; overflow: hidden; user-select: none; --gap: 56px; --speed: 38s; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__group { display: flex; align-items: center; gap: var(--gap); padding-right: var(--gap); flex: none; min-width: 100%; justify-content: space-around; }
/* animation starts only after JS has cloned the row, so both copies move in perfect sync (no overlap) */
.marquee.is-ready .marquee__group { animation: marquee var(--speed) linear infinite; }
.marquee--reverse .marquee__group { animation-direction: reverse; }
.marquee:hover .marquee__group { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.ticker__item { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: var(--gap); }
.ticker__item::after { content: "✦"; font-size: .6em; opacity: .7; }

/* ---------- 9. About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split--rev > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; background: #1a1a1c; }
.media-frame--wide { aspect-ratio: 4 / 3; }
/* .px = parallax wrapper: slightly taller than its frame so it can move without gaps */
.px { position: absolute; inset: -9% 0; }
.px img, .media-frame img, .feature__media img { width: 100%; height: 100%; object-fit: cover; }
.media-stack { position: relative; }
.media-badge {
  position: absolute; z-index: 2; left: -24px; bottom: 40px; background: var(--accent); color: var(--accent-ink); padding: 26px 30px; border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); max-width: 230px;
}
.media-badge strong { display: block; font-family: var(--font-display); font-size: 54px; line-height: .9; }
.media-badge span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.media-outline { position: absolute; inset: 28px -28px -28px 28px; border: 1.5px solid var(--accent); border-radius: var(--radius); z-index: -1; opacity: .7; }
.about__text h2 { margin: 18px 0 26px; }
.check-list { display: grid; gap: 14px; margin: 28px 0 34px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.check-list .icon { color: var(--accent); font-size: 22px; margin-top: 2px; }
.check-list--2 { grid-template-columns: 1fr 1fr; }

/* Stats / counters */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 100px); }
.section--light .stats, .section--white .stats { border-color: var(--line-dark); }
.stat { padding: 36px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.section--light .stat + .stat, .section--white .stat + .stat { border-color: var(--line-dark); }
.stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 6.5vw, 96px); line-height: .9; color: var(--accent); }
.stat__label { margin-top: 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- 10. Divisions showcase (index) ---------- */
.divisions { display: flex; min-height: 92vh; background: #000; }
.division {
  --d-accent: var(--red);
  position: relative; flex: 1; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  transition: flex 1s var(--ease); min-height: 620px;
}
.division--projects { --d-accent: var(--gold); }
.division:hover { flex: 1.35; }
.division__bg { position: absolute; inset: 0; z-index: -2; }
.division__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease), filter 1s; filter: saturate(.7) brightness(.7); }
.division:hover .division__bg img { transform: scale(1); filter: saturate(1) brightness(.85); }
.division::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.2) 100%); }
.division::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--d-accent); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.division:hover::after { transform: scaleX(1); }
.division + .division { border-left: 1px solid var(--line); }
.division__body { padding: clamp(32px, 5vw, 72px); width: 100%; }
.division__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(90px, 12vw, 180px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); position: absolute; top: clamp(90px, 12vh, 140px); left: clamp(32px, 5vw, 72px); transition: -webkit-text-stroke-color .6s; }
.division:hover .division__num { -webkit-text-stroke-color: var(--d-accent); }
.division__label { color: var(--d-accent); }
.division__title { font-size: clamp(46px, 5.6vw, 92px); margin: 16px 0 18px; }
.division__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; max-width: 560px; }
.division__tags li { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); background: rgba(0,0,0,.25); backdrop-filter: blur(6px); }
.division .btn { --bg: var(--d-accent); --fg: #fff; }
.division--projects .btn { --fg: #111; }

/* ---------- 11. Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius); background: #18181a; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .5s, background .5s;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%); }
.card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent), 0 30px 60px -30px rgba(0,0,0,.8); }
.card:hover::before { opacity: 1; }
.section--light .card, .section--white .card { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), inset 0 0 0 1px var(--line-dark); }
.section--white .card { background: var(--paper); }
.section--light .card:hover, .section--white .card:hover { box-shadow: inset 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(0,0,0,.35); }
.card__icon { width: 62px; height: 62px; border-radius: 14px; display: grid; place-items: center; font-size: 30px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); margin-bottom: 26px; transition: background .5s, color .5s, transform .6s var(--ease); }
.card:hover .card__icon { background: var(--accent); color: var(--accent-ink); transform: rotate(-6deg) scale(1.05); }
.card__num { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: rgba(255,255,255,.25); }
.section--light .card__num, .section--white .card__num { color: rgba(0,0,0,.2); }
.card h3 { font-size: 26px; margin-bottom: 12px; }
.card p { font-size: 15px; color: rgba(255,255,255,.62); margin: 0; }
.section--light .card p, .section--white .card p { color: #5c5c61; }
.card__link { margin-top: 22px; color: var(--accent); }

/* Service grid (compact) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { height: 44px; padding: 0 20px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .35s, color .35s, box-shadow .35s; }
.section--light .chip, .section--white .chip { box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.chip.is-active { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service {
  --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; min-height: 210px; border-radius: 12px; overflow: hidden; isolation: isolate;
  background: #18181a; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .4s, opacity .4s;
}
.section--light .service, .section--white .service { background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); }
.service::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.service:hover { transform: translateY(-6px); }
.service:hover::after { transform: scaleX(1); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service__icon { font-size: 34px; color: var(--accent); transition: transform .6s var(--ease); }
.service:hover .service__icon { transform: scale(1.12) rotate(-6deg); }
.service__no { font-family: var(--font-display); font-weight: 800; font-size: 16px; opacity: .35; }
.service h3 { font-size: 22px; line-height: 1; }
.service p { font-size: 14px; line-height: 1.55; margin: 0; color: rgba(255,255,255,.6); }
.section--light .service p, .section--white .service p { color: #5c5c61; }
.service.is-hidden { display: none; }

/* ---------- 12. Feature (solution) blocks ---------- */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 10vw, 140px); }
.feature--rev .feature__media { order: 2; }
.feature__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.1; }
.feature__index { position: absolute; left: 22px; top: 18px; z-index: 2; font-family: var(--font-display); font-weight: 900; font-size: 88px; line-height: 1; color: #fff; text-shadow: 0 10px 30px rgba(0,0,0,.5); }
.feature__body h3 { font-size: clamp(36px, 4vw, 58px); margin: 16px 0 20px; }
.feature__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 26px 0 32px; }
.feature__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.feature__list .icon { color: var(--accent); font-size: 18px; margin-top: 3px; }

/* ---------- 13. Full-width parallax banner ---------- */
.banner { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.banner__bg { position: absolute; inset: -15% 0; z-index: -2; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0,0,0,.45), rgba(0,0,0,.85)); }
.banner__inner { display: grid; justify-items: center; gap: 26px; }
.banner__title { font-size: clamp(46px, 8vw, 124px); max-width: 15ch; }
.banner .lead { margin-inline: auto; }

/* Big CTA band */
.cta-band { background: var(--accent); color: var(--accent-ink); padding-block: clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(42px, 6vw, 96px); max-width: 14ch; }
.cta-band .btn { --bg: var(--black); --fg: #fff; }
.cta-band .btn::before { background: #fff; }
.cta-band .btn:hover { color: var(--black); }
.cta-band__deco { position: absolute; right: -4vw; bottom: -6vw; font-family: var(--font-display); font-weight: 900; font-size: 34vw; line-height: .7; opacity: .08; pointer-events: none; }

/* ---------- 14. Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 20px; }
.project {
  position: relative; display: block; width: 100%; text-align: left; border-radius: var(--radius); overflow: hidden; background: #1a1a1c; isolation: isolate;
  aspect-ratio: 4 / 4.4; transition: opacity .5s, transform .6s var(--ease);
}
.project--wide { grid-column: span 2; aspect-ratio: auto; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover img { transform: scale(1.07); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%); }
.project__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 28px; }
.project__cat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 6px 12px; border-radius: 999px; }
.project__title { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1; font-size: clamp(24px, 2.2vw, 32px); margin: 14px 0 10px; color: #fff; }
.project__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: rgba(255,255,255,.72); }
.project__meta span { display: inline-flex; align-items: center; gap: 6px; }
.project__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.project__more > span { overflow: hidden; display: block; }
.project__scope { display: block; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.75); margin-top: 14px; }
.project:hover .project__more, .project:focus-visible .project__more { grid-template-rows: 1fr; }
.project__zoom { position: absolute; z-index: 2; top: 22px; right: 22px; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--black); display: grid; place-items: center; font-size: 22px; transform: scale(0) rotate(-90deg); transition: transform .6s var(--ease); }
.project:hover .project__zoom { transform: none; }
.project__count { position: absolute; z-index: 2; top: 22px; left: 22px; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.sample-flag { position: absolute; z-index: 2; bottom: auto; top: 22px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 800; letter-spacing: .2em; padding: 5px 10px; background: #ffd400; color: #111; border-radius: 4px; white-space: nowrap; }
.project.is-hidden { display: none; }

/* Sector cards (projects page) */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; padding: 26px; isolation: isolate; text-align: left; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.9), rgba(0,0,0,.1)); }
.sector:hover img { transform: scale(1.08); }
.sector h3 { font-size: 30px; color: #fff; }
.sector span { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* ---------- 15. Logos (brands / clients) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.section--dark .logo-grid, .section--charcoal .logo-grid { border-color: var(--line); }
.logo-cell { margin: 0; position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 22px 28px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: transparent; transition: background .45s; }
.section--dark .logo-cell, .section--charcoal .logo-cell { border-color: var(--line); }
.logo-cell img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .45s, opacity .45s, transform .6s var(--ease); }
.logo-cell:hover { background: #fff; }
.logo-cell:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.logo-cell figcaption { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #77777c; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.logo-cell:hover figcaption { opacity: 1; transform: none; }
.section--dark .logo-cell img, .section--charcoal .logo-cell img { filter: grayscale(1) invert(1); }
.section--dark .logo-cell:hover img, .section--charcoal .logo-cell:hover img { filter: none; }
/* One auto-sliding row of identical logo tiles: ~8–10 visible on desktop */
.section--logos { padding-bottom: clamp(70px, 8vw, 110px); }
.logo-marquee { --gap: 16px; --speed: 50s; padding-block: 14px; }
.logo-marquee .marquee__group { justify-content: flex-start; }
.logo-pill {
  flex: none; width: clamp(118px, 10.2vw, 172px); aspect-ratio: 36 / 22; display: grid; place-items: center; padding: 0;
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06), inset 0 0 0 1px var(--line-dark);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.logo-pill img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.14); }
.logo-pill:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(0,0,0,.35), inset 0 0 0 1.5px var(--accent); }
.logo-pill { position: relative; contain: paint; }

/* Photo gallery (masonry) */
.gallery { columns: 4 260px; column-gap: 14px; }
.gallery__item { position: relative; display: block; width: 100%; margin: 0 0 14px; border-radius: 12px; overflow: hidden; break-inside: avoid; background: #1a1a1c; }
.gallery__item img { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .6s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 50%); opacity: 0; transition: opacity .5s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__zoom { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 20px; transform: scale(0); transition: transform .5s var(--ease); }
.gallery__item:hover .gallery__zoom { transform: none; }
.note { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: #6b6b70; margin-top: 28px; padding: 14px 18px; border-radius: 10px; background: rgba(0,0,0,.04); }
.section--dark .note, .section--charcoal .note { background: rgba(255,255,255,.05); color: rgba(255,255,255,.6); }
.note .icon { font-size: 18px; color: var(--accent); margin-top: 2px; }

/* ---------- 16. Why choose / pillars ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.section--light .why, .section--white .why { border-color: var(--line-dark); }
.why__item { padding: 44px 36px 44px 0; border-bottom: 1px solid var(--line); position: relative; }
.section--light .why__item, .section--white .why__item { border-color: var(--line-dark); }
.why__item:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.section--light .why__item:not(:nth-child(3n+1)), .section--white .why__item:not(:nth-child(3n+1)) { border-color: var(--line-dark); }
.why__no { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent); letter-spacing: .1em; }
.why__item h3 { font-size: 30px; margin: 16px 0 12px; }
.why__item p { margin: 0; font-size: 15px; color: rgba(255,255,255,.62); }
.section--light .why__item p, .section--white .why__item p { color: #5c5c61; }
.why__item .icon { position: absolute; right: 30px; top: 40px; font-size: 34px; color: var(--accent); opacity: .25; transition: opacity .4s, transform .6s var(--ease); }
.why__item:hover .icon { opacity: 1; transform: rotate(-10deg) scale(1.1); }

/* ---------- 17. Process timeline ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding-top: 50px; }
.process__line { position: absolute; top: 18px; left: 0; right: 0; height: 2px; background: var(--line); }
.section--light .process__line, .section--white .process__line { background: var(--line-dark); }
.process__line span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--progress, 0)); }
.no-anim .process__line span { transform: none; }
.step { position: relative; }
.step__dot { position: absolute; top: -41px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--black); box-shadow: 0 0 0 2px var(--accent); }
.section--light .step__dot, .section--white .step__dot { background: var(--paper); }
.step__dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--accent); }
.step__no { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 1; color: var(--accent); }
.step h3 { font-size: 24px; margin: 12px 0 10px; }
.step p { font-size: 14px; color: rgba(255,255,255,.62); margin: 0; }
.section--light .step p, .section--white .step p { color: #5c5c61; }

/* ---------- 18. Certifications / compliance ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { padding: 30px 26px; border-radius: 12px; border: 1.5px dashed rgba(255,255,255,.22); display: grid; gap: 14px; align-content: start; }
.section--light .cert, .section--white .cert { border-color: rgba(0,0,0,.2); }
.cert .icon { font-size: 34px; color: var(--accent); }
.cert h3 { font-size: 22px; }
.cert p { margin: 0; font-size: 14px; color: rgba(255,255,255,.6); }
.section--light .cert p, .section--white .cert p { color: #5c5c61; }
.cert__tag { justify-self: start; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; background: #ffd400; color: #111; }
.standards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.standards li { padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; box-shadow: inset 0 0 0 1px var(--line); }
.section--light .standards li, .section--white .standards li { box-shadow: inset 0 0 0 1px var(--line-dark); }

/* ---------- 19. Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.contact-cards { display: grid; gap: 16px; margin-top: 34px; }
.contact-card { padding: 28px; border-radius: var(--radius); background: #18181a; box-shadow: inset 0 0 0 1px var(--line); }
.section--light .contact-card, .section--white .contact-card { background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); }
.contact-card h3 { font-size: 26px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.contact-card h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--card-accent, var(--accent)); }
.contact-card ul { display: grid; gap: 10px; }
.contact-card a, .contact-card li > span { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; transition: color .3s; word-break: break-word; }
.contact-card a:hover { color: var(--accent); }
.contact-card .icon { font-size: 18px; color: var(--accent); }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.quick { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.section--light .quick, .section--white .quick { box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.quick:hover { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.quick--wa:hover { background: #25D366; color: #fff; }
.quick .icon { font-size: 18px; }

.form { padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: #18181a; box-shadow: inset 0 0 0 1px var(--line); }
.section--light .form, .section--white .form { background: #fff; box-shadow: 0 40px 80px -40px rgba(0,0,0,.25), inset 0 0 0 1px var(--line-dark); }
.form h3 { font-size: 34px; margin-bottom: 8px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.field input, .field select, .field textarea {
  width: 100%; height: 54px; padding: 0 18px; border-radius: 10px; border: 1.5px solid var(--line); background: rgba(255,255,255,.03);
  transition: border-color .3s, background .3s, box-shadow .3s; outline: none;
}
.section--light .field input, .section--light .field select, .section--light .field textarea,
.section--white .field input, .section--white .field select, .section--white .field textarea { border-color: rgba(0,0,0,.14); background: #fafafa; }
.field textarea { height: 140px; padding: 16px 18px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 16px) 24px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: #111; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e5484d; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.form__status { font-size: 14px; font-weight: 600; margin-top: 16px; min-height: 1.4em; }
.form__status.is-ok { color: #1f9d55; } .form__status.is-err { color: #e5484d; }
.btn--wa { --bg: #25D366; --fg: #fff; }

.map { position: relative; margin-top: clamp(50px, 7vw, 90px); border-radius: 20px; overflow: hidden; aspect-ratio: 21 / 8; background: #1d1d20; }
.map img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__overlay { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,.2)); color: #fff; }
.map__pin { width: 66px; height: 66px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: pinPulse 2.2s infinite; }
@keyframes pinPulse { 70% { box-shadow: 0 0 0 26px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- 20. Footer ---------- */
.footer { background: #0a0a0b; padding-top: clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer h4 { font-size: 18px; letter-spacing: .1em; margin-bottom: 20px; color: #fff; }
.footer p, .footer li { font-size: 15px; color: rgba(255,255,255,.62); }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--accent); }
.footer__brand p { margin-top: 22px; max-width: 340px; }
.footer__big { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(80px, 19vw, 300px); line-height: .78; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); white-space: nowrap; user-select: none; margin-bottom: -2vw; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 26px 0; border-top: 1px solid var(--line); font-size: 13px; color: rgba(255,255,255,.5); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); font-size: 18px; }
.socials a:hover { background: var(--accent); color: #fff; }

/* ---------- 21. Floating actions ---------- */
.fab-wa { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 14px 34px -10px rgba(37,211,102,.7); transition: transform .4s var(--ease); }
.fab-wa:hover { transform: scale(1.08) rotate(-6deg); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waRing 2.4s infinite; }
@keyframes waRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; z-index: 90; right: 30px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; background: rgba(20,20,22,.85); color: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .4s, transform .4s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top .icon { transform: rotate(-90deg); }
.scroll-progress { position: fixed; z-index: 101; top: 0; left: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- 22. Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,5,6,.96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px var(--gutter); }
.lightbox__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; }
.lightbox__meta { font-size: 13px; color: rgba(255,255,255,.6); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(16px, 7vw, 110px); min-height: 0; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; transition: opacity .35s, transform .5s var(--ease); }
.lightbox__img.is-swapping { opacity: 0; transform: scale(.97); }
.lightbox__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); transition: background .3s, color .3s; }
.lightbox__btn:hover { background: #fff; color: #111; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: clamp(10px, 2vw, 30px); } .lightbox__prev .icon { transform: rotate(180deg); }
.lightbox__next { right: clamp(10px, 2vw, 30px); }
.lightbox__foot { display: flex; justify-content: center; gap: 10px; padding: 18px var(--gutter) 24px; overflow-x: auto; }
.lightbox__thumb { width: 92px; height: 62px; flex: none; border-radius: 8px; overflow: hidden; opacity: .45; transition: opacity .3s, box-shadow .3s; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }

/* ---------- 23. Reveal animations (CSS driven, triggered by JS) ---------- */
/* Elements are only hidden after animations.js adds .anim-ready → content stays visible if JS fails */
.anim-ready [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.anim-ready [data-reveal="left"] { transform: translateX(-60px); }
.anim-ready [data-reveal="right"] { transform: translateX(60px); }
.anim-ready [data-reveal="scale"] { transform: scale(.92); }
.anim-ready [data-reveal].is-in { opacity: 1; transform: none; }
.anim-ready [data-reveal-img] { clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.anim-ready [data-reveal-img] img { transform: scale(1.3); transition: transform 1.8s var(--ease); }
.anim-ready [data-reveal-img].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.anim-ready [data-reveal-img].is-in img { transform: scale(1); }
.split-text .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-text .wi { display: inline-block; }
.anim-ready .split-text .wi { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.anim-ready .split-text.is-in .wi { transform: none; }
.anim-ready .hero [data-hero] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.anim-ready .hero.is-in [data-hero] { opacity: 1; transform: none; }

/* ---------- 24. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__divisions { display: none; }
  .cards, .services-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 70px; }
  .process__line { display: none; }
  .step__dot { display: none; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .section-head--split, .split, .feature, .contact { grid-template-columns: 1fr; }
  .split--rev > :first-child, .feature--rev .feature__media { order: 0; }
  .divisions { flex-direction: column; min-height: 0; }
  .division, .division:hover { flex: none; min-height: 78vh; }
  .division + .division { border-left: 0; border-top: 1px solid var(--line); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
  .project__more { grid-template-rows: 1fr; }
  .project__zoom { transform: none; width: 42px; height: 42px; font-size: 18px; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr 1fr; }
  .why__item:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .why__item:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
  .section--light .why__item:nth-child(even), .section--white .why__item:nth-child(even) { border-color: var(--line-dark); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .media-frame { aspect-ratio: 4 / 3.4; }
  .media-badge { left: 16px; }
  .media-outline { display: none; }
  .hero__side { display: none; }
  .map { aspect-ratio: auto; min-height: 380px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 72px; }
  .cards, .cards--3, .services-grid, .projects-grid, .why, .cert-grid, .feature__list, .check-list--2, .form__grid, .footer__top { grid-template-columns: 1fr; }
  .project--wide { grid-column: auto; aspect-ratio: 4 / 4.4; }
  .why__item:nth-child(even) { padding-left: 0; border-left: 0; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .sectors { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sector { padding: 18px; } .sector h3 { font-size: 22px; }
  .stat__num { font-size: 56px; }
  .hero__content { padding-bottom: 120px; }
  .hero__caption, .hero__scroll { display: none; }
  .hero__dot { width: 40px; }
  .btn { height: 52px; padding: 0 22px; font-size: 13px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .gallery { columns: 2; column-gap: 10px; } .gallery__item { margin-bottom: 10px; }
  .feature__index { font-size: 60px; }
  .lightbox__foot { justify-content: flex-start; }
  .fab-wa { width: 54px; height: 54px; font-size: 26px; right: 16px; bottom: 16px; }
  .to-top { right: 21px; bottom: 82px; }
}

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__group { animation: none !important; }
  .marquee { overflow-x: auto; }
  .hero__slide.is-active img { animation: none; transform: none; }
}

/* ==========================================================================
   v3 additions: division logos, project references, FAQ
   ========================================================================== */
/* Division logos are shown exactly as supplied, on a white badge */
.brand--logo { background: #fff; padding: 8px 16px; border-radius: 12px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.6); transition: transform .5s var(--ease), box-shadow .5s; }
.brand--logo img { height: 38px; width: auto; display: block; }
.brand--logo:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.7); }
.site-header.is-scrolled .brand--logo img { height: 32px; }
.footer .brand--logo img { height: 46px; }
.division__logo { display: inline-block; background: #fff; padding: 10px 18px; border-radius: 12px; margin-bottom: 22px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); }
.division__logo img { height: 46px; width: auto; display: block; }
.contact-card__logo { display: inline-block; background: #fff; padding: 8px 14px; border-radius: 10px; margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--line-dark); }
.contact-card__logo img { height: 40px; width: auto; display: block; }
address { font-style: normal; }
.map__addr { max-width: 520px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.6; }
.contact-card li > span .icon { align-self: flex-start; margin-top: 3px; }

/* Project references */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ref {
  --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border-radius: var(--radius);
  background: #18181a; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .5s;
}
.section--light .ref, .section--white .ref { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), inset 0 0 0 1px var(--line-dark); }
.section--white .ref { background: var(--paper); }
.ref::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }
.ref::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.ref:hover::before { opacity: 1; } .ref:hover::after { transform: none; }
.ref:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.45), inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.ref__top { display: flex; justify-content: space-between; align-items: center; }
.ref__no { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--accent); }
.ref__label { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.ref__client { font-size: clamp(24px, 2vw, 30px); line-height: 1.02; }
.ref__loc { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--grey); }
.ref__loc .icon { color: var(--accent); }
.ref__scope { margin: 0; font-size: 15px; font-weight: 600; }
.ref__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.ref__tags li { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.section--light .ref__tags li, .section--white .ref__tags li { box-shadow: inset 0 0 0 1px var(--line-dark); }

/* FAQ accordion */
.faq { display: grid; gap: 12px; max-width: 980px; }
.faq__item { border-radius: 14px; background: #18181a; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .4s; }
.section--light .faq__item, .section--white .faq__item { background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); }
.faq__item[open] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-weight: 800; font-size: 18px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-size: 18px; transition: transform .5s var(--ease), background .3s, color .3s; }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq__a { padding: 0 26px 22px; color: rgba(255,255,255,.72); }
.section--light .faq__a, .section--white .faq__a { color: #4a4a4f; }
.faq__a p { margin: 0; }
.faq__item[open] .faq__a { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 980px) { .refs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .refs { grid-template-columns: 1fr; }
  .brand--logo { padding: 6px 12px; } .brand--logo img { height: 30px; }
  .division__logo img { height: 36px; }
  .faq__item summary { font-size: 16px; padding: 18px 20px; }
}

/* ==========================================================================
   v4: animated group hero, credentials strip, policy, real certificates
   ========================================================================== */
.hero--anim { background: radial-gradient(ellipse at 75% 60%, rgba(215,25,32,.16), transparent 60%), #0b0b0c; }
.hero__art { position: absolute; inset: 0; z-index: 1; }
.hero-anim { width: 100%; height: 100%; display: block; }
.hero--anim::after { background: linear-gradient(90deg, rgba(8,8,9,.92) 0%, rgba(8,8,9,.55) 45%, rgba(8,8,9,0) 75%), linear-gradient(0deg, rgba(8,8,9,.8) 0%, rgba(8,8,9,0) 35%); }
.ha-grid line { stroke: rgba(255,255,255,.045); stroke-width: 1; }
.ha-grid { animation: haGrid 30s linear infinite; }
@keyframes haGrid { to { transform: translate(-80px, -80px); } }
.ha-ground { stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: haDraw 1.6s var(--ease) .2s forwards; }
.ha-bld { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: haDraw 1.8s var(--ease-io) forwards; animation-delay: calc(var(--d) + .4s); }
.ha-floor { stroke: rgba(255,255,255,.16); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: haDraw .9s var(--ease) forwards; animation-delay: var(--d); }
@keyframes haDraw { to { stroke-dashoffset: 0; } }
.ha-win { fill: #ffcf8a; opacity: 0; animation: haWin .6s ease forwards; animation-delay: var(--d); }
.ha-win--red { fill: #ff3b40; }
.ha-win--flick { animation: haWin .6s ease forwards, haFlick 4s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + 1s); }
@keyframes haWin { to { opacity: .55; } }
@keyframes haFlick { 0%, 100% { opacity: .55; } 50% { opacity: .1; } }
.ha-pipe-base { fill: none; stroke: rgba(215,25,32,.35); stroke-width: 6; stroke-linejoin: round; opacity: 0; animation: haFade 1s ease 2.6s forwards; }
.ha-pipe { fill: none; stroke: #ff3b40; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 18 14; opacity: 0; animation: haFade 1s ease 2.8s forwards, haFlow 1.2s linear infinite; }
@keyframes haFlow { to { stroke-dashoffset: -32; } }
@keyframes haFade { to { opacity: 1; } }
.ha-spr { stroke: #e8e8e8; stroke-width: 2; fill: #e8e8e8; opacity: 0; animation: haFade .6s ease forwards; animation-delay: var(--d); }
.ha-det circle { fill: #D71920; opacity: 0; animation: haFade .5s ease forwards; animation-delay: var(--d); }
.ha-det .ha-ring { fill: none; stroke: #ff3b40; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: haFade .5s ease forwards, haRing 2.4s ease-out infinite; animation-delay: var(--d), var(--d); }
@keyframes haRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }
.ha-crane line, .ha-crane rect { stroke: #C9A24A; stroke-width: 3; fill: none; }
.ha-crane rect.ha-load { fill: rgba(201,162,74,.35); }
.ha-crane .ha-hook { stroke-width: 1.5; }
.ha-crane { opacity: 0; animation: haFade 1s ease 2.2s forwards, haSwing 9s ease-in-out 2.2s infinite; }
@keyframes haSwing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
.ha-crane-mast .ha-bld { stroke: #C9A24A; }
.ha-beacon { fill: #ff3b40 !important; stroke: none !important; animation: haBlink 1.4s steps(2) infinite; }
@keyframes haBlink { 50% { opacity: .15; } }
.ha-label { fill: rgba(255,255,255,.55); font: 600 13px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .2em; opacity: 0; animation: haFade 1s ease forwards; animation-delay: var(--d); }
.ha-scan { fill: url(#haScan); animation: haScan 7s linear 3s infinite; transform: translateX(-300px); }
@keyframes haScan { to { transform: translateX(2000px); } }
/* embers (also used on SK Fire) */
.embers { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; bottom: -20px; width: 4px; height: 4px; border-radius: 50%; background: #ff7a3c; box-shadow: 0 0 10px 2px rgba(255,100,40,.7);
  animation: ember var(--t, 9s) linear infinite; animation-delay: var(--delay, 0s); left: var(--x, 50%); opacity: 0; }
@keyframes ember { 0% { transform: translate3d(0,0,0) scale(1); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate3d(var(--drift, 40px), -105vh, 0) scale(.3); opacity: 0; } }
.hero__caption span { color: rgba(255,255,255,.6); }

/* Credentials strip */
.creds { background: #0f0f10; border-bottom: 1px solid var(--line); }
.creds__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { display: flex; align-items: center; gap: 16px; padding: 30px 24px; }
.cred + .cred { border-left: 1px solid var(--line); }
.cred .icon { font-size: 34px; color: var(--accent); flex: none; }
.cred strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1; }
.cred span { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 600; letter-spacing: .04em; }

/* Real certificates */
.cert--real { border-style: solid; background: #fff; border-color: rgba(0,0,0,.08); box-shadow: 0 20px 40px -30px rgba(0,0,0,.4); transition: transform .5s var(--ease), box-shadow .5s; }
.cert--real:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.5); }
.cert__badge { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.cert .link-arrow { color: var(--accent); margin-top: 6px; }

/* Safety & quality policy */
.policy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.policy__item { display: flex; gap: 18px; padding: 26px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-dark); transition: box-shadow .4s, transform .5s var(--ease); }
.section--light .policy__item { background: #fff; }
.policy__item:hover { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-3px); }
.policy__item .icon { flex: none; font-size: 30px; color: var(--accent); margin-top: 2px; }
.policy__item h3 { font-size: 22px; margin-bottom: 8px; }
.policy__item p { margin: 0; font-size: 15px; color: #55555a; }
.policy__sign { margin-top: 34px; font-size: 15px; color: #55555a; }
.policy__sign strong { color: var(--black); }

@media (max-width: 980px) {
  .creds__inner { grid-template-columns: 1fr 1fr; }
  .cred:nth-child(3) { border-left: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--line); }
  .policy { grid-template-columns: 1fr; }
  .hero--anim::after { background: linear-gradient(0deg, rgba(8,8,9,.9) 0%, rgba(8,8,9,.55) 60%, rgba(8,8,9,.35) 100%); }
}
@media (max-width: 640px) { .cred { padding: 20px 10px; gap: 10px; } .cred strong { font-size: 18px; } .cred .icon { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) {
  .ha-bld, .ha-floor, .ha-ground { stroke-dashoffset: 0; }
  .ha-win, .ha-pipe, .ha-pipe-base, .ha-spr, .ha-det circle, .ha-crane, .ha-label { opacity: 1; }
  .ha-win { opacity: .55; } .ha-scan, .embers { display: none; }
}

/* Content protection: images can't be dragged or long-press saved */
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.hero, .btn, .nav, .chip, .logo-pill, .gallery__item, .project { user-select: none; }

/* ==========================================================================
   Mobile hardening: no sideways scrolling, no overlapping or clipped text
   ========================================================================== */
html, body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.split > *, .contact > *, .feature > *, .process > *, .form__grid > *, .section-head > *, .cards > *, .services-grid > *, .refs > *, .why > *, .stats > *, .cert-grid > *, .policy > *, .creds__inner > * { min-width: 0; }
h1, h2, h3, .ref__client, .project__title, .service h3, .card h3 { overflow-wrap: break-word; word-break: normal; hyphens: manual; }
input, select, textarea { max-width: 100%; min-width: 0; }
@media (max-width: 980px) {
  /* side-slide reveals become vertical so nothing pokes outside the screen */
  .anim-ready [data-reveal="left"], .anim-ready [data-reveal="right"] { transform: translateY(40px); }
  .cards, .services-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .card h3 { font-size: 22px; }
  .contact { gap: 48px; }
}
@media (max-width: 640px) {
  .cards, .services-grid, .cert-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .step h3 { font-size: 19px; }
  .step__no { font-size: 48px; }
  .section-head { margin-bottom: 36px; }
  .h-lg { font-size: clamp(34px, 10vw, 48px); }
  .feature__body h3 { font-size: clamp(30px, 9vw, 40px); }
  .banner { min-height: 64vh; }
  .banner__title { font-size: clamp(36px, 11vw, 56px); }
  .cta-band h2 { font-size: clamp(34px, 10vw, 52px); }
  .form { padding: 24px 18px; border-radius: 16px; }
  .form__actions .btn { width: 100%; justify-content: center; }
  .quick-actions .quick { flex: 1 1 auto; justify-content: center; }
  .contact-card { padding: 22px 18px; }
  .division__title { font-size: clamp(40px, 12vw, 60px); }
  .division__num { font-size: 84px; }
  .map__overlay .btn-row { flex-direction: column; width: 100%; }
  .map__overlay .btn { width: 100%; justify-content: center; }
  .footer__big { font-size: 26vw; }
  .footer__bottom { flex-direction: column; }
  .hero__side { display: none; }
  .ref { padding: 24px 20px; }
  .faq__a { padding: 0 20px 18px; }
  .policy__item { padding: 20px 18px; gap: 14px; }
  .chips { gap: 8px; } .chip { height: 40px; padding: 0 14px; font-size: 12px; }
  .media-badge { left: 12px; bottom: 16px; padding: 18px 20px; } .media-badge strong { font-size: 40px; }
  .nav { gap: 12px; } .brand__text { font-size: 22px; }
}
@media (max-width: 380px) {
  .process { grid-template-columns: 1fr; }
  .brand--logo img { height: 26px; }
  .hero__title { font-size: 36px; }
}
@media (max-width: 1180px) { .section-head--split { grid-template-columns: 1fr; gap: 18px; } .section-head--split .lead { max-width: 680px; } }

/* ==========================================================================
   v5: Pakistan landmarks banner, experience badge, CEO message
   ========================================================================== */
.ha-skyline rect { fill: rgba(255,255,255,.025); stroke: rgba(255,255,255,.06); opacity: 0; animation: haFade 2s ease .2s forwards; }
.ha-landmark .ha-bld { stroke: rgba(255,255,255,.9); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.ha-landmark circle.ha-bld { fill: none; }
.ha-clock line { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.ha-clock { opacity: 0; animation: haFade .6s ease 1.4s forwards, haTick 12s linear 1.4s infinite; }
.ha-clock--fast { animation: haFade .6s ease 1.4s forwards, haTick 3s linear 1.4s infinite; }
@keyframes haTick { to { transform: rotate(360deg); } }
.ha-city { fill: #fff; font: 800 22px/1 "Big Shoulders Display", "Arial Narrow", sans-serif; letter-spacing: .28em; opacity: 0; animation: haFade 1s ease forwards; animation-delay: var(--d); }
.ha-label--gold { fill: #C9A24A; } .ha-label--red { fill: #ff5a5f; }
.ha-gold { stroke: #C9A24A !important; }
.ha-floorup { opacity: 0; transform-box: fill-box; transform-origin: bottom; animation: haFloor .8s var(--ease) forwards; animation-delay: var(--d); }
.ha-floorup rect, .ha-floorup line { fill: rgba(201,162,74,.08); stroke: #C9A24A; stroke-width: 1.6; }
@keyframes haFloor { from { opacity: 0; transform: scaleY(.2); } to { opacity: 1; transform: none; } }
.ha-dim { fill: none; stroke: rgba(201,162,74,.6); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: haDraw 2s var(--ease) forwards; animation-delay: var(--d); }
.ha-riser { fill: none; stroke: #ff3b40; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: haDraw 1s var(--ease) forwards; animation-delay: var(--d); }

/* Big animated experience badge */
.exp { position: absolute; z-index: 5; top: calc(var(--header-h) + 10px); right: calc(var(--gutter) + 20px); width: 210px; height: 210px; display: grid; place-items: center; }
.exp__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.exp__track { fill: rgba(10,10,11,.72); stroke: rgba(255,255,255,.12); stroke-width: 3; }
.exp__bar { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; animation: haDraw 2.2s var(--ease) 1.5s forwards; filter: drop-shadow(0 0 8px rgba(215,25,32,.7)); }
.exp__spin { transform-origin: 100px 100px; animation: expSpin 22s linear infinite; }
@keyframes expSpin { to { transform: rotate(360deg); } }
.exp__orbit { fill: rgba(255,255,255,.75); font: 700 10.5px/1 var(--font-body); letter-spacing: .22em; }
.exp__core { position: relative; display: grid; grid-template-columns: auto auto; align-items: start; justify-items: center; line-height: .82; text-align: center; }
.exp__num { font-family: var(--font-display); font-weight: 900; font-size: 78px; color: #fff; text-shadow: 0 0 30px rgba(215,25,32,.6); }
.exp__plus { font-family: var(--font-display); font-weight: 900; font-size: 40px; color: var(--accent); margin-left: 2px; animation: expPulse 1.6s ease-in-out infinite; }
.exp__core small { grid-column: 1 / -1; margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
@keyframes expPulse { 50% { transform: scale(1.25); } }
.exp::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(215,25,32,.35); animation: expRing 2.8s ease-out infinite; }
@keyframes expRing { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.18); opacity: 0; } }
.media-badge strong { font-variant-numeric: tabular-nums; }

/* CEO message */
.ceo { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.ceo__photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); aspect-ratio: 4 / 5; }
.ceo__photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo__photo::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--accent); border-radius: inherit; z-index: 2; pointer-events: none; }
.ceo__photo figcaption { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(17,17,17,.85); backdrop-filter: blur(6px); color: #fff; }
.ceo__photo figcaption strong { display: block; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; line-height: 1; }
.ceo__photo figcaption span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ceo__text h2 { margin: 16px 0 22px; }
.ceo__quote { position: relative; margin: 0; padding-left: 28px; border-left: 3px solid var(--accent); color: #3d3d42; font-size: 17px; }
.ceo__quote::before { content: "\201C"; position: absolute; left: -10px; top: -70px; font-family: Georgia, serif; font-size: 160px; line-height: 1; color: var(--accent); opacity: .15; }
.ceo__quote p { margin: 0 0 14px; }
.ceo__sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-top: 22px; padding-left: 28px; }
.ceo__signature { font-family: "Great Vibes", "Brush Script MT", cursive; font-size: 46px; color: var(--black); line-height: 1; }
.ceo__role { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6b6b70; }
.ceo__sign .link-arrow { color: var(--accent); }

@media (max-width: 1100px) {
  .exp { position: relative; top: auto; right: auto; width: 150px; height: 150px; margin-top: 30px; }
  .exp__num { font-size: 54px; } .exp__plus { font-size: 28px; } .exp__orbit { font-size: 11.5px; }
}
@media (max-width: 760px) {
  .ceo { grid-template-columns: 1fr; }
  .ceo__photo { max-width: 240px; }
  .ceo__quote { font-size: 16px; padding-left: 18px; }
  .ceo__sign { padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) { .exp__bar { stroke-dashoffset: 0; } .ha-floorup, .ha-clock, .ha-skyline rect { opacity: 1; } }

@media (max-width: 760px) { .hero--anim .hero__art { transform: translateY(11%); } .exp { width: 132px; height: 132px; margin-top: 26px; } .exp__num { font-size: 48px; } .exp__orbit { font-size: 12.5px; } }
.ceo__photo figcaption span { display: block; line-height: 1.4; margin-top: 4px; }

/* ==========================================================================
   Tighter spacing (less empty space between sections)
   ========================================================================== */
:root { --section: clamp(52px, 6vw, 92px); }
.section-head { margin-bottom: clamp(26px, 3.5vw, 46px); }
.stats { margin-top: clamp(36px, 4.5vw, 60px); }
.stat { padding-top: 26px; }
.feature + .feature { margin-top: clamp(48px, 6vw, 84px); }
.banner { min-height: 58vh; }
.section--logos { padding-bottom: clamp(44px, 5vw, 70px); }
.cta-band { padding-block: clamp(48px, 6vw, 84px); }
.footer { padding-top: clamp(52px, 6vw, 84px); }
.footer__top { padding-bottom: 40px; }
.divisions { min-height: 78vh; }
.division { min-height: 540px; }
.map { margin-top: clamp(36px, 5vw, 60px); }
.why__item { padding-top: 32px; padding-bottom: 32px; }
.check-list { margin: 22px 0 26px; }
.about__text h2 { margin: 14px 0 20px; }
.hero__content { padding-bottom: clamp(96px, 12vh, 130px); }
@media (max-width: 640px) { :root { --section: 48px; } .banner { min-height: 54vh; } .division, .division:hover { min-height: 64vh; } }

/* Live Google Map */
.map--live { aspect-ratio: 21 / 8; background: #e9e7e3; box-shadow: 0 30px 60px -40px rgba(0,0,0,.45), inset 0 0 0 1px var(--line-dark); }
.map--live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 980px) { .map--live { aspect-ratio: 16 / 10; } }
@media (max-width: 640px) { .map--live { aspect-ratio: auto; min-height: 340px; } }

/* ==========================================================================
   "Since 2014 — Learning & Sharing" animated panel (SK Fire / SK Projects About)
   ========================================================================== */
.since {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse at 70% 20%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
    linear-gradient(160deg, #1b1b1e 0%, #0e0e10 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  display: flex; align-items: flex-end;
}
.since::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px; animation: sinceGrid 20s linear infinite; }
@keyframes sinceGrid { to { background-position: 34px 34px, 34px 34px; } }
.since__net { position: absolute; top: 4%; left: 6%; width: 88%; height: auto; z-index: 0; }
.since__link { stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.since__node { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; }
.since__node--hub { fill: var(--accent); }
.since__packet { fill: var(--accent); filter: drop-shadow(0 0 4px var(--accent)); }
.is-in .since__link, .since.is-in .since__link { animation: haDraw 1.2s var(--ease) forwards; animation-delay: var(--d); }
.since.is-in .since__node { animation: sinceNode .6s var(--ease) forwards, sincePulse 2.6s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + 1s); }
@keyframes sinceNode { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes sincePulse { 50% { transform: scale(1.35); } }
.since__body { position: relative; z-index: 1; width: 100%; padding: clamp(22px, 3vw, 36px); padding-bottom: clamp(90px, 9vw, 110px); }
.since__label { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .4em; text-transform: uppercase; color: var(--accent); }
.since__year { display: flex; font-family: var(--font-display); font-weight: 900; font-size: clamp(84px, 11vw, 150px); line-height: .85; color: #fff; margin: 6px 0 10px; }
.since__year span { display: inline-block; transform: translateY(60%); opacity: 0; }
.since.is-in .since__year span { animation: sinceDigit .9s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .12s); }
@keyframes sinceDigit { to { transform: none; opacity: 1; } }
.since__words { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); text-transform: uppercase; line-height: 1; }
.since__w { position: relative; color: #fff; }
.since__w::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.since.is-in .since__w--1::after { animation: sinceSweep 5s var(--ease) 1s infinite; }
.since.is-in .since__w--2::after { animation: sinceSweep 5s var(--ease) 3.5s infinite; }
@keyframes sinceSweep { 0% { transform: scaleX(0); transform-origin: left; } 20%, 45% { transform: scaleX(1); transform-origin: left; } 46% { transform-origin: right; } 65%, 100% { transform: scaleX(0); transform-origin: right; } }
.since__amp { color: var(--accent); font-size: .8em; }
.since__track { position: relative; display: flex; justify-content: space-between; list-style: none; margin: 26px 0 0; padding: 14px 0 0; }
.since__track::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.15); }
.since__track::after { content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.since.is-in .since__track::after { animation: sinceRun 6s var(--ease-io) 1.2s infinite; }
@keyframes sinceRun { 0% { left: 0; } 80%, 100% { left: calc(100% - 10px); } }
.since__track li { position: relative; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,.45); opacity: 0; }
.since__track li::before { content: ""; position: absolute; left: 50%; top: -18px; width: 2px; height: 8px; background: rgba(255,255,255,.35); }
.since.is-in .since__track li { animation: haFade .5s ease forwards; animation-delay: calc(1s + var(--i) * .1s); }
.since__track li:last-child span { color: var(--accent); }
.since__line { margin: 18px 0 0; font-size: 14px; color: rgba(255,255,255,.7); font-weight: 600; }
@media (max-width: 640px) { .since { aspect-ratio: auto; min-height: 420px; } .since__track li { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .since__year span, .since__node, .since__track li { opacity: 1; transform: none; } .since__link { stroke-dashoffset: 0; } }
.since__net { top: 5%; left: 50%; width: auto; height: 46%; transform: translateX(-50%); opacity: .9; }
.since__body { padding-bottom: clamp(26px, 3vw, 38px); }
.since__line strong { font-family: var(--font-display); font-size: 26px; color: var(--accent); margin-right: 6px; vertical-align: -3px; }
@media (max-width: 640px) { .since { min-height: 460px; } .since__net { height: 40%; } }
.hero--anim .hero__content { padding-bottom: clamp(150px, 22vh, 210px); }
/* Pakistan outline behind the network */
.since__pk { fill: color-mix(in srgb, var(--accent) 10%, transparent); stroke: rgba(255,255,255,.45); stroke-width: 1.3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.since.is-in .since__pk { animation: haDraw 2.2s var(--ease-io) .2s forwards; }
.since__net { height: 52%; top: 4%; }
.since .media-badge { display: none; }
@media (prefers-reduced-motion: reduce) { .since__pk { stroke-dashoffset: 0; } }
.since__net { top: 4%; left: auto; right: 6%; transform: none; height: 44%; } @media (max-width: 640px) { .since { min-height: 480px; } .since__net { height: 38%; right: 4%; } }
.since { flex-direction: column; align-items: stretch; justify-content: flex-end; } .since__net { position: relative; top: auto; left: auto; right: auto; transform: none; width: 72%; height: auto; max-height: 46%; margin: 22px auto 0; flex: 1 1 auto; min-height: 0; } .since__body { padding-top: 6px; } @media (max-width: 640px) { .since__net { width: 78%; margin-top: 16px; } }
/* division number sits on the right so it never overlaps the logo */
.division__num { left: auto; right: clamp(24px, 4vw, 60px); }
.division__logo { display: table; }
