/* ============================================================
   VELMAX CAPITAL ADVISORS
   Design system — midnight navy / warm ivory / graphite / antique gold
   Privacy-first, zero-dependency typography: premium system stacks only
   ============================================================ */

:root {
  /* Colour */
  --navy-950: #081524;
  --navy-900: #0B1C31;
  --navy-800: #10263F;
  --navy-700: #1A3352;
  --navy-line: rgba(240, 234, 220, 0.14);
  --navy-line-soft: rgba(240, 234, 220, 0.08);

  --ivory: #F4EEE1;
  --ivory-deep: #EFE7D6;
  --paper: #FBF8F1;
  --white: #FFFFFF;

  --graphite: #23272E;
  --ink: #101A28;
  --slate: #5C6572;
  --slate-soft: #6C7583;

  --gold: #A5854C;
  --gold-text: #7E6233;
  --gold-bright: #C3A76E;
  --gold-line: rgba(165, 133, 76, 0.55);
  --gold-line-dark: rgba(195, 167, 110, 0.5);

  --light-line: rgba(16, 26, 40, 0.13);
  --light-line-soft: rgba(16, 26, 40, 0.07);

  /* Type */
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Baskerville, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --sec-pad: clamp(4.5rem, 10vw, 8.5rem);
  --sec-pad-lg: clamp(6rem, 14vw, 11rem);

  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --dur: 0.85s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern";
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
address { font-style: normal; }

::selection { background: rgba(165, 133, 76, 0.28); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-900); color: var(--ivory);
  padding: 0.75rem 1.25rem; font-size: 0.85rem; letter-spacing: 0.06em;
}
.skip-link:focus { left: 0; }

/* ---------- Type utilities ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 880px; }
.container--wide { max-width: 1320px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold-line);
  transform-origin: left center;
}
.on-dark .eyebrow { color: var(--gold-bright); }
.on-dark .eyebrow::before { background: var(--gold-line-dark); }

.h-display,
.h-section,
.h-statement,
.h-article {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}
.on-dark .h-display, .on-dark .h-section,
.on-dark .h-statement, .on-dark .h-article { color: var(--ivory); }

.h-display {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.005em;
}
.h-section {
  font-size: clamp(2.05rem, 3.9vw, 3.15rem);
  line-height: 1.12;
}
.h-statement {
  font-size: clamp(1.95rem, 3.6vw, 3rem);
  line-height: 1.22;
}
.h-article {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.lede {
  font-size: clamp(1.06rem, 1.35vw, 1.19rem);
  line-height: 1.75;
  color: var(--slate);
  max-width: 38rem;
}
.on-dark .lede { color: rgba(240, 234, 220, 0.76); }

.measure { max-width: 62ch; }

.gold-mark { color: var(--gold); }
.on-dark .gold-mark { color: var(--gold-bright); }

/* Serif italic emphasis word with hairline underline — from the field guide */
.u-gold {
  position: relative;
  white-space: nowrap;
}
.u-gold::after {
  content: "";
  position: absolute;
  left: 0.02em; right: 0.02em; bottom: -0.08em;
  height: 1px;
  background: var(--gold-line);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.btn--dark {
  color: var(--ivory);
  border-color: rgba(195, 167, 110, 0.5);
}
.btn--dark:hover { background: rgba(195, 167, 110, 0.1); border-color: var(--gold-bright); }
.btn--light {
  color: var(--navy-900);
  border-color: rgba(16, 38, 63, 0.4);
}
.btn--light:hover { background: var(--navy-900); color: var(--ivory); border-color: var(--navy-900); }
.btn--solid {
  background: var(--navy-900);
  color: var(--ivory);
  border-color: var(--navy-900);
}
.btn--solid:hover { background: var(--navy-800); border-color: var(--navy-800); }

.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.on-dark .link-arrow { color: var(--ivory); }
.link-arrow .arr {
  transition: transform 0.35s var(--ease);
  color: var(--gold);
}
.on-dark .link-arrow .arr { color: var(--gold-bright); }
.link-arrow:hover .arr { transform: translateX(5px); }

.link-quiet {
  border-bottom: 1px solid var(--light-line);
  transition: border-color 0.3s var(--ease);
  padding-bottom: 1px;
}
.link-quiet:hover { border-color: var(--gold); }
.on-dark .link-quiet { border-color: var(--navy-line); }
.on-dark .link-quiet:hover { border-color: var(--gold-bright); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(8, 21, 36, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(8, 21, 36, 0.92);
  border-bottom-color: var(--navy-line-soft);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ivory);
  flex: none;
}
.brand-logo {
  width: clamp(8.8rem, 12.5vw, 10.8rem);
  height: auto;
  max-height: 2.7rem;
  object-fit: contain;
  object-position: left center;
}
.footer-brand .brand-logo {
  width: clamp(11rem, 17vw, 14rem);
  max-height: none;
}


.primary-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
.primary-nav a:not(.btn) {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 234, 220, 0.75);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.3s var(--ease);
}
.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}
.primary-nav a:not(.btn):hover,
.primary-nav a:not(.btn)[aria-current="page"] { color: var(--ivory); }
.primary-nav a:not(.btn):hover::after,
.primary-nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .btn { padding: 0.72rem 1.3rem; }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  position: relative;
  z-index: 130;
}
.nav-toggle span {
  position: absolute;
  left: 0.6rem; right: 0.6rem;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 1.15rem; }
