/* ============================================
   ENERGY OPTIMUM — Master Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #C4A265;
  --gold-light: rgba(196, 162, 101, 0.35);
  --dark: #1E2832;
  --dark-deep: #151D25;
  --text: #1E2832;
  --text-light: #403D3B;
  --text-muted: #494440;
  --text-nav: #393432;
  --cream: #F7F3EE;
  --border: #E8E2DA;
  --white: #fff;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Calibri, Carlito, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  color: var(--text);
  background: var(--white);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; transition: all var(--transition); }
img { max-width: 100%; display: block; }

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Navigation --- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 72px;
  height: 88px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
}
nav.scrolled {
  background: rgba(247, 243, 238, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  border-bottom-color: var(--border);
}

/* Solid dark nav on sub-pages with dark heroes */
body.dark-hero nav {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
body.dark-hero nav .nav-text span { color: var(--white); }
body.dark-hero nav .nav-links a { color: rgba(255,255,255,0.6); }
body.dark-hero nav .nav-links a:hover { color: var(--white); }
body.dark-hero nav .nav-links a.active { color: var(--white); }
body.dark-hero nav .btn-login { color: var(--white); border-color: var(--gold); }
body.dark-hero nav .btn-login.secondary { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.3); }
body.dark-hero nav .mobile-toggle span { background: var(--white); }

body.dark-hero nav.scrolled {
  background: rgba(30, 40, 50, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  border-bottom-color: rgba(255,255,255,0.06);
}
body.dark-hero nav.scrolled .nav-text span { color: var(--white); }
body.dark-hero nav.scrolled .nav-links a { color: rgba(255,255,255,0.6); }
body.dark-hero nav.scrolled .btn-login { color: var(--white); }

.nav-logo { display: flex; align-items: center; gap: 16px; }
.nav-logo a { display: flex; align-items: center; gap: 16px; }
.nav-key { height: 46px; transition: transform var(--transition); }
.nav-logo:hover .nav-key { transform: rotate(-8deg); }
.nav-text { display: flex; flex-direction: column; gap: 0; }
.nav-text span {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--text);
  line-height: 1.3;
}
/* Widen ENERGY (6 letters) so it visually matches OPTIMUM (7 letters) */
.nav-text span:first-child { letter-spacing: 7px; }

.nav-right { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; }
.nav-links a {
  font-family: var(--sans);
  color: var(--text-nav);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-left: 36px;
  position: relative;
}
.nav-links a:first-child { margin-left: 0; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.nav-buttons { display: flex; flex-direction: column; gap: 6px; margin-left: 42px; }
.btn-login {
  font-family: var(--sans);
  color: var(--text);
  border: 1px solid var(--gold);
  padding: 9px 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
  transition: all var(--transition);
}
.btn-login:hover {
  background: var(--gold);
  color: var(--white);
}
.btn-login.secondary {
  border-color: var(--text);
  color: var(--text-nav);
}
.btn-login.secondary:hover {
  background: var(--text);
  color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  display: block;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  height: 660px;
  position: relative;
  overflow: hidden;
  margin-top: 88px;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/sfmm-aerial-1.jpg') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    140deg,
    rgba(18, 26, 34, 0.78) 0%,
    rgba(30, 40, 50, 0.45) 40%,
    rgba(18, 26, 34, 0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 72px 0;
  max-width: 740px;
}
.hero-key-icon {
  height: 36px;
  margin-bottom: 36px;
  opacity: 0.45;
  animation: fadeInUp 1s 0.3s both;
}
.hero h1 {
  font-size: 46px;
  font-weight: 400;
  line-height: 1.38;
  color: var(--white);
  letter-spacing: -0.2px;
  margin-bottom: 24px;
  animation: fadeInUp 1s 0.5s both;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  font-weight: 500;
  animation: fadeInUp 1s 0.7s both;
}
.hero-cta {
  display: inline-block;
  margin-top: 48px;
  font-family: var(--sans);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 4px;
  animation: fadeInUp 1s 0.9s both;
}
.hero-cta:hover {
  color: var(--white);
  border-bottom-color: var(--white);
  padding-left: 4px;
}

/* --- Hero Subpage --- */
.hero-sub-page {
  height: 480px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 88px;
  background: var(--dark);
}
.hero-sub-page .hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/sfmm-aerial-1.jpg') center/cover no-repeat;
  opacity: 0.3;
  transform: scale(1);
  animation: subtleZoom 20s ease-in-out infinite alternate;
}
@keyframes subtleZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-sub-page .hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(18, 26, 34, 0.97) 0%,
    rgba(18, 26, 34, 0.88) 30%,
    rgba(30, 40, 50, 0.7) 60%,
    rgba(18, 26, 34, 0.5) 100%
  );
}
.hero-sub-page .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 72px;
  max-width: 720px;
}
.hero-sub-page .hero-key-icon {
  height: 14px;
  margin-bottom: 18px;
  opacity: 0.3;
  animation: fadeInUp 0.9s 0.05s both;
}
.hero-sub-page h1 {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
  letter-spacing: -0.2px;
  margin-bottom: 20px;
  animation: fadeInUp 0.9s 0.2s both;
}
.hero-sub-page h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub-page .hero-sub {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  animation: fadeInUp 0.9s 0.4s both;
}

/* --- Metrics Bar --- */
.metrics {
  display: flex;
  justify-content: center;
  padding: 52px 72px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.metric {
  text-align: center;
  margin: 0 56px;
  position: relative;
}
.metric::after {
  content: '';
  position: absolute;
  right: -56px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border);
}
.metric:last-child::after { display: none; }

.metric-value {
  font-size: 34px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}
