/* ============================================================
   MARECREST CAPITAL — Main Stylesheet
   ============================================================ */

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

:root {
  --navy:        #12213B;
  --navy-deep:   #0B1726;
  --navy-mid:    #1A2F4F;
  --gold:        #C8973A;
  --gold-light:  #DDB968;
  --stone:       #F5F0E8;
  --stone-mid:   #EDE8DE;
  --stone-dark:  #DDD8CE;
  --white:       #FFFFFF;
  --text-dark:   #12213B;
  --text-body:   #4A5568;
  --text-muted:  #6B7280;
  --text-onnavy: #8A9AB5;
  --border-gold: rgba(200,151,58,0.25);
  --border-navy: rgba(18,33,59,0.15);
  --nav-h:       76px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--stone);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.serif { font-family: 'Cormorant Garamond', serif; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.eyebrow span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::after {
  content: '';
  flex: 0 0 44px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; line-height: 1.08; }
h1 { font-size: clamp(44px, 5.5vw, 78px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2.5vw, 30px); font-weight: 400; }

em { font-style: italic; color: var(--gold); }
.on-navy em { color: var(--gold-light); }
.on-navy { color: #fff; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

section { padding: 100px 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 30px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid rgba(200,151,58,0.45);
  color: var(--gold-light);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline-dark {
  border: 1px solid var(--border-navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn svg { flex-shrink: 0; }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  border-bottom: 1px solid rgba(200,151,58,0.18);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.32); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo svg { width: 38px; height: 38px; }
.nav-divider { width: 1px; height: 32px; background: rgba(200,151,58,0.4); }
.nav-wordmark { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 20px; letter-spacing: 0.22em; color: #fff; display: block; }
.nav-sub { font-size: 9px; letter-spacing: 0.38em; color: var(--gold); text-transform: uppercase; margin-top: 3px; display: block; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-onnavy);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: rgba(200,151,58,0.45);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   PAGE BANNER (interior pages)
   ============================================================ */
.page-banner {
  height: 380px;
  margin-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--navy-deep);
}
.page-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.35;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,23,38,0.92) 0%, rgba(18,33,59,0.55) 60%, transparent 100%);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  padding: 52px 60px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.page-banner-content .eyebrow { margin-bottom: 10px; }
.page-banner-content h1 {
  font-size: clamp(36px, 4.5vw, 62px);
  color: #fff;
  line-height: 1.06;
}
.page-banner-content h1 em { color: var(--gold-light); }

/* ============================================================
   HOME HERO
   ============================================================ */
.home-hero {
  min-height: 100vh;
  margin-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,23,38,0.88) 0%, rgba(18,33,59,0.72) 50%, rgba(11,23,38,0.6) 100%);
}
.home-hero-band {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.35;
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 60px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.home-hero-text .eyebrow { margin-bottom: 24px; }
.home-hero-text h1 { color: #fff; margin-bottom: 22px; }
.home-hero-lead {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-onnavy);
  max-width: 460px;
  margin-bottom: 38px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stats card grid (home hero right col) */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.stat-card {
  background: rgba(26,47,79,0.6);
  border: 1px solid rgba(200,151,58,0.1);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s;
}
.stat-card:hover { border-color: rgba(200,151,58,0.35); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.25s;
}
.stat-card:hover::before { opacity: 1; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 5px;
}
.stat-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-onnavy);
}
.stat-card.wide {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
}
.stat-card.wide .stat-number { font-size: 28px; margin-bottom: 0; }
.stat-divider { width: 1px; height: 32px; background: var(--border-gold); flex-shrink: 0; }
.stat-wide-text { font-size: 12px; font-weight: 300; color: var(--text-onnavy); line-height: 1.6; }

/* ============================================================
   HOME — ABOUT TEASER
   ============================================================ */
.home-about { background: var(--stone); }
.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.home-about-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 18px;
}
.home-about-text p:last-of-type { margin-bottom: 30px; }
.home-about-img {
  position: relative;
  height: 440px;
  overflow: hidden;
}
.home-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-gold);
  pointer-events: none;
}

/* ============================================================
   HOME — FEATURED PORTFOLIO
   ============================================================ */
.home-portfolio { background: var(--navy); }
.home-portfolio .section-header { margin-bottom: 48px; }
.section-header { margin-bottom: 56px; }
.section-header p {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 560px;
}
.section-header p.on-navy { color: var(--text-onnavy); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 44px;
}

/* ============================================================
   HOME — PIPELINE TEASER
   ============================================================ */
.home-pipeline { background: var(--stone-mid); }
.pipeline-teaser-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 40px;
}
.pipeline-teaser-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: var(--white);
  border: 1px solid var(--border-navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pipeline-teaser-item:hover {
  border-color: rgba(200,151,58,0.35);
  box-shadow: 0 3px 16px rgba(18,33,59,0.07);
}
.pipeline-teaser-left { display: flex; align-items: center; gap: 24px; }
.pipeline-teaser-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: rgba(200,151,58,0.2);
  line-height: 1;
  min-width: 44px;
}
.pipeline-teaser-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.pipeline-teaser-loc {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.pipeline-teaser-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border-navy);
  color: var(--navy);
  background: var(--stone);
}

/* ============================================================
   HOME — CONTACT STRIP
   ============================================================ */
.contact-strip {
  background: var(--navy-deep);
  padding: 80px 0;
  border-top: 1px solid rgba(200,151,58,0.12);
}
.contact-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-strip h2 { color: #fff; }
.contact-strip h2 em { color: var(--gold-light); }
.contact-strip p {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-onnavy);
  line-height: 1.7;
}

