/* ==========================================================================
   STRUCTURE LAB — Structural Engineering Consultancy
   Design system: "Technical / Blueprint"
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #060F22;
  --navy-800: #0A1730;
  --navy-700: #0F2044;
  --navy-600: #14274E;   /* logo navy */
  --navy-500: #1D3565;
  --navy-400: #2C4A83;

  --steel-600: #5C6672;
  --steel-500: #7E8894;
  --steel-400: #9AA3AE;  /* logo grey */
  --steel-200: #D5DAE1;
  --steel-100: #E9ECF1;

  --paper: #F4F6F9;
  --paper-2: #FAFBFC;
  --white: #FFFFFF;

  /* Blueprint accent */
  --cyan: #22B8E6;
  --cyan-bright: #45D3FF;
  --cyan-dim: rgba(34, 184, 230, 0.16);
  --amber: #F2A63B;

  /* Semantic */
  --bg: var(--paper);
  --ink: var(--navy-700);
  --muted: var(--steel-600);
  --line: rgba(20, 39, 78, 0.12);
  --line-strong: rgba(20, 39, 78, 0.22);

  /* Type */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 3px;
  --header-h: 78px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.55s;

  /* Blueprint grid */
  --grid-sm: 28px;
  --grid-lg: 140px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--navy-700);
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.35rem); }
h2 { font-size: clamp(1.95rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.06rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--navy-600); color: #fff; }

/* ---------- 3. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

/* ---------- 4. Blueprint textures ---------- */
.bp-grid { position: relative; isolation: isolate; }
.bp-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(20, 39, 78, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 39, 78, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(20, 39, 78, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 39, 78, 0.075) 1px, transparent 1px);
  background-size:
    var(--grid-sm) var(--grid-sm),
    var(--grid-sm) var(--grid-sm),
    var(--grid-lg) var(--grid-lg),
    var(--grid-lg) var(--grid-lg);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.bp-dark {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  isolation: isolate;
}
.bp-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(126, 190, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(126, 190, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 255, 0.09) 1px, transparent 1px);
  background-size:
    var(--grid-sm) var(--grid-sm),
    var(--grid-sm) var(--grid-sm),
    var(--grid-lg) var(--grid-lg),
    var(--grid-lg) var(--grid-lg);
}
.bp-dark h1, .bp-dark h2, .bp-dark h3, .bp-dark h4 { color: var(--white); }
.bp-dark .eyebrow { color: var(--cyan-bright); }
.bp-dark .eyebrow::before { background: var(--cyan); }
.bp-dark .lead { color: rgba(255, 255, 255, 0.72); }

/* ---------- 5. Eyebrow / section headers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.705rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--navy-400);
  flex: none;
}

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::before { display: none; }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--muted);
  line-height: 1.72;
  margin-top: 20px;
}

/* Dimension line divider */
.dim-line {
  position: relative;
  height: 1px;
  background: var(--line);
  margin-block: clamp(48px, 6vw, 80px);
}
.dim-line::before, .dim-line::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: var(--line-strong);
}
.dim-line::before { left: 0; }
.dim-line::after { right: 0; }

/* ---------- 6. Buttons ---------- */
.btn {
  --btn-bg: var(--navy-600);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn > * { position: relative; z-index: 1; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: translateY(101%);
  transition: transform 0.42s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 23, 48, 0.22); color: var(--navy-900); }
.btn:hover::after { transform: translateY(0); }

.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-700);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { color: var(--navy-900); border-color: var(--cyan); }

.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
}
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-700); }

.btn--sm { padding: 12px 20px; font-size: 0.72rem; }

/* Text link with underline sweep */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.755rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy-600);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s var(--ease), color 0.3s;
}
.tlink:hover { background-size: 100% 1.5px; }
.tlink .arw { transition: transform 0.35s var(--ease); }
.tlink:hover .arw { transform: translateX(5px); }
.bp-dark .tlink { color: var(--cyan-bright); }

