/* RVR Projects — 2026 frontend
   Brand: navy + electric cyan from the RVR mark */

:root {
  --navy: #06101c;
  --navy-2: #0b1a2e;
  --navy-3: #10243f;
  --blue: #0056b8;
  --blue-deep: #003b8e;
  --cyan: #00b4f0;
  --cyan-2: #4dcef5;
  --cyan-dim: rgba(0, 180, 240, 0.14);
  --ink: #101820;
  --muted: #5c6b7a;
  --line: rgba(16, 24, 32, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);
  --paper: #f4f1eb;
  --paper-2: #e8ece8;
  --white: #ffffff;
  --sand: #d9cbb6;
  --danger: #c0392b;
  --ok: #1e8a4c;
  --shadow: 0 24px 60px rgba(6, 16, 28, 0.18);
  --radius: 14px;
  --header: 84px;
  --max: 1240px;
  --font-d: "Barlow Condensed", sans-serif;
  --font-b: "Titillium Web", sans-serif;
  --font-e: "Exo 2", sans-serif;
  --font-m: "Orbitron", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

#rvr-icons {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 1.2em;
  height: 1.2em;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.15em;
}
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 36px; height: 36px; }
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cyan-dim);
  color: var(--blue);
  flex-shrink: 0;
}
.icon-box .icon { width: 22px; height: 22px; vertical-align: 0; }
.inline-ico {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--cyan);
  color: var(--navy);
  padding: 8px 14px;
  z-index: 10000;
}
.skip:focus { left: 8px; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.container-wide {
  width: min(1440px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.eyebrow.dark { color: var(--blue); }

h1, h2, h3, h4, .display {
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.98;
  margin: 0;
  color: var(--navy);
  text-transform: uppercase;
}
.display {
  font-size: clamp(2.8rem, 7vw, 6.1rem);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.55rem; letter-spacing: 0.04em; }
h4 { font-size: 1.15rem; letter-spacing: 0.06em; }

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
}

.section {
  padding: 96px 0;
  position: relative;
}
.section-tight { padding: 72px 0; }
.section-dark {
  background: var(--navy);
  color: #d7e2ee;
}
.section-dark h2, .section-dark h3, .section-dark .display { color: var(--white); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-e);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(0, 180, 240, 0.28);
}
.btn-primary:hover { background: var(--cyan-2); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--cyan); color: var(--cyan); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--blue); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#preloader.hide {
  opacity: 0;
  visibility: hidden;
}
#preloader img {
  width: min(180px, 46vw);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

