/* ==========================================================
   Unique Glass Solution — site styles
   ========================================================== */
:root {
  --navy-950: #050f22;
  --navy-900: #0a1c3d;
  --navy-800: #0f2a5a;
  --blue-600: #1565d8;
  --blue-500: #2a7bf0;
  --sky-400: #5aaefc;
  --sky-200: #bfdcff;
  --ice: #eef4fb;
  --paper: #f7f9fc;
  --white: #ffffff;
  --ink: #0b1628;
  --muted: #5a6a82;
  --line: #dde6f1;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-line: rgba(255, 255, 255, 0.16);

  --font-display: "Arimo", Arial, "Helvetica Neue", sans-serif;
  --font-body: "Arimo", Arial, "Helvetica Neue", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(10, 28, 61, 0.06);
  --shadow: 0 18px 40px -18px rgba(10, 28, 61, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(5, 15, 34, 0.45);

  --container: 1680px;
  --gutter: clamp(16px, 2.5vw, 40px);
  --section: 60px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 600;
}
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section) 0; }
.section--ice { background: var(--paper); }
.section--dark { background: var(--navy-950); color: var(--white); }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--blue-600); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--sky-400); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.7); }
.section-head--split {
  max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.text-grad {
  background: linear-gradient(100deg, var(--sky-400), var(--blue-500) 55%, #8cc8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 12px 30px -12px rgba(21, 101, 216, 0.7); }
.btn--primary:hover { background: var(--blue-500); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; backdrop-filter: blur(8px); background: rgba(255, 255, 255, 0.06); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn--white { background: #fff; color: var(--navy-900); }
.btn--white:hover { transform: translateY(-2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-600); min-height: 44px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--navy-950); color: rgba(255, 255, 255, 0.72); font-size: 13.5px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; gap: 24px; align-items: center; }
.topbar__item { display: inline-flex; gap: 8px; align-items: center; }
.topbar__item svg { width: 15px; height: 15px; color: var(--sky-400); }

.header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* Blur lives on a pseudo-element so it doesn't become the containing block of the fixed mobile nav */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; color: var(--navy-900); }
.brand__tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-600); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { background: var(--ice); }
.nav__link.is-active { color: var(--blue-600); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-600); transform: translateX(-50%);
}
.header__cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background 0.2s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--navy-950);
}
.hero__media { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 15, 34, 0.55) 0%, rgba(5, 15, 34, 0.15) 35%, rgba(5, 15, 34, 0.85) 100%),
    linear-gradient(90deg, rgba(5, 15, 34, 0.75) 0%, rgba(5, 15, 34, 0) 70%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 96px; padding-bottom: clamp(28px, 3.5vw, 48px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(12px); font-size: 13.5px; font-weight: 500;
}
.hero__badge b { background: var(--blue-600); padding: 4px 10px; border-radius: 999px; font-size: 12px; letter-spacing: 0.04em; }
.hero h1 { font-size: clamp(40px, 7vw, 86px); margin-top: 24px; max-width: 13ch; font-weight: 600; letter-spacing: -0.035em; }
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.8); max-width: 560px; }
.hero__actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__bottom {
  margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid rgba(90, 174, 252, 0.75); box-shadow: 0 0 0 4px rgba(90, 174, 252, 0.08), 0 18px 40px -20px rgba(42, 123, 240, 0.55); border-radius: var(--radius); background: rgba(5, 15, 34, 0.35);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); overflow: hidden;
}
.hero-stat { padding: 22px 26px; border-left: 1px solid rgba(90, 174, 252, 0.35); }
.hero-stat:first-child { border-left: 0; }
.hero-stat__num { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 600; }
.hero-stat__label { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }

.hero__dots { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.hero__dot { width: 4px; height: 26px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.3); transition: background 0.3s, height 0.3s; }
.hero__dot.is-active { background: #fff; height: 44px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; background: var(--navy-950); overflow: hidden;
  padding: clamp(84px, 9vw, 128px) 0 clamp(44px, 5vw, 72px);
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 15, 34, 0.55) 0%, rgba(5, 15, 34, 0.15) 35%, rgba(5, 15, 34, 0.85) 100%),
    linear-gradient(90deg, rgba(5, 15, 34, 0.75) 0%, rgba(5, 15, 34, 0) 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); margin-top: 18px; max-width: 16ch; letter-spacing: -0.03em; }