.metric-label {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Animated counter */
.metric-value .counter {
  display: inline-block;
}

/* --- Section Headers --- */
.section-header { margin-bottom: 56px; }
.section-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-key {
  height: 20px;
  opacity: 0.5;
}
.section-label {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 600;
}
.section-header h2 {
  font-size: 34px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.section-header p {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

/* --- Strategies Section --- */
.strategies { padding: 92px 72px; background: var(--white); }

.cards { display: flex; gap: 28px; }
.card {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: var(--gold-light);
}

.card-image {
  height: 230px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}
.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(255,255,255,0.1));
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card-image img { transform: scale(1.06); }

.card-body { padding: 28px 28px 32px; }
.card-body h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  transition: color var(--transition);
}
.card:hover .card-body h3 { color: var(--gold); }
.card-body p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 18px;
}
.card-link {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link .arrow {
  transition: transform var(--transition);
  display: inline-block;
}
.card:hover .card-link .arrow { transform: translateX(4px); }

/* --- Portfolio Section --- */
.portfolio { padding: 92px 72px; background: var(--dark); }
.portfolio .section-label { color: var(--gold); }
.portfolio .section-header h2 { color: var(--white); }
.portfolio .section-header p { color: rgba(255,255,255,0.4); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-slow);
}
.project-card:hover::before { width: 100%; }
.project-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
  border-color: rgba(196, 162, 101, 0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.project-type {
  font-family: var(--sans);
  font-size: 9px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-block;
}
.project-card h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color var(--transition);
}
.project-card:hover h3 { color: var(--gold); }
.project-location {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  margin-bottom: 20px;
}
.project-stats {
  display: flex;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.project-stat {
  flex: 1;
}
.project-stat-value {
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}
.project-stat-label {
  font-family: var(--sans);
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.project-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.project-card.featured .project-details { order: 1; }
.project-card.featured .project-highlight {
  order: 2;
  text-align: center;
  padding: 20px;
}
.project-highlight-value {
  font-size: 52px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.project-highlight-label {
  font-family: var(--sans);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}
.project-description {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
}

.portfolio-summary {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: center;
  gap: 72px;
}
.portfolio-stat { text-align: center; }
.portfolio-stat-value {
  font-size: 28px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 6px;
}
.portfolio-stat-label {
  font-family: var(--sans);
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
}

/* --- Project Modal --- */
.project-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 14, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.project-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.project-modal {
  background: var(--dark-deep);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 720px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-modal-overlay.active .project-modal {
  transform: translateY(0) scale(1);
}
.project-modal-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 28px;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 1;
  line-height: 1;
}
.project-modal-close:hover { color: var(--white); }
.project-modal-header {
  padding: 48px 48px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.project-modal-header .project-type { margin-bottom: 12px; }
.project-modal-header h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 8px;
}
.project-modal-location {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}
.project-modal-body { padding: 36px 48px 48px; }
.project-modal-lead {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  margin-bottom: 36px;
}
.project-modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0;
  margin-bottom: 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.project-modal-stat { text-align: center; }
.project-modal-stat-value {
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 6px;
}
.project-modal-stat-label {
  font-family: var(--sans);
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}
.project-modal-section { margin-bottom: 28px; }
.project-modal-section:last-child { margin-bottom: 0; }
.project-modal-section h3 {
  font-size: 17px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}
.project-modal-section p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
}

/* Modal scrollbar */
.project-modal::-webkit-scrollbar { width: 4px; }
.project-modal::-webkit-scrollbar-track { background: transparent; }
.project-modal::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* --- Insights Section --- */
.insights { padding: 92px 72px; background: var(--cream); }

.insights-grid { display: flex; flex-wrap: wrap; gap: 28px; }
a.insight-card { text-decoration: none; color: inherit; cursor: pointer; display: block; }
.insight-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 34px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width var(--transition-slow);
}
.insight-card:hover::before { width: 100%; }
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}

.insight-meta {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 12px;
}
.insight-date {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.insight-title {
  font-size: 19px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.42;
  margin-bottom: 14px;
  transition: color var(--transition);
}
.insight-card:hover .insight-title { color: var(--gold); }
.insight-excerpt {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.72;
  font-weight: 300;
}

/* --- Philosophy Section --- */
.philosophy {
  padding: 100px 72px;
  background:
    linear-gradient(
      135deg,
      rgba(18, 26, 34, 0.93) 0%,
      rgba(21, 29, 37, 0.95) 50%,
      rgba(15, 21, 28, 0.97) 100%
    ),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(196, 162, 101, 0.15) 0%,
    rgba(196, 162, 101, 0.02) 40%,
    transparent 100%
  );
  pointer-events: none;
}
.philosophy-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.philosophy-key {
  height: 48px;
  margin: 0 auto 32px;
  opacity: 0.55;
}
.philosophy h2 {
  font-size: 30px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 22px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.philosophy h2 em {
  color: var(--gold);
  font-style: italic;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.philosophy p {
  font-family: var(--sans);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.82;
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.philosophy-line {
  width: 52px;
  height: 1px;
  background: var(--gold);
  margin: 32px auto 0;
  transition: width var(--transition-slow);
}
.philosophy:hover .philosophy-line { width: 100px; }

/* --- About Page Content --- */
.about-section {
  padding: 92px 72px;
}
.about-section.alt {
  background: var(--dark);
  position: relative;
}
.about-section.alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse 800px 600px at 20% 50%,
    rgba(196, 162, 101, 0.12) 0%,
    rgba(196, 162, 101, 0) 100%
  );
  pointer-events: none;
}

/* Operating Principles section — navy palette overrides */
.about-section.alt .section-header h2 { color: var(--white); }
.about-section.alt .section-header p { color: rgba(255, 255, 255, 0.65); }
.about-section.alt .section-label { color: var(--gold); }
/* Compensate for simultaneous contrast — cream reads cooler on navy than on white,
   so the navy-section cards get a hair warmer + slightly more saturated cream. */
.about-section.alt .principle {
  background: #FAF4E8;
  border: 1px solid #E5DECF;
  position: relative;
  z-index: 1;
}
.about-section.alt .principle:hover {
  background: #FDF8EC;
  border-color: var(--gold-light);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}
.about-section.alt .principle h3 { color: var(--text); }
.about-section.alt .principle p { color: var(--text-light); }
.about-section.alt .principle-num { color: var(--gold); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }

.about-text h2 {
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.4;
}
.about-text h2 em { color: var(--gold); font-style: italic; }
.about-text p {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 16px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 48px;
}
.principle {
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.principle:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  border-color: var(--gold-light);
}
.principle-num {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.principle h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.principle p {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.72;
  font-weight: 300;
}

/* Leadership */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.team-member {
  text-align: center;
  transition: all var(--transition);
}
.team-member:hover { transform: translateY(-4px); }
.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--cream);
  margin: 0 auto 20px;
  overflow: hidden;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo .initials {
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 2px;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.team-member h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}
.team-member .title {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-bottom: 12px;
}
.team-member p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
  max-width: 280px;
  margin: 0 auto;
}