/* Header */
.topbar {
  background: #040b14;
  color: #9fb0c3;
  font-size: 12px;
  font-family: var(--font-e);
  letter-spacing: 0.04em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  gap: 16px;
}
.topbar a:hover { color: var(--cyan); }
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.is-home {
  position: sticky;
  top: 0;
}
.site-header .nav-wrap {
  background: var(--navy);
}
.site-header.is-home .nav-wrap {
  background: linear-gradient(180deg, rgba(6,16,28,0.72), rgba(6,16,28,0.08));
}
.site-header.scrolled .nav-wrap,
.site-header.is-home.scrolled .nav-wrap {
  background: rgba(6, 16, 28, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.nav-wrap {
  min-height: var(--header);
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1440px, calc(100% - 40px));
  margin-inline: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  height: 42px;
  width: auto;
  mix-blend-mode: screen;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav > a,
.nav .drop > button {
  color: #e8eef5;
  font-family: var(--font-e);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.nav > a:hover,
.nav .drop > button:hover,
.nav > a.active {
  color: var(--cyan);
}
.drop { position: relative; }
.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #0a1728;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 10px;
  display: none;
  box-shadow: var(--shadow);
}
.drop:hover .drop-menu,
.drop:focus-within .drop-menu { display: grid; }
.drop-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #d5e0ec;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drop-menu a:hover { background: var(--cyan-dim); color: var(--cyan); }
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-light);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  position: absolute;
  width: 18px; height: 1.5px;
  background: #fff;
  left: 12px;
  transition: 0.25s;
}
.hamburger span { top: 21px; }
.hamburger span::before { content: ""; top: -6px; }
.hamburger span::after { content: ""; top: 6px; }
.nav-open .hamburger span { background: transparent; }
.nav-open .hamburger span::before { top: 0; transform: rotate(45deg); }
.nav-open .hamburger span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: calc(-1 * var(--header));
  color: #fff;
  overflow: hidden;
  display: grid;
  align-items: end;
  background: #000;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: ken 18s linear infinite;
}
.hero-slide.active { opacity: 1; }
@keyframes ken {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to { transform: scale(1.14) translate3d(0, -1.5%, 0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,16,28,0.35) 0%, rgba(6,16,28,0.28) 40%, rgba(6,16,28,0.88) 100%),
    radial-gradient(60% 80% at 15% 80%, rgba(0,180,240,0.18), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 88px;
  width: min(1440px, calc(100% - 40px));
  margin-inline: auto;
}
.hero-content h1 {
  color: #fff;
  max-width: 16ch;
  margin: 18px 0 20px;
}
.hero-content .lead { color: #c9d6e4; max-width: 52ch; margin-bottom: 28px; }
.hero-dots {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  gap: 10px;
}
.hero-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { background: var(--cyan); transform: scale(1.3); }
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #bcd;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  margin: 8px auto 0;
  background: linear-gradient(var(--cyan), transparent);
}

/* Bento metrics */
.bento-wrap {
  padding: 72px 0 24px;
  background:
    radial-gradient(80% 60% at 90% 0%, rgba(0,180,240,0.16), transparent 55%),
    radial-gradient(60% 50% at 0% 100%, rgba(0,86,184,0.08), transparent 50%),
    #eef1f6;
}
.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
}
.bento-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  display: flex;
  flex-direction: column;
}
.bento-card h3 {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-e);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
.bento-card p { color: #5b6573; }
.bento-card .metric {
  font-family: var(--font-m);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--blue-deep);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-top: auto;
  padding-top: 18px;
}
.bento-card .metric span {
  display: block;
  font-family: var(--font-b);
  font-size: 14px;
  color: #667085;
  letter-spacing: 0;
  margin-top: 6px;
  font-weight: 400;
}
.bento-a { grid-row: 1 / 3; min-height: 340px; }
.bento-c { grid-row: 1 / 3; }
.bento-tail { grid-column: 2; }
.bento-partners {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-e);
  font-weight: 600;
}
.bento-card:has(.bento-partners) {
  justify-content: center;
  min-height: 92px;
  padding: 20px 24px;
}
.avatar-stack { display: flex; }
.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e4e7ec;
  margin-left: -8px;
}
.avatar-stack img:first-child { margin-left: 0; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-2);
  color: #fff;
  border-top: 1px solid var(--line-light);
}
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line-light);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-m);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: 0.04em;
  color: var(--cyan);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 8px;
  color: #9fb0c3;
  font-size: 14px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
  animation-play-state: paused;
}
.reveal.in { animation-play-state: running; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* Specs cards */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.spec-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  isolation: isolate;
  min-height: 240px;
}
.spec-card.wide { grid-column: span 2; }
.spec-card.tall { grid-row: span 2; min-height: 496px; }
.spec-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.spec-card:hover img { transform: scale(1.08); }
.spec-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,16,28,0.05), rgba(6,16,28,0.82));
}
.spec-card .body {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  z-index: 1;
}
.spec-card .num {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.spec-card h3 { color: #fff; font-size: 1.7rem; margin: 6px 0 8px; }
.spec-card p { color: #c9d5e2; font-size: 14px; max-width: 42ch; }

/* Featured band */
.featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
  background: var(--navy);
  color: #d7e2ee;
}
.featured-media {
  background-size: cover;
  background-position: center;
  min-height: 360px;
}
.featured-copy {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-copy h2 { color: #fff; margin: 12px 0 18px; }
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.metric-row b {
  display: block;
  font-family: var(--font-m);
  font-size: 1.35rem;
  color: var(--cyan);
}
.metric-row span { font-size: 13px; color: #9fb0c3; }

/* Clients */
.clients-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 28px 0;
}
.marquee {
  display: flex;
  gap: 48px;
  animation: marquee 32s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee img {
  height: 52px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.85;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  min-height: 220px;
}
.value .icon-box { margin-bottom: 12px; }
.value .idx {
  font-family: var(--font-m);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.value h3 { margin: 16px 0 10px; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.person {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  filter: grayscale(0.15);
  background: #eef2f6;
}
.person .meta { padding: 18px 18px 22px; }
.person h3 { font-size: 1.05rem; }
.person .role {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  margin: 4px 0 8px;
}
.person p { font-size: 13.5px; color: var(--muted); }

/* Timeline */
.timeline {
  position: relative;
  margin-left: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--cyan), var(--blue-deep));
}
.tl-item {
  position: relative;
  padding: 0 0 36px 42px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--cyan);
}
.tl-item strong {
  display: block;
  font-family: var(--font-d);
  font-size: 1.15rem;
}

/* Company journey */
.journey {
  background: #fff;
  padding: 96px 0 80px;
  text-align: center;
}
.journey .lead { margin: 12px auto 0; }
.journey-track {
  position: relative;
  max-width: 980px;
  margin: 56px auto 0;
  text-align: left;
}
.journey-track::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--blue));
  transform: translateX(-50%);
  opacity: 0.35;
}
.j-row {
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: start;
  gap: 8px;
  margin-bottom: 28px;
}
.j-card {
  background: #f7f8fb;
  border-radius: 16px;
  padding: 18px 20px;
}
.j-card h3 {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-e);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.j-card p { color: #5b6573; font-size: 14.5px; }
.j-card .year {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 4px;
}
.j-row.left .j-card { grid-column: 1; text-align: right; }
.j-row.right .j-card { grid-column: 3; }
.j-row.left .j-badge { grid-column: 2; }
.j-row.right .j-badge { grid-column: 2; }
.j-badge {
  justify-self: center;
  width: 58px;
  border-radius: 14px;
  background: #d8e0ff;
  color: var(--blue-deep);
  text-align: center;
  padding: 8px 0 10px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px #fff;
}
.j-badge.alt { background: var(--cyan); color: var(--navy); }
.j-badge small {
  display: block;
  font-family: var(--font-e);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.j-badge b {
  display: block;
  font-family: var(--font-m);
  font-size: 18px;
  margin-top: 2px;
}
.journey-foot {
  margin-top: 48px;
  text-align: center;
}
.journey-foot h3 {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-e);
  margin-bottom: 8px;
}
.award-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
  align-items: center;
}
.award-row img {
  height: 36px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
}

/* Projects */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: var(--font-e);
  font-weight: 600;
  font-size: 13px;
}
.filters button.active,
.filters button:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card .thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.project-card .tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(6,16,28,0.82);
  color: var(--cyan);
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}
.project-card .body { padding: 18px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.project-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.project-card p { color: var(--muted); font-size: 14px; flex: 1; }
.meta-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--blue);
  font-weight: 700;
}
.project-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
table.projects {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
table.projects th,
table.projects td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}
table.projects th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
table.projects tr:hover td { background: #f7fafc; }
table.projects td strong { display: block; margin-bottom: 4px; }

/* Page hero */
.page-hero {
  position: relative;
  min-height: 360px;
  color: #fff;
  display: grid;
  align-items: end;
  background: #000 center/cover no-repeat;
  padding: 140px 0 56px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,16,28,0.45), rgba(6,16,28,0.82));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.crumbs {
  color: #b7c4d2;
  font-size: 13px;
  margin-bottom: 12px;
}
.crumbs a:hover { color: var(--cyan); }

