/* =============================================================
   Preston Hollow Group — Design System
   Palette derived from the brand mark: forest green + champagne
   gold + ivory cream. Refined institutional luxury.
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette */
  --green-900: #142A22;
  --green-800: #1B3A2F;     /* Primary — pulled from logo P */
  --green-700: #234A3D;
  --green-600: #2D5A4A;
  --green-500: #3E6E5C;
  --green-100: #E6EDE9;
  --green-50:  #F1F5F2;

  --gold-700:  #94732F;
  --gold-600:  #B08A3E;
  --gold-500:  #C9A961;     /* Primary gold — from logo accent */
  --gold-400:  #D9BD7E;
  --gold-100:  #F1E7CE;

  --ivory-100: #FAF8F2;     /* Page background */
  --ivory-200: #F5F1E8;     /* Section alt background */
  --ivory-300: #EBE5D4;

  --ink-900:   #14170F;     /* Headings on light */
  --ink-800:   #1F2419;
  --ink-600:   #4A4F44;     /* Body text */
  --ink-500:   #6B6F65;     /* Muted */
  --ink-300:   #B8BAB1;     /* Borders, dividers */

  --white:     #FFFFFF;

  /* Type */
  --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.78rem + 0.22vw, 0.94rem);
  --step-0:  clamp(1rem, 0.93rem + 0.33vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.42rem);
  --step-2:  clamp(1.44rem, 1.28rem + 0.8vw, 1.78rem);
  --step-3:  clamp(1.73rem, 1.48rem + 1.27vw, 2.22rem);
  --step-4:  clamp(2.07rem, 1.7rem + 1.86vw, 2.78rem);
  --step-5:  clamp(2.49rem, 1.93rem + 2.78vw, 3.47rem);
  --step-6:  clamp(2.99rem, 2.18rem + 4vw, 4.34rem);
  --step-7:  clamp(3.58rem, 2.42rem + 5.8vw, 5.42rem);

  /* Spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-s:   1rem;
  --space-m:   1.5rem;
  --space-l:   2rem;
  --space-xl:  3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;
  --space-4xl: 9rem;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 200ms;
  --dur-mid: 420ms;
  --dur-slow: 700ms;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-600);
  background: var(--ivory-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* Selection */
::selection { background: var(--gold-500); color: var(--green-900); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
h1 { font-size: var(--step-7); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: var(--step-5); font-weight: 400; }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }
h5 { font-size: var(--step-1); }
p  { font-size: var(--step-0); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-600);
  font-weight: 300;
}

