/* ==========================================================================
   Legacy Builds Group — stylesheet
   Palette, type, and component system per the Website Development & Redesign
   Guide (Section 02: Brand Design System).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* ---- Color palette (guide Section 02) ---- */
  --navy-950: #071522;   /* main background: deep navy */
  --navy-900: #0b2134;   /* secondary navy */
  --charcoal: #101820;   /* near black */
  --warm-white: #f5f3ef; /* off-white */
  --section-gray: #ececea; /* warm gray section background */
  --gold: #b88a4a;       /* warm gold accent */
  --gold-light: #d1ac74;
  --gray-600: #6b737a;   /* secondary text */
  --white: #ffffff;

  --navy-card: #0e2334;
  --navy-line: rgba(245, 243, 239, 0.12);
  --navy-line-strong: rgba(245, 243, 239, 0.22);

  --ink: var(--charcoal);

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;

  --container: 1240px;
  --container-narrow: 860px;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --shadow-md: 0 14px 34px rgba(7, 21, 34, 0.2);
  --shadow-lg: 0 28px 64px rgba(7, 21, 34, 0.32);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
.process-pin-wrapper { position: relative; height: 160vh; }
.process-pin-wrapper .hero, .process-pin-wrapper section#process {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.process-pin-inner { display: flex; gap: 64px; align-items: flex-start; width: 100%; padding-top: 40px; }
.process-pin-heading { flex: 0 0 360px; }
.process-track-wrap { flex: 1; overflow: hidden; }
.process-grid#process-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}
.process-grid#process-track .process-step { flex: 0 0 320px; }
@media (max-width: 900px) {
  .process-pin-wrapper { height: auto; }
  .process-pin-wrapper section#process { position: static; height: auto; padding: 76px 0; }
  .process-pin-inner { flex-direction: column; align-items: stretch; }
  .process-grid#process-track { display: grid; grid-template-columns: 1fr; width: auto; }
}
.process-pin-inner {
  display: flex;
  gap: 64px;
  align-items: center;
}