.page-hero p { margin-top: 20px; max-width: 600px; color: rgba(255, 255, 255, 0.78); font-size: 18px; }
.breadcrumb { display: flex; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-top: 28px; }
.breadcrumb a:hover { color: #fff; }
.page-hero .eyebrow { color: var(--sky-400); }

/* ---------- Glass grid decoration ---------- */
.grid-deco {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.35;
  background-image:
    linear-gradient(rgba(90, 174, 252, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 174, 252, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 60%);
}

/* ---------- Clients marquee ---------- */
.marquee { padding: clamp(36px, 4.5vw, 60px) 0; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.marquee__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.marquee__head h2 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 12px; }
.marquee__head p { max-width: 380px; color: var(--muted); font-size: 16px; }
.marquee__head p strong { font-family: var(--font-display); color: var(--blue-600); font-size: 20px; }
.marquee__rows {
  display: grid; gap: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__track--rev { animation-direction: reverse; animation-duration: 70s; }
.marquee__rows:hover .marquee__track { animation-play-state: paused; }
.client {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-200); }
.client__mono {
  flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.02em; color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.client:nth-child(3n + 2) .client__mono { background: linear-gradient(135deg, var(--blue-600), var(--sky-400)); }
.client:nth-child(3n) .client__mono { background: linear-gradient(135deg, #0f2a5a, #2a7bf0 70%, #5aaefc); }
.client__txt { display: flex; flex-direction: column; line-height: 1.2; }
.client__txt b { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--navy-900); letter-spacing: -0.01em; }
.client__txt small { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.client { min-height: 82px; }
.client--logo { flex-direction: column; justify-content: center; gap: 8px; padding: 12px 26px; min-width: 190px; }
.client--logo img { height: 40px; width: auto; max-width: 168px; object-fit: contain; }
.client--logo small { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / about split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split--rev { grid-template-columns: 1fr 1.05fr; }
.split__media { position: relative; }
.split__media .img-main { border-radius: var(--radius-lg); aspect-ratio: 5 / 4; max-height: 540px; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.split__media .img-float {
  position: absolute; right: -20px; bottom: -28px; width: 38%; border-radius: var(--radius); border: 6px solid #fff;
  aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-lg);
}
.exp-badge {
  position: absolute; left: -24px; top: 36px; background: var(--navy-900); color: #fff; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-lg); text-align: left;
}
.exp-badge strong { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; }
.exp-badge span { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.split__content h2 { font-size: clamp(26px, 2.6vw, 40px); margin-top: 14px; }
.split__content > p { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.check-list { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--blue-600); margin-top: 1px; }
.split__actions { margin-top: 28px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* ---------- Services cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; min-height: 300px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ice), #dcebff); color: var(--blue-600);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 21px; margin-top: 24px; }
.service-card p { margin-top: 12px; color: var(--muted); font-size: 15.5px; flex: 1; }
.service-card__num { position: absolute; right: 26px; top: 22px; font-family: var(--font-display); font-weight: 600; color: var(--line); font-size: 15px; }
.service-card--image { color: #fff; border: 0; background: var(--navy-900); justify-content: flex-end; }
.service-card--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 15, 34, 0.05) 20%, rgba(5, 15, 34, 0.9)); }
.service-card--image > *:not(img) { position: relative; z-index: 2; }
.service-card--image p { color: rgba(255, 255, 255, 0.78); flex: 0; }
.service-card--image:hover img { transform: scale(1.06); }
.service-card--wide { grid-column: span 2; }
.service-card .link-arrow { margin-top: 20px; }

/* ---------- Stacked service cards ("What we build") ---------- */
.stack { position: relative; }
.scard {
  position: sticky; top: 110px; display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: min(72vh, 620px);
  background: #0e1a30; color: #fff; border: 1px solid var(--glass-line); border-radius: var(--radius-lg); overflow: hidden;
  transform-origin: center top; will-change: transform, filter; box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, 0.6);
}
.scard:not(:last-child) { margin-bottom: 22vh; }
.scard:nth-child(2) { top: 130px; } .scard:nth-child(3) { top: 150px; } .scard:nth-child(4) { top: 170px; } .scard:nth-child(5) { top: 190px; }
.scard__body { padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.scard__top { display: flex; justify-content: space-between; gap: 24px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.scard__top b { color: var(--sky-400); font-weight: 600; }
.scard__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(90, 174, 252, 0.14); color: var(--sky-400); margin-bottom: 24px; }
.scard__icon svg { width: 28px; height: 28px; }
.scard h3 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.03em; line-height: 1.05; }
.scard h3 span { color: var(--sky-400); }
.scard p { color: rgba(255, 255, 255, 0.7); max-width: 460px; font-size: 16.5px; margin-top: 18px; }
.scard__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.scard__tag { font-size: 13px; font-weight: 500; padding: 7px 14px; border: 1px solid var(--glass-line); border-radius: 999px; color: rgba(255, 255, 255, 0.88); }
.scard .link-arrow { color: var(--sky-400); margin-top: 28px; }
.scard__media { position: relative; overflow: hidden; }
.scard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.05); }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.project-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-900);
  grid-column: span 4; aspect-ratio: 4 / 4.6; color: #fff; isolation: isolate;
}
.project-card--lg { grid-column: span 8; aspect-ratio: auto; }
.project-card--md { grid-column: span 6; aspect-ratio: 16 / 11; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -1; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 15, 34, 0.92)); z-index: -1; }
.project-card:hover img { transform: scale(1.06); }
.project-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.project-card__tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); border: 1px solid var(--glass-line);
}
.project-card h3 { font-size: clamp(20px, 2vw, 26px); margin-top: 14px; }
.project-card__meta { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, 0.75); display: flex; gap: 8px 18px; flex-wrap: wrap; }
.project-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-card__meta svg { width: 15px; height: 15px; }
.project-card__arrow {
  position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--navy-900); transform: scale(0.6) rotate(-45deg); opacity: 0; transition: all 0.45s var(--ease);
}
.project-card__arrow svg { width: 20px; height: 20px; }
.project-card:hover .project-card__arrow { transform: scale(1) rotate(-45deg); opacity: 1; }

