/* =============================================================
   G Construction – Main Stylesheet
   Premium RCC Contractor Website | Mumbai, India
   ============================================================= */

/* ── Google Fonts are loaded via <link> in HTML ── */

/* ── CSS Custom Properties ── */
:root {
  /* G Construction Brand Color Hierarchy */
  --navy: #001B3D;
  /* Deep Structural Navy */
  --navy-light: #002D5A;
  --graphite: #001B3D;
  /* Technical Graphite */
  --gold: #C5A059;
  /* Muted Gold / Architectural Brass */
  --gold-light: #D4B77A;
  --steel: #718096;
  --cream: #FAF9F9;
  /* Off-White Technical Surface */
  --cream-dark: #F3F1ED;
  /* Tinted Surface Wrap */
  --border: #E5E2DC;
  /* Structural Line Gray */
  --white: #FFFFFF;

  /* Refined Typography Tokens */
  --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  /* alias – was undefined, caused system-font fallback */
  --font-display: 'Boska', serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --ls-tight: -0.02em;
  --ls-xtight: -0.04em;
  --ls-wide: 0.05em;

  --lh-display: 1.15;
  --lh-main: 1.65;

  --max-width: 1240px;
  --radius: 0px;
  /* Disciplined structural corners */
  --transition: 500ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Precise Architectural Spacing System */
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem;  /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem;    /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem;  /* 24px */
  --space-8: 2rem;    /* 32px */
  --space-10: 2.5rem; /* 40px */
  --space-12: 3rem;   /* 48px */
  --space-16: 5rem;   /* 80px */

  /* Section-Level Rhythm */
  --space-xl: 7.5rem; /* 120px */
  --space-lg: 5rem;   /* 80px */
  --space-md: 3rem;   /* 48px */
  --space-sm: 2rem;   /* 32px */
}

/* ── Premium Smooth Scroll Wrapper ── */
body.smooth-scroll-enabled {
  overflow: hidden !important;
}

.scroll-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
  pointer-events: auto;
  z-index: 5;
}

/* Fixed elements must stay above the wrapper */
#site-header,
#mobile-menu,
#preloader,
#cookie-banner,
.modal,
.page-transition-overlay {
  z-index: 1000 !important;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100vw;
}

/* 🍎 Brand-Integrated Premium Scrollbar */
::-webkit-scrollbar {
  width: 0px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border: 3px solid var(--navy);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--navy);
  line-height: var(--lh-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Global Page Transition Entry */
main {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
html.loaded main {
  opacity: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Global Typography ── */
h1,
h2,
h3,
h4,
.section-heading,
.hero-title,
.page-hero-title,
.project-title,
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-display);
  letter-spacing: var(--ls-tight);
  text-decoration: none !important;
}

h1 {
  font-size: 3.5rem;
}

h2,
.section-heading {
  font-size: 2.75rem;
  letter-spacing: var(--ls-xtight);
}

h3 {
  font-size: 1.75rem;
}

/* --------------------------------------------------------------
   Heading spacing refinements
   -------------------------------------------------------------- */
/* Primary display headings */
h1 {
  margin-bottom: var(--space-8);
}

/* Section headings (h2 and .section-heading) */
h2,
.section-heading {
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
  letter-spacing: var(--ls-xtight);
}

/* Sub‑section headings (h3, .why-title, .service-title) */
h3,
.why-title,
.service-title {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}


a {
  text-decoration: none !important;
  color: inherit;
}

li {
  list-style: none;
}

button {
  font-family: var(--font-main);
}

/* ============================================================
   ABOUT PAGE: TECHNICAL ASSET GRIDS
   ============================================================ */
.technical-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.asset-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.asset-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.asset-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}

.asset-card:hover::before {
  height: 100%;
}

.asset-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.asset-info h4 {
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.asset-info .asset-title {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.asset-stats {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 27, 61, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.asset-count {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}

.asset-focus {
  font-size: 0.7rem;
  color: rgba(0, 27, 61, 0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 140px;
  text-align: right;
}

/* ARCHITECTURAL STAMP (Replacing Popy) */
.architectural-stamp {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 180px;
  height: 180px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-15deg);
  opacity: 0.9;
  pointer-events: none;
  z-index: 5;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(2px);
}

.stamp-inner {
  width: 100%;
  height: 100%;
  border: 1px dashed var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.stamp-text {
  font-family: var(--font-main);
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  line-height: 1.3;
}

.stamp-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  margin: 5px 0;
}

@media (max-width: 1024px) {
  .architectural-stamp {
    position: static;
    margin: 2rem auto -4rem;
    transform: rotate(-5deg);
    width: 150px;
    height: 150px;
  }
}

.project-long-desc {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.project-long-desc h2, .project-long-desc h3, .project-long-desc h4 {
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.project-long-desc ul, .project-long-desc ol {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

.project-long-desc li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 8rem 1.25rem 4rem;
  width: 100%;
  padding-inline: 1.5rem;
  /* Standardized to 24px */
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  /* Standardized to 24px */
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1.25rem;
  }
}

/* ── Section Utilities & Rhythm ── */
.section-py-sm {
  padding-block: var(--space-sm);
}

.section-py-md {
  padding-block: var(--space-md);
}

.section-py-lg {
  padding-block: var(--space-lg);
}

.section-py-xl {
  padding-block: var(--space-xl);
}

.no-pt {
  padding-top: 0 !important;
}

.no-pb {
  padding-bottom: 0 !important;
}

/* Responsive Spacing Tweaks */
@media (max-width: 768px) {
  .section-py-lg {
    padding-block: var(--space-md);
  }

  .section-py-xl {
    padding-block: var(--space-lg);
  }

  .section-py-md {
    padding-block: var(--space-sm);
  }
}

/* Section Backgrounds Rhythm */
/* Section Backgrounds Rhythm - Intentional Pacing */
.bg-surface {
  background: var(--white);
  color: var(--navy);
}

.bg-tint {
  background: var(--cream);
  color: var(--navy);
}

.bg-tint-dark {
  background: var(--cream-dark);
  color: var(--navy);
}

.bg-inverted {
  background: var(--navy);
  color: var(--white);
}

.bg-graphite {
  background: var(--graphite);
  color: var(--white);
}

/* Section Overlays & Rhythms */
.section-contrast {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-tight {
  padding-block: var(--space-8);
}

.section-header-spacing {
  margin-bottom: var(--space-12);
}

/* --------------------------------------------------------------
   Distinct visual treatment for key sections
   -------------------------------------------------------------- */
/* Services section – navy background with subtle diagonal stripe texture */
.services-section {
  background: var(--navy);
  color: var(--white);
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%,
      transparent 50%, rgba(255, 255, 255, 0.04) 50%,
      rgba(255, 255, 255, 0.04) 75%, transparent 75%, transparent);
  background-size: 40px 40px;
}

/* Partnership Advantage (Why) section – light tint with subtle inner shadow */
.why-section {
  background: var(--cream);
  color: var(--navy);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.02);
}

/* Add a thin top border for extra contrast */
.why-section.section-contrast {
  border-top: 1px solid var(--border);
}

/* ── G Structural Grid™ & Accents ── */
.structural-grid {
  position: relative;
  z-index: 1;
}

.structural-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
  /* Promote to own compositing layer to avoid triggering main-thread repaints */
  will-change: transform;
  contain: strict;
}

/* Hero section: grid pattern invisible under dark overlay — skip it entirely */
.hero-section.structural-grid::before {
  display: none;
}

.bg-inverted.structural-grid::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  opacity: 1;
}

/* ── Structural Line & Node ── */
.structural-line {
  height: 2px;
  background: var(--gold);
  position: relative;
  width: 100%;
}

.structural-line::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 1px;
}

/* ── UI Components ── */
.filter-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 992px) {
  .filter-card {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
  }
}

.filter-card .separator {
  background: var(--border);
  width: 1px;
  height: 100%;
}

@media (max-width: 992px) {
  .filter-card .separator {
    width: 100%;
    height: 1px;
    margin-block: 2rem;
  }
}

.filter-side {
  flex: 1;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.filter-list li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
}

.filter-icon {
  color: var(--gold);
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.filter-icon svg {
  width: 100%;
  height: 100%;
}

.eyebrow-center {
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.25rem 2.75rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--navy);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 27, 61, 0.2);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 27, 61, 0.1);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline-cream {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
}

.btn-outline-cream:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  transition: all var(--transition);
}

.btn-link:hover {
  color: var(--navy);
  transform: translateX(5px);
}

.btn-icon-sm svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Sticky CTA Mobile */
.sticky-cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .1);
  display: flex;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}

@media (max-width: 768px) {
  .sticky-cta-mobile.visible {
    transform: translateY(0);
  }
}

.sticky-cta-mobile .btn {
  flex: 1;
}

/* Arrow icon used in CTAs */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Inline text link */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  padding-bottom: 1px;
  transition: opacity var(--transition);
}

.text-link:hover {
  opacity: 0.7;
}

.text-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition);
}

.text-link:hover svg {
  transform: translateX(6px);
  color: var(--gold);
}

/* ── Animations (Scroll-triggered) ── */
/* Handled by Critical CSS */
.js-enabled [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease-out, transform .7s ease-out;
  will-change: transform, opacity;
}

.js-enabled [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms !important;
}

.delay-200 {
  transition-delay: 200ms !important;
}

.delay-300 {
  transition-delay: 300ms !important;
}

.delay-400 {
  transition-delay: 400ms !important;
}

/* Timeline mobile layout */
.journey-timeline {
  position: relative;
  padding-left: 2rem;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 27, 61, .1);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-node {
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 0.625rem;
  height: 0.625rem;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff;
}

.timeline-year {
  font-weight: 700;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, .6);
  line-height: 1.7;
}

/* Filter chips scrollable */
.filter-tabs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  white-space: nowrap;
  padding: 0.5rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Service Accordions (Mobile) */
@media (max-width: 768px) {
  .service-detail-list {
    display: none;
  }

  .service-detail-card.open .service-detail-list {
    display: block;
  }

  .service-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    background: rgba(0, 27, 61, .03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    margin-bottom: 1rem;
    transition: all var(--transition);
  }

  .service-accordion-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform var(--transition);
  }

  .service-detail-card.open .service-accordion-btn {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
  }

  .service-detail-card.open .service-accordion-btn svg {
    transform: rotate(180deg);
  }
}

@media (min-width: 769px) {
  .service-accordion-btn {
    display: none;
  }
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background-color .4s ease, box-shadow .4s ease;
}

#site-header.scrolled {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 16px rgba(0, 0, 0, .09);
}

.nav-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

@media (min-width: 1024px) {
  .nav-inner {
    padding-inline: 2rem;
  }
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Removed text-based logo grid nodes */
/* Removed span-based logo text */
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* Desktop nav links */
.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

/* Nav links – dark by default (non-hero pages, after scroll) */
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 27, 61, .55);
  transition: all .3s ease;
  padding-block: 0.5rem;
  position: relative;
  text-decoration: none !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  opacity: 1;
}

/* Hero page specific: white links when transparent */
body.has-hero #site-header:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, .65);
}

body.has-hero #site-header:not(.scrolled) .nav-links a:hover,
body.has-hero #site-header:not(.scrolled) .nav-links a.active {
  color: #ffffff;
}

/* Gold active indicator underline */
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

body.has-hero #site-header:not(.scrolled) .nav-links a.active::after {
  background: var(--gold);
}

/* Scrolled: hamburger dark on light bg */
#site-header.scrolled .hamburger span {
  background: var(--navy) !important;
}

/* Desktop CTA */
.nav-cta {
  display: none !important;
  padding: 0.625rem 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy);
}