.nav-toggle span:nth-child(2) { top: 1.6rem; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.22rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-0.23rem) rotate(-45deg); }

/* Mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s 0.45s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease);
}
.mobile-nav a {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 500;
  color: var(--ivory);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--navy-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-nav.is-open a { opacity: 1; transform: none; }
.mobile-nav a[aria-current="page"] { color: var(--gold-bright); }
.mobile-nav a .arr { font-size: 1.1rem; color: var(--gold); }
.mobile-nav .mobile-cta {
  margin-top: 2.2rem;
  border: 1px solid rgba(195, 167, 110, 0.5);
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.1rem;
}
.mobile-nav .mobile-meta {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 234, 220, 0.45);
}
body.nav-locked { overflow: hidden; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--ivory);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 4.75rem;
}
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  width: 100%;
  padding-block: clamp(4rem, 10vh, 7rem);
}
.hero .h-display { max-width: 13.5ch; margin-top: 1.9rem; }
.hero .lede { margin-top: 2.1rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2.2rem;
  margin-top: 3.2rem;
}
.hero-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--navy-line-soft);
}
.hero-foot-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.15rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 234, 220, 0.5);
}

/* Inner page hero */
.page-hero {
  background: var(--navy-950);
  color: var(--ivory);
  padding: calc(4.75rem + clamp(4rem, 9vw, 7rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero .h-display { font-size: clamp(2.5rem, 5.4vw, 4.3rem); max-width: 16ch; margin-top: 1.8rem; }
.page-hero .lede { margin-top: 1.8rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: var(--sec-pad); }
.section--lg { padding-block: var(--sec-pad-lg); }
.section--ivory { background: var(--ivory); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-900); color: var(--ivory); }
.section--deep { background: var(--navy-950); color: var(--ivory); }

.section-head { margin-bottom: clamp(2.8rem, 6vw, 4.5rem); }
.section-head .h-section { margin-top: 1.6rem; max-width: 22ch; }
.section-head .lede { margin-top: 1.4rem; }

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 3rem;
}

/* Editorial transition statement */
.statement {
  max-width: 46rem;
}
.statement .h-statement { margin-top: 2rem; }
.statement p { margin-top: 1.8rem; max-width: 34rem; color: var(--slate); }

/* ============================================================
   CAPABILITIES — editorial rows
   ============================================================ */
.cap-rows { border-top: 1px solid var(--light-line); }
.cap-row {
  display: grid;
  grid-template-columns: 5rem 1fr 1.2fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: 1.9rem 0.4rem;
  border-bottom: 1px solid var(--light-line);
  position: relative;
  transition: background-color 0.4s var(--ease);
}
a.cap-row:hover { background: rgba(244, 238, 225, 0.62); }
.section--ivory a.cap-row:hover { background: rgba(255, 255, 255, 0.55); }
.cap-num {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
}
.on-dark .cap-num,
.on-dark .pc-num { color: var(--gold-bright) !important; }
.cap-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  transition: transform 0.4s var(--ease);
}
a.cap-row:hover .cap-title { transform: translateX(6px); }
.cap-desc {
  font-size: 0.94rem;
  color: var(--slate);
  line-height: 1.6;
  max-width: 34rem;
}
.cap-arr {
  color: var(--gold);
  font-size: 1rem;
  transition: transform 0.4s var(--ease), opacity 0.3s;
  opacity: 0.55;
}
a.cap-row:hover .cap-arr { transform: translateX(5px); opacity: 1; }

