/* ==========================================================================
   Wise Bird Capital — site styles
   One stylesheet for every page.
   ========================================================================== */

/* ---- Fonts (self-hosted, SIL Open Font License) -------------------------- */
@font-face {
  font-family: "Frank Ruhl Libre";
  src: url("../fonts/frank-ruhl-libre-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Assistant";
  src: url("../fonts/assistant-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-latin-300-normal.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}

/* ---- Tokens --------------------------------------------------------------- */
:root {
  --mist: #f2f3f1;        /* page ground: the sky of the forest illustration */
  --fog: #e5e8e2;         /* tinted band */
  --ink: #1b2f4b;         /* deep navy from the brand deck */
  --ink-soft: #46586d;    /* secondary text on light */
  --sage: #8c9a92;
  --slate: #566c77;
  --sand: #b9bba6;
  --brass: #a17c43;       /* accent, used sparingly */
  --brass-text: #7d5d2a;  /* accent when used for small text (AA contrast) */
  --brass-light: #d3b783; /* accent on navy */
  --leaf: #8fdcae;        /* fresh green for the contact band */
  --rule: rgba(27, 47, 75, 0.17);
  --rule-on-ink: rgba(242, 243, 241, 0.22);
  --error: #9b2c2c;

  --serif: "Frank Ruhl Libre", "Times New Roman", "David", serif;
  --sans: "Assistant", "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --mark: "Oswald", "Assistant", "Arial Narrow", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --space-section: clamp(72px, 10vw, 148px);
  --header-h: 76px;
}

/* ---- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.band--ink :focus-visible { outline-color: var(--brass-light); }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(1.95rem, 3.4vw, 3rem); line-height: 1.12; }
h3 { font-size: 1.45rem; line-height: 1.25; font-weight: 500; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -0.012em; }
p { text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.nw { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--mist); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

/* ---- Buttons and links ---------------------------------------------------- */
.btn {
  display: inline-block; font: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
  padding: 0.85em 1.5em; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--mist); text-decoration: none; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn:hover { background: #26436a; border-color: #26436a; }
.btn--quiet { background: transparent; color: var(--ink); }
.btn--quiet:hover { background: var(--ink); color: var(--mist); border-color: var(--ink); }
.btn--on-ink { background: var(--mist); color: var(--ink); border-color: var(--mist); }
.btn--on-ink:hover { background: #fff; border-color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background-color 0.25s, box-shadow 0.25s;
}
.site-header.is-stuck { background: rgba(242, 243, 241, 0.94); box-shadow: 0 1px 0 var(--rule); backdrop-filter: blur(8px); }
.site-header__row { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-inline-end: auto; }
.brand__bird { flex: none; width: 40px; height: auto; color: var(--slate); }
.brand__name { direction: ltr; font-family: var(--mark); font-weight: 300; font-size: 1.32rem; letter-spacing: 0.17em; white-space: nowrap; line-height: 1; }
.site-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.site-nav a { font-size: 1.02rem; text-decoration: none; padding-block: 6px; border-bottom: 1.5px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="true"] { border-bottom-color: var(--brass); }
.site-nav .btn { font-size: 1rem; padding: 0.6em 1.2em; border-bottom-width: 1.5px; }
.site-nav .btn:hover { border-bottom-color: #26436a; }
.nav-toggle { display: none; }

@media (max-width: 480px) {
  .site-header__row { gap: 12px; }
  .brand { gap: 9px; }
  .brand__bird { width: 30px; }
  .brand__name { font-size: 1.08rem; letter-spacing: 0.14em; }
}
@media (max-width: 350px) {
  .brand__bird { display: none; }
  .brand__name { font-size: 1rem; letter-spacing: 0.12em; }
  .nav-toggle { padding-inline: 0.8em; }
}
@media (max-width: 1000px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 1rem; font-weight: 600;
    background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 0.45em 1em; cursor: pointer;
  }
  .nav-toggle__bars { width: 16px; height: 10px; border-block: 1.5px solid currentColor; }
  .site-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    background: var(--mist); border-top: 1px solid var(--rule); box-shadow: 0 18px 30px -18px rgba(27, 47, 75, 0.35);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .site-nav li + li { border-top: 1px solid var(--rule); }
  .site-nav a { display: block; padding-block: 14px; font-size: 1.15rem; border-bottom: 0; }
  .site-nav .btn { display: inline-block; margin-top: 16px; }
  .site-nav li:last-child { border-top: 0; }
  .site-header.nav-open { background: var(--mist); }
}

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); overflow: hidden; background: var(--mist); }
.hero__text { position: relative; z-index: 2; padding-top: clamp(40px, 6vw, 88px); max-width: 60rem; }
.hero h1 { max-width: 11.5em; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.1rem); line-height: 1.03; font-weight: 300; }
.hero__lede { margin-top: 1.4em; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--ink-soft); max-width: 31em; }
.hero__actions { margin-top: 2em; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { position: relative; z-index: 1; margin-top: clamp(-300px, -17vw, -40px); }
.hero__art img {
  width: 100%; height: clamp(360px, 58.4vw, 1100px); object-fit: cover; object-position: 62% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
}
.hero__bird {
  position: absolute; z-index: 1; width: clamp(54px, 6.5vw, 104px); color: var(--slate);
  inset-inline-end: 15%; top: 17%; opacity: 0.9;
  animation: glide 26s ease-in-out infinite alternate;
}
@keyframes glide {
  0%   { transform: translate(0, 0) rotate(-4deg); }
  50%  { transform: translate(-7vw, -26px) rotate(3deg); }
  100% { transform: translate(-15vw, 10px) rotate(-2deg); }
}
.hero__text > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__text > :nth-child(2) { animation-delay: 0.12s; }
.hero__text > :nth-child(3) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Sections ------------------------------------------------------------- */
.section { padding-block: var(--space-section); }
.section + .section:not(.band) { padding-top: 0; }
.section.band + .section:not(.band) { padding-top: var(--space-section); }
.band--ink { background: var(--ink); color: var(--mist); }
.band--fog { background: var(--fog); }
.band--ink .muted { color: #c3ccd6; }
.muted { color: var(--ink-soft); }
.section__head { max-width: 44rem; margin-bottom: clamp(36px, 5vw, 68px); }
.section__head p { margin-top: 1.1em; color: var(--ink-soft); max-width: 38em; }

.split { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: 1fr; } }

/* Firm (the forest floor) */
.firm { padding-top: clamp(40px, 6vw, 80px); }
.firm__lead { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.45rem); line-height: 1.24; font-weight: 300; }
.firm__body p + p { margin-top: 1em; }
.facts { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-on-ink); }
.facts > div { padding-block: 22px 4px; padding-inline: 0 20px; }
.facts > div + div { border-inline-start: 1px solid var(--rule-on-ink); padding-inline-start: 20px; }
.facts dt { font-size: 0.98rem; color: #c3ccd6; }
.facts dd { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; margin-top: 4px; }
@media (max-width: 620px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; padding-inline: 0; }
  .facts > div + div { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--rule-on-ink); }
  .facts dd { margin-top: 0; font-size: 1.4rem; }
}

