/* ============================================================
   ARCLEEF — Foundations
   Color, type, spacing, radius, shadow tokens.
   Warm-neutral, editorial, authoritative.
   ============================================================ */

/* ---------- Fonts ----------
   Source Serif 4 substitutes Anthropic Serif (warm transitional serif).
   Inter substitutes Anthropic Sans. JetBrains Mono substitutes Anthropic Mono.
   These are Google Fonts stand-ins — flag for replacement when official
   Arcleef faces are licensed. */
/* Typeface matched to Old Hand Knowledge: Arial throughout, bold headings.
   Arial is a system font, so no web font is loaded. */

:root {
  /* ---------- COLOR — Surfaces ---------- */
  /* Palette matched to Old Hand Knowledge: navy, slate, gold, off-white.
     Variable names kept from the original system; values changed. */
  --parchment:        #f1f2ee;  /* primary light page bg */
  --ivory:            #fafaf7;  /* elevated cards on parchment */
  --white:            #ffffff;  /* max-contrast surfaces only */
  --warm-sand:        #e3e5e6;  /* secondary buttons, dividers */
  --dark-surface:     #2e4470;  /* dark cards, dark nav border */
  --deep-dark:        #14284b;  /* navy — dark sections */

  /* ---------- COLOR — Text ---------- */
  --near-black:       #14284b;  /* primary text (navy) */
  --charcoal-warm:    #3a4556;  /* button text on light surfaces */
  --dark-warm:        #3a4556;  /* emphasized secondary, dark links */
  --olive-gray:       #3a4556;  /* secondary body text (slate) */
  --stone-gray:       #5e6675;  /* tertiary text, metadata */
  --warm-silver:      #c9d1de;  /* text on dark surfaces */

  /* ---------- COLOR — Brand & Accent ---------- */
  --terracotta:       #876620;  /* gold accent on light (text-safe shade) */
  --coral:            #b8902e;  /* Old Hand gold — accent on dark */
  --error-crimson:    #b53333;  /* error states */
  --focus-blue:       #1f3a66;  /* input focus rings */

  /* ---------- COLOR — Borders & Rings ---------- */
  --border-cream:     #e3e5e6;  /* gentle light border */
  --border-warm:      #d9dce1;  /* prominent light divider */
  --border-dark:      #2e4470;  /* standard dark border */
  --ring-warm:        #c7c7c5;  /* button hover/focus ring */
  --ring-subtle:      #d9dce1;  /* lighter ring */
  --ring-deep:        #c0c1be;  /* active/pressed ring */

  /* ---------- TYPE — Families ---------- */
  --serif:  Arial, 'Helvetica Neue', Helvetica, 'Liberation Sans', sans-serif;
  --sans:   Arial, 'Helvetica Neue', Helvetica, 'Liberation Sans', sans-serif;
  --mono:   Arial, 'Helvetica Neue', Helvetica, 'Liberation Sans', sans-serif;

  /* ---------- TYPE — Sizes (rem-based on 16px root) ---------- */
  --fs-display:   4rem;       /* 64px */
  --fs-section:   3.25rem;    /* 52px */
  --fs-sub-l:     2.3rem;     /* ~36.8px */
  --fs-sub:       2rem;       /* 32px */
  --fs-sub-s:     1.6rem;     /* ~25.6px */
  --fs-feature:   1.3rem;     /* 20.8px */
  --fs-body-l:    1.25rem;    /* 20px */
  --fs-body:      1.0625rem;  /* 17px */
  --fs-body-std:  1rem;       /* 16px */
  --fs-body-s:    0.9375rem;  /* 15px */
  --fs-caption:   0.875rem;   /* 14px */
  --fs-label:     0.75rem;    /* 12px */
  --fs-overline:  0.625rem;   /* 10px */
  --fs-code:      0.9375rem;  /* 15px */

  /* ---------- TYPE — Line Heights ---------- */
  --lh-tight:    1.10;
  --lh-snug:     1.20;
  --lh-heading:  1.30;
  --lh-normal:   1.43;
  --lh-relaxed:  1.60;
  --lh-flat:     1.00;

  /* ---------- TYPE — Weights ---------- */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semi:     600;

  /* ---------- SPACING (8px base) ---------- */
  --sp-1:  3px;
  --sp-2:  4px;
  --sp-3:  6px;
  --sp-4:  8px;
  --sp-5:  10px;
  --sp-6:  12px;
  --sp-7:  16px;
  --sp-8:  20px;
  --sp-9:  24px;
  --sp-10: 30px;
  --sp-section-y: 96px;   /* between major sections */

  /* ---------- RADIUS ---------- */
  --r-sharp:  4px;
  --r-xs:     6px;
  --r-sm:     8px;
  --r-md:     12px;
  --r-lg:     16px;
  --r-xl:     24px;
  --r-2xl:    32px;
  --r-full:   9999px;

  /* ---------- SHADOWS ---------- */
  /* Ring shadows — Claude/Arcleef signature: borders that are technically shadows. */
  --ring-1:        0 0 0 1px var(--ring-warm);
  --ring-1-deep:   0 0 0 1px var(--ring-deep);
  --ring-1-dark:   0 0 0 1px var(--dark-surface);
  --ring-brand:    0 0 0 1px var(--terracotta);
  /* Whisper shadow — barely-there lift */
  --shadow-whisper: 0 4px 24px rgba(0, 0, 0, 0.05);
  --shadow-whisper-strong: 0 8px 40px rgba(0, 0, 0, 0.08);
  /* Inset pressed state */
  --shadow-pressed: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   SEMANTIC TYPE CLASSES
   ============================================================ */
.t-display {
  font-family: var(--serif);
  font-size: var(--fs-display);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  color: var(--near-black);
  letter-spacing: -0.01em;
}
.t-section {
  font-family: var(--serif);
  font-size: var(--fs-section);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  color: var(--near-black);
}
.t-sub-l {
  font-family: var(--serif);
  font-size: var(--fs-sub-l);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  color: var(--near-black);
}
.t-sub {
  font-family: var(--serif);
  font-size: var(--fs-sub);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  color: var(--near-black);
}
.t-sub-s {
  font-family: var(--serif);
  font-size: var(--fs-sub-s);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  color: var(--near-black);
}
.t-feature {
  font-family: var(--serif);
  font-size: var(--fs-feature);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  color: var(--near-black);
}
.t-body-serif {
  font-family: var(--serif);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--near-black);
}
.t-body-l {
  font-family: var(--sans);
  font-size: var(--fs-body-l);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--olive-gray);
}
.t-body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--near-black);
}
.t-body-std {
  font-family: var(--sans);
  font-size: var(--fs-body-std);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--near-black);
}
.t-caption {
  font-family: var(--sans);
  font-size: var(--fs-caption);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--olive-gray);
}
.t-label {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: 0.12px;
  color: var(--olive-gray);
}
.t-overline {
  font-family: var(--sans);
  font-size: var(--fs-overline);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--stone-gray);
}
.t-code {
  font-family: var(--mono);
  font-size: var(--fs-code);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  letter-spacing: -0.32px;
}

