/* =====================================================
   CAP TABLE CONNECT
   Money meets. Deals flow.
   ===================================================== */

:root {
  --navy-deep:   #07122A;
  --navy:        #0B1A36;
  --navy-soft:   #122446;
  --gold:        #D4A24C;
  --gold-warm:   #C9952F;
  --gold-dim:    #8E6F2C;
  --ivory:       #F4ECD8;
  --ivory-soft:  #E8E2D0;
  --silver:      #C9D2E0;
  --muted:       #8E97A8;
  --rule:        rgba(212, 162, 76, 0.45);

  --serif:  "Cormorant Garamond", "EB Garamond", "Garamond", "Times New Roman", serif;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --max-w: 760px;
  --gutter: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy-deep);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(212, 162, 76, 0.08), transparent 60%),
    radial-gradient(ellipse at 50% 120%, rgba(212, 162, 76, 0.05), transparent 60%),
    var(--navy-deep);
  min-height: 100vh;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 200ms ease, letter-spacing 200ms ease, opacity 200ms ease;
}

a:hover { color: var(--ivory); }

/* =====================================================
   Top brand strip + footer wordmark
   ===================================================== */

.brand-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 28px var(--gutter) 22px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(7, 18, 42, 0.92), rgba(7, 18, 42, 0));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: padding 250ms ease, background 250ms ease;
}

.brand-strip.is-condensed {
  padding: 14px var(--gutter) 12px;
  background: rgba(7, 18, 42, 0.88);
}

.brand-strip .wordmark {
  font-family: var(--sans);
  letter-spacing: 0.42em;
  font-size: 11px;
  font-weight: 500;
  color: var(--ivory);
  text-transform: uppercase;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

/* =====================================================
   Section foundation
   ===================================================== */

main { padding-top: 92px; }

.section {
  width: 100%;
  padding: clamp(80px, 14vh, 160px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section--hero {
  min-height: calc(100vh - 92px);
  padding-top: clamp(40px, 8vh, 80px);
}

.section-inner {
  width: 100%;
  max-width: var(--max-w);
  text-align: center;
}

.eyebrow {
  font-family: var(--sans);
  letter-spacing: 0.55em;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 48px;
  position: relative;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--rule);
  margin: 14px auto 0;
}

/* =====================================================
   Typography
   ===================================================== */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ivory);
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.12;
}

.headline {
  font-size: clamp(40px, 7vw, 72px);
  margin-bottom: 28px;
}

.headline--xl {
  font-size: clamp(46px, 8vw, 84px);
  letter-spacing: -0.015em;
}

.section-body {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ivory);
  margin: 0 0 36px;
}

.section-aside {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.6;
  color: var(--ivory-soft);
  opacity: 0.78;
  margin: 0 0 40px;
}

.sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ivory-soft);
  opacity: 0.85;
  margin: 0 0 56px;
}

.rule {
  display: block;
  width: 56px;
  height: 1px;
  margin: 56px auto;
  background: var(--rule);
}

/* =====================================================
   Hero
   ===================================================== */

.hero-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}

.hero-mark img {
  width: clamp(220px, 32vw, 360px);
  filter: drop-shadow(0 8px 30px rgba(212, 162, 76, 0.18));
}

.hero-tagline {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 12px;
}

/* =====================================================
   Gold CTA link
   ===================================================== */

.cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 0;
  position: relative;
}

.cta::before,
.cta::after {
  content: "—";
  margin: 0 14px;
  color: var(--gold);
  font-weight: 300;
  opacity: 0.9;
}

.cta:hover {
  color: var(--ivory);
  letter-spacing: 0.48em;
}

.cta:hover::before,
.cta:hover::after {
  color: var(--ivory);
}

.cta:focus-visible {
  outline: none;
  color: var(--ivory);
  letter-spacing: 0.48em;
  box-shadow: 0 2px 0 0 var(--gold);
}

.cta:focus-visible::before,
.cta:focus-visible::after {
  color: var(--ivory);
}

/* =====================================================
   Footer
   ===================================================== */

.site-footer {
  padding: clamp(100px, 18vh, 180px) var(--gutter) 80px;
  text-align: center;
}

.site-footer .footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ivory-soft);
  opacity: 0.85;
  margin: 0 0 22px;
}

.site-footer .footer-rule {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto 22px;
}

.site-footer .footer-mark {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.site-footer .footer-legal {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #A8B0C0;
  margin-top: 56px;
}

/* =====================================================
   Reveal on scroll
   ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 900ms ease, transform 900ms ease;
}

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

.reveal--delay-1 { transition-delay: 120ms; }
.reveal--delay-2 { transition-delay: 240ms; }
.reveal--delay-3 { transition-delay: 360ms; }
.reveal--delay-4 { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================
   Section dividers between blocks
   ===================================================== */

.section + .section .section-inner::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto 80px;
  opacity: 0.7;
}

.section--hero .section-inner::before,
.site-footer .section-inner::before { display: none; }

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 600px) {
  .eyebrow { letter-spacing: 0.4em; font-size: 10px; margin-bottom: 36px; }
  .cta { letter-spacing: 0.32em; font-size: 11px; }
  .cta::before, .cta::after { margin: 0 10px; }
  .hero-mark { margin-bottom: 40px; }
  .rule { margin: 40px auto; }
  .brand-strip .wordmark { letter-spacing: 0.32em; font-size: 10px; }
}

/* On narrow phones, drop the desktop line-break rhythm and let
   the browser wrap body copy naturally (keeps hero headline breaks). */
@media (max-width: 480px) {
  .section-body br,
  .section-aside br { display: none; }
}
