/* William & Henry Associates — site styles
   Brand tokens follow templates/wh-brand.css (navy / gold / cream, Source Serif 4 + Inter). */

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1F3864;
  --navy-deep: #14274A;
  --navy-ink: #0E1C36;
  --gold: #B8964B;
  --gold-soft: #D9C088;
  --gold-text: #8A6A2A;
  --ink: #1A1A1A;
  --muted: #5A5A5A;
  --rule: #D8D8D2;
  --cream: #F5F3EA;
  --paper: #FFFFFF;
  --on-navy: #FAFAF5;
  --on-navy-muted: #C9CFDC;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 72rem;
  --wrap-narrow: 44rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); font-variation-settings: "opsz" 60; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.4rem); font-variation-settings: "opsz" 48; }
h3 { font-size: 1.25rem; font-weight: 600; font-variation-settings: "opsz" 20; letter-spacing: 0; }

p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-text); }

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

ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 2 * var(--gutter)); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy-deep); color: var(--on-navy); padding: 0.6rem 1rem;
}
.skip-link:focus { top: 1rem; }

/* ---------- labels, links, buttons */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1rem;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--light { color: var(--gold-soft); }

.text-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15em;
  white-space: nowrap;
}
.text-link::after { content: " \2192"; }
.text-link:hover { color: var(--gold-text); border-bottom-color: var(--gold-text); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--on-navy);
  font: 600 0.9375rem/1.2 var(--sans);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.button:hover { background: var(--navy-deep); color: var(--on-navy); }
.button--small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.875rem; }
.button--gold { background: var(--gold); border-color: var(--gold); color: var(--navy-ink); }
.button--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-ink); }
.button--ghost-light { background: transparent; border-color: rgba(250, 250, 245, 0.45); color: var(--on-navy); }
.button--ghost-light:hover { background: rgba(250, 250, 245, 0.08); border-color: var(--on-navy); color: var(--on-navy); }

/* ---------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(1.4) blur(8px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }

.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--navy-deep); }
.brand__crest { width: 3.4rem; height: auto; }
.brand__name {
  display: flex; flex-direction: column; white-space: nowrap;
  font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.05;
  letter-spacing: 0.01em;
  font-variation-settings: "opsz" 24;
}
.brand__name .amp { font-style: italic; font-weight: 500; color: var(--gold-text); }
.brand__sub {
  font-family: var(--sans); font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  margin-top: 0.3rem;
}
.brand:hover { color: var(--navy-deep); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.5rem; }
.site-nav ul a {
  font-size: 0.9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 0.4rem 0; border-bottom: 1px solid transparent;
}
.site-nav ul a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.site-nav ul a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  align-items: center; gap: 0.6rem;
  background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 0.55rem 0.8rem; font: 600 0.875rem var(--sans); color: var(--navy-deep); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 1.1rem; height: 1.5px; background: currentColor; position: relative; transition: transform 0.2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.5rem;
    box-shadow: 0 18px 30px -20px rgba(14, 28, 54, 0.35);
  }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--gold-text); }
  .site-nav__cta { margin-top: 1.25rem; }
  .site-header__inner { position: static; }
  .site-header { position: sticky; }
  /* without JS the nav simply wraps below the brand */
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-bottom: 0.75rem; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: 0.75rem 1.25rem; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
  html:not(.js) .site-nav ul a { border: 0; padding: 0.25rem 0; }
}
@media (max-width: 420px) {
  .brand__crest { width: 2.8rem; }
  .brand__name { font-size: 1.05rem; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- hero */

.hero {
  background:
    radial-gradient(ellipse 70% 90% at 85% 40%, rgba(31, 56, 100, 0.85), transparent 70%),
    var(--navy-deep);
  color: var(--on-navy);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}
.hero__title {
  color: var(--on-navy);
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.9rem);
  font-weight: 450;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 60;
  margin-bottom: 1.5rem;
}
.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
}
.hero__lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--on-navy-muted); max-width: 36rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* the two most recent tombstones, offset like cards on a desk */
.hero-stack { position: relative; aspect-ratio: 1 / 0.86; }
.hero-stack .tombstone {
  position: absolute;
  width: 52%;
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: settle 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-stack .tombstone:nth-child(1) { left: 0; top: 0; animation-delay: 0.15s; }
.hero-stack .tombstone:nth-child(2) { left: 48%; top: 18%; animation-delay: 0.35s; }

@keyframes settle {
  from { opacity: 0; transform: translateY(2.5rem); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero-stack { width: min(100%, 30rem); }
}
@media (max-width: 480px) {
  .hero-stack { aspect-ratio: 1 / 0.8; }
  .hero-stack .tombstone { width: 49%; padding: 1.25rem 0.75rem 1rem; }
  .hero-stack .tombstone:nth-child(2) { left: 51%; top: 14%; }
  .hero-stack .tombstone__seller { font-size: 1.05rem; }
  .hero-stack .tombstone__buyer { font-size: 0.95rem; }
  .hero-stack .tombstone__verb { margin: 0.6rem 0; font-size: 0.6rem; }
  .hero-stack .tombstone__seller--logo { width: 84%; height: 2.9rem; }
  .hero-stack .tombstone__buyer--logo { width: 72%; height: 2.1rem; }
}

/* ---------- the tombstone: the site's signature element */

.tombstones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: 1.25rem;
}
@media (max-width: 560px) {
  .tombstones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .tombstones .tombstone { padding: 1.25rem 0.7rem 1rem; }
  .tombstones .tombstone__seller { font-size: 1.02rem; }
  .tombstones .tombstone__buyer { font-size: 0.92rem; }
  .tombstones .tombstone__verb { margin: 0.6rem 0; font-size: 0.6rem; letter-spacing: 0.06em; }
  .tombstones .tombstone__seller--logo { width: 84%; height: 2.9rem; }
  .tombstones .tombstone__buyer--logo { width: 72%; height: 2.1rem; }
}
.tombstone {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  aspect-ratio: 4 / 5;
  padding: 1.75rem 1.25rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--navy);
  color: var(--navy-deep);
}
.tombstone::before {
  /* inner engraved rule */
  content: ""; position: absolute; inset: 6px;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.tombstone__seller {
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.15;
  font-variation-settings: "opsz" 28;
  text-wrap: balance;
}
.tombstone__verb {
  display: block;
  margin: 1rem 0;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  text-wrap: balance;
}
.tombstone__buyer {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.2;
  text-wrap: balance;
}
.tombstone__type {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-text);
}
.tombstone__type::before {
  content: ""; display: block; width: 2rem; height: 1px; background: var(--gold); margin: 0 auto 0.75rem;
}
.tombstone__seller { margin-top: auto; }

