/* Uchenna Onuzo — personal site
   Palette comes from the portrait: blazer navy, a deep forest green, marigold from the pendant. */
:root {
  --ink: #13203a;
  --forest: #0e3b36;
  --forest-2: #17544c;
  --paper: #f2f5f3;
  --white: #ffffff;
  --marigold: #e3a52d;
  --line: #cbd6d0;
  --muted: #4a5963;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, serif;
  --heading: "Source Serif 4", Georgia, serif;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--marigold); text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5.25rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.7vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); letter-spacing: -0.005em; line-height: 1.2; }
h4 { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 0; }
.lede { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.5; max-width: 56ch; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--forest-2); margin: 0 0 1rem; }
.small { font-size: 0.95rem; color: var(--muted); }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.wordmark { font-family: var(--heading); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.015em; text-decoration: none; }
.site-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav a { font-family: var(--display); font-weight: 500; font-size: 1rem; text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--marigold); }
.site-nav a.nav-cta { background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 4px; border-bottom: 0; }
.site-nav a.nav-cta:hover { background: var(--forest); }
.nav-toggle { display: none; font: 600 1rem var(--display); background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 4px; padding: 8px 14px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; text-decoration: none; padding: 14px 24px; border-radius: 4px; border: 0; cursor: pointer; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--forest); }
.btn-gold { background: var(--marigold); color: var(--ink); }
.btn-gold:hover { background: #f0b848; }
.text-link { font-family: var(--display); font-weight: 600; text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 3px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 2rem; }

/* ---------- bands ---------- */
.band { padding-block: clamp(64px, 9vw, 120px); }
.band-white { background: var(--white); }
.band-forest { background: var(--forest); color: var(--paper); }
.band-forest .kicker { color: var(--marigold); }
.band-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.band-head h2 { margin: 0; }
.band-head p { margin: 0; }

/* ---------- home hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 84px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.hero h1 span { display: block; color: var(--forest-2); }
.hero-figure { position: relative; margin: 0; }
.hero-figure .portrait { background: var(--forest); border-radius: 4px 120px 4px 4px; overflow: hidden; aspect-ratio: 4 / 5; }
.hero-figure .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.fig-chart { margin: 2.2rem 0 0; max-width: 340px; }
.fig-chart figcaption { font-family: var(--display); font-size: 0.92rem; font-weight: 500; line-height: 1.45; color: var(--muted); margin-top: 10px; }
.fig-chart text { font-family: var(--display); font-size: 11px; fill: var(--muted); }
.curve { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s ease-out 0.3s forwards; }
.curve-b { animation-delay: 0.7s; }
.meet { opacity: 0; transform-origin: 108px 78px; animation: pop 0.5s ease-out 1.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }

.orgs { border-block: 1px solid var(--line); padding-block: 22px; }
.orgs-row { display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: baseline; }
.orgs-row p { margin: 0; font-family: var(--display); font-weight: 600; font-size: 0.98rem; color: var(--muted); }
.orgs-row ul { display: flex; flex-wrap: wrap; gap: 6px 30px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }

/* ---------- practices (three columns divided by rules) ---------- */
.practices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.practice { padding: 28px 32px 8px 0; }
.practice + .practice { border-left: 1px solid var(--line); padding-left: 32px; }
.practice h3 { margin-bottom: 0.6em; }
.practice .proof { font-size: 0.98rem; color: var(--muted); border-left: 3px solid var(--marigold); padding-left: 14px; margin-block: 1.2em; }

/* ---------- record ledger ---------- */
.ledger { border-top: 1px solid rgba(242, 245, 243, 0.3); }
.ledger li { display: grid; grid-template-columns: minmax(280px, 3fr) minmax(0, 5fr) minmax(0, 3fr); gap: 8px 40px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid rgba(242, 245, 243, 0.3); }
.ledger .fig { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; color: var(--marigold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger .what { font-size: 1.15rem; }
.ledger .where { font-family: var(--display); font-size: 0.98rem; opacity: 0.8; }

/* ---------- work teasers and case list ---------- */
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.teaser { background: var(--paper); border-top: 6px solid var(--forest); padding: 28px 26px 26px; display: flex; flex-direction: column; text-decoration: none; }
.teaser:hover { border-top-color: var(--marigold); }
.teaser .tag { font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--forest-2); margin-bottom: 1.2rem; }
.teaser h3 { margin-bottom: 0.6em; }
.teaser p { font-size: 1.02rem; }
.teaser .more { margin-top: auto; font-family: var(--display); font-weight: 600; text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 3px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.filters button { font: 600 1rem var(--display); color: var(--ink); background: transparent; border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px 64px; padding-block: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.case[hidden] { display: none; }
.case-meta { font-family: var(--display); font-size: 0.98rem; color: var(--muted); }
.case-meta strong { display: block; color: var(--forest-2); font-weight: 600; margin-bottom: 0.6rem; }
.case-meta h3 { color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.5em; }
.case-result { background: var(--white); border-left: 6px solid var(--marigold); padding: 18px 22px; margin-top: 1.4em; }
.case-result p { margin: 0; }
.case-result b { font-family: var(--display); }
.more-work li { padding-block: 16px; border-top: 1px solid var(--line); max-width: 80ch; }

/* ---------- inner page head ---------- */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 18ch; }

/* photo headers: Advisory, Selected work, Writing and speaking */
.page-advisory .page-head, .page-work .page-head, .page-writing-speaking .page-head { position: relative; overflow: hidden; }
.page-advisory .page-head .wrap, .page-work .page-head .wrap, .page-writing-speaking .page-head .wrap { position: relative; }
.page-advisory .page-head::before, .page-work .page-head::before, .page-writing-speaking .page-head::before {
  content: ""; position: absolute; top: 0; right: 0; height: 100%; width: min(62vw, 1250px);
  background: linear-gradient(90deg, var(--paper) 3%, rgba(242, 245, 243, 0) 48%), url("advisory-desk.webp") right center / cover no-repeat;
}
.page-work .page-head::before { background-image: linear-gradient(90deg, var(--paper) 3%, rgba(242, 245, 243, 0) 52%), url("work-reports.webp"); }
.page-writing-speaking .page-head::before { background-image: linear-gradient(90deg, var(--paper) 3%, rgba(242, 245, 243, 0) 50%), url("speaking-lectern.webp"); }
/* mid-width screens: keep the photo beside the text, with a narrower text column */
@media (min-width: 1181px) and (max-width: 1320px) {
  .page-advisory .page-head h1, .page-work .page-head h1, .page-writing-speaking .page-head h1 { max-width: 13ch; }
  .page-advisory .page-head .lede, .page-work .page-head .lede, .page-writing-speaking .page-head .lede { max-width: 40ch; }
}
/* small laptops, tablets and phones: the photo becomes a band under the text */
@media (max-width: 1180px) {
  .page-advisory .page-head, .page-work .page-head, .page-writing-speaking .page-head { padding-bottom: calc(clamp(170px, 46vw, 340px) + 8px); }
  .page-advisory .page-head::before, .page-work .page-head::before, .page-writing-speaking .page-head::before {
    top: auto; bottom: 0; left: 0; width: 100%; height: clamp(170px, 46vw, 340px);
    background-size: 100% 100%, 150% auto; background-position: 0 0, right 60%; transform-origin: center bottom;
  }
  .page-advisory .page-head::before { background-image: linear-gradient(180deg, var(--paper) 0%, rgba(242, 245, 243, 0) 45%), url("advisory-desk.webp"); }
  .page-work .page-head::before { background-image: linear-gradient(180deg, var(--paper) 0%, rgba(242, 245, 243, 0) 45%), url("work-reports.webp"); }
  .page-writing-speaking .page-head::before { background-image: linear-gradient(180deg, var(--paper) 0%, rgba(242, 245, 243, 0) 45%), url("speaking-lectern.webp"); }
}

/* ---------- about ---------- */
.page-about .page-head { background: #f1f3f2 url("about-map.webp") right max(0px, calc((100vw - 1200px) / 2)) center / auto 86% no-repeat; }
.page-about .page-head .lede { max-width: 50ch; }
@media (max-width: 1180px) {
  .page-about .page-head { background-position: right -2vw bottom -4vw; background-size: 130% auto; padding-bottom: 42vw; }
}
@media (max-width: 700px) {
  .page-about .page-head { background-position: right -4vw bottom -6vw; background-size: 185% auto; padding-bottom: 58vw; }
}
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-grid .portrait { border-radius: 4px 100px 4px 4px; overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: 100px; }
.about-grid .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pull { font-family: var(--heading); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; letter-spacing: -0.015em; border-left: 6px solid var(--marigold); padding-left: 22px; margin-block: 1.6em; max-width: 30ch; }

.route { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 8px; }
.route li { position: relative; padding: 34px 16px 0 0; }
.route li::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: rgba(242, 245, 243, 0.45); }
.route li::after { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--marigold); }
.route li:last-child::before { right: auto; width: 0; }
.route .city { font-family: var(--display); font-weight: 700; font-size: 1.3rem; display: block; }
.route .yrs { font-family: var(--display); font-size: 0.95rem; opacity: 0.8; display: block; margin-bottom: 6px; }
.route .did { font-size: 0.98rem; line-height: 1.45; display: block; }

.timeline li { display: grid; grid-template-columns: minmax(130px, 2fr) minmax(0, 9fr); gap: 8px 40px; padding-block: 26px; border-top: 1px solid var(--line); }
.timeline .when { font-family: var(--display); font-weight: 600; color: var(--forest-2); }
.timeline h3 { margin-bottom: 0.2em; }
.timeline .org { font-family: var(--display); font-weight: 500; color: var(--muted); margin-bottom: 0.6em; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.plain-list li { padding-block: 12px; border-top: 1px solid var(--line); }
.plain-list li span { display: block; font-family: var(--display); font-size: 0.95rem; color: var(--muted); }

/* ---------- advisory ---------- */
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px 64px; padding-block: clamp(40px, 5vw, 64px); border-top: 3px solid var(--ink); scroll-margin-top: 90px; }
.service h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.service-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 1.4em; }
.service-cols h4 { color: var(--forest-2); margin-bottom: 0.6em; }
.ticks li { position: relative; padding: 0 0 10px 22px; font-size: 1.02rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 3px; background: var(--marigold); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; border-top: 1px solid rgba(242, 245, 243, 0.4); padding-top: 18px; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: var(--marigold); display: block; line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; }
.steps p { font-size: 1rem; line-height: 1.5; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.ways > div { border-top: 1px solid var(--line); padding-block: 26px; }

/* ---------- writing & speaking ---------- */
.pubs li { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 7fr) minmax(0, 3fr); gap: 6px 36px; padding-block: 24px; border-top: 1px solid var(--line); align-items: baseline; }
.pubs .yr { font-family: var(--display); font-weight: 600; color: var(--forest-2); }
.pubs h3 { font-size: 1.25rem; margin-bottom: 0.35em; }
.pubs h3 a { text-decoration-color: var(--marigold); text-decoration-thickness: 2px; }
.pubs p { margin: 0; font-size: 1.02rem; }
.pubs .pub { font-family: var(--display); font-size: 0.98rem; color: var(--muted); }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.topics > div { border-top: 1px solid rgba(242, 245, 243, 0.35); padding-block: 28px; }
.topics p { font-size: 1.05rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-form { background: var(--white); padding: clamp(24px, 3.5vw, 44px); border-top: 6px solid var(--forest); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 4px; padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--marigold); outline-offset: 1px; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.95rem; color: var(--muted); margin-top: 14px; }
.email-big { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -0.01em; }

/* ---------- cta band + footer ---------- */
.cta-band { background: var(--forest); color: var(--paper); padding-block: clamp(56px, 8vw, 100px); }
.cta-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px 64px; align-items: center; }
.cta-row h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); }
.cta-row p { margin-bottom: 1.4em; }
.site-footer { background: var(--ink); color: var(--paper); padding-block: 48px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 28px 48px; }
.footer-name { font-family: var(--heading); font-weight: 700; font-size: 1.4rem; margin-bottom: 0.4em; }
.footer-links { font-family: var(--display); display: grid; gap: 6px; }
.site-footer .fine { font-size: 0.9rem; opacity: 0.7; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .band-head, .about-grid, .case, .service, .contact-grid, .cta-row { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { max-width: 460px; }
  .practices { grid-template-columns: 1fr; }
  .practice, .practice + .practice { border-left: 0; padding: 24px 0 8px; border-top: 1px solid var(--line); }
  .practice:first-child { border-top: 0; }
  .teasers { grid-template-columns: 1fr; }
  .ledger li { grid-template-columns: 1fr; gap: 6px; }
  .route { grid-template-columns: 1fr; }
  .route li { padding: 0 0 26px 34px; }
  .route li::before { top: 9px; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .route li::after { top: 6px; }
  .route li:last-child::before { height: 0; }
  .about-grid .portrait { position: static; max-width: 380px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pubs li { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .orgs-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-nav a { font-size: 1.15rem; }
}
@media (max-width: 760px) {
  .two-col, .service-cols, .ways, .topics, .steps, .footer-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; }
  body { font-size: 1.0625rem; }
}
/* ---------- motion ---------- */
/* Everything here is gated on the .js class, so the site reads normally without scripts. */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* page load: header text rises in, photo settles */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
.js .page-head .kicker, .js .hero .kicker { animation: rise 0.6s ease both; }
.js .page-head h1, .js .hero h1 { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.08s both; }
.js .page-head .lede, .js .hero .lede { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.22s both; }
.js .hero .actions, .js .page-head .lede ~ * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.34s both; }
.js .page-head::before { animation: settle 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; transform-origin: right center; }
.js .hero-figure .portrait { animation: slide-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
/* the chart draws itself when its section scrolls into view */
.js [data-reveal] .curve, .js [data-reveal] .meet { animation-play-state: paused; }
.js [data-reveal].in .curve, .js [data-reveal].in .meet { animation-play-state: running; }
.js .contact-form { animation: slide-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }

/* the route on About draws itself stop by stop */
.js .route li::before { transform: scaleX(0); transform-origin: left center; transition: transform 0.7s ease; transition-delay: calc(var(--d, 0ms) + 200ms); }
.js .route li.in::before { transform: none; }
.js .route li::after { transform: scale(0); transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); transition-delay: var(--d, 0ms); }
.js .route li.in::after { transform: none; }

/* answers to the pointer */
.btn, .site-nav a, .filters button { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.teaser { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.2s ease, opacity 0.7s ease; }
.js .teaser.in { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.2s ease, opacity 0.7s ease; }
.js .teaser.in:hover, .teaser:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(19, 32, 58, 0.5); }
.ledger li .fig { transition: transform 0.3s ease; transform-origin: left center; }
.ledger li:hover .fig { transform: scale(1.06); }
.site-header { transition: box-shadow 0.3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(19, 32, 58, 0.6); }
.case-result { transition: border-left-width 0.25s ease; }
.case:hover .case-result { border-left-width: 12px; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .page-head *, .js .hero *, .js .page-head::before, .js .contact-form { animation: none !important; }
  .js .route li::before, .js .route li::after { transform: none; transition: none; }
  .btn:hover, .teaser:hover, .ledger li:hover .fig { transform: none; }
  html { scroll-behavior: auto; }
  .curve { animation: none; stroke-dashoffset: 0; }
  .meet { animation: none; opacity: 1; }
}