/* ---------- 7. Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.4s;
}
.site-header.is-stuck {
  background: rgba(6, 15, 34, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  height: 74px;
  box-shadow: 0 8px 34px rgba(6, 15, 34, 0.28);
}
.site-header.is-stuck::after { background: rgba(255, 255, 255, 0.09); }

.header-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 15px;
  font-family: var(--font-mono);
  font-size: 0.755rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: #fff;
  position: relative;
  transition: background 0.2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: #fff;
  transition: transform 0.35s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(6px) rotate(45deg); }
.burger.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--navy-900);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); }
.drawer a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.drawer a i {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.66rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
}
.drawer .btn {
  margin-top: 26px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 500;
  padding: 15px 28px;
  border-bottom: 0;
  align-items: center;
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 64px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 190, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(126, 190, 255, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 255, 0.085) 1px, transparent 1px);
  background-size: var(--grid-sm) var(--grid-sm), var(--grid-sm) var(--grid-sm), var(--grid-lg) var(--grid-lg), var(--grid-lg) var(--grid-lg);
}
.hero__glow {
  position: absolute;
  width: 900px; height: 900px;
  right: -14%; top: -22%;
  background: radial-gradient(circle, rgba(34, 184, 230, 0.16), transparent 62%);
  pointer-events: none;
}
.hero__glow--2 {
  right: auto; left: -18%; top: auto; bottom: -34%;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(44, 74, 131, 0.4), transparent 65%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  width: 100%;
}
.hero h1 { color: #fff; }
.hero__sub {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: rgba(255, 255, 255, 0.68);
  max-width: 54ch;
  margin-top: 26px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Hero technical readout strip */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 26px;
}
.hero__meta div {
  padding-right: clamp(22px, 3vw, 42px);
  margin-right: clamp(22px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__meta div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__meta b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero__meta span {
  font-family: var(--font-mono);
  font-size: 0.665rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 9px;
}

/* Animated blueprint drawing */
.hero__draw { position: relative; }
.hero__draw svg { width: 100%; height: auto; overflow: visible; }
.draw-stroke {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.4;
  stroke-linecap: square;
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
  animation: draw 2.6s var(--ease) forwards;
}
.draw-stroke--dim { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__draw .node { fill: var(--cyan); opacity: 0; animation: nodeIn 0.5s var(--ease) forwards; }
@keyframes nodeIn { to { opacity: 1; } }
.hero__draw text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  fill: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  left: var(--gutter);
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.scroll-hint::after {
  content: "";
  width: 52px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  animation: slide 2.2s ease-in-out infinite;
}
@keyframes slide { 0%,100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(12px); opacity: 0.4; } }

/* ---------- 9. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 190, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(126, 190, 255, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 255, 0.085) 1px, transparent 1px);
  background-size: var(--grid-sm) var(--grid-sm), var(--grid-sm) var(--grid-sm), var(--grid-lg) var(--grid-lg), var(--grid-lg) var(--grid-lg);
}
.page-hero__glow {
  position: absolute;
  right: -10%; top: -40%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(34, 184, 230, 0.15), transparent 62%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lead { color: rgba(255, 255, 255, 0.66); max-width: 60ch; }
.page-hero .eyebrow { color: var(--cyan-bright); }
.page-hero .eyebrow::before { background: var(--cyan); }

.crumbs {
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 36px;
}
.crumbs a:hover { color: var(--cyan-bright); }

/* ---------- 10. Cards ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(10, 23, 48, 0.1); border-color: var(--steel-200); }
.card:hover::before { transform: scaleX(1); }

/* Corner crosshair marks */
.card__crosshair { position: absolute; top: 12px; right: 12px; width: 12px; height: 12px; opacity: 0.3; }
.card__crosshair::before, .card__crosshair::after {
  content: ""; position: absolute; background: var(--navy-400);
}
.card__crosshair::before { left: 50%; top: 0; width: 1px; height: 100%; }
.card__crosshair::after { top: 50%; left: 0; height: 1px; width: 100%; }

.card__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  display: block;
  margin-bottom: 18px;
}
.card__icon {
  width: 46px; height: 46px;
  margin-bottom: 22px;
  color: var(--navy-600);
}
.card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.3; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.955rem; }
.card__list { margin-top: 18px; display: grid; gap: 8px; }
.card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.885rem;
  color: var(--muted);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 7px; height: 1px;
  background: var(--cyan);
}