/* --- Investor Page — Thesis Grid --- */
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 48px;
}
.thesis-cell {
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.thesis-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  border-color: var(--gold-light);
}
.thesis-icon {
  height: 20px;
  opacity: 0.5;
  margin-bottom: 16px;
}
.thesis-cell h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.thesis-cell p {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.72;
  font-weight: 300;
}

/* --- Investor Page — Return Profile --- */
.return-profile {
  background: var(--dark);
  padding: 92px 72px;
}
.return-profile-inner {
  max-width: 100%;
}
.return-profile h2 {
  font-size: 30px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
}
.return-profile h2 em { color: var(--gold); font-style: italic; }
.return-profile p {
  font-family: var(--sans);
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.82;
  font-weight: 300;
  max-width: 700px;
}
.return-metrics {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.return-metric { flex: 1; }
.return-metric-value {
  font-size: 28px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 6px;
}
.return-metric-label {
  font-family: var(--sans);
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* --- Investor Page — Risk Panel --- */
.risk-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,0.08);
}
.risk-column {
  padding: 36px;
}
.risk-column.traditional {
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.risk-column.eo {
  background: rgba(196, 162, 101, 0.06);
}
.risk-column h3 {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 24px;
}
.risk-item {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  font-weight: 300;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.risk-item:last-child { border-bottom: none; }
.risk-column.eo .risk-item { color: rgba(255,255,255,0.7); }

/* --- Investor Page — Track Record --- */
.track-record-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  justify-content: center;
}
.tr-stat { text-align: center; }
.tr-stat-value {
  font-size: 34px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 6px;
}
.tr-stat-label {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* --- Investor Page — LP Types --- */
.lp-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 48px;
}
.lp-type {
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.lp-type:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  border-color: var(--gold-light);
}
.lp-type-icon {
  height: 20px;
  opacity: 0.5;
  margin-bottom: 16px;
}
.lp-type h3 {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.lp-type p {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.72;
  font-weight: 300;
}

/* --- Contact Page --- */
.contact-section { padding: 92px 72px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
}
.contact-info h2 {
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
}
.contact-info h2 em { color: var(--gold); font-style: italic; }
.contact-info > p {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 40px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 16px;
}
.contact-detail-text h4 {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-detail-text p {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 300;
}

/* Contact Form */
.contact-form { background: var(--cream); padding: 48px; border: 1px solid var(--border); }
.contact-form h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-form > p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 32px;
}
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-group { flex: 1; }
.form-group label {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  outline: none;
  transition: border-color var(--transition);
  font-weight: 300;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }

.btn-submit {
  font-family: var(--sans);
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 14px 48px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
}
.btn-submit:hover {
  background: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .checkmark {
  width: 64px;
  height: 64px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--gold);
}
.form-success h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.form-success p {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-light);
  font-weight: 300;
}

/* --- Footer --- */
footer {
  background: var(--dark);
  padding: 68px 72px 36px;
  color: var(--white);
}
.footer-grid { display: flex; gap: 48px; margin-bottom: 52px; }
.footer-brand { flex: 2; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-key { height: 32px; }
.footer-logo-text span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3.5px;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
  display: block;
}
.footer-brand > p {
  font-family: var(--sans);
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  line-height: 1.72;
  max-width: 300px;
}
.footer-col { flex: 1; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.32);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col a {
  font-family: var(--sans);
  display: block;
  color: rgba(255,255,255,0.52);
  font-size: 13px;
  margin-bottom: 11px;
  font-weight: 300;
}
.footer-col a:hover { color: var(--gold); }

.footer-disclosures {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0 0;
  margin-top: 28px;
}
.footer-disclosures p {
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.32);
  font-weight: 300;
  max-width: 1100px;
  letter-spacing: 0.15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom span {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255,255,255,0.16);
}
.footer-legal a {
  font-family: var(--sans);
  color: rgba(255,255,255,0.18);
  font-size: 11px;
  margin-left: 24px;
}
.footer-legal a:hover { color: var(--gold); }

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes lineExpand {
  from { width: 0; }
  to { width: 52px; }
}

/* --- Responsive --- */
/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1100px) {
  nav { padding: 0 36px; }
  .hero-content { padding: 72px 36px 0; }
  .strategies, .insights, .philosophy, .about-section, .contact-section { padding: 72px 36px; }
  footer { padding: 52px 36px 28px; }
  .metrics { padding: 40px 36px; }
  .metric { margin: 0 32px; }
  .project-modal { max-width: 640px; }
  .project-modal-header { padding: 40px 36px 28px; }
  .project-modal-body { padding: 28px 36px 40px; }
}

