/* ============================================================
   Capital Supply Group — Site Styles
   Light theme · Navy #0B1930 · Gold #C19A3D
   Headings: Source Serif 4 · Body: IBM Plex Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy-950: #081222;
  --navy-900: #0B1930;
  --navy-800: #10223F;
  --navy-700: #1B355C;
  --navy-600: #24466F;
  --gold: #C19A3D;
  --gold-dark: #9E7C28;
  --gold-light: #D9BC72;
  --gold-pale: #F6EFDD;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --ink: #16233C;
  --body: #3D4A61;
  --muted: #5B6779;
  --line: #E3E8EF;
  --line-strong: #CBD4E0;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 25, 48, 0.06), 0 1px 3px rgba(11, 25, 48, 0.08);
  --shadow-md: 0 4px 14px rgba(11, 25, 48, 0.08), 0 2px 6px rgba(11, 25, 48, 0.06);
  --shadow-lg: 0 16px 40px rgba(11, 25, 48, 0.14);
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -0.008em; }
h3 { font-size: 1.32rem; }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

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

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.on-navy .eyebrow { color: var(--gold-light); }

.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p.lead { font-size: 1.12rem; color: var(--muted); }

.bg-white { background: var(--surface); }
.bg-tint { background: #EEF1F5; }
.bg-navy { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: #FFFFFF; }
.on-navy p { color: #C4CEDD; }
.on-navy { color: #C4CEDD; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-light); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy-800); color: #FFFFFF; }
.btn-navy:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--navy-700); background: rgba(16, 34, 63, 0.04); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #FFFFFF; background: transparent; }
.btn-outline-light:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
  transition: color 0.2s ease, gap 0.2s ease;
}
.text-link svg { width: 15px; height: 15px; }
.text-link:hover { color: var(--gold-dark); gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.brand-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 10px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.main-nav a:hover { color: var(--gold-dark); background: rgba(193, 154, 61, 0.08); }
.main-nav a.active { color: var(--gold-dark); }
.header-cta { flex: none; padding: 12px 20px; font-size: 0.74rem; }
.main-nav .mobile-cta { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  padding: 9px 11px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(8, 18, 34, 0.96) 0%, rgba(8, 18, 34, 0.88) 34%, rgba(10, 22, 42, 0.55) 62%, rgba(10, 22, 42, 0.28) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 110px 0 120px;
  max-width: 640px;
}
.hero h1 { color: #FFFFFF; margin-bottom: 22px; }
.hero .hero-sub { font-size: 1.13rem; color: #C9D3E2; max-width: 560px; margin-bottom: 34px; }
.hero-range-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.hero-range {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 36px;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(8, 18, 34, 0.97) 0%, rgba(16, 34, 63, 0.92) 60%, rgba(27, 53, 92, 0.88) 100%),
    var(--navy-900);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(193, 154, 61, 0.28);
  transform: rotate(24deg);
  pointer-events: none;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -200px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(193, 154, 61, 0.16);
  transform: rotate(12deg);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; padding: 84px 0 88px; max-width: 760px; }
.page-hero h1 { color: #FFFFFF; }
.page-hero p { font-size: 1.12rem; color: #C9D3E2; max-width: 640px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
a.card { display: block; color: inherit; cursor: pointer; }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
a.card:hover { transform: translateY(-3px); border-color: rgba(193, 154, 61, 0.55); }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  color: var(--gold-light);
  margin-bottom: 20px;
}
.icon-badge svg { width: 25px; height: 25px; }
.icon-badge.gold-ring { background: var(--gold-pale); color: var(--gold-dark); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .text-link { margin-top: 18px; }

/* Photo cards (strategies) */
.photo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.photo-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(193, 154, 61, 0.5); }
.photo-card .photo-wrap { position: relative; aspect-ratio: 16 / 10.5; background: var(--navy-800); overflow: hidden; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card .icon-badge {
  position: absolute;
  left: 26px;
  bottom: -26px;
  margin: 0;
  border: 3px solid var(--surface);
  z-index: 2;
}
.photo-card .photo-body { padding: 44px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.photo-card .photo-body p { color: var(--muted); font-size: 0.97rem; flex: 1; }

/* ---------- Stats band ---------- */
.stats-band { background: #EEF1F5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 58px 0; text-align: center; }
.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.1;
}
.stat-label {
  margin-top: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
}
.split .media img { width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { width: 21px; height: 21px; flex: none; color: var(--gold-dark); margin-top: 3px; }
.on-navy .check-list svg { color: var(--gold-light); }
.check-list strong { color: var(--ink); }
.on-navy .check-list strong { color: #FFFFFF; }

/* ---------- Detail rows (strategies page) ---------- */
.detail-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; padding: 72px 0; }
.detail-row + .detail-row { border-top: 1px solid var(--line); }
.detail-row.flip .detail-media { order: 2; }
.detail-media { border-radius: var(--radius); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-md); aspect-ratio: 16 / 11; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.tag-list li {
  padding: 8px 16px;
  background: var(--gold-pale);
  border: 1px solid rgba(193, 154, 61, 0.35);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ---------- Insights cards ---------- */
.insight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.insight-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.insight-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.insight-card h3 { font-size: 1.14rem; margin: 0; }
.insight-card p { color: var(--muted); font-size: 0.93rem; margin: 0; flex: 1; }

/* ---------- Deployment cards ---------- */
.deal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.deal-card h3 { margin-bottom: 4px; font-size: 1.2rem; }
.deal-sector {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.deal-meta { display: grid; gap: 10px; margin: 0; }
.deal-meta div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; font-size: 0.93rem; }
.deal-meta dt { font-weight: 700; color: var(--ink); }
.deal-meta dd { margin: 0; color: var(--muted); }
.deal-amount { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy-800); font-weight: 600; }

.note-box {
  border-left: 3px solid var(--gold);
  background: var(--gold-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 24px;
  font-size: 0.92rem;
  color: var(--gold-dark);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--surface); border-top: 1px solid var(--line); }
.cta-inner {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 76px 0;
}
.cta-icon {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}
.cta-icon svg { width: 40px; height: 40px; }
.cta-copy { flex: 1; }
.cta-copy h2 { margin-bottom: 10px; }
.cta-copy p { color: var(--muted); max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }

/* ---------- Forms ---------- */
.form-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 48px;
}
.form-step { padding: 34px 0; border-top: 1px solid var(--line); }
.form-step:first-child { border-top: 0; padding-top: 0; }
.step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.step-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-head h2 { font-size: 1.35rem; margin: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: 7px;
  background: #FDFDFE;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193, 154, 61, 0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--body); }
.doc-list svg { width: 18px; height: 18px; flex: none; color: var(--gold-dark); }
.form-disclaimer { font-size: 0.83rem; color: var(--muted); margin-top: 18px; line-height: 1.6; }
.form-status { margin-top: 16px; font-weight: 600; color: var(--navy-700); display: none; }
.form-status.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9B4C6; }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-brand .brand-name { color: #FFFFFF; }
.footer-brand .brand-tag { color: var(--gold-light); }
.footer-brand p { font-size: 0.92rem; color: #8E9AAE; margin-top: 18px; max-width: 340px; }
.footer-col h4 {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: #A9B4C6; font-size: 0.93rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; }
.footer-contact svg { width: 17px; height: 17px; flex: none; color: var(--gold); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 26px 0 34px;
  font-size: 0.8rem;
  color: #76839A;
}
.footer-bottom .legal { margin-top: 10px; line-height: 1.7; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 10px 9px; font-size: 0.74rem; }
  .header-cta { display: none; }
}
@media (max-width: 920px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .detail-row { grid-template-columns: 1fr; gap: 36px; }
  .detail-row.flip .detail-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px 18px 22px;
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; font-size: 0.85rem; }
  .main-nav .mobile-cta { display: inline-flex; margin-top: 12px; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-grid, .doc-list { grid-template-columns: 1fr; }
  .form-shell { padding: 30px 22px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .hero-inner { padding: 78px 0 84px; }
  .brand-name { font-size: 0.9rem; }
  .brand-tag { font-size: 0.56rem; }
  .deal-meta div { grid-template-columns: 1fr; gap: 2px; }
}