/* Approach: two halves joined by a plus */
.pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.pair__half { padding-block: clamp(28px, 4vw, 48px); }
.pair__half:first-child { padding-inline-end: clamp(28px, 5vw, 72px); }
.pair__half:last-child { padding-inline-start: clamp(28px, 5vw, 72px); border-inline-start: 1px solid var(--rule); }
.pair__plus {
  position: absolute; inset-inline-start: 50%; top: clamp(28px, 4vw, 48px); width: 40px; height: 40px; margin-inline-start: -20px;
  border-radius: 50%; background: var(--mist); border: 1px solid var(--brass); color: var(--brass);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; line-height: 1;
}
.pair__source { color: var(--ink-soft); margin-top: 4px; font-size: 1.02rem; }
.ticks { margin-top: 1.4em; }
.ticks li { position: relative; padding-inline-start: 1.5em; padding-block: 0.5em; border-top: 1px solid var(--rule); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.18em; width: 0.62em; height: 1.5px; background: var(--brass); }
.band--ink .ticks li { border-top-color: var(--rule-on-ink); }
.band--ink .ticks li::before { background: var(--brass-light); }
.pair__sum { border-top: 1px solid var(--rule); padding-top: clamp(24px, 3vw, 36px); font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.3; }
@media (max-width: 760px) {
  .pair { grid-template-columns: 1fr; }
  .pair__half:first-child { padding-inline-end: 0; }
  .pair__half:last-child { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--rule); }
  .pair__plus { top: auto; position: relative; inset-inline-start: 0; margin: -20px 0 -20px; }
}

