/* ============================================================
   HERFA GROUP — Corporate identity
   Holdings-group aesthetic: editorial, restrained, trustworthy
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* HERFA GROUP — Brand palette extracted from logo.
     Deep wine burgundy (#430029) + warm champagne gold.
     Luxury, heritage, premium African holdings group. */
  --wine-950: #2a0019;
  --wine-900: #430029;       /* exact brand color from logo */
  --wine-800: #5a0837;
  --wine-700: #6f1147;
  --wine-600: #7e1d54;
  --wine-100: #e7d6df;

  --gold-800: #8a6c2e;
  --gold-700: #a07f37;
  --gold-600: #b59145;
  --gold-500: #c9a961;       /* champagne gold accent */
  --gold-400: #d4b87a;
  --gold-300: #dfc796;
  --gold-100: #efe3c7;

  --bone-50:  #faf7f1;
  --bone-100: #f5f0e6;
  --bone-200: #ebe4d4;
  --bone-300: #d9d0bb;

  --ink-900: #1a1217;
  --ink-700: #38303a;
  --ink-500: #635866;
  --ink-400: #847989;
  --ink-300: #b0a8b3;
  --line:    #ddd5c8;
  --line-strong: #c2b8a5;

  /* Semantic */
  --bg: var(--bone-50);
  --bg-alt: var(--bone-100);
  --bg-deep: var(--wine-900);
  --fg: var(--ink-900);
  --fg-muted: var(--ink-500);
  --fg-faint: var(--ink-400);
  --accent: var(--gold-600);
  --primary: var(--wine-900);

  /* Legacy aliases so existing rules keep working */
  --forest-900: var(--wine-950);
  --forest-800: var(--wine-900);
  --forest-700: var(--wine-800);
  --forest-600: var(--wine-700);
  --forest-100: var(--wine-100);

  /* Type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
  --maxw-readable: 720px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow--gold { color: var(--gold-700); }
.eyebrow--bone { color: var(--bone-300); }

.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; }
h3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }
h4 { font-size: 18px; line-height: 1.25; font-weight: 500; }

p { margin: 0; }
.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-700);
  text-wrap: pretty;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.rule--gold { background: var(--gold-500); height: 2px; width: 36px; }

/* ---------- Layout ---------- */
.shell { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(60px, 8vw, 120px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--dark { background: var(--bg-deep); color: var(--bone-100); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--bone-50); }
.section--alt { background: var(--bg-alt); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 36px); }
.flex { display: flex; }

/* ---------- Utility bar ---------- */
.utility {
  background: var(--forest-900);
  color: var(--bone-200);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.utility .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 10px;
}
.utility a:hover { color: var(--gold-300); }
.utility-locale { display: flex; align-items: center; gap: 8px; opacity: 0.85; }
.utility-locale::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
  display: inline-block;
}
.utility-links { display: flex; gap: 28px; }

