/* Havenmark shared stylesheet: linked from every page */
:root {
  --ink: #0B0D0C;
  --ink-2: #56605A;
  --ink-3: #7D8A82;
  --paper: #F4F3EE;
  --paper-2: #FAFAF7;
  --harbor: #1E3A2D;
  --teal: #1E3A2D;
  --teal-dark: #1E3A2D;
  --teal-light: #9FD3B6;
  --line: rgba(11, 13, 12, 0.12);
  --line-dark: rgba(232, 234, 230, 0.12);
  --display: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --logo: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --jade: #9FD3B6;
  --body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
body {
  margin: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.footer-mark { width: 26px; height: 26px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.brand-name { font-family: var(--logo); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.brand-unit { font-size: 13px; color: var(--ink-3); padding-left: 12px; border-left: 1px solid var(--line-dark); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; color: rgba(232,234,230,0.78); }
.nav a:hover { color: var(--paper); }
.nav .nav-cta {
  color: var(--ink); background: var(--paper);
  padding: 9px 16px; border-radius: 3px; font-weight: 500;
}
.nav .nav-cta:hover { background: #fff; color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-dark); color: var(--paper); border-radius: 3px; padding: 7px 12px; font: inherit; font-size: 14px; cursor: pointer; }

/* Hero */
.hero { background: var(--ink); color: var(--paper); padding: clamp(64px, 10vw, 120px) 0 clamp(72px, 9vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.hero h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  line-height: 1.06; letter-spacing: -0.025em;
  margin: 0 0 28px; max-width: 17ch;
}
.hero-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: rgba(232,234,230,0.76); max-width: 34em; margin: 0 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 500; font-size: 15.5px;
  padding: 14px 22px; border-radius: 3px; border: 1px solid transparent; cursor: pointer;
}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: rgba(232,234,230,0.32); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }

/* Structure ledger: the signature element */
.ledger { border-top: 1px solid var(--line-dark); }
.ledger-head { font-size: 14px; color: var(--ink-3); padding: 14px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; }
.ledger-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line-dark); }
.ledger-row strong { font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: -0.005em; }
.ledger-row span { font-size: 13.5px; color: var(--teal-light); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .ledger-row { opacity: 0; transform: translateY(6px); animation: rowIn 0.5s ease forwards; }
  .ledger-row:nth-child(2) { animation-delay: 0.15s; }
  .ledger-row:nth-child(3) { animation-delay: 0.22s; }
  .ledger-row:nth-child(4) { animation-delay: 0.29s; }
  .ledger-row:nth-child(5) { animation-delay: 0.36s; }
  .ledger-row:nth-child(6) { animation-delay: 0.43s; }
  .ledger-row:nth-child(7) { animation-delay: 0.50s; }
  .ledger-row:nth-child(8) { animation-delay: 0.57s; }
  .ledger-row:nth-child(9) { animation-delay: 0.64s; }
}
@keyframes rowIn { to { opacity: 1; transform: none; } }

/* Focus strip */
.focus { background: var(--paper); border-bottom: 1px solid var(--line); }
.focus dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.focus dl > div { padding: 30px 0; }
.focus dl > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.focus dt { font-size: 14px; color: var(--ink-2); margin-bottom: 4px; }
.focus dd { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 400; letter-spacing: -0.01em; }

/* Sections */
section.block { padding: clamp(48px, 6vw, 80px) 0; }
.block-grid { display: grid; grid-template-columns: 0.38fr 0.62fr; gap: clamp(32px, 6vw, 88px); }
.block h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.12; letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.block-intro { color: var(--ink-2); max-width: 30em; margin: 0; }

/* Services */
.service { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; margin: 0 0 6px; }
.service .for { font-size: 14.5px; color: var(--teal-dark); margin: 0; }
.service p { margin: 0 0 10px; color: var(--ink-2); }
.service .incl { font-size: 14.5px; color: var(--ink); margin: 0; }

/* Process */
.process { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  font-family: var(--display); font-weight: 300; font-size: 34px; line-height: 1; color: var(--teal);
}
.steps h3 { font-family: var(--display); font-weight: 500; font-size: 20px; margin: 0 0 6px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--ink-2); }

/* Sectors + network */
.sector-list { list-style: none; margin: 0 0 48px; padding: 0; columns: 2; column-gap: 40px; }
.sector-list li { break-inside: avoid; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.network { padding: 28px 30px; background: var(--paper); border-left: 3px solid var(--teal); }
.network h3 { font-family: var(--display); font-weight: 500; font-size: 19px; margin: 0 0 8px; }
.network p { margin: 0; color: var(--ink-2); }

/* Transactions (renders only when populated) */
.tombstones { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tomb { background: var(--paper-2); padding: 30px 26px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.tomb .company { font-family: var(--display); font-size: 20px; font-weight: 500; margin: 0 0 6px; }
.tomb .what { color: var(--ink-2); font-size: 15px; margin: 0; }
.tomb .role { font-size: 13.5px; color: var(--teal-dark); margin: 18px 0 0; }

/* Marketplace bridge */
.bridge { border-top: 1px solid var(--line); }
.bridge .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.bridge h3 { font-family: var(--display); font-weight: 400; font-size: 22px; margin: 0 0 6px; letter-spacing: -0.01em; }
.bridge p { margin: 0; color: var(--ink-2); max-width: 40em; }
.btn-outline { border-color: var(--ink); color: var(--ink); white-space: nowrap; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* Contact band */
.contact { background: var(--harbor); color: var(--paper); padding: clamp(48px, 6vw, 80px) 0; }
.contact .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.contact h2 { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 16ch; }
.contact p { margin: 0; color: rgba(232,234,230,0.76); max-width: 34em; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(232,234,230,0.7); font-size: 14px; padding: 56px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-top .brand-name { color: var(--paper); display: block; margin-bottom: 10px; }
.footer-top h4, .footer-top h2.foot-title { color: var(--paper); font-family: var(--body); font-weight: 500; font-size: 14px; letter-spacing: 0; line-height: 1.4; margin: 0 0 12px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 8px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { color: var(--paper); }
.regulatory { padding-top: 28px; display: grid; gap: 10px; font-size: 13px; line-height: 1.6; color: rgba(232,234,230,0.55); }
.regulatory a { color: var(--teal-light); }
.membership { color: rgba(232,234,230,0.85); }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .block-grid, .contact .wrap { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 10px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .bridge .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
  .nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: none; }
  .brand-unit { display: none; }
}
@media (max-width: 640px) {
  .focus dl { grid-template-columns: 1fr; }
  .focus dl > div + div { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }
  .focus dl > div { padding: 20px 0; }
  .sector-list { columns: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .steps li { grid-template-columns: 44px 1fr; }
  .steps li::before { font-size: 28px; }
}

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding: clamp(44px, 6vw, 72px) 0 clamp(40px, 5vw, 56px); }
.page-hero h1 { font-family: var(--display); font-weight: 300; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 18px; max-width: 18ch; }
.page-hero p { margin: 0; color: rgba(232,234,230,0.76); font-size: 1.1rem; max-width: 36em; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.4fr 0.6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-aside h2 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; margin: 0 0 18px; }
.next-steps { margin: 0 0 32px; padding-left: 20px; color: var(--ink-2); }
.next-steps li { margin-bottom: 14px; padding-left: 4px; }
.next-steps strong { color: var(--ink); font-weight: 500; }
.confidential { margin: 0; padding: 22px 24px; background: var(--paper); border-top: 2px solid var(--teal); font-size: 15px; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14.5px; font-weight: 500; margin-bottom: 7px; }
.optional { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid rgba(11,13,12,0.22); border-radius: 3px;
  padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: #B3402A; }
.field-error { margin: 6px 0 0; font-size: 13.5px; color: #B3402A; }
.btn-dark { background: var(--ink); color: var(--paper); border: none; font-family: var(--body); }
.btn-dark:hover { background: #000; }
.btn-dark:disabled { opacity: 0.6; cursor: default; }
.form-status { margin: 14px 0 0; color: #B3402A; font-size: 15px; }
.form-note { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { padding: 40px; background: var(--paper); border-top: 2px solid var(--teal); }
.form-success:focus { outline: none; }
.form-success h2 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0 0 10px; }
.form-success p { margin: 0 0 24px; color: var(--ink-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Firm page ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); margin-top: 40px; }
.person { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: start; }
.headshot { width: 140px; aspect-ratio: 4 / 5; background: var(--ink); color: var(--paper); display: flex; align-items: flex-end; padding: 14px; overflow: hidden; }
.headshot span { font-family: var(--display); font-weight: 300; font-size: 34px; letter-spacing: -0.02em; }
.headshot img { width: 100%; height: 100%; object-fit: cover; }
.headshot:has(img) { padding: 0; }
.person h3 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 4px; }
.person-title { margin: 0 0 14px; color: var(--teal-dark); font-size: 15px; }
.person-bio { margin: 0; color: var(--ink-2); }
@media (max-width: 980px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .person { grid-template-columns: 96px 1fr; gap: 18px; } .headshot { width: 96px; } .headshot span { font-size: 26px; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 72ch; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--teal-dark); }
.legal-meta { font-size: 14px; color: var(--ink-2) !important; }

/* ---------- Service pages ---------- */
.crumb { margin: 0 0 14px !important; font-size: 14px !important; }
.crumb a, .crumb span { color: var(--teal-light); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.fit-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fit-list li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); position: relative; }
.fit-list li::before { content: ''; position: absolute; left: 0; top: 26px; width: 14px; height: 2px; background: var(--teal); }
.structure-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.structure-list li { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.structure-list strong { font-family: var(--display); font-weight: 500; font-size: 18px; }
.structure-list span { color: var(--ink-2); }
.related-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 24px; }
.related-service { background: var(--paper-2); padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.related-service:hover { background: #fff; }
.related-service strong { font-family: var(--display); font-weight: 500; font-size: 20px; }
.related-service span { color: var(--ink-2); font-size: 15px; }
.service-link { display: inline-block; margin-top: 10px; font-size: 14.5px; color: var(--teal-dark); }
@media (max-width: 820px) { .related-services { grid-template-columns: 1fr; } .structure-list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Advisory dropdown ---------- */
.nav-drop { position: relative; }
.nav-drop > button { background: none; border: none; font: inherit; font-size: 15px; color: rgba(232,234,230,0.78); cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.nav-drop > button:hover, .nav-drop.open > button { color: var(--paper); }
.nav-drop > button svg { width: 10px; height: 10px; transition: transform .15s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: 100%; left: -16px; padding-top: 14px; display: none; min-width: 270px; z-index: 60; }
.nav-menu-inner { background: var(--ink); border: 1px solid var(--line-dark); padding: 8px 0; }
.nav-drop.open .nav-menu { display: block; }
@media (hover: hover) and (min-width: 821px) { .nav-drop:hover .nav-menu { display: block; } }
.nav .nav-menu a { display: block; padding: 10px 16px; }
.nav .nav-menu a span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.nav .nav-menu a:hover { background: rgba(232,234,230,0.06); }
@media (max-width: 820px) {
  .nav-drop > button { width: 100%; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-menu { position: static; padding: 0; min-width: 0; }
  .nav-menu-inner { border: none; padding: 0 0 0 14px; }
}

/* ---------- File attachments on forms ---------- */
.field input[type="file"] { padding: 10px 12px; background: #fff; cursor: pointer; }
.field input[type="file"]::file-selector-button { font: inherit; font-size: 14px; color: var(--paper); background: var(--ink); border: none; border-radius: 2px; padding: 8px 14px; margin-right: 14px; cursor: pointer; transition: background .15s; }
.field input[type="file"]::file-selector-button:hover { background: var(--teal-dark); }
.field-help { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }

/* ---------- Homepage refinements ---------- */
.ledger-row div { display: flex; flex-direction: column; gap: 3px; }
.ledger-row p { margin: 0; font-size: 14.5px; color: rgba(232,234,230,0.6); }
.ledger-row { grid-template-columns: 1fr; }
.focus-toggle { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-align: left; border-bottom: 1px dashed rgba(11,13,12,0.3); }
.focus-toggle:hover { border-bottom-color: var(--teal); }
.focus-toggle svg { width: 11px; height: 11px; flex-shrink: 0; transition: transform .15s; color: var(--teal); }
.focus-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.focus-panel { padding: 4px 0 28px; border-top: 1px solid var(--line); }
.focus-chips { list-style: none; margin: 18px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.focus-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14.5px; }
.structure-grid { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.structure-grid li { background: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.structure-grid strong { font-family: var(--display); font-weight: 500; font-size: 16px; }
.structure-grid span { font-size: 13px; color: var(--teal-dark); }
.sector-accordion { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; align-items: start; }
.sector-list .subsectors li { border: none; padding: 3px 0; }
.sector-col { list-style: none; margin: 0; padding: 0; }
.sector-col > li { padding: 0; }
.sector-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: none; border: none; font: inherit; font-size: 16px; color: var(--ink); padding: 11px 0; cursor: pointer; text-align: left; }
.sector-btn:hover span { color: var(--teal-dark); }
.sector-btn svg { width: 10px; height: 10px; color: var(--ink-3); transition: transform .15s; flex-shrink: 0; }
.sector-btn[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--teal); }
.subsectors { list-style: none; margin: 0 0 12px; padding: 0 0 0 14px; border-left: 2px solid var(--teal); }
.subsectors li { font-size: 14.5px; color: var(--ink-2); padding: 3px 0; }
.muted-note { margin: -32px 0 32px; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 980px) { .structure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sector-accordion { display: flex; flex-direction: column; align-items: stretch; } .sector-col { display: contents; } .structure-grid { grid-template-columns: 1fr; } }

/* ---------- Process section ---------- */
.process-note { margin: 18px 0 0; font-size: 15px; color: var(--teal-dark); }
.buyer-asks { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.buyer-asks h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.015em; margin: 0 0 10px; }
.buyer-asks .block-intro { margin-bottom: 24px; max-width: 46em; }
.ask-grid { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ask-grid li { background: var(--paper-2); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.ask-grid strong { font-family: var(--display); font-weight: 500; font-size: 17px; }
.ask-grid span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 980px) { .ask-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ask-grid { grid-template-columns: 1fr; } }

/* ---------- Transactions ---------- */
.tx-filters { margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.tx-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.tx-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tx-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tomb { text-decoration: none; color: inherit; }
.tx-card { font: inherit; text-align: left; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 14px; min-height: 250px; }
.tx-card:hover, a.tomb:hover { background: #fff; }
.tx-card:hover .company { color: var(--teal-dark); }
.tx-type { font-size: 12.5px; color: var(--teal-dark); letter-spacing: 0.02em; }
.tx-body { display: flex; flex-direction: column; gap: 6px; flex: 1; justify-content: center; }
.tx-body .company, .tomb .company { font-family: var(--display); font-size: 20px; font-weight: 500; }
.tx-body .what, .tomb .what { color: var(--ink-2); font-size: 15px; font-style: italic; }
.tx-counter { font-family: var(--display); font-size: 17px; margin: 0; }
.tx-empty { padding: 48px 0 8px; max-width: 40em; }
.tx-empty h2 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; margin: 0 0 10px; }
.tx-empty p { color: var(--ink-2); margin: 0 0 24px; }
.tx-disclaimer { margin: 28px 0 0; font-size: 13.5px; color: var(--ink-2); max-width: 60em; }
.tx-modal { position: fixed; inset: 0; z-index: 200; background: rgba(11,13,12,0.6); display: flex; align-items: center; justify-content: center; padding: 24px; }
.tx-panel { position: relative; background: var(--paper-2); max-width: 640px; width: 100%; max-height: 90vh; overflow: auto; padding: 36px 36px 30px; border-top: 3px solid var(--teal); }
.tx-panel h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin: 6px 0 8px; }
.tx-panel h3 { font-family: var(--display); font-weight: 500; font-size: 16px; margin: 22px 0 6px; }
.tx-panel p { color: var(--ink-2); margin: 0; line-height: 1.65; }
.tx-role { font-size: 14.5px; }
.tx-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 3px; cursor: pointer; font-size: 14px; }
@media (max-width: 640px) { .tx-modal { padding: 0; align-items: stretch; } .tx-panel { max-height: none; padding: 48px 22px 26px; } }
.tombstones { background: none; border: none; gap: 12px; }
.tombstones .tomb { border: 1px solid var(--line); }

/* ---------- Referral form ---------- */
.form-section-title { font-family: var(--display); font-weight: 500; font-size: 17px; margin: 6px 0 14px; padding-top: 4px; }
.form-section-title ~ .form-section-title { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.consent { border: none; padding: 0; margin: 4px 0 22px; }
.consent legend { font-size: 14.5px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.radio { display: flex !important; align-items: center; gap: 10px; font-weight: 400 !important; margin-bottom: 8px; cursor: pointer; }
.radio input { width: 18px; height: 18px; min-height: 0; }

/* ---------- Contact form follow-up questions ---------- */
.followups-box { background: var(--paper); border-left: 3px solid var(--teal); padding: 16px 18px 2px; margin: 0 0 22px; }
.followups-intro { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.followups-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .followups-grid { grid-template-columns: 1fr; } }
.ts-box:empty { display: none; }
.ts-box { margin: 0 0 16px; }

/* On-this-page links in service page heroes */
.page-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.page-jump a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid rgba(232,234,230,0.32); border-radius: 999px; color: var(--paper); text-decoration: none; font-size: 0.92rem; }
.page-jump a:hover, .page-jump a:focus-visible { background: rgba(232,234,230,0.1); border-color: rgba(232,234,230,0.6); }
.page-jump a:first-child { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.page-jump svg { width: 10px; height: 6px; }

/* ---------- Brand (October 2026): black and jade, Hanken Grotesk ---------- */
h1, h2 { font-weight: 300; }
.nav .nav-cta, .hero .btn-light, .contact .btn-light { background: var(--jade); color: var(--ink); }
.nav .nav-cta:hover, .hero .btn-light:hover, .contact .btn-light:hover { background: #B6E0C8; color: var(--ink); }
.hero h1 em, .page-hero h1 em { color: var(--jade); }
.btn-dark { background: var(--harbor); }
.btn-dark:hover { background: #142a20; }

/* Sectors hint above the list */
.sector-hint { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); }

/* Process steps: shortened on phones, with More / Less */
.step-more { display: none; }
@media (max-width: 640px) {
  .steps-fold p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .steps-fold .open p { display: block; -webkit-line-clamp: unset; }
  .step-more { display: inline-block; background: none; border: none; padding: 6px 0 0; font: inherit; font-size: 14px; color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
}

/* Section headings stay in view beside long lists on wider screens, so the left column never sits empty */
@media (min-width: 981px) {
  .block-grid > div:first-child { position: sticky; top: 104px; align-self: start; }
}

/* Service pages: "At a glance" panel in the page header */
.page-hero .wrap.has-glance { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.hero-glance { border-top: 1px solid var(--line-dark); }
.page-hero .hero-glance .glance-head { font-size: 14px; color: var(--ink-3); padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line-dark); }
.hero-glance dl { margin: 0; }
.hero-glance dl > div { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.hero-glance dt { font-size: 13px; color: var(--teal-light); margin-bottom: 3px; }
.hero-glance dd { margin: 0; font-family: var(--display); font-size: 16.5px; line-height: 1.4; color: var(--paper); }
@media (max-width: 980px) { .page-hero .wrap.has-glance { grid-template-columns: 1fr; gap: 36px; } }

/* When the green "Start a confidential conversation" band reaches the header, the header slides away
   so it never sits on top of the band; it comes back when you scroll up */
.site-header { transition: transform .25s ease; }
.site-header.tucked { transform: translateY(-100%); }

/* ---------- Homepage refresh ---------- */
/* Kicker above the headline (keeps the plain description of the firm up top) */
.hero-kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-light); margin: 0 0 22px; }
/* The wave from the Havenmark mark, drawn faintly across the bottom of the hero */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: -1px; height: clamp(90px, 14vw, 190px); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160' preserveAspectRatio='none'%3E%3Cpath d='M0 104 C150 64 270 64 400 104 S650 144 800 104 S1050 64 1200 104' fill='none' stroke='%239FD3B6' stroke-opacity='0.16' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 124 C150 84 270 84 400 124 S650 164 800 124 S1050 84 1200 124' fill='none' stroke='%239FD3B6' stroke-opacity='0.08' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
}
.hero .wrap { position: relative; z-index: 1; }

/* The process as a timeline: numbered markers joined by a line */
.steps li { position: relative; border-top: none; padding: 0 0 30px; }
.steps li:last-child { border-bottom: none; padding-bottom: 0; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--teal); background: transparent; color: var(--teal);
  font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1; position: relative; z-index: 1;
}
.steps li::after { content: ''; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 1.5px; background: linear-gradient(var(--teal), rgba(30,58,45,0.18)); }
.steps li:last-child::after { display: none; }
.steps li > div { padding-top: 9px; }
.steps li:first-child::before { background: var(--teal); color: var(--paper); }

@media (max-width: 640px) {
  .steps li { grid-template-columns: 44px 1fr; gap: 16px; }
  .steps li::before { font-size: 17px; }
  /* Phones: a shorter hero, so services come sooner */
  .hero { padding-top: 44px; padding-bottom: 56px; }
  .hero-kicker { font-size: 11px; margin-bottom: 16px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-lede { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  /* The investor network as a compact two-column list of names */
  .ledger { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .ledger-head { grid-column: 1 / -1; }
  .ledger-row { padding: 11px 0; }
  .ledger-row p { display: none; }
  .ledger-row strong { font-size: 15.5px; }
}

/* ---------- Sector pages (one per industry) ---------- */
.cover-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cover-list li { padding: 18px 0 18px 28px; border-bottom: 1px solid var(--line); position: relative; }
.cover-list li::before { content: ''; position: absolute; left: 0; top: 30px; width: 12px; height: 1.5px; background: var(--ink); }
.value-list li { padding: 28px 0; }
.value-list strong { font-size: 21px; letter-spacing: -0.01em; }
.related-services.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.subsectors .sector-page-link { margin-top: 6px; }
.subsectors .sector-page-link a { color: var(--teal-dark); font-size: 14px; }
@media (max-width: 820px) { .related-services.two-up { grid-template-columns: 1fr; } }