/* logo versions: each logo sits in a fixed box so wide and square marks balance */
.tombstone__seller--logo, .tombstone__buyer--logo { display: block; }
.tombstone__seller--logo { width: 78%; height: 3.6rem; }
.tombstone__buyer--logo { width: 64%; height: 2.6rem; }
.tombstone__seller--logo img, .tombstone__buyer--logo img { width: 100%; height: 100%; object-fit: contain; }

.tombstones .tombstone { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.tombstones .tombstone:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(14, 28, 54, 0.45); }

/* ---------- ledger strip */

.ledger { background: var(--cream); border-bottom: 1px solid var(--rule); }
.ledger__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; padding: 1.5rem 0;
}
.ledger__list > div { padding: 0.25rem 1.5rem; border-left: 1px solid var(--rule); }
.ledger__list > div:first-child { border-left: 0; padding-left: 0; }
.ledger dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.ledger dd { margin: 0.25rem 0 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.35; color: var(--navy-deep); }
@media (max-width: 860px) {
  .ledger__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0; }
  .ledger__list > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  .ledger__list { grid-template-columns: 1fr; }
  .ledger__list > div { border-left: 0; padding-left: 0; }
}

/* ---------- sections */

.section { padding: var(--section) 0; }
.section--tight { padding-top: clamp(2rem, 4vw, 3.5rem); }
.section--cream { background: var(--cream); }
.section--rule { border-top: 1px solid var(--rule); }
.section--cream + .section--cream { padding-top: 0; }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head > p:not(.eyebrow) { color: var(--muted); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; max-width: none; flex-wrap: wrap; }
.section-head--split h2 { margin-bottom: 0; }
.section-foot { margin: 2.5rem 0 0; }