/* ---------- Site header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--forest-800);
}
.logo-mark {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  right: -7px; top: 8px;
  width: 5px; height: 5px;
  background: var(--gold-500);
  border-radius: 50%;
}
.logo-sub {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-left: 6px;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--forest-800); }
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-500);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 22px;
  background: var(--forest-800);
  color: #ffffff;
  border: 1px solid var(--forest-800);
  position: relative;
  overflow: hidden;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-600);
  transform: translateY(101%);
  transition: transform .3s var(--ease);
  z-index: 0;
}
.nav-cta::after {
  content: "\2192";
  font-size: 13px;
  line-height: 1;
  position: relative;
  z-index: 1;
  transform: translateX(-2px);
  transition: transform .25s var(--ease);
}
.nav-cta > span { position: relative; z-index: 1; color: #ffffff; }
.nav-cta > * { position: relative; z-index: 1; }
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--wine-950);
  border-color: var(--gold-600);
  outline: none;
}
.nav-cta:hover::before,
.nav-cta:focus-visible::before { transform: translateY(0); }
.nav-cta:hover::after,
.nav-cta:focus-visible::after { transform: translateX(2px); }
.nav-cta:hover > span,
.nav-cta:focus-visible > span { color: var(--wine-950); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 24px;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  cursor: pointer;
  background: none;
  color: inherit;
}
.btn--primary {
  background: var(--forest-800);
  color: var(--bone-50);
}
.btn--primary:hover { background: var(--forest-700); }
.btn--ghost-light {
  border-color: var(--ink-900);
  color: var(--ink-900);
}
.btn--ghost-light:hover { background: var(--ink-900); color: var(--bone-50); }
.btn--ghost-dark {
  border-color: var(--bone-200);
  color: var(--bone-100);
}
.btn--ghost-dark:hover { background: var(--bone-100); color: var(--forest-900); }
.btn--link {
  padding: 0;
  border: 0;
  color: var(--forest-800);
  font-weight: 600;
  position: relative;
}
.btn--link::after {
  content: "→";
  font-weight: 400;
  transition: transform .2s var(--ease);
}
.btn--link:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(60px, 7vw, 110px) clamp(0px, 2vw, 28px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.hero-meta {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--fg-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-meta span + span { padding-left: 28px; border-left: 1px solid var(--line); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--forest-900);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-700);
}
.hero-sub {
  margin-top: 32px;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  color: var(--ink-700);
  max-width: 52ch;
}
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-aside {
  position: relative;
  padding-bottom: 0;
}
.hero-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bone-200);
  filter: contrast(1.02) saturate(0.95);
}
.hero-caption {
  position: absolute;
  left: 0; bottom: -52px;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  max-width: 280px;
}
.hero-caption::before {
  content: "";
  display: block;
  width: 24px; height: 1px;
  background: var(--gold-500);
  margin-bottom: 8px;
}

.hero-marquee {
  margin-top: clamp(80px, 9vw, 130px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 28px;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: var(--sans);
}
.hero-marquee-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.hero-marquee-items {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  flex-wrap: wrap;
}
.hero-marquee-item {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink-700);
  letter-spacing: -0.01em;
}
.hero-marquee-item .dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--gold-500);
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}
.section-head .eyebrow { margin-bottom: 18px; display: block; }
.section-head .lead { max-width: 56ch; }

/* ---------- Businesses (Portfolio) ---------- */
.portfolio { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.biz-card {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(24px, 3vw, 40px);
  transition: background .25s var(--ease);
  align-items: stretch;
  min-height: 320px;
}
.biz-card:hover { background: var(--bone-100); }
.biz-card-media {
  position: relative;
  background: var(--bone-200);
  overflow: hidden;
  min-height: 260px;
}
.biz-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.biz-card:hover .biz-card-media img { transform: scale(1.04); }
.biz-card-media .sector {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--bone-50);
  color: var(--forest-800);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
}
.biz-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.biz-card-head h3 {
  font-size: clamp(28px, 2.5vw, 40px);
  margin-bottom: 14px;
  color: var(--forest-900);
}
.biz-card-head h3 em { font-style: italic; color: var(--gold-700); }
.biz-card-head p { color: var(--ink-700); font-size: 16px; line-height: 1.55; max-width: 50ch; }
.biz-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.biz-card-meta dt { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-faint); font-weight: 600; margin-bottom: 4px; }
.biz-card-meta dd { font-family: var(--serif); font-size: 20px; line-height: 1.1; color: var(--ink-900); margin: 0; }
.biz-card-foot { display: flex; align-items: center; justify-content: space-between; }
.biz-num { font-size: 12px; color: var(--fg-faint); letter-spacing: 0.16em; font-weight: 600; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--forest-700);
}
.stat {
  background: var(--forest-800);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(46px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1;
  color: var(--bone-50);
  letter-spacing: -0.02em;
}
.stat-num sup { font-size: 0.45em; vertical-align: super; color: var(--gold-300); margin-left: 4px; font-weight: 500; }
.stat-label { color: var(--bone-200); font-size: 13px; letter-spacing: 0.06em; }
.stat-desc { color: var(--bone-300); font-size: 13px; margin-top: 8px; max-width: 30ch; line-height: 1.4; opacity: 0.85; }

/* ---------- Approach ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principle {
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px) clamp(28px, 3vw, 44px) 0;
  border-right: 1px solid var(--line);
}
.principle:last-child { border-right: 0; padding-right: 0; }
.principle-num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-700);
  margin-bottom: 16px;
  font-style: italic;
}
.principle h3 { font-size: 26px; margin-bottom: 14px; }
.principle p { color: var(--ink-700); font-size: 15px; line-height: 1.6; }

/* ---------- Leadership ---------- */
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2vw, 32px); }
.leader-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: var(--bone-200);
  margin-bottom: 18px;
  filter: grayscale(0.15) contrast(1.02);
}
.leader-name { font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--ink-900); margin-bottom: 4px; }
.leader-role { font-size: 13px; color: var(--fg-muted); letter-spacing: 0.04em; }