/* ============================================
   RESPONSIVE — Small Tablet / Large Phone
   ============================================ */
@media (max-width: 900px) {
  /* Mobile menu */
  .mobile-toggle { display: flex; }
  .nav-right {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 999;
  }
  .nav-right.open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-links a { margin-left: 0; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-buttons { margin-left: 0; margin-top: 28px; flex-direction: row; gap: 12px; }

  /* Dark-hero mobile menu override */
  body.dark-hero .nav-right {
    background: var(--dark-deep);
  }
  body.dark-hero .nav-links a {
    color: rgba(255,255,255,0.7);
    border-bottom-color: rgba(255,255,255,0.08);
  }
  body.dark-hero .nav-links a:hover,
  body.dark-hero .nav-links a.active { color: var(--white); }

  /* Hero */
  .hero { height: 540px; }
  .hero h1 { font-size: 32px; }
  .hero-content { max-width: 100%; }
  .hero-sub-page { height: 400px; }
  .hero-sub-page .hero-content { padding: 0 36px; max-width: 100%; }
  .hero-sub-page h1 { font-size: 32px; }

  /* Cards & Grids */
  .cards { flex-direction: column; }
  .card { max-width: 100%; }
  .insights-grid { flex-direction: column; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
  .project-card.featured .project-highlight { text-align: left; padding: 0; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; }
  .portfolio-summary { flex-wrap: wrap; gap: 32px; justify-content: flex-start; }
  .portfolio-summary .portfolio-stat { text-align: left; }
  .portfolio { padding: 72px 36px; }

  /* Metrics */
  .metrics { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .metric { margin: 0; flex: 0 0 auto; }
  .metric::after { display: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid.reverse { direction: ltr; }
  .principles-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Investor */
  .thesis-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .return-profile { padding: 72px 36px; }
  .return-metrics { flex-wrap: wrap; gap: 32px; }
  .return-metric { flex: 0 0 calc(50% - 16px); }
  .risk-panel { grid-template-columns: 1fr; }
  .risk-column.traditional { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .track-record-stats { flex-wrap: wrap; gap: 32px; justify-content: center; }
  .lp-types { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { flex-wrap: wrap; gap: 28px; }
  .footer-brand { flex: 1 1 100%; }
  .footer-col { flex: 0 0 calc(50% - 14px); }

  /* Modals */
  .project-modal { width: 95%; max-height: 90vh; }
  .project-modal-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .project-modal-header { padding: 36px 28px 24px; }
  .project-modal-body { padding: 24px 28px 36px; }
  .project-modal-header h2 { font-size: 26px; }
  .project-modal-close { top: 16px; right: 20px; }
}

/* ============================================
   RESPONSIVE — Phone
   ============================================ */
@media (max-width: 600px) {
  /* Nav */
  nav { padding: 0 20px; height: 72px; }
  .nav-key { height: 34px; }
  .nav-text span { font-size: 11px; letter-spacing: 2.5px; }
  .nav-text span:first-child { letter-spacing: 4.2px; }
  .nav-right { top: 72px; padding: 28px 20px; }

  /* Hero */
  .hero { height: 100svh; min-height: 480px; margin-top: 72px; }
  .hero-content { padding: 48px 20px 0; }
  .hero h1 { font-size: 26px; line-height: 1.35; }
  .hero-sub { font-size: 13px; }
  .hero-cta { margin-top: 36px; }
  .hero-key-icon { height: 28px; margin-bottom: 24px; }

  /* Sub-page hero */
  .hero-sub-page { height: 320px; margin-top: 0; padding-top: 72px; }
  .hero-sub-page .hero-content { padding: 0 20px; }
  .hero-sub-page h1 { font-size: 24px; }
  .hero-sub-page .hero-sub { font-size: 13px; }

  /* Metrics */
  .metrics { padding: 32px 20px; gap: 20px; }
  .metric-value { font-size: 24px; }
  .metric-label { font-size: 8px; letter-spacing: 2px; }

  /* Sections */
  .strategies, .insights, .philosophy, .about-section, .contact-section { padding: 48px 20px; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 13px; }

  /* Strategy cards */
  .card-image { height: 180px; }
  .card-body { padding: 24px; }
  .card-body h3 { font-size: 18px; }
  .card-body p { font-size: 13px; }

  /* Portfolio */
  .portfolio { padding: 48px 20px; }
  .project-card { padding: 28px 24px; }
  .project-card h3 { font-size: 18px; }
  .project-stats { flex-wrap: wrap; gap: 16px; }
  .project-stat { flex: 0 0 calc(50% - 8px); }
  .project-highlight-value { font-size: 32px; }
  .portfolio-summary { gap: 24px; padding-top: 28px; }
  .portfolio-stat-value { font-size: 20px; }
  .portfolio-stat-label { font-size: 8px; }

  /* About */
  .about-text h2 { font-size: 24px; }
  .about-text p { font-size: 14px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle { padding: 24px; }
  .principle h3 { font-size: 16px; }
  .principle p { font-size: 13px; }
  .team-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-photo { width: 72px; height: 72px; }
  .initials { font-size: 20px; }
  .team-member h3 { font-size: 18px; }
  .team-member p { font-size: 13px; }

  /* Investor */
  .thesis-grid { grid-template-columns: 1fr; gap: 20px; }
  .thesis-cell { padding: 24px; }
  .thesis-cell h3 { font-size: 16px; }
  .thesis-cell p { font-size: 13px; }
  .return-profile { padding: 48px 20px; }
  .return-profile h2 { font-size: 24px; }
  .return-profile p { font-size: 13px; }
  .return-metrics { flex-direction: column; gap: 24px; }
  .return-metric { flex: 1 1 100%; }
  .return-metric-value { font-size: 22px; }
  .risk-panel { grid-template-columns: 1fr; }
  .risk-column { padding: 24px; }
  .risk-column.traditional { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .track-record-stats { flex-direction: column; gap: 24px; align-items: center; }
  .tr-stat-value { font-size: 28px; }
  .lp-types { grid-template-columns: 1fr; gap: 20px; }
  .lp-type { padding: 24px; }
  .lp-type h3 { font-size: 16px; }
  .lp-type p { font-size: 13px; }

  /* Insights */
  .insight-card { padding: 24px; }
  .insight-title { font-size: 17px; }
  .insight-excerpt { font-size: 13px; }

  /* Philosophy */
  .philosophy h2 { font-size: 22px; }
  .philosophy p { font-size: 13px; }
  .philosophy-key { height: 28px; }

  /* Contact */
  .contact-info h2 { font-size: 24px; }
  .contact-info > p { font-size: 14px; }
  .contact-form { padding: 24px; }
  .contact-form h3 { font-size: 18px; }
  .form-row { flex-direction: column; gap: 16px; }
  input, select, textarea { font-size: 16px !important; } /* Prevent iOS zoom */
  .btn-submit { width: 100%; padding: 16px; font-size: 12px; }

  /* Footer */
  footer { padding: 40px 20px 24px; }
  .footer-grid { gap: 28px; }
  .footer-brand p { font-size: 13px; }
  .footer-col { flex: 1 1 100%; }
  .footer-col h4 { font-size: 11px; }
  .footer-col a { font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom span { font-size: 11px; }

  /* Modals */
  .project-modal { width: 100%; max-height: 100vh; max-height: 100svh; border: none; }
  .project-modal-overlay { align-items: flex-end; }
  .project-modal-header { padding: 28px 20px 20px; }
  .project-modal-header h2 { font-size: 22px; padding-right: 32px; }
  .project-modal-body { padding: 20px 20px 32px; }
  .project-modal-lead { font-size: 13px; }
  .project-modal-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px 0; }
  .project-modal-stat-value { font-size: 18px; }
  .project-modal-stat-label { font-size: 8px; }
  .project-modal-section h3 { font-size: 15px; }
  .project-modal-section p { font-size: 12px; }
  .project-modal-close { top: 12px; right: 16px; font-size: 24px; }
}

/* ============================================
   COSMETIC POLISH PASS
   Investment-grade refinement: editorial serif headlines,
   tabular figures, refined interactions, scroll progress.
   ============================================ */

/* Smooth anchor offset to clear fixed nav (88px tall) */
html { scroll-padding-top: 100px; }

/* Editorial serif treatment for headlines + tabular figures on numeric data */
.hero h1,
.hero-sub-page h1,
.section-header h2,
.about-text h2,
.contact-info h2,
.philosophy h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.4px;
}
.hero h1 em,
.hero-sub-page h1 em,
.section-header h2 em,
.about-text h2 em,
.contact-info h2 em,
.philosophy h2 em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

/* Refined hero — bigger, tighter, more editorial */
.hero h1 { font-size: 52px; line-height: 1.22; letter-spacing: -0.6px; }
.hero-sub-page h1 { font-size: 46px; line-height: 1.22; letter-spacing: -0.5px; }
.hero-sub-page .hero-key-icon { height: 28px; opacity: 0.55; margin-bottom: 22px; }
.section-header h2 { font-size: 40px; line-height: 1.18; letter-spacing: -0.5px; }
.about-text h2 { font-size: 36px; line-height: 1.22; letter-spacing: -0.4px; }
.philosophy h2 { font-size: 38px; line-height: 1.22; letter-spacing: -0.4px; }

/* Metric numerals — editorial serif, tabular figures, slightly larger */
.metric-value,
.portfolio-stat-value,
.project-stat-value,
.project-highlight-value,
.project-modal-stat-value,
.tr-stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1, "ss01" 1;
  letter-spacing: -0.5px;
}
.metric-value { font-size: 40px; }
.portfolio-stat-value { font-size: 38px; }

/* Refine eyebrow labels */
.section-label {
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 3px;
}

/* Strategy cards — tasteful gold underline on hover, smoother lift */
.card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: 0 24px 60px -20px rgba(30, 40, 50, 0.18);
}
.card-link {
  transition: letter-spacing var(--transition), color var(--transition);
}
.card-link:hover { letter-spacing: 2.4px; color: var(--gold); }

/* Project cards — refined */
.project-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.project-card:hover {
  transform: translateY(-4px);
}

/* Hero CTA refinement — slightly more presence */
.hero-cta {
  font-weight: 600;
  letter-spacing: 2.2px;
  border-bottom-width: 1px;
  transition: all var(--transition);
}
.hero-cta .arrow { display: inline-block; transition: transform var(--transition); }
.hero-cta:hover .arrow { transform: translateX(6px); }

/* Contact form — gold focus state, refined inputs */
.contact-form input,
.contact-form textarea,
.contact-form select {
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.12);
  outline: none;
}
.btn-submit {
  transition: all var(--transition);
  letter-spacing: 2px;
}
.btn-submit:hover {
  letter-spacing: 2.6px;
  box-shadow: 0 12px 30px -10px rgba(196, 162, 101, 0.45);
}

/* Section header crest — slightly more presence */
.section-key { height: 22px; opacity: 0.85; }

/* Strategies / Insights / Portfolio — uniform vertical rhythm */
.strategies, .insights, .portfolio,
.about-section, .contact-section, .philosophy {
  scroll-margin-top: 100px;
}

/* Scroll progress indicator — slim gold bar at very top of viewport */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(196, 162, 101, 0.6) 100%);
  z-index: 1100;
  transition: width 80ms linear;
  pointer-events: none;
}

/* Nav refinement — subtle gold underline travels under active link */
.nav-links a.active::after,
.nav-links a:hover::after {
  background: var(--gold);
  height: 1.5px;
  bottom: -6px;
}

/* Subtle parallax depth on the philosophy section gold key */
.philosophy-key {
  filter: drop-shadow(0 6px 24px rgba(196, 162, 101, 0.25));
}

/* Footer brand wordmark — match nav stacked treatment */
.footer-logo-text span:first-child { letter-spacing: 7px; }

/* Footer disclosure — slightly more breathing room and refined italic intro */
.footer-disclosures p::first-line {
  letter-spacing: 0.3px;
}

/* Print-clean reset for any errant outlines */
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(196, 162, 101, 0.55);
  outline-offset: 3px;
}

/* Selection color — gold */
::selection {
  background: rgba(196, 162, 101, 0.32);
  color: var(--dark);
}

/* Mobile tightening for new editorial sizes */
@media (max-width: 780px) {
  .hero h1 { font-size: 34px; letter-spacing: -0.3px; }
  .hero-sub-page h1 { font-size: 30px; letter-spacing: -0.3px; }
  .section-header h2 { font-size: 28px; letter-spacing: -0.3px; }
  .about-text h2 { font-size: 26px; }
  .philosophy h2 { font-size: 26px; }
  .metric-value { font-size: 32px; }
  .portfolio-stat-value { font-size: 30px; }
}

/* ============================================
   PORTFOLIO EXPANSION — filter chips, status pills, structure tags
   ============================================ */

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 44px;
}
.portfolio-chip {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 18px;
  cursor: pointer;
  transition: all var(--transition);
}
.portfolio-chip:hover {
  color: var(--white);
  border-color: var(--gold-light);
}
.portfolio-chip.active {
  color: var(--dark);
  background: var(--gold);
  border-color: var(--gold);
}