/* ============================================================
   BASE / RESET
   ============================================================ */
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--near-black);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: var(--fw-medium);
  color: var(--near-black);
  margin: 0;
}
h1 { font-size: var(--fs-display);  line-height: var(--lh-tight); }
h2 { font-size: var(--fs-section);  line-height: var(--lh-snug); }
h3 { font-size: var(--fs-sub-l);    line-height: var(--lh-heading); }
h4 { font-size: var(--fs-sub);      line-height: var(--lh-tight); }
h5 { font-size: var(--fs-sub-s);    line-height: var(--lh-snug); }
h6 { font-size: var(--fs-feature);  line-height: var(--lh-snug); }
p  { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: var(--fs-code); }
a {
  color: var(--near-black);
  text-decoration: none;
  border-bottom: 1px solid var(--border-warm);
  transition: border-color 160ms ease, color 160ms ease;
}
a:hover { border-color: var(--near-black); }
::selection { background: rgba(184, 144, 46, 0.25); }

/* Arcleef site styles — institutional, dark-dominant, editorial.
   Built atop tokens.css. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--parchment);
  color: var(--near-black);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 48px; }
.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }

.bg-dark    { background: var(--deep-dark); color: var(--ivory); }
.bg-darker  { background: #14243f; color: var(--ivory); }
/* On navy, the accent switches to the brighter Old Hand gold, and gold buttons take navy text */
.bg-dark, .bg-darker, .footer { --terracotta: #b8902e; --stone-gray: #9aa6ba; }
.bg-dark .btn-brand, .bg-darker .btn-brand { color: var(--deep-dark); }
.bg-parchment { background: var(--parchment); color: var(--near-black); }
.bg-ivory   { background: var(--ivory); color: var(--near-black); }

/* On dark surfaces, override link/heading default colors */
.bg-dark, .bg-darker { color: var(--warm-silver); }

/* Manifesto pattern overlays */
.manifesto { overflow: hidden; }
.manifesto-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-darker h1, .bg-darker h2, .bg-darker h3, .bg-darker h4, .bg-darker h5, .bg-darker h6 {
  color: var(--ivory);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 242, 238, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-cream);
}
.nav .brand { color: var(--near-black); }
.nav .nav-links a { color: var(--dark-warm); }
.nav .nav-links a:hover { color: var(--near-black); }
.nav .nav-links a.active { color: var(--near-black); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 18px 48px;
  display: flex; align-items: center; gap: 40px;
}
.brand {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--ivory);
  text-decoration: none; border: 0;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.brand-dot {
  width: 6px; height: 6px; background: var(--terracotta);
  border-radius: 50%; align-self: end; margin-bottom: 6px;
  display: inline-block;
}
.brand-dark { color: var(--near-black); }
.brand-img { border: 0; padding: 0; line-height: 0; }
.brand-img img {
  /* Source PNG is light gray on transparent — keep as-is on dark surfaces */
  opacity: 0.95;
}
.brand-img.brand-dark img,
.nav-light .brand-img img,
.nav .brand-img img {
  /* On parchment / light surfaces, render the logo as solid near-black */
  filter: brightness(0) saturate(100%);
  opacity: 1;
}
.nav-links { display: flex; gap: 32px; flex: 1; margin-left: 24px; }
.nav-links a {
  font-family: var(--sans); font-size: 14px; font-weight: 400;
  color: var(--warm-silver); text-decoration: none; border: 0;
  padding: 6px 0;
  transition: color 160ms ease;
  position: relative;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a.active { color: var(--ivory); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--terracotta);
}