/* Dark card */
.card--dark {
  background: var(--navy-700);
  border-color: rgba(255, 255, 255, 0.1);
}
.card--dark h3, .card--dark h4 { color: #fff; }
.card--dark p, .card--dark .card__list li { color: rgba(255, 255, 255, 0.66); }
.card--dark .card__icon { color: var(--cyan-bright); }

/* ---------- 11. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--white); padding: clamp(26px, 3.4vw, 44px) clamp(20px, 2.4vw, 32px); text-align: left; }
.bp-dark .stats { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.12); }
.bp-dark .stat { background: var(--navy-800); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy-700);
  letter-spacing: -0.03em;
}
.bp-dark .stat b { color: #fff; }
.stat b .suffix { color: var(--cyan); }
.stat span {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.665rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-500);
}

/* ---------- 12. Process / timeline ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process::before {
  content: "";
  position: absolute;
  top: 21px; left: 0; right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.bp-dark .process::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,0.22) 0 6px, transparent 6px 12px); }
.step { position: relative; padding-right: 26px; }
.step__dot {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--navy-600);
  position: relative;
  z-index: 1;
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.bp-dark .step__dot { background: var(--navy-800); border-color: rgba(255,255,255,0.24); color: var(--cyan-bright); }
.step:hover .step__dot { background: var(--cyan); border-color: var(--cyan); color: var(--navy-900); }
.step h4 { margin: 22px 0 9px; }
.step p { font-size: 0.9rem; color: var(--muted); }
.bp-dark .step p { color: rgba(255,255,255,0.62); }

/* ---------- 13. Projects ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filter {
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--steel-600);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.filter:hover { border-color: var(--navy-400); color: var(--navy-700); }
.filter.is-active { background: var(--navy-600); border-color: var(--navy-600); color: #fff; }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.proj {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-700);
  aspect-ratio: 4 / 3.2;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.proj.is-hidden { display: none; }
.proj[data-lightbox] { cursor: pointer; }
.proj__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s;
  filter: saturate(0.75) contrast(1.04);
}
.proj:hover .proj__img { transform: scale(1.07); filter: saturate(1) contrast(1.02); }

/* Placeholder blueprint tile when no photo yet */
.proj__ph {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(126, 190, 255, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(126, 190, 255, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(150deg, var(--navy-600), var(--navy-900));
  display: grid;
  place-items: center;
}
.proj__ph svg { width: 44%; opacity: 0.32; stroke: var(--cyan-bright); fill: none; stroke-width: 1.2; }

.proj__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 15, 34, 0.05) 20%, rgba(6, 15, 34, 0.86) 100%);
  transition: background 0.5s;
}
.proj:hover .proj__veil { background: linear-gradient(180deg, rgba(6, 15, 34, 0.3) 0%, rgba(6, 15, 34, 0.92) 100%); }

.proj__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 2.4vw, 28px);
  z-index: 2;
}
.proj__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 10px;
}
.proj__body h3 { color: #fff; font-size: 1.16rem; }
.proj__loc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 8px;
  display: block;
}
.proj__meta {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin 0.5s var(--ease);
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.68);
}
.proj:hover .proj__meta { max-height: 140px; opacity: 1; margin-top: 12px; }

.proj__corner {
  position: absolute;
  top: 16px; right: 16px;
  width: 30px; height: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 2;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), border-color 0.45s;
}
.proj:hover .proj__corner { width: 42px; height: 42px; border-color: var(--cyan); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(6, 15, 34, 0.96);
  display: none;
  place-items: center;
  padding: clamp(20px, 5vw, 60px);
}
.lightbox.is-open { display: grid; }
.lightbox__inner { max-width: 1100px; width: 100%; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__cap { margin-top: 20px; color: rgba(255, 255, 255, 0.72); }
.lightbox__cap h3 { color: #fff; margin-bottom: 6px; }
.lightbox__close {
  position: absolute;
  top: 24px; right: 28px;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.lightbox__close:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy-900); }

/* ---------- 14. Team ---------- */
.person {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(10, 23, 48, 0.1); }
.person__photo {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(rgba(126, 190, 255, 0.08) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(126, 190, 255, 0.08) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(150deg, var(--navy-600), var(--navy-900));
  display: grid;
  place-items: center;
  position: relative;
}
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person__initials {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}
.person__body { padding: 24px 26px 28px; }
.person__body h4 { font-size: 1.12rem; margin-bottom: 6px; }
.person__role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cyan);
}
.person__body p { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }

/* Credential chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy-600);
}
.chip::before { content: ""; width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; }
.bp-dark .chip { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.8); }

/* ---------- 15. Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 600;
  color: var(--navy-700);
  transition: color 0.3s;
}
.acc__btn:hover { color: var(--cyan); }
.acc__ico {
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.35s, border-color 0.35s, transform 0.4s var(--ease);
}
.acc__ico::before, .acc__ico::after {
  content: ""; position: absolute; background: var(--navy-600); transition: opacity 0.3s, background 0.3s;
}
.acc__ico::before { width: 11px; height: 1.4px; }
.acc__ico::after { width: 1.4px; height: 11px; }
.acc__item.is-open .acc__ico { background: var(--cyan); border-color: var(--cyan); transform: rotate(180deg); }
.acc__item.is-open .acc__ico::after { opacity: 0; }
.acc__item.is-open .acc__ico::before { background: var(--navy-900); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.acc__panel > div { padding-bottom: 30px; color: var(--muted); max-width: 78ch; }

/* ---------- 16. Forms ---------- */
.form { display: grid; gap: 20px; }
.field { position: relative; display: grid; gap: 9px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-600);
}
.field label .req { color: var(--cyan); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.96rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 138px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #E2574C; }
.field__err { font-size: 0.79rem; color: #E2574C; display: none; }
.field.has-error .field__err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--steel-500);
}
.form-status {
  display: none;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  border: 1px solid;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: rgba(34, 184, 230, 0.08); border-color: var(--cyan); color: var(--navy-700); }
.form-status.is-bad { background: rgba(226, 87, 76, 0.07); border-color: #E2574C; color: #9B3229; }

/* ---------- 17. Contact info blocks ---------- */
.info-list { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info {
  background: var(--white);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: background 0.3s;
}
.info:hover { background: var(--paper-2); }
.info__ico { flex: none; width: 22px; height: 22px; color: var(--cyan); margin-top: 3px; }
.info__ico svg { stroke: currentColor; fill: none; stroke-width: 1.5; width: 100%; height: 100%; }
.info h4 { font-size: 0.78rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 7px; }
.info p, .info a { font-size: 1rem; color: var(--navy-700); }
.info a:hover { color: var(--cyan); }

/* ---------- 18. CTA band ---------- */
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
}

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.6); padding-top: clamp(56px, 7vw, 88px); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.site-footer h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 20px;
}
.site-footer a { color: rgba(255, 255, 255, 0.68); transition: color 0.25s; }
.site-footer a:hover { color: var(--cyan-bright); }
.footer-links { display: grid; gap: 12px; font-size: 0.94rem; }
.footer-blurb { font-size: 0.94rem; max-width: 38ch; margin-top: 22px; color: rgba(255, 255, 255, 0.55); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.38);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.socials a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy-900); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- 20. WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 180;
  display: flex;
  align-items: center;
  gap: 0;
  height: 56px;
  padding: 0 16px;
  background: #25D366;
  color: #06301A;
  border-radius: 40px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.36);
  overflow: hidden;
  transition: gap 0.4s var(--ease), padding 0.4s var(--ease), transform 0.3s var(--ease);
}
.wa-fab svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.wa-fab span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 0.45s var(--ease), opacity 0.35s var(--ease);
}
.wa-fab:hover { gap: 11px; transform: translateY(-3px); }
.wa-fab:hover span { max-width: 190px; opacity: 1; }

/* ---------- 21. Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 22. Utilities ---------- */
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.no-scroll { overflow: hidden; }

/* Annotated figure frame (blueprint callout) */
.figure-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--white);
}
.figure-frame::before, .figure-frame::after {
  content: "";
  position: absolute;
  width: 9px; height: 9px;
  border: 1px solid var(--cyan);
  background: var(--white);
}
.figure-frame::before { top: -5px; left: -5px; }
.figure-frame::after { bottom: -5px; right: -5px; }
.figure-frame img { border-radius: 2px; width: 100%; }
.figure-frame__cap {
  position: absolute;
  bottom: -13px; left: 20px;
  background: var(--paper);
  padding-inline: 10px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel-500);
}

/* ==========================================================================
   23. VISUAL UPGRADE LAYER
   Depth, glow and richer components on top of the blueprint base.
   ========================================================================== */

:root {
  --glow-cyan: 0 0 0 1px rgba(34,184,230,.35), 0 18px 60px -14px rgba(34,184,230,.55);
  --card-shadow: 0 1px 2px rgba(10,23,48,.04), 0 12px 32px -12px rgba(10,23,48,.14);
  --card-shadow-lg: 0 2px 4px rgba(10,23,48,.05), 0 32px 64px -20px rgba(10,23,48,.24);
  --header-h: 88px;
  --brand-navy: #17294D;
  --brand-grey: #939BA4;
}