/* Project meta row (status + structure) */
.project-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.project-status,
.project-structure {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.status-operating {
  color: #B8D4A8;
  border-color: rgba(184, 212, 168, 0.4);
  background: rgba(184, 212, 168, 0.06);
}
.status-construction {
  color: var(--gold);
  border-color: var(--gold-light);
  background: rgba(196, 162, 101, 0.08);
}
.status-development {
  color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.18);
}
.project-structure {
  color: var(--gold);
  border-color: var(--gold-light);
}

/* Featured card meta uses lighter background contrast */
.project-card.featured .project-meta { margin-bottom: 18px; }

/* Card filter state — fade hidden cards rather than yank them out of layout */
.project-card[data-hidden="true"] {
  opacity: 0.18;
  pointer-events: none;
  filter: grayscale(0.5);
  transition: opacity 0.45s ease, filter 0.45s ease;
}

/* Project description spacing */
.project-description {
  margin-top: 10px;
}

/* Tighter card spacing on small screens for new content density */
@media (max-width: 780px) {
  .portfolio-filter { gap: 6px; margin-bottom: 32px; }
  .portfolio-chip { font-size: 10.5px; padding: 7px 12px; letter-spacing: 1.4px; }
  .project-meta { gap: 6px; margin-bottom: 10px; }
  .project-status, .project-structure { font-size: 8.5px; padding: 3px 8px; letter-spacing: 1.4px; }
}

