/* ==========================================================================
   PYRAMID WATERPROOFING SERVICES & ENVADURE™
   LUXURY ARCHITECTURAL LIGHT EDITORIAL THEME
   Sophisticated, High-Contrast, Prestigious & Clean
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Architectural Light Palette */
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.94);

  /* Text & Contrast */
  --text-dark: #090e17;       /* Deep architectural graphite */
  --text-primary: #1e293b;    /* Rich slate primary */
  --text-secondary: #475569;  /* Balanced body slate */
  --text-muted: #64748b;      /* Slate captions */
  --text-light: #94a3b8;      /* Muted tags */

  /* Brand Accents */
  --brand-teal: #0d736b;      /* Deep EnvaDure Teal */
  --brand-teal-light: #0f8e84;/* Fresh vibrant teal */
  --brand-teal-soft: #e6f6f4; /* Subtle pill tint */
  --accent-teal: var(--brand-teal);
  --accent-teal-light: var(--brand-teal-light);
  --brand-cyan: #0284c7;      /* Engineering blue */
  --brand-cyan-soft: #f0f9ff;
  --brand-amber: #b45309;     /* Warm bronze */
  --brand-amber-soft: #fef3c7;
  --brand-rose: #be123c;      /* Structural warning */
  --brand-rose-soft: #ffe4e6;
  --brand-emerald: #047857;

  /* Architectural Borders */
  --border-subtle: #e2e8f0;
  --border-card: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-teal: rgba(13, 115, 107, 0.35);

  /* Elevated Diffused Shadows */
  --shadow-xs: 0 1px 2px rgba(9, 14, 23, 0.04);
  --shadow-card: 0 2px 8px -1px rgba(9, 14, 23, 0.05), 0 1px 3px rgba(9, 14, 23, 0.03);
  --shadow-card-hover: 0 16px 36px -8px rgba(9, 14, 23, 0.12), 0 4px 12px -2px rgba(9, 14, 23, 0.04);
  --shadow-header: 0 4px 20px -2px rgba(9, 14, 23, 0.05);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1220px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-dark);
  letter-spacing: -0.025em;
}