body.menu-open #site-header .nav-links {
  display: none !important;
}

body.menu-open #site-header .nav-cta {
  display: none !important;
}

/* Scrolled: hamburger dark on light bg */
#site-header.scrolled .hamburger span {
  background: var(--navy) !important;
}

body.menu-open #site-header .nav-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

@media (min-width: 1024px) {
  .nav-cta {
    display: inline-flex !important;
    align-items: center;
  }
}

#site-header .nav-cta {
  transition: opacity 0.3s, transform 0.3s;
}

/* Hamburger */
.hamburger {
  position: relative;
  z-index: 5001;
  width: 2.5rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy) !important;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), opacity .4s ease, visibility .4s;
  overflow: hidden;
  height: 100vh;
}

#mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(250, 249, 249, 0.07);
  background: var(--navy);
}

.mobile-menu-header .logo-icon {
  width: 3rem;
  height: 3rem;
}

.mobile-menu-header .logo-name {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
}

.mobile-close-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 249, 249, 0.05);
  border: 1px solid rgba(250, 249, 249, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-nav-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2.5rem;
  overflow-y: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 0.5rem;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.75rem; 
  color: rgba(250, 249, 249, 0.4);
  text-decoration: none;
  padding-block: 0.625rem;
  transition: color 0.3s ease;
  text-align: left !important;
  width: 100%;
}

.mobile-nav a.active,
.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 249, 249, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start !important;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(250, 249, 249, 0.5);
  font-size: 0.9rem;
  text-decoration: none;
  text-align: left !important;
}

.contact-item svg {
  color: var(--gold);
}

/* ============================================================
   FOOTER (RESTORED)
   ============================================================ */
.footer-v2 {
  background: var(--navy);
  color: var(--cream);
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(250, 249, 249, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--gold); }

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(250, 249, 249, 0.6);
  margin-top: 1.5rem;
  max-width: 20rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 249, 249, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(250, 249, 249, 0.3);
}

@media (min-width: 768px) {
  .footer-bottom { 
    flex-direction: row; 
    justify-content: space-between; 
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 61, 0.72);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  margin-inline: auto;
  padding: 8rem 1.5rem 1.5rem; /* Reduced bottom padding from 4rem */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
}

@media (min-width: 768px) {
  .hero-content { padding: 10rem 2rem 5rem; }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: left !important;
}

.hero-eyebrow .line {
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-align: left !important;
  width: 100%;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  max-width: 35rem;
  margin-bottom: 1.75rem; /* Tightened from 2.5rem */
  text-align: left !important;
}

.hero-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  align-items: center;
  gap: 0.75rem; /* Tightened from 1rem */
  margin-bottom: 2rem; /* Reduced from 3.5rem to pull line up */
  text-align: left !important;
}

@media (max-width: 500px) {
  .hero-ctas .btn {
    flex: 0 1 auto; /* Allow buttons to shrink/auto-width */
    width: auto !important;
    padding: 0.75rem 1rem; /* Compact padding */
    font-size: 0.7rem;
    white-space: nowrap;
    justify-content: flex-start !important;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: start !important;
  gap: 2rem 1.5rem;
  max-width: 38rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem; /* Tightened from 1.25rem */
  text-align: left !important;
}

@media (min-width: 768px) {
  .hero-stats {
     grid-template-columns: repeat(4, 1fr);
     max-width: 100%;
  }
}

.hero-stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left !important;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}

/* Scroll Indicator */

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.scroll-indicator span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(250, 249, 249, .4);
}

.scroll-line {
  width: 1px;
  height: 3rem;
  background: rgba(250, 249, 249, .2);
  overflow: hidden;
  position: relative;
}

.scroll-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1rem;
  background: var(--gold);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(1.5rem);
  }
}

/* ============================================================
   TRUST STRIP (Centered Mobile & Tightened Spacing)
   ============================================================ */
:root {
  --navy: #041221;
  --gold: #c5a059;
}

.structural-model-section {
  background: var(--navy);
  padding-block: 2.5rem;
  /* Tightened vertical padding */
  border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.trust-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.trust-label {
  font-family: inherit;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: rgba(250, 249, 249, 0.4);
  line-height: 1.4;
  flex-shrink: 0;
}

.trust-clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* Desktop: 1 row */
  gap: 1rem;
  flex: 1;
  border-left: 1px solid rgba(197, 160, 89, 0.15);
  padding-left: 2rem;
}

.trust-client {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.client-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
}

.client-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.client-name {
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* --- THE MOBILE FIX (Phone Screens) --- */
@media (max-width: 768px) {
  .trust-inner {
    flex-direction: column;
    gap: 1.5rem;
    /* Reduced space between label and grid */
    padding-inline: 1rem;
  }

  .trust-label {
    text-align: center;
    width: 100%;
    /* Forces it to use full width to center text */
    white-space: normal;
    padding: 0;
    margin: 0;
  }

  /* Removes line breaks on mobile so text stays in one line */
  .trust-label br {
    display: none;
  }

  .trust-clients {
    border-left: none;
    padding-left: 0;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    /* 3x2 Grid */
    gap: 1.5rem 0.5rem;
    /* Tightened spacing between logos */
  }
}

/* ============================================================
   ABOUT SNAPSHOT
   ============================================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
}

.about-image-wrap {
  position: relative;
}

.about-img-box {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 8rem;
  height: 8rem;
  background: rgba(197, 160, 89, .1);
  z-index: -1;
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--navy);
  padding: 1rem 1.5rem;
}

@media (min-width: 1024px) {
  .about-badge {
    bottom: -2rem;
    left: -2rem;
  }
}

.about-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.about-badge-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(250, 249, 249, .7);
  margin-top: 0.25rem;
}

/* ============================================================
   SERVICES OVERVIEW
   ============================================================ */
.services-section {
  background: var(--navy);
}

.services-grid {
  display: grid;
  gap: 1px;
  background: rgba(250, 249, 249, .1);
  grid-auto-rows: 1fr;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background: var(--navy);
  padding: 2rem;
  display: block;
  transition: background var(--transition);
  text-decoration: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .service-card {
    padding: 3rem;
  }
}

.service-card:hover {
  background: var(--navy-light);
}

.service-num {
  font-family: monospace;
  font-size: 0.75rem;
  color: rgba(197, 160, 89, .5);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  transition: color var(--transition);
}

@media (min-width: 1024px) {
  .service-title {
    font-size: 1.5rem;
  }
}

.service-card:hover .service-title {
  color: var(--gold);
}

.service-desc {
  font-size: 0.875rem;
  color: rgba(250, 249, 249, .6);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .service-desc {
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(250, 249, 249, .4);
  transition: color var(--transition);
}

.service-more svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition);
}

.service-card:hover .service-more {
  color: var(--gold);
}

.service-card:hover .service-more svg {
  transform: translateX(4px);
}

/* ============================================================
   CAPACITY STATS  (G-Sync Execution Pathway)
   ============================================================ */
/* Dark graphite background for strong section rhythm break */
.capacity-section {
  background: var(--graphite);
  color: var(--cream);
}

.capacity-section .section-heading {
  color: var(--cream);
}

.capacity-section .eyebrow span {
  color: var(--gold);
}

.capacity-section .eyebrow .line {
  background: var(--gold);
}

.capacity-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .capacity-grid {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
}

.capacity-text {
  flex: 1;
}

.capacity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.capacity-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(250, 249, 249, .8);
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid rgba(197, 160, 89, .3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: var(--navy);
  padding: 2.5rem 2rem;
  text-align: center;
  border-left: 3px solid var(--gold);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: var(--navy-light);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
}

.stat-suffix {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(197, 160, 89, .6);
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(250, 249, 249, .8);
  font-weight: 500;
}

/* Premium Timeline Overhaul */
.journey-timeline {
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
  padding: 4rem 0;
  background: none !important;
}

.journey-timeline::before,
.journey-timeline::after {
  content: none !important;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
  /* central path gold glow */
}

@media (max-width: 768px) {
  .timeline-line {
    left: 1.5rem;
    transform: none;
    background: var(--gold);
    /* Solid on mobile for clarity */
  }
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 4rem;
  width: 100%;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 0 20px var(--gold);
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .timeline-dot {
    left: 1.5rem;
    transform: translateX(-50%);
  }
}

.timeline-item .timeline-content {
  width: 45%;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  /* Glassmorphism */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 27, 61, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.timeline-left .timeline-content {
  margin-right: auto;
  text-align: right;
}

.timeline-right .timeline-content {
  margin-left: auto;
  text-align: left;
}

@media (max-width: 768px) {
  .timeline-item .timeline-content {
    width: calc(100% - 3rem);
    margin-left: 3rem !important;
    text-align: left !important;
  }
}

.timeline-year {
  position: absolute;
  top: 1rem;
  font-family: var(--font-display);
  font-size: 7.5rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 800;
  opacity: 0.38;
  /* Maximum visibility for years */
  pointer-events: none;
  z-index: 0;
}

.timeline-left .timeline-year {
  right: 1rem;
}

.timeline-right .timeline-year {
  left: 1rem;
}

/* 10. DOWNLOAD PROFILE SECTION (Standalone) */
.profile-download-section {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.profile-download-direct {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .profile-download-direct {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.download-content-v2 {
  flex: 1;
  max-width: 32rem;
}

.profile-features-v2 {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-features-v2 li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(250, 249, 249, 0.85);
}

.check-icon-v2 {
  color: var(--gold);
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.download-action-v2 {
  flex-shrink: 0;
}

/* Hard Section Break for same-color blocks */
.border-top-separator {
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}


.timeline-title {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.timeline-desc {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: rgba(0, 27, 61, 0.7);
  line-height: 1.8;
}

/* Modal Styles */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 61, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  opacity: 0.5;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal-form .form-group {
  margin-bottom: 1.25rem;
}

.modal-form .form-checkbox {
  display: flex;
  gap: 0.75rem;
  margin-block: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(0, 27, 61, 0.7);
  line-height: 1.4;
}

.modal-form .form-checkbox input {
  margin-top: 0.2rem;
}

.modal-form .form-checkbox a {
  color: var(--gold);
  text-decoration: underline !important;
}


.reason-card {
  position: relative;
}

.reason-icon {
  color: rgba(0, 27, 61, .25);
  margin-bottom: 1rem;
  transition: color var(--transition);
}

.reason-icon svg {
  width: 2rem;
  height: 2rem;
}

.reason-card:hover .reason-icon {
  color: var(--gold);
}

.reason-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.reason-desc {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, .6);
  line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: #fff;
}

.testimonials-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: 2.5rem;
  background: var(--cream);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  border-left: 4px solid var(--gold);
  border-bottom: 1px solid rgba(0, 27, 61, 0.05);
}

.testimonial-card:hover {
  transform: translateX(8px);
  box-shadow: 20px 20px 60px rgba(0, 27, 61, 0.05);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: -1rem;
  top: -1rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.15;
  font-family: serif;
}

.testimonial-author {
  margin-top: auto;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.author-company {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ============================================================
   PROCESS OVERVIEW (Expanded)
   ============================================================ */
.process-section {
  background: var(--cream);
}

.process-steps {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.process-num {
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 1;
  position: static;
  display: block;
  margin-bottom: 1.25rem;
}

/* On dark graphite background, text must be light */
.capacity-section .process-title {
  color: var(--cream);
}

.capacity-section .process-desc {
  color: rgba(250, 249, 249, 0.62);
}

.process-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.process-desc {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, 0.65);
  line-height: 1.8;
}

/* ============================================================
   WHY CHOOSE US  ← cream bg, NOT navy (section rhythm fix)
   ============================================================ */
.why-section {
  background: var(--cream);
  color: var(--navy);
  border-top: 3px solid var(--gold);
}

.why-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3 cols so 5th card doesn't orphan */
@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  padding: 3rem 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-card:hover {
  box-shadow: 0 20px 60px rgba(0, 27, 61, 0.12);
  transform: translateY(-8px);
}

.why-icon {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--gold);
  background: rgba(197, 160, 89, 0.08);
  /* Sophisticated subtle gold tint */
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.why-desc {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, 0.68);
  line-height: 1.7;
}

/* ============================================================
   DATA TABLES (Workforce & Machinery)
   ============================================================ */
/* Data Table Responsive Design (No horizontal scroll) */
.data-table-wrap {
  margin-top: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: visible;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

@media (max-width: 768px) {

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table th,
  .data-table td,
  .data-table tr {
    display: block;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    border-bottom: 2px solid var(--gold);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    background: #fff !important;
  }

  .data-table td {
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 45% !important;
    text-align: right !important;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .data-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 1.5rem;
    width: 40%;
    text-align: left;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--navy);
  }
}

.data-table th,
.data-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.data-table th {
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) {
  background: var(--cream);
}

/* ============================================================
   PROFILE DOWNLOAD CARD (Redesign)
   ============================================================ */
.profile-download-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 3rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
}

/* Technical Grid Pattern Overlay */
.profile-download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .profile-download-card {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    padding: 5rem 4rem;
  }
}

.profile-info {
  position: relative;
  z-index: 1;
}

.profile-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}

@media (max-width: 640px) {
  .profile-features {
    grid-template-columns: 1fr;
  }
}

.profile-features li {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(250, 249, 249, 0.85);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-features .check-icon {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--gold);
  background: rgba(197, 160, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.profile-features .check-icon svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--gold);
}

.profile-cta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.profile-download-btn {
  height: 4.5rem;
  width: auto !important;
  min-width: max-content;
  padding-inline: 4rem;
  font-size: 1.1rem;
  border-radius: 0;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
}

.profile-download-btn:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ── Mockup-Exact About Section (Laptop) ── */
.about-grid-mockup {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .about-grid-mockup {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 5rem;
  }
}

.about-mockup-content {
  max-width: 680px;
}

.about-mockup-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.about-mockup-subline {
  font-family: var(--font-main);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about-mockup-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(0, 27, 61, 0.7);
  margin-bottom: 3rem;
}

.about-mockup-visual {
  position: relative;
  z-index: 1;
}

/* Offset background box as seen in images */
.about-mockup-visual::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--cream);
  z-index: -1;
}