.process-pin-heading { flex: 0 0 360px; }
.process-track-wrap { flex: 1; overflow: hidden; }
.process-grid#process-track {
  display: flex;
  gap: 24px;
  width: max-content;
}
.process-grid#process-track .process-step {
  flex: 0 0 320px;
}
@media (max-width: 900px) {
  .process-pin-inner { flex-direction: column; align-items: stretch; }
  .process-grid#process-track { display: grid; grid-template-columns: 1fr; width: auto; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
section[id], main[id] { scroll-margin-top: 92px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.stats-value-bar { background: var(--navy-950); }
.stats-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stats-value-col {
  padding: 32px 24px;
  border-right: 1px solid var(--navy-line);
}
.stats-value-col:last-child { border-right: none; }
.stats-value-col .stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stats-value-col .stat-label {
  display: block;
  margin-top: 6px;
  color: rgba(245,243,239,0.75);
  font-size: 0.85rem;
}
.stats-value-col .value-title {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--navy-line);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.stats-value-col .value-sub {
  display: block;
  font-size: 0.8rem;
  color: rgba(245,243,239,0.55);
  margin-top: 4px;
}
.hero-pin-wrapper { position: relative; height: 230vh; }
@media (max-width: 780px) {
  .stats-value-grid { grid-template-columns: 1fr; }
  .stats-value-col { border-right: none; border-bottom: 1px solid var(--navy-line); }
  .stats-value-col:last-child { border-bottom: none; }
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 28px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Reveal-on-scroll (fade-up) ----------
   Content is visible by default. The hiding-then-fade-in behavior is only
   ever switched on by main.js *after* it confirms IntersectionObserver is
   available, so a slow/blocked/erroring script can never leave content
   permanently invisible (guide Section 25: "ensure every interaction works
   without animation"). */
html.reveal-armed .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.reveal-armed .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow-light { color: rgba(245, 243, 239, 0.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline-gold { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold:hover { background: rgba(184, 138, 74, 0.12); }
.btn-outline-white { border-color: rgba(245,243,239,0.5); color: var(--white); }
.btn-outline-white:hover { background: rgba(245,243,239,0.1); border-color: var(--white); }
.btn-outline-dark { border-color: rgba(16,24,32,0.35); color: var(--charcoal); }
.btn-outline-dark:hover { background: rgba(16,24,32,0.06); border-color: var(--charcoal); }
.btn-sm { padding: 11px 22px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }

.link-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
}
.link-gold span { transition: transform 0.25s var(--ease); }
.link-gold:hover span { transform: translateX(4px); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  background: linear-gradient(to bottom, rgba(7,21,34,0.75), rgba(7,21,34,0));
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 21, 34, 0.97);
  padding: 14px 0;
  border-bottom-color: var(--navy-line);
  backdrop-filter: blur(8px);
}
.site-header.solid {
  background: rgba(7, 21, 34, 0.97);
  border-bottom-color: var(--navy-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  margin-right: auto;
  flex-shrink: 0;
}
.logo-mark { display: flex; color: var(--gold); flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.logo-text em {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.3em;
  opacity: 0.75;
  font-size: 0.78em;
  display: block;
}
.logo-img { height: 70px; width: auto; max-width: none; flex-shrink: 0; display: block; transition: height 0.35s var(--ease); }
.site-header.scrolled .logo-img { height: 70px; }
.footer-grid .logo .logo-img { height: 70px; max-width: none; flex-shrink: 0; }
.footer-brand { width: fit-content; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  color: rgba(245,243,239,0.86);
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen panel */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 205;
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 32px 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.mobile-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-panel nav { display: flex; flex-direction: column; gap: 26px; }
.mobile-panel nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}
.mobile-panel-footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--navy-line);
  color: rgba(245,243,239,0.7);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
}
.mobile-panel-social { display: flex; gap: 16px; margin-top: 6px; }
.mobile-panel-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--navy-line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.mobile-panel .btn { margin-top: 24px; align-self: flex-start; }

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.hero {
  position: sticky;
  top: 0;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-950);
  perspective: 1200px;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(184,138,74,0.10), transparent 55%),
    linear-gradient(135deg, #17293c 0%, #0b1a29 55%, #071522 100%);
  background-size: cover;
  background-position: center;
  will-change: transform, opacity;
  transform-origin: center center;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,243,239,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,243,239,0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse at 30% 40%, black, transparent 75%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,10,16,0.92) 0%, rgba(5,10,16,0.55) 55%, rgba(5,10,16,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 200px;
   padding-left: 180px;
  padding-bottom: 130px;
  max-width: 760px;
  text-align: left;
   margin-left: 0;
  margin-right: auto;
}
.hero h1 {
font-size: clamp(3rem, 6.4vw, 5.6rem);
  font-weight: 600;
  text-align: left;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: var(--gold-light);
  margin-top: 20px;
  font-weight: 500;
  text-align: left;
}
.hero-body {
  margin-top: 24px;
  color: rgba(245,243,239,0.78);
  font-size: 1.05rem;
  max-width: 540px;
  text-align: left;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 42px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Value bar (no fabricated stats — statements per guide) */
.value-bar { background: var(--navy-900); border-top: 1px solid var(--navy-line); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
}
.value-col {
  padding: 34px 24px;
  border-right: 1px solid var(--navy-line);
}
.value-col:last-child { border-right: none; }
.value-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}
.value-sub {
  display: block;
  font-size: 0.85rem;
  color: rgba(245,243,239,0.6);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero.has-photo {
  background-size: cover;
  background-position: center;
}
.page-hero.has-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,21,34,0.9) 0%, rgba(7,21,34,0.82) 45%, rgba(7,21,34,0.75) 100%);
  z-index: 0;
}
.page-hero {
  position: relative;
  padding: 168px 0 96px;
  color: var(--white);
  background: linear-gradient(135deg, #14263a 0%, #0b1a29 60%, #071522 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,243,239,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,239,0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.7;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 780px; }
.page-hero-sub {
  margin-top: 20px;
  color: rgba(245,243,239,0.72);
  font-size: 1.08rem;
  max-width: 620px;
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.8rem;
  color: rgba(245,243,239,0.55);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.breadcrumb a:hover { color: var(--white); }
.section-white .breadcrumb, .section-warm .breadcrumb, .section-graybg .breadcrumb { color: var(--gray-600); }
.section-white .breadcrumb a, .section-warm .breadcrumb a, .section-graybg .breadcrumb a { color: var(--gray-600); }
.section-white .breadcrumb a:hover, .section-warm .breadcrumb a:hover, .section-graybg .breadcrumb a:hover { color: var(--charcoal); }

/* ==========================================================================
   Generic sections
   ========================================================================== */
.section { padding: 108px 0; }
/* Section background image with color overlay (opt-in per section) */
.has-bg-image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.has-bg-image > .container { position: relative; z-index: 1; }
.section-dark.has-bg-image::before { background: rgba(7, 21, 34, 0.88); }
.section-warm.has-bg-image::before { background: rgba(245, 243, 239, 0.88); }
.section-graybg.has-bg-image::before { background: rgba(236, 236, 234, 0.88); }
.section-white.has-bg-image::before { background: rgba(255, 255, 255, 0.88); }
.section-tight { padding: 80px 0; }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-warm { background: var(--warm-white); }
.section-graybg { background: var(--section-gray); }
.section-white { background: var(--white); }
.section-cta { background: linear-gradient(160deg, #0d1e30 0%, #050c14 100%); color: var(--white); }

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.section-sub { color: rgba(245,243,239,0.62); font-size: 1.05rem; margin-top: 14px; }
.section-sub-dark { color: var(--gray-600); font-size: 1.05rem; margin-top: 14px; }
.dark-text { color: var(--ink); }

/* ---------- About intro (home) ---------- */
.about-body { background: var(--warm-white); padding: 110px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.media-block {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.media-block::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,243,239,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,239,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
}
.about-media { aspect-ratio: 4 / 5; background: linear-gradient(150deg, #24384f, #0a1826 70%); }
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 22px; }
.about-copy p { color: var(--gray-600); font-size: 1.03rem; max-width: 520px; }
.about-copy p + p { margin-top: 16px; }
.service-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.service-labels span {
  padding: 9px 18px;
  border: 1px solid rgba(16,24,32,0.15);
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--charcoal);
}

/* ---------- Services grid (home) ---------- */
.services-showcase {
  display: flex;
  gap: 64px;
  align-items: stretch;
  margin-top: 8px;
}
.services-list {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--navy-line);
}
.services-list-item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--navy-line);
  padding: 20px 4px;
  cursor: pointer;
  transition: padding 0.25s var(--ease);
}
.services-list-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: rgba(245,243,239,0.4);
  flex-shrink: 0;
}
.services-list-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(245,243,239,0.7);
  transition: color 0.25s var(--ease);
}
.services-list-item:hover { padding-left: 12px; }
.services-list-item:hover .services-list-name { color: var(--white); }
.services-list-item.active { padding-left: 12px; }
.services-list-item.active .services-list-num { color: var(--gold); }
.services-list-item.active .services-list-name { color: var(--gold); }
.services-showcase-media {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.services-showcase-image {
  aspect-ratio: 16/10;
  max-height: 340px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: opacity 0.3s var(--ease);
}
.services-showcase-body { padding: 28px 4px 0; }
.services-showcase-body h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 12px; }
.services-showcase-body p { color: rgba(245,243,239,0.65); font-size: 1rem; max-width: 640px; }
.services-showcase-body .link-gold { margin-top: 20px; }
@media (max-width: 900px) {
  .services-showcase { flex-direction: column; gap: 32px; }
  .services-list { flex: none; }
}
.services-grid.services-grid-mobile { display: none; }
@media (max-width: 900px) {
  .services-showcase { display: none; }
  .services-grid.services-grid-mobile { display: grid; }
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--navy-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--navy-line);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(184,138,74,0.5); }
.service-media {
  aspect-ratio: 4 / 4;
  background: linear-gradient(150deg, #29435f, #0e1c2c 75%);
  position: relative;
}
.service-media::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,243,239,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,239,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.service-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-body p { color: rgba(245,243,239,0.62); font-size: 0.92rem; flex: 1; }
.service-body .link-gold { margin-top: 16px; }

/* ---------- Featured projects (home) ---------- */
.projects-feature {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.project-hero-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(160deg, #2c4a68, #0d1a2a 70%);
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
}
.project-hero-media::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(7, 21, 34, 0.32);
  z-index: 0;
}
.project-hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,9,15,0.92), transparent 55%);
}
.project-hero-card { position: relative; z-index: 1; padding: 34px; color: var(--white); }
.project-hero-card .tag { color: var(--gold); }
.project-hero-card h3 { font-size: 1.7rem; margin: 8px 0 10px; }
.project-hero-card p { color: rgba(245,243,239,0.68); margin-bottom: 20px; font-size: 0.95rem; }
.projects-strip { display: grid; grid-template-rows: repeat(2, 1fr); gap: 24px; }
.project-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(150deg, #26405c, #0e1c2e 75%);
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
}
.project-thumb:nth-child(2) { background: linear-gradient(150deg, #38597a, #12233a 75%); }
.project-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(7, 21, 34, 0.32);
  z-index: 0;
}
.project-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,9,15,0.85), transparent 60%);
}
.project-thumb-body { position: relative; z-index: 1; padding: 22px; color: var(--white); }
.project-thumb-body .tag { color: var(--gold); font-size: 0.75rem; }
.project-thumb-body h4 { font-family: var(--font-display); font-size: 1.15rem; margin-top: 4px; }
.tag { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; }

