/* ============================================================
   Duling Investment Group: site styles
   Palette: navy + warm gold on cream. Editorial finance.
   ============================================================ */

:root {
  /* Brand */
  --navy:        #14233f;
  --navy-deep:   #0c1730;
  --navy-soft:   #2a3a5c;
  --gold:        #c9a14a;
  --gold-deep:   #a07f31;
  --gold-soft:   #d9bd7c;

  /* Surfaces */
  --cream:       #f6f1e7;
  --cream-warm:  #efe7d4;
  --paper:       #fbf8f1;
  --ink:         #1a1d24;
  --ink-soft:    #4a4f5a;
  --ink-mute:    #7d8290;
  --rule:        rgba(20, 35, 63, 0.14);
  --rule-soft:   rgba(20, 35, 63, 0.08);

  /* Type */
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Inter Tight", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  /* Rhythm */
  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(96px, 12vw, 168px);
}

/* All-sans tweak */
:root[data-type="sans"] {
  --serif: "Inter Tight", "Inter", system-ui, sans-serif;
}
/* All-serif tweak */
:root[data-type="serif"] {
  --sans: "Cormorant Garamond", Georgia, serif;
}

/* Accent intensity */
:root[data-accent="muted"] {
  --gold: #b89653;
  --gold-deep: #8a6d27;
}
:root[data-accent="bright"] {
  --gold: #d9b14a;
  --gold-deep: #b58923;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

::selection { background: var(--navy); color: var(--cream); }

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.eyebrow.center::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  font-weight: 500;
}
.display em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}

.section-title {
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.018em;
}
.section-title em {
  font-style: italic;
  color: var(--gold-deep);
}

.lede {
  font-family: var(--sans);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 320ms ease, backdrop-filter 320ms ease, padding 320ms ease, border-color 320ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246, 241, 231, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--rule-soft);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: nowrap;
}
.brand { flex-shrink: 1; min-width: 0; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  color: var(--navy);
  flex-shrink: 0;
  min-width: 0;
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  transition: height 320ms ease;
}
.nav.scrolled .brand-logo { height: 36px; }
@media (max-width: 520px) {
  .brand-logo { height: 36px; }
  .nav.scrolled .brand-logo { height: 30px; }
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 4px;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}
.nav-links a:not(.nav-cta) {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  font-weight: 500;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 360ms cubic-bezier(.2,.7,.2,1);
}
.nav-links a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cream);
  background: var(--navy);
  padding: 11px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 220ms ease, transform 220ms ease;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--navy-deep); transform: translateY(-1px); }
.nav-cta::after { content: "→"; font-family: var(--sans); }

@media (max-width: 1080px) {
  .nav-links { gap: 24px; }
}
@media (max-width: 880px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .brand-sub { display: none; }
}
@media (max-width: 520px) {
  .nav-cta { padding: 9px 14px; font-size: 12px; }
  .nav-cta::after { content: ""; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(140px, 18vw, 220px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 1200px 600px at 70% -10%, rgba(201, 161, 74, 0.12), transparent 60%),
    radial-gradient(ellipse 800px 500px at 10% 110%, rgba(20, 35, 63, 0.06), transparent 60%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-meta .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero h1 {
  margin-bottom: 36px;
}
.hero-tag {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 48px;
  text-wrap: pretty;
}
.hero-tag strong { color: var(--navy); font-weight: 500; }

.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-cta-row .btn { white-space: nowrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost {
  border-color: var(--rule);
  color: var(--navy);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--navy); }
.btn .arr {
  display: inline-block;
  transition: transform 220ms ease;
}
.btn:hover .arr { transform: translateX(4px); }

/* Hero right column variations */
.hero-right {
  position: relative;
  min-height: 380px;
  /* Offset down so the top aligns with the h1 "Acquiring", not the meta line above it */
  margin-top: calc(12px * 1.2 + 36px);
}
@media (max-width: 880px) {
  .hero-right { margin-top: 0; }
}

/* Variant: portrait */
.hero-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--navy);
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 60px -30px rgba(20,35,63, 0.4);
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.02);
  transform: scale(1.02);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,35,63,0.5) 100%);
}
.hero-portrait-meta {
  position: absolute;
  left: 24px; bottom: 22px;
  color: var(--cream);
  z-index: 2;
}
.hero-portrait-meta .name {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.01em;
  display: block;
  line-height: 1.1;
}
.hero-portrait-meta .role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 6px;
  display: block;
}

