/* ==========================================================================
   Sundeep Sanil — Real Estate Marketing Consultant
   Clean Minimalist Corporate Styling (White Background, Navy Blue, Red Accent)
   Enhanced with 60fps Micro-Interactions, Full Mobile Responsiveness & Touch Optimization
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-white: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  
  --navy-primary: #0a192f;       /* Deep Corporate Navy */
  --navy-dark: #060d17;
  --navy-surface: #10233d;
  --navy-light: #e8eef6;

  --red-primary: #c92a2a;        /* Corporate Executive Red */
  --red-hover: #b02525;
  --red-light: #fef2f2;
  --red-border: #fecaca;

  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-strong: #cbd5e1;

  --text-black: #0f172a;         /* High contrast dark text */
  --text-body: #334155;          /* Neutral dark slate */
  --text-muted: #64748b;
  --text-white: #ffffff;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Sizing */
  --container-max: 1140px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--text-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.55;
  font-size: 16px;
  background-color: var(--bg-white);
  color: var(--text-body);
  overflow-x: hidden;
  padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)); /* Safe space for sticky bar */
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 16px; /* 16px minimum prevents iOS Safari auto-zoom on input focus */
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.font-mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEALS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* Pulse Indicator */
.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-primary);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(201, 42, 42, 0.7);
  animation: pulse-red 2.2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(201, 42, 42, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(201, 42, 42, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(201, 42, 42, 0); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-primary);
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--navy-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 25, 47, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-primary);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--navy-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 38px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 20px 24px;
  box-shadow: 0 10px 25px rgba(10, 25, 47, 0.08);
}

.mobile-nav-drawer.open {
  display: block;
  animation: slideDown 0.22s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.mobile-nav-links a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-primary);
  display: block;
  padding: 4px 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 44px; /* Accessible minimum touch target */
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  touch-action: manipulation;
}

.btn .arrow-icon {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-navy {
  background: var(--navy-primary);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.15);
}

.btn-red {
  background: var(--red-primary);
  color: #ffffff;
}

.btn-red:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 42, 42, 0.2);
}

.btn-outline {
  background: #ffffff;
  color: var(--navy-primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--navy-primary);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-sm {
  padding: 7px 14px;
  min-height: 38px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 0.98rem;
}

/* ==========================================================================
   SECTION COMMONS
   ========================================================================== */

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-light);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-primary);
  line-height: 1.22;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 660px;
  line-height: 1.6;
}

/* ==========================================================================
   1ST LOOK: WHO AM I (HERO SECTION)
   ========================================================================== */

.hero-section {
  padding: 72px 0 64px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-light);
  color: var(--navy-primary);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(16, 35, 61, 0.1);
}

.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy-primary);
  line-height: 1.16;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--red-primary);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.68;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-photo-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 25px rgba(10, 25, 47, 0.08);
  background: var(--bg-subtle);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-photo-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 25, 47, 0.12);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.hero-photo-wrapper:hover .hero-photo {
  transform: scale(1.02);
}