/* Light variant of nav for parchment-dominant pages */
.nav-light {
  background: rgba(241, 242, 238, 0.9);
  border-bottom: 1px solid var(--border-cream);
}
.nav-light .brand { color: var(--near-black); }
.nav-light .nav-links a { color: var(--dark-warm); }
.nav-light .nav-links a:hover { color: var(--near-black); }
.nav-light .nav-links a.active { color: var(--near-black); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  cursor: pointer; border: 0; transition: all 160ms ease;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; line-height: 1;
}
.btn-brand {
  background: var(--terracotta); color: var(--ivory);
  padding: 13px 22px; border-radius: 10px;
  box-shadow: 0 0 0 1px var(--terracotta);
}
.btn-brand:hover { background: #6f531a; box-shadow: 0 0 0 1px #6f531a; }
.bg-dark .btn-brand:hover, .bg-darker .btn-brand:hover { background: #c9a144; box-shadow: 0 0 0 1px #c9a144; }
.btn-light {
  background: var(--ivory); color: var(--near-black);
  padding: 13px 22px; border-radius: 10px;
  box-shadow: 0 0 0 1px var(--ivory);
}
.btn-light:hover { background: var(--parchment); }
.btn-ghost-dark {
  background: transparent; color: var(--ivory);
  padding: 13px 22px; border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
.btn-ghost-light {
  background: transparent; color: var(--near-black);
  padding: 13px 22px; border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--ring-warm);
}
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1px var(--near-black); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.overline {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--stone-gray);
  display: inline-flex; align-items: center; gap: 10px;
}
.overline-dark { color: var(--warm-silver); }
.overline::before {
  content: ""; width: 24px; height: 1px;
  background: currentColor; opacity: 0.5; flex-shrink: 0;
}
.overline.no-rule::before { display: none; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  color: var(--terracotta); letter-spacing: 0.02em;
}

.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1.02; letter-spacing: -0.02em;
  text-wrap: balance;
}
.h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05; letter-spacing: -0.015em;
}
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1; letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.2;
}
.lede {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.55; color: var(--warm-silver);
  max-width: 640px; text-wrap: pretty;
}
.bg-parchment .lede, .bg-ivory .lede { color: var(--olive-gray); }