.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 20ch; }
.page-head__lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--muted); max-width: 42rem; margin: 0; }
.page-head--article h1 { max-width: none; }
.page-head--center { text-align: center; border-bottom: 0; padding-bottom: var(--section); }
.page-head--center h1, .page-head--center .page-head__lede { margin-left: auto; margin-right: auto; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.two-col h2 { margin-bottom: 0; }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.prose-grid .section-head { position: sticky; top: 7rem; }
@media (max-width: 860px) {
  .two-col, .prose-grid { grid-template-columns: 1fr; }
  .prose-grid .section-head { position: static; margin-bottom: 0; }
}

.fineprint { font-size: 0.8125rem; color: var(--muted); margin: 2rem 0 0; max-width: 48rem; }

/* ---------- pillars (home) */

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.pillar { border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.pillar h3 { font-size: 1.35rem; }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- quotes */

.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: 1rem; display: flex; flex-direction: column; font-size: 0.875rem; }
.quote__name { font-weight: 600; color: var(--navy-deep); }
.quote__role { color: var(--muted); }
.quote__context { font-size: 0.8125rem; color: var(--muted); margin: 0.75rem 0 0; font-style: italic; }
.quote__source { font-style: normal; }

.quotes-home { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 2.5rem clamp(2rem, 5vw, 4.5rem); }
.quotes-home .quote--lead { grid-row: span 2; }
.quotes-home .quote--lead blockquote p {
  font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1.22;
  color: var(--navy-deep); font-variation-settings: "opsz" 48; letter-spacing: -0.01em;
}
.quotes-home .quote--lead blockquote p::before { content: "\201C"; color: var(--gold); margin-left: -0.45em; }
.quotes-home .quote--lead blockquote p::after { content: "\201D"; color: var(--gold); }
.quotes-home .quote:not(.quote--lead) { border-left: 2px solid var(--gold); padding-left: 1.25rem; }
.quotes-home .quote:not(.quote--lead) blockquote p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; color: var(--ink); }
@media (max-width: 860px) {
  .quotes-home { grid-template-columns: 1fr; }
  .quotes-home .quote--lead { grid-row: auto; }
  .quotes-home .quote--lead blockquote p::before { margin-left: 0; }
}

.quotes { columns: 2 22rem; column-gap: clamp(2rem, 5vw, 4rem); }
.quotes .quote { break-inside: avoid; padding: 0 0 2.25rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--rule); }
.quotes .quote blockquote p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.55; }
.quotes .quote blockquote p::before { content: "\201C"; }
.quotes .quote blockquote p::after { content: "\201D"; }
.quotes--career .quote { border-bottom-color: #E2DFD2; }

/* ---------- services */

.services-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.services-overview .section-head { margin-bottom: 0; }
.service-list li { border-top: 1px solid var(--rule); }
.service-list li:last-child { border-bottom: 1px solid var(--rule); }
.service-list a { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 1.5rem; padding: 1.25rem 0; text-decoration: none; color: var(--ink); }
.service-list__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy-deep); }
.service-list__desc { color: var(--muted); font-size: 0.975rem; }
.service-list a:hover .service-list__name { color: var(--gold-text); }
@media (max-width: 860px) {
  .services-overview { grid-template-columns: 1fr; }
  .service-list a { grid-template-columns: 1fr; gap: 0.25rem; }
}

.service-detail { display: flex; flex-direction: column; }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 5vw, 5rem); padding: 2.5rem 0; border-top: 1px solid var(--rule); }
.service:first-child { border-top: 0; padding-top: 0.5rem; }
.service h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.service__body h3 { font-size: 1.05rem; margin-top: 1.75rem; }
.service__body > :last-child { margin-bottom: 0; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 0.5rem; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding: 0.55rem 0 0.55rem 1.6rem; border-bottom: 1px dotted var(--rule); }
.checklist li::before { content: ""; position: absolute; left: 0.15rem; top: 1.15rem; width: 0.55rem; height: 1px; background: var(--gold); }