/* ---------- Featured work showcase ---------- */
.fw { display: grid; grid-template-columns: minmax(300px, 0.85fr) 1.6fr; gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.fw__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: none; }
.fw__item {
  position: relative; width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius); border: 1px solid transparent; background: transparent;
  color: rgba(255, 255, 255, 0.6); text-align: left; overflow: hidden; transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.fw__item:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.fw__item.is-active { color: #fff; background: var(--glass); border-color: var(--glass-line); }
.fw__num { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.4); transition: color 0.35s; }
.fw__item.is-active .fw__num { color: var(--sky-400); }
.fw__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fw__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -0.015em; line-height: 1.2; }
.fw__meta { font-size: 13.5px; color: rgba(255, 255, 255, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fw__arrow { width: 20px; height: 20px; opacity: 0; transform: translateX(-8px); transition: opacity 0.35s, transform 0.45s var(--ease); color: var(--sky-400); }
.fw__item.is-active .fw__arrow, .fw__item:hover .fw__arrow { opacity: 1; transform: none; }
.fw__progress { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.08); border-radius: 2px; overflow: hidden; }
.fw__progress::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-500), var(--sky-400)); transform: scaleX(0); transform-origin: left; }
.fw.is-playing .fw__item.is-active .fw__progress::after { animation: fw-progress var(--fw-interval, 6000ms) linear forwards; }
.fw.is-paused .fw__item.is-active .fw__progress::after { animation-play-state: paused; }
@keyframes fw-progress { to { transform: scaleX(1); } }

.fw__stage { position: relative; min-height: 540px; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); isolation: isolate; }
.fw__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.8s var(--ease), visibility 0s linear 0.8s; }
.fw__slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.8s var(--ease), visibility 0s; z-index: 1; }
.fw__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s linear; }
.fw__slide.is-active img { transform: scale(1); }
.fw__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 15, 34, 0) 35%, rgba(5, 15, 34, 0.88) 100%); }
.fw__info {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; max-width: 520px; padding: 20px 22px; border-radius: var(--radius);
  background: rgba(5, 15, 34, 0.55); border: 1px solid var(--glass-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff;
  transform: translateY(16px); opacity: 0; transition: transform 0.8s var(--ease) 0.15s, opacity 0.8s var(--ease) 0.15s;
}
.fw__slide.is-active .fw__info { transform: none; opacity: 1; }
.fw__info h3 { font-size: clamp(20px, 1.9vw, 28px); margin-top: 10px; letter-spacing: -0.02em; }
.fw__loc { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: rgba(255, 255, 255, 0.75); font-size: 15px; }
.fw__loc svg { width: 16px; height: 16px; color: var(--sky-400); }
.fw__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.fw__chip { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-line); }
.fw__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--glass-line); flex-wrap: wrap; }
.fw__value { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.2; }
.fw__value small { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.fw__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--navy-900); font-weight: 600; font-size: 14.5px; margin-left: auto; transition: transform 0.35s var(--ease); }
.fw__link:hover { transform: translateY(-2px); }
.fw__link svg { width: 16px; height: 16px; }
.fw__count { position: absolute; top: 20px; right: 20px; z-index: 3; padding: 7px 14px; border-radius: 999px; background: rgba(5, 15, 34, 0.55); border: 1px solid var(--glass-line); backdrop-filter: blur(10px); color: rgba(255, 255, 255, 0.7); font-size: 13px; font-family: var(--font-display); }
.fw__count b { color: #fff; }

/* Featured work section uses the same background as the CTA band */
.fw-section { background: linear-gradient(120deg, var(--navy-900), var(--blue-600)); }
.fw-section .grid-deco { display: none; }
.fw-section .eyebrow { color: var(--sky-200); }
.fw__item.is-active .fw__num, .fw__arrow { color: var(--sky-200); }
.fw-section::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 40px; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18); transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}
.fw-section::after {
  content: ""; position: absolute; right: 120px; bottom: -140px; width: 260px; height: 260px; border-radius: 32px; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.14); transform: rotate(28deg);
}
.fw-section .section-head p, .fw__meta { color: rgba(255, 255, 255, 0.78); }
.fw__item { color: rgba(255, 255, 255, 0.72); }
.fw__num { color: rgba(255, 255, 255, 0.55); }
.fw__item.is-active { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.fw__progress { background: rgba(255, 255, 255, 0.14); }

/* Mirrored variant ("What we do"): photo left, list right, gradient flipped */
.fw--rev { grid-template-columns: 1.6fr minmax(300px, 0.85fr); }
.fw--rev .fw__stage { order: -1; }
.fw-section--alt { background: linear-gradient(240deg, var(--navy-900), var(--blue-600)); }
.fw-section--alt::before { right: auto; left: -80px; transform: rotate(-18deg); }
.fw-section--alt::after { right: auto; left: 120px; transform: rotate(-28deg); }
.fw__head { display: flex; align-items: center; gap: 12px; }
.fw__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(90, 174, 252, 0.18); color: var(--sky-200); border: 1px solid var(--glass-line); flex: none; }
.fw__icon svg { width: 22px; height: 22px; }
.fw__desc { margin-top: 8px; color: rgba(255, 255, 255, 0.78); font-size: 15.5px; line-height: 1.6; max-width: 480px; }