.about-img-container {
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.about-img-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Overlay Badge: "100% HIGH-RISE FOCUS" */
.focus-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--navy);
  padding: 2.5rem 2rem;
  color: var(--gold);
  z-index: 10;
  min-width: 200px;
}

.badge-percent {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}

.badge-label {
  font-family: var(--font-main);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  display: block;
}

.about-mockup-cta {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 2.5rem;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.about-mockup-cta:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateX(5px);
}

.profile-download-btn svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* ── Category Definition Layout (Homepage) ── */
.category-definition-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .category-definition-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-16);
  }
}

.category-text-content {
  max-width: 900px;
}

@media (min-width: 992px) {
  .category-definition-layout .about-image-wrap {
    order: 2;
    margin-bottom: 0;
  }
}

.technical-para-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  margin-block: var(--space-8);
}

@media (max-width: 992px) {
  .technical-para-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ── Why Card Enhancements ── */
.why-card {
  position: relative;
  background: var(--white);
  padding: 3rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 27, 61, 0.08);
}

.notch-gold::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 50px;
  height: 50px;
  background: var(--gold);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 2;
}

/* Responsive adjustments for new about section */
@media (max-width: 991px) {
  .about-mockup-headline {
    font-size: 2.2rem;
  }
  .about-mockup-subline {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }
  .focus-badge {
    padding: 1.5rem;
    min-width: 150px;
  }
  .badge-percent {
    font-size: 1.8rem;
  }
  .about-mockup-text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

.why-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--gold);
  margin-bottom: 2rem;
}

.why-icon-box svg {
  width: 100%;
  height: 100%;
}

/* Mission/Vision Cards */
.mission-vision-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mv-card {
  padding: var(--space-8);
  background: var(--white);
  border-top: 4px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .mv-card {
    padding: var(--space-10);
  }
}

.mv-icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.mv-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.mv-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.mv-desc {
  font-size: 0.95rem;
  color: rgba(0, 27, 61, 0.7);
  line-height: 1.7;
}

/* Technical Project Card Details */
.project-tech-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 27, 61, 0.08);
}

.tech-item {
  font-size: 0.75rem;
  color: rgba(0, 27, 61, 0.6);
  line-height: 1.3;
}

.tech-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
}

.project-card-footer {
  margin-top: 1.5rem;
}

.btn-view-project {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(0, 27, 61, 0.18);
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.project-card:hover .btn-view-project {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.process-step {
  position: relative;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(197, 160, 89, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--cream);
  position: relative;
  z-index: 1;
}

.step-number span {
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--gold);
}

.step-connector {
  display: none;
  position: absolute;
  top: 1.5rem;
  left: 100%;
  width: 100%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

@media (min-width: 1024px) {
  .step-connector {
    display: block;
  }
}

.process-step:last-child .step-connector {
  display: none;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, .6);
  line-height: 1.7;
}

/* ============================================================
   FEATURED PROJECTS
   ============================================================ */
.projects-section {
  background: var(--cream-dark);
}

.projects-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .projects-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.projects-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.4s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden; /* Prevents internal scroll interference */
  touch-action: manipulation;
}

.project-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.project-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  margin: -1.5rem -1.5rem 1.5rem -1.5rem;
  border-radius: 0;
  background-color: var(--navy);
  /* dignified fallback */
  pointer-events: none; /* Let clicks pass to the card link/action */
}

.project-img-wrap::before {
  content: '';
  /* no visible text for missing images */
  display: none;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
  color: transparent;
  text-indent: -10000px;
  position: relative;
  z-index: 1;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 61, .2);
  transition: background var(--transition);
}

.project-card:hover .project-overlay {
  background: rgba(0, 27, 61, .1);
}

/* Project Status Tags (Cards & Hero) */
.project-status-tag,
.status-badge {
  padding: 0.25rem 0.75rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2rem;
  z-index: 2;
  display: inline-block;
}

.project-status-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.project-status-tag.ongoing,
.status-badge.ongoing {
  background: var(--gold);
  color: var(--navy);
}

.project-status-tag.completed,
.status-badge.completed {
  background: #27ae60;
  color: #fff;
}

.project-hero-status {
  margin: 1.5rem 0 2rem;
  position: relative;
  z-index: 10;
}

/* Project Detail Layout & Spacing */
.project-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .project-detail-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.project-main-content .eyebrow {
  margin-bottom: 1.5rem;
}

.project-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(0, 27, 61, .8);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.project-long-desc {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(0, 27, 61, .7);
}

.project-long-desc p {
  margin-bottom: 1.75rem;
}

.project-long-desc h2,
.project-long-desc h3 {
  margin: 3rem 0 1.5rem;
  color: var(--navy);
  font-family: var(--font-display);
}

.project-long-desc ul,
.project-long-desc ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.project-long-desc li {
  margin-bottom: 0.75rem;
}

/* Sidebar Status Styles */
.status-ongoing {
  color: var(--gold) !important;
  font-weight: 700;
}

.status-completed {
  color: #27ae60 !important;
  font-weight: 700;
}

.project-stat-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 27, 61, 0.08);
}

.project-stat-item:last-child {
  border-bottom: none;
}

.project-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(250, 249, 249, .9);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--navy);
  border-radius: 2rem;
  z-index: 2;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.project-card:hover .project-title {
  color: var(--gold);
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(0, 27, 61, .5);
}

.project-meta svg {
  width: 1rem;
  height: 1rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--cream-dark);
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.testimonial-card {
  background: var(--cream);
  padding: var(--space-6);
  border: 1px solid rgba(0, 27, 61, .05);
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .testimonial-card {
    padding: var(--space-10);
  }
}

.testimonial-quote-icon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.5rem;
  opacity: 0.03;
}

.testimonial-quote-icon svg {
  width: 4rem;
  height: 4rem;
  color: var(--navy);
}

.testimonial-quote {
  color: rgba(0, 27, 61, .8);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 2rem;
  flex: 1;
}

.testimonial-author {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-company {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.125rem;
}

.testimonial-location {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 27, 61, .4);
  margin-top: 0.25rem;
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg-circle-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(250, 249, 249, .05);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cta-bg-circle-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(250, 249, 249, .05);
  border-radius: 50%;
  transform: translate(25%, 25%);
}

.cta-inner {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

/* CTA on light backgrounds — force dark text */
.bg-surface .cta-title,
.bg-tint .cta-title {
  color: var(--navy) !important;
}

.cta-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: rgba(250, 249, 249, .7);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* CTA subtitle on light backgrounds — force dark text */
.bg-surface .cta-subtitle,
.bg-tint .cta-subtitle {
  color: rgba(0, 27, 61, .65) !important;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-contact-info {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(250, 249, 249, .1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cta-contact-info {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

.cta-info-item {
  text-align: center;
}

.cta-info-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(250, 249, 249, .4);
  margin-bottom: 0.25rem;
}

.cta-info-value {
  font-size: 0.875rem;
  color: rgba(250, 249, 249, .8);
}

.cta-info-value a {
  color: rgba(250, 249, 249, .8);
  transition: color var(--transition);
}

.cta-info-value a:hover {
  color: var(--gold);
}

.cta-divider {
  width: 1px;
  height: 2rem;
  background: rgba(250, 249, 249, .1);
  display: none;
}

@media (min-width: 640px) {
  .cta-divider {
    display: block;
  }
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding-top: 10rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .page-hero {
    padding-top: 12rem;
    padding-bottom: 7rem;
  }
}

.page-hero-inner {
  max-width: 48rem;
}

.page-hero-eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.page-hero-title .gold {
  color: var(--gold);
}

.page-hero-desc {
  font-family: var(--font-sans);
  color: rgba(250, 249, 249, .75);
  font-size: 1.1rem;
  line-height: 1.75;
}

/* ============================================================
   SECTION HEADER (reusable)
   ============================================================ */
.section-header {
  margin-bottom: 4rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center .eyebrow {
  justify-content: center;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--navy);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-8);
  text-decoration: none !important;
}

.section-heading.on-dark {
  color: var(--cream);
}

.section-heading .gold {
  color: var(--gold);
}

.section-heading::after {
  display: none !important;
}

/* ═══ ARCHITECTURAL SECTION LABEL STYLE ═════════════════════ */
.heading-dashed {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.heading-dashed::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.heading-dashed::after {
  display: none !important;
}

.section-heading.heading-dashed {
  letter-spacing: 0.22em;
  font-weight: 700;
  white-space: nowrap;
}

/* ═══ CONSENT GATE STYLES ══════════════════════════════════ */
.consent-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.gate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 61, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.gate-content {
  position: relative;
  background: var(--white);
  padding: 3.5rem 2.5rem;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
  animation: gateContentIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.gate-close {
  position: absolute;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--navy);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.3s;
}

.gate-close:hover { opacity: 1; }

.gate-inner { text-align: center; }

.gate-header { margin-bottom: 2rem; }

.gate-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 1rem;
}

.gate-body {
  margin-bottom: 2.5rem;
  text-align: left;
}

.gate-body p {
  font-size: 0.95rem;
  color: rgba(var(--navy-rgb), 0.7);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.gate-body .small { font-size: 0.8rem; }

.consent-gate.fade-out {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s, transform 1s;
  pointer-events: none;
}

@keyframes gateContentIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Guarantee no generic underlines */
.section-subtext {
  font-size: 1rem;
  color: rgba(0, 27, 61, .65);
  line-height: 1.75;
  max-width: 40rem;
}

.section-subtext.on-dark {
  color: rgba(250, 249, 249, .65);
}

.section-header.center .section-subtext {
  margin-inline: auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.milestones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .milestones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .milestones-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.milestone-card {
  padding: 2rem;
  background: var(--cream-dark);
  border-left: 2px solid var(--gold);
}

.milestone-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.milestone-event {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, .8);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.milestone-desc {
  font-size: 0.8125rem;
  color: rgba(0, 27, 61, .55);
  line-height: 1.6;
}

.values-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.value-card {
  padding: 2rem;
  border: 1px solid var(--border);
}

.value-num {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.value-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, .6);
  line-height: 1.7;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-page-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services-page-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-detail-card {
  padding: var(--space-6);
  border: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .service-detail-card {
    padding: var(--space-10);
  }
}

.service-detail-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.service-detail-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: var(--space-4);
}

.service-detail-desc {
  font-size: 0.9rem;
  color: rgba(0, 27, 61, .65);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(0, 27, 61, .75);
}

.service-detail-list li::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.55rem;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: transparent;
  color: rgba(0, 27, 61, .6);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

/* Pagination Modernization */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
}

.btn-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0;
}

.projects-large-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .projects-large-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .projects-large-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.project-item {
  display: none;
}

.project-item.visible {
  display: block;
}

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */
.project-hero-img {
  aspect-ratio: 16/7;
  overflow: hidden;
}

.project-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .project-layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.project-sidebar {
  background: var(--cream-dark);
  padding: 2rem;
}

.sidebar-item {
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-item:first-child {
  padding-top: 0;
}

.sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 27, 61, .4);
  margin-bottom: 0.25rem;
}

.sidebar-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

.case-study-box {
  background: var(--navy);
  color: var(--cream);
  padding: 2rem;
  margin-bottom: 2rem;
}

.case-study-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.case-study-title::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: rgba(197, 160, 89, .4);
}