.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.process li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 1rem; }
.process li::before {
  content: counter(step); display: block; margin-bottom: 0.5rem;
  font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--gold-text);
}
.process h3 { font-size: 1.1rem; }
.process p { font-size: 0.95rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- team */

.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.leaders a { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; align-items: start; text-decoration: none; color: var(--ink); }
.leaders img { width: 9rem; aspect-ratio: 4 / 5; object-fit: cover; background: var(--rule); }
.leaders__text { display: flex; flex-direction: column; border-top: 2px solid var(--navy); padding-top: 1rem; }
.leaders__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.15; color: var(--navy-deep); }
.leaders__title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin: 0.35rem 0 0.75rem; }
.leaders__summary { color: var(--muted); font-size: 0.975rem; }
.leaders a:hover .leaders__name { color: var(--gold-text); }
@media (max-width: 860px) { .leaders { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .leaders a { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; } .leaders img { width: 6.5rem; } }

.group-title { font-size: 0.75rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--rule); }
.people + .group-title { margin-top: 3.5rem; }
.people { display: grid; gap: 2.5rem; }
.person { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.person__photo { width: 10rem; aspect-ratio: 4 / 5; object-fit: cover; background: var(--rule); }
.person__name { font-size: 1.6rem; margin-bottom: 0.15rem; }
.person__title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 0.75rem; }
.person__summary { max-width: 44rem; }
.person__contact { font-size: 0.9375rem; overflow-wrap: anywhere; }
.person__bio { max-width: 44rem; }
.person__bio summary {
  cursor: pointer; font-weight: 600; font-size: 0.9375rem; color: var(--navy);
  list-style: none; display: inline-flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--gold); padding-bottom: 0.15em;
}
.person__bio summary::-webkit-details-marker { display: none; }
.person__bio summary::after { content: "+"; font-weight: 500; color: var(--gold-text); }
.person__bio[open] summary::after { content: "\2212"; }
.person__bio[open] summary { margin-bottom: 1.25rem; }
.person__bio p { color: var(--ink); }
@media (max-width: 560px) {
  .person { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .person__photo { width: 6.5rem; }
  .person__name { font-size: 1.35rem; }
}

/* ---------- transactions page */

.career-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.career-wrap .section-head { margin-bottom: 0; }
.career li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 1.25rem; padding: 0.9rem 0; border-top: 1px solid var(--rule); }
.career li:last-child { border-bottom: 1px solid var(--rule); }
.career__name { font-family: var(--serif); font-weight: 600; color: var(--navy-deep); }
.career__detail { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .career-wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .career li { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ---------- about */

.prose h3 { font-size: 1.2rem; margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag-list li { border: 1px solid var(--rule); background: var(--paper); padding: 0.35rem 0.75rem; font-size: 0.875rem; color: var(--navy-deep); }
.section--cream .tag-list li { border-color: #E2DFD2; }

.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 2rem 2.5rem; }
.board article { border-top: 1px solid var(--navy); padding-top: 1.25rem; }
.board h3 { margin-bottom: 0.25rem; }
.board__role { font-size: 0.875rem; font-weight: 600; color: var(--gold-text); }
.board p:last-child { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- for owners */

.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.guide {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--rule); border-top: 3px solid var(--navy);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.guide .eyebrow { margin: 0; }
.guide__title { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); line-height: 1.15; color: var(--navy-deep); }
.guide__desc { color: var(--muted); margin-bottom: 0.75rem; }
.guide .text-link { align-self: flex-start; margin-top: auto; }
.guide:hover { border-color: var(--gold); box-shadow: 0 16px 30px -22px rgba(14, 28, 54, 0.45); }
@media (max-width: 720px) { .guides { grid-template-columns: 1fr; } }

.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.video { margin: 0; }
.video__poster, .video iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
}
.video__poster {
  position: relative; cursor: pointer;
  background:
    linear-gradient(135deg, rgba(184, 150, 75, 0.18), transparent 55%),
    var(--navy-deep);
  color: var(--on-navy); text-align: left;
  padding: 1.5rem;
  font: inherit;
}
.video__play {
  position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%);
  width: 4rem; height: 4rem; border-radius: 50%; border: 1px solid var(--gold-soft);
  transition: background-color 0.2s;
}
.video__play::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 0.6rem 0 0.6rem 1rem; border-color: transparent transparent transparent var(--gold-soft);
}
.video__poster:hover .video__play { background: rgba(217, 192, 136, 0.15); }
.video__label { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.25rem; font-family: var(--serif); font-size: 1.25rem; }
.video figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; }
@media (max-width: 720px) { .videos { grid-template-columns: 1fr; } }

.link-list li { padding: 1rem 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; }
.link-list li:last-child { border-bottom: 1px solid var(--rule); }
.link-list a { font-family: var(--serif); font-size: 1.15rem; }
.link-list span { font-size: 0.875rem; color: var(--muted); }
.link-list--inline { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; }
.link-list--inline li { border: 0 !important; padding: 0; }

/* ---------- articles */