/* Spec detail */
.spec-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.spec-points li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
}
.spec-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 10px; height: 10px;
  background: var(--cyan);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}
.side-card {
  background: var(--navy);
  color: #d7e2ee;
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 108px;
}
.side-card h3 { color: #fff; margin-bottom: 12px; }
.side-card a { color: var(--cyan); }

/* Jobs */
.jobs {
  display: grid;
  gap: 14px;
}
.job {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr auto;
  gap: 12px;
  align-items: center;
}
.job h3 { font-size: 1.05rem; }
.job .loc { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cyan-dim);
  color: var(--blue-deep);
  font-family: var(--font-e);
  font-size: 12px;
  font-weight: 600;
}

/* Offices */
.offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.office {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.office .icon-box { margin-bottom: 14px; }
.office h3 { margin-bottom: 12px; }
.office a { color: var(--blue); font-weight: 700; }
.office p { color: var(--muted); }

/* Forms */
form.stack { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span {
  font-family: var(--font-e);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-success {
  display: none;
  background: #e8f7ee;
  color: var(--ok);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
}
.form-success.show { display: block; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.map-embed {
  border: 0;
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  filter: grayscale(0.35) contrast(1.05);
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, rgba(6,16,28,0.88), rgba(0,59,142,0.78)),
    var(--cta-img, #06101c) center/cover no-repeat;
  color: #fff;
  padding: 88px 0;
}
.cta-band h2 { color: #fff; max-width: 16ch; margin: 10px 0 18px; }

/* Footer */
.site-footer {
  background: #040b14;
  color: #b7c4d2;
  padding: 64px 0 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 0.95rem; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .brand img { height: 46px; mix-blend-mode: screen; margin-bottom: 16px; }
.giant {
  font-family: var(--font-m);
  font-size: clamp(3.4rem, 12vw, 9.5rem);
  line-height: 0.8;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.04);
  text-align: center;
  user-select: none;
}
.legal {
  border-top: 1px solid var(--line-light);
  padding: 16px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #7e8ea0;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(6,16,28,0.72);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
}
.modal.open { display: grid; }
.modal-card {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  position: relative;
  max-height: 90vh;
  overflow: auto;
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: 0;
  background: var(--paper);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

/* Resume upload — careers */
.resume-stage {
  background: #eceff4;
  padding: 72px 20px 96px;
}
.resume-card {
  width: min(640px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 36px 36px 28px;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.12);
  position: relative;
  transition: box-shadow 0.35s var(--ease);
}
.resume-card.pulse {
  box-shadow: 0 28px 80px rgba(0, 86, 184, 0.28);
}
.resume-card h2 {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-e);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.2;
}
.resume-card .sub {
  color: #667085;
  margin: 6px 0 22px;
  font-size: 15px;
}
.dropzone {
  border: 1.5px dashed #d0d5dd;
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  background: #fcfcfd;
  transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover,
.dropzone.drag {
  border-color: var(--blue);
  background: #f5f9ff;
}
.dropzone .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 12px;
  border: 1px solid #eaecf0;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,0.06);
}
.dropzone strong {
  display: block;
  font-family: var(--font-e);
  font-size: 14.5px;
  color: var(--ink);
}
.dropzone small {
  display: block;
  margin-top: 4px;
  color: #98a2b3;
  font-size: 13px;
}
.dropzone input { display: none; }
.dropzone.has-file {
  border-style: solid;
  border-color: var(--cyan);
  background: #f3fbff;
}
.skills-label {
  font-family: var(--font-e);
  font-weight: 700;
  font-size: 15px;
  margin: 26px 0 10px;
}
.skills-input {
  width: 100%;
  min-height: 88px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 12px 14px;
  resize: vertical;
  outline: none;
  font-family: var(--font-b);
}
.skills-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,86,184,0.12); }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  border: 1px solid #e4e7ec;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-e);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: #344054;
}
.chip:hover,
.chip.on {
  border-color: var(--blue);
  color: var(--blue);
  background: #f5f9ff;
}
.resume-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.resume-actions .btn {
  min-width: 140px;
  border-radius: 12px;
}
.resume-actions .btn-share {
  background: #2f6bff;
  color: #fff;
  box-shadow: none;
}
.resume-actions .btn-share:hover { background: #1f5ae6; }
.resume-actions .btn-draft {
  background: #fff;
  border: 1px solid #d0d5dd;
  color: var(--ink);
}
.resume-actions .btn-draft:hover { background: #f9fafb; color: var(--ink); }
.modal.resume-modal { background: #dfe3ea; }
.modal.resume-modal .modal-card {
  width: min(640px, 100%);
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.modal.resume-modal .resume-card { margin: 0; }
.modal.resume-modal .modal-close {
  top: 18px;
  right: 18px;
  background: transparent;
  font-size: 22px;
  color: #667085;
}

/* Misc */
.hex-bg {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,180,240,0.12) 1px, transparent 0);
  background-size: 22px 22px;
}
.quote-mark {
  font-family: var(--font-d);
  font-size: 4rem;
  color: var(--cyan);
  line-height: 1;
}
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
}
.panel.navy { background: var(--navy); color: #d7e2ee; border: 0; }
.panel.navy h3 { color: #fff; }

.hidden { display: none !important; }

@media (max-width: 1024px) {
  .split, .featured, .spec-layout, .contact-grid, .bento { grid-template-columns: 1fr; }
  .bento-a, .bento-c, .bento-tail { grid-row: auto; grid-column: auto; min-height: 0; }
  .j-row, .j-row.left, .j-row.right { grid-template-columns: 58px 1fr; }
  .j-row.left .j-card, .j-row.right .j-card { grid-column: 2; text-align: left; }
  .j-row.left .j-badge, .j-row.right .j-badge { grid-column: 1; }
  .journey-track::before { left: 29px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .spec-card.wide, .spec-card.tall { grid-column: span 1; grid-row: span 1; min-height: 220px; }
  .stats, .values, .team-grid, .offices, .project-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .job { grid-template-columns: 1fr; }
  .featured-copy { padding: 40px 28px; }
  .hero-dots { right: 14px; }
}

@media (max-width: 820px) {
  .hamburger { display: block; }
  .nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    background: #0a1728;
    border: 1px solid var(--line-light);
    border-radius: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    z-index: 90;
  }
  .nav-open .nav { display: flex; }
  .drop-menu { position: static; display: grid; min-width: 0; box-shadow: none; border: 0; background: transparent; }
  .nav-cta { margin: 8px; }
  .topbar { display: none; }
  .site-header.is-home .nav-wrap { background: var(--navy); }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .stats, .values, .team-grid, .offices, .project-grid, .foot-grid, .vision-grid, .form-row, .specs-grid, .metric-row {
    grid-template-columns: 1fr;
  }
  .spec-card.wide { grid-column: auto; }
  .section { padding: 64px 0; }
  .legal { flex-direction: column; }
  .hero { min-height: 92vh; }
  .brand img { height: 34px; }
  .resume-card { padding: 28px 20px 22px; border-radius: 22px; }
  .resume-actions { flex-direction: column-reverse; }
  .resume-actions .btn { width: 100%; }
  .mats, .insights { grid-template-columns: 1fr; }
  .hero-chips { left: 16px; right: 16px; bottom: 72px; }
}

/* Statbar — Catalyst-style strip */
.statbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.statbar div {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.statbar div:last-child { border-right: 0; }
.statbar b {
  display: block;
  font-family: var(--font-m);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--navy);
}
.statbar span {
  font-size: 13px;
  color: var(--muted);
}

.hero-chips {
  position: absolute;
  left: max(20px, calc((100% - 1440px) / 2 + 20px));
  bottom: 92px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 640px;
}
.hero-chips span {
  background: rgba(6,16,28,0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--font-e);
  font-size: 12px;
  font-weight: 600;
}
.hero-float {
  position: absolute;
  right: 6%;
  top: 28%;
  z-index: 4;
  background: rgba(255,255,255,0.94);
  color: var(--navy);
  border-radius: 16px;
  padding: 16px 18px;
  max-width: 240px;
  box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}
.hero-float strong {
  display: block;
  font-family: var(--font-e);
  font-size: 14px;
  margin-bottom: 4px;
}
.hero-float span { font-size: 13px; color: var(--muted); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.trust-ticker {
  overflow: hidden;
  background: var(--navy);
  color: #9fb0c3;
  padding: 14px 0;
  font-family: var(--font-e);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-ticker .marquee { gap: 40px; animation-duration: 28s; }
.trust-ticker span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

.purpose {
  padding: 88px 0;
  background: #fff;
}
.purpose-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.purpose-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.purpose .avatars {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.purpose .avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -10px;
  box-shadow: 0 0 0 1px #e4e7ec;
}
.purpose .avatars img:first-child { margin-left: 0; }
.about-photos {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}
.about-photos img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
}
.about-photos img:last-child { height: 200px; margin-top: auto; }

.solutions-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sol-card {
  position: relative;
  min-height: 340px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.sol-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.sol-card:hover img { transform: scale(1.06); }
.sol-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,16,28,0.86));
}
.sol-card .body {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 1;
}
.sol-card h3 {
  color: #fff;
  font-size: 1.6rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-e);
}
.sol-card p { color: #c9d6e4; font-size: 14px; }

.mats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mat-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.mat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mat-card img { height: 150px; width: 100%; object-fit: cover; }
.mat-card .body { padding: 14px 16px 18px; }
.mat-card h3 {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-e);
  font-size: 1.05rem;
  margin: 8px 0 6px;
}
.mat-card p { font-size: 13.5px; color: var(--muted); }
.mat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.mat-tags span {
  font-size: 10px;
  font-family: var(--font-e);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cyan-dim);
  color: var(--blue-deep);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.quote-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.quote-block blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  color: var(--navy);
}
.quote-block cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: var(--font-e);
  font-size: 13px;
  color: var(--muted);
}
.quote-block img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
}