/* Process: a real sequence, so it is numbered */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 30px; padding-inline-end: clamp(16px, 2.5vw, 36px); border-top: 1px solid var(--ink); }
.steps li::before {
  content: counter(step); position: absolute; top: -19px; inset-inline-start: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--mist); display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; line-height: 1;
}
.steps h3 { margin-bottom: 0.45em; }
.steps p { color: var(--ink-soft); font-size: 1.06rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { border-top: 0; border-inline-start: 1px solid var(--ink); padding: 0 0 34px; padding-inline-start: 36px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { top: -4px; inset-inline-start: -19px; }
}

/* Research: ATHENA */
.section__head p.research__lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.4; color: var(--ink); }
.dims__title { font-family: var(--sans); font-weight: 600; font-size: 1.06rem; padding-bottom: 14px; }
.dims { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 44px); }
.dims > div { padding-block: 18px; border-top: 1px solid var(--rule); }
.dims dt { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.dims dd { color: var(--ink-soft); font-size: 1.04rem; margin-top: 2px; }
@media (max-width: 520px) { .dims { grid-template-columns: 1fr; } }

/* Portfolio and risk */
.sleeves { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-top: 1px solid var(--rule); }
.sleeves > div { padding-block: clamp(28px, 4vw, 44px); }
.sleeves > div:first-child { padding-inline-end: clamp(28px, 5vw, 72px); }
.sleeves > div:last-child { padding-inline-start: clamp(28px, 4vw, 56px); border-inline-start: 1px solid var(--rule); }
.sleeves__horizon { color: var(--brass-text); font-weight: 600; margin-top: 4px; }
.sleeves p.muted { margin-top: 1.2em; }
.risk { border-top: 1px solid var(--rule); padding-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px clamp(24px, 4vw, 56px); }
.risk ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(20px, 3vw, 40px); }
.risk li { color: var(--ink-soft); padding-top: 14px; border-top: 1.5px solid var(--sage); font-size: 1.06rem; }
@media (max-width: 860px) {
  .sleeves { grid-template-columns: 1fr; }
  .sleeves > div:first-child { padding-inline-end: 0; }
  .sleeves > div:last-child { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--rule); }
  .risk, .risk ul { grid-template-columns: 1fr; }
}

/* Structure */
.terms > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding-block: 15px; border-top: 1px solid var(--rule); }
.terms > div:last-child { border-bottom: 1px solid var(--rule); }
.terms dt { color: var(--ink-soft); }
.terms dd { font-weight: 600; }
.providers li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-block: 15px; border-top: 1px solid var(--rule); }
.providers li:last-child { border-bottom: 1px solid var(--rule); }
.providers strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.providers span { color: var(--ink-soft); text-align: end; }
.col-title { font-family: var(--sans); font-weight: 600; font-size: 1.06rem; padding-bottom: 14px; }
.member { margin-top: 26px; display: flex; gap: 14px; align-items: center; color: var(--ink-soft); }
.member::before { content: ""; flex: none; width: 26px; height: 1.5px; background: var(--brass); }