.case-study-step {
  margin-bottom: 1.25rem;
}

.case-study-step h4 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(197, 160, 89, .6);
  margin-bottom: 0.375rem;
}

.case-study-step p {
  font-size: 0.875rem;
  color: rgba(250, 249, 249, .85);
  line-height: 1.7;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .project-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-gallery-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.project-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.project-gallery-img:hover img {
  transform: scale(1.05);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:first-child {
  padding-top: 0;
}

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
}

.contact-info-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 27, 61, .4);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-info-value a {
  color: var(--navy);
  transition: color var(--transition);
}

.contact-info-value a:hover {
  color: var(--gold);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(0, 27, 61, .7);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--navy);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-submit .btn {
  width: 100%;
}

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  text-align: left;
  gap: 1rem;
}

.faq-question svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease, padding .5s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: rgba(0, 27, 61, .65);
  line-height: 1.8;
}

/* ============================================================
   PROCESS PAGE
   ============================================================ */
.process-timeline {
  max-width: 56rem;
  margin-inline: auto;
}

.process-timeline-item {
  position: relative;
  display: flex;
  gap: 2rem;
  padding-bottom: 4rem;
}

.process-timeline-item:last-child {
  padding-bottom: 0;
}

.process-line {
  position: absolute;
  left: 3rem;
  top: 4rem;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.process-timeline-item:last-child .process-line {
  display: none;
}

.process-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.process-icon svg {
  width: 2rem;
  height: 2rem;
}

.process-body {
  flex: 1;
  padding-top: 0.625rem;
}

.process-step-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.process-step-duration {
  font-size: 0.75rem;
  color: rgba(0, 27, 61, .45);
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
  margin-top: 0.25rem;
}

.process-step-desc {
  font-size: 0.9rem;
  color: rgba(0, 27, 61, .65);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.process-deliverables {
  background: var(--cream-dark);
  padding: 1.25rem 1.5rem;
}

.process-deliverables p {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.process-deliverables ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.process-deliverables li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(0, 27, 61, .65);
}

.process-deliverables li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   UTILITIES & HELPER CLASSES
   ============================================================ */
.text-gold {
  color: var(--gold) !important;
}

.text-navy {
  color: var(--navy) !important;
}

.text-white {
  color: var(--white) !important;
}

.color-navy {
  color: var(--navy);
}

.opacity-80 {
  opacity: 0.8;
}

.mb-1 {
  margin-bottom: var(--space-1);
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-3 {
  margin-bottom: var(--space-3);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-10 {
  margin-bottom: var(--space-10);
}

.mb-12 {
  margin-bottom: var(--space-12);
}

.mb-16 {
  margin-bottom: var(--space-16);
}

.mt-1 {
  margin-top: var(--space-1);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mt-12 {
  margin-top: var(--space-12);
}

.mt-16 {
  margin-top: var(--space-16);
}

/* Legacy Mapping (internal support) */
.mb-xs {
  margin-bottom: var(--space-4);
}

.mb-sm {
  margin-bottom: var(--space-6);
}

.mb-md {
  margin-bottom: var(--space-8);
}

.mb-lg {
  margin-bottom: var(--space-12);
}

.mb-xl {
  margin-bottom: var(--space-16);
}

.mt-md {
  margin-top: var(--space-8);
}

.mt-lg {
  margin-top: var(--space-12);
}

.mt-xl {
  margin-top: var(--space-16);
}

/* Horizontal Spacing Helpers */
.gap-1 {
  gap: var(--space-1);
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

.gap-12 {
  gap: var(--space-12);
}

/* Compatibility */
.gap-md {
  gap: var(--space-8);
}

.gap-lg {
  gap: var(--space-12);
}

/* Alignment Utilities */
.center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

/* Desktop-only visibility */
@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }
}

/* Grid Structures */
.category-definition-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (max-width: 1024px) {
  .category-definition-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section-cta {
  margin-top: var(--space-md);
  text-align: center;
}

/* ============================================================
   RESPONSIVE — Mobile fine-tuning
   ============================================================ */
@media (max-width: 768px) {
  .container {
    padding-inline: 1.25rem;
  }

  .btn {
    white-space: normal;
    text-align: center;
    padding: 1rem 1.5rem;
    width: 100%;
  }

  .hero-content {
    padding-block: 6rem 3rem;
  }

  .hero-stats {
    margin-top: 2.5rem;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section-py-xl {
    padding-block: var(--space-lg);
  }

  .section-py-lg {
    padding-block: var(--space-md);
  }

  .section-py-md {
    padding-block: var(--space-sm);
  }

  .category-definition-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Prevent horizontal scroll breakouts */
  img,
  svg,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  .projects-grid,
  .blog-grid,
  .services-grid {
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }
}

/* ============================================================
   ABOUT PAGE – JOURNEY TIMELINE
   ============================================================ */
.journey-timeline {
  position: relative;
  max-width: 52rem;
  margin-inline: auto;
  padding-top: 0.5rem;
}

/* Vertical connecting line */
.journey-timeline::before {
  content: '';
  position: absolute;
  left: 5.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

@media (min-width: 768px) {
  .journey-timeline::before {
    left: 6.5rem;
  }
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 0;
  padding-bottom: 3.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Year label */
.timeline-year {
  flex-shrink: 0;
  width: 4.5rem;
  padding-top: 0.125rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  padding-right: 0.875rem;
}

@media (min-width: 768px) {
  .timeline-year {
    width: 5.5rem;
  }
}

/* Node circle */
.timeline-node {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  margin-right: 1.5rem;
  margin-top: 0.0625rem;
  position: relative;
  z-index: 1;
}

/* Content */
.timeline-content {
  flex: 1;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.timeline-desc {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, .65);
  line-height: 1.75;
}

.timeline-img {
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-top: 1rem;
  opacity: 0.9;
}


/* ============================================================
   TRANSPARENT / DARK-HERO NAVBAR STATE
   When header has no .scrolled class (floating over dark hero),
   nav text switches to cream for readability.
   ============================================================ */

/* Non-hero pages: always show solid dark header (no hero beneath) */
body:not(.has-hero) #site-header {
  background: #001B3D !important;
}

body:not(.has-hero) #site-header .logo-name {
  color: #ffffff !important;
}

body:not(.has-hero) #site-header .nav-links a {
  color: rgba(255, 255, 255, .65) !important;
}

body:not(.has-hero) #site-header .nav-links a:hover,
body:not(.has-hero) #site-header .nav-links a.active {
  color: #ffffff !important;
}

body:not(.has-hero) #site-header .hamburger span {
  background: #ffffff !important;
}

/* Hero pages: header starts transparent (dark hero image shows through) */
body.has-hero #site-header:not(.scrolled) {
  background: transparent;
}

/* Scrolled state: logo and nav go dark on white bg */
#site-header.scrolled .logo-name {
  color: var(--navy) !important;
}

#site-header.scrolled .nav-links a {
  color: rgba(0, 27, 61, .55) !important;
}

#site-header.scrolled .nav-links a:hover,
#site-header.scrolled .nav-links a.active {
  color: var(--navy) !important;
}


/* Only apply on pages that have a dark hero beneath the nav */
body.has-hero #site-header:not(.scrolled) .logo-name {
  color: #ffffff;
}

body.has-hero #site-header:not(.scrolled) .logo-est {
  color: rgba(255, 255, 255, .5);
}

body.has-hero #site-header:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, .75);
}

body.has-hero #site-header:not(.scrolled) .nav-links a:hover,
body.has-hero #site-header:not(.scrolled) .nav-links a.active {
  color: #ffffff;
}

body.has-hero #site-header:not(.scrolled) .nav-cta {
  background: var(--gold);
  color: var(--navy);
}

body.has-hero #site-header:not(.scrolled) .nav-cta:hover {
  background: var(--gold-light);
}

body.has-hero #site-header:not(.scrolled) .hamburger span {
  background: var(--cream);
}

/* Wider gap shrinks slightly to fit 7 links */
@media (min-width: 1024px) {
  .nav-links {
    gap: 1.5rem;
  }
}

/* Removed redundant capacity-section dark override to fix repetition */
.stats-grid {
  background: rgba(250, 249, 249, .08);
  border-color: rgba(250, 249, 249, .08);
}

.stat-card {
  background: var(--navy);
}

.stat-card:hover {
  background: var(--navy-light);
}

/* ============================================================
   PAGE HERO – FULLSCREEN VARIANT (inner pages)
   ============================================================ */
.page-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Subtle geometric background for inner page hero */
.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 50vw;
  height: 50vw;
  border: 1px solid rgba(197, 160, 89, .08);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -5%;
  width: 30vw;
  height: 30vw;
  border: 1px solid rgba(250, 249, 249, .04);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero-inner {
  max-width: 52rem;
  padding: 10rem 0 6rem;
}

@media (min-width: 1024px) {
  .page-hero-inner {
    padding: 12rem 0 8rem;
  }
}

/* Remove the old fixed padding since we use flex + inner padding now */
.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.page-hero-eyebrow .line {
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.page-hero-title .gold {
  color: var(--gold);
}

.page-hero-desc {
  font-family: var(--font-sans);
  color: rgba(250, 249, 249, .75);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 44rem;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.blog-card {
  display: block;
  text-decoration: none;
}

.blog-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.blog-card:hover .blog-img-wrap img {
  transform: scale(1.04);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(0, 27, 61, .4);
  margin-bottom: 0.5rem;
}

.blog-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(0, 27, 61, .3);
}

.blog-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gold);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.625rem;
  transition: color var(--transition);
}