/* ---------- Insights / News ---------- */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.insight {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.insight-media {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: var(--bone-200);
}
.insight-meta { display: flex; gap: 16px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); font-weight: 600; }
.insight-meta .tag { color: var(--gold-700); }
.insight h3 { font-size: 24px; line-height: 1.2; color: var(--ink-900); }
.insight h3 a:hover { color: var(--forest-800); }

/* ---------- Investor CTA ---------- */
.investor-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(60px, 7vw, 100px);
}
.investor-cta .eyebrow { color: var(--gold-300); }
.investor-cta h2 { color: var(--bone-50); font-size: clamp(36px, 4.4vw, 60px); margin-block: 16px 24px; }
.investor-cta p { color: var(--bone-200); max-width: 50ch; }
.investor-card {
  border: 1px solid rgba(239, 227, 199, 0.25);
  padding: clamp(28px, 3vw, 40px);
  background: rgba(0,0,0,0.15);
}
.investor-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin: 0;
}
.investor-card dt { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; margin-bottom: 6px; }
.investor-card dd { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--bone-50); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: var(--bone-200); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 3vw, 48px); padding-block: clamp(60px, 6vw, 88px) 48px; }
.footer-top h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 18px; font-weight: 700; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-top a { color: var(--bone-200); font-size: 14px; transition: color .2s; }
.footer-top a:hover { color: var(--gold-300); }
.footer-brand .logo { color: var(--bone-50); margin-bottom: 24px; }
.footer-brand .logo-mark { color: var(--bone-50); font-size: 36px; }
.footer-brand .logo-sub { color: var(--gold-300); }
.footer-brand p { color: var(--bone-300); font-size: 14px; max-width: 32ch; line-height: 1.55; }
.footer-address { color: var(--bone-200); font-size: 14px; margin-top: 20px; font-style: normal; line-height: 1.6; }
.footer-address strong { color: var(--bone-50); font-weight: 500; display: block; margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(239, 227, 199, 0.18);
  padding-block: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--bone-300);
  letter-spacing: 0.04em;
}
.footer-bottom-links { display: flex; gap: 28px; }
.footer-bottom a:hover { color: var(--gold-300); }

/* ---------- Subsidiary header (sub-pages) ---------- */
.sub-hero {
  background: var(--bg);
  padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.sub-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.sub-breadcrumb { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 24px; font-weight: 600; }
.sub-breadcrumb a:hover { color: var(--forest-800); }
.sub-breadcrumb span { margin-inline: 8px; color: var(--line-strong); }
.sub-hero h1 { font-size: clamp(40px, 5.5vw, 84px); color: var(--forest-900); line-height: 1; }
.sub-hero h1 em { font-style: italic; color: var(--gold-700); }
.sub-hero-tagline {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  color: var(--ink-700);
  max-width: 28ch;
  font-style: italic;
}
.sub-hero-img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.sub-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 28px;
}
.sub-fact { padding-right: 24px; border-right: 1px solid var(--line); }
.sub-fact:last-child { border-right: 0; }
.sub-fact dt { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); font-weight: 700; margin-bottom: 8px; }
.sub-fact dd { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); margin: 0; color: var(--ink-900); line-height: 1.15; }

/* ---------- Content blocks (subsidiary pages) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.split--reverse { grid-template-columns: 1.2fr 1fr; }
.split-body p + p { margin-top: 18px; }
.split-body p { color: var(--ink-700); font-size: 16px; line-height: 1.65; }
.split-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bone-200); }
.split-img--wide { aspect-ratio: 5 / 4; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.svc-card {
  border: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.svc-card:hover { border-color: var(--forest-700); background: var(--bone-100); }
.svc-card-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-700); }
.svc-card h3 { font-size: 24px; }
.svc-card p { font-size: 14px; color: var(--ink-700); line-height: 1.55; flex: 1; }

/* ---------- Strip image (full width inside shell) ---------- */
.strip-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: var(--bone-200);
  margin-bottom: 0;
}