/* Team */
.team { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.team__portrait { width: 210px; aspect-ratio: 1; border-radius: 50%; background: #ebe7d8; }
.team__role { color: var(--ink-soft); margin-top: 6px; font-size: 1.1rem; }
.team__bio { margin-top: 1.4em; max-width: 40em; }
.team__bio p + p { margin-top: 1em; }
.team__creds { margin-top: 1.8em; max-width: 40em; }
.team__link { display: inline-block; margin-top: 1.6em; font-weight: 600; }
@media (max-width: 720px) { .team { grid-template-columns: 1fr; } .team__portrait { width: 140px; } }

/* Contact */
.band--ink h2 + p { margin-top: 0.8em; max-width: 30em; }
#contact h2 { color: var(--leaf); }
.contact__logo { width: 270px; margin-bottom: 24px; margin-inline-start: -14px; }
.contact__direct { margin-top: 2em; display: grid; gap: 4px; }
.contact__direct a { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--leaf); text-decoration-color: rgba(143, 220, 174, 0.5); width: fit-content; }
.contact__who { margin-top: 1.6em; color: #c3ccd6; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.form .field--wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.field .optional { font-weight: 400; color: #c3ccd6; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--mist); background: rgba(242, 243, 241, 0.06);
  border: 1px solid rgba(242, 243, 241, 0.38); border-radius: 6px; padding: 0.7em 0.85em; line-height: 1.4;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(242, 243, 241, 0.7); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: #f2a9a0; }
.field__error { color: #f6c1ba; font-size: 0.98rem; margin-top: 6px; }
.field input[dir="ltr"] { text-align: start; }
#contact .btn--on-ink { background: var(--leaf); border-color: var(--leaf); }
#contact .btn--on-ink:hover { background: #a9e8c2; border-color: #a9e8c2; }
#contact :focus-visible { outline-color: var(--leaf); }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.form__status { flex: 1 1 260px; font-size: 1.04rem; }
.form__status[data-state="ok"] { color: #cfe6d4; }
.form__status[data-state="error"] { color: #f6c1ba; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding-block: clamp(36px, 5vw, 56px) 36px; }
.site-footer__legal { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.6; max-width: 64rem; }
.site-footer__legal p + p { margin-top: 0.9em; }
.site-footer__copy { margin-top: 24px; font-size: 0.97rem; color: var(--ink-soft); }
.site-footer__copy a { margin-inline-start: 18px; white-space: nowrap; }

/* ---- Text pages (legal, 404) ---------------------------------------------- */
.page-head { padding-block: clamp(48px, 8vw, 104px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.08; font-weight: 300; }
.page-head p { margin-top: 1em; color: var(--ink-soft); max-width: 40em; }
.prose { max-width: 46rem; padding-block: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.2em; padding-top: 1.1em; border-top: 1px solid var(--rule); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; margin-top: 1.7em; }
.prose p, .prose ul { margin-top: 0.85em; }
.prose ul { list-style: disc; padding-inline-start: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose .updated { color: var(--ink-soft); font-size: 1rem; }
.notfound { min-height: 56vh; display: grid; align-content: center; padding-block: 80px; }
.notfound h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 300; line-height: 1.1; }
.notfound p { margin-top: 1em; color: var(--ink-soft); }
.notfound .hero__actions { margin-top: 1.8em; }

/* ---- Optional performance section (see optional/ in the package) ---------- */
.perf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.perf__chart { width: 100%; height: auto; overflow: visible; }
.perf__chart .pos { fill: var(--slate); }
.perf__chart .neg { fill: #a8554f; }
.perf__chart .axis { stroke: var(--ink); stroke-width: 1; }
.perf__chart text { font-family: var(--sans); font-size: 15px; fill: var(--ink-soft); text-anchor: middle; }
.perf__chart text.val { font-weight: 600; fill: var(--ink); }
.perf__totals > div { padding-block: 16px; border-top: 1px solid var(--rule); }
.perf__totals dd { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.05; direction: ltr; unicode-bidi: isolate; }
.perf__totals dt { color: var(--ink-soft); }
.perf__note { margin-top: 36px; color: var(--ink-soft); font-size: 0.97rem; max-width: 60rem; }
@media (max-width: 860px) { .perf { grid-template-columns: 1fr; } }

/* ---- Motion and print ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bird, .hero__text > * { animation: none; }
  * { transition: none !important; }
}
@media print {
  .site-header, .hero__art, .form, .nav-toggle { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .band--ink { background: #fff; color: #000; }
}