/* ---------- Transformation / Before-After ---------- */
.ba-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-top: 32px;
  color: var(--gray-600);
  font-size: 0.88rem;
}
.process-scroll-hint {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  animation: scrollHintPulse 1.6s ease-in-out infinite;
}
@keyframes scrollHintPulse {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.5; }
  50% { transform: translateY(-50%) translateX(8px); opacity: 1; }
}
.ba-meta strong { color: var(--charcoal); font-weight: 700; }
.ba-slider {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
}
.ba-image { position: absolute; inset: 0; }
.ba-after { background: linear-gradient(150deg, #3a5c7d, #16283d 70%); }
.ba-before {
  background: linear-gradient(150deg, #5c6a72, #2b3238 70%);
  filter: grayscale(0.35) brightness(0.88);
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--white);
}
.ba-tag {
  position: absolute;
  bottom: 18px;
  padding: 8px 18px;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(7, 21, 34, 0.78);
}
.ba-tag-after { right: 18px; }
.ba-tag-before { left: 18px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--white);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.ba-handle-grip {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); color: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; box-shadow: var(--shadow-md); letter-spacing: -2px;
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-nav { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
.ba-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(16,24,32,0.15);
  background: var(--white); color: var(--ink);
  font-size: 0.9rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.ba-btn:hover { background: var(--navy-950); color: var(--white); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-step {
  background: var(--navy-card);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  border: 1px solid var(--navy-line);
}
.process-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--gold); margin-bottom: 16px; }
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--white); }
.process-step p { color: rgba(245,243,239,0.62); font-size: 0.92rem; }
.process-flow {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: rgba(245,243,239,0.55);
  font-size: 0.85rem;
}
.process-flow span.step { color: rgba(245,243,239,0.9); font-weight: 600; }
.process-flow span.arrow { color: var(--gold); }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid rgba(16,24,32,0.08);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-950); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-card h4 { font-size: 1.08rem; margin-bottom: 8px; }
.why-card p { color: var(--gray-600); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testimonial-section {
  position: relative;
  background: linear-gradient(150deg, #14263a, #071522 75%);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.testimonial-section::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(7, 21, 34, 0.85);
  z-index: 0;
}
.testimonial-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,243,239,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,239,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 70% 40%, black, transparent 75%);
}
.testimonial-section .container { position: relative; z-index: 1; }
.testimonial-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.stars { display: flex; gap: 5px; color: var(--gold); margin: 22px auto 0; justify-content: center; }
.quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: var(--white);
  margin-top: 26px;
}
.quote-author { margin-top: 20px; color: rgba(245,243,239,0.6); font-size: 0.9rem; font-weight: 600; }
.testimonial-dots { display: flex; gap: 8px; margin-top: 36px; justify-content: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(245,243,239,0.25); border: none; padding: 0; }
.dot.active { background: var(--gold); width: 24px; border-radius: 0; }

/* ---------- Insights preview ---------- */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.insight-card {
  background: var(--white);
  border: 1px solid rgba(16,24,32,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.insight-media {
  aspect-ratio: 16/10;
  background: linear-gradient(150deg, #2a4560, #101f30 75%);
  position: relative;
}
.insight-media::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,243,239,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,239,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.insight-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.insight-body .tag { color: var(--gold); margin-bottom: 10px; }
.insight-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.insight-body p { color: var(--gray-600); font-size: 0.9rem; flex: 1; }
.insight-body .link-gold { margin-top: 16px; }
.insight-card.disabled { opacity: 0.55; }
.insight-card .status-pill {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  border: 1px solid rgba(16,24,32,0.15);
  padding: 5px 12px;
  border-radius: 0;
  margin-top: 14px;
}

/* ---------- CTA (final) ---------- */
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.cta-inner p { margin-top: 20px; color: rgba(245,243,239,0.7); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.contact-copy h1, .contact-copy h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.contact-copy > p.lead { color: rgba(245,243,239,0.65); margin-top: 16px; max-width: 420px; }
.contact-info { margin-top: 34px; display: flex; flex-direction: column; gap: 18px; }
.contact-info li { display: flex; align-items: center; gap: 14px; font-size: 0.98rem; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(245,243,239,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.contact-social { display: flex; gap: 12px; margin-top: 30px; }
.contact-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--navy-line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.contact-form {
  background: rgba(245,243,239,0.04);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { font-size: 0.82rem; font-weight: 700; color: rgba(245,243,239,0.7); margin-bottom: 8px; display: block; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(245,243,239,0.06);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23B88A4A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(245,243,239,0.4); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: var(--gold); background: rgba(245,243,239,0.09); }
/* Dropdown list items: dark text on a white list */
.contact-form select option {
  color: #111;
  background: #fff;
}
/* Dropdown list items: dark text on a white list */
.contact-form select option {
  color: #111;
  background: #fff;
}
.contact-form input[type="file"] { padding: 10px 14px; }
.radio-row { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(245,243,239,0.85); }
.form-note { font-size: 0.85rem; color: var(--gold); min-height: 1em; }
.contact-form select option { color: #111; background: #fff; }
.form-label .req { color: var(--gold); }
.field-msg { display: block; margin-top: 6px; font-size: 0.8rem; color: #ff8a80; }
.contact-form .field-error { border-color: #ff8a80; }
.form-fineprint { font-size: 0.78rem; color: rgba(245,243,239,0.45); margin-top: -4px; }

.contact-map {
  margin-top: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-line);
  aspect-ratio: 16/7;
  background: linear-gradient(150deg, #16283c, #0a1622 75%);
  position: relative;
  overflow: hidden;
}
.contact-map::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,243,239,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,239,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.contact-map span {
  position: absolute; left: 24px; bottom: 20px; z-index: 1;
  color: rgba(245,243,239,0.55); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ==========================================================================
   Inner-page shared blocks
   ========================================================================== */

/* Alternating image/text rows (Services overview, About) */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 88px 0;
  border-bottom: 1px solid rgba(16,24,32,0.08);
}
.alt-row:last-child { border-bottom: none; }
.alt-row.reverse .alt-media { order: 2; }
.alt-media {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #274157, #0a1826 75%);
}
.alt-row:nth-child(2) .alt-media { background: linear-gradient(150deg, #2f4e6d, #101f31 75%); }
.alt-row:nth-child(3) .alt-media { background: linear-gradient(150deg, #24384f, #0c1826 75%); }
.alt-row:nth-child(4) .alt-media { background: linear-gradient(150deg, #38597a, #16283d 75%); }
.alt-media::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,243,239,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,239,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.alt-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.alt-copy p { color: var(--gray-600); font-size: 1rem; max-width: 480px; }
.alt-copy ul.checklist { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--charcoal); }
.checklist li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex-shrink: 0; }
.alt-copy .link-gold, .alt-copy .btn { margin-top: 26px; }

/* Deliverables / capability grid used on service detail pages */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.capability-item {
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}
.capability-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.subgroup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 12px; }
.subgroup-card h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold); margin-bottom: 16px; }

.callout {
  margin-top: 48px;
  padding: 28px 30px;
  border: 1px solid rgba(184,138,74,0.35);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(184,138,74,0.06);
  font-size: 0.92rem;
  color: var(--gray-600);
}
.callout strong { color: var(--charcoal); display: block; margin-bottom: 6px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }

.callout-dark {
  margin-top: 48px;
  padding: 28px 30px;
  border: 1px solid rgba(184,138,74,0.3);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(184,138,74,0.08);
  font-size: 0.92rem;
  color: rgba(245,243,239,0.75);
}
.callout-dark strong { color: var(--white); display: block; margin-bottom: 6px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Workflow sequence */
.workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.workflow .step {
  padding: 12px 18px;
  border-radius: 0;
  border: 1px solid rgba(16,24,32,0.15);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}
.workflow .arrow { color: var(--gold); font-weight: 700; }
.workflow.on-dark .step { border-color: var(--navy-line-strong); color: var(--white); }

/* Timeline (construction) */
.timeline { display: flex; flex-direction: column; margin-top: 12px; }
.timeline-item { display: grid; grid-template-columns: 32px 1fr; gap: 20px; padding-bottom: 30px; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute; left: 15px; top: 26px; bottom: 0;
  width: 1px; background: rgba(16,24,32,0.15);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-950); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.timeline-body h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline-body p { color: var(--gray-600); font-size: 0.9rem; }

/* Core values grid (About page) */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-chip {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* Mission / vision cards */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { background: var(--white); border: 1px solid rgba(16,24,32,0.08); border-radius: var(--radius-md); padding: 34px; box-shadow: var(--shadow-md); }
.mv-card .eyebrow { margin-bottom: 12px; }
.mv-card p { color: var(--gray-600); font-size: 1rem; }

/* Partner profiles */
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.partner-card { text-align: left; }
.partner-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, #2a4560, #0e1c2c 75%);
  box-shadow: var(--shadow-md);
  margin-bottom: 18px;
}
.partner-card h4 { font-size: 1.1rem; }
.partner-role { color: var(--gold); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.partner-bio { color: var(--gray-600); font-size: 0.9rem; margin-top: 12px; }
.partner-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.partner-tags span { font-size: 0.74rem; padding: 5px 11px; border-radius: 0; border: 1px solid rgba(16,24,32,0.15); color: var(--charcoal); }
.partner-linkedin { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.85rem; font-weight: 700; color: var(--navy-900); }

/* ---------- Projects grid page ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 0;
  border: 1px solid rgba(16,24,32,0.15);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.active { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  border: 1px solid rgba(16,24,32,0.06);
  transition: transform 0.3s var(--ease);
}
.project-card:hover { transform: translateY(-6px); }
.project-card-media {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #2a4560, #0e1c2c 75%);
  position: relative;
}
.project-card-media::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,243,239,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,239,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.project-card-media .status-pill {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 5px 12px; border-radius: 0; background: rgba(7,21,34,0.75); color: var(--white);
}
.project-card-body { padding: 22px; }
.project-card-body .tag { color: var(--gold); }
.project-card-body h3 { font-family: var(--font-display); font-size: 1.15rem; margin-top: 8px; }
.project-card-body .meta { color: var(--gray-600); font-size: 0.85rem; margin-top: 6px; }

/* ---------- Individual project page ---------- */
.project-hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: linear-gradient(150deg, #1c324a, #08141f 70%);
}
.project-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,9,15,0.92), rgba(4,9,15,0.15));
}
.project-hero-inner { position: relative; z-index: 1; padding: 60px 0; width: 100%; }
.project-hero-inner h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.project-hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; color: rgba(245,243,239,0.72); font-size: 0.92rem; }
.project-hero-meta strong { color: var(--white); }

.project-body-grid { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
.project-summary h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 14px; }
.project-summary h2:first-child { margin-top: 0; }
.project-summary p { color: var(--gray-600); font-size: 1rem; }
.project-facts {
  background: var(--section-gray);
  border-radius: var(--radius-md);
  padding: 30px;
  position: sticky;
  top: 110px;
}
.project-facts dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-600); margin-top: 16px; }
.project-facts dt:first-child { margin-top: 0; }
.project-facts dd { margin: 4px 0 0; font-weight: 700; color: var(--charcoal); font-size: 0.95rem; }

.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.gallery-item { aspect-ratio: 4/3; border-radius: var(--radius-sm); position: relative; overflow: hidden; background: linear-gradient(150deg, #2a4560, #0e1c2c 75%); }
.gallery-item:nth-child(2) { background: linear-gradient(150deg, #38597a, #12233a 75%); }
.gallery-item:nth-child(3) { background: linear-gradient(150deg, #274157, #0c1826 75%); }
.gallery-item:nth-child(4) { background: linear-gradient(150deg, #3a5c7d, #16283d 75%); }
.gallery-item:nth-child(5) { background: linear-gradient(150deg, #2f4e6d, #101f31 75%); }
.gallery-item:nth-child(6) { background: linear-gradient(150deg, #24384f, #0a1826 75%); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,243,239,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,239,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------- Insights index ---------- */
.insight-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ---------- Article page ---------- */
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: 1.5rem; margin-top: 44px; margin-bottom: 14px; }
.article-body p { color: var(--gray-600); font-size: 1.03rem; margin-bottom: 18px; }
.article-body ul { margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.article-body ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--gray-600); font-size: 1rem; }
.article-body ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 9px; flex-shrink: 0; }
.article-cta {
  margin-top: 56px;
  padding: 36px;
  border-radius: var(--radius-md);
  background: var(--navy-950);
  color: var(--white);
  text-align: center;
}
.article-cta h3 { font-size: 1.3rem; margin-bottom: 18px; }
.article-meta { display: flex; gap: 16px; align-items: center; color: var(--gray-600); font-size: 0.85rem; margin-bottom: 28px; }

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-page h1 { font-size: clamp(4rem, 10vw, 8rem); color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(245,243,239,0.62); padding: 72px 0 28px; border-top: 1px solid var(--navy-line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-line);
}
.footer-grid .logo { color: var(--white); margin-bottom: 16px; }
.footer-tagline { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(245,243,239,0.75); margin-top: 10px; text-align: center; }
.footer-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(245,243,239,0.45); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--navy-line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.8rem;
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin: 0 auto 20px; }
  .services-grid, .why-grid, .insights-grid, .insight-full-grid, .project-grid, .partners-grid, .values-grid, .capability-grid, .subgroup-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-feature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .alt-row { grid-template-columns: 1fr; gap: 36px; padding: 60px 0; }
  .alt-row.reverse .alt-media { order: 0; }
  .project-body-grid { grid-template-columns: 1fr; }
  .project-facts { position: static; }
  .mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  html { font-size: 16px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
   .hero-content { padding-left: 28px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-col { border-right: none; border-bottom: 1px solid var(--navy-line); }
  .value-col:last-child { border-bottom: none; }
  .services-grid, .why-grid, .insights-grid, .insight-full-grid, .project-grid, .partners-grid, .values-grid, .capability-grid, .subgroup-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .projects-strip { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .section { padding: 76px 0; }
}