/* ============================================
   PORTFOLIO — CASE CARDS (editorial side-by-side)
   Image one side, narrative + stats the other, alternating.
   ============================================ */

.case-cards {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.case-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.case-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--gold-light);
  transform: translateY(-3px);
}

/* Alternate orientation — image right on even cards */
.case-card:nth-child(even) .case-card-media { order: 2; }
.case-card:nth-child(even) .case-card-body  { order: 1; }

/* Media side */
.case-card-media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--dark-deep);
}
.case-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.case-card:hover .case-card-media img { transform: scale(1.04); }

/* Placeholder treatment — desaturate + heavy gradient + watermark */
.case-card-media-placeholder img {
  filter: grayscale(0.85) brightness(0.55) contrast(1.1);
}
.case-card-media-placeholder .case-card-media-fill {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(30,40,50,0.92) 0%, rgba(21,29,37,0.88) 60%, rgba(15,21,28,0.95) 100%),
    radial-gradient(ellipse 80% 60% at 35% 40%, rgba(196,162,101,0.18) 0%, rgba(196,162,101,0) 70%);
  pointer-events: none;
  z-index: 1;
}
.case-card-watermark {
  position: absolute;
  bottom: 18px;
  left: 22px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(196,162,101,0.7);
  border: 1px solid rgba(196,162,101,0.32);
  padding: 5px 12px;
  background: rgba(15,21,28,0.55);
}

/* Body side */
.case-card-body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.case-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.case-card-eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}
.case-card-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.4px;
  margin: 0;
}
.case-card-location {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.case-card-description {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255,255,255,0.78);
  font-weight: 400;
  margin: 6px 0;
}

/* Stats row */
.case-card-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.case-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1, "ss01" 1;
  letter-spacing: -0.4px;
  line-height: 1;
}
.case-stat-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* CTA */
.case-card-cta {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  cursor: pointer;
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: letter-spacing var(--transition), color var(--transition), border-color var(--transition);
}
.case-card-cta .arrow {
  transition: transform var(--transition);
}
.case-card:hover .case-card-cta {
  letter-spacing: 3.2px;
  color: var(--white);
  border-bottom-color: var(--white);
}
.case-card:hover .case-card-cta .arrow {
  transform: translateX(6px);
}

