/* Camp Hill Capital — site styles */
:root {
  --navy-900: #14213A;
  --navy-800: #1C2B42;
  --navy-700: #283C5A;
  --navy-600: #355077;
  --gold-500: #C6A26E;
  --gold-600: #A9844F;
  --gold-700: #8A6A3B;
  --gold-100: #F3EBDD;
  --cream: #F8F5EF;
  --ink: #1D2633;
  --ink-soft: #4A5566;
  --line: #E4DED3;
  --white: #FFFFFF;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); }
a:hover { color: var(--gold-700); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, .stat-num, .step-num, .hero-panel dd, .credential strong, .criteria-row dt, .cta-contact a.email { font-variant-numeric: lining-nums; }
.bg-navy .split { align-items: start; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold-500); }

.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.65; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--sans); font-size: .92rem; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: #D4B482; color: var(--navy-900); }
.btn-navy { background: var(--navy-700); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-500); }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn-outline:hover { background: var(--navy-700); color: var(--white); }
.btn svg { width: 16px; height: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--navy-800); text-decoration: none;
  letter-spacing: .02em; padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-700); border-bottom-color: var(--gold-500); }
.nav-links .btn { padding: 11px 20px; border: none; color: var(--white); }
.nav-links .btn:hover { color: var(--white); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy-800);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav { height: 72px; }
  .brand img { height: 40px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border: 0; padding-top: 16px; }
  .nav-links a { display: block; padding: 14px 0; border: 0; }
  .nav-links .btn { width: 100%; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, #2B4166 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #E8ECF3;
  padding: 130px 0 150px;
}
.hero h1 { color: var(--white); max-width: 17ch; }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 72px; align-items: center; }
.hero-panel {
  border: 1px solid rgba(198,162,110,.35); border-radius: var(--radius);
  background: rgba(255,255,255,.035); padding: 34px 34px 18px;
  backdrop-filter: blur(4px);
}
.hero-panel-title { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; margin-bottom: 14px; }
.hero-panel dl { margin: 0; }
.hero-panel dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.hero-panel dt { color: #AEB9CB; font-size: .92rem; }
.hero-panel dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--white); font-weight: 600; line-height: 1.2; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 90px 0 130px; } }
.hero h1 em { font-style: italic; color: var(--gold-500); font-weight: 500; }
.hero .lead { color: #C3CCDA; max-width: 58ch; margin-bottom: 40px; }
.hero-hills { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: auto; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; }

.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #C3CCDA; padding: 100px 0 110px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 4.6vw, 3.8rem); max-width: 20ch; }
.page-hero .lead { color: #C3CCDA; max-width: 60ch; margin: 0; }

/* Sections */
.section { padding: 110px 0; }
.section-sm { padding: 80px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy-800); color: #C3CCDA; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-5-7 { grid-template-columns: 5fr 7fr; }
@media (max-width: 900px) { .split, .split-5-7 { grid-template-columns: 1fr; gap: 48px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 32px 8px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat-num { font-family: var(--serif); font-size: 3.6rem; font-weight: 600; color: var(--navy-700); line-height: 1; }
.stat-num span { color: var(--gold-600); }
.stat-label { margin-top: 12px; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 34px; position: relative;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: var(--gold-500); box-shadow: 0 18px 40px -24px rgba(20,33,58,.35); transform: translateY(-2px); }
.card h3 { font-size: 1.55rem; margin-bottom: .4em; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-700);
  margin-bottom: 24px;
}
.card-icon svg { width: 24px; height: 24px; }

.bg-navy .card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.12); }
.bg-navy .card h3 { color: var(--white); }
.bg-navy .card p { color: #AEB9CB; }
.bg-navy .card-icon { background: rgba(198,162,110,.14); color: var(--gold-500); }

/* Criteria table */
.criteria { border-top: 2px solid var(--navy-700); }
.criteria-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.criteria-row dt { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy-700); }
.criteria-row dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .criteria-row { grid-template-columns: 1fr; gap: 4px; } }

/* Sector chips */
.sectors { display: flex; flex-wrap: wrap; gap: 12px; }
.sector {
  padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: .92rem; color: var(--navy-800);
}

/* Process timeline */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 90px 1fr; gap: 28px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step-num {
  font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--gold-600); font-weight: 500;
}
.step h3 { margin-bottom: .3em; }
.step p { color: var(--ink-soft); margin: 0; }
.step-meta { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; margin-bottom: 6px; }
.bg-navy .step { border-color: rgba(255,255,255,.12); }
.bg-navy .step p { color: #AEB9CB; }
@media (max-width: 600px) { .step { grid-template-columns: 1fr; gap: 8px; } }

/* Quote */
.pull-quote {
  font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.3;
  color: var(--white); font-style: italic; font-weight: 500;
  border-left: 2px solid var(--gold-500); padding-left: 32px; margin: 0;
}
.pull-quote cite {
  display: block; margin-top: 22px; font-family: var(--sans); font-style: normal;
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-500);
}

/* Photo frame */
.photo-frame { position: relative; }
.photo-frame img { border-radius: var(--radius); width: 100%; height: auto; }
.photo-frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold-500); border-radius: var(--radius); z-index: -1;
}
@media (max-width: 600px) { .photo-frame::before { inset: 14px -10px -14px 10px; } }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 0 0 14px 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 10px;
  border-left: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600);
  transform: rotate(-45deg) scale(.8);
}

.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.credential { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.credential strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--navy-700); font-weight: 600; }
.credential span { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 600px) { .credentials { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.8rem; color: var(--gold-600);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-right: 40px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #C3CCDA; padding: 100px 0; position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band .lead { color: #C3CCDA; max-width: 56ch; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.cta-contact { border-left: 1px solid rgba(198,162,110,.4); padding-left: 48px; }
.cta-contact .label { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; }
.cta-contact a.email { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--white); text-decoration: none; margin: 6px 0 28px; word-break: break-word; }
.cta-contact a.email:hover { color: var(--gold-500); }
@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-contact { border-left: 0; padding-left: 0; border-top: 1px solid rgba(198,162,110,.4); padding-top: 36px; }
}

/* Footer */
.site-footer { background: var(--navy-900); color: #8E9AAE; padding: 80px 0 36px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid img { height: 54px; width: auto; margin-bottom: 22px; }
.footer-grid h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 18px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.site-footer a { color: #C3CCDA; text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); }
.footer-legal { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .8rem; color: #6F7C92; }
.disclaimer { font-size: .78rem; line-height: 1.6; color: #6F7C92; margin-top: 28px; max-width: 900px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 10px 16px; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; }
.text-gold { color: var(--gold-600); }