/* Light variant ("Featured work"): pale ice background, navy text */
.fw-section--light { background: var(--paper); color: var(--ink); }
.fw-section--light::before { border-color: rgba(21, 101, 216, 0.14); background: linear-gradient(135deg, rgba(21, 101, 216, 0.06), rgba(21, 101, 216, 0)); }
.fw-section--light::after { border-color: rgba(21, 101, 216, 0.1); }
.fw-section--light .eyebrow { color: var(--blue-600); }
.fw-section--light .section-head p { color: var(--muted); }
.fw-section--light .fw__item { color: var(--ink); }
.fw-section--light .fw__item:hover { background: rgba(255, 255, 255, 0.7); }
.fw-section--light .fw__item.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.fw-section--light .fw__num { color: #8a9ab0; }
.fw-section--light .fw__item.is-active .fw__num, .fw-section--light .fw__arrow { color: var(--blue-600); }
.fw-section--light .fw__name { color: var(--navy-900); }
.fw-section--light .fw__meta { color: var(--muted); }
.fw-section--light .fw__progress { background: rgba(10, 28, 61, 0.1); }
.fw-section--light .fw__stage { box-shadow: var(--shadow); }

@media (max-width: 1080px) {
  .fw { grid-template-columns: 1fr; }
  .fw--rev .fw__stage { order: 0; }
  .fw__list { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 4px; }
  .fw__list::-webkit-scrollbar { display: none; }
  .fw__list li { flex: 0 0 auto; }
  .fw__item { grid-template-columns: auto auto; padding: 12px 16px; }
  .fw__meta, .fw__arrow { display: none; }
  .fw__name { font-size: 15px; white-space: nowrap; }
  .fw__stage { min-height: 480px; }
}
@media (max-width: 640px) {
  /* Phones: swipeable cards instead of list + stage */
  .fw__list, .fw__count { display: none; }
  .fw__stage {
    min-height: 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; background: none; border-radius: 0;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .fw__stage::-webkit-scrollbar { display: none; }
  .fw__slide { position: relative; inset: auto; flex: 0 0 86%; aspect-ratio: 4 / 5.2; opacity: 1; visibility: visible; scroll-snap-align: center; border-radius: var(--radius-lg); overflow: hidden; }
  .fw__slide img { transform: none; }
  .fw__slide { aspect-ratio: 4 / 5.4; }
  .fw__info { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; opacity: 1; transform: none; }
  .fw__info .project-card__tag { font-size: 10.5px; padding: 4px 9px; }
  .fw__info h3 { font-size: 19px; margin-top: 8px; }
  .fw__loc { font-size: 13.5px; margin-top: 4px; }
  .fw__chips { display: none; }
  .fw__foot { margin-top: 10px; padding-top: 10px; gap: 10px; }
  .fw__desc { font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .fw__icon { width: 34px; height: 34px; }
  .fw__icon svg { width: 18px; height: 18px; }
  .fw__value { font-size: 15.5px; }
  .fw__value small { font-size: 10px; }
  .fw__link { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .fw__slide img { transform: none !important; }
}

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  border-radius: var(--radius); padding: 30px; background: var(--glass); border: 1px solid var(--glass-line);
}
.stat__num { font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 56px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.stat__num sup { font-size: 0.5em; color: var(--sky-400); vertical-align: top; margin-left: 2px; }
.stat__label { margin-top: 12px; color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.section--light .stat { background: var(--white); border-color: var(--line); }
.section--light .stat__label { color: var(--muted); }
.section--light .stat__num sup { color: var(--blue-600); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process__step { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.process__step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--blue-600);
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ice);
}
.process__step h3 { font-size: 20px; margin-top: 22px; }
.process__step p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- Why us features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--glass-line); background: var(--glass); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(90, 174, 252, 0.14); color: var(--sky-400); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-top: 20px; }
.feature p { margin-top: 10px; color: rgba(255, 255, 255, 0.7); font-size: 15.5px; }
.section--ice .feature, .section:not(.section--dark) .feature { border-color: var(--line); background: var(--white); }
.section:not(.section--dark) .feature p { color: var(--muted); }
.section:not(.section--dark) .feature__icon { background: var(--ice); color: var(--blue-600); }

/* ---------- Testimonial / quote ---------- */
.quote-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.quote-block blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; }
.quote-block cite { display: block; margin-top: 24px; font-style: normal; color: var(--muted); font-size: 15px; }
.quote-block cite b { color: var(--ink); display: block; font-size: 17px; }
.quote-block img { border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(120deg, var(--navy-900), var(--blue-600)); color: #fff;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18); transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}
.cta::after {
  content: ""; position: absolute; right: 120px; bottom: -140px; width: 260px; height: 260px; border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14); transform: rotate(28deg);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(28px, 3.6vw, 44px); }
.cta p { margin-top: 14px; color: rgba(255, 255, 255, 0.82); font-size: 17px; max-width: 520px; }
.cta__actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.7); padding-top: clamp(64px, 8vw, 96px); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.3fr; gap: 48px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand img { background: #fff; border-radius: 12px; padding: 6px; height: 56px; }
.footer__about { margin-top: 20px; max-width: 340px; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: 0.04em; margin-bottom: 20px; font-weight: 600; }
.footer__links li + li { margin-top: 12px; }
.footer__links a { transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact li + li { margin-top: 16px; }
.footer__contact svg { flex: none; width: 18px; height: 18px; color: var(--sky-400); margin-top: 3px; }
.footer__contact a:hover { color: #fff; }
.footer__bottom {
  margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 24px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, 0.5);
}
.footer__tagline { font-family: var(--font-display); letter-spacing: 0.22em; text-transform: uppercase; font-size: 12px; }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.3s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }

/* ---------- About page ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--blue-600), var(--sky-200)); }
.timeline__item { position: relative; padding-top: 64px; }
.timeline__item::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 6px solid var(--blue-600); box-shadow: 0 0 0 6px var(--ice);
}
.timeline__year { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--navy-900); }
.timeline__item h3 { font-size: 18px; margin-top: 8px; }
.timeline__item p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

.letter {
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}
.letter p + p { margin-top: 16px; }
.letter p { color: var(--muted); font-size: 17px; }
.letter .sign { margin-top: 28px; color: var(--ink); font-weight: 600; }

/* ---------- About: company profile / at a glance ---------- */
.profile { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.profile__title { font-size: clamp(26px, 2.6vw, 38px); margin-top: 14px; }
.facts { margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 500; color: var(--ink); line-height: 1.55; }
.profile__contact { margin-top: 28px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.profile__clients { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); position: sticky; top: 110px; }
.profile__clients h3 { font-size: clamp(20px, 1.8vw, 26px); margin-top: 12px; }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 88px; display: grid; place-items: center; padding: 14px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s; }
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--sky-200); }
.logo-tile img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; }
.profile__note { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--muted); }
@media (max-width: 920px) {
  .profile { grid-template-columns: 1fr; }
  .profile__clients { position: static; }
}
@media (max-width: 640px) {
  .facts > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-tile { height: 76px; }
  .profile__contact .btn { width: 100%; }
}

