/* ── FHA Design Tokens ───────────────────────────────────────── */
:root {
  --navy: #0D1F4C;
  --navy-2: #122759;
  --navy-deep: #08153A;
  --navy-ink: #0A1A40;
  --gold: #C9A84C;
  --gold-soft: #D9BC68;
  --teal: #3AAFB9;
  --paper: #F7F5F0;
  --paper-2: #EFEBE2;
  --line: #DCD6C8;
  --ink: #1A2340;
  --ink-2: #4A5273;
  --ink-3: #8B91A8;
  --white: #ffffff;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --t-display: clamp(40px, 5.6vw, 78px);
  --t-h1: clamp(34px, 4vw, 56px);
  --t-h2: clamp(26px, 2.4vw, 38px);
  --t-h3: 22px;
  --t-body: 16px;
  --t-small: 13px;
  --t-mono: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* type primitives */
.eyebrow {
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  font-size: var(--t-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow.muted { color: var(--ink-3); }
.eyebrow .dash { display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }

h1, h2, h3, h4 { font-family: "Manrope", sans-serif; margin: 0; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; font-weight: 600; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.01em; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── App scaffold ────────────────────────────────────────────── */
#app { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: 1440px; margin: 0 auto;
}
.nav .brand { display: flex; align-items: center; gap: 12px; }
.nav .brand img { width: 36px; height: 36px; object-fit: contain; background: white; border-radius: 4px; padding: 2px; }
.nav .brand-text { line-height: 1; }
.nav .brand-text .name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--white); }
.nav .brand-text .sub { font-size: 10.5px; color: rgba(255,255,255,0.62); letter-spacing: 0.04em; margin-top: 3px; }
.nav.solid .brand-text .name { color: var(--navy); }
.nav.solid .brand-text .sub { color: var(--ink-3); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links button {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85);
  padding: 8px 0; position: relative; letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links button:hover { color: var(--white); }
.nav-links button.active { color: var(--white); }
.nav-links button.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold);
}
.nav.solid .nav-links button { color: var(--ink-2); }
.nav.solid .nav-links button:hover { color: var(--navy); }
.nav.solid .nav-links button.active { color: var(--navy); }

.nav-cta {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 9px 18px;
  font-size: 13px; font-weight: 500;
  border-radius: var(--r-sm);
  transition: all 0.2s;
}
.nav-cta:hover { border-color: var(--gold); color: var(--gold); }
.nav.solid .nav-cta { border-color: var(--navy); color: var(--navy); }
.nav.solid .nav-cta:hover { background: var(--navy); color: var(--white); }

.nav.solid {
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}

/* mobile hamburger */
.nav-burger { display: none; width: 28px; height: 20px; position: relative; }
.nav-burger span { position: absolute; left: 0; right: 0; height: 2px; background: var(--white); transition: all 0.3s; }
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 9px; }
.nav-burger span:nth-child(3) { top: 18px; }
.nav.solid .nav-burger span { background: var(--navy); }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .mobile-menu.open + .nav-burger span:nth-child(1) { top: 9px; transform: rotate(45deg); }
  .mobile-menu.open + .nav-burger span:nth-child(2) { opacity: 0; }
  .mobile-menu.open + .nav-burger span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
}

.mobile-menu {
  position: fixed; top: 70px; left: 0; right: 0;
  background: var(--navy);
  padding: 24px var(--gutter);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: all 0.25s ease;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu button { text-align: left; color: var(--white); font-size: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu button.active { color: var(--gold); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--r-sm);
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.btn-outline-light { background: transparent; color: var(--white); border-color: var(--gold); }
.btn-outline-light:hover { background: var(--gold); color: var(--navy); }

.btn-text { background: transparent; color: var(--gold); padding: 8px 0; }
.btn-text:hover { color: var(--gold-soft); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 180px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 80% 10%, rgba(58, 175, 185, 0.12), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(201, 168, 76, 0.08), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-deep) 100%);
}
.hero-grid-overlay {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .hero-layout { grid-template-columns: 1fr; gap: 48px; } }

