/* ============================================================
   i1 Global Capital — styles
   Ported from "Design C - i1 Global Capital" prototype.
   Palette: navy #08122A · off-white #FAFAF7 · charcoal #1A1A1A
            mid-grey #6B6B6B · hairline #E5E5E5 · gold #B3873B
   ============================================================ */

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

body {
  background: #FAFAF7;
  color: #1A1A1A;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #B3873B; color: #FAFAF7; }

.page { background: #FAFAF7; min-height: 100vh; overflow-x: hidden; }

img { max-width: 100%; }

@keyframes c_in  { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes c_mark{ from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(250,250,247,0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(8,18,42,0.08);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { height: 34px; width: auto; display: block; }
.brand-wordmark { height: 15px; width: auto; display: block; }
.brand-tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: #9A742F; border-left: 1px solid #D8D8D2; padding-left: 13px;
}

.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.nav-link { text-decoration: none; color: #1A1A1A; transition: color .35s; }
.nav-link:hover { color: #9A742F; }
.nav-back { color: #6B6B6B; font-size: 13px; }

.burger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 42px; height: 42px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.burger span { display: block; height: 1.5px; width: 24px; background: #08122A; }

/* ---------- Shared section helpers ---------- */
.section--bordered { border-bottom: 1px solid #E5E5E5; }
.h2 {
  font-family: 'Source Serif 4', Georgia, serif; font-weight: 400;
  font-size: clamp(36px,5vw,60px); line-height: 1.04; letter-spacing: -0.02em;
  color: #08122A; margin: 0;
}
.h3-italic {
  font-family: 'Source Serif 4', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(26px,3vw,38px); line-height: 1.08; color: #08122A; margin: 0;
}
.muted { color: #6B6B6B; }
.body-lg { font-size: 20px; line-height: 1.7; color: #1A1A1A; }
.rule-gold { display: block; width: 54px; height: 3px; background: #B3873B; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  overflow: hidden; border-bottom: 1px solid #E5E5E5;
}
.hero-mark-wrap { position: absolute; inset: 0; display: flex; justify-content: center; pointer-events: none; }
.hero-mark-inner { position: relative; width: 100%; max-width: 1280px; }
.hero-mark {
  position: absolute; right: 48px; top: 0; bottom: 0; width: 54%;
  display: flex; align-items: center; justify-content: flex-end;
  animation: c_mark 1.6s cubic-bezier(.2,.6,.2,1) both;
}
.hero-mark-img {
  max-width: 100%; max-height: 88%; width: auto; height: auto; opacity: 0.95;
}
.hero-content { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 48px 88px; width: 100%; }
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: #9A742F; margin-bottom: 28px; animation: c_in .9s ease .1s both;
}
.hero-title {
  font-family: 'Source Serif 4', Georgia, serif; font-weight: 400;
  font-size: clamp(54px,10vw,148px); line-height: 0.92; letter-spacing: -0.035em;
  color: #08122A; margin: 0; animation: c_in 1s ease .2s both;
}
.hero-tagline {
  font-family: 'Source Serif 4', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(21px,2.6vw,30px); line-height: 1.4; color: #1A1A1A;
  max-width: 520px; margin: 34px 0 0; animation: c_in 1s ease .35s both;
}

/* ---------- Opening ---------- */
.opening { position: relative; overflow: hidden; }
.opening-ghost {
  position: absolute; left: -14%; top: -10%; height: 150%; width: auto;
  opacity: 0.04; pointer-events: none;
}
.opening-inner {
  position: relative; max-width: 1280px; margin: 0 auto; padding: 170px 48px;
  display: flex; justify-content: flex-end;
}
.opening-copy { max-width: 780px; }
.lead {
  font-family: 'Source Serif 4', Georgia, serif; font-weight: 400;
  font-size: clamp(28px,3.6vw,46px); line-height: 1.32; letter-spacing: -0.015em;
  color: #08122A; margin: 0 0 36px;
}
.opening-copy .body-lg { margin: 0; max-width: 600px; }

/* ---------- Sectors ---------- */
.sectors-head { max-width: 1280px; margin: 0 auto; padding: 140px 48px 40px; }
.sectors-head .reveal { max-width: 680px; }
.sectors-head .rule-gold { margin-bottom: 30px; }
.sectors-head .h2 { margin-bottom: 18px; }
.sectors-head .muted { font-size: 18px; line-height: 1.65; margin: 0; max-width: 560px; }

.sectors-list { border-top: 1px solid #E5E5E5; }
.sector-row { border-bottom: 1px solid #E5E5E5; transition: background .5s ease; }
.sector-row:hover { background: #F4F1EA; }
.sector-inner {
  max-width: 1280px; margin: 0 auto; padding: 56px 48px;
  display: grid; grid-template-columns: 90px 1fr; gap: 36px; align-items: baseline;
}
.sector-num {
  font-family: 'Source Serif 4', Georgia, serif; font-size: 30px; color: #B3873B;
  font-variant-numeric: tabular-nums;
}
.sector-body {
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 36px; align-items: baseline;
}
.sector-text { font-size: 17px; line-height: 1.7; color: #1A1A1A; margin: 0; max-width: 600px; }

/* ---------- How we invest ---------- */
.approach-inner {
  max-width: 1280px; margin: 0 auto; padding: 150px 48px;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 64px; align-items: start;
}
.approach-title { line-height: 1.02; }
.approach-copy { max-width: 680px; }
.approach-copy .body-lg { font-size: 19px; margin: 0 0 30px; }
.pull-italic {
  font-family: 'Source Serif 4', Georgia, serif; font-style: italic;
  font-size: clamp(23px,2.6vw,30px); line-height: 1.4; color: #08122A; margin: 0;
}

/* ---------- Why this model (navy band) ---------- */
.why { position: relative; overflow: hidden; background: #08122A; color: #FAFAF7; }
.why-ghost {
  position: absolute; right: -8%; top: -20%; height: 150%; width: auto;
  opacity: 0.08; pointer-events: none;
}
.why-inner {
  position: relative; max-width: 1280px; margin: 0 auto; padding: 160px 48px;
  display: flex; justify-content: flex-start;
}
.why-copy { max-width: 860px; }
.why-copy .rule-gold { margin-bottom: 36px; }
.why-statement {
  font-family: 'Source Serif 4', Georgia, serif; font-weight: 400;
  font-size: clamp(30px,4.4vw,58px); line-height: 1.22; letter-spacing: -0.02em;
  color: #FAFAF7; margin: 0 0 36px;
}
.why-sub { font-size: 18px; line-height: 1.75; color: #B9C0CC; margin: 0; max-width: 680px; }

/* ---------- Contact ---------- */
.contact-inner {
  max-width: 1280px; margin: 0 auto; padding: 150px 48px;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 64px; align-items: start;
}
.contact-title {
  font-size: clamp(40px,5.5vw,72px); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 24px;
}
.contact-meta { font-size: 17px; line-height: 1.6; margin: 0; max-width: 340px; }
.contact-form-wrap { padding-top: 14px; }

.contact-success {
  border: 1px solid #B3873B; background: #fff; padding: 42px;
  font-family: 'Source Serif 4', Georgia, serif; font-size: 23px; color: #08122A; line-height: 1.4;
}

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field-label {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: #6B6B6B; margin-bottom: 12px;
}
.field-input {
  width: 100%; font-family: inherit; font-size: 17px; color: #1A1A1A; background: transparent;
  border: none; border-bottom: 1px solid #C9C9C4; padding: 10px 0; outline: none;
  transition: border-color .35s;
}
textarea.field-input { resize: vertical; }
.field-input:focus { border-bottom-color: #B3873B; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { margin-top: 10px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.form-error { margin: 0; font-size: 14px; color: #9A2A2A; }
.btn-submit {
  font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  color: #FAFAF7; background: #08122A; border: 1px solid #08122A; padding: 16px 38px;
  cursor: pointer; transition: background .35s, color .35s, transform .35s;
}
.btn-submit:hover { background: transparent; color: #08122A; transform: translateY(-2px); }
.btn-submit:disabled { opacity: .55; cursor: default; transform: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #08122A; color: #FAFAF7; overflow: hidden; }
.footer-ghost {
  position: absolute; right: -4%; top: -30%; height: 170%; width: auto;
  opacity: 0.06; pointer-events: none;
}
.footer-top {
  position: relative; max-width: 1280px; margin: 0 auto; padding: 96px 48px;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 64px; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 160px; width: auto; display: block; }
.footer-legal { font-size: 14px; line-height: 1.7; color: #8A93A6; max-width: 520px; margin: 0 0 26px; }
.footer-back {
  text-decoration: none; color: #FAFAF7; font-size: 15px;
  border-bottom: 1px solid transparent; transition: border-color .35s;
}
.footer-back:hover { border-bottom-color: #B3873B; }
.footer-bottom {
  position: relative; max-width: 1280px; margin: 0 auto; padding: 24px 48px;
  font-size: 12px; color: #5C6680; letter-spacing: 0.02em;
}

/* ---------- Reveal-on-scroll (JS adds .reveal; .is-in shows) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mark, .eyebrow, .hero-title, .hero-tagline { animation: none; }
  [data-parallax] { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-mark-img { opacity: .5; max-height: 80%; }
}

@media (max-width: 860px) {
  .header-inner { padding: 0 20px; }
  .main-nav { display: none; }
  .main-nav[data-open="true"] {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #FAFAF7; border-bottom: 1px solid #E5E5E5; padding: 6px 24px 18px;
    gap: 0; align-items: stretch; box-shadow: 0 16px 32px -24px rgba(8,18,42,.4);
  }
  .main-nav[data-open="true"] .nav-link {
    padding: 16px 2px; border-bottom: 1px solid #ECECE7; font-size: 16px; width: auto;
  }
  .burger { display: flex; }

  .opening-inner { padding: 84px 24px; }
  .sectors-head { padding: 84px 24px 24px; }
  .sector-inner { padding: 44px 24px; grid-template-columns: 1fr; gap: 18px; }
  .sector-body { grid-template-columns: 1fr; gap: 16px; }
  .approach-inner { padding: 84px 24px; grid-template-columns: 1fr; gap: 28px; }
  .why-inner { padding: 84px 24px; }
  .contact-inner { padding: 84px 24px; grid-template-columns: 1fr; gap: 40px; }
  .contact-form { grid-template-columns: 1fr; }

  .footer-top { padding: 84px 24px; grid-template-columns: 1fr; gap: 40px; text-align: center; justify-items: center; }
  .footer-legal { margin-left: auto; margin-right: auto; }
  .footer-bottom { padding: 24px; text-align: center; }
  .footer-logo { height: 120px; }

  .hero-mark { width: auto; left: 0; right: 0; justify-content: center; }
  .hero-mark-img { opacity: .3; max-height: 52%; }
}