/* ---------- Services page ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.svc-nav a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: 14.5px; background: #fff; transition: all 0.2s; }
.svc-nav a:hover { border-color: var(--blue-600); color: var(--blue-600); }

.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-block:first-of-type { border-top: 0; padding-top: 0; }
.svc-block:nth-of-type(even) .svc-block__media { order: 2; }
.svc-block__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.svc-block__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.svc-block__media:hover img { transform: scale(1.04); }
.svc-block__count { font-family: var(--font-display); font-weight: 600; color: var(--blue-600); font-size: 15px; letter-spacing: 0.1em; }
.svc-block h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px; }
.svc-block > div > p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.svc-items { margin-top: 28px; display: grid; gap: 12px; }
.svc-item { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.svc-item svg { flex: none; width: 24px; height: 24px; color: var(--blue-600); margin-top: 2px; }
.svc-item h3 { font-size: 16.5px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.svc-item p { font-size: 15px; color: var(--muted); margin-top: 4px; }

.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; display: flex; align-items: flex-end; padding: 24px; isolation: isolate; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.8s var(--ease); }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5, 15, 34, 0.9)); z-index: -1; }
.sector:hover img { transform: scale(1.06); }
.sector h3 { font-size: 22px; }
.sector p { font-size: 14.5px; color: rgba(255, 255, 255, 0.78); margin-top: 6px; }

/* ---------- Projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 14.5px; color: var(--ink);
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--blue-600); color: var(--blue-600); }
.filter-btn.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.filter-btn span { opacity: 0.55; margin-left: 4px; font-size: 13px; }

.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.p-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.p-item.is-hidden { display: none; }
.p-item__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; width: 100%; background: var(--ice); display: block; }
.p-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.p-item:hover .p-item__media img { transform: scale(1.05); }
.p-item__count {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600;
  background: rgba(5, 15, 34, 0.7); color: #fff; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px);
}
.p-item__count svg { width: 15px; height: 15px; }
.p-item__body { padding: 22px 24px 26px; }
.p-item__cat { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); }
.p-item h3 { font-size: 19px; margin-top: 8px; }
.p-item__loc { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.p-item__loc svg { width: 15px; height: 15px; }
.p-item__scope { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip { font-size: 12.5px; padding: 5px 10px; border-radius: 8px; background: var(--ice); color: var(--navy-800); font-weight: 500; }
.p-item__value { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; }
.p-item__value b { color: var(--ink); }

.job-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; counter-reset: job; }
.job-list li {
  counter-increment: job; display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500;
}
.job-list li::before { content: counter(job, decimal-leading-zero); font-family: var(--font-display); color: var(--blue-600); font-size: 14px; font-weight: 600; min-width: 24px; padding-top: 2px; }
.job-list li span { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }

.ongoing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .ongoing { grid-template-columns: repeat(2, 1fr); } }
.ongoing__item { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--glass-line); background: var(--glass); }
.ongoing__pulse { position: relative; flex: none; width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; }
.ongoing__pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #3ddc84; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ongoing__item h3 { font-size: 18px; }
.ongoing__item p { font-size: 14px; color: rgba(255, 255, 255, 0.65); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(3, 9, 22, 0.94); display: none; align-items: center; justify-content: center;
  padding: 72px 16px 96px;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 14px; box-shadow: var(--shadow-lg); object-fit: contain; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08); color: #fff; display: grid; place-items: center; transition: background 0.2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: #fff; padding: 0 16px; }
.lightbox__caption b { font-family: var(--font-display); font-size: 18px; display: block; }
.lightbox__caption span { font-size: 14px; color: rgba(255, 255, 255, 0.6); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color 0.2s, box-shadow 0.3s; }
.contact-card:hover { border-color: var(--sky-200); box-shadow: var(--shadow-sm); }
.contact-card__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--ice); color: var(--blue-600); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 17px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 15.5px; }
.contact-card h3 a, .contact-card > div > a { display: inline-flex; align-items: center; min-height: 36px; }
.contact-card a:hover { color: var(--blue-600); }
.contact-card__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--blue-600); }

.form-card { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(26px, 3vw, 34px); }
.form-card > p { color: var(--muted); margin-top: 10px; }
.form { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; color: var(--ink); padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(42, 123, 240, 0.12); }
.form__actions { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.form__note { font-size: 13.5px; color: var(--muted); }

.map { margin-top: clamp(48px, 6vw, 72px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--ice); }
.map iframe { width: 100%; height: 100%; border: 0; }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--blue-600); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid, .features { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .process, .values, .sectors { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
  .job-list { grid-template-columns: repeat(2, 1fr); }
  .project-card, .project-card--md { grid-column: span 6; }
  .project-card--lg { grid-column: span 12; aspect-ratio: 16 / 9; }
  .topbar__hide-md { display: none; }
  .scard { grid-template-columns: 1fr; min-height: 0; }
  .scard__media { aspect-ratio: 16 / 9; order: -1; }
  .scard, .scard:nth-child(n) { top: 96px; }
  .scard:not(:last-child) { margin-bottom: 14vh; }
}

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 78px); bottom: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 24px var(--gutter); gap: 4px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__link { font-size: 22px; font-family: var(--font-display); padding: 16px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link.is-active::after { display: none; }
  .nav__link:hover { background: none; }
  .nav .btn { margin-top: 24px; display: inline-flex; }
  .nav-open { overflow: hidden; }

  .split, .split--rev, .quote-block, .contact-grid, .svc-block, .cta { grid-template-columns: 1fr; }
  .svc-block:nth-of-type(even) .svc-block__media { order: 0; }
  .split__media { margin-right: 24px; margin-left: 12px; }
  .cta__actions { justify-content: flex-start; }
  .hero__bottom { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(3) { border-left: 0; }
  .hero-stat:nth-child(n + 3) { border-top: 1px solid rgba(90, 174, 252, 0.35); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .timeline::before { display: none; }
  .ongoing { grid-template-columns: 1fr; }
  .hero__dots { display: none; }
}
@media (min-width: 921px) { .nav .btn { display: none; } }

@media (max-width: 640px) {
  .topbar .container { justify-content: center; }
  .topbar__group--right { display: none; }
  .header .container { height: 68px; }
  .brand img { height: 38px; }
  .brand__name { font-size: 16px; }
  .brand__tag { font-size: 9px; letter-spacing: 0.16em; }
  .services-grid, .features, .process, .values, .sectors, .stats, .portfolio, .job-list, .timeline, .footer__grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: auto; }
  .project-card, .project-card--md, .project-card--lg { grid-column: span 12; aspect-ratio: 4 / 4.2; }
  .check-list { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .hero-stat { padding: 18px; }
  .split__media .img-float { right: -16px; bottom: -24px; }
  .exp-badge { left: -12px; padding: 16px 18px; }
  .exp-badge strong { font-size: 34px; }
  .sector { aspect-ratio: 4 / 3; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__caption { bottom: 84px; }
  .scard, .scard:nth-child(n) { top: 84px; }
  .scard__body { gap: 20px; }
}

/* ---------- Tablet refinements ---------- */
@media (min-width: 641px) and (max-width: 920px) {
  .split__media .img-main { aspect-ratio: 16 / 10; }
  .split__media .img-float { width: 34%; }
  .quote-block img { aspect-ratio: 16 / 9; }
}