.prose--article { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: var(--section); font-size: 1.125rem; line-height: 1.75; }
.prose--article h2 { font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.8rem); margin-top: 2.5rem; }
.prose--article ul { padding-left: 1.2rem; }
.prose--article li { margin-bottom: 0.35rem; }
.prose--article li::marker { color: var(--gold); }
.article .page-head { padding-bottom: 2.5rem; }
.callout { background: var(--cream); border-left: 3px solid var(--gold); padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; }
.callout h2 { margin-top: 0 !important; font-size: 1.35rem !important; }
.callout > :last-child { margin-bottom: 0; }
.article-next { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.article-next .eyebrow { margin-bottom: 0.25rem; }
.article-next a { font-family: var(--serif); font-size: 1.35rem; }

/* ---------- news */

.news-year { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.news-year:first-child { border-top: 0; padding-top: 0; }
.news-year h2 { font-size: 1.6rem; font-style: italic; color: var(--gold-text); margin: 0; }
.news-item { padding: 0 0 1.1rem; }
.news-item:last-child { padding-bottom: 0; }
.news-item__meta { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.news-item__title { display: block; font-family: var(--serif); font-size: 1.1rem; line-height: 1.4; color: var(--navy-deep); }
.news-item__title a { color: inherit; }
.news-item__title a:hover { color: var(--gold-text); }
@media (max-width: 560px) { .news-year { grid-template-columns: 1fr; gap: 0.75rem; } }

/* ---------- contact */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-card { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.contact-card img { width: 9rem; aspect-ratio: 4 / 5; object-fit: cover; }
.contact-card .eyebrow { margin-bottom: 0.5rem; }
.contact-card__name { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 0.1rem; }
.contact-card__title { color: var(--muted); margin-bottom: 1.25rem; }
.contact-card__line { font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); margin: 0 0 0.35rem; overflow-wrap: anywhere; }
.contact-office { border-left: 1px solid var(--rule); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.contact-office address { font-style: normal; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; margin-bottom: 1rem; color: var(--navy-deep); }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-office { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 2rem; }
}
@media (max-width: 480px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-card img { width: 7rem; }
}

.directory li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--rule); align-items: baseline; }
.directory li:last-child { border-bottom: 1px solid var(--rule); }
.directory li > span:first-child { font-weight: 600; color: var(--navy-deep); }
.directory li > span:nth-child(2) { color: var(--muted); font-size: 0.9375rem; }
.directory a { overflow-wrap: anywhere; }
@media (max-width: 720px) { .directory li { grid-template-columns: 1fr; gap: 0.1rem; } }

/* ---------- CTA band */

.cta { background: var(--navy-deep); color: var(--on-navy-muted); }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem 4rem; flex-wrap: wrap; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.cta__inner > div:first-child { max-width: 36rem; }
.cta__title { color: var(--on-navy); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.cta p { margin: 0; }
.cta__contact { font-family: var(--serif); font-size: 1.2rem; }
.cta__contact p + p { margin-top: 0.25rem; }
.cta__contact a { color: var(--on-navy); text-decoration-color: var(--gold); }
.cta__contact a:hover { color: var(--gold-soft); }
.cta__contact .button { font-family: var(--sans); }
.cta__name { color: var(--on-navy); font-weight: 600; margin-bottom: 0.5rem !important; }
.cta__name span { display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-top: 0.2rem; }

/* ---------- footer */

.site-footer { background: var(--navy-ink); color: var(--on-navy-muted); font-size: 0.9375rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.site-footer__firm img { width: 4rem; margin-bottom: 1rem; }
.site-footer__firm p { max-width: 22rem; }
.site-footer__name { font-family: var(--serif); font-size: 1.2rem; color: var(--on-navy); margin-bottom: 0.5rem; }
.site-footer__heading { font-family: var(--sans); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1rem; }
.site-footer address { font-style: normal; margin-bottom: 0.75rem; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer__legal { border-top: 1px solid rgba(201, 207, 220, 0.18); padding-top: 1.5rem; padding-bottom: 2.5rem; font-size: 0.8125rem; color: #A9B3C7; }
.site-footer__legal p { max-width: 60rem; }
.site-footer__legal p:last-child { margin: 0; }
.site-footer__legal a { text-decoration: underline; text-decoration-color: rgba(217, 192, 136, 0.6); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__firm { grid-column: 1 / -1; } }
@media (max-width: 420px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .cta, .nav-toggle { display: none; }
  .hero { background: none; color: var(--ink); }
}