.hero-photo-caption {
  padding: 12px 16px;
  background: var(--navy-primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-photo-caption span:last-child {
  color: var(--red-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* Key Metrics Strip — Corporate Executive Navy */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: var(--navy-primary);
  overflow: hidden;
  margin-top: 48px;
  box-shadow: 0 16px 36px rgba(10, 25, 47, 0.16);
}

.metric-item {
  padding: 26px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition);
}

.metric-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.metric-item:last-child {
  border-right: none;
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.metric-num.highlight {
  color: #ff6b6b;
}

.metric-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.metric-desc {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* ==========================================================================
   2ND LOOK: CHALLENGES I SOLVE
   ========================================================================== */

.solve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.solve-card {
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.solve-card:hover {
  border-color: var(--navy-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(10, 25, 47, 0.05);
}

.solve-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.solve-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.solve-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   3RD LOOK: TRACK RECORD & CASE STUDIES
   ========================================================================== */

.brand-marquee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 44px;
}

.brand-logo-pill {
  height: 52px;
  padding: 8px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo-pill:hover {
  border-color: var(--navy-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.06);
}

.brand-logo-pill img {
  max-height: 32px;
  max-width: 105px;
  object-fit: contain;
}

/* Project Filter Tabs & Grid */
.vault-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.vault-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 7px 14px;
  min-height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  touch-action: manipulation;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--navy-primary);
  border-color: var(--navy-primary);
  color: #ffffff;
}

.search-box {
  padding: 8px 14px;
  min-height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  font-size: 0.85rem;
  width: 280px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box:focus {
  outline: none;
  border-color: var(--navy-primary);
  box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.08);
}

.projects-table-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.p-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.p-card:hover {
  border-color: var(--navy-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 25, 47, 0.06);
}

.p-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.p-logo-box {
  height: 32px;
  display: flex;
  align-items: center;
}

.p-logo-box img {
  max-height: 28px;
  max-width: 80px;
  object-fit: contain;
}

.p-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy-primary);
  background: var(--navy-light);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.p-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 2px;
}

.p-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.p-data-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.p-data-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.p-data-val {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.p-data-val.red {
  color: var(--red-primary);
}

/* ==========================================================================
   4TH LOOK: SERVICES & SCOPE
   ========================================================================== */

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.scope-card {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.scope-card:hover {
  border-color: var(--navy-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 25, 47, 0.05);
}

.scope-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red-primary);
  margin-bottom: 8px;
}

.scope-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 10px;
}

.scope-points {
  list-style: none;
}

.scope-points li {
  font-size: 0.86rem;
  color: var(--text-body);
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.scope-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--red-primary);
  font-weight: bold;
}

/* 10-WEEK ROADMAP */
.roadmap-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.roadmap-col {
  padding: 18px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  transition: border-color var(--transition), transform var(--transition);
}

.roadmap-col:hover {
  transform: translateY(-2px);
  border-color: var(--navy-primary);
}

.roadmap-col.featured {
  border-color: var(--navy-dark);
  background: var(--navy-primary);
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.16);
  transform: translateY(-2px);
}

.roadmap-col.featured .roadmap-title {
  color: #ffffff;
}

.roadmap-col.featured .roadmap-desc {
  color: #cbd5e1;
}

.roadmap-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 6px;
  display: block;
}

.roadmap-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 8px;
}

.roadmap-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  padding: 80px 0;
  background: var(--bg-subtle);
}

.contact-card {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--navy-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 16px 36px rgba(10, 25, 47, 0.07);
}

.contact-header {
  text-align: center;
  margin-bottom: 28px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.input-field {
  width: 100%;
  padding: 11px 14px;
  min-height: 44px; /* Accessible 44px minimum */
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 16px; /* Prevents auto-zoom in mobile Safari */
  color: var(--text-black);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input-field:focus {
  outline: none;
  border-color: var(--navy-primary);
  box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.08);
}

.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--navy-primary);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  touch-action: manipulation;
}

.modal-close:hover {
  background: var(--navy-primary);
  color: #ffffff;
}

/* ==========================================================================
   STICKY ACTION BAR
   ========================================================================== */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 99;
  box-shadow: 0 -8px 24px rgba(10, 25, 47, 0.22);
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   FOOTER — Executive Midnight Navy
   ========================================================================== */

.site-footer {
  padding: 56px 0 44px;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile & Tablet Optimization)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
  }
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-table-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-photo-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-item:nth-child(2) {
    border-right: none;
  }
  .metric-item:nth-child(1),
  .metric-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .roadmap-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .hero-section {
    padding: 48px 0 40px;
  }
  .solve-grid {
    grid-template-columns: 1fr;
  }
  .projects-table-grid {
    grid-template-columns: 1fr;
  }
  .scope-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 28px 20px;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .vault-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .vault-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .vault-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .search-box {
    width: 100%;
  }
  .roadmap-row {
    grid-template-columns: 1fr;
  }
  .sticky-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .sticky-inner div:first-child {
    display: none; /* Keep sticky bar ultra-compact on small screens */
  }
  .sticky-inner div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .metrics-strip {
    grid-template-columns: 1fr;
  }
  .metric-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .metric-item:last-child {
    border-bottom: none;
  }
  .brand-marquee {
    gap: 10px;
  }
  .brand-logo-pill {
    height: 46px;
    padding: 6px 14px;
  }
  .brand-logo-pill img {
    max-height: 26px;
    max-width: 90px;
  }
  .nav-brand .brand-tag {
    display: none; /* Hide tag on tiny screens to avoid overflow */
  }
}