.insights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.insight {
  display: block;
  color: inherit;
}
.insight img {
  height: 150px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}
.insight h3 {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-e);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.insight p { font-size: 13.5px; color: var(--muted); }

.proj-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.proj-facts b { display: block; color: var(--navy); font-family: var(--font-e); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.text-link {
  font-family: var(--font-e);
  font-weight: 700;
  color: var(--blue);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.progress-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.progress-card {
  position: relative;
  min-height: 340px;
  border-radius: 18px;
  overflow: hidden;
  background: #000 center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: end;
  padding: 24px;
}
.progress-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(6,16,28,0.82));
}
.progress-card > * { position: relative; z-index: 1; }
.progress-card h3 { color: #fff; text-transform: none; letter-spacing: 0; font-family: var(--font-e); }
.pct {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-m);
  font-size: 1.8rem;
  color: var(--cyan);
  z-index: 1;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 0;
  font-family: var(--font-e);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item .a {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 0.4s var(--ease), padding 0.4s;
}
.faq-item.open .a { max-height: 180px; padding-bottom: 14px; }
.faq-item button svg { transition: transform 0.3s; }
.faq-item.open button svg { transform: rotate(180deg); }

/* Apply page */
.apply-page {
  background: #eef1f6;
  min-height: 100vh;
}
.apply-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0 80px;
}
.apply-side {
  position: sticky;
  top: 108px;
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  background: #000 center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  isolation: isolate;
}
.apply-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,16,28,0.15), rgba(6,16,28,0.82));
}
.apply-side > * { position: relative; z-index: 1; }
.apply-side h1 { color: #fff; }
.apply-form-wrap {
  animation: rise 0.8s var(--ease) both;
}
.apply-form-wrap .resume-card { width: 100%; }
.apply-form-wrap .field input,
.apply-form-wrap .field select {
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.apply-form-wrap .field input:focus,
.apply-form-wrap .field select:focus {
  transform: translateY(-1px);
}
.dropzone { transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s; }
.dropzone.drag { transform: scale(1.01); }
.chip { transition: transform 0.2s, background 0.2s, border-color 0.2s; }
.chip:hover { transform: translateY(-1px); }

@media (max-width: 1024px) {
  .apply-shell, .faq-grid, .progress-grid, .about-photos, .statbar,
  .purpose-grid, .solutions-3, .quote-block { grid-template-columns: 1fr; }
  .mats, .insights { grid-template-columns: 1fr 1fr; }
  .hero-float { display: none; }
  .apply-side { position: relative; top: 0; min-height: 280px; }
  .statbar div { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .hero-slide, .marquee, #preloader img { animation: none; }
}