/* Variant: bars */
.hero-bars {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding-bottom: 20px;
}
.hero-bars .bar {
  width: 14%;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 50%, var(--gold-deep));
  border-radius: 2px 2px 0 0;
  position: relative;
  transform-origin: bottom;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), inset -2px 0 0 rgba(0,0,0,0.06);
}
.hero-bars .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent 30%);
}
.hero-bars-axis {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rule);
}
.hero-bars-label {
  position: absolute;
  top: 24px; left: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-bars-tick {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

/* Variant: quote */
.hero-quote {
  border-left: 1px solid var(--gold);
  padding: 24px 0 24px 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--navy);
  max-width: 38ch;
  position: relative;
}
.hero-quote::before {
  content: "“";
  position: absolute;
  left: 28px;
  top: -12px;
  font-size: 80px;
  color: var(--gold);
  line-height: 1;
  font-family: var(--serif);
  font-style: normal;
}
.hero-quote-attr {
  display: block;
  margin-top: 24px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Hero stats strip */
.hero-stats {
  margin-top: clamp(80px, 10vw, 120px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hero-stat {
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--rule-soft);
}
.hero-stat:last-child { border-right: 0; }
.hero-stat:not(:first-child) { padding-left: 28px; }
.hero-stat .v {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero-stat .v small {
  font-size: 0.55em;
  color: var(--gold-deep);
}
.hero-stat .v.v-range {
  align-items: baseline;
  gap: 6px;
  letter-spacing: -0.015em;
}
.hero-stat .v.v-range .r-dash {
  color: var(--gold);
  font-weight: 400;
  margin: 0 2px;
  font-size: 0.85em;
}
.hero-stat .v.v-range .r-lo,
.hero-stat .v.v-range .r-hi {
  font-weight: 500;
}
.hero-stat .v.v-range .r-hi {
  color: var(--ink);
}
.hero-stat .l {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 12px;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { min-height: 320px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-bottom: 1px solid var(--rule-soft); border-right: 0; }
  .hero-stat:last-child { border-bottom: 0; }
}

/* ============================================================
   Marquee: anchor to legitimacy
   ============================================================ */
.values-strip {
  padding: 36px 0;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--paper);
  overflow: hidden;
}
.values-strip-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--navy-soft);
  white-space: nowrap;
  animation: marquee 60s linear infinite;
}
.values-strip-inner span { display: inline-flex; align-items: center; gap: 56px; }
.values-strip-inner .sep {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Section base
   ============================================================ */
section { position: relative; }
.section {
  padding: var(--section-y) 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 100px);
  margin-bottom: clamp(64px, 8vw, 96px);
}
.section-head .meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.section-head .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .meta { position: static; }
}

/* ============================================================
   Thesis
   ============================================================ */
#thesis { background: var(--paper); }

.thesis-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.thesis-card {
  grid-column: span 6;
  background: var(--cream);
  border: 1px solid var(--rule-soft);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1), border-color 360ms ease;
}
.thesis-card:hover { border-color: var(--rule); transform: translateY(-2px); }
.thesis-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
}
.thesis-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  margin: 18px 0 14px;
  letter-spacing: -0.01em;
}
.thesis-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}
.thesis-card.wide { grid-column: span 12; }
.thesis-card.tall {
  grid-column: span 6;
  background: var(--navy);
  color: var(--cream);
}
.thesis-card.tall h3 { color: var(--cream); }
.thesis-card.tall p { color: rgba(246,241,231, 0.78); }
.thesis-card.tall .num { color: var(--gold); }

@media (max-width: 880px) {
  .thesis-card, .thesis-card.tall { grid-column: span 12; }
}

/* Criteria table */
.criteria {
  margin-top: 96px;
}
.criteria h3 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 36px;
}
.criteria-table {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-top: 1px solid var(--rule);
}
.criteria-row {
  display: contents;
}
.criteria-row > div {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.criteria-row .key {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-right: 24px;
}
.criteria-row .val {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 26px);
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.criteria-row .val em {
  color: var(--gold-deep);
  font-style: italic;
}

/* ============================================================
   Search Strategy: process
   ============================================================ */
.process {
  position: relative;
}
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0; right: 0;
  height: 1px;
  background: var(--rule);
}
.process-track::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  height: 1px;
  background: var(--gold);
  width: 0;
  transition: width 1400ms cubic-bezier(.2,.7,.2,1);
}
.process.in-view .process-track::after { width: 100%; }

.process-step {
  position: relative;
  padding-top: 60px;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 16px; height: 16px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: background 320ms ease, border-color 320ms ease, transform 320ms ease;
}
.process.in-view .process-step::before {
  background: var(--gold);
  border-color: var(--gold);
}
.process-step .step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}
.process-step h4 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--navy);
  margin: 8px 0 12px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.process-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .process-track { grid-template-columns: 1fr; }
  .process-track::before, .process-track::after { display: none; }
  .process-step { padding-top: 24px; padding-left: 32px; }
  .process-step::before { top: 28px; left: 0; }
}