/* ---------- Project gallery ---------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.proj-tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.proj-tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bone-200);
}
.proj-tile figcaption {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  padding-left: 0;
  border-left: 0;
}
@media (max-width: 1024px) {
  .proj-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .proj-grid { grid-template-columns: 1fr; }
}

/* ---------- MD block (subsidiary leadership) ---------- */
.md-block {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  max-width: 1100px;
}
.md-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(0.15) contrast(1.02);
  background: var(--bone-200);
}
.md-role {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.md-bio {
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.6;
  max-width: 50ch;
}
@media (max-width: 1024px) {
  .md-block { grid-template-columns: 1fr; max-width: 520px; }
}

/* ---------- Sibling/related companies (dark) ---------- */
.siblings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(239, 227, 199, 0.18);
  border: 1px solid rgba(239, 227, 199, 0.18);
}
.sibling {
  background: var(--wine-900);
  padding: clamp(20px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;
  transition: background .25s var(--ease);
}
.sibling:hover { background: var(--wine-800); }
.sibling-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.sibling-name {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--bone-50);
  line-height: 1.15;
  margin-top: auto;
  letter-spacing: -0.01em;
}
.sibling-arrow {
  font-size: 18px;
  color: var(--gold-300);
  margin-top: 8px;
}
.sibling:hover .sibling-arrow { color: var(--gold-400); }
@media (max-width: 1024px) {
  .siblings { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .siblings { grid-template-columns: 1fr; }
}

/* ---------- Pull quote ---------- */
.pull-quote {
  padding-block: clamp(60px, 8vw, 100px);
  text-align: center;
}
.pull-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--forest-900);
  max-width: 22ch;
  margin: 0 auto;
}
.pull-quote blockquote em { font-style: italic; color: var(--gold-700); }
.pull-quote cite {
  display: block;
  margin-top: 32px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}