/* ---------- 4. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-3xl); }
.section--tight { padding-block: var(--space-2xl); }
.section--ivory { background: var(--ivory-200); }
.section--green {
  background: var(--green-800);
  color: var(--ivory-100);
}
.section--green h1, .section--green h2, .section--green h3 { color: var(--ivory-100); }
.section--green .eyebrow { color: var(--gold-400); }
.section--green .eyebrow::before { background: var(--gold-400); }

.section-header {
  display: grid;
  gap: var(--space-m);
  margin-bottom: var(--space-2xl);
  max-width: 760px;
}
.section-header--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--green-800);
  color: var(--ivory-100);
}
.btn--primary:hover {
  background: var(--green-900);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(20, 42, 34, 0.5);
}
.btn--gold {
  background: var(--gold-500);
  color: var(--green-900);
}
.btn--gold:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--green-800);
  border: 1px solid var(--green-800);
}
.btn--ghost:hover {
  background: var(--green-800);
  color: var(--ivory-100);
}
.btn--ghost-light {
  background: transparent;
  color: var(--ivory-100);
  border: 1px solid rgba(245, 241, 232, 0.4);
}
.btn--ghost-light:hover {
  background: var(--ivory-100);
  color: var(--green-900);
  border-color: var(--ivory-100);
}
.btn .arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Inline link */
.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-800);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all var(--dur-fast) var(--ease);
}
.link-inline:hover { border-bottom-color: var(--gold-500); color: var(--green-900); }
.link-inline .arrow { width: 12px; height: 12px; transition: transform var(--dur-fast) var(--ease); }
.link-inline:hover .arrow { transform: translateX(3px); }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--dur-mid) var(--ease);
  backdrop-filter: blur(0);
}
.site-header.is-scrolled {
  background: rgba(250, 248, 242, 0.92);
  backdrop-filter: blur(14px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(20, 23, 15, 0.08);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-l);
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { height: 44px; width: auto; transition: height var(--dur-mid) var(--ease); }
.site-header.is-scrolled .nav-logo img { height: 38px; }

/* Logo variant swap: light wordmark by default (over dark hero/page-header),
   dark wordmark once nav scrolls onto its ivory backdrop */
.nav-logo .logo-dark { display: none; }
.nav-logo .logo-light { display: block; }
.site-header.is-scrolled .nav-logo .logo-dark { display: block; }
.site-header.is-scrolled .nav-logo .logo-light { display: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  padding: 0;
}
.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-800);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--dur-fast) var(--ease);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-mid) var(--ease);
}
.nav-menu a:hover::after, .nav-menu a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta { margin-left: var(--space-s); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink-900);
  transition: all var(--dur-fast) var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--ink-900);
  transition: all var(--dur-fast) var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--green-900);
  color: var(--ivory-100);
}
.hero::before {
  /* Layered gradient atmosphere */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(201, 169, 97, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(45, 90, 74, 0.6) 0%, transparent 60%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 50%, var(--green-700) 100%);
  z-index: -2;
}
.hero::after {
  /* Subtle noise / grain for depth */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: var(--space-2xl);
  align-items: center;
}
.hero-content { max-width: 720px; }
.hero h1 {
  color: var(--ivory-100);
  margin-bottom: var(--space-l);
  font-style: italic;
  font-weight: 300;
}
.hero h1 .accent {
  color: var(--gold-500);
  font-style: italic;
}
.hero .lede {
  color: rgba(245, 241, 232, 0.78);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}
.hero-eyebrow {
  margin-bottom: var(--space-l);
  color: var(--gold-400);
}
.hero-eyebrow::before { background: var(--gold-400); }

.hero-mark {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 50%;
}
.hero-mark::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 50%;
}
.hero-mark svg { width: 48%; height: auto; position: relative; z-index: 1; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: scrollLine 2.4s infinite var(--ease);
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 8. Pillars strip ---------- */
.pillars-strip {
  background: var(--ivory-100);
  border-bottom: 1px solid var(--ink-300);
}
.pillars-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: var(--space-l);
  gap: var(--space-l);
}
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-inline: 0.5rem;
}
.pillar-item:not(:first-child) { border-left: 1px solid var(--ink-300); padding-left: var(--space-m); }
.pillar-item .num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-600);
  font-style: italic;
  line-height: 1;
}
.pillar-item .label {
  font-size: 0.85rem;
  color: var(--ink-800);
  font-weight: 500;
  line-height: 1.4;
}
.pillar-item .label small {
  display: block;
  color: var(--ink-500);
  font-weight: 400;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

/* ---------- 9. Philosophy ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-2xl);
  align-items: center;
}
.philosophy-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--green-800);
  border-radius: 2px;
  overflow: hidden;
}
.philosophy-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 169, 97, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, var(--green-700), var(--green-900));
}
.philosophy-visual::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold-500);
  border-radius: 2px;
  z-index: -1;
}
.philosophy-visual .quote {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
  color: var(--ivory-100);
}
.philosophy-visual .quote .mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--gold-500);
  margin-bottom: var(--space-m);
}
.philosophy-visual .quote p {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ivory-100);
}
.philosophy-visual .quote cite {
  display: block;
  margin-top: var(--space-l);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.philosophy-content > * + * { margin-top: var(--space-m); }
.philosophy-content h2 { margin-bottom: var(--space-s); }
.philosophy-content .principles {
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-l);
}
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-m);
  align-items: start;
}
.principle .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold-600);
  line-height: 1;
  padding-top: 0.2rem;
  min-width: 2rem;
}
.principle h4 {
  font-size: var(--step-1);
  margin-bottom: 0.4rem;
  color: var(--ink-900);
}
.principle p {
  font-size: 0.95rem;
  color: var(--ink-600);
}

/* ---------- 10. Investment pillars ---------- */
.investments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ink-300);
  border: 1px solid var(--ink-300);
  border-radius: 2px;
  overflow: hidden;
}
.investment-card {
  padding: var(--space-xl);
  background: var(--ivory-100);
  position: relative;
  transition: background var(--dur-mid) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  min-height: 320px;
}
.investment-card:hover { background: var(--white); }
.investment-card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
  position: relative;
}
.investment-card .icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-100);
  border-radius: 2px;
  transform: rotate(45deg);
  z-index: 0;
  transition: background var(--dur-mid) var(--ease);
}
.investment-card .icon svg { position: relative; z-index: 1; width: 26px; height: 26px; }
.investment-card:hover .icon::before { background: var(--gold-500); }