/* ---------- 23.1 Type: bigger, tighter ---------- */
h1 { font-size: clamp(2.85rem, 6.6vw, 5.6rem); letter-spacing: -0.038em; line-height: 0.98; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.55rem); letter-spacing: -0.032em; line-height: 1.03; }
h3 { font-size: clamp(1.28rem, 2vw, 1.62rem); letter-spacing: -0.018em; }

.grad {
  background: linear-gradient(105deg, var(--cyan-bright) 0%, #7FE9FF 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.outline-txt { color: transparent; -webkit-text-stroke: 1px rgba(20,39,78,.16); }
.bp-dark .outline-txt { -webkit-text-stroke-color: rgba(255,255,255,.16); }

/* ---------- 23.2 Buttons ---------- */
.btn { padding: 16px 30px; font-weight: 500; box-shadow: 0 1px 2px rgba(10,23,48,.1); }
.btn:hover { box-shadow: 0 14px 32px -10px rgba(10,23,48,.45); }
.btn:not(.btn--ghost):not(.btn--on-dark):hover { box-shadow: var(--glow-cyan); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn--lg { padding: 19px 38px; font-size: 0.8rem; }

/* ---------- 23.3 Header ---------- */
.site-header.is-stuck { background: rgba(6,15,34,.86); }
.nav a::after { height: 2px; bottom: 3px; }

/* Brand lockup — accurate vector of the supplied logo artwork.
   Sits on a white plate so the true navy reads against the dark chrome. */
.logo { display: flex; align-items: center; flex: none; }
.logo__plate {
  display: block;
  width: 152px;
  background: #fff;
  border-radius: 5px;
  padding: 7px 10px 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), width .4s var(--ease);
}
.logo:hover .logo__plate { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .34); }
.site-header.is-stuck .logo__plate { width: 134px; }

.logo__mark { width: 100%; height: auto; display: block; }
.logo__mark rect, .logo__mark path { fill: var(--brand-navy); }

.logo__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .96rem;
  line-height: 1;
  letter-spacing: -.022em;
  color: var(--brand-navy);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  margin: 5px 0;
}
.logo__name em { font-style: normal; font-weight: 700; color: var(--brand-grey); text-transform: none; }

.logo__bar {
  display: block;
  background: var(--brand-navy);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .335rem;
  letter-spacing: .17em;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: center;
  padding: 3px 2px;
  margin: 0 -10px;
  white-space: nowrap;
}
.site-footer .logo__plate { width: 196px; padding: 9px 13px 0; }
.site-footer .logo__name { font-size: 1.24rem; margin: 7px 0; }
.site-footer .logo__bar { font-size: .43rem; margin: 0 -13px; padding: 4px 2px; }

/* ---------- 23.4 Hero depth ---------- */
.hero { min-height: min(100svh, 980px); }
.hero__bg {
  mask-image: radial-gradient(120% 90% at 60% 30%, #000 30%, rgba(0,0,0,.35) 75%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 60% 30%, #000 30%, rgba(0,0,0,.35) 75%, transparent 100%);
}
.hero__glow {
  width: 1050px; height: 1050px;
  background: radial-gradient(circle, rgba(34,184,230,.22), rgba(34,184,230,.06) 42%, transparent 66%);
  animation: breathe 11s ease-in-out infinite;
}
.hero__glow--2 {
  background: radial-gradient(circle, rgba(58,96,180,.42), transparent 66%);
  animation: breathe 14s ease-in-out infinite reverse;
}
@keyframes breathe {
  0%, 100% { transform: scale(1) translate(0,0); opacity: .85; }
  50%      { transform: scale(1.16) translate(-2%, 3%); opacity: 1; }
}

.hero::after {
  content: "";
  position: absolute;
  top: -40%; left: -30%;
  width: 55%; height: 190%;
  background: linear-gradient(90deg, transparent, rgba(126,190,255,.055), transparent);
  transform: rotate(14deg);
  animation: sweep 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%, 100% { transform: translateX(0) rotate(14deg); opacity: 0; }
  35%      { opacity: 1; }
  70%      { transform: translateX(180%) rotate(14deg); opacity: 0; }
}

/* Live status pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 40px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 30px;
}
.pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan-bright);
  animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite;
  flex: none;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(69,211,255,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(69,211,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(69,211,255,0); }
}

/* Floating glass cards over the hero drawing */
.float-stats {
  position: absolute;
  right: -2%;
  bottom: 6%;
  display: grid;
  gap: 12px;
  z-index: 3;
}
.glass {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.6);
  animation: bob 6s ease-in-out infinite;
}
.glass:nth-child(2) { animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.glass b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
}
.glass span {
  display: block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}