/* ============================================================
   PORTFOLIO CARDS (shared between home + portfolio page)
   ============================================================ */
.project-card {
  background: rgba(26,47,79,0.55);
  border: 1px solid rgba(200,151,58,0.08);
  transition: border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.project-card:hover { border-color: rgba(200,151,58,0.3); }

.project-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: rgba(18,33,59,0.8);
  flex-shrink: 0;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.04); }

.project-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.1;
}

.project-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.badge-sold { background: rgba(200,151,58,0.18); border: 1px solid rgba(200,151,58,0.45); color: var(--gold-light); }
.badge-completed { background: rgba(200,151,58,0.18); border: 1px solid rgba(200,151,58,0.45); color: var(--gold-light); }
.badge-retained { background: rgba(200,151,58,0.18); border: 1px solid rgba(200,151,58,0.45); color: var(--gold-light); }

.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-loc {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.1;
}
.card-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-onnavy);
  margin-bottom: 16px;
  flex: 1;
}
.card-meta {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(200,151,58,0.1);
  flex-wrap: wrap;
}
.meta-item .meta-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}
.meta-item .meta-lbl {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-onnavy);
  margin-top: 3px;
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.portfolio-section { background: var(--navy); padding: 80px 0; }
.portfolio-section:nth-of-type(even) { background: var(--navy-mid); }
.city-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.city-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: #fff;
}
.city-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}
.city-line { flex: 1; height: 1px; background: rgba(200,151,58,0.15); }

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

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section { background: var(--stone); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: start;
}
.about-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 20px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text-dark); font-weight: 500; }

.rebrand-notice {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(200,151,58,0.07);
}
.rebrand-notice p {
  font-size: 13px;
  margin-bottom: 0;
  color: rgba(160,110,30,0.95);
  font-style: italic;
  line-height: 1.7;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-top: 3px solid var(--gold);
  padding: 36px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.team-role {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.team-bio {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
}
.credentials {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.cred-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--border-navy);
  padding: 5px 10px;
  background: var(--stone);
}

/* Strategy section */
.strategy-section { background: var(--navy); }
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 16px;
}
.strategy-card {
  background: rgba(26,47,79,0.6);
  border: 1px solid rgba(200,151,58,0.08);
  padding: 30px 26px;
  transition: border-color 0.25s;
}
.strategy-card:hover { border-color: rgba(200,151,58,0.3); }
.strategy-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
}
.strategy-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
}
.strategy-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-onnavy);
}

/* ============================================================
   PIPELINE PAGE
   ============================================================ */
.pipeline-section { background: var(--stone); padding: 80px 0; }
.pipeline-project {
  margin-bottom: 60px;
  border: 1px solid var(--border-navy);
  background: var(--white);
  overflow: hidden;
}
.pipeline-project:last-child { margin-bottom: 0; }

.pipeline-photo {
  height: 380px;
  position: relative;
  overflow: hidden;
  background: var(--navy-mid);
}
.pipeline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.pipeline-project:hover .pipeline-photo img { transform: scale(1.03); }
.pipeline-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,33,59,0.75) 0%, transparent 55%);
}
.pipeline-photo-label {
  position: absolute;
  bottom: 24px;
  left: 32px;
  right: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.pipeline-photo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
}
.pipeline-photo-loc {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.pipeline-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-weight: 300;
  color: rgba(200,151,58,0.18);
  line-height: 1;
}

.pipeline-body {
  padding: 38px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.pipeline-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-body);
}
.pipeline-tags-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  min-width: 140px;
}

/* Placeholder when no photo */
.pipeline-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-mid);
}
.pipeline-photo-placeholder svg { opacity: 0.08; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { background: var(--stone); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact-intro {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 38px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-lbl {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-val {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.6;
}
.contact-val a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-val a:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border-navy);
  border-top: 3px solid var(--gold);
  padding: 38px;
}
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.contact-form { display: flex; flex-direction: column; gap: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-lbl {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input, .form-select, .form-textarea {
  background: var(--stone);
  border: 1px solid var(--border-navy);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(74,85,104,0.4); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8973A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(200,151,58,0.1);
  padding: 44px 60px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(200,151,58,0.07);
  margin-bottom: 22px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-nav a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-onnavy);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: 11px;
  font-weight: 300;
  color: rgba(138,154,181,0.55);
  line-height: 1.8;
}
.footer-disclaimer {
  font-size: 10.5px;
  font-weight: 300;
  color: rgba(138,154,181,0.35);
  line-height: 1.7;
  max-width: 600px;
  text-align: right;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .home-about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .team-card { position: static; }
  .strategy-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .pipeline-body { grid-template-columns: 1fr; gap: 20px; }
  .pipeline-tags-col { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
  .contact-strip-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(200,151,58,0.18);
    padding: 10px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 14px 28px;
    font-size: 11px;
    border-bottom: none;
  }
  .nav-links li a.active { color: var(--gold); background: rgba(200,151,58,0.06); }

  .container { padding: 0 24px; }
  section { padding: 70px 0; }
  .page-banner { height: 280px; }
  .page-banner-content { padding: 36px 24px; }
  .home-hero-inner { padding: 60px 24px; }
  .strategy-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .pipeline-photo { height: 260px; }
  .pipeline-photo-name { font-size: 28px; }
  .pipeline-body { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 16px; }
  .footer-bottom { flex-direction: column; }
  .footer-disclaimer { text-align: left; }
  footer { padding: 36px 24px 28px; }
  .contact-strip-inner { padding: 0 24px; }
}

@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .home-about-img { height: 280px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card.wide { flex-direction: column; gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .pipeline-teaser-tags { display: none; }
  .pipeline-teaser-num { display: none; }
}