/* Filter behavior */
.case-card[data-hidden="true"] {
  opacity: 0.16;
  filter: grayscale(0.6) blur(0.3px);
  pointer-events: none;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

/* Tablet */
@media (max-width: 980px) {
  .case-card {
    grid-template-columns: 1fr;
  }
  .case-card:nth-child(even) .case-card-media { order: 0; }
  .case-card:nth-child(even) .case-card-body  { order: 0; }
  .case-card-media { min-height: 280px; }
  .case-card-body { padding: 32px 32px 36px; }
  .case-card-body h3 { font-size: 28px; }
  .case-card-stats { gap: 24px; }
  .case-stat-value { font-size: 24px; }
}

/* Mobile */
@media (max-width: 600px) {
  .case-cards { gap: 24px; }
  .case-card-media { min-height: 220px; }
  .case-card-body { padding: 26px 22px 30px; gap: 12px; }
  .case-card-body h3 { font-size: 24px; }
  .case-card-description { font-size: 13.5px; line-height: 1.7; }
  .case-card-stats { gap: 18px; padding-top: 14px; }
  .case-stat-value { font-size: 20px; }
  .case-stat-label { font-size: 9px; letter-spacing: 1.4px; }
}

/* ============================================
   STRATEGY COMPARISON MATRIX
   Editorial 4-column grid: criteria | PPA | EaaS | Municipal
   Cream background, navy text, gold accents.
   ============================================ */

.strategy-matrix {
  background: var(--cream);
  padding: 92px 72px;
  position: relative;
}
.strategy-matrix .section-header {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 760px;
}
.strategy-matrix .section-icon {
  justify-content: center;
}
.strategy-matrix .section-header p {
  margin: 0 auto;
}

/* Matrix grid wrapper */
.matrix {
  display: grid;
  grid-template-columns: 200px repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Corner empty cell */
.matrix-corner {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

/* Strategy column headers */
.matrix-head {
  padding: 32px 28px 28px;
  background: var(--dark);
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid var(--dark-deep);
  position: relative;
}
.matrix-head:last-of-type { border-right: none; }
.matrix-head-num {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.matrix-head-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.matrix-head-sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

/* Row label (leftmost column) */
.matrix-label {
  padding: 28px 28px;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-nav);
  display: flex;
  align-items: center;
  line-height: 1.4;
}

/* Body cells */
.matrix-cell {
  padding: 26px 24px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--white);
  transition: background var(--transition);
}
.matrix-cell:nth-child(4n) { border-right: none; }   /* last cell in each 4-column row */

/* Hover lift across the whole column (light highlight on cells in same column) */
.matrix-cell:hover {
  background: rgba(196, 162, 101, 0.05);
}

.matrix-cell-primary {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.15;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
  font-variant-numeric: lining-nums tabular-nums;
}
.matrix-cell-detail {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-light);
  font-weight: 400;
}

/* Footnote */
.matrix-footnote {
  max-width: 820px;
  margin: 40px auto 0;
  text-align: center;
}
.matrix-footnote p {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-light);
  font-style: italic;
  letter-spacing: 0.2px;
}

/* Tablet — collapse left label column into in-cell labels */
@media (max-width: 980px) {
  .strategy-matrix { padding: 72px 36px; }
  .matrix { grid-template-columns: 1fr 1fr 1fr; }
  .matrix-corner { display: none; }
  .matrix-label {
    grid-column: 1 / -1;
    border-right: none;
    text-align: center;
    justify-content: center;
    padding: 18px 24px;
    background: var(--cream-dk, #EDE7DC);
  }
  /* desktop rule .matrix-cell:nth-child(4n) { border-right: none; } already gives correct
     last-of-row treatment when matrix-corner is hidden and labels span full width. */
}

/* Mobile — fully stacked, each strategy becomes its own card-like column */
@media (max-width: 680px) {
  .strategy-matrix { padding: 56px 22px; }
  .matrix { grid-template-columns: 1fr; border: none; background: transparent; }
  .matrix-corner { display: none; }
  .matrix-head {
    border-right: none;
    border-bottom: 1px solid var(--dark-deep);
  }
  .matrix-label {
    grid-column: 1 / -1;
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-right: none;
    padding: 14px 22px;
    font-size: 10.5px;
    letter-spacing: 2px;
  }
  .matrix-cell {
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--border);
    padding: 22px 22px;
  }
  .matrix-cell-primary { font-size: 19px; }
  .matrix-cell-detail { font-size: 13px; line-height: 1.6; }
  .matrix-footnote { margin-top: 28px; }
  .matrix-footnote p { font-size: 13px; }
}

/* ============================================
   INVESTORS — INVESTMENT ARCHITECTURE
   Three-column return / capital / alignment framework
   ============================================ */

.invest-architecture {
  background: var(--cream);
  padding: 96px 72px;
  position: relative;
}
.invest-architecture .section-header {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 760px;
}
.invest-architecture .section-icon { justify-content: center; }
.invest-architecture .section-header p { margin: 0 auto; max-width: 640px; }

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
}

.arch-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 38px 34px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.arch-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 18px 50px -22px rgba(30, 40, 50, 0.16);
  transform: translateY(-3px);
}
.arch-card-eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.arch-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.arch-card-lead {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text-light);
  margin-bottom: 0;
  flex: 1;
}

.arch-stat-row {
  padding: 16px 0;
  border-bottom: 1px solid rgba(232, 226, 218, 0.6);
}
.arch-stat-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.arch-stat-row:first-of-type { padding-top: 0; }

.arch-stat-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--text-nav);
  margin-bottom: 6px;
}
.arch-stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.05;
  letter-spacing: -0.6px;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1, "ss01" 1;
  margin-bottom: 6px;
}
.arch-stat-unit {
  font-size: 24px;
  font-weight: 500;
  margin-left: 1px;
  color: var(--gold);
}
.arch-stat-value-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.arch-stat-note {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-light);
  font-weight: 400;
}

.arch-footnote {
  max-width: 1100px;
  margin: 44px auto 0;
}
.arch-footnote p {
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.78;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.15px;
  font-style: italic;
}