/* ---------- 23.5 Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  background: var(--navy-900);
  border-block: 1px solid rgba(255,255,255,.09);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: scrollx 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-inline: 26px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.52);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--cyan);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- 23.6 Cards: elevation + spotlight ---------- */
.card { border-radius: 12px; box-shadow: var(--card-shadow); }
.card::before { height: 3px; border-radius: 12px 12px 0 0; }
.card:hover { transform: translateY(-7px); box-shadow: var(--card-shadow-lg); }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(34,184,230,.09), transparent 62%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

.card--dark {
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.014));
  border-color: rgba(255,255,255,.11);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
}
.card--dark:hover { border-color: rgba(34,184,230,.38); box-shadow: 0 28px 60px -24px rgba(0,0,0,.85); }
.card--dark::after { background: radial-gradient(320px circle at var(--mx,50%) var(--my,0%), rgba(34,184,230,.16), transparent 62%); }

.card__num { font-size: .72rem; letter-spacing: .2em; opacity: .9; }
.card__icon {
  width: 52px; height: 52px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(34,184,230,.09);
  border: 1px solid rgba(34,184,230,.2);
  transition: background .4s var(--ease), transform .5s var(--ease);
}
.card:hover .card__icon { background: rgba(34,184,230,.18); transform: scale(1.06) rotate(-3deg); }

/* ---------- 23.7 Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.bento > * { grid-column: span 2; }
.bento > .bento--wide, .bento > .bento--half { grid-column: span 3; }
.bento > .bento--full { grid-column: span 6; }

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: clamp(28px, 3vw, 40px);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(158deg, var(--navy-600), var(--navy-900) 72%);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(126,190,255,.06) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, rgba(126,190,255,.06) 1px, transparent 1px) 0 0 / 26px 26px;
}
.tile__art {
  position: absolute;
  right: -8%;
  top: -14%;
  width: 62%;
  opacity: .3;
  stroke: var(--cyan-bright);
  fill: none;
  stroke-width: 1.1;
  transition: transform .9s var(--ease), opacity .6s;
}
.tile:hover { transform: translateY(-7px); border-color: rgba(34,184,230,.4); box-shadow: 0 34px 70px -28px rgba(0,0,0,.9); }
.tile:hover .tile__art { transform: translate(-6%, 5%) scale(1.06); opacity: .5; }
.tile > * { position: relative; z-index: 1; }
.tile h3 { color: #fff; margin-bottom: 10px; }
.tile p { color: rgba(255,255,255,.66); font-size: .95rem; }
.tile .card__num { color: var(--cyan-bright); margin-bottom: auto; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx,50%) var(--my,0%), rgba(34,184,230,.14), transparent 62%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.tile:hover::after { opacity: 1; }

/* ---------- 23.8 Featured showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.showcase__index {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 9rem);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.05em;
  margin-bottom: 24px;
}
.showcase__visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(158deg, var(--navy-600), var(--navy-900) 74%);
  border: 1px solid rgba(255,255,255,.1);
  display: grid;
  place-items: center;
}
.showcase__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(126,190,255,.065) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(126,190,255,.065) 1px, transparent 1px) 0 0 / 28px 28px;
}
.showcase__visual svg { width: 66%; stroke: var(--cyan-bright); fill: none; stroke-width: 1.2; opacity: .48; position: relative; }
.showcase__visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.03);
  transition: transform 1.1s var(--ease), filter .6s;
}
.showcase:hover .showcase__visual img { transform: scale(1.045); filter: saturate(1) contrast(1.01); }

/* Spec readout rows */
.spec { display: grid; margin-top: 30px; border-top: 1px solid var(--line); }
.bp-dark .spec { border-color: rgba(255,255,255,.14); }
.spec div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
.bp-dark .spec div { border-color: rgba(255,255,255,.14); }
.spec .k {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-500);
}
.spec .v { font-weight: 500; text-align: right; }
.bp-dark .spec .v { color: #fff; }

/* ---------- 23.9 Stats ---------- */
.stats { border-radius: 12px; box-shadow: var(--card-shadow); }
.bp-dark .stats { box-shadow: none; }
.stat { position: relative; transition: background .4s var(--ease); }
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.stat:hover::before { transform: scaleX(1); }
.stat b { font-size: clamp(2.4rem, 4.6vw, 3.7rem); letter-spacing: -.04em; }

/* ---------- 23.10 Process ---------- */
.step__dot { width: 48px; height: 48px; font-size: .76rem; font-weight: 500; }
.step h4 { font-size: 1.1rem; }
.process::before { top: 24px; }

/* ---------- 23.11 Testimonials ---------- */
.quote {
  position: relative;
  padding: clamp(30px, 3.4vw, 44px);
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-lg); }
.quote__mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: .7;
  color: var(--cyan);
  opacity: .35;
  margin-bottom: 16px;
  display: block;
}
.quote p { font-size: 1.02rem; line-height: 1.72; color: var(--navy-700); }
.quote footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote__av {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy-500), var(--navy-900));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .86rem;
  flex: none;
}
.quote__who b { display: block; font-size: .95rem; font-weight: 600; color: var(--navy-700); }
.quote__who span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-500); }