/* ---------- Phone refinements ---------- */
@media (max-width: 640px) {
  :root { --section: 48px; }
  .brand__tag { font-size: 10px; }

  /* Home hero: size to its content instead of a fixed tall block */
  .hero { min-height: 0; }
  .hero__inner { padding-top: 40px; padding-bottom: 28px; }
  .hero h1 { margin-top: 18px; font-size: clamp(34px, 10vw, 44px); }
  .hero__lead { margin-top: 16px; font-size: 16px; }
  .hero__actions { margin-top: 24px; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__badge { font-size: 12.5px; }
  .hero__bottom { margin-top: 28px; }
  .hero-stat__num { font-size: 26px; }

  /* Inner page heroes */
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .page-hero p { font-size: 16px; margin-top: 14px; }
  .breadcrumb { margin-top: 18px; }

  .section-head { margin-bottom: 24px; }
  .section-head h2 { font-size: clamp(26px, 7.5vw, 32px); }
  .section-head p { font-size: 16px; }
  .section-head--split .btn { width: 100%; }

  /* Stacked cards: keep the stacking, drop the big gaps */
  .scard:not(:last-child) { margin-bottom: 20px; }
  .scard__media { aspect-ratio: 16 / 8; }
  .scard__body { padding: 22px; }
  .scard__icon { width: 46px; height: 46px; margin-bottom: 16px; }
  .scard h3 { font-size: 26px; }
  .scard p { font-size: 15.5px; margin-top: 12px; }

  /* Stats 2 x 2 instead of one long column */
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 18px; }
  .stat__num { font-size: 34px; }
  .stat__label { font-size: 13.5px; }

  .split__media { margin: 0 12px 12px 4px; }
  .project-card__body { padding: 20px; }
  .cta { padding: 28px 22px; }
  .cta__actions .btn, .form__actions .btn { flex: 1 1 100%; }
  .form-card { padding: 22px; }
  .map { height: 300px; }
  .marquee__head p { font-size: 15px; }
  .client { padding: 10px 16px 10px 10px; }
  .client--logo { min-width: 160px; padding: 10px 18px; }
  .client__mono { width: 42px; height: 42px; font-size: 14px; }
  .client__txt b { font-size: 16px; }
  .fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .fab svg { width: 26px; height: 26px; }
}