.body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--warm-silver); }
.bg-parchment .body, .bg-ivory .body { color: var(--olive-gray); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 800ms ease, transform 800ms ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 140px 0 120px;
  border-bottom: 1px solid var(--border-warm);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 72px; align-items: end;
}
.hero-meta-stacked {
  margin-top: 40px;
  max-width: 520px;
}
.hero-image-wrap {
  display: flex; flex-direction: column; gap: 14px;
  padding-bottom: 8px;
}
.hero-image-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--near-black);
  box-shadow: 0 24px 60px -28px rgba(20, 18, 14, 0.45);
}
.hero-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive-gray);
  display: flex; gap: 16px; align-items: baseline;
}
.hero-image-caption-num {
  color: var(--terracotta);
}
.hero-display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.98; letter-spacing: -0.025em;
  color: var(--near-black);
  margin: 24px 0 0;
}
.hero-display .accent { color: var(--terracotta); font-style: italic; font-size: 0.92em; }
.hero-period { color: var(--terracotta); }
.hero-sub {
  font-family: var(--sans); font-size: 19px; line-height: 1.6;
  color: var(--olive-gray); max-width: 460px;
  margin: 0 0 32px;
}
.hero-meta {
  display: flex; flex-direction: column; gap: 14px;
  padding-bottom: 8px;
}
.hero-cta-row {
  margin-top: 40px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.hero-tagline {
  font-family: var(--sans); font-size: 13px;
  color: var(--stone-gray); letter-spacing: 0.02em;
  max-width: 320px;
}
.hero-rule {
  margin-top: 96px; padding-top: 32px;
  border-top: 1px solid var(--border-warm);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.hero-rule-item .num {
  font-family: var(--serif); font-size: 38px; font-weight: 500;
  color: var(--near-black); line-height: 1; letter-spacing: -0.01em;
  display: block;
}
.hero-rule-item .lbl {
  font-family: var(--sans); font-size: 13px;
  color: var(--stone-gray); margin-top: 10px; line-height: 1.45;
  max-width: 200px;
}

/* ============================================================
   IMAGE TREATMENTS
   ============================================================ */
.img-frame {
  border-radius: 16px; overflow: hidden;
  background: var(--warm-sand);
  position: relative;
  box-shadow: 0 0 0 1px var(--border-cream);
}
.img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.35) contrast(1.02);
}
.img-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,19,0.0) 50%, rgba(20,20,19,0.4) 100%);
  pointer-events: none;
}
.img-frame-dark img {
  filter: grayscale(0.55) contrast(1.08) brightness(0.92);
}
.img-frame-dark::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.55) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 100%);
}
.img-caption {
  font-family: var(--sans); font-size: 12px;
  color: var(--stone-gray); margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ============================================================
   CAPABILITIES (home)
   ============================================================ */
.caps {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border-warm);
  border: 1px solid var(--border-warm);
  border-radius: 4px; overflow: hidden;
}
.caps-5 .cap:nth-child(5) {
  grid-column: 1 / -1;
}
.cap {
  background: var(--ivory); padding: 40px 36px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  transition: background 200ms ease;
  cursor: pointer;
  position: relative;
}
.cap:hover { background: #ffffff; }
.cap-num {
  font-family: var(--mono); font-size: 12px;
  color: var(--terracotta); letter-spacing: 0.04em;
}
.cap-title {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  line-height: 1.15; color: var(--near-black);
  letter-spacing: -0.005em;
  margin: 8px 0 0;
}
.cap-desc {
  font-family: var(--sans); font-size: 15px; line-height: 1.6;
  color: var(--olive-gray);
  margin-top: auto;
  max-width: 360px;
}
.cap-arrow {
  position: absolute; top: 36px; right: 32px;
  color: var(--stone-gray); font-family: var(--serif);
  font-size: 22px;
  transition: transform 200ms ease, color 200ms ease;
}
.cap:hover .cap-arrow { color: var(--terracotta); transform: translate(2px, -2px); }

/* ============================================================
   WHY (home) — 3 column principle list on parchment
   ============================================================ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px;
  margin-top: 64px;
}
.why-item .why-num {
  font-family: var(--serif); font-size: 56px; font-weight: 500;
  color: var(--terracotta); line-height: 1; letter-spacing: -0.02em;
  font-style: italic;
}
.why-item .why-title {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  margin: 24px 0 12px; color: var(--near-black);
  line-height: 1.2; letter-spacing: -0.005em;
}
.why-item .why-body {
  font-family: var(--sans); font-size: 15px; line-height: 1.65;
  color: var(--olive-gray); margin: 0;
}

/* ============================================================
   EXPERIENCE (home) — case stubs
   ============================================================ */
.exp-list { display: flex; flex-direction: column; }
.exp-item {
  display: grid; grid-template-columns: 110px 1fr 220px;
  gap: 48px; align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--border-warm);
  cursor: pointer;
  transition: background 160ms ease;
  margin: 0 -16px; padding-left: 16px; padding-right: 16px;
}
.exp-item:hover { background: rgba(0,0,0,0.015); }
.exp-list .exp-item:last-child { border-bottom: 1px solid var(--border-warm); }
.exp-meta {
  font-family: var(--mono); font-size: 12px;
  color: var(--terracotta); letter-spacing: 0.04em;
  padding-top: 6px;
}
.exp-title {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  color: var(--near-black); line-height: 1.3; margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.exp-detail {
  font-family: var(--sans); font-size: 15px;
  color: var(--olive-gray); line-height: 1.55; margin: 0;
}
.exp-tag {
  font-family: var(--sans); font-size: 13px;
  color: var(--stone-gray); padding-top: 10px;
  text-align: right;
}

/* ============================================================
   QUOTE / MANIFESTO BAND
   ============================================================ */
.manifesto {
  padding: 120px 0; position: relative;
}
.manifesto-quote {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3; letter-spacing: -0.005em;
  color: var(--ivory); max-width: 920px;
  text-wrap: pretty;
}
.manifesto-quote .em { color: var(--terracotta); font-style: italic; }
.manifesto-rule {
  width: 48px; height: 1px; background: var(--terracotta);
  margin-bottom: 28px;
}
.manifesto-attr {
  font-family: var(--sans); font-size: 13px;
  color: var(--stone-gray); margin-top: 36px;
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER CTA BAND
   ============================================================ */
.cta-band {
  padding: 120px 0; border-top: 1px solid rgba(255,255,255,0.08);
}
.cta-band-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: end;
}
.cta-band h2 { max-width: 720px; text-wrap: balance; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #14243f;
  padding: 80px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 2fr;
  gap: 64px; padding-bottom: 56px;
}
.footer-brand .brand { font-size: 32px; }
.footer-tagline {
  font-family: var(--sans); font-size: 14px;
  color: var(--stone-gray); margin-top: 16px;
  max-width: 320px; line-height: 1.55;
}
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.footer-col-h {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--warm-silver); margin-bottom: 18px;
}
.footer-col a, .footer-col span {
  display: block; font-family: var(--sans); font-size: 14px;
  color: var(--ivory); text-decoration: none; border: 0;
  padding: 5px 0;
  transition: color 160ms ease;
}
.footer-col a:hover { color: var(--terracotta); }
.footer-col span { color: var(--warm-silver); }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--sans); font-size: 12px; color: var(--stone-gray);
  letter-spacing: 0.02em;
}
.footer-bot a { color: var(--stone-gray); border: 0; text-decoration: none; }
.footer-bot a:hover { color: var(--ivory); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.svc-detail {
  padding: 120px 0; border-top: 1px solid var(--border-warm);
}
.svc-image {
  aspect-ratio: 16/7;
  margin-bottom: 64px;
}
.svc-detail:first-of-type { border-top: 0; }
.svc-grid {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 72px; align-items: start;
}
.svc-meta {
  position: sticky; top: 96px;
}
.svc-num {
  font-family: var(--mono); font-size: 12px;
  color: var(--terracotta); letter-spacing: 0.04em;
  margin-bottom: 16px; display: block;
}
.svc-title {
  font-family: var(--serif); font-size: 44px; font-weight: 500;
  line-height: 1.05; color: var(--near-black);
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}
.svc-tag {
  font-family: var(--sans); font-size: 13px;
  color: var(--stone-gray); line-height: 1.55;
  display: block; margin-bottom: 8px;
}
.svc-body p {
  font-family: var(--sans); font-size: 17px; line-height: 1.7;
  color: var(--olive-gray); margin: 0 0 1.2em;
  max-width: 640px;
}
.svc-body p:first-child {
  font-size: 21px; line-height: 1.55; color: var(--near-black);
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.005em;
  margin-bottom: 32px;
}
.svc-deliverables {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px;
  margin-top: 36px; padding-top: 32px;
  border-top: 1px solid var(--border-warm);
}
.svc-deliv-item {
  font-family: var(--sans); font-size: 14px;
  color: var(--olive-gray); padding-left: 20px;
  position: relative; line-height: 1.5;
}
.svc-deliv-item::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px; background: var(--terracotta);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: 140px 0 100px;
}
.about-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-image {
  aspect-ratio: 4/5; border-radius: 16px; overflow: hidden;
  background: var(--dark-surface);
}
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.principle-list {
  display: grid; grid-template-columns: 1fr;
  gap: 0;
  margin-top: 64px;
}
.principle {
  display: grid; grid-template-columns: 80px 280px 1fr;
  gap: 48px; align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--border-warm);
}
.principle:last-child { border-bottom: 1px solid var(--border-warm); }
.principle-num {
  font-family: var(--mono); font-size: 12px;
  color: var(--terracotta); letter-spacing: 0.04em;
  padding-top: 6px;
}
.principle-title {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  line-height: 1.2; color: var(--near-black);
  letter-spacing: -0.005em; margin: 0;
}
.principle-body {
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--olive-gray); margin: 0; max-width: 580px;
}