/* ---------- 23.12 Projects ---------- */
.proj { border-radius: 12px; box-shadow: var(--card-shadow); }
.proj:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-lg); }
.proj__tag {
  padding: 6px 12px;
  border: 1px solid rgba(34,184,230,.4);
  background: rgba(34,184,230,.12);
  border-radius: 30px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.proj__body h3 { font-size: 1.24rem; }
.filter { border-radius: 30px; padding: 11px 20px; }
.filter.is-active { box-shadow: 0 10px 24px -10px rgba(20,39,78,.6); }

/* ---------- 23.13 Section edge accent ---------- */
.bp-dark::after {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,184,230,.55), transparent);
}

/* ---------- 23.14 CTA panel ---------- */
.cta-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: clamp(44px, 6vw, 88px);
  background: linear-gradient(150deg, var(--navy-600) 0%, var(--navy-900) 68%);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
}
.cta-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(126,190,255,.06) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(126,190,255,.06) 1px, transparent 1px) 0 0 / 30px 30px;
}
.cta-hero::after {
  content: "";
  position: absolute;
  right: -12%; top: -55%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(34,184,230,.28), transparent 62%);
  pointer-events: none;
}
.cta-hero > * { position: relative; z-index: 1; }
.cta-hero h2 { color: #fff; max-width: 16ch; }
.cta-hero .eyebrow { color: var(--cyan-bright); }
.cta-hero .eyebrow::before { background: var(--cyan); }
.cta-hero .lead { color: rgba(255,255,255,.7); }

/* ---------- 23.15 Footer polish ---------- */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  left: -8%; bottom: -60%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(34,184,230,.11), transparent 64%);
  pointer-events: none;
}
.site-footer .wrap { position: relative; z-index: 1; }

/* ---------- 23.16 Reveal ---------- */
[data-reveal] { transform: translateY(34px); transition-duration: .85s; }

/* ---------- 23.17 Scroll progress ---------- */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-bright));
  z-index: 300;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 24. Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento > *, .bento > .bento--wide, .bento > .bento--half { grid-column: span 2; }
  .bento > .bento--full { grid-column: span 4; }
  .float-stats { position: static; display: flex; gap: 12px; margin-top: 20px; }
  .glass { animation: none; flex: 1; }
}

@media (max-width: 920px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__draw { order: -1; max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .grid-3, .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .scroll-hint { display: none; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__visual { order: -1; }
  .hero::after { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 78px; }
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .proj-grid, .form__row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; row-gap: 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__meta div { border-right: 0; padding-right: 0; margin-right: 0; width: 50%; margin-bottom: 22px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .wa-fab { right: 16px; bottom: 16px; }
  .bento { grid-template-columns: 1fr; }
  .bento > *, .bento > .bento--wide, .bento > .bento--half, .bento > .bento--full { grid-column: span 1; }
  .float-stats { flex-direction: column; }
  .marquee__item { font-size: 1rem; }
  .cta-hero { border-radius: 12px; }
  .logo__plate, .site-header.is-stuck .logo__plate { width: 126px; padding: 6px 8px 0; }
  .logo__name { font-size: .8rem; margin: 4px 0; }
  .logo__bar { font-size: .275rem; margin: 0 -8px; }
  .site-footer .logo__plate { width: 168px; }
}