.blog-card:hover .blog-card-title {
  color: var(--gold);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, .6);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}

.blog-card:hover .blog-read-more {
  color: var(--gold);
}

.blog-read-more svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform var(--transition);
}

.blog-card:hover .blog-read-more svg {
  transform: translateX(4px);
}

/* Featured blog card (first card) */
.blog-card.featured .blog-img-wrap {
  aspect-ratio: 16/7;
}

@media (min-width: 640px) {
  .blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }

  .blog-card.featured .blog-img-wrap {
    margin-bottom: 0;
  }
}

/* Blog detail / single post */
.blog-article-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin-inline: auto;
}

.blog-hero-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.blog-excerpt-premium {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: var(--space-6);
}

.blog-body {
  max-width: none;
}

.blog-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.blog-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.blog-body p {
  font-size: 1rem;
  color: rgba(0, 27, 61, .75);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.blog-body ul,
.blog-body ol {
  margin: 0 0 1.25rem 1.25rem;
}

.blog-body li {
  font-size: 1rem;
  color: rgba(0, 27, 61, .75);
  line-height: 1.85;
  margin-bottom: 0.5rem;
}

.blog-body ul li {
  list-style: disc;
}

.blog-body ol li {
  list-style: decimal;
}

.blog-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--cream-dark);
  font-style: italic;
  color: rgba(0, 27, 61, .8);
}

.blog-sidebar {
  margin-top: 0;
}

.blog-sidebar-card {
  background: var(--cream-dark);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-sidebar-card h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 27, 61, .4);
  margin-bottom: 1rem;
}

.related-post {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.related-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-post-title {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.4;
  transition: color var(--transition);
}

.related-post:hover .related-post-title {
  color: var(--gold);
}

.related-post-date {
  font-size: 0.75rem;
  color: rgba(0, 27, 61, .4);
  margin-top: 0.25rem;
}

/* Author box */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--cream-dark);
  margin-top: 3rem;
}

.author-avatar {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
}

.author-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}

.author-role {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.125rem;
}

.author-bio {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, .65);
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* ============================================================
   CREATE BLOG (ADMIN PAGE)
   ============================================================ */
.admin-page {
  background: var(--cream-dark);
  min-height: 100vh;
}

.admin-header {
  background: var(--navy);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header .admin-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream);
}

.admin-header .admin-subtitle {
  font-size: 0.75rem;
  color: rgba(250, 249, 249, .4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.125rem;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(197, 160, 89, .15);
  color: var(--gold);
  border: 1px solid rgba(197, 160, 89, .3);
}

.admin-layout {
  max-width: 56rem;
  margin-inline: auto;
  padding: 3rem 1.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .admin-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
    padding: 3rem 2rem;
  }
}

.admin-form-card {
  background: var(--cream);
  padding: 2rem;
}

.admin-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-sidebar-card {
  background: var(--cream);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.admin-sidebar-card h3 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 27, 61, .4);
  margin-bottom: 1rem;
}

.admin-sidebar-card p {
  font-size: 0.8125rem;
  color: rgba(0, 27, 61, .6);
  line-height: 1.7;
}

.rich-editor {
  width: 100%;
  min-height: 20rem;
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--navy);
  resize: vertical;
  outline: none;
  line-height: 1.75;
}

.rich-editor:focus {
  border-color: var(--gold);
}

.file-upload {
  border: 2px dashed var(--border);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition);
}

.file-upload:hover {
  border-color: var(--gold);
}

.file-upload svg {
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(0, 27, 61, .25);
  margin: 0 auto 0.75rem;
  display: block;
}

.file-upload p {
  font-size: 0.875rem;
  color: rgba(0, 27, 61, .5);
}

.file-upload span {
  font-size: 0.75rem;
  color: rgba(0, 27, 61, .35);
  display: block;
  margin-top: 0.25rem;
}

.file-upload input[type="file"] {
  display: none;
}

.tag-input {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  min-height: 2.75rem;
  align-items: center;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--navy);
  color: var(--cream);
  font-size: 0.75rem;
}

.tag-chip button {
  background: none;
  border: none;
  color: rgba(250, 249, 249, .5);
  cursor: pointer;
  line-height: 1;
  font-size: 1rem;
}

.publish-actions {
  display: flex;
  gap: 0.75rem;
}

.publish-actions .btn {
  flex: 1;
}

/* Status indicator */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(0, 27, 61, .5);
}

.status-dot::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
}

/* ============================================================
   ADDITIONAL NAV ITEM — Create Blog (admin link, subtle)
   ============================================================ */
.nav-admin {
  display: none;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(0, 27, 61, .45);
  border: 1px solid rgba(0, 27, 61, .12);
  padding: 0.375rem 0.875rem;
  transition: all var(--transition);
}

.nav-admin:hover {
  color: var(--navy);
  border-color: rgba(0, 27, 61, .3);
}

.nav-admin svg {
  width: 0.9rem;
  height: 0.9rem;
}

@media (min-width: 1024px) {
  .nav-admin {
    display: inline-flex;
  }
}

body.has-hero #site-header:not(.scrolled) .nav-admin {
  color: rgba(250, 249, 249, .5);
  border-color: rgba(250, 249, 249, .2);
}

body.has-hero #site-header:not(.scrolled) .nav-admin:hover {
  color: var(--cream);
  border-color: rgba(250, 249, 249, .4);
}

/* ============================================================
   BLOG TAG FILTER BAR (reuses .filter-bar, just extra items)
   ============================================================ */
.blog-search {
  width: 100%;
  max-width: 24rem;
}

.blog-search input {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--navy);
  outline: none;
  transition: border-color var(--transition);
}

.blog-search input:focus {
  border-color: var(--gold);
}

.blog-list-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

/* ============================================================
   PROJECT DETAIL PAGE
   ============================================================ */
.project-detail-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .project-detail-layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.project-detail-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: rgba(250, 249, 249, .5);
  margin-bottom: 1rem;
}

.project-detail-breadcrumb a {
  color: rgba(250, 249, 249, .5);
  text-decoration: none;
  transition: color var(--transition);
}

.project-detail-breadcrumb a:hover {
  color: var(--gold);
}

.project-detail-breadcrumb svg {
  width: 0.75rem;
  height: 0.75rem;
}

.project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.project-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  background: rgba(250, 249, 249, .1);
  color: rgba(250, 249, 249, .8);
  border: 1px solid rgba(250, 249, 249, .15);
}

.project-meta-pill svg {
  width: 0.875rem;
  height: 0.875rem;
}

.project-meta-pill.completed {
  background: rgba(22, 163, 74, .15);
  color: #4ade80;
  border-color: rgba(22, 163, 74, .3);
}

.project-challenges {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.challenge-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.challenge-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.challenge-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.challenge-item h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.challenge-item p {
  font-size: 0.9rem;
  color: rgba(0, 27, 61, .65);
  line-height: 1.75;
}

.project-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.project-stats-card {
  background: var(--white);
  padding: var(--space-8);
  border: 1px solid var(--border);
}

.project-stats-card h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 27, 61, .4);
  margin-bottom: var(--space-8);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.project-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.project-stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-label-sm {
  font-size: 0.75rem;
  color: rgba(0, 27, 61, .4);
  font-weight: 500;
  flex-shrink: 0;
}

.stat-value-sm {
  font-size: 0.875rem;
  color: var(--navy);
  font-weight: 600;
  text-align: right;
}

.project-cta-card {
  background: var(--navy);
  padding: 1.75rem;
}

.project-cta-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 0.625rem;
}

.project-cta-card p {
  font-size: 0.875rem;
  color: rgba(250, 249, 249, .6);
  line-height: 1.65;
}

.project-nav-card {
  background: var(--cream-dark);
  padding: 1.25rem 1.5rem;
}

.project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  text-decoration: none;
  font-size: 0.75rem;
  color: rgba(0, 27, 61, .4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

.project-nav-link span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  transition: color var(--transition);
}

.project-nav-link:hover,
.project-nav-link:hover span {
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-4);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

/* ============================================================
   ADMIN FORM (Create Blog page)
   ============================================================ */
.admin-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(0, 27, 61, .5);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.admin-back:hover {
  color: var(--navy);
}

.admin-back svg {
  width: 1rem;
  height: 1rem;
}

.admin-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(197, 160, 89, .08);
  border: 1px solid rgba(197, 160, 89, .2);
  font-size: 0.8125rem;
  color: rgba(0, 27, 61, .65);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.admin-notice svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.create-blog-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-fieldset {
  border: none;
  padding: 1.75rem;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-fieldset-legend {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(0, 27, 61, .4);
  padding: 0;
  margin-bottom: 0.25rem;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.form-hint {
  font-size: 0.75rem;
  color: rgba(0, 27, 61, .4);
  margin-top: 0.375rem;
}

.image-upload-area {
  border: 2px dashed var(--border);
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}

.image-upload-area:hover {
  border-color: var(--gold);
  background: rgba(197, 160, 89, .04);
}

.image-upload-area.drag-over {
  border-color: var(--gold);
  background: rgba(197, 160, 89, .08);
}

.blog-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.625rem;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-bottom: none;
}

.editor-btn {
  padding: 0.375rem 0.75rem;
  background: none;
  border: 1px solid transparent;
  font-size: 0.8125rem;
  color: rgba(0, 27, 61, .6);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}

.editor-btn:hover {
  background: var(--cream);
  border-color: var(--border);
  color: var(--navy);
}

.btn-outline-navy {
  background: none;
  border: 1px solid rgba(0, 27, 61, .2);
  color: rgba(0, 27, 61, .6);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Cookie Consent Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background: rgba(10, 25, 47, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: opacity 300ms ease, transform 300ms ease;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    text-align: left;
    gap: 2rem;
  }
}

.cookie-banner p {
  color: var(--cream);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner p a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-outline-cream {
  border: 1px solid var(--cream);
  color: var(--cream);
  background: transparent;
}

.btn-outline-cream:hover {
  background: var(--cream);
  color: var(--navy);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
}

/* =============================================================
   MOBILE RESPONSIVE – G Construction
   Breakpoints: 768px (tablet) | 480px (mobile)
   ============================================================= */

/* ── Navigation: Mobile hamburger ─────────────────────────── */
@media (max-width: 768px) {

  /* Show hamburger, hide desktop nav links */
  .nav-menu-btn {
    display: flex !important;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: #001B3D;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 998;
    padding: 2rem;
  }

  .nav-links.is-open {
    display: flex !important;
  }

  .nav-links li a {
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
  }

  .nav-cta {
    display: none !important;
  }

  /* ── Hero ─────────────────────────────── */
  .hero-content {
    padding: 6rem 1.25rem 3rem !important;
    text-align: center !important;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem) !important;
    letter-spacing: -.025em;
  }

  .hero-subtitle {
    font-size: .95rem;
    line-height: 1.65;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: .75rem;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: .75rem !important;
    margin-top: 2rem !important;
  }

  .hero-stat-value {
    font-size: 1.5rem !important;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  /* ── Sections general ─────────────────── */
  .section-py-xl {
    padding-block: 4rem !important;
  }

  .section-py-lg {
    padding-block: 3rem !important;
  }

  .container {
    padding-inline: 1.25rem !important;
  }

  /* ── About section ────────────────────── */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .about-img-wrap {
    order: -1;
  }

  .about-img-wrap img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
  }

  /* ── Services cards / blocks ──────────── */
  .service-block-inner,
  .service-section-block .service-block-inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .service-block-side.content {
    order: -1;
  }

  .service-block-side.content img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .services-grid-3,
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .service-card {
    padding: 1.5rem !important;
  }

  /* ── Proof / execution numbers ─────────── */
  .proof-grid,
  .execution-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  /* ── Projects grid ────────────────────── */
  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* ── Testimonials ─────────────────────── */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .testimonial-card {
    padding: 1.5rem !important;
  }

  /* ── Blog grid ────────────────────────── */
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* ── CTA section ──────────────────────── */
  .cta-inner {
    text-align: center !important;
  }

  .cta-buttons {
    flex-direction: column !important;
    align-items: center !important;
    gap: .75rem !important;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* ── Page hero (inner pages) ──────────── */
  .page-hero {
    padding-block: 6rem 2.5rem !important;
  }

  .page-hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
  }

  /* ── Footer ───────────────────────────── */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }

  .footer-links {
    align-items: center !important;
  }

  /* ── Trust strip / logo row ───────────── */
  .trust-strip-logos,
  .trust-logos {
    gap: 1rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  /* ── Why choose us grid ───────────────── */
  .why-grid,
  .why-choose-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* ── Contact form ─────────────────────── */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }
}