/* Capability detail blocks (capabilities.html) */
.cap-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.8rem, 6vw, 4.2rem) 0;
  border-top: 1px solid var(--light-line);
}
.cap-detail:last-child { border-bottom: 1px solid var(--light-line); }
.cap-detail .cap-num { display: block; margin-bottom: 1rem; }
.cap-detail h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 16ch;
}
.cap-detail .cap-for {
  margin-top: 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--slate);
  max-width: 26rem;
  line-height: 1.65;
}
.cap-scope { display: grid; gap: 0; }
.cap-scope li {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--light-line-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
}
.cap-scope li:last-child { border-bottom: 0; }
.cap-scope .tick {
  color: var(--gold);
  font-size: 0.72rem;
  transform: translateY(-1px);
}
.cap-scope strong {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.cap-scope span.note {
  display: block;
  font-size: 0.9rem;
  color: var(--slate);
  margin-top: 0.2rem;
  line-height: 1.6;
}

/* ============================================================
   PRINCIPLES — dark section
   ============================================================ */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.principle { position: relative; padding-top: 1.7rem; max-width: 21rem; }
.principle::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2.4rem; height: 1px;
  background: var(--gold-line-dark);
}
.principle:nth-child(2) { margin-top: clamp(0px, 3vw, 2.6rem); }
.principle:nth-child(3) { margin-top: clamp(0px, 6vw, 5.2rem); }
.principle .p-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.principle p {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
  color: rgba(240, 234, 220, 0.88);
}
.principles-foot {
  margin-top: clamp(4rem, 9vw, 7.5rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--navy-line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 3rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 234, 220, 0.55);
}

/* ============================================================
   EXPERIENCE
   ============================================================ */
.exp-group { margin-top: clamp(2.6rem, 5vw, 4rem); }
.exp-group + .exp-group { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.exp-label {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--navy-900);
}
.exp-label h2,
.exp-label h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.exp-label .exp-note {
  font-size: 0.8rem;
  color: var(--slate);
  font-style: italic;
  font-family: var(--serif);
  font-size: 0.95rem;
}
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--light-line);
  border-top: 0;
}
.exp-cell {
  border-right: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  padding: 2rem 1.6rem 2.2rem;
  min-height: 10.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  background: transparent;
  transition: background-color 0.4s var(--ease);
}
.exp-cell:hover { background: rgba(255, 255, 255, 0.6); }
.section--white .exp-cell:hover { background: var(--ivory); }
.exp-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.22;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}
.exp-meta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-soft);
  line-height: 1.7;
}
.exp-meta .role { color: var(--gold-text); display: block; }
.exp-disclaimer {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--slate);
  max-width: 46rem;
}
.exp-disclaimer strong { color: var(--graphite); font-weight: 600; }

