:root {
  --navy: #0b1722;
  --navy-soft: #142838;
  --ivory: #f7f3ec;
  --paper: #fffdf8;
  --gold: #c99a43;
  --gold-light: #d9ae61;
  --ink: #20252a;
  --muted: #50585a;
  --line: rgba(32, 37, 42, 0.2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --shadow: 0 24px 70px rgba(11, 23, 34, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Temporary site-wide construction notice. */
body::after {
  content: "WEBSITE UNDER CONSTRUCTION";
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  width: 165vw;
  padding: 30px 32px;
  color: #fff8e8;
  background: rgba(11, 23, 34, 0.86);
  border-top: 2px solid rgba(217, 174, 97, 0.9);
  border-bottom: 2px solid rgba(217, 174, 97, 0.9);
  box-shadow: 0 10px 35px rgba(11, 23, 34, 0.22);
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-14deg);
  transform-origin: center;
  pointer-events: none;
}

/* Public content must remain visible even if legacy enhancement scripts fail. */
body,
body.site-is-loading,
body.site-is-loading .site-header,
body.site-is-loading main,
body.site-is-loading footer {
  visibility: visible !important;
  opacity: 1 !important;
}
.site-preloader,
#preloader,
.page-loader,
.loading-overlay {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: white;
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 86px 0; }
.section-kicker {
  display: block;
  margin-bottom: 12px;
  color: #936c27;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-title {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.section-copy { max-width: 580px; margin: 20px 0 0; color: var(--muted); font-size: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.site-header .brand img { width: 56px; height: 56px; }
.brand span {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 16px; font-weight: 600; }
.main-nav a:hover, .main-nav a:focus-visible { color: #91671c; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--navy); }
.btn-primary:hover { background: #1a3244; }
.btn-gold { color: #17140e; background: var(--gold-light); }
.btn-outline { border-color: rgba(11, 23, 34, 0.55); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 22px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(760px, calc(100svh - 76px), 940px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
}
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247,243,236,.92) 0%, rgba(247,243,236,.78) 30%, rgba(247,243,236,.26) 56%, transparent 72%);
}
.hero-copy {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 72px 0;
}
.hero-copy-inner {
  width: min(525px, 47vw);
  text-shadow: 0 1px 2px rgba(255,253,248,.72);
}
.hero h1 {
  margin: 0 0 22px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(52px, 5.4vw, 72px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.91;
}
.hero-lede { max-width: 480px; margin: 0 0 24px; color: #414b4f; font-size: 17px; }
.benefit-list { display: grid; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.benefit-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.benefit-list i { color: #a87927; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/images/marketcapital/hero.webp") center center / cover no-repeat;
}

.value-strip { background: var(--paper); border-top: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-item { padding: 34px 44px; text-align: center; border-right: 1px solid var(--line); }
.value-item:last-child { border-right: 0; }
.value-item i { color: var(--gold); font-size: 25px; }
.value-item h3 { margin: 12px 0 5px; font-family: var(--serif); font-size: 24px; line-height: 1; }
.value-item p { max-width: 250px; margin: 0 auto; color: var(--muted); font-size: 14px; }

.pathways-section { background: var(--paper); }
.pathway-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pathway-card {
  min-height: 300px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.pathway-card-primary { background: #ebe3d3; }
.pathway-label {
  color: #936c27;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.pathway-card h3 {
  margin: 16px 0 10px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1;
}
.pathway-card p { margin: 0 0 24px; color: var(--muted); }
.pathway-card a {
  margin-top: auto;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.pathway-card a i { margin-left: 7px; }

.method-section { color: var(--ink); background: #ebe3d3; }
.method-heading { text-align: center; }
.method-heading .section-kicker { color: #845e1d; }
.method-heading .section-title { margin-inline: auto; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; }
.method-card { min-height: 190px; padding: 30px; border-left: 1px solid var(--line); }
.method-card:last-child { border-right: 1px solid var(--line); }
.method-card i { color: #936c27; font-size: 25px; }
.method-card h3 { margin: 20px 0 7px; color: var(--navy); font-family: var(--serif); font-size: 25px; font-weight: 600; }
.method-card p { margin: 0; color: #444e51; font-size: 15px; }

.story-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 22px; align-items: stretch; }
.story-copy, .story-image { min-height: 490px; border-radius: 12px; overflow: hidden; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px; background: var(--paper); box-shadow: var(--shadow); }
.story-copy .section-title { font-size: clamp(42px, 5vw, 64px); }
.story-image { background: url("/assets/images/marketcapital/man-dog-beach-sunset.webp") center / cover no-repeat; }
.ticks { display: grid; gap: 12px; margin-top: 27px; }
.ticks span { display: flex; align-items: center; gap: 10px; color: #424c4f; font-size: 14px; }
.ticks i { color: var(--gold); }

.promise-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 38px; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promise-card { padding: 30px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.promise-card i { color: var(--gold); font-size: 23px; }
.promise-card h3 { margin: 16px 0 8px; font-family: var(--serif); font-size: 23px; }
.promise-card p { margin: 0; color: var(--muted); font-size: 15px; }
.promise-cta {
  margin-top: 18px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  color: white;
  border-radius: 10px;
  background: var(--navy-soft);
}
.promise-cta h3 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.promise-cta p { margin: 4px 0 0; color: rgba(255,255,255,.88); font-size: 14px; }

.steps-grid { display: grid; grid-template-columns: 1fr 0.92fr; border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.steps-copy { padding: 62px; }
.steps { display: grid; gap: 24px; margin-top: 34px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #17140e; background: var(--gold-light); font-family: var(--serif); font-size: 20px; font-weight: 700; }
.step h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 23px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.steps-image { min-height: 560px; background: url("/assets/images/marketcapital/older-investor-living-room-v2.webp") center / cover no-repeat; }

.journey { padding: 80px 0; }
.journey-card {
  min-height: 440px;
  display: flex;
  align-items: center;
  padding: 70px;
  color: white;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(11,23,34,.92) 0%, rgba(11,23,34,.64) 46%, rgba(11,23,34,.12) 100%), url("/assets/images/marketcapital/journey.webp") center / cover no-repeat;
}
.journey-copy { max-width: 520px; }
.journey .section-kicker { color: var(--gold-light); }
.journey .section-title { font-size: clamp(44px, 5vw, 66px); }
.journey p { max-width: 460px; color: rgba(255,255,255,.92); font-size: 16px; }

.site-footer { padding: 46px 0 24px; color: rgba(255,255,255,.88); background: #102332; }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 55px; padding-bottom: 38px; }
.footer-brand .brand span { color: white; }
.footer-brand p { max-width: 330px; margin: 18px 0 0; font-size: 14px; }
.footer-column h3 { margin: 5px 0 15px; color: white; font-family: var(--serif); font-size: 20px; }
.footer-column a { display: block; margin: 8px 0; color: rgba(255,255,255,.9); font-size: 14px; }
.footer-column a:hover { color: var(--gold-light); }
.risk-note { padding: 20px 0; color: rgba(255,255,255,.82); border-top: 1px solid rgba(255,255,255,.2); font-size: 13px; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: rgba(255,255,255,.82); border-top: 1px solid rgba(255,255,255,.2); font-size: 13px; }

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    padding: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .header-actions .btn-outline { display: none; }
  .hero { min-height: 820px; }
  .hero-copy { padding-block: 52px; }
  .hero-copy-inner { width: min(520px, 58vw); }
  .hero-image { background-position: 62% center; }
  .method-grid, .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .pathway-grid { grid-template-columns: 1fr; }
  .method-card:nth-child(3) { border-top: 1px solid var(--line); }
  .method-card:nth-child(4) { border-top: 1px solid var(--line); }
  .story-grid, .steps-grid { grid-template-columns: 1fr; }
  .story-image { min-height: 480px; order: -1; }
  .steps-image { min-height: 480px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-column:last-child { display: none; }
}

@media (max-width: 680px) {
  body::after {
    width: 210vw;
    padding: 22px 20px;
    font-size: 18px;
    letter-spacing: 0.14em;
    transform: translate(-50%, -50%) rotate(-18deg);
  }

  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 60px 0; }
  .header-inner { min-height: 68px; }
  .brand img { width: 36px; height: 36px; }
  .site-header .brand img { width: 48px; height: 48px; }
  .brand span { font-size: 22px; }
  .header-actions .btn-primary { display: none; }
  .main-nav { inset: 68px 0 auto; }
  .hero {
    min-height: 900px;
    align-items: flex-start;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(247,243,236,.96) 0%, rgba(247,243,236,.88) 42%, rgba(247,243,236,.42) 60%, transparent 76%, rgba(11,23,34,.14) 100%);
  }
  .hero-image {
    background-image: url("/assets/images/marketcapital/hero-mobile.webp");
    background-position: 70% center;
  }
  .hero-copy {
    width: calc(100% - 32px);
    padding: 34px 0 320px;
  }
  .hero-copy-inner {
    width: 100%;
  }
  .hero h1 { font-size: clamp(45px, 14vw, 54px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .method-grid, .promise-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 0; padding: 30px 24px; }
  .method-card { border: 0; border-top: 1px solid var(--line); }
  .method-card:last-child { border-right: 0; }
  .story-copy, .steps-copy { padding: 38px 28px; }
  .story-image { min-height: 370px; background-image: url("/assets/images/marketcapital/man-dog-beach-sunset-mobile.webp"); }
  .promise-heading, .promise-cta { align-items: flex-start; flex-direction: column; }
  .promise-cta .btn { width: 100%; }
  .steps-image { min-height: 390px; background-image: url("/assets/images/marketcapital/older-investor-living-room-mobile-v2.webp"); }
  .journey { padding-top: 18px; }
  .journey-card {
    min-height: 560px;
    align-items: flex-end;
    padding: 38px 28px;
    background-image: linear-gradient(0deg, rgba(11,23,34,.94) 0%, rgba(11,23,34,.15) 75%), url("/assets/images/marketcapital/journey-mobile.webp");
  }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}