.leadership {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-top: 64px;
}
.leader-card {
  background: var(--ivory); border: 1px solid var(--border-cream);
  border-radius: 16px; padding: 36px; display: flex;
  flex-direction: column; gap: 16px;
}
.leader-photo {
  width: 100%; aspect-ratio: 5/4; background: var(--warm-sand);
  border-radius: 8px; overflow: hidden;
  margin-bottom: 8px;
}
.leader-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1);
}
.leader-name {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  letter-spacing: -0.005em; color: var(--near-black); margin: 0;
}
.leader-role {
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--terracotta); letter-spacing: 0.02em;
  text-transform: uppercase;
}
.leader-bio {
  font-family: var(--sans); font-size: 15px; line-height: 1.65;
  color: var(--olive-gray); margin: 0;
}
.leader-prior {
  font-family: var(--mono); font-size: 12px;
  color: var(--stone-gray); margin-top: 8px;
  padding-top: 16px; border-top: 1px solid var(--border-cream);
  letter-spacing: 0.02em;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding: 140px 0 80px;
}
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 96px; align-items: start;
  padding-bottom: 120px;
}
.contact-info-list {
  display: grid; grid-template-columns: 1fr;
  gap: 0; margin-top: 48px;
}
.contact-info-row {
  padding: 24px 0;
  border-top: 1px solid var(--border-warm);
}
.contact-info-row:last-child { border-bottom: 1px solid var(--border-warm); }
.contact-info-lbl {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--stone-gray); margin-bottom: 6px;
}
.contact-info-val {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--near-black); letter-spacing: -0.005em;
  line-height: 1.3;
}
.contact-info-val a {
  color: var(--near-black); border: 0; text-decoration: none;
  transition: color 160ms ease;
}
.contact-info-val a:hover { color: var(--terracotta); }