/* ============================================================
   INTERLUDE
   ============================================================ */
.interlude {
  background: var(--navy-950);
  color: var(--ivory);
  padding-block: clamp(5rem, 11vw, 8.5rem);
  position: relative;
  overflow: hidden;
}
.interlude .interlude-text {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.35;
  font-weight: 500;
  max-width: 30ch;
  color: rgba(240, 234, 220, 0.94);
}
.interlude .interlude-src {
  margin-top: 2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(240, 234, 220, 0.45);
}

/* ============================================================
   TEAM
   ============================================================ */
.team-list { display: grid; gap: 0; border-top: 1px solid var(--light-line); }
.team-row {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  padding: clamp(2.2rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--light-line);
  align-items: start;
}
.team-photo {
  position: relative;
  overflow: hidden;
  background: var(--ivory-deep);
}
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(16, 26, 40, 0.08);
  background: linear-gradient(180deg, rgba(8, 21, 36, 0.00) 55%, rgba(8, 21, 36, 0.06) 100%);
}
.team-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03);
  transition: transform 1.4s var(--ease), filter 0.8s var(--ease);
}
.team-row:nth-child(1) .team-photo img { object-position: 50% 28%; }
.team-row:nth-child(2) .team-photo img { object-position: 50% 24%; }
.team-row:nth-child(3) .team-photo img { object-position: 50% 22%; }
.team-row:hover .team-photo img { transform: scale(1.022); filter: saturate(0.9) contrast(1.03); }
.team-id h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}
.team-id .role {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  line-height: 1.8;
}
.team-id .cred {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--slate-soft);
  letter-spacing: 0.02em;
}
.team-bio p { font-size: 0.98rem; color: var(--slate); max-width: 54ch; }
.team-bio p + p { margin-top: 1rem; }
.team-bio .bio-note {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--slate-soft);
}
.team-bio .bio-contact {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy-700);
}
.team-bio .bio-contact a {
  border-bottom: 1px solid var(--light-line);
  padding-bottom: 1px;
}
.team-bio .bio-contact a:hover { border-color: var(--gold); }


/* ============================================================
   PARTNERSHIPS
   ============================================================ */
.partner-cols {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.partner-commit { border-top: 1px solid var(--light-line); }
.partner-commit li {
  padding: 1.35rem 0.2rem;
  border-bottom: 1px solid var(--light-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: baseline;
}
.partner-commit .pc-num {
  font-size: 0.72rem;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}
.partner-commit strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
}
.partner-commit span {
  display: block;
  font-size: 0.92rem;
  color: var(--slate);
  margin-top: 0.25rem;
  line-height: 1.6;
}
.on-dark .partner-commit { border-color: var(--navy-line); }
.on-dark .partner-commit li { border-color: var(--navy-line-soft); }
.on-dark .partner-commit strong { color: var(--ivory); }
.on-dark .partner-commit span { color: rgba(240, 234, 220, 0.66); }

/* ============================================================
   INSIGHTS
   ============================================================ */
.insight-list { border-top: 1px solid var(--light-line); }
.insight-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) auto;
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: baseline;
  padding: 2.1rem 0.3rem;
  border-bottom: 1px solid var(--light-line);
  transition: background-color 0.4s var(--ease);
}
a.insight-row:hover { background: rgba(244, 238, 225, 0.6); }
.section--ivory a.insight-row:hover { background: rgba(255, 255, 255, 0.55); }
.insight-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.22;
  transition: transform 0.4s var(--ease);
}
a.insight-row:hover .insight-title { transform: translateX(6px); }
.insight-intro { font-size: 0.92rem; color: var(--slate); line-height: 1.6; }
.insight-tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