.hero h1 {
  color: var(--white);
  font-size: var(--t-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-top: 18px;
}
.hero h1 .accent { color: var(--gold); font-style: normal; }
.hero .sub {
  margin-top: 26px;
  max-width: 540px;
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}
.hero-ctas { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-ctas .download {
  margin-left: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 4px 0;
  transition: color 0.2s, border-color 0.2s;
}
.hero-ctas .download:hover { color: var(--gold); border-bottom-color: var(--gold); }

.hero-meta {
  margin-top: 60px;
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; display: inline-block; }

/* hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  width: 100%;
  margin-left: auto;
}

/* ── Stats bar ──────────────────────────────────────────────── */
.stats {
  background: var(--navy-deep);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto;
}
.stat {
  padding: 38px var(--gutter);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: 0; }
.stat .num { font-size: 44px; font-weight: 600; color: var(--white); letter-spacing: -0.03em; line-height: 1; }
.stat .num .plus { color: var(--gold); font-weight: 500; }
.stat .label { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 0.02em; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ── Section primitives ─────────────────────────────────────── */
.section { padding: 110px 0; }
.section-tight { padding: 80px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-paper2 { background: var(--paper-2); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 16px; display: block; }
.section-head p.lead { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 580px; }
.section-dark .section-head p.lead { color: rgba(255,255,255,0.7); }

.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.split-head .left { max-width: 640px; }
.split-head .right { font-size: 14px; color: var(--ink-2); }

/* ── Capabilities grid ──────────────────────────────────────── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 880px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }
.cap {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 30px;
  background: var(--paper);
  position: relative;
  transition: background 0.2s;
}
.cap:hover { background: var(--white); }
.cap .num { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--gold); letter-spacing: 0.1em; }
.cap .icon {
  width: 44px; height: 44px;
  border: 1px solid var(--navy);
  display: grid; place-items: center;
  margin: 18px 0 22px;
  color: var(--navy);
}
.cap h3 { color: var(--navy); margin-bottom: 10px; }
.cap p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* ── Project cards ─────────────────────────────────────────── */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .proj-grid { grid-template-columns: 1fr; } }

.proj-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(13, 31, 76, 0.18); }
.proj-card .media {
  aspect-ratio: 4/3;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.proj-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.proj-card .tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tag {
  font-size: 11px; padding: 4px 10px; border-radius: 100px;
  background: var(--paper-2); color: var(--navy);
  font-family: "JetBrains Mono", monospace; letter-spacing: 0.04em;
}
.tag.gold { background: rgba(201, 168, 76, 0.15); color: #8C7228; }
.proj-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 19px; }
.proj-card .client { font-size: 12px; color: var(--ink-3); font-family: "JetBrains Mono", monospace; letter-spacing: 0.04em; margin-bottom: 12px; text-transform: uppercase; }
.proj-card p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.proj-card .link { margin-top: 18px; color: var(--navy); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }

/* ── Why FHA ────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }
.why {
  padding: 44px 36px 44px 0;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.why:last-child { border-right: 0; padding-right: 0; }
.why:not(:first-child) { padding-left: 36px; }
@media (max-width: 880px) {
  .why { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 36px 0; }
  .why:not(:first-child) { padding-left: 0; }
  .why:last-child { border-bottom: 0; }
}
.why .num { font-family: "JetBrains Mono", monospace; color: var(--gold); font-size: 13px; letter-spacing: 0.1em; }
.why h3 { color: var(--white); margin: 16px 0 12px; font-size: 22px; }
.why p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.65; }

/* ── Partners strip ─────────────────────────────────────────── */
.partners { padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.partners-label { text-align: center; color: var(--ink-3); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 36px; font-family: "JetBrains Mono", monospace; }
.partners-row { display: flex; justify-content: space-around; align-items: center; gap: 40px; flex-wrap: wrap; }
.partner-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  transition: color 0.2s;
  font-family: "Manrope", sans-serif;
}
.partner-name:hover { color: var(--navy); }
.partner-name .dot { color: var(--gold); }

/* Marquee — continuous horizontal scroll of partner logos */
.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row {
  display: flex;
  flex-shrink: 0;
}
.marquee-row .logo-plate {
  flex: 0 0 auto;
  width: 240px;
  height: 130px;
  border: 1px solid var(--line);
  margin-right: 18px;
  border-radius: 6px;
  background: var(--white);
}
.marquee-row .logo-plate img {
  max-height: 92px;
  max-width: 190px;
  object-fit: contain;
  object-position: center;
}
.marquee-row .logo-plate.fit {
  padding: 0;
  overflow: hidden;
}
.marquee-row .logo-plate.fit img {
  max-height: none;
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Legacy grid kept for reference (unused) */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}
@media (max-width: 1100px) { .logos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .logos-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-plate {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  height: 120px;
  display: grid;
  place-items: center;
  padding: 22px 24px;
  background: var(--white);
  transition: background 0.2s;
}
.logo-plate:hover { background: var(--paper); }
.logo-plate img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: saturate(0.92);
  transition: filter 0.25s, transform 0.25s;
}
.logo-plate:hover img { filter: none; transform: scale(1.03); }

/* ── Map block ──────────────────────────────────────────────── */
.geo {
  background: var(--navy);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.geo-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .geo-grid { grid-template-columns: 1fr; } }
.geo h2 { color: var(--white); }
.geo p { color: rgba(255,255,255,0.72); margin-top: 18px; font-size: 16px; max-width: 440px; }
.geo-list { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.geo-list .item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.85); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.geo-list .item .pin { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand-block { max-width: 320px; }
.footer .brand-block img { width: 44px; height: 44px; background: white; border-radius: 4px; padding: 3px; margin-bottom: 16px; }
.footer .brand-block .name { color: var(--white); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.footer .brand-block .tag { color: var(--gold); font-size: 12px; margin-top: 4px; letter-spacing: 0.04em; }
.footer .brand-block p { color: rgba(255,255,255,0.55); font-size: 13.5px; margin-top: 18px; line-height: 1.6; }
.footer h4 { color: var(--white); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; font-family: "JetBrains Mono", monospace; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul button { color: rgba(255,255,255,0.65); font-size: 14px; transition: color 0.2s; }
.footer ul button:hover { color: var(--gold); }
.footer-bottom { margin-top: 60px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 16px; }
.footer-bottom .meta { font-family: "JetBrains Mono", monospace; letter-spacing: 0.06em; }

/* ── Page hero (for sub-pages) ──────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 180px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero .crumbs { font-family: "JetBrains Mono", monospace; font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; margin-bottom: 24px; }
.page-hero .crumbs .sep { margin: 0 10px; color: rgba(255,255,255,0.3); }
.page-hero h1 { color: var(--white); max-width: 880px; }
.page-hero .sub { color: rgba(255,255,255,0.72); margin-top: 22px; max-width: 640px; font-size: 17px; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 90% 50%, rgba(58, 175, 185, 0.12), transparent 60%);
  pointer-events: none;
}

/* ── Service blocks ─────────────────────────────────────────── */
.serv-list { display: flex; flex-direction: column; }
.serv {
  display: grid; grid-template-columns: 100px 1fr 2fr; gap: 36px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.serv:last-child { border-bottom: 1px solid var(--line); }
.serv .num { font-family: "JetBrains Mono", monospace; color: var(--gold); font-size: 14px; letter-spacing: 0.1em; padding-top: 6px; }
.serv h3 { color: var(--navy); font-size: 24px; }
.serv .desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.serv .desc .featured { display: block; margin-top: 14px; font-size: 12px; color: var(--ink-3); font-family: "JetBrains Mono", monospace; letter-spacing: 0.04em; }
@media (max-width: 780px) {
  .serv { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
}

/* ── Industries grid ────────────────────────────────────────── */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 880px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
.ind {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 28px;
  background: var(--paper);
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  transition: background 0.2s;
}
.ind:hover { background: var(--white); }
.ind .num { font-family: "JetBrains Mono", monospace; color: var(--gold); font-size: 12px; letter-spacing: 0.1em; }
.ind .icon { width: 36px; height: 36px; color: var(--navy); }
.ind h3 { font-size: 18px; color: var(--navy); }

/* ── About ──────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-grid .stmt { font-size: 22px; line-height: 1.5; color: var(--navy); letter-spacing: -0.015em; }
.about-grid p { color: var(--ink-2); font-size: 16px; margin-top: 18px; line-height: 1.7; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .vm-grid { grid-template-columns: 1fr; } }
.vm {
  border: 1px solid var(--line);
  padding: 36px;
  background: var(--paper);
}
.vm .label { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--gold); letter-spacing: 0.12em; margin-bottom: 18px; }
.vm h3 { color: var(--navy); font-size: 22px; line-height: 1.3; }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { border: 1px solid var(--line); padding: 28px; background: var(--paper); display: flex; gap: 24px; align-items: center; }
.team-card .avatar {
  width: 88px; height: 88px; flex-shrink: 0;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-size: 28px; font-weight: 600;
  border-radius: 4px;
  letter-spacing: -0.02em;
}
.team-card h3 { color: var(--navy); font-size: 20px; }
.team-card .role { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--gold); letter-spacing: 0.08em; margin-top: 4px; }
.team-card p { color: var(--ink-2); font-size: 13.5px; margin-top: 10px; line-height: 1.55; }
.team-card .li-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  color: var(--navy);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 10px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  transition: all 0.2s;
  font-family: "JetBrains Mono", monospace;
}
.team-card .li-link:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── Case study (Projects page) ─────────────────────────────── */
.case-list { display: flex; flex-direction: column; gap: 28px; }
.case {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.case:nth-child(even) { grid-template-columns: 1.3fr 1fr; }
.case:nth-child(even) .media { order: 2; }
@media (max-width: 880px) {
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .media { order: 0; }
}
.case .media { background: var(--navy); aspect-ratio: 4/3; position: relative; min-height: 280px; }
.case .body { padding: 44px; }
.case .num { font-family: "JetBrains Mono", monospace; color: var(--gold); font-size: 13px; letter-spacing: 0.1em; }
.case h3 { color: var(--navy); margin: 14px 0 6px; font-size: 26px; }
.case .client { font-size: 13px; color: var(--ink-3); font-family: "JetBrains Mono", monospace; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; }
.case .overview { font-size: 15.5px; color: var(--ink-2); line-height: 1.65; }
.case .role { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.case .role .row { display: flex; gap: 16px; font-size: 13px; }
.case .role .row .k { font-family: "JetBrains Mono", monospace; color: var(--ink-3); letter-spacing: 0.06em; min-width: 100px; }
.case .role .row .v { color: var(--navy); font-weight: 500; }

/* ── Insights ───────────────────────────────────────────────── */
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .ins-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .ins-grid { grid-template-columns: 1fr; } }
.ins-card { border: 1px solid var(--line); background: var(--paper); padding: 0; display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; transition: all 0.2s; }
.ins-card:hover { background: var(--white); transform: translateY(-3px); box-shadow: 0 16px 30px -16px rgba(13,31,76,0.15); }
.ins-card .media { aspect-ratio: 16/9; background: var(--navy); }
.ins-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.ins-card .meta { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 12px; }
.ins-card h3 { color: var(--navy); font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.ins-card p { color: var(--ink-2); font-size: 13.5px; flex: 1; }
.ins-card .pill {
  display: inline-block; align-self: flex-start;
  margin-top: 16px;
  padding: 4px 10px; font-size: 11px;
  background: var(--paper-2); color: var(--ink-3);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--white); border: 1px solid var(--line); padding: 40px; border-radius: var(--r-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 12px; color: var(--ink-2); font-family: "JetBrains Mono", monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--navy);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.form .submit-row { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form .privacy { font-size: 12px; color: var(--ink-3); max-width: 280px; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.info-block { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; }
.info-block .label { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 8px; }
.info-block .val { color: var(--navy); font-size: 17px; font-weight: 500; }
.info-block .sub { color: var(--ink-2); font-size: 14px; margin-top: 6px; }

/* sent state */
.sent {
  text-align: center; padding: 60px 24px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.sent .check { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin: 0 auto 18px; }
.sent h3 { color: var(--navy); margin-bottom: 8px; }
.sent p { color: var(--ink-2); }

/* ── Fade-in on scroll ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Placeholder media ──────────────────────────────────────── */
.ph-stripes {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.04) 0,
      rgba(255,255,255,0.04) 1px,
      transparent 1px,
      transparent 16px);
}
.ph-label {
  position: absolute; left: 18px; bottom: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
}
.ph-tag { position: absolute; top: 16px; right: 16px; font-family: "JetBrains Mono", monospace; font-size: 10px; color: rgba(201,168,76,0.85); letter-spacing: 0.1em; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* selection */
::selection { background: var(--gold); color: var(--navy); }