/* Form */
.form {
  background: var(--ivory);
  border: 1px solid var(--border-cream);
  border-radius: 16px; padding: 36px;
}
.form-h {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  color: var(--near-black); letter-spacing: -0.005em;
  margin: 0 0 8px;
}
.form-sub {
  font-family: var(--sans); font-size: 14px;
  color: var(--olive-gray); margin: 0 0 28px;
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-bottom: 0; }
.field label {
  display: block; font-family: var(--sans); font-size: 12px;
  font-weight: 500; letter-spacing: 0.04em;
  color: var(--olive-gray); text-transform: uppercase;
  margin-bottom: 8px;
}
.form .field input, .form .field textarea, .form .field select {
  width: 100%; box-sizing: border-box;
  font-family: var(--sans); font-size: 15px;
  color: var(--near-black);
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: 8px; padding: 12px 14px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}
/* Modal form fields stay dark */
.modal .field input, .modal .field textarea, .modal .field select {
  width: 100%; box-sizing: border-box;
  font-family: var(--sans); font-size: 15px;
  color: var(--ivory);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 12px 14px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}
.modal .field label { color: var(--warm-silver); }
.field textarea { resize: vertical; min-height: 100px; font-family: var(--sans); }
.form .field input:focus, .form .field textarea:focus, .form .field select:focus {
  border-color: var(--terracotta);
  background: var(--white);
}
.modal .field input:focus, .modal .field textarea:focus, .modal .field select:focus {
  border-color: var(--terracotta);
  background: rgba(255,255,255,0.06);
}
.field-error input, .field-error textarea, .field-error select {
  border-color: var(--error-crimson);
}
.field-err-msg {
  font-family: var(--sans); font-size: 12px;
  color: #e0775e; margin-top: 6px;
}
.form-actions {
  display: flex; gap: 12px; justify-content: flex-end;
  margin-top: 24px;
}
.form-success {
  text-align: left; padding: 16px 0;
}
.form-success-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--terracotta); color: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px;
  margin-bottom: 20px;
}

/* ============================================================
   SCHEDULING MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12, 12, 11, 0.78);
  backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 32px;
  overflow-y: auto;
  animation: fadein 200ms ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--deep-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  width: 100%; max-width: 720px;
  padding: 36px;
  margin: auto;
  animation: rise 280ms cubic-bezier(.2,.8,.2,1);
}
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-h {
  font-family: var(--serif); font-size: 32px; font-weight: 500;
  color: var(--ivory); margin: 8px 0 8px;
  letter-spacing: -0.01em;
}
.modal-sub {
  font-family: var(--sans); font-size: 14px;
  color: var(--warm-silver); margin: 0 0 32px;
  max-width: 480px;
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: transparent; color: var(--warm-silver);
  border: 0; font-family: var(--sans); font-size: 13px;
  cursor: pointer; padding: 8px 12px; border-radius: 6px;
  transition: color 160ms ease, background 160ms ease;
}
.modal-close:hover { color: var(--ivory); background: rgba(255,255,255,0.05); }

.cal-grid {
  display: grid; grid-template-columns: 1fr 240px; gap: 40px;
  margin-bottom: 32px;
}
.cal-month-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.cal-month-name {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  color: var(--ivory);
}
.cal-nav-btn {
  background: transparent; border: 0; color: var(--warm-silver);
  cursor: pointer; padding: 6px 10px; border-radius: 6px;
  font-family: var(--serif); font-size: 18px;
  transition: color 160ms ease, background 160ms ease;
}
.cal-nav-btn:hover:not(:disabled) { color: var(--ivory); background: rgba(255,255,255,0.05); }
.cal-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.cal-days-head {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; margin-bottom: 8px;
}
.cal-day-h {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  color: var(--stone-gray); text-align: center;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cal-days {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14px; color: var(--ivory);
  background: transparent; border: 0;
  border-radius: 6px; cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.cal-day:hover:not(:disabled) { background: rgba(255,255,255,0.06); }
.cal-day.selected { background: var(--terracotta); color: var(--ivory); }
.cal-day.outside { color: var(--stone-gray); opacity: 0.4; }
.cal-day:disabled { color: var(--stone-gray); opacity: 0.25; cursor: not-allowed; }

.cal-times {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 320px; overflow-y: auto;
  padding-right: 4px;
}
.cal-times-h {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--stone-gray); margin-bottom: 4px;
}
.cal-time {
  background: transparent; color: var(--ivory);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 11px 16px; border-radius: 8px; cursor: pointer;
  font-family: var(--sans); font-size: 14px;
  text-align: left;
  transition: all 160ms ease;
}
.cal-time:hover { border-color: var(--terracotta); }
.cal-time.selected { background: var(--terracotta); border-color: var(--terracotta); }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.legal {
  padding: 120px 0 96px;
}
.legal-header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-warm);
}
.legal-content h2 {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: var(--near-black); margin: 56px 0 16px;
  letter-spacing: -0.005em;
}
.legal-content h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  color: var(--near-black); margin: 32px 0 10px;
}
.legal-content p,
.legal-content li {
  font-family: var(--sans); font-size: 16px; line-height: 1.7;
  color: var(--olive-gray);
  max-width: 720px;
}
.legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-toc {
  background: var(--ivory); border: 1px solid var(--border-cream);
  border-radius: 12px; padding: 24px 28px;
  margin-bottom: 48px;
}
.legal-toc-h {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--stone-gray); margin-bottom: 14px;
}
.legal-toc ol {
  padding-left: 18px; margin: 0;
  columns: 2; column-gap: 32px;
}
.legal-toc a {
  font-family: var(--sans); font-size: 14px;
  color: var(--near-black); border: 0; text-decoration: none;
  display: block; padding: 4px 0;
  transition: color 160ms ease;
}
.legal-toc a:hover { color: var(--terracotta); }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border-warm);
}
.page-header-light {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border-warm);
}
.page-header-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end;
}
.page-header h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 1.02; letter-spacing: -0.02em;
  color: var(--near-black); margin: 16px 0 0;
}
.page-header-light h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 1.02; letter-spacing: -0.02em;
  color: var(--near-black); margin: 16px 0 0;
}
.page-header .lede {
  margin: 0; padding-bottom: 8px;
}

/* ============================================================
   NEW HOME + TEAM (strategy rebuild)
   ============================================================ */