.gradient-text {
  background: linear-gradient(135deg, #090e17 30%, #0d736b 75%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-amber {
  background: linear-gradient(135deg, #b45309 0%, #d97706 60%, #be123c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Header Top Information Bar (Executive Architectural Style)
   ========================================================================== */
.header-top-bar {
  background: #090e17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  font-size: 0.785rem;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

.header-top-bar .container {
  max-width: 1360px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.top-bar-item svg {
  color: #2dd4bf;
  flex-shrink: 0;
}

.top-bar-item a {
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-bar-item a:hover {
  color: #2dd4bf;
}

/* ==========================================================================
   Navigation Bar (Bespoke, Segmented Pill Architecture)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  transition: var(--transition);
}

.site-header .nav-container {
  max-width: 1360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.02);
}

/* Desktop Segmented Pill Nav (Guaranteed Single-Line & Unique) */
.desktop-nav {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  padding: 0.3rem 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
  gap: 0.15rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.72rem;
  font-size: 0.815rem;
  font-weight: 600;
  color: #475569;
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap !important;
  line-height: 1.2;
}

.nav-link:hover {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.nav-link.active {
  color: #ffffff;
  background: var(--brand-teal);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(13, 115, 107, 0.28);
}

.nav-link.active::after {
  display: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.header-actions .btn-primary {
  background: linear-gradient(135deg, var(--brand-teal) 0%, #0f8e84 100%);
  color: #ffffff;
  padding: 0.55rem 1.25rem;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(13, 115, 107, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.header-actions .btn-primary:hover {
  background: linear-gradient(135deg, #094e48 0%, var(--brand-teal) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 115, 107, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 0.975rem;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-teal) 0%, #0f8e84 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(13, 115, 107, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #094e48 0%, var(--brand-teal) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 115, 107, 0.38);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background: var(--brand-teal-soft);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-dark);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.75rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  z-index: 999;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
}

/* ==========================================================================
   Section Category Eyebrows / Headings (Architectural Typography Kicker)
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  line-height: 1.3;
}

.section-header .badge {
  margin-bottom: 0.65rem;
}

.badge-teal {
  color: var(--brand-teal) !important;
}

.badge-cyan {
  color: var(--brand-cyan) !important;
}

.badge-amber {
  color: var(--brand-amber) !important;
}

.badge-rose {
  color: var(--brand-rose) !important;
}

.badge-emerald {
  color: var(--brand-emerald) !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
/* ==========================================================================
   Hero Section & Full Panoramic Architectural Showcase Layout
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 2.25rem 0 2.5rem;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(ellipse at 50% -10%, rgba(13, 115, 107, 0.1) 0%, rgba(2, 132, 199, 0.04) 50%, transparent 75%),
    linear-gradient(rgba(203, 213, 225, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 213, 225, 0.3) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Ambient Atmospheric Glow Elements */
.hero-ambient-orb-1 {
  position: absolute;
  top: -100px;
  left: 12%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(13, 115, 107, 0.14) 0%, rgba(15, 142, 132, 0.04) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-ambient-orb-2 {
  position: absolute;
  top: 40px;
  right: 12%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, rgba(13, 115, 107, 0.03) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-container-wide {
  max-width: 1400px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Unified Asymmetric Architectural 2-Column Hero Masterpiece
   ========================================================================== */
.hero-split-masterpiece {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 2.75rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 1100px) {
  .hero-split-masterpiece {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* LEFT COLUMN: Executive Thesis */
.hero-left-narrative {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  text-align: left;
}

.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  background: rgba(13, 115, 107, 0.08);
  border: 1px solid rgba(13, 115, 107, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.hero-architectural-title {
  font-family: var(--font-heading);
  font-size: 2.65rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #090e17;
  font-weight: 800;
  margin: 0;
}

.hero-title-highlight {
  display: inline;
  background: linear-gradient(135deg, #094e48 0%, #0d736b 35%, #0f8e84 70%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(13, 115, 107, 0.18));
}

.hero-narrative-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-lead-thesis {
  font-size: 1.05rem;
  font-weight: 450;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

.thesis-stat-pill {
  color: #be123c;
  font-weight: 700;
  background: rgba(190, 18, 60, 0.08);
  border: 1px solid rgba(190, 18, 60, 0.2);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-xs);
  display: inline-block;
  white-space: nowrap;
}

/* Action Ecosystem (Buttons & Advisory Desk) */
.hero-action-ecosystem {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.45rem;
  background: linear-gradient(135deg, #094e48 0%, #0d736b 50%, #0f8e84 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 16px -2px rgba(13, 115, 107, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  cursor: pointer;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #063934 0%, #094e48 50%, #0d736b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -2px rgba(13, 115, 107, 0.45);
  color: #ffffff;
}

.btn-hero-arrow {
  display: inline-flex;
  transition: transform 0.25s ease;
}

.btn-hero-primary:hover .btn-hero-arrow {
  transform: translateX(3px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.35rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.hero-advisory-desk {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.95rem 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 115, 107, 0.28);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.hero-advisory-desk:hover {
  border-color: var(--brand-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -3px rgba(13, 115, 107, 0.15);
}

.desk-indicator-wrap {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(13, 115, 107, 0.1);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.desk-pulse-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px #ffffff;
}

.desk-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.desk-sub-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.desk-phone-val {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

.desk-expert-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-teal);
  background: rgba(13, 115, 107, 0.1);
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* RIGHT COLUMN: Flagship Architectural Graphic Console */
.hero-right-visual {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.hero-right-visual .panoramic-showcase-card {
  position: relative;
  background: #090e17;
  border: 1px solid rgba(13, 115, 107, 0.35);
  border-radius: 16px;
  box-shadow: 0 18px 45px -10px rgba(9, 14, 23, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  max-width: 100%;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.showcase-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

.showcase-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 6px #2dd4bf;
}

.showcase-title {
  color: #f8fafc;
}

.showcase-flow-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.flow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.flow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.threat-dot { background: #38bdf8; }
.shield-dot { background: #2dd4bf; }
.durability-dot { background: #34d399; }

.flow-sep {
  color: #64748b;
  font-size: 0.75rem;
}

/* Panoramic Canvas with ZERO Cropping & Controlled Height */
.panoramic-media-canvas {
  position: relative;
  background: #000000;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex: 1;
}

.panoramic-full-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.panoramic-expand-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(9, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
}

.panoramic-expand-btn:hover {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  transform: translateY(-1px);
}

/* Lightbox Modal for Panoramic Graphic */
.panoramic-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.panoramic-modal.active {
  display: flex;
}

.panoramic-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.panoramic-modal-container {
  position: relative;
  z-index: 2;
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  max-width: 1400px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: modalScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.panoramic-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.panoramic-modal-close:hover {
  background: var(--brand-teal);
  transform: rotate(90deg);
}

.panoramic-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panoramic-modal-title {
  color: #f8fafc;
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.panoramic-modal-sub {
  color: #94a3b8;
  font-size: 0.885rem;
  margin: 0;
}

.panoramic-modal-img-wrap {
  padding: 1.5rem;
  background: #000000;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.panoramic-modal-img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* Backward-compatible classes for subpages */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.hero-title {
  font-size: 3.35rem;
  letter-spacing: -0.035em;
  line-height: 1.14;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-media-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  box-shadow: 0 20px 45px -10px rgba(9, 14, 23, 0.12);
}

.hero-image-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-frame.diagram-frame {
  background: #000000;
  border: 1px solid #1e293b;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame.diagram-frame img,
.hero-image-frame img.contain-img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.hero-image-frame:hover img {
  transform: scale(1.02);
}

.hero-floating-card {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-teal);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.65rem;
  box-shadow: 0 15px 35px -5px rgba(9, 14, 23, 0.15);
  max-width: 310px;
}

.floating-card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-teal);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.floating-card-desc {
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.5;
}

/* ==========================================================================
   Statistics Strip
   ========================================================================== */
.stats-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0;
  box-shadow: var(--shadow-xs);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid var(--border-subtle);
  padding-right: 1.5rem;
}

.stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-number span {
  color: var(--brand-teal);
}

.stat-label {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-dark);
}

.stat-subtext {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Sections & Common Utilities
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background-color: #f1f5f9;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-dark);
}

.section-surface {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: 2.45rem;
  margin-top: 0.85rem;
  margin-bottom: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================================================
   Cards Grid System
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-teal);
  box-shadow: var(--shadow-card-hover);
}

.card-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-xs);
  background: var(--brand-teal-soft);
  border: 1px solid rgba(13, 115, 107, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  margin-bottom: 1.5rem;
}

.card-title,
.card h3,
.card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

/* ==========================================================================
   Pioneered Best Practices Showcase Component
   ========================================================================== */
.pioneer-showcase {
  margin-top: 3rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border-subtle);
}

.pioneer-header {
  margin-bottom: 2rem;
}

.pioneer-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-top: 0.65rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pioneer-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 820px;
  line-height: 1.65;
}

.pioneer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 860px) {
  .pioneer-grid {
    grid-template-columns: 1fr;
  }
}

.pioneer-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.pioneer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-teal);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pioneer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 115, 107, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.pioneer-card:hover::before {
  opacity: 1;
}

.pioneer-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-xs);
  background: var(--brand-teal-soft);
  border: 1px solid rgba(13, 115, 107, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.pioneer-card:hover .pioneer-icon-box {
  background: var(--brand-teal);
  color: #ffffff;
}

.pioneer-body {
  flex: 1;
  min-width: 0;
}

.pioneer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.pioneer-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-teal);
}

.pioneer-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.pioneer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.pioneer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pioneer-card.featured {
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.6) 0%, #ffffff 100%);
  border-color: rgba(13, 115, 107, 0.35);
}

.pioneer-card.featured::before {
  opacity: 1;
}

/* ==========================================================================
   Comparison Grid (What We Do vs What We Don't Do)
   ========================================================================== */
/* ==========================================================================
   Bespoke Architectural Governance & Comparison Console
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.comp-box {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.comp-box:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.comp-box.do {
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-top: 4px solid var(--brand-teal);
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.4) 0%, #ffffff 160px);
}

.comp-box.dont {
  border: 1px solid rgba(225, 29, 72, 0.18);
  border-top: 4px solid var(--brand-rose);
  background: linear-gradient(180deg, rgba(255, 241, 242, 0.4) 0%, #ffffff 160px);
}

.comp-header {
  padding: 1.5rem 1.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
}

.comp-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comp-box.do .comp-header-icon {
  background: rgba(13, 148, 136, 0.1);
  color: var(--brand-teal);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.comp-box.dont .comp-header-icon {
  background: rgba(225, 29, 72, 0.1);
  color: var(--brand-rose);
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.comp-header-content {
  flex-grow: 1;
}

.comp-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.comp-box.do .comp-kicker {
  color: var(--brand-teal);
}

.comp-box.dont .comp-kicker {
  color: var(--brand-rose);
}

.comp-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin: 0;
}

.comp-body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-grow: 1;
}

.comp-phase-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comp-phase-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.comp-phase-name {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.comp-phase-count {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

/* Micro-Cards Matrix Grid */
.comp-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .comp-matrix-grid {
    grid-template-columns: 1fr;
  }
}

.comp-matrix-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  min-height: 54px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.comp-box.do .comp-matrix-card:hover {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.08);
  transform: translateY(-1px);
  background: #ffffff;
}

.comp-box.dont .comp-matrix-card:hover {
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.08);
  transform: translateY(-1px);
  background: #ffffff;
}

.comp-matrix-badge {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.comp-box.do .comp-matrix-badge {
  background: rgba(13, 148, 136, 0.12);
  color: var(--brand-teal);
}

.comp-box.dont .comp-matrix-badge {
  background: rgba(225, 29, 72, 0.12);
  color: var(--brand-rose);
}

.comp-matrix-text {
  font-size: 0.835rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}

.comp-integrity-banner {
  margin-top: auto;
  padding: 1.15rem 1.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.7) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(225, 29, 72, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.04);
}

.comp-integrity-icon {
  color: var(--brand-rose);
  flex-shrink: 0;
  margin-top: 2px;
  padding: 4px;
  background: rgba(225, 29, 72, 0.1);
  border-radius: 6px;
}

.comp-integrity-content {
  flex: 1;
}

.comp-integrity-text {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.45;
  margin: 0;
}

.comp-integrity-text strong {
  color: var(--brand-rose);
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.86rem;
}

/* ==========================================================================
   Surface Explorer
   ========================================================================== */
.surface-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.85rem;
}

.surface-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.surface-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-teal);
  box-shadow: var(--shadow-card-hover);
}

.surface-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #f1f5f9;
}

.surface-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.surface-card:hover .surface-img-wrap img {
  transform: scale(1.06);
}

.surface-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #090e17;
  color: #2dd4bf;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(45, 212, 191, 0.25);
  box-shadow: var(--shadow-sm);
}

.surface-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.surface-title {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.surface-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.surface-specs {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--brand-teal);
  font-weight: 700;
}

/* ==========================================================================
   The 7-D Methodology Matrix
   ========================================================================== */
.matrix-container {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 2.75rem;
  align-items: start;
}

.matrix-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: sticky;
  top: 110px;
}

.matrix-nav-btn {
  background: #ffffff;
  border: 1px solid var(--border-card);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
}

.matrix-nav-btn:hover {
  background: #f8fafc;
  border-color: var(--brand-teal);
}

.matrix-nav-btn.active {
  background: #ffffff;
  border-color: var(--brand-teal);
  border-left: 5px solid var(--brand-teal);
  box-shadow: var(--shadow-card-hover);
}

.matrix-idx {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
}

.matrix-nav-btn.active .matrix-idx {
  background: var(--brand-teal);
  color: #ffffff;
}

.matrix-content-panel {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 3.25rem;
  box-shadow: var(--shadow-card);
}

.matrix-panel-header {
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.75rem;
}

.matrix-step-badge {
  color: var(--brand-teal);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.matrix-panel-title {
  font-size: 2.15rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

.matrix-panel-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.matrix-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  margin-top: 2rem;
}

.matrix-info-block {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2rem;
}

.info-block-title {
  font-size: 1.15rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.info-block-title.science-title svg {
  color: var(--brand-cyan);
}

.info-block-title.spec-title svg {
  color: var(--brand-teal);
}

.info-block-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Landmark Projects Showcase
   ========================================================================== */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.filter-btn:hover {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  background: var(--brand-teal-soft);
}

.filter-btn.active {
  background: var(--brand-teal);
  color: #ffffff;
  border-color: var(--brand-teal);
  box-shadow: 0 4px 14px rgba(13, 115, 107, 0.35);
}

/* ==========================================================================
   Landmark Project Showcase (Architectural Case Study Cards)
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  position: relative;
  will-change: transform, box-shadow;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-teal), #14b8a6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(13, 148, 136, 0.2);
}

.project-card:hover::before {
  opacity: 1;
}

.project-img-frame {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.project-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.project-card:hover .project-img-frame img {
  transform: scale(1.07);
}

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9, 14, 23, 0.65) 100%);
  pointer-events: none;
}

.project-city-tag {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(9, 14, 23, 0.82);
  backdrop-filter: blur(6px);
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.project-city-tag svg {
  color: #2dd4bf;
}

.project-inspect-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(9, 14, 23, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.25s ease;
  z-index: 2;
}

.project-card:hover .project-inspect-btn {
  opacity: 1;
  transform: scale(1);
}

.project-content {
  padding: 1.65rem 1.65rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-teal);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-category-kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--brand-teal);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin: 0 0 0.55rem;
  transition: color 0.2s ease;
}

.project-title:last-child {
  margin-bottom: 0;
}

.project-card:hover .project-title {
  color: var(--brand-teal);
}

.project-scope-meta {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  background: #f0fdfa;
  color: #0d736b;
  border: 1px solid rgba(13, 115, 107, 0.18);
  border-radius: 5px;
  padding: 0.35rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.project-scope-meta svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-teal);
}

.project-desc {
  font-size: 0.865rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.project-cta-bar {
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-cta-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.project-card:hover .project-cta-text {
  color: var(--brand-teal);
}

.project-action-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.project-card:hover .project-action-circle {
  background: var(--brand-teal);
  color: #ffffff;
  transform: translateX(3px);
}

/* ==========================================================================
   Project Detail Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 14, 23, 0.7);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  z-index: 2000;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--brand-rose);
  color: #ffffff;
  border-color: var(--brand-rose);
}

.modal-img-wrap {
  height: 380px;
  width: 100%;
  position: relative;
  background: #f1f5f9;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 2.5rem;
}

.modal-badges {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
}

.modal-location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.modal-desc-full {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.65rem;
}

.spec-entry-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.spec-entry-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   Failure Data Table
   ========================================================================== */
.failure-data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-card);
  margin-top: 1.5rem;
  box-shadow: var(--shadow-card);
}

.failure-data-table th, .failure-data-table td {
  padding: 1.35rem 1.65rem;
  text-align: left;
}

.failure-data-table th {
  background: var(--bg-subtle);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-subtle);
}

.failure-data-table tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.failure-data-table tr:hover {
  background: #f8fafc;
}

.failure-data-table tr:last-child {
  border-bottom: none;
}

.progress-bar-wrap {
  background: #e2e8f0;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.35rem;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--brand-rose);
}

.progress-fill.amber {
  background: var(--brand-amber);
}

.progress-fill.teal {
  background: var(--brand-teal);
}

/* ==========================================================================
   Cost Escalation Rule (1:2:10)
   ========================================================================== */
.escalation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 2rem;
}

.escalation-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.escalation-card.step-1 { border-top: 5px solid var(--brand-emerald); }
.escalation-card.step-2 { border-top: 5px solid var(--brand-amber); }
.escalation-card.step-3 { border-top: 5px solid var(--brand-rose); }

.cost-multiplier {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.85rem;
  letter-spacing: -0.04em;
}

.step-1 .cost-multiplier { color: var(--brand-emerald); }
.step-2 .cost-multiplier { color: var(--brand-amber); }
.step-3 .cost-multiplier { color: var(--brand-rose); }

/* ==========================================================================
   Contact Page & Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1.85rem;
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--border-teal);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-xs);
  background: var(--brand-teal-soft);
  border: 1px solid rgba(13, 115, 107, 0.2);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-title {
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-detail-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-detail-val a:hover {
  color: var(--brand-teal);
}

.social-links {
  display: flex;
  gap: 0.85rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.social-btn:hover {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  background: var(--brand-teal-soft);
}

.calc-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 2.75rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.925rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(13, 115, 107, 0.18);
}

/* ==========================================================================
   Footer (Luxury Light Theme)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.95fr 1.35fr 1.1fr;
  gap: 2.75rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.footer-brand-title span {
  color: var(--brand-teal);
}

.footer-brand-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.footer-grid > div:nth-child(3) .footer-links {
  gap: 0.32rem;
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  line-height: 1.35;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-teal);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer Disclaimer
   ========================================================================== */
.footer-disclaimer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: #000000;
  font-size: 0.775rem;
  line-height: 1.65;
}

.footer-disclaimer-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #000000;
}

.footer-disclaimer p {
  margin-bottom: 0.65rem;
  color: #000000;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   Homepage Upfront Services Showcase
   ========================================================================== */
.services-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.service-feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  position: relative;
}

.service-feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-teal);
}

.service-feat-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #090e17;
}

.service-feat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-feat-card:hover .service-feat-img-wrap img {
  transform: scale(1.05);
}

.service-feat-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(9, 14, 23, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-feat-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-feat-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.service-feat-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-feat-meta {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.service-feat-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-teal);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.service-feat-card:hover .service-feat-link {
  color: var(--brand-teal-light);
  transform: translateX(4px);
}

/* ==========================================================================
   Quick Specification Audit & Conversion Widget
   ========================================================================== */
.audit-quick-card {
  background: linear-gradient(135deg, #090e17 0%, #0f1f2e 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 45px -10px rgba(9, 14, 23, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.audit-quick-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(13, 115, 107, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.audit-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.audit-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.785rem;
  font-weight: 700;
  color: #2dd4bf;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.audit-heading {
  font-size: 2.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.audit-subtext {
  font-size: 0.985rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.audit-trust-chips {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.audit-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.audit-form-box {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.audit-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.audit-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.audit-form-group.full {
  grid-column: span 2;
}

.audit-label {
  font-size: 0.785rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.audit-input, .audit-select {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-size: 0.925rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.audit-input:focus, .audit-select:focus {
  outline: none;
  border-color: #2dd4bf;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

.audit-btn {
  width: 100%;
  background: linear-gradient(135deg, #0d736b 0%, #0f8e84 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(13, 115, 107, 0.35);
}

.audit-btn:hover {
  background: linear-gradient(135deg, #0f8e84 0%, #14b8a6 100%);
  box-shadow: 0 8px 24px rgba(13, 115, 107, 0.45);
  transform: translateY(-2px);
}

/* ==========================================================================
   The Executive Intelligence Hub (Consolidated Slide Insights)
   ========================================================================== */
.exec-hub-container {
  margin-top: 2.5rem;
}

.exec-tabs-nav {
  display: flex;
  gap: 0.75rem;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.exec-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.35rem;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.exec-tab-btn:hover {
  border-color: var(--brand-teal);
  color: var(--text-dark);
}

.exec-tab-btn.active {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 115, 107, 0.25);
}

.exec-tab-panel {
  display: none;
  animation: fadeInTab 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.exec-tab-panel.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.exec-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.exec-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Sticky Bottom Conversion Pill (Disabled)
   ========================================================================== */
.sticky-conversion-bar {
  display: none !important;
}

@media (max-width: 900px) {
  .services-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audit-quick-grid, .exec-highlight-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .services-featured-grid {
    grid-template-columns: 1fr;
  }
  .audit-form-grid {
    grid-template-columns: 1fr;
  }
  .audit-form-group.full {
    grid-column: span 1;
  }
  .audit-quick-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-architectural-title {
    font-size: 2.85rem;
  }
  .hero-credential-deck {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-flow-nav {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero-media-wrapper {
    order: -1;
  }
  .hero-image-frame img {
    height: 380px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .cards-grid-3, .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .surface-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .matrix-container {
    grid-template-columns: 1fr;
  }
  .matrix-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1220px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 40px;
  }
  .hero-architectural-title {
    font-size: 2.15rem;
  }
  .hero-lead-thesis {
    font-size: 1.05rem;
  }
  .hero-sub-thesis {
    font-size: 0.925rem;
  }
  .hero-action-ecosystem {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary,
  .btn-hero-secondary,
  .hero-advisory-desk {
    width: 100%;
    justify-content: center;
  }
  .hero-credential-deck {
    grid-template-columns: 1fr;
  }
  .hero-executive-badge {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.85rem;
    gap: 0.4rem;
  }
  .panoramic-expand-btn span {
    display: none;
  }
  .panoramic-expand-btn {
    padding: 0.5rem;
  }
  .section-title {
    font-size: 1.95rem;
  }
  .cards-grid-3, .cards-grid-2, .projects-grid, .surface-grid {
    grid-template-columns: 1fr;
  }
  .comparison-grid, .matrix-two-col, .escalation-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
    padding-right: 0;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