/* Search principles */
.principles {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.principle {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--rule-soft);
}
.principle:not(:first-child) { padding-left: 32px; }
.principle:last-child { border-right: 0; }
.principle .ico {
  width: 36px; height: 36px;
  margin-bottom: 28px;
  color: var(--gold-deep);
}
.principle h4 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.principle p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--rule-soft); padding-left: 0 !important; }
}

/* ============================================================
   About / Founder
   ============================================================ */
#about { background: var(--cream-warm); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.about-photo-wrap {
  position: sticky;
  top: 100px;
}
.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--cream-warm);
  overflow: hidden;
  position: relative;
  border-radius: 2px;
  box-shadow: 0 40px 80px -40px rgba(20,35,63, 0.45);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.05) contrast(1.02);
}
.about-photo .frame-corner {
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--gold);
}
.about-photo .frame-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; transform: translate(-8px, -8px); }
.about-photo .frame-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; transform: translate(8px, 8px); }
.about-photo-caption {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-photo-caption::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--gold);
}

.about-body h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.018em;
}
.about-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 56ch;
}
.about-body p.intro {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 26px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 36px;
}
.about-creds {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.about-creds > div {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-soft);
  padding-right: 24px;
}
.about-creds > div:nth-child(2n) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--rule-soft); }
.about-creds .k {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.about-creds .v {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  line-height: 1.3;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { position: static; }
}

/* ============================================================
   Contact / Footer CTA
   ============================================================ */
#contact {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 500px at 80% 0%, rgba(201, 161, 74, 0.12), transparent 60%),
    radial-gradient(ellipse 600px 400px at 0% 100%, rgba(201, 161, 74, 0.06), transparent 60%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}
#contact .eyebrow { color: var(--gold-soft); }
#contact .eyebrow::before { background: var(--gold-soft); }
#contact h2 {
  font-family: var(--serif);
  color: var(--cream);
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
#contact h2 em { color: var(--gold); font-style: italic; }
#contact .lede { color: rgba(246,241,231, 0.72); font-size: 18px; max-width: 50ch; }

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 161, 74, 0.28);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-row .k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.contact-row .v {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream);
  letter-spacing: 0.005em;
}
.contact-row a.v {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  transition: color 220ms ease;
}
.contact-row a.v:hover { color: var(--gold-soft); }
.contact-row a.v::after {
  content: "→";
  font-family: var(--sans);
  font-size: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 220ms ease, transform 220ms ease;
}
.contact-row a.v:hover::after { opacity: 1; transform: translateX(0); }

@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: rgba(246,241,231, 0.6);
  padding: 36px 0;
  font-size: 12.5px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .brand-name { color: var(--cream); font-size: 14px; }
.footer .brand-sub { color: var(--gold-soft); }
.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.95;
}
.footer-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.footer-links a:hover { color: var(--gold-soft); }
.footer-fine { color: rgba(246,241,231, 0.4); }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-soft {
  opacity: 0;
  transition: opacity 1400ms ease;
}
.reveal-soft.in { opacity: 1; }

/* Section dividers */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 20%, var(--rule) 80%, transparent);
  border: 0;
  margin: 0 var(--pad-x);
}

/* Big section number watermark */
.section-watermark {
  position: absolute;
  top: 80px; right: 0;
  font-family: var(--serif);
  font-size: clamp(120px, 18vw, 220px);
  color: rgba(20, 35, 63, 0.04);
  font-weight: 500;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 0.9;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-deep));
  z-index: 100;
  transition: width 80ms linear;
}

/* ============================================================
   MODEL: What is a search fund?
   ============================================================ */
.section-tight {
  padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--rule-soft);
}

.model-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.model-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.model-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 28px 28px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
}
.model-steps li .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 6px;
}
.model-steps li h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.model-steps li p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.model-aside {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(32px, 4vw, 44px);
  position: relative;
  border-top: 3px solid var(--gold);
}
.model-aside .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.model-aside h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--cream);
}
.model-aside h3 br + * { display: inline; }
.model-aside > p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(246, 241, 231, 0.78);
}
.model-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid rgba(246, 241, 231, 0.12);
}
.model-bullets li {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid rgba(246, 241, 231, 0.12);
}
.model-bullets li span {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.008em;
  margin-bottom: 6px;
}
.model-bullets li em {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(246, 241, 231, 0.66);
  text-align: left;
  text-wrap: pretty;
}
.model-aside-foot {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
  color: var(--gold-soft);
  margin: 0;
  padding-top: 4px;
}
.model-aside-foot em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

@media (max-width: 980px) {
  .model-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .model-steps { grid-template-columns: 1fr; }
}

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