/* =========================================================
   Typography & spacing refresh (reference: ndttechnologies.com)
   Clean Arial-style sans, regular-weight headings, compact rhythm
   ========================================================= */
body { font-size: 16px; line-height: 1.75; color: #192436; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: 0; line-height: 1.25; }
p { line-height: 1.75; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; }
.eyebrow::before, .section-head--center .eyebrow::after { width: 22px; }

/* Section headings */
.section-head { margin-bottom: 32px; }
.section-head h2, .marquee__head h2, .split__content h2, .profile__title, .svc-block h2 { font-size: 30px; margin-top: 8px; line-height: 1.25; }
.section-head p { font-size: 16px; margin-top: 10px; }
.split__content > p, .svc-block > div > p { font-size: 16px; margin-top: 12px; }
.cta h2 { font-size: 30px; }
.cta p { font-size: 16px; }
.form-card h2 { font-size: 26px; }
.profile__clients h3 { font-size: 20px; }

/* Heroes */
.hero h1 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 500; letter-spacing: 0; line-height: 1.15; max-width: 16ch; margin-top: 18px; }
.hero__lead { font-size: 17px; margin-top: 16px; }
.hero__actions { margin-top: 26px; }
.hero__inner { padding-top: 80px; padding-bottom: 32px; }
.hero { min-height: min(72vh, 680px); }
.hero__badge { font-size: 13px; }
.hero-stat { padding: 16px 22px; }
.hero-stat__num { font-size: 28px; font-weight: 600; }
.hero-stat__label { font-size: 13.5px; }
.page-hero { padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 500; letter-spacing: 0; line-height: 1.2; margin-top: 12px; max-width: 22ch; }
.page-hero p { font-size: 16.5px; margin-top: 14px; }
.breadcrumb { margin-top: 18px; }

/* Cards & showcase */
.fw__name { font-family: var(--font-body); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.fw__meta { font-size: 13.5px; }
.fw__info h3 { font-size: 24px; font-weight: 600; letter-spacing: 0; }
.fw__desc { font-size: 15px; }
.fw__stage { min-height: 480px; }
.fw__item { padding: 14px 18px; }
.project-card h3 { font-size: 20px; }
.service-card h3, .feature h3, .process__step h3, .sector h3 { font-size: 18px; font-weight: 600; }
.timeline__year { font-size: 24px; }
.timeline__item h3 { font-size: 17px; font-weight: 600; }
.stat__num { font-size: 40px; font-weight: 600; letter-spacing: 0; }
.quote-block blockquote { font-family: var(--font-body); font-size: 22px; font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.letter p { font-size: 16px; }
.svc-item h3 { font-size: 16px; }
.p-item h3 { font-size: 18px; font-weight: 600; }
.job-list li { font-size: 15px; padding: 12px 0; }
.faq summary { font-family: var(--font-body); font-size: 17px; font-weight: 600; }
.faq details { padding: 16px 0; }
.client__txt b { font-family: var(--font-body); font-weight: 600; }
.brand__name { font-weight: 700; letter-spacing: 0.06em; }
.btn { font-weight: 600; font-size: 15px; padding: 12px 24px; }
.nav__link { font-size: 15px; }
.footer { padding-top: 56px; }
.footer__bottom { margin-top: 40px; }

/* Tighter vertical rhythm */
.marquee { padding: 40px 0; }
.marquee__head { margin-bottom: 24px; }
.split { gap: clamp(28px, 4vw, 64px); }
.check-list { margin-top: 18px; gap: 10px 24px; }
.split__actions { margin-top: 24px; }
.svc-block { padding: 40px 0; }
.svc-nav { margin-bottom: 32px; }
.process__step, .feature { padding: 26px 24px; }
.timeline__item { padding-top: 56px; }
.map { margin-top: 40px; }
.cta { padding: 44px clamp(24px, 4vw, 56px); }

@media (max-width: 640px) {
  :root { --section: 44px; }
  .section-head h2, .marquee__head h2, .split__content h2, .profile__title, .svc-block h2, .cta h2 { font-size: 25px; }
  .hero h1 { font-size: 34px; }
  .page-hero { padding: 44px 0 36px; }
  .page-hero h1 { font-size: 30px; }
  .hero__inner { padding-top: 36px; }
  .fw__info h3 { font-size: 19px; }
  .stat__num { font-size: 32px; }
  .quote-block blockquote { font-size: 19px; }
  .marquee { padding: 32px 0; }
  .svc-block { padding: 28px 0; }
}

/* =========================================================
   Accent colour: Safety orange (approved from sandbox Option A)
   ========================================================= */
:root {
  --orange-500: #f26b1d;
  --orange-600: #dd5a0e;
  --orange-100: #feeadd;
}
.btn--primary { background: var(--orange-500); box-shadow: 0 12px 30px -12px rgba(242, 107, 29, 0.7); }
.btn--primary:hover { background: var(--orange-600); }
.eyebrow::before, .section-head--center .eyebrow::after { background: var(--orange-500); }
.hero__badge b { background: var(--orange-500); }
.nav__link.is-active::after { background: var(--orange-500); }
.fw__progress::after { background: linear-gradient(90deg, var(--orange-500), #ffa36a); }
.fw__item.is-active .fw__num { color: var(--orange-500); }
.fw-section--alt .fw__item.is-active .fw__num { color: #ffb27f; }
.marquee__head p strong { color: var(--orange-500); }
.stat__num sup { color: #ff9a5a; }
.check-list svg { color: var(--orange-500); }
.process__step::before { background: var(--orange-100); color: var(--orange-600); }
.timeline::before { background: linear-gradient(90deg, var(--orange-500), #ffc39b); }
.timeline__item::before { border-color: var(--orange-500); box-shadow: 0 0 0 6px var(--orange-100); }
.exp-badge { border-bottom: 4px solid var(--orange-500); }
.project-card__arrow { background: var(--orange-500); color: #fff; }
.footer h4::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 10px; background: var(--orange-500); border-radius: 2px; }
.facts dt, .svc-block__count { color: var(--orange-600); }
.page-hero h1::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 18px; border-radius: 3px; background: var(--orange-500); }
.hero__dot.is-active { background: var(--orange-500); }

/* ---------- Enquiry form: status + spam honeypot ---------- */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 500; line-height: 1.5; }
.form__status.is-ok { background: #e8f8ef; color: #12663a; border: 1px solid #b7e8cb; }
.form__status.is-error { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
