/* Self-hosted IBM Plex Sans (SIL OFL, see fonts/IBM-Plex-OFL.txt). The root CSP only allows 'self'. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/ibm-plex-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #111d2c;
  --bg-raised: #15273f;
  --bg-deep: #0b141f;
  --paper: #f5f4f0;
  --ink: #f5f4ed;
  --muted: #bdc5ce;
  --quiet: #95a3b3;
  --sage: #a6c5bb;
  --navy: #15273f;
  --line: #ffffff20;
  --line-strong: #ffffff40;
  --sans: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
main { flex: 1; }
.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding-inline: clamp(24px, 5vw, 76px); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a:focus-visible { outline: 2px solid var(--sage); outline-offset: 5px; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--line); }
.masthead .wrap { padding-block: clamp(24px, 3.5vw, 44px); }
.brand { display: inline-block; }
.brand-logo { display: block; width: clamp(220px, 28vw, 300px); max-width: 100%; height: auto; }

/* Hero */
.hero .wrap { padding-block: clamp(72px, 11vw, 144px) clamp(64px, 9vw, 112px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--sage); text-transform: uppercase; font-size: 12px; font-weight: 500; letter-spacing: .2em; }
.dot { width: 7px; height: 7px; background: var(--sage); border-radius: 50%; }
h1 { margin: 28px 0 32px; font-size: clamp(44px, 8.4vw, 120px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
h1 .name, h1 .loc { white-space: nowrap; }
h1 .loc { font-weight: 300; color: var(--sage); }
.lede { max-width: 760px; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.5; font-weight: 300; color: var(--muted); text-wrap: pretty; }
.lede a { color: var(--sage); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.lede a:hover { color: var(--ink); }
.lede .arrow { width: .5em; height: .5em; margin-left: .25em; }

/* Numbered bands (label column + content, borrowed from the job guide) */
.band { border-top: 1px solid var(--line); }
.band .wrap { padding-block: clamp(56px, 8vw, 96px); }
.band-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 56px; row-gap: 20px; }
.label { padding-top: .6em; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
.band-body { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
h2 { font-size: clamp(30px, 3.4vw, 43px); line-height: 1.08; font-weight: 700; letter-spacing: -.015em; }

/* Ventures */
.ventures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.venture { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-strong); transition: border-color .15s ease; }
.venture:hover, .venture:focus-within { border-color: var(--sage); }
.tile { min-height: 200px; padding: 36px; display: grid; place-items: center; }
.tile img { display: block; width: auto; height: auto; max-width: min(100%, 380px); max-height: 112px; }
.tile-dark { background: var(--bg-deep); }
.tile-paper { background: var(--paper); }
.venture-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 28px 32px 32px; }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.venture-body p { font-size: 20px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.venture-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 14px; letter-spacing: .02em; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.venture-link::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.venture:hover .venture-link { color: var(--ink); }
.arrow { width: .8em; height: .8em; flex: none; }

/* Family */
.family-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); grid-template-areas: "pic copy"; column-gap: clamp(32px, 5vw, 72px); align-items: end; }
.family-copy { grid-area: copy; display: flex; flex-direction: column; gap: 14px; padding-bottom: 6px; }
.family-copy p { font-size: clamp(19px, 2vw, 26px); line-height: 1.4; font-weight: 300; color: var(--muted); }
.portrait { grid-area: pic; margin: 0; }
.portrait img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); }

/* Giving back */
.giving { background: var(--bg-raised); border-bottom: 1px solid var(--line); }
.statement { max-width: 980px; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.statement .accent { color: var(--sage); }
.giving-copy { max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.actions { display: flex; }
.also { max-width: 640px; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 10px; }
.also p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.also a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: .22em; text-decoration-thickness: 1px; }
.also a:hover { color: var(--sage); }
.also .arrow { width: .65em; height: .65em; margin-left: .2em; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; background: var(--paper); color: var(--navy); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background-color .15s ease; }
.btn:hover { background: var(--sage); }
.btn:focus-visible { outline-offset: 4px; }

/* Footer */
.site-footer .wrap { padding-block: 22px 30px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--quiet); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-row a { color: inherit; text-decoration: none; }
.footer-row .arrow { width: .75em; height: .75em; margin-left: 6px; }
.footer-row a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .band-grid { grid-template-columns: minmax(0, 1fr); }
  .label { padding-top: 0; }
}
@media (max-width: 720px) {
  .family-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "pic"; row-gap: 28px; }
  .portrait { max-width: 420px; }
  .ventures { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 170px; padding: 28px; }
}
@media (max-width: 500px) {
  .venture-body { padding: 24px; }
  .btn { width: 100%; justify-content: center; }
  .footer-row { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .venture, .btn { transition: none; }
}