/* ── Small mobile (< 480px) ──────────────────────────────── */
@media (max-width: 480px) {

  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.4rem) !important;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .site-logo {
    gap: 0.5rem !important;
  }

  .logo-icon {
    width: 2.25rem !important;
    height: 2.25rem !important;
  }

  .logo-name {
    font-size: 1.15rem !important;
  }

  .proof-grid,
  .execution-grid {
    grid-template-columns: 1fr !important;
  }

  .btn {
    padding: .75rem 1.25rem !important;
    font-size: .78rem !important;
  }

  .page-hero-title {
    font-size: 1.75rem !important;
  }

  /* Collapse two-column to single on very small screens */
  .two-col-grid {
    grid-template-columns: 1fr !important;
  }

  .section-label {
    font-size: .7rem !important;
  }
}

/* ── Hamburger Button (if not already defined) ──────────── */
.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 999;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
  border-radius: 2px;
}

.nav-menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================================
   PREMIUM SECTION CTA BUTTON
   Used for "View All Projects" / "View All Articles" / "View All Services"
   ============================================================= */
.btn-section-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border: 2px solid var(--navy);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, background 0.3s ease, gap 0.3s ease, border-color 0.3s ease;
}

.btn-section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
}

.btn-section-cta:hover::before {
  transform: scaleX(1);
}

.btn-section-cta span,
.btn-section-cta svg {
  position: relative;
  z-index: 1;
}

.btn-section-cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-section-cta:hover {
  color: #ffffff;
  gap: 1.1rem;
  border-color: var(--navy);
}

.btn-section-cta:hover svg {
  transform: translateX(4px);
}

/* On dark backgrounds – white bordered button */
.bg-tint-dark .btn-section-cta,
.bg-inverted .btn-section-cta {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .5);
}

.bg-tint-dark .btn-section-cta::before,
.bg-inverted .btn-section-cta::before {
  background: rgba(255, 255, 255, .1);
}

.bg-tint-dark .btn-section-cta:hover,
.bg-inverted .btn-section-cta:hover {
  color: #ffffff;
  border-color: #ffffff;
}

}

/* =============================================================
   MOBILE SERVICE CARDS – color variation
   ============================================================= */
@media (max-width: 768px) {

  /* Service cards: subtle color tints to distinguish them on mobile */
  .service-row:nth-child(1) .service-card,
  .services-list .service-item:nth-child(1) {
    border-left: 3px solid #C5A059;
  }

  .service-row:nth-child(2) .service-card,
  .services-list .service-item:nth-child(2) {
    border-left: 3px solid rgba(197, 160, 89, .65);
  }

  .service-row:nth-child(3) .service-card,
  .services-list .service-item:nth-child(3) {
    border-left: 3px solid rgba(197, 160, 89, .45);
  }

  .service-row:nth-child(4) .service-card,
  .services-list .service-item:nth-child(4) {
    border-left: 3px solid rgba(197, 160, 89, .3);
  }

  /* Homepage service list items on mobile - add gold left accent */
  .service-list-item:nth-child(odd) {
    background: rgba(0, 27, 61, .97);
  }

  .service-list-item:nth-child(even) {
    background: rgba(0, 15, 40, .97);
  }
}

/* ============================================================
   ABOUT / CATEGORY SECTION LAYOUT AND SPACING
   ============================================================ */
.category-definition-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .category-definition-layout {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }

  .category-definition-layout .about-image-wrap {
    flex: 0 0 45%;
  }

  .category-definition-layout .category-text-content {
    flex: 1;
  }
}

.technical-para-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.technical-para-stack p {
  margin: 0 !important;
}

.about-img-box {
  background: var(--navy);
}

.category-text-content {
  display: flex;
  flex-direction: column;
}

.category-text-content .eyebrow {
  margin-bottom: 1rem;
}

.category-text-content .section-heading {
  margin-bottom: 1.25rem;
}

/* =============================================================
   CONSOLIDATED UI FIXES & DESIGN REFINEMENTS 
   (Integrated from fixes.css)
   ============================================================= */

/* -- Section Rhythm & Background Enforcement -- */
.why-section {
  background: var(--cream) !important;
  color: var(--navy) !important;
  border-top: 3px solid var(--gold);
  box-shadow: none;
}

.why-title {
  color: var(--navy) !important;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.why-desc {
  color: rgba(0, 27, 61, 0.68) !important;
}

.why-card {
  background: var(--white) !important;
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.why-card:hover {
  box-shadow: 0 8px 32px rgba(0, 27, 61, 0.08);
  transform: translateY(-3px);
  background: var(--white) !important;
}

/* -- Trust Strip Redesign -- */
.trust-section {
  background: var(--navy) !important;
  padding-block: 2.5rem !important;
}

.trust-inner {
  flex-direction: row !important;
  align-items: center !important;
  gap: 3rem !important;
}

.trust-label {
  color: rgba(250, 249, 249, 0.35) !important;
  font-size: 0.6rem !important;
  letter-spacing: 0.18em !important;
}

.trust-clients {
  gap: 0 !important;
  border-left: 1px solid rgba(250, 249, 249, 0.1);
  padding-left: 3rem;
  justify-content: flex-start !important;
}

.trust-client {
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(250, 249, 249, 0.08) !important;
  padding: 0.375rem 1.5rem !important;
  width: auto !important;
}

.client-name {
  font-size: 0.75rem !important;
  color: rgba(250, 249, 249, 0.6) !important;
}

/* -- Execution Pathway (Capacity Section) -- */
.capacity-section {
  background: var(--graphite) !important;
  color: var(--white) !important;
}

.process-steps {
  margin-top: 3rem !important;
  gap: 2rem !important;
}

.process-step {
  padding: 2rem 1.75rem !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.process-num {
  color: var(--gold) !important;
  font-size: 0.65rem !important;
  margin-bottom: 1.25rem !important;
  display: block !important;
}

.process-title {
  color: var(--cream) !important;
  font-size: 1.2rem !important;
}

/* -- Project & Blog Refinements -- */
.project-img-wrap::before {
  content: '' !important;
  display: none !important;
}

.btn-view-project {
  display: block !important;
  text-align: center;
  color: var(--navy) !important;
  border: 1px solid rgba(0, 27, 61, 0.2) !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.project-card:hover .btn-view-project {
  background: var(--navy) !important;
  color: var(--gold) !important;
}

/* -- Mobile Menu & Nav Polish -- */
#mobile-menu {
  background: rgba(0, 10, 26, 0.98) !important;
  backdrop-filter: blur(16px) !important;
}

.mobile-nav a {
  font-family: var(--font-display) !important;
  font-size: 2rem !important;
  border-bottom: 1px solid rgba(250, 249, 249, 0.05) !important;
  transition: all 0.25s ease !important;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold) !important;
  padding-left: 0.75rem !important;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

/* -- Component Overrides -- */
.stat-card {
  background: var(--navy) !important;
}

.stat-card:hover {
  background: var(--navy-light) !important;
}

.testimonials-section {
  border-top: 3px solid var(--navy) !important;
}

.eyebrow .line {
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.eyebrow span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}

/* -- Transition Cleanup (Phase 3 Performance) -- */
a,
button {
  text-decoration: none !important;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

/* -- Final Stealth Polish -- */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: #001B3D;
  z-index: 9999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.page-exiting .page-transition-overlay {
  opacity: 1;
  pointer-events: all;
}

body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.loaded {
  opacity: 1 !important;
}
/* EXECUTIVE STEALTH: Hide all scrollbars */
html, body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
::-webkit-scrollbar {
  display: none !important;
}

/* ============================================================
   GLOBAL ARCHITECTURAL LABELS (SMALL & GOLDEN)
   ============================================================ */
.section-heading,
.heading-dashed {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1rem !important;
  margin-bottom: 1.25rem !important;
  font-family: var(--font-main) !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.25em !important;
  font-weight: 800 !important;
  color: var(--gold) !important;
  white-space: nowrap !important;
  text-align: left !important;
}

.section-heading::before,
.heading-dashed::before {
  content: '' !important;
  width: 30px !important;
  height: 1.2px !important;
  background: var(--gold) !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.section-heading::after,
.heading-dashed::after {
  display: none !important;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2rem); /* Slightly smaller to ensure fit */
    max-width: 100%;
    margin-bottom: 2rem;
    line-height: 1.25;
  }
  .hide-mobile {
    display: none !important;
  }
  .text-nowrap-mobile {
    white-space: nowrap;
    display: inline-block;
  }
}

.section-heading.center,
.heading-dashed.center {
  justify-content: center !important;
  gap: 1.5rem !important;
}

.section-heading.center::before,
.heading-dashed.center::before {
  display: block !important;
  width: 4rem !important;
}

.section-heading.center::after,
.heading-dashed.center::after {
  content: '' !important;
  width: 4rem !important;
  height: 1.2px !important;
  background: var(--gold) !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.section-heading.on-dark {
  color: var(--gold) !important;
}

/* Main Premium Headlines */
.section-title-main {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
  color: var(--navy) !important;
  line-height: 1.1 !important;
  margin-bottom: 2rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  display: block !important;
}

.section-title-main.on-dark {
  color: var(--cream) !important;
}

.section-title-main .gold {
  color: var(--gold) !important;
}

.section-header.center {
  text-align: center !important;
}

@media (max-width: 768px) {
  .section-title-main {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
}

/* -- Desktop Section Pacing -- */
@media (min-width: 1024px) {
  section.vh-pacing {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
  }
}

/* -- Lined Left Eyebrow Patterns -- */
.eyebrow-lined-left {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  color: var(--gold) !important;
  text-transform: uppercase !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  margin-bottom: 1.5rem !important;
}

.eyebrow-lined-left::before {
  content: '' !important;
  width: 2.5rem !important;
  height: 1.5px !important;
  background: var(--gold) !important;
  display: block !important;
}

/* ============================================================
   PROJECTS PAGE REFINEMENTS
   ============================================================ */
.projects-filter-section {
  position: sticky;
  top: 80px;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.projects-filter-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-block: 1.5rem;
}

@media (min-width: 1024px) {
  .projects-filter-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.filter-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.pill-style {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-style .filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  transition: all 0.3s ease;
}

.pill-style .filter-btn:hover {
  border-color: var(--navy);
  background: var(--surface);
}

.pill-style .filter-btn.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.projects-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.projects-search-form:focus-within {
  border-color: var(--gold);
}

.projects-search-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.85rem;
}

.projects-search-form button {
  padding: 0 1rem;
  background: var(--surface);
  border: none;
  color: var(--navy);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.projects-search-form button:hover {
  opacity: 1;
}

/* -- Premium Project Badges -- */
.project-status-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  z-index: 10;
  border-radius: 2px;
}

.project-status-tag.ongoing {
  background: var(--gold) !important;
  color: var(--navy) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.project-status-tag.ongoing::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #ff4d4d;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 77, 77, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

.project-status-tag.completed {
  background: var(--navy) !important;
  color: var(--gold) !important;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.project-category {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 27, 61, 0.7);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.4rem 0.8rem;
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 10;
}
/* -- Section Separators Fix -- */
.section-contrast { border-top: none !important; }
.border-top-separator { border-top: none !important; }

/* -- Testimonial Refinement -- */
.testimonial-card {
  position: relative !important;
  border-left: none !important;
  background: var(--white) !important;
  box-shadow: 0 15px 45px rgba(0, 27, 61, 0.05) !important;
  padding: 3rem !important;
}

.testimonial-author {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
  margin-top: 1.5rem !important;
}

.author-logo-box {
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
}

.testimonial-quote {
  font-family: var(--font-main) !important;
  font-size: 1.15rem !important;
  font-style: italic !important;
  line-height: 1.8 !important;
  color: var(--navy) !important;
  margin-bottom: 2rem !important;
}

/* -- Consent Gate Polish -- */
.consent-gate {
  backdrop-filter: blur(24px) !important;
  background: rgba(0, 27, 61, 0.45) !important;
}

.gate-content {
  border-radius: 0 !important;
  border: 4px solid var(--navy) !important;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6) !important;
}

.gate-close {
  position: absolute !important;
  top: 1.5rem !important;
  right: 1.5rem !important;
  background: var(--navy) !important;
  color: var(--gold) !important;
  border: none !important;
  width: 44px !important;
  height: 44px !important;
  font-size: 1.8rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 1001 !important;
}

/* -- Mobile Nav Download Hide -- */
body.menu-open .nav-cta {
  display: none !important;
}

/* -- Project Page Centering -- */
.projects-header-centered { text-align: center !important; }
.stats-grid-center { display: flex !important; justify-content: center !important; gap: 3rem !important; flex-wrap: wrap !important; text-align: center !important; }
.eyebrow-center { display: flex !important; justify-content: center !important; align-items: center !important; gap: 1rem !important; }
.journey-timeline::before { z-index: 1 !important; }
.timeline-item { position: relative !important; z-index: 2 !important; }
.timeline-content { background: var(--white) !important; box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important; }

/* -- Navbar Wrap Fix -- */
.nav-links { gap: 1rem !important; }
.nav-links a { font-size: 0.75rem !important; letter-spacing: 0.08em !important; white-space: nowrap !important; text-transform: uppercase !important; }
@media (max-width: 1200px) { .nav-cta { display: none !important; } .hamburger { display: flex !important; } .nav-links { display: none !important; } }

/* ============================================================
   PREMIUM V2 OVERHAUL (Screenshots Sync)
   ============================================================ */

/* -- Typography Refinement -- */
.display-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.display-heading span.italic { font-style: italic; }
.display-heading span.gold { color: var(--gold); }

/* -- Utility: Section Spacing -- */
.section-overlap { margin-top: -5rem; position: relative; z-index: 10; }

/* -- Component: Notch Gold Card -- */
.notch-gold-card {
  background: var(--white);
  padding: 3rem;
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}
.notch-gold-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: var(--gold);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.notch-gold-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 27, 61, 0.08);
}

/* -- Component: Dark Section Service Cards -- */
.dark-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 6rem;
}
.vh-services {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4rem;
}
@media (max-width: 1024px) {
  .vh-services { min-height: auto; padding-block: 4rem; }
}
.dark-service-card {
  text-decoration: none !important;
  padding: 3rem;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dark-service-card:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.dark-service-card:nth-last-child(-n+2) {
  border-bottom: none;
}
.dark-service-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(197, 160, 89, 0.5);
  margin-bottom: 1.25rem;
  display: block;
}
.dark-service-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.dark-service-card:hover .dark-service-title {
  color: var(--gold);
}
.dark-service-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 90%;
}
.dark-service-link {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}
.dark-service-card:hover .dark-service-link {
  gap: 1rem;
}

/* -- Component: Project Proof Cards -- */
.proof-card {
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.proof-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.proof-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--white);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 5;
}
.proof-content { padding: 2.5rem; }
.proof-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 2rem; }
.proof-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.proof-data-item label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}
.proof-data-item span {
  font-size: 0.9rem;
  color: rgba(0, 27, 61, 0.5);
}