/* Insight articles (insights.html) */
.article {
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--light-line);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.article:first-of-type { border-top: 0; padding-top: 0; }
.article-side { position: relative; }
.article-side .insight-tag { display: block; margin-bottom: 1.1rem; color: var(--gold-text); }
.article-side h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.16;
  color: var(--ink);
  max-width: 15ch;
}
.article-side .art-standfirst {
  margin-top: 1.3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--slate);
  line-height: 1.55;
  max-width: 24rem;
}
.article-body p {
  max-width: 62ch;
  color: var(--graphite);
  font-size: 1rem;
}
.article-body p + p { margin-top: 1.35rem; }
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body .art-rule {
  width: 2.4rem; height: 1px;
  background: var(--gold-line);
  border: 0;
  margin: 2rem 0;
}

/* ============================================================
   CONVERSION
   ============================================================ */
.convert {
  background: var(--navy-950);
  color: var(--ivory);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.convert .h-section { max-width: 20ch; }
.convert-actions {
  margin-top: 2.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2.4rem;
}
.convert .aside-note {
  margin-top: 2.4rem;
  font-size: 0.85rem;
  color: rgba(240, 234, 220, 0.55);
  max-width: 34rem;
  line-height: 1.7;
}

/* ============================================================
   FORM — transaction intake desk
   ============================================================ */
.intake {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.intake-side .intake-steps { margin-top: 2.4rem; border-top: 1px solid var(--light-line); }
.intake-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--light-line-soft);
  font-size: 0.92rem;
  color: var(--slate);
  align-items: baseline;
}
.intake-steps .pc-num { font-size: 0.72rem; color: var(--gold-text); letter-spacing: 0.1em; }
.intake-steps strong { color: var(--ink); font-weight: 600; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1.8rem;
}
.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.field label .opt { color: var(--slate-soft); font-weight: 500; letter-spacing: 0.1em; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--light-line);
  padding: 0.55rem 0.1rem 0.7rem;
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23A5854C' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.4rem;
}
.field textarea { min-height: 7.5rem; resize: vertical; line-height: 1.6; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--slate-soft); }
.field .err {
  display: none;
  font-size: 0.78rem;
  color: #8C3B2E;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-bottom-color: #8C3B2E; }
.field.is-invalid .err { display: block; }

.form-foot { margin-top: 2.4rem; }
.form-privacy {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  color: var(--slate);
  max-width: 40rem;
  line-height: 1.65;
}
.form-privacy a { border-bottom: 1px solid var(--light-line); }
.form-privacy a:hover { border-color: var(--gold); }
.form-status {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--gold-text);
  display: none;
}
.form-status.is-visible { display: block; }

/* Contact page office block */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--light-line);
  padding-top: 2.5rem;
}
.office h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1rem;
}
.office p, .office a { font-size: 0.95rem; color: var(--slate); line-height: 1.75; }
.office a:hover { color: var(--navy-900); }

/* ============================================================
   PROSE (firm / privacy)
   ============================================================ */
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--ink);
  margin: 2.8rem 0 1.1rem;
  line-height: 1.2;
}
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 62ch; color: var(--graphite); }
.prose p + p { margin-top: 1.3rem; }
.prose ul { margin: 1.3rem 0; max-width: 62ch; }
.prose ul li {
  padding: 0.55rem 0 0.55rem 1.6rem;
  position: relative;
  color: var(--graphite);
}
.prose ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.prose .small { font-size: 0.88rem; color: var(--slate); }