.markets {
  margin-top: 96px; border-top: 1px solid var(--border-warm);
}
.markets-row {
  display: grid; grid-template-columns: 160px 1fr; gap: 32px;
  padding: 22px 0; border-bottom: 1px solid var(--border-warm);
  align-items: baseline;
}
.markets-lbl {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--stone-gray);
}
.markets-val {
  font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px);
  color: var(--near-black); line-height: 1.4;
}
.cap-static { cursor: default; min-height: 0; padding: 44px 40px; }
.cap-static:hover { background: var(--ivory); }
.cap-lede {
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  color: var(--near-black); margin: 4px 0 8px; max-width: 440px;
}
.cap-list { list-style: none; margin: 8px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border-warm); }
.cap-list li, .serve-list li, .team-prior li {
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  color: var(--olive-gray); padding: 5px 0 5px 20px; position: relative;
}
.cap-list li::before, .serve-list li::before, .team-prior li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 8px; height: 1px; background: var(--terracotta);
}
.cap-sub {
  display: block; font-size: 13px; line-height: 1.5;
  color: var(--stone-gray); margin-top: 4px;
}
.offer-investor {
  margin-top: 1px; background: var(--ivory);
  border: 1px solid var(--border-warm); border-radius: 4px;
  padding: 24px 40px; display: flex; gap: 32px; align-items: baseline; flex-wrap: wrap;
}
.offer-investor p {
  margin: 0; font-family: var(--serif); font-size: 22px; color: var(--near-black);
}
.offer-bridge {
  font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px);
  color: var(--near-black); line-height: 1.4; margin: 40px 0 0; max-width: 820px;
}
.oldhand-body { max-width: 680px; }
.oldhand-body p {
  font-family: var(--sans); font-size: 18px; line-height: 1.7;
  color: var(--warm-silver); margin: 0 0 16px;
}
.text-link {
  display: inline-block; margin-top: 28px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  color: var(--terracotta); text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.exp-list-wide .exp-item { grid-template-columns: 200px 1fr 220px; }
.exp-list-wide .exp-meta { line-height: 1.5; }
.serve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.serve-h {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--stone-gray);
  margin: 8px 0 12px;
}
.serve-list { list-style: none; margin: 0; padding: 0; }
.serve-list li { font-size: 17px; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border-warm); }
.serve-list li::before { top: 22px; }
.serve-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.serve-note {
  background: var(--ivory); border: 1px solid var(--border-cream);
  border-radius: 16px; padding: 28px 32px;
}
.serve-note p {
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--olive-gray); margin: 0 0 14px;
}
.serve-note-lbl {
  font-family: var(--mono); font-size: 12px; color: var(--terracotta); letter-spacing: 0.04em;
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--ivory); border: 1px solid var(--border-cream);
  border-radius: 16px; padding: 32px; display: flex; flex-direction: column;
}
.team-photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  filter: grayscale(1); margin-bottom: 20px;
  box-shadow: 0 0 0 1px var(--border-cream);
}
.team-name {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  color: var(--near-black); margin: 0; letter-spacing: -0.005em;
}
.team-role {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--terracotta); letter-spacing: 0.04em; text-transform: uppercase;
  margin: 6px 0 18px;
}
.team-expertise {
  font-family: var(--sans); font-size: 15px; line-height: 1.6;
  color: var(--olive-gray); margin: 0 0 12px;
}
.team-expertise span {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--stone-gray); margin-bottom: 6px;
}
.team-prior { list-style: none; margin: 0 0 16px; padding: 12px 0 0; border-top: 1px solid var(--border-cream); }
.team-prior li { font-size: 14px; padding-top: 4px; padding-bottom: 4px; }
.team-prior li::before { top: 14px; }
.team-edu {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-cream);
  font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--stone-gray);
}
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .serve-grid, .serve-notes { grid-template-columns: 1fr; gap: 32px; }
  .exp-list-wide .exp-item { grid-template-columns: 1fr; gap: 12px; }
  .exp-list-wide .exp-tag { grid-column: 1; }
  .markets-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .cap-static { padding: 32px 24px; }
  .markets { margin-top: 56px; }
}