.investment-card .meta {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-600);
}
.investment-card h3 {
  font-size: var(--step-2);
  color: var(--ink-900);
  line-height: 1.15;
}
.investment-card p {
  color: var(--ink-600);
  font-size: 0.95rem;
  flex: 1;
}
.investment-card .link-inline { margin-top: auto; }

/* Section --green styling for investments alt */
.section--green .investments-grid {
  background: rgba(245, 241, 232, 0.12);
  border-color: rgba(245, 241, 232, 0.12);
}
.section--green .investment-card {
  background: var(--green-800);
  color: rgba(245, 241, 232, 0.85);
}
.section--green .investment-card:hover { background: var(--green-700); }
.section--green .investment-card h3 { color: var(--ivory-100); }
.section--green .investment-card p { color: rgba(245, 241, 232, 0.7); }
.section--green .link-inline { color: var(--gold-400); }
.section--green .link-inline:hover { color: var(--gold-500); border-bottom-color: var(--gold-500); }

/* ---------- 11. Approach (process) ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}
.approach-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-400), transparent);
}
.approach-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
}
.approach-step .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ivory-100);
  border: 1px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold-600);
  position: relative;
  z-index: 1;
}
.section--green .approach-step .step-num {
  background: var(--green-800);
  border-color: var(--gold-500);
  color: var(--gold-400);
}
.approach-step h4 {
  font-size: var(--step-1);
  color: var(--ink-900);
}
.section--green .approach-step h4 { color: var(--ivory-100); }
.approach-step p {
  font-size: 0.9rem;
  max-width: 280px;
  margin-inline: auto;
}

/* ---------- 12. Stats band ---------- */
.stats-band {
  background: var(--green-800);
  color: var(--ivory-100);
  padding-block: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 169, 97, 0.15) 0%, transparent 50%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-l);
  position: relative;
}
.stat {
  text-align: left;
  padding-left: var(--space-m);
  border-left: 1px solid rgba(201, 169, 97, 0.3);
}
.stat .value {
  font-family: var(--font-display);
  font-size: var(--step-6);
  font-weight: 400;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
}
.stat .value .unit { font-size: 0.5em; margin-left: 0.1em; }
.stat .label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(245, 241, 232, 0.75);
  line-height: 1.4;
}
.stats-disclaimer {
  margin-top: var(--space-xl);
  font-size: 0.75rem;
  color: rgba(245, 241, 232, 0.5);
  font-style: italic;
  max-width: 720px;
}