/* Phases (firm page) */
.phases { counter-reset: phase; border-top: 1px solid var(--light-line); margin-top: 2.5rem; }
.phase {
  display: grid;
  grid-template-columns: 5rem minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  padding: 2rem 0.3rem;
  border-bottom: 1px solid var(--light-line);
  align-items: baseline;
}
.phase .cap-num { font-size: 0.78rem; }
.phase h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
}
.phase p { font-size: 0.95rem; color: var(--slate); max-width: 50ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  color: rgba(240, 234, 220, 0.72);
  border-top: 1px solid var(--navy-line-soft);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.footer-brand .brand { margin-bottom: 1.6rem; }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(240, 234, 220, 0.55);
}
.footer-col h3 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.3rem;
}
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(240, 234, 220, 0.72);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--ivory); }
.footer-col address p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  color: rgba(240, 234, 220, 0.6);
}
.footer-col address strong {
  display: block;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 234, 220, 0.85);
  margin-bottom: 0.3rem;
}
.footer-legal {
  border-top: 1px solid var(--navy-line-soft);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(240, 234, 220, 0.58);
}
.footer-legal a:hover { color: rgba(240, 234, 220, 0.75); }
.footer-note {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(240, 234, 220, 0.55);
  max-width: 62rem;
  padding-bottom: 2rem;
}

/* ============================================================
   MOTION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-rule {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease) 0.15s;
}
.reveal-rule.in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .reveal-rule { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .nav-toggle { display: block; }

  .cap-row { grid-template-columns: 3.2rem 1fr auto; grid-template-rows: auto auto; }
  .cap-row .cap-num { grid-column: 1; grid-row: 1; }
  .cap-row .cap-title { grid-column: 2; grid-row: 1; }
  .cap-row .cap-arr { grid-column: 3; grid-row: 1; }
  .cap-row .cap-desc { grid-column: 2 / 4; grid-row: 2; margin-top: 0.45rem; max-width: none; }

  .team-row { grid-template-columns: minmax(0, 150px) 1fr; }
  .team-row .team-bio { grid-column: 2 / 3; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  body { font-size: 1rem; }

  .hero { min-height: 92svh; }
  .hero .h-display { max-width: 12ch; }
  .hero-foot-inner { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  .principles { grid-template-columns: 1fr; gap: 2.6rem; }
  .principle:nth-child(2), .principle:nth-child(3) { margin-top: 0; }
  .principle { max-width: 28rem; }

  .exp-grid { grid-template-columns: 1fr 1fr; }
  .exp-cell { min-height: 9rem; padding: 1.5rem 1.2rem 1.7rem; }

  .partner-cols, .intake, .article, .cap-detail { grid-template-columns: 1fr; }
  .article-side h2 { max-width: none; }

  .team-row { grid-template-columns: 1fr; }
  .team-photo { max-width: 240px; }

  .insight-row { grid-template-columns: 1fr auto; }
  .insight-row .insight-intro { grid-column: 1 / -1; margin-top: 0.3rem; }

  .form-grid { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; gap: 2.2rem; }

  .phase { grid-template-columns: 3rem 1fr; }
  .phase p { grid-column: 2 / 3; }

  .section-head--split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --gutter: 1.25rem; }

  .hero .h-display { font-size: clamp(2.5rem, 11.5vw, 3.1rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-actions .link-arrow { justify-content: center; padding: 0.4rem 0; }

  .exp-grid { grid-template-columns: 1fr; }
  .exp-cell { min-height: 0; gap: 0.9rem; }

  .brand-name { font-size: 1.25rem; }
  .brand svg { width: 1.85rem; height: 1.85rem; }

  .cap-row { grid-template-columns: 2.4rem 1fr auto; padding: 1.5rem 0.2rem; gap: 0.5rem 0.8rem; }

  .footer-main { grid-template-columns: 1fr; }

  .btn { width: 100%; justify-content: center; text-align: center; }
  .header-inner .btn, .primary-nav .btn { width: auto; }
}

@media (min-width: 1440px) {
  :root { --container: 1280px; }
  body { font-size: 1.09rem; }
}

/* Print restraint */
@media print {
  .site-header, .site-footer, .nav-toggle, .mobile-nav, .hero-lines { display: none; }
  body { background: #fff; color: #000; }
}

@media (max-width: 560px) {
  .brand-logo { width: 8.3rem; max-height: 2.2rem; }
  .footer-brand .brand-logo { width: 11.5rem; max-height: none; }
}