/* -- Contact Overhaul -- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}
.contact-info-panel h2 { font-size: 3rem; margin-bottom: 4rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 3rem; }
.contact-info-row { border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.contact-info-row label { display: block; font-size: 0.9rem; color: rgba(0, 27, 61, 0.5); margin-bottom: 0.75rem; }
.contact-info-row span, .contact-info-row a { font-size: 1.15rem; font-weight: 500; }

.consultation-form-wrap {
  background: var(--white);
  padding: 4rem;
  border: 1px solid var(--border);
}

/* -- Footer Overhaul -- */
.footer-v2 {
  background: var(--navy);
  color: var(--white);
  padding-block: 8rem 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 6rem;
}
.footer-logo-box { margin-bottom: 2rem; }
.footer-desc { color: rgba(255, 255, 255, 0.6); line-height: 1.7; font-size: 1rem; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 2.5rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.footer-links a {
  color: var(--white);
  font-size: 1.05rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-info { color: rgba(255, 255, 255, 0.8); font-size: 1.05rem; line-height: 1.8; }

.footer-bottom-line {
  margin-top: 8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* -- Component: G-Sync Boxy Cards -- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.process-step-boxy {
  background: rgba(255, 255, 255, 0.03);
  padding: 2.25rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
  height: 100%;
}
.process-step-boxy:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(197, 160, 89, 0.2);
}
.process-step-num-v2 {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: 0.1em;
}
.process-step-title-v2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.process-step-desc-v2 {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* -- Component: Ideal Fit Split Box -- */
.selection-box-container {
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.selection-panel {
  padding: 5rem 4rem;
}
.selection-panel.divider-right {
  border-right: 1px solid var(--border);
}
.selection-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.selection-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.selection-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
}
.selection-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.selection-item.ideal { color: var(--navy); }
.selection-item.not-fit { color: rgba(0, 27, 61, 0.4); }

/* -- Utility: Left Lined Eyebrow (Image 12) -- */
.eyebrow-left-lined {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.eyebrow-left-lined .line {
  width: 2rem;
  height: 2px;
  background: var(--gold);
}

.structural-grid-overlay.left-align {
  text-align: left;
  padding-block: 10rem;
}
.structural-grid-overlay.left-align .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

/* -- Component: Testimonials V3 (Image 11) -- */
.testimonial-card-v3 {
  background: var(--white);
  padding: 4rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}
.testimonial-card-v3:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0, 27, 61, 0.05);
}
.testimonial-quote-v3 {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0.15;
}
.testimonial-text-v3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--navy);
  margin-bottom: 3.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.testimonial-footer-v3 {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: auto;
}
.testimonial-icon-box-v3 {
  width: 48px;
  height: 48px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-icon-box-v3 svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}
.testimonial-meta-v3 {
  display: flex;
  flex-direction: column;
}
.testimonial-role-v3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.testimonial-company-v3 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}


/* -- Careers Spacing Fix -- */
.careers-cta-section {
  padding-block: 10rem;
  text-align: center;
  background: var(--white);
}
.careers-cta-section .display-heading { margin-bottom: 4rem; }
.careers-cta-section p {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 4rem;
  font-size: 1.15rem;
  color: rgba(0, 27, 61, 0.7);
  line-height: 1.8;
}

/* -- Global Responsive Overrides for Desktop/Tablet -- */
@media (max-width: 1024px) {
  .contact-split { grid-template-columns: 1fr; gap: 4rem; }
  .footer-grid { grid-template-columns: 1fr 2fr; gap: 4rem; }
  .dark-service-grid { gap: 4rem; }
  .selection-box-container { grid-template-columns: 1fr; }
  .selection-panel.divider-right { border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .display-heading { font-size: 2.5rem; }
  .dark-service-grid { grid-template-columns: 1fr; }
  .flex.center.gap-6 { flex-direction: column; gap: 1rem; align-items: stretch !important; }
}

/* -- Button: Outline White -- */
.btn-outline-white {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  padding: 1rem 2rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  transition: all var(--transition) !important;
  display: inline-flex !important;
  align-items: center !important;
}
.btn-outline-white:hover {
  background: var(--white) !important;
  color: var(--navy) !important;
  border-color: var(--white) !important;
}

/* -- Component: Testimonials -- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 5rem;
}
.testimonial-card-v3 {
  background: var(--white);
  padding: 4rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}
.testimonial-card-v3:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0, 27, 61, 0.05);
}
.testimonial-quote-v3 {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0.15;
}
.testimonial-text-v3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--navy);
  margin-bottom: 3.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-align: left;
}
.testimonial-footer-v3 {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: auto;
}
.testimonial-icon-box-v3 {
  width: 48px;
  height: 48px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-icon-box-v3 svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}
.testimonial-meta-v3 {
  display: flex;
  flex-direction: column;
}
.testimonial-role-v3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.testimonial-company-v3 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

@media (max-width: 1200px) {
  .testimonials-grid { gap: 3rem; }
  .testimonial-card-v3 { padding: 4rem 2.5rem; }
}
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* -- Utility: White Text -- */
.text-white-force { color: #ffffff !important; }

/* ── High-End Technical UI Additions ── */
.structural-grid-overlay {
  position: relative;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
}

.structural-grid-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--navy) 100%);
  pointer-events: none;
}

.technical-serif {
  font-family: var(--font-display) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.eyebrow-lined {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-lined .line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.lined-eyebrow-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.lined-eyebrow-center .line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* Premium Gold Feedback Cards */
.golden-feedback-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none !important;
  position: relative;
  border-radius: 0;
}

.golden-feedback-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
}

.testimonial-quote-v4 {
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0.3;
}

.testimonial-text-v4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 3rem;
  font-style: italic;
}

.testimonial-footer-v4 {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.testimonial-icon-v4 {
  width: 40px;
  height: 40px;
  background: var(--tint-dark);
  color: var(--gold);
  padding: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-meta-v4 span {
  display: block;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.testimonial-role-v4 {
  font-size: 0.8rem;
  color: var(--navy);
}

.testimonial-company-v4 {
  font-size: 0.7rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

/* Depth Utility */
.technical-shadow {
  box-shadow: 0 30px 60px rgba(0, 27, 61, 0.15) !important;
}

.hero-shadow-overlay {
  box-shadow: inset 0 -100px 100px rgba(0, 27, 61, 0.5);
}

/* Job Card Modernization */
.job-card-v2 {
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.job-card-v2:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.job-card-main {
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-info-left {
  flex: 1;
  padding-right: 2rem;
}

.job-title-v2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.job-meta-v2 {
  font-size: 0.875rem;
  color: var(--steel);
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
}

.job-short-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  max-width: 600px;
}

.job-actions-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 180px;
}

.btn-apply-v2 {
  background: var(--navy);
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-apply-v2:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-view-full {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-left: auto;
}

.job-details-expand {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.job-card-v2.expanded .job-details-expand {
  max-height: 2000px;
  opacity: 1;
  padding: 3.5rem 2.5rem;
}

.details-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.detail-column-v2 h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 0.5rem;
}

.detail-list-v2 {
  list-style: none;
  padding: 0;
}

.detail-list-v2 li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a5568;
}

.detail-list-v2 li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .details-grid-v2 { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .job-card-main { flex-direction: column; align-items: flex-start; padding: 2rem; }
  .job-info-left { padding-right: 0; margin-bottom: 1.5rem; }
  .job-actions-right { width: 100%; text-align: left; align-items: flex-start; }
  .btn-view-full { margin-left: 0; }
}


/* ============================================================ */
/* PREMIUM ARCHITECTURAL POLISH – PRODUCTION RELEASE            */
/* ============================================================ */

/* 1. Systematic Shadow Removal (Crisp Aesthetic) */
.hero-shadow-overlay, .technical-shadow, .btn:hover { box-shadow: none !important; }
.testimonial-card, .blog-card, .proof-card, .dark-service-card, .why-card { box-shadow: none !important; }
#site-header.scrolled { box-shadow: 0 1px 0 var(--border) !important; }
.login-container, .admin-card { box-shadow: none !important; border: 1px solid var(--border) !important; }

/* 2. Stat Card Overhaul (Professional Grade) */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  border-radius: 0;
}
.stat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
  background: var(--gold); transition: width var(--transition);
}
.stat-card:hover { border-color: var(--gold); }
.stat-card:hover::after { width: 100%; }

.stat-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
}
.stat-suffix {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-left: 0.25rem;
}

/* 3. Alternating Grid Utilities */
.row-reverse { flex-direction: row-reverse !important; }
.about-grid.row-reverse .about-image-wrap { order: 2; }
.about-grid.row-reverse > div:last-child { order: 1; }

/* 4. Contact/Careers Refinements */
#target_position_wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
#target_position_wrap.visible {
  max-height: 200px;
  margin-top: 1.5rem;
}