/* ============================================================
   OLD HAND TYPOGRAPHY — Arial, bold headings, spaced bold labels
   ============================================================ */
.display, .h1, .h2, .h3, .hero-display, .cap-title, .exp-title,
.team-name, .page-header-light h1, .page-header h1, .svc-title,
.leader-name, .principle-title, .why-title, .form-h, .modal-h,
.contact-info-val, .legal-content h2, .legal-content h3, .manifesto-quote {
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hero-display { letter-spacing: -0.03em; line-height: 1.02; font-size: clamp(48px, 6vw, 88px); }
.h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; }
.overline, .markets-lbl, .serve-h, .team-expertise span, .footer-col-h, .contact-info-lbl {
  font-weight: 700; letter-spacing: 1.6px;
}
.cap-num, .exp-meta, .serve-note-lbl, .hero-image-caption, .svc-num, .principle-num {
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px;
}
.markets-val, .offer-bridge, .offer-investor p { font-weight: 700; letter-spacing: -0.005em; }
.cap-lede { font-weight: 700; }

/* Home hero on Old Hand navy */
.hero-navy { border-bottom: 0; }
.hero-navy .hero-display { color: var(--ivory); }
.hero-navy .hero-sub { color: var(--warm-silver); }
.hero-navy .hero-image-caption { color: var(--warm-silver); }
.hero-navy .hero-image-frame { box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.6); }
.hero-navy .markets { border-top-color: rgba(255, 255, 255, 0.16); }
.hero-navy .markets-row { border-bottom-color: rgba(255, 255, 255, 0.16); }
.hero-navy .markets-val { color: var(--ivory); }

/* Arcleef bridge image: pale on the Team header, navy-tinted in the closing band */
.team-header {
  background:
    linear-gradient(90deg, rgba(241, 242, 238, 0.94) 0%, rgba(241, 242, 238, 0.78) 50%, rgba(241, 242, 238, 0.30) 100%),
    url("../assets/bridge.jpg") center 30% / cover no-repeat;
  padding: 140px 0 110px;
}
.cta-bridge {
  background:
    linear-gradient(90deg, rgba(20, 40, 75, 0.94) 0%, rgba(20, 40, 75, 0.86) 55%, rgba(20, 40, 75, 0.72) 100%),
    url("../assets/bridge.jpg") center 35% / cover no-repeat;
}

/* Team cards: every row of content lines up across the cards in a row
   (photo, name, role, expertise, prior roles, education). */
@supports (grid-template-rows: subgrid) {
  .team-grid { row-gap: 24px; }
  .team-card {
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
    row-gap: 0;
    align-content: start;
  }
  .team-card > * { align-self: start; }
  .team-photo { justify-self: start; }
  .team-edu { margin-top: 0; align-self: stretch; }
  .team-prior { align-self: stretch; margin-bottom: 0; padding-bottom: 16px; }
}

/* Contact + legal pages */
.contact-h1 {
  font-family: var(--serif); font-weight: 700; color: var(--near-black);
  margin: 16px 0 0; line-height: 1.06;
}
.contact-note {
  margin-top: 56px; padding: 28px; background: var(--ivory);
  border-radius: 12px; border: 1px solid var(--border-cream);
}
.legal-date { font-size: 13px; color: var(--stone-gray); letter-spacing: 0.04em; }
.form .field select { appearance: auto; }

/* Phone nav: logo + links only, no overflow */
@media (max-width: 640px) {
  .nav-inner { gap: 14px; padding: 12px 16px; }
  .nav-inner > .btn { display: none; }
  .nav-links { margin-left: auto; flex: 0 1 auto; gap: 14px; }
  .nav-links a { font-size: 13px; }
  .nav .brand-img img { height: 28px !important; }
}

/* Headlines in capitals */
.hero-display, .h1, .page-header-light h1, .page-header h1, .contact-h1 {
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.hero-display { font-size: clamp(40px, 5vw, 72px); line-height: 1.04; }
.h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
.page-header-light h1, .page-header h1, .contact-h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container, .container-narrow { padding: 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-rule { grid-template-columns: repeat(2, 1fr); }
  .caps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .exp-item { grid-template-columns: 80px 1fr; }
  .exp-tag { grid-column: 2; text-align: left; padding-top: 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-meta { position: static; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .principle { grid-template-columns: 80px 1fr; gap: 24px; }
  .principle-title { grid-column: 2; }
  .principle-body { grid-column: 2; }
  .leadership { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; padding-bottom: 80px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .cta-band-inner { grid-template-columns: 1fr; }
  .page-header-grid { grid-template-columns: 1fr; gap: 32px; }
  .cal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .nav-links { gap: 18px; font-size: 13px; }
  .section { padding: 72px 0; }
  .hero { padding: 80px 0 64px; }
  .hero-rule { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .legal-toc ol { columns: 1; }
}