/* ---------- Mobile nav toggle + drawer ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 8px 4px;
  margin: -8px -4px;
  color: var(--forest-900);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bars {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
}
.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease);
}
.nav-toggle-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-toggle.is-open .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 23, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  z-index: 199;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  height: 100vh;
  width: min(420px, 88vw);
  background: var(--bg);
  z-index: 200;
  transform: translateX(102%);
  transition: transform .35s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(26, 18, 23, 0.12);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  border-bottom: 1px solid var(--line);
}
.nav-drawer-head .logo-mark::after { right: -7px; top: 8px; }
.nav-drawer-close {
  background: transparent;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-900);
  border-radius: 0;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-drawer-close:hover,
.nav-drawer-close:focus-visible {
  background: var(--forest-900);
  color: var(--bone-50);
  border-color: var(--forest-900);
  outline: none;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 12px var(--pad) 24px;
  border-bottom: 1px solid var(--line);
}
.nav-drawer-links a {
  font-family: var(--serif);
  font-size: clamp(26px, 5.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--forest-900);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  transition: color .2s var(--ease);
}
.nav-drawer-links a:last-child { border-bottom: 0; }
.nav-drawer-links a::after {
  content: "→";
  font-family: var(--sans);
  font-size: 0.55em;
  color: var(--gold-700);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.nav-drawer-links a:hover,
.nav-drawer-links a:focus-visible { color: var(--gold-700); outline: none; }
.nav-drawer-links a:hover::after,
.nav-drawer-links a:focus-visible::after { opacity: 1; transform: translateX(0); }
.nav-drawer-links a.active { color: var(--gold-700); }
.nav-drawer-links a.active::after { opacity: 1; transform: translateX(0); }

.nav-drawer-util {
  padding: 22px var(--pad) 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  background: var(--bg-alt);
}
.nav-drawer-util-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 4px;
}
.nav-drawer-util a {
  font-size: 14px;
  color: var(--ink-700);
  min-height: 36px;
  display: flex;
  align-items: center;
}
.nav-drawer-util a:hover { color: var(--forest-900); }
.nav-drawer-locale {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

html.nav-open { overflow: hidden; }
html.nav-open body { overflow: hidden; }

/* Header scroll state — subtle shadow once user scrolls */
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 28px -22px rgba(26, 18, 23, 0.18); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: clamp(36px, 6vw, 56px); }
  .hero-aside { order: -1; max-width: 560px; }
  .hero-img { aspect-ratio: 5 / 4; }
  .hero-caption { position: static; max-width: none; margin-top: 14px; }
  .hero-caption::before { display: inline-block; margin-right: 10px; margin-bottom: 0; vertical-align: middle; }
  .biz-card { grid-template-columns: 1fr; min-height: 0; }
  .biz-card-media { aspect-ratio: 16 / 10; min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; border-top: 0; }
  .principle { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .principle:last-child { border-bottom: 0; }
  .leaders { grid-template-columns: repeat(2, 1fr); }
  .insights { grid-template-columns: 1fr; }
  .investor-cta { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .sub-hero-grid { grid-template-columns: 1fr; }
  .sub-facts { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .shell { padding-block: 16px; gap: 16px; }
}

@media (max-width: 760px) {
  :root { --pad: clamp(18px, 5vw, 28px); }
  .utility { font-size: 11px; }
  .utility .shell { padding-block: 8px; gap: 12px; }
  .utility-locale { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .utility-links { display: none; }

  .hero { padding-block: clamp(36px, 9vw, 60px) 0; }
  .hero-meta { gap: 12px; row-gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
  .hero-meta span + span { padding-left: 12px; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); }
  .hero-sub { margin-top: 22px; font-size: 16px; }
  .hero-actions { margin-top: 28px; gap: 12px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 0; }
  .hero-marquee {
    margin-top: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-block: 22px;
  }
  .hero-marquee-items { gap: 18px 22px; }
  .hero-marquee-item { font-size: 18px; }

  .section { padding-block: clamp(48px, 12vw, 72px); }
  .section--tight { padding-block: clamp(32px, 8vw, 56px); }
  .section-head { margin-bottom: 32px; gap: 14px; }
  .section-head h2 { font-size: clamp(30px, 8vw, 44px); }

  .stats { grid-template-columns: 1fr; }
  .stat { padding: 26px 22px; }
  .stat-desc { max-width: none; }

  .biz-card { padding: 18px; gap: 18px; }
  .biz-card-head h3 { font-size: 28px; margin-bottom: 10px; }
  .biz-card-head p { font-size: 15px; }
  .biz-card-meta { grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding-top: 16px; margin-top: 16px; }
  .biz-card-meta dd { font-size: 16px; }
  .biz-card-foot { flex-wrap: wrap; gap: 10px; }

  .leaders { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .leader-name { font-size: 19px; }
  .cards-3 { grid-template-columns: 1fr; }

  .investor-cta { padding-block: 48px; }
  .investor-cta h2 { font-size: clamp(30px, 8vw, 44px); }
  .investor-card { padding: 24px; }
  .investor-card dl { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .investor-card dd { font-size: 17px; }

  .insight h3 { font-size: 20px; }

  .footer-top { grid-template-columns: 1fr; padding-block: 48px 32px; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 22px; }
  .footer-bottom-links { gap: 18px; flex-wrap: wrap; }

  .pull-quote { padding-block: 56px; }
  .pull-quote blockquote { font-size: clamp(26px, 7vw, 36px); max-width: 18ch; }

  .sub-hero { padding-block: 36px 32px; }
  .sub-hero h1 { font-size: clamp(38px, 10vw, 56px); }
  .sub-hero-tagline { font-size: 18px; margin-top: 18px; }
  .sub-facts { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .sub-fact { padding-right: 12px; }
  .sub-fact dd { font-size: 16px; }

  .strip-img { aspect-ratio: 16 / 11; }

  .nav-toggle-label { display: none; }

  /* Buttons: comfortable tap target on phones */
  .btn { padding: 14px 22px; min-height: 48px; }
}

@media (max-width: 420px) {
  .hero-title { font-size: clamp(32px, 11vw, 44px); }
  .hero-meta { font-size: 11px; }
  .hero-meta span + span { padding-left: 10px; }
  .biz-card-meta { grid-template-columns: 1fr 1fr; }
  .biz-card-meta > div:nth-child(3) { grid-column: 1 / -1; }
  .investor-card dl { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: 1fr; }
  .stat-num { font-size: clamp(40px, 14vw, 56px); }
}

/* Hide focus rings for mouse users, keep for keyboard */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