/* ---------- 13. Team preview ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.team-card { display: flex; flex-direction: column; gap: var(--space-m); }
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ivory-300);
  overflow: hidden;
  border-radius: 2px;
}
.team-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);
}
.team-photo .initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  font-style: italic;
  color: var(--gold-500);
  opacity: 0.85;
}
.team-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}
.team-card h4 {
  font-size: var(--step-2);
  color: var(--ink-900);
  margin-bottom: 0.2rem;
}
.team-card .role {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gold-600);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.team-card p {
  font-size: 0.95rem;
  color: var(--ink-600);
}

/* ---------- 14. Insights preview ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.insight-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  padding-bottom: var(--space-l);
  border-bottom: 1px solid var(--ink-300);
  transition: border-color var(--dur-fast) var(--ease);
}
.insight-card:hover { border-bottom-color: var(--gold-500); }
.insight-card .meta {
  display: flex;
  gap: var(--space-s);
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.insight-card .category { color: var(--gold-600); font-weight: 600; }
.insight-card h4 {
  font-size: var(--step-2);
  color: var(--ink-900);
  line-height: 1.2;
  transition: color var(--dur-fast) var(--ease);
}
.insight-card:hover h4 { color: var(--green-800); }
.insight-card p { font-size: 0.95rem; }

/* ---------- 15. Contact CTA + form ---------- */
.contact-cta {
  background: var(--ivory-200);
  position: relative;
  overflow: hidden;
}
.contact-cta::before {
  content: "P";
  font-family: var(--font-display);
  font-size: 50rem;
  font-style: italic;
  color: var(--ivory-300);
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.contact-cta .container { position: relative; z-index: 1; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-2xl);
  align-items: start;
}
.contact-info > * + * { margin-top: var(--space-m); }
.contact-info h2 { margin-bottom: var(--space-s); }
.contact-detail {
  display: flex;
  gap: var(--space-m);
  align-items: flex-start;
  padding-top: var(--space-m);
  border-top: 1px solid var(--ink-300);
}
.contact-detail .label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-500);
  min-width: 120px;
  padding-top: 0.3rem;
}
.contact-detail .value {
  font-size: var(--step-1);
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 400;
  font-style: italic;
}
.contact-detail a:hover { color: var(--green-800); }

.contact-form {
  background: var(--ivory-100);
  padding: var(--space-xl);
  border: 1px solid var(--ink-300);
  border-radius: 2px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-m);
}
.form-grid .full { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-300);
  padding: 0.6rem 0;
  font-size: 1rem;
  color: var(--ink-900);
  border-radius: 0;
  transition: border-color var(--dur-fast) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--green-800);
}
.field textarea { min-height: 90px; resize: vertical; }
.form-disclaimer {
  margin-top: var(--space-m);
  font-size: 0.78rem;
  color: var(--ink-500);
  line-height: 1.55;
}
.form-disclaimer a { color: var(--green-800); border-bottom: 1px solid var(--ink-300); }

.form-submit { margin-top: var(--space-l); }

/* Form success state */
.form-success {
  display: none;
  padding: var(--space-l);
  background: var(--green-50);
  border-left: 3px solid var(--green-700);
  color: var(--green-900);
}
.form-success.is-visible { display: block; }

/* Form error / unavailable state */
.form-error {
  display: none;
  margin-top: var(--space-l);
  padding: var(--space-l);
  background: #FBEDE9;
  border-left: 3px solid #A23E2F;
  color: #5A241B;
  line-height: 1.55;
}
.form-error.is-visible { display: block; }
.form-error a {
  color: #A23E2F;
  border-bottom: 1px solid rgba(162, 62, 47, 0.4);
  white-space: nowrap;
}
.field .field-msg {
  display: none;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
  color: #A23E2F;
}
.field.has-error .field-msg { display: block; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-bottom-color: #A23E2F; }

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(245, 241, 232, 0.7);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-l);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
}
.footer-brand img { height: 56px; margin-bottom: var(--space-m); filter: brightness(1) contrast(1); }
.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
  font-style: italic;
  font-family: var(--font-display);
  color: rgba(245, 241, 232, 0.6);
  font-weight: 300;
  font-size: 1rem;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-m);
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(245, 241, 232, 0.7);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: var(--gold-500); }