/* Tablet */
@media (max-width: 1080px) {
  .arch-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* Mobile */
@media (max-width: 720px) {
  .invest-architecture { padding: 64px 22px; }
  .arch-grid { grid-template-columns: 1fr; gap: 18px; }
  .arch-card { padding: 28px 24px 24px; }
  .arch-card h3 { font-size: 22px; }
  .arch-card-lead { font-size: 14px; }
  .arch-stat-value { font-size: 30px; }
  .arch-stat-unit { font-size: 20px; }
  .arch-stat-value-text { font-size: 22px; }
  .arch-stat-note { font-size: 12px; }
  .arch-footnote { margin-top: 32px; }
  .arch-footnote p { font-size: 11px; }
}

/* ============================================
   CASE STUDY PAGE — editorial long-form layout
   ============================================ */

.case-hero {
  position: relative;
  height: 540px;
  overflow: hidden;
  margin-top: 0;
  padding-top: 88px;
  background: var(--dark);
}
.case-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/sfmm-aerial-1.jpg') center/cover no-repeat;
  opacity: 0.45;
  animation: subtleZoom 22s ease-in-out infinite alternate;
}
.case-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(18,26,34,0.92) 0%,
    rgba(18,26,34,0.82) 30%,
    rgba(30,40,50,0.65) 70%,
    rgba(18,26,34,0.45) 100%
  );
}
.case-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 72px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.case-hero-breadcrumb {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.case-hero-breadcrumb a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-bottom-color var(--transition);
}
.case-hero-breadcrumb a:hover { border-bottom-color: var(--gold); }
.case-hero-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.case-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -1.2px;
  margin-bottom: 14px;
}
.case-hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.case-hero-location {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.case-hero-lead {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
}

/* Stats band beneath hero */
.case-stats-band {
  background: var(--dark-deep);
  padding: 32px 72px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.case-stats-band-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.case-band-stat {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 0 14px;
}
.case-band-stat:last-child { border-right: none; }
.case-band-stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.05;
  letter-spacing: -0.6px;
  font-variant-numeric: lining-nums tabular-nums;
  margin-bottom: 6px;
}
.case-band-stat-unit {
  font-size: 22px;
  font-weight: 500;
}
.case-band-stat-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* Section containers */
.case-section {
  background: var(--white);
  padding: 96px 72px;
}
.case-section-alt {
  background: var(--cream);
}
.case-section-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.case-section-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
}
.case-section-eyebrow-col {
  padding-top: 8px;
  border-top: 2px solid var(--gold);
  align-self: start;
}
.case-eyebrow {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 48px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin: 18px 0 14px;
  font-variant-numeric: lining-nums;
}
.case-eyebrow-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--text-nav);
}
.case-section-body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.22;
  color: var(--text);
  letter-spacing: -0.4px;
  margin-bottom: 24px;
}
.case-section-body h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.case-section-body p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 18px;
}

/* Structure grid */
.case-structure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}
.case-structure-item {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 22px 24px;
}
.case-structure-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-nav);
  margin-bottom: 8px;
}
.case-structure-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.4px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.case-structure-note {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light);
}

/* Scope list */
.case-scope-list {
  margin: 26px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-scope-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.case-scope-item:last-child { border-bottom: none; }
.case-scope-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  color: var(--gold);
  line-height: 1;
}
.case-scope-body h4 {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text);
  margin-bottom: 6px;
}
.case-scope-body p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* Impact grid */
.case-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 30px 0 24px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.case-impact-stat { text-align: left; }
.case-impact-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.5px;
  line-height: 1.05;
  margin-bottom: 8px;
  font-variant-numeric: lining-nums tabular-nums;
}
.case-impact-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-nav);
  line-height: 1.5;
}
.case-impact-footnote {
  font-size: 12.5px !important;
  font-style: italic;
  color: var(--text-muted) !important;
  margin-top: 8px !important;
}

/* Related projects */
.case-related {
  background: var(--dark);
  padding: 84px 72px;
}
.case-related .section-header {
  text-align: center;
  margin: 0 auto 48px;
}
.case-related .section-header h2 { color: var(--white); }
.case-related .section-icon { justify-content: center; }
.case-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.case-related-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition);
}
.case-related-card:hover {
  border-color: var(--gold-light);
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
}
.case-related-eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--gold);
}
.case-related-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.case-related-card p {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.case-related-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
  transition: letter-spacing var(--transition);
}
.case-related-card:hover .case-related-cta { letter-spacing: 3px; color: var(--white); }

/* Responsive */
@media (max-width: 1080px) {
  .case-stats-band-inner { grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
  .case-band-stat:nth-child(3) { border-right: none; }
  .case-impact-grid { grid-template-columns: 1fr 1fr; }
  .case-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .case-hero { height: auto; padding-bottom: 60px; }
  .case-hero-content { padding: 48px 32px 0; }
  .case-hero h1 { font-size: 44px; letter-spacing: -0.8px; }
  .case-hero-lead { font-size: 15px; }
  .case-stats-band { padding: 28px 32px; }
  .case-section { padding: 64px 32px; }
  .case-section-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-section-eyebrow-col { padding-bottom: 12px; }
  .case-eyebrow { font-size: 36px; }
  .case-section-body h2 { font-size: 28px; }
  .case-section-body p { font-size: 15px; }
  .case-structure-grid { grid-template-columns: 1fr; }
  .case-impact-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .case-related { padding: 60px 32px; }
  .case-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .case-stats-band-inner { grid-template-columns: 1fr 1fr; }
  .case-band-stat:nth-child(2) { border-right: none; }
  .case-band-stat:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.08); }
}

/* Case card as anchor — preserves block display */
a.case-card.case-card-link {
  text-decoration: none;
  color: inherit;
  display: grid;
}
a.case-card.case-card-link:hover { color: inherit; }