/* 5. Production Visual Fixes */
.btn-black { background: #000 !important; color: #fff !important; }
.btn-black:hover { background: var(--gold) !important; color: var(--navy) !important; }

/* 6. Tablet/Mobile Responsive Isolation Overrides */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.75rem !important; }
  .section-heading { font-size: 2rem !important; }
  .about-grid { grid-template-columns: 1fr !important; gap: 3rem !important; }
  .stats-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .hero-stats { grid-template-columns: 1fr 1fr !important; gap: 1.5rem !important; }
}
@media (max-width: 480px) {
  .hero-content { padding-top: 6rem !important; }
}

/* ============================================================
   BLOG REDESIGN – INSTITUTIONAL SPLIT LAYOUT
   ============================================================ */
.blog-redesign-hero {
    background: #001b3d;
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.blog-hero-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .blog-hero-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.blog-detail-heading {
    font-size: clamp(2rem, 5vw, 4rem);
    color: #fff;
    line-height: 1.1;
    font-weight: 700;
}

.blog-author-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
}

.author-info {
    flex-shrink: 0;
}

.author-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.author-name {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
}

.author-divider {
    width: 1px;
    height: 40px;
    background: rgba(197, 160, 89, 0.2);
}

@media (max-width: 768px) {
    .author-divider { display: none; }
    .blog-author-strip { gap: 1.5rem; }
}

.sharp-asset-container {
    position: relative;
    box-shadow: 40px 40px 80px rgba(0,0,0,0.3);
}

.sharp-blog-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

.structural-overlay-line {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    pointer-events: none;
}

.article-sidebar-layout {
    display: grid;
    gap: 5rem;
}

@media (min-width: 1024px) {
    .article-sidebar-layout {
        grid-template-columns: 1fr 340px;
    }
}

.blog-abstract {
    font-size: 1.5rem;
    color: var(--navy);
    line-height: 1.4;
    font-family: var(--font-display);
    border-left: 4px solid var(--gold);
    padding-left: 2rem;
}

.technical-content-flow {
    color: #475569;
    line-height: 1.8;
    font-size: 1.1rem;
}

.technical-content-flow p { margin-bottom: 2rem; }
.technical-content-flow h2, .technical-content-flow h3 {
    color: var(--navy);
    margin: 3.5rem 0 1.5rem;
    font-weight: 700;
}

.technical-blog-sidebar .sidebar-block {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
}

.sidebar-related-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-rel-item {
    text-decoration: none;
    display: block;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    transition: all 0.3s ease;
}

.sidebar-rel-item:last-child { border: none; }

.rel-cat {
    font-size: 0.65rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.rel-title {
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.rel-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    opacity: 0;
    color: var(--gold);
    transition: all 0.3s ease;
}

.sidebar-rel-item:hover .rel-title { color: var(--gold); }
.sidebar-rel-item:hover .rel-arrow { opacity: 1; transform: translateY(-50%) translateX(0); }

.sidebar-cta-box {
    background: var(--navy);
    padding: 2rem;
    text-align: center;
}

.cta-box-label {
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-box-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-gold-sm {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-back-v2 {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: gap 0.3s ease;
}

.btn-back-v2:hover { gap: 1.5rem; color: var(--gold); }


/* GLOBAL CLARITY: Disabling dark image overlays on listing cards */
.project-overlay, 
.blog-overlay,
.proof-overlay {
    display: none !important;
}

/* ============================================================
   OUR STRUCTURAL MODEL (REPLACEMENT)
   ============================================================ */
.structural-model-section {
  padding-block: var(--space-xl);
  background: var(--white);
  overflow: hidden;
}

.model-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

@media (max-width: 1100px) {
  .model-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 992px) {
  .model-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Tightened from 3rem */
    text-align: left; /* Anchoring content to left */
  }
  
  .model-content {
    display: contents;
  }

  .model-eyebrow { 
    order: 1; 
    margin-bottom: 1rem;
    justify-content: flex-start;
  }
  .model-title { 
    order: 2; 
    margin-bottom: 0.5rem !important;
    text-align: left;
  }
  .model-subtitle { 
    order: 3; 
    margin-top: 0 !important;
    margin-bottom: 1.5rem; 
    text-align: left;
  }
  .model-image-wrap { order: 4; margin-bottom: 2rem; }
  .model-text { order: 5; margin-bottom: 2rem; text-align: left; }
  .model-cta { order: 6; text-align: left; }

  .structural-model-section .display-h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }
}

.model-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 2rem;
}

.model-eyebrow .line {
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

/* Section-specific scaling to prevent excessive wrapping on smaller desktop viewports */
.structural-model-section .display-h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1.15;
}

.model-title {
  margin-bottom: 0.75rem;
}

.model-subtitle {
  margin-bottom: 3rem;
}

.model-text {
  max-width: 90%;
  margin-bottom: 3.5rem;
}

.model-text p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.85;
}

.model-text p + p {
  margin-top: 1.5rem;
}

/* ============================================================
   DARK SERVICES V2 (Dynamic)
   ============================================================ */
.services-dark-section {
  background: var(--navy);
  color: var(--white);
  padding-block: var(--space-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Full Viewport Height Option */
.vh-section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.services-v2-grid {
  display: flex;
  flex-direction: column; 
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* Top border for first item context */
}

.service-card-v2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Prominent separator */
  transition: all 0.4s var(--transition);
}

.service-card-v2:last-child {
  border-bottom: none;
}

.service-card-v2:hover {
  padding-left: 2rem;
  background: rgba(255, 255, 255, 0.02);
}


.service-num-v2 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.5;
}

.service-title-v2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  transition: color 0.3s ease;
}

.service-card-v2:hover .service-title-v2 {
  color: var(--gold);
}

.service-desc-v2 {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 95%;
}

.service-link-v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-top: 0.5rem;
  transition: gap 0.3s ease;
}

.service-link-v2:hover {
  gap: 1.25rem;
}

/* ── Interactive Premium Button ── */
.btn-premium-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3.5rem;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.btn-premium-v2:hover {
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
}

.btn-premium-v2:hover::before {
  left: 0;
}

.btn-premium-v2:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.1);
}



.model-image-wrap {
  position: relative;
  z-index: 1;
}

.model-img-inner {
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 27, 61, 0.15);
}

.model-img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}

@media (min-width: 993px) {
  .model-img {
    aspect-ratio: 4/3.8;
  }
}

.model-stat-card {
  position: absolute;
  bottom: -2rem;
  left: -3rem;
  background: var(--navy);
  padding: 2.5rem;
  min-width: 260px;
  z-index: 3;
}

@media (max-width: 992px) {
  .model-stat-card {
    position: relative;
    bottom: 0;
    left: 0;
    margin: -3.5rem 0 0 1.25rem; /* Left-anchored overlap with small offset */
    padding: 2rem;
    min-width: 200px;
    display: block;
    width: fit-content;
    text-align: left;
  }
}

/* Tightening section for extra large screens to keep content in view as requested */
@media (min-width: 1400px) {
  .structural-model-section.vh-section {
    min-height: 80vh; /* Reduced from 85vh to bring button up */
    max-height: 850px;
    padding-block: 4rem;
  }
  
  .model-subtitle {
    margin-bottom: 1.5rem;
  }
  
  .model-text {
    margin-bottom: 2rem;
  }
}


.model-stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.model-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-top: 0.75rem;
}

.model-img-bg-accent {
  position: absolute;
  top: 2rem;
  right: -2.5rem;
  bottom: -2.5rem;
  left: 4rem;
  background: var(--cream);
  z-index: 0;
}

@media (max-width: 992px) {
  .model-img-bg-accent {
    right: -1.5rem;
    bottom: -1.5rem;
    left: 2rem;
  }
}

/* ── Premium Display Headlines ── */
.display-h1, 
.display-h2 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-decoration: none !important;
}

.display-h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}

.display-h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
/* ── Global Utilities ── */
.text-center { text-align: center !important; }
.mt-24 { margin-top: 6rem !important; }
.mb-24 { margin-bottom: 6rem !important; }
.mx-auto { margin-inline: auto !important; }

.display-block { display: block !important; }
.display-inline-block { display: inline-block !important; }
/* ── Architectural Filter Bar ── */
.projects-filter-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.projects-filter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.filter-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  font-family: var(--font-ui);
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  padding: 0.6rem 1.25rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.filter-btn:hover {
  color: var(--gold);
}

.filter-btn.active {
  background: var(--navy);
  color: var(--white);
}

/* Structural Search Form */
.projects-search-form {
  position: relative;
  width: 100%;
  max-width: 20rem;
}

.projects-search-form input {
  width: 100%;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  padding: 0.8rem 3rem 0.8rem 1.25rem;
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: var(--navy);
  transition: all 0.3s ease;
}

.projects-search-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.projects-search-form button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 3rem;
  background: transparent;
  border: none;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.projects-search-form button:hover {
  color: var(--gold);
}

/* Careers Section Styles */
.careers-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 992px) {
  .careers-grid-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.careers-content-primary {
  max-width: 35rem;
}

.careers-brief-card {
  background: var(--navy);
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.careers-brief-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, transparent 50%, rgba(197, 160, 89, 0.1) 50%);
}

.careers-brief-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.careers-brief-text {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.bg-cream-dark { background-color: var(--cream-dark) !important; }

/* Override for button on dark backgrounds */
.bg-cream-dark .btn-section-cta:hover {
  color: #ffffff !important;
}
/* ── Global Mobile Alignment Standard (Architectural Left-Align) ── */
@media (max-width: 992px) {
  .section-header.center,
  .section-header-spacing.center,
  .text-center-mobile {
    text-align: left !important;
  }

  .lined-eyebrow-center,
  .eyebrow-center,
  .section-header.center .eyebrow {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  /* Adjust decorative lines for left-alignment */
  .lined-eyebrow-center .line:first-child {
    display: none; /* Removing the pre-line to anchor text to the left margin */
  }

  .section-title-main,
  .display-h2.center,
  .display-h1.center {
    text-align: left !important;
  }

  .btn-section-cta.btn-center,
  .section-header.center .btn-section-cta {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}