.footer-bottom {
  padding-top: var(--space-l);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-s);
  font-size: 0.8rem;
  color: rgba(245, 241, 232, 0.5);
}
.footer-legal { display: flex; gap: var(--space-l); }
.footer-legal a { color: rgba(245, 241, 232, 0.5); }
.footer-legal a:hover { color: var(--gold-500); }

/* ---------- 17. Page header (interior pages) ---------- */
.page-header {
  background: var(--green-800);
  color: var(--ivory-100);
  padding-top: 9rem;
  padding-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 97, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  z-index: -1;
}
.page-header h1 {
  font-size: var(--step-6);
  color: var(--ivory-100);
  font-style: italic;
  font-weight: 300;
  margin-bottom: var(--space-m);
}
.page-header .lede { color: rgba(245, 241, 232, 0.78); max-width: 640px; }
.page-header .eyebrow { color: var(--gold-400); margin-bottom: var(--space-m); }
.page-header .eyebrow::before { background: var(--gold-400); }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.5);
  margin-bottom: var(--space-l);
}
.breadcrumb a:hover { color: var(--gold-500); }
.breadcrumb .sep { color: rgba(245, 241, 232, 0.3); }

/* ---------- 18. Reveal animation (JS-triggered) ---------- */
/* Reveal animations: pure CSS, no JS dependency.
   `forwards` fill mode locks the final (visible) state, so content is
   always readable even if JS fails, scripts are blocked, or a screen
   reader / search engine bot is processing the page. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: phgRevealUp 800ms var(--ease) forwards;
  animation-delay: 80ms;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  animation: phgRevealUp 700ms var(--ease) forwards;
}
.reveal-stagger > *:nth-child(1) { animation-delay: 80ms; }
.reveal-stagger > *:nth-child(2) { animation-delay: 180ms; }
.reveal-stagger > *:nth-child(3) { animation-delay: 280ms; }
.reveal-stagger > *:nth-child(4) { animation-delay: 380ms; }
.reveal-stagger > *:nth-child(5) { animation-delay: 480ms; }
.reveal-stagger > *:nth-child(6) { animation-delay: 580ms; }

@keyframes phgRevealUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .pillars-strip .container { grid-template-columns: repeat(2, 1fr); }
  .investments-grid { grid-template-columns: 1fr; }
  .team-grid, .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl) var(--space-l); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .philosophy-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .approach-grid::before { display: none; }
}

@media (max-width: 720px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--ivory-100);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-l);
    transform: translateX(100%);
    transition: transform var(--dur-mid) var(--ease);
    padding: var(--space-2xl);
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu a { font-size: 1.4rem; font-family: var(--font-display); font-style: italic; }
  .nav-toggle { display: inline-flex; z-index: 101; position: relative; }
  .nav-cta { display: none; }
  .nav-menu .nav-cta-mobile {
    display: inline-flex;
    margin-top: var(--space-l);
  }

  .pillars-strip .container { grid-template-columns: 1fr; gap: var(--space-m); }
  .pillar-item:not(:first-child) { border-left: none; border-top: 1px solid var(--ink-300); padding-left: 0.5rem; padding-top: var(--space-m); }
  .approach-grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .team-grid, .insights-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); padding-bottom: var(--space-xl); }
  .section { padding-block: var(--space-2xl); }
  .investment-card { padding: var(--space-l); min-height: auto; }
  .contact-form { padding: var(--space-l); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-s); }
  .contact-detail { flex-direction: column; gap: 0.4rem; }
  .contact-detail .label { padding-top: 0; }
  .contact-cta::before { font-size: 30rem; right: -20%; }
}

/* Hide nav-cta-mobile by default */
.nav-cta-mobile { display: none; }
