/* ============================================================
   Crossbow Capital Advisors
   Institutional minimalism — charcoal, paper, steel, navy
   ============================================================ */

:root {
  /* Palette */
  --ink:        #0E0F12;   /* deep charcoal / near-black */
  --ink-2:      #14161A;
  --charcoal:   #1C1F24;
  --paper:      #F4F2ED;   /* warm off-white */
  --paper-2:    #ECE9E1;
  --steel:      #8A9099;   /* muted steel gray */
  --steel-dk:   #5C636C;
  --line:       #D8D4CA;   /* hairlines on paper */
  --line-dk:    rgba(255,255,255,0.12);
  --navy:       #243352;   /* subtle navy accent */
  --navy-2:     #2F4368;
  --navy-soft:  #6B7C9B;

  /* Roles */
  --bg:         var(--paper);
  --fg:         var(--ink);
  --muted:      var(--steel-dk);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(5rem, 12vw, 11rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--navy); color: var(--paper); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; z-index: 200; font-size: 0.85rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
}
.col-label { grid-column: 1 / 5; }
.col-body  { grid-column: 5 / 13; }

@media (max-width: 820px) {
  .col-label, .col-body { grid-column: 1 / -1; }
}

/* ---------- Section accent (crossbow chevron motif) ---------- */
.section-accent {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 240px;
}
.accent-mark {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 820px) {
  .section-accent { display: none; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow--light { color: var(--steel); }

.index {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--steel);
  font-weight: 500;
  font-feature-settings: "tnum";
}

.section__kicker {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 0.9rem;
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.section__title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section__note {
  flex: 1 1 280px;
  margin-left: auto;
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.lead {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(244, 242, 237, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
/* On dark hero, header text is light until scrolled */
.site-header.on-dark:not(.is-scrolled) { color: var(--paper); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark { width: 26px; height: 26px; color: currentColor; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 3px;
}
.on-dark:not(.is-scrolled) .brand__sub { color: var(--steel); }

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-weight: 450;
  position: relative;
  padding-block: 0.4rem;
  color: currentColor;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.5rem 1.15rem !important;
  opacity: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark:not(.is-scrolled) .nav__cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none;
  flex-direction: column; justify-content: center;
  gap: 6px; color: currentColor;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 0.4rem; text-align: center; }
.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 340;
  letter-spacing: -0.01em;
  padding: 0.35rem 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), color 0.25s var(--ease);
}
.mobile-menu.is-open .mobile-menu__nav a { opacity: 1; transform: none; }
.mobile-menu__nav a:hover { color: var(--steel); }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.13s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.23s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 0.28s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6) { transition-delay: 0.33s; }

@media (max-width: 880px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--navy); }
.btn--ghost { border-color: currentColor; color: currentColor; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover { color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }

/* slow-moving light composition */
.hero__light {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(60% 50% at 75% 30%, rgba(80, 105, 150, 0.32), transparent 60%),
    radial-gradient(45% 45% at 20% 75%, rgba(60, 72, 100, 0.28), transparent 65%),
    radial-gradient(80% 60% at 50% 0%, rgba(40, 50, 72, 0.35), transparent 70%);
  filter: blur(8px);
  animation: drift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.05); }
  50%  { transform: translate3d(2%, 2%, 0) scale(1.12); }
  100% { transform: translate3d(1%, -2%, 0) scale(1.06); }
}

/* architectural line grid */
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: clamp(80px, 9vw, 140px) clamp(80px, 9vw, 140px);
  mask-image: radial-gradient(120% 120% at 60% 40%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 120% at 60% 40%, #000 35%, transparent 85%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,15,18,0.2) 0%, rgba(14,15,18,0) 35%, rgba(14,15,18,0.65) 100%);
}

.hero__inner { padding-top: var(--header-h); }
.hero .eyebrow { color: var(--navy-soft); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }

.hero__title {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(3rem, 11vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero__lede {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: rgba(244,242,237,0.78);
  max-width: 44ch;
  font-weight: 300;
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.3rem, 11.5vw, 3.1rem); line-height: 1.02; max-width: none; }
  .hero__lede { font-size: 1.02rem; max-width: none; }
  .hero .eyebrow { letter-spacing: 0.14em; font-size: 0.66rem; line-height: 1.6; }
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,242,237,0.55);
}
.hero__scroll-line {
  width: 70px; height: 1px; background: rgba(244,242,237,0.4);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--paper);
  transform: translateX(-100%);
  animation: scrollline 2.6s var(--ease) infinite;
}
@keyframes scrollline {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ============================================================
   FIRM
   ============================================================ */
.firm__cols {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.firm__cols p { color: #34373d; }

.stats {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.stat dt {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.5rem;
}
.stat dd {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 360;
  line-height: 1.3;
}

/* ============================================================
   CAPABILITIES
   ============================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cap {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.4s var(--ease);
  position: relative;
}
.cap:hover { background: var(--paper-2); }
.cap__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--steel);
}
.cap h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 1.1rem 0 0.85rem;
}
.cap p { color: var(--muted); font-size: 0.98rem; max-width: 34ch; }

@media (max-width: 860px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cap-grid { grid-template-columns: 1fr; } }

/* ============================================================
   INVESTMENT FOCUS
   ============================================================ */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.focus-cell {
  position: relative;
  background: var(--paper);
  padding: clamp(1.4rem, 2vw, 1.7rem) clamp(1.3rem, 1.8vw, 1.6rem) clamp(1.6rem, 2.2vw, 1.9rem);
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
.focus-cell:hover { background: var(--paper-2); }
.focus-cell__n {
  position: absolute;
  top: 0.35rem;
  right: 0.6rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  line-height: 1;
  color: rgba(14, 15, 18, 0.06);
  font-feature-settings: "tnum";
  pointer-events: none;
}
.focus-cell h3 {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
/* dark closing cell instead of an empty slot */
.focus-cell--cta { background: var(--ink); color: var(--paper); align-items: center; }
.focus-cell--cta:hover { background: var(--ink); }
.focus-cell--cta h3 { color: var(--paper); }
.focus-cell--cta .focus-cell__n { color: rgba(244, 242, 237, 0.10); }
.focus-cell--cta small {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-top: 0.6rem;
}
@media (max-width: 860px) { .focus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .focus-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SKYLINE BAND — pinned (fixed-attachment) parallax
   ============================================================ */
.skyband {
  position: relative;
  isolation: isolate;                            /* contain the blend modes */
  overflow: hidden;
  min-height: clamp(380px, 60vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ink);                  /* fallback before image paints */
}
/* Photo layer — grayscale base of the duotone, pinned to the viewport.
   Path is relative to THIS stylesheet (assets/); drop assets/img/skyline-01.jpg
   to replace the placeholder. */
.skyband::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("img/skyline-placeholder.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;                  /* pins the image to the viewport */
  /* keep the photo's natural color; gentle tweak only */
  filter: contrast(1.03) brightness(0.97);
}
.skyband--01::before { background-image: url("img/skyline-01.jpg"); }
/* Dark wash for text legibility — natural color shows through */
.skyband::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(14, 15, 18, 0.52) 0%,
    rgba(14, 15, 18, 0.42) 48%,
    rgba(14, 15, 18, 0.66) 100%
  );
}
.skyband__inner {
  position: relative;
  z-index: 2;                                    /* text above both blended layers */
  text-align: center;
  color: var(--paper);
  max-width: 720px;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}
.skyband .eyebrow { color: rgba(244, 242, 237, 0.66); }
.skyband__title {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-top: 1rem;
  color: var(--paper);
}
/* iOS/Android render background-attachment:fixed inconsistently — degrade to a
   normal scrolling cover image on small/touch screens. */
@media (max-width: 820px) {
  .skyband::before { background-attachment: scroll; }
  .skyband { min-height: clamp(300px, 48vh, 440px); }
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.section--philosophy {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.section--philosophy::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 30%, rgba(60,76,112,0.28), transparent 70%);
  pointer-events: none;
}
.philosophy__inner { position: relative; max-width: 60rem; margin-inline: auto; }
.section--philosophy .eyebrow { margin-bottom: clamp(2rem, 5vw, 3rem); }
.philosophy__quote {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(2.2rem, 6.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.philosophy__quote em { color: var(--navy-soft); font-style: italic; }
.philosophy__points {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  text-align: left;
  border-top: 1px solid var(--line-dk);
  padding-top: 2.5rem;
}
.philosophy__points p {
  color: rgba(244,242,237,0.72);
  font-size: 1rem;
  position: relative;
  padding-left: 1.5rem;
}
.philosophy__points p::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 8px; height: 1px; background: var(--navy-soft);
}
@media (max-width: 720px) {
  .philosophy__points { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.insight {
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.4s var(--ease);
  cursor: pointer;
  min-height: 280px;
}
.insight:hover { background: var(--paper-2); }
.insight__tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
}
.insight h3 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: auto;
}
.insight p { color: var(--muted); font-size: 0.98rem; max-width: 40ch; }
.insight__more {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.insight__more::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}
.insight:hover .insight__more::after { transform: translateX(5px); }

@media (max-width: 720px) { .insights-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.contact__sub { color: var(--muted); margin-top: 1.25rem; font-size: 1.05rem; max-width: 40ch; }

.contact-form {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.5rem;
  max-width: 640px;
}
.field { display: flex; flex-direction: column; gap: 0.6rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--steel);
  padding: 0.6rem 0;
  transition: border-color 0.3s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel); }

.contact-form__foot {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.form-status { font-size: 0.9rem; color: var(--navy); }
.form-status.is-error { color: #9b2c2c; }

@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: 2.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-dk);
}
.footer__brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 380;
}
.footer__brand .brand__mark { width: 24px; height: 24px; }
.footer__meta p { color: rgba(244,242,237,0.7); font-size: 0.95rem; line-height: 1.9; }
.footer__meta a { transition: color 0.25s var(--ease); }
.footer__meta a:hover { color: var(--navy-soft); }
.footer__nav { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__nav a {
  font-size: 0.9rem;
  color: rgba(244,242,237,0.7);
  width: fit-content;
  position: relative;
  transition: color 0.25s var(--ease);
}
.footer__nav a:hover { color: var(--paper); }

.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
}
.footer__legal p { font-size: 0.78rem; color: rgba(244,242,237,0.45); }
.footer__disclaimer { max-width: 52ch; text-align: right; }

@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__disclaimer { text-align: left; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   TEAM (homepage grid + landing)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.team-card {
  background: transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 210px;
  transition: background 0.4s var(--ease);
  cursor: pointer;
}
.team-card:hover { background: var(--paper-2); }
.team-card__role {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}
.team-card h3 {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-top: auto;
}
.team-card .insight__more { color: var(--ink); margin-top: 1rem; }

@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }

/* 7th mobile-menu item stagger (Team added) */
.mobile-menu.is-open .mobile-menu__nav a:nth-child(7) { transition-delay: 0.38s; }

/* ============================================================
   INTERIOR PAGES (team landing + member bios)
   ============================================================ */
body.interior .site-header {
  background: rgba(244, 242, 237, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
body.interior main { padding-top: var(--header-h); }

.page-hero {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.page-hero .eyebrow { margin-bottom: 1.25rem; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.page-hero__lede { color: var(--muted); margin-top: 1.25rem; max-width: 48ch; font-size: 1.05rem; }

/* Member detail */
.member-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.member-back::before { content: "\2190"; }
.member-back:hover { color: var(--ink); }

.member-hero { padding-top: clamp(2.5rem, 6vw, 4rem); }
.member-hero h1 {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.member-hero__role {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 1.25rem;
}

.member-body {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: var(--section-y);
}
.member-aside { grid-column: 1 / 5; }
.member-bio  { grid-column: 5 / 13; }
@media (max-width: 820px) {
  .member-aside, .member-bio { grid-column: 1 / -1; }
}
.member-bio p {
  font-size: 1.06rem;
  line-height: 1.75;
  color: #34373d;
  max-width: 64ch;
}
.member-bio p + p { margin-top: 1.3rem; }

.member-meta { border-top: 1px solid var(--line); }
.member-meta > div { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.member-meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.5rem;
}
.member-meta dd {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 1.02rem;
  line-height: 1.4;
}

.more-advisors {
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.more-advisors__head {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.5rem;
}
.more-advisors__list { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.more-advisors__list a {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.more-advisors__list a:hover { color: var(--navy); }

/* ============================================================
   FOOTER CONTACT (merged contact section)
   ============================================================ */
#contact { scroll-margin-top: var(--header-h); }

.footer__contact {
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-dk);
}
.footer__contact-title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: var(--paper);
}
.footer__contact-sub {
  color: rgba(244, 242, 237, 0.7);
  margin-top: 1.25rem;
  font-size: 1.05rem;
  max-width: 40ch;
}

/* Contact form on dark background */
.contact-form--dark { margin-top: clamp(2.5rem, 5vw, 4rem); }
.contact-form--dark .field label { color: rgba(244, 242, 237, 0.55); }
.contact-form--dark .field input,
.contact-form--dark .field textarea {
  color: var(--paper);
  border-bottom-color: rgba(244, 242, 237, 0.3);
}
.contact-form--dark .field input:focus,
.contact-form--dark .field textarea:focus { border-bottom-color: var(--paper); }
.contact-form--dark .field input::placeholder,
.contact-form--dark .field textarea::placeholder { color: rgba(244, 242, 237, 0.4); }
.contact-form--dark .btn--primary { background: var(--paper); color: var(--ink); }
.contact-form--dark .btn--primary:hover { background: var(--paper-2); }
.contact-form--dark .form-status { color: var(--navy-soft); }
.contact-form--dark .form-status.is-error { color: #e7a3a3; }

/* Spacing between contact block and the footer identity row */
.footer__contact + .footer__inner { padding-top: clamp(3rem, 6vw, 5rem); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-details {
  border-top: 1px solid var(--line);
  max-width: 820px;
}
.contact-details > div {
  padding: clamp(1.6rem, 3.5vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.contact-details dt {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}
.contact-details dd a {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.25s var(--ease);
  word-break: break-word;
}
.contact-details dd a:hover { color: var(--navy); }
@media (max-width: 560px) {
  .contact-details > div { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ============================================================
   REVEAL MOTION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

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