:root {
  color-scheme: light;
  --white: #ffffff;
  --page-bg: var(--white);
  --soft: #f3f5f5;
  --surface-teal: #e9f1f0;
  --surface-coral: #EEF2FA;
  --ink: #111111;
  --on-ink: var(--white);
  --body: #333838;
  --muted: #606868;
  --coral: #c4433a;
  --coral-dark: #a93631;
  --coral-text: var(--coral-dark);
  --petrol: #0a5b5e;
  --petrol-dark: #08484b;
  --petrol-panel: var(--petrol);
  --line: #d7dddd;
  --line-strong: #8d9797;
  --portrait-placeholder: #dce7e6;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Literata", Georgia, serif;
  --width: 1360px;
  --gutter: 20px;
  --focus: 0 0 0 3px var(--page-bg), 0 0 0 6px var(--petrol);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #202a2b;
  --soft: #2a3636;
  --surface-teal: #293a39;
  --surface-coral: #20263B;
  --ink: #f3f2eb;
  --on-ink: #202a2b;
  --body: #d0d7d5;
  --muted: #aab4b1;
  --coral-text: #ff8b82;
  --petrol: #79cbc7;
  --petrol-dark: #a2e1dd;
  --petrol-panel: #08484b;
  --line: #3f4c4d;
  --line-strong: #667374;
  --portrait-placeholder: #2a3534;
  --focus: 0 0 0 3px var(--page-bg), 0 0 0 6px var(--petrol);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--page-bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--petrol); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol-dark); }
button, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 500; letter-spacing: -.025em; line-height: 1.13; text-wrap: pretty; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.65rem); }
p { margin-bottom: 1rem; }
.container { width: 100%; max-width: var(--width); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; z-index: 200; top: 10px; left: 10px; padding: 10px 14px;
  transform: translateY(-160%); background: var(--ink); color: var(--on-ink);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); border: 0;
}

/* Shared navigation */
.site-header { position: relative; z-index: 20; background: var(--page-bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 18px; }
.brand, .footer-brand { display: inline-flex; min-width: 0; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; flex: 0 0 auto; }
.brand-copy { display: grid; min-width: 0; line-height: 1.2; }
.brand-name { font-size: 12px; font-weight: 750; letter-spacing: -.015em; white-space: nowrap; }
.brand-role { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .095em; text-transform: uppercase; }
.desktop-nav { display: none; align-items: center; gap: clamp(14px, 2vw, 28px); }
.desktop-nav a:not(.button) {
  position: relative; padding-block: 8px; color: var(--ink); font-size: 13px;
  font-weight: 620; text-decoration: none;
}
.desktop-nav a:not(.button)::after {
  position: absolute; right: 0; bottom: 1px; left: 0; height: 2px;
  transform: scaleX(0); transform-origin: left; background: var(--coral); content: "";
  transition: transform .18s ease;
}
.desktop-nav a:not(.button):hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.desktop-nav a[aria-current="page"] { color: var(--petrol); }
.mobile-menu-toggle { display: none; }

/* Buttons and editorial labels */
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 18px; border: 1px solid transparent; border-radius: 0;
  font: 700 14px/1.2 var(--sans); text-align: center; text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.button-icon { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--coral); color: var(--white); }
.button-primary:hover { background: var(--coral-dark); color: var(--white); }
.button-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--petrol); color: var(--petrol); }
.hero-actions, .page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.section-index, .eyebrow, .meta-label {
  margin-bottom: 12px; color: var(--petrol); font-size: 11px; font-weight: 780;
  letter-spacing: .105em; line-height: 1.35; text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { display: inline-block; width: 26px; height: 2px; flex: 0 0 auto; background: var(--coral); content: ""; }
.lead { max-width: 66ch; color: var(--body); font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.55; }
.text-link { display: inline-block; color: var(--petrol); font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--coral-text); }
.editorial-line { font: 400 clamp(1.55rem, 3vw, 2.2rem)/1.25 var(--display); letter-spacing: -.02em; }

/* Home: a short narrative, one evidence point at a time */
.home-hero { padding-block: 34px 28px; background: var(--surface-teal); }
.home-hero-grid { display: grid; gap: 26px; }
.home-hero-copy { max-width: 760px; }
.home-hero h1 { max-width: 14ch; margin: 17px 0 19px; font-size: clamp(2.25rem, 4vw, 3.25rem); }
.home-hero .lead { max-width: 58ch; margin-bottom: 24px; }
.home-signal { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-signal-inner { display: grid; gap: 12px; padding-block: 22px 16px; }
.home-signal-heading { display: grid; gap: 5px; padding-bottom: 2px; }
.home-signal-heading .section-index { margin: 0; font-size: 11px; }
.home-signal-heading h2 { max-width: none; margin: 0; font-size: 24px; line-height: 1.2; }
.home-signal-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.home-signal-link { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 3px 9px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.home-signal-link:hover strong { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
.home-signal-number { grid-column: 1; grid-row: 1 / span 2; color: var(--coral-text); font: 500 13px/1.2 var(--display); }
.home-signal-link strong { grid-column: 2; font-size: 16px; line-height: 1.35; }
.home-signal-link small { grid-column: 2; color: var(--muted); font-size: 14px; line-height: 1.45; }
.home-signal-arrow { grid-column: 3; grid-row: 1; color: var(--petrol); font-size: 12px; }
.home-method { padding-block: 58px; }
.home-method-grid { display: grid; gap: 24px; }
.home-method h2 { max-width: 17ch; margin-bottom: 14px; }
.home-method-intro { max-width: 42ch; margin: 0; color: var(--body); font-size: 16px; line-height: 1.55; }
.home-method-visual { display: grid; min-width: 0; place-items: center; margin: 0; padding: 8px; border: 1px solid var(--line); background: var(--page-bg); }
.home-method-visual img { display: block; width: 100%; height: auto; object-fit: contain; }
.context-section { padding-block: 52px; background: var(--soft); }
.context-heading { max-width: 740px; margin-bottom: 26px; }
.context-heading h2 { max-width: 16ch; margin-bottom: 12px; }
.context-heading p:last-child { max-width: 60ch; margin-bottom: 0; color: var(--body); }
.context-list { border-top: 1px solid var(--line-strong); }
.context-item { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.context-item h3 { margin: 0; font-size: 20px; }
.context-item p { max-width: 54ch; margin: 0; color: var(--body); font-size: 14px; }
.context-item a { justify-self: start; margin-top: 3px; }
.home-trajectory { display: grid; gap: 24px; padding-block: 58px; }
.trajectory-photo { overflow: hidden; margin: 0; background: var(--soft); }
.trajectory-photo img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: center 30%; }
.trajectory-copy h2 { max-width: 16ch; margin-bottom: 15px; }
.trajectory-copy > p:not(.section-index) { max-width: 58ch; color: var(--body); }
.trajectory-marker { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 20px 0 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.trajectory-marker strong { color: var(--petrol); font-size: 18px; }
.trajectory-marker span { color: var(--muted); font-size: 13px; }
.research-teaser { margin-block: 0 58px; padding: 25px 22px; background: var(--petrol-panel); color: var(--white); }
.research-teaser .section-index { color: #d8eeee; }
.research-teaser h2 { max-width: 17ch; color: var(--white); }
.research-teaser p { max-width: 66ch; color: #edf6f5; }
.research-teaser .button { margin-top: 5px; }
.home-writing { padding-block: 54px; border-top: 1px solid var(--line); background: var(--soft); }
.home-writing-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.home-writing-head h2 { max-width: 16ch; margin: 0; }
.article-list { border-top: 1px solid var(--line-strong); }
.article-item { display: grid; gap: 7px; padding: 17px 14px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
.article-item:first-child { background: var(--surface-teal); }
.article-item:hover { border-left-color: var(--coral); }
.article-item time { color: var(--muted); font-size: 12px; }
.article-item h3 { margin: 0; font-size: clamp(1.2rem, 2.8vw, 1.65rem); }
.article-item h3 a { color: var(--ink); text-decoration: none; }
.article-item h3 a:hover { color: var(--petrol); }
.article-item p { max-width: 62ch; margin: 0; color: var(--body); font-size: 14px; }
.home-cta { padding-block: 42px; border-top: 1px solid var(--line); }
.home-cta h2 { max-width: 18ch; margin-bottom: 14px; }
.home-cta p { max-width: 58ch; color: var(--body); }

/* Shared page introductions and navigation */
.page-intro { padding-block: 48px 36px; border-bottom: 1px solid var(--line); background: var(--surface-teal); }
.page-intro h1 { max-width: 19ch; margin: 13px 0 17px; font-size: clamp(2.3rem, 4.5vw, 3.75rem); }
.page-intro .lead { margin-bottom: 0; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.page-meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-meta span::before { width: 6px; height: 6px; background: var(--coral); content: ""; }
.local-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.local-nav a { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 650; text-decoration: none; }
.local-nav a:hover { border-color: var(--petrol); color: var(--petrol); }
.catalog-section { padding-block: 48px; }
.catalog-heading { display: grid; gap: 10px; margin-bottom: 22px; }
.catalog-heading h2 { max-width: 22ch; margin: 0; font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
.catalog-heading > p { max-width: 56ch; margin: 0; color: var(--body); font-size: 14px; }
.catalog-list { border-top: 1px solid var(--line-strong); }
.catalog-entry { display: grid; gap: 12px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.catalog-entry-main { display: grid; grid-template-columns: 42px 1fr; gap: 13px; }
.catalog-entry-num { color: var(--petrol); font-size: 15px; font-weight: 750; }
.catalog-entry h3 { margin: 0 0 6px; font-size: 21px; }
.catalog-entry p { max-width: 60ch; margin: 0; color: var(--body); font-size: 14px; }
.catalog-entry-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding-left: 55px; color: var(--body); font-size: 12px; }
.catalog-entry-meta strong { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.catalog-entry-links { display: flex; flex-wrap: wrap; gap: 12px 18px; padding-left: 55px; font-size: 13px; }
.inventory-note { margin-top: 22px; padding: 17px; border-left: 4px solid var(--petrol); background: var(--soft); }
.inventory-note h3 { margin: 0 0 6px; font-size: 18px; }
.inventory-note p { margin: 0; color: var(--body); font-size: 13px; }

/* Project list and internal case studies */
.project-index-list { border-top: 1px solid var(--line-strong); }
.project-index-row {
  display: grid; grid-template-columns: 1fr; gap: 9px; align-items: start;
  padding-block: 16px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.project-index-row:hover { color: var(--petrol); }
.project-index-number { display: none; }
.project-index-name { display: flex; align-items: center; gap: 12px; }
.project-index-name img { width: 36px; height: 36px; }
.project-index-name small { display: block; color: var(--muted); font-size: 10px; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; }
.project-index-name strong { display: block; margin-top: 2px; color: var(--ink); font-size: 20px; }
.project-index-summary { grid-column: auto; color: var(--body); font-size: 13px; line-height: 1.5; }
.project-index-row .arrow, .arrow { display: none; }
.feature-row { display: grid; gap: 18px; padding-block: 26px; border-top: 1px solid var(--line); }
.feature-copy h3 { margin: 0 0 10px; font-size: 25px; }
.feature-copy p { max-width: 56ch; color: var(--body); }
.feature-visual { margin: 0; padding: 12px; border: 1px solid var(--line); background: var(--soft); }
.feature-visual img { width: 100%; max-height: 360px; object-fit: contain; }
.code-sample { overflow: hidden; border: 1px solid #343d3d; background: #111; color: #eef2f1; font: 13px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.code-title { display: flex; justify-content: space-between; gap: 12px; padding: 10px 13px; border-bottom: 1px solid #444; color: #d6e7e5; font: 11px/1.4 var(--sans); }
.code-lines { padding: 14px 12px; }
.code-lines > span { display: block; white-space: pre-wrap; }
.code-lines i { display: inline-block; width: 30px; color: #7d8b89; font-style: normal; }
.code-comment { color: #91aaa6; }
.code-keyword { color: #ff8b82; }
.code-number { color: #f5d384; }
.case-hero { padding-block: 34px 38px; background: var(--surface-teal); box-shadow: 0 0 0 100vmax var(--surface-teal); clip-path: inset(0 -100vmax); }
.case-hero-grid { display: grid; gap: 22px; }
.case-heading h1 { margin: 10px 0 14px; font-size: clamp(3rem, 9vw, 5.7rem); }
.case-heading .lead { margin-bottom: 20px; }
.case-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 14px; margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--line); }
.case-fact span { display: block; color: var(--muted); font-size: 10px; font-weight: 730; letter-spacing: .08em; text-transform: uppercase; }
.case-fact strong { display: block; margin-top: 3px; font-size: 13px; font-weight: 650; line-height: 1.45; }
.case-image { overflow: hidden; margin: 0; border: 1px solid var(--line); background: var(--soft); }
.case-image img { width: 100%; max-height: 500px; object-fit: contain; object-position: center; }
.case-image figcaption { padding: 11px 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.case-body { padding-block: 42px 58px; border-top: 1px solid var(--line); }
.case-layout { display: grid; gap: 24px; }
.case-sidebar { padding-top: 3px; }
.case-sidebar p { margin-bottom: 10px; }
.case-sidebar a { display: block; width: fit-content; margin: 0 0 9px; font-size: 13px; font-weight: 620; }
.case-content { max-width: 72ch; }
.case-content h2 { margin: 29px 0 10px; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.case-content h2:first-child { margin-top: 0; }
.case-content p, .case-content li { color: var(--body); }
.case-content ul { padding-left: 20px; }
.case-content li { margin-bottom: 8px; }
.case-callout { margin-block: 27px; padding: 17px 18px; border-left: 4px solid var(--coral); background: var(--soft); }
.case-callout p:last-child { margin-bottom: 0; }
.code-sample { margin-block: 22px; }

/* Research, trajectory and contact */
.research-block { display: grid; gap: 17px; padding-block: 20px; border-top: 1px solid var(--line); }
.research-block:last-child { border-bottom: 1px solid var(--line); }
.research-block h3 { margin: 0 0 8px; }
.research-block p { margin-bottom: 10px; color: var(--body); }
.research-facts { display: grid; gap: 9px; align-content: start; padding: 15px 0; border-top: 3px solid var(--petrol); border-bottom: 1px solid var(--line); }
.research-facts div { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.research-facts div:last-child { padding: 0; border: 0; }
.research-facts strong { font-size: 12px; }
.research-facts span { color: var(--muted); font-size: 12px; }
.timeline { position: relative; margin: 25px 0 0; padding: 0; list-style: none; }
.timeline::before { position: absolute; top: 7px; bottom: 6px; left: 0; width: 2px; background: var(--petrol); content: ""; }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr; gap: 6px; padding: 0 0 25px 20px; }
.timeline-item::before { position: absolute; top: 7px; left: -4px; width: 10px; height: 10px; border: 2px solid var(--page-bg); background: var(--coral); content: ""; }
.timeline-year { color: var(--petrol); font-size: 13px; font-weight: 760; }
.timeline-content { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.timeline-content h3 { margin: 0 0 3px; font-size: 20px; }
.timeline-content .timeline-org { margin: 0 0 7px; color: var(--petrol); font-size: 13px; font-weight: 650; }
.timeline-content p:last-child { margin-bottom: 0; }
.timeline-content p { color: var(--body); font-size: 14px; }
.education-list { border-top: 1px solid var(--line-strong); }
.education-item { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.education-type { margin: 0; color: var(--petrol); font-size: 10px; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.education-item h3 { margin: 0 0 4px; font-size: 19px; }
.education-item p, .education-item small { display: block; margin: 0 0 4px; color: var(--body); font-size: 13px; }
.status-note { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--petrol); background: var(--soft); color: var(--body); font-size: 13px; }
.contact-intro-grid { display: grid; gap: 26px; }
.contact-email-card { align-self: end; padding: 19px; border-left: 4px solid var(--coral); background: var(--surface-coral); }
.contact-email-card .meta-label { margin-bottom: 14px; }
.contact-email-card p:last-child { margin: 10px 0 0; color: var(--body); font-size: 13px; }
.contact-grid { display: grid; gap: 26px; padding-block: 34px 56px; }
.contact-methods { border-top: 1px solid var(--line-strong); }
.contact-method { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 8px; min-height: 66px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.contact-method span:first-child { color: var(--muted); font-size: 10px; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.contact-method strong { overflow-wrap: anywhere; font-size: 14px; }
.contact-method:hover strong { color: var(--petrol); }
.contact-method .arrow { display: none; }
.contact-note { padding: 19px; border-left: 4px solid var(--coral); background: var(--surface-coral); }
.contact-note p:last-child { margin-bottom: 0; }

/* Articles */
.article-header { padding-block: 46px 30px; border-bottom: 1px solid var(--line); background: var(--surface-teal); box-shadow: 0 0 0 100vmax var(--surface-teal); clip-path: inset(0 -100vmax); }
.article-header h1 { max-width: 18ch; margin: 13px 0 17px; font-size: clamp(2.3rem, 4.8vw, 3.65rem); }
.article-deck { max-width: 62ch; color: var(--body); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.article-body { max-width: 900px; margin-inline: auto; padding: 28px var(--gutter) 58px; }
.article-body h2 { margin: 36px 0 11px; font-size: clamp(1.65rem, 3.5vw, 2.25rem); }
.article-body p, .article-body li { color: var(--body); }
.article-body a { font-weight: 650; }
.article-figure { margin: 26px 0; }
.article-figure img { width: 100%; max-height: 430px; object-fit: contain; }
.article-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.article-end { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-note { padding-bottom: 52px; }
.note { padding: 14px 16px; border-left: 4px solid var(--petrol); background: var(--soft); color: var(--body); font-size: 13px; }

/* Footer */
.site-footer { padding-block: 25px 19px; border-top: 1px solid var(--line); background: var(--soft); }
.footer-main { display: grid; gap: 20px; }
.footer-navigation { display: grid; gap: 11px; }
.footer-note p { max-width: 38ch; margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 3px; background: #fff; }
.footer-brand strong { display: block; font-size: 12px; font-weight: 750; }
.footer-brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.footer-links, .footer-social { display: flex; flex-wrap: wrap; gap: 9px 17px; }
.footer-links a, .footer-social a { display: inline-flex; align-items: center; min-height: 32px; color: var(--body); font-size: 12px; text-decoration: none; }
.footer-links a:hover, .footer-social a:hover { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
.footer-social-group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; width: 100%; padding-top: 9px; border-top: 1px solid var(--line); }
.footer-social-label { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 18px; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-bottom p { margin: 0; }

/* Existing project and research blocks */
.route-list { border-top: 1px solid var(--line-strong); }
.route-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; min-height: 64px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.route-item:hover { color: var(--petrol); }
.route-num { color: var(--petrol); font-size: 17px; font-weight: 720; }
.route-item strong { display: block; font-size: 14px; }
.route-item small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.section { padding-block: 52px; }
.engineering-panel { margin-block: 52px; padding-block: 36px; background: var(--petrol-panel); color: var(--white); }
.engineering-panel h2, .engineering-panel h3 { color: var(--white); }
.engineering-panel p { color: #e8f1f0; }
.engineering-panel .section-index { color: #d3e7e5; }
.engineering-panel .button-primary { background: var(--coral); }
.engineering-examples { margin-top: 28px; }
.engineering-example { padding-block: 17px; border-top: 1px solid rgb(255 255 255 / .35); }
.engineering-example h3 { margin: 4px 0 7px; font-size: 21px; }
.engineering-example p { max-width: 55ch; margin: 0; font-size: 13px; }
.example-number { color: #d4eeee; font-size: 11px; font-weight: 730; }
.study-section { background: var(--soft); }
.study-grid { display: grid; gap: 25px; }
.study-copy h2 { max-width: 17ch; }
.study-copy > p { color: var(--body); }
.study-content { display: grid; min-width: 0; gap: 18px; }
.research-illustration { margin: 0; padding: 10px; border: 1px solid var(--line); background: var(--page-bg); }
.research-illustration img { width: 100%; height: auto; }
.research-illustration figcaption { padding-top: 8px; color: var(--muted); font-size: 11px; }
.profile-section { display: grid; gap: 22px; padding-block: 55px; }
.profile-photo { overflow: hidden; max-width: 420px; margin: 0; background: var(--soft); }
.profile-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 30%; }
.profile-copy h2 { max-width: 17ch; }
.profile-copy p { max-width: 58ch; color: var(--body); }
.experience-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 21px; padding-top: 15px; border-top: 1px solid var(--line); }
.experience-strip strong { display: block; font-size: 21px; }
.experience-strip small { display: block; max-width: 20ch; color: var(--muted); font-size: 11px; line-height: 1.4; }
.article-teaser { padding-block: 52px; border-top: 1px solid var(--line); }
.contact-panel { padding-block: 40px; border-top: 1px solid var(--line); background: var(--page-bg); }
.contact-panel h2 { max-width: 20ch; margin: 10px 0 13px; }
.contact-panel p { max-width: 60ch; color: var(--body); }

@media (min-width: 760px) {
  :root { --gutter: 34px; }
  .header-inner { min-height: 82px; }
  .brand img { width: 39px; height: 39px; }
  .brand-name { font-size: 13px; }
  .brand-role { font-size: 9px; }
  .desktop-nav { display: flex; }
  .contact-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(250px, .45fr); align-items: center; gap: clamp(36px, 6vw, 88px); }
  .contact-email-card { padding: 23px; }
  .home-hero { padding-block: 54px 38px; }
  .home-hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
  .home-hero-copy { padding-block: 12px; }
  .home-hero h1 { font-size: clamp(2.8rem, 4vw, 3.25rem); }
  .home-signal-inner { gap: 15px; padding-block: 27px 22px; }
  .home-signal-heading { gap: 5px; padding-bottom: 0; }
  .home-signal-heading .section-index { flex: 0 0 auto; }
  .home-signal-heading h2 { font-size: 28px; }
  .home-signal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .home-signal-link { grid-template-columns: 23px minmax(0, 1fr) auto; gap: 4px 8px; padding: 18px 16px 16px; border-top: 0; border-right: 1px solid var(--line); }
  .home-signal-link:first-child { padding-left: 0; }
  .home-signal-link:last-child { padding-right: 0; border-right: 0; }
  .home-signal-link strong { font-size: 16px; }
  .home-signal-link small { font-size: 14px; }
  .home-method { padding-block: 82px; }
  .home-method-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 58px); }
  .home-method-copy { align-self: center; }
  .home-method-visual { grid-column: 2; grid-row: 1; }
  .context-section { padding-block: 76px; }
  .context-heading { margin-bottom: 38px; }
  .context-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .context-item { align-content: start; min-height: 190px; padding: 18px 20px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .context-item:first-child { padding-left: 0; }
  .context-item:last-child { border-right: 0; }
  .context-item h3 { font-size: 21px; }
  .home-trajectory { grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(36px, 6vw, 80px); padding-block: 84px; }
  .trajectory-photo { max-width: 430px; }
.research-teaser { max-width: var(--width); margin: 0 auto 84px; padding: 40px 48px; }
  .research-teaser h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
  .home-writing { padding-block: 76px; }
  .home-writing-head { flex-direction: row; align-items: end; justify-content: space-between; gap: 30px; }
  .home-writing-head h2 { max-width: 17ch; }
  .article-item { grid-template-columns: minmax(0, 1.1fr) minmax(240px, .9fr); align-items: center; column-gap: clamp(28px, 5vw, 72px); padding: 22px 24px; }
  .article-item time { grid-column: 1; grid-row: 1; margin-bottom: 3px; }
  .article-item h3 { grid-column: 1; grid-row: 2; }
  .article-item p { grid-column: 2; grid-row: 1 / span 2; max-width: 48ch; }
  .home-cta { padding-block: 62px; }
  .page-intro { padding-block: 70px 50px; }
  .page-meta { margin-top: 23px; }
  .catalog-section { padding-block: 63px; }
  .catalog-heading { grid-template-columns: minmax(0, .9fr) minmax(0, .75fr); align-items: end; gap: 38px; margin-bottom: 34px; }
  .catalog-heading > p { justify-self: end; }
  .catalog-entry { grid-template-columns: minmax(0, 1fr) minmax(200px, .4fr); gap: 22px; padding-block: 23px; }
  .catalog-entry-main { grid-template-columns: 50px 1fr; gap: 17px; }
  .catalog-entry-meta { grid-column: 2; grid-row: 1; grid-template-columns: 1fr; padding-left: 0; }
  .catalog-entry-links { grid-column: 2; padding-left: 0; }
  .project-index-row { grid-template-columns: minmax(210px, .6fr) minmax(0, 1fr); gap: 18px; padding-block: 21px; }
  .project-index-name img { width: 43px; height: 43px; }
  .project-index-name strong { font-size: 24px; }
  .project-index-summary { grid-column: auto; font-size: 14px; }
  .feature-row { grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); align-items: center; gap: 55px; padding-block: 38px; }
  .feature-row:nth-of-type(even) { grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); }
  .feature-row:nth-of-type(even) .feature-copy { grid-column: 2; grid-row: 1; }
  .feature-row:nth-of-type(even) .feature-visual { grid-column: 1; grid-row: 1; }
  .feature-copy h3 { font-size: 34px; }
  .engineering-panel { margin-block: 72px; padding-block: 60px; }
  .engineering-panel-inner { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); column-gap: 65px; }
  .engineering-panel-intro { align-self: start; }
  .engineering-examples { grid-column: 2; grid-row: 1; margin: 0; }
  .engineering-example { padding-block: 22px; }
  .engineering-example h3 { font-size: 26px; }
  .study-grid { grid-template-columns: minmax(260px, .84fr) minmax(0, 1.16fr); gap: 58px; }
  .study-row { grid-template-columns: 120px 1fr; gap: 16px; padding-block: 20px; }
  .study-row h3 { font-size: 24px; }
  .profile-section { grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr); align-items: center; gap: 68px; padding-block: 80px; }
  .profile-photo { width: 100%; }
  .experience-strip { gap: 18px; }
  .article-teaser { padding-block: 72px; }
  .case-hero { padding-block: 50px 48px; }
  .case-hero-grid { grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(34px, 5vw, 70px); }
  .case-body { padding-block: 56px 74px; }
  .case-layout { grid-template-columns: minmax(150px, .4fr) minmax(0, 1.6fr); gap: 48px; }
  .case-sidebar { position: sticky; top: 30px; align-self: start; }
  .research-block { grid-template-columns: minmax(0, 1fr) 245px; gap: 48px; padding-block: 25px; }
  .timeline::before { left: 105px; }
  .timeline-item { grid-template-columns: 150px 1fr; gap: 18px; padding-left: 0; padding-bottom: 29px; }
  .timeline-item::before { left: 101px; }
  .timeline-year { padding-right: 20px; text-align: right; }
  .education-item { grid-template-columns: 135px 1fr; padding-block: 19px; }
  .article-header { padding-block: 64px 40px; }
  .article-body { padding-block: 34px 80px; }
  .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); gap: 58px; padding-block: 52px 74px; }
  .contact-method { grid-template-columns: 100px 1fr; min-height: 72px; }
  .footer-main { grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); align-items: start; gap: 40px; }
  .footer-navigation { justify-items: end; }
  .footer-links, .footer-social-group { justify-content: end; }
  .footer-bottom { margin-top: 26px; }
}
@media (min-width: 1120px) {
  :root { --gutter: 58px; }
  .home-hero { padding-block: 72px 48px; }
  .home-hero-grid { gap: 86px; }
  .home-method { padding-block: 96px; }
  .home-trajectory { padding-block: 96px; }
  .article-item { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); }
}
/* Curriculum: concise professional overview, internal navigation, and clear study status. */
.curriculum-page .curriculum-context-row { border-bottom-color: var(--riso-line); background: var(--riso-paper); }
.curriculum-page .curriculum-context-row .context-label { color: var(--riso-muted); }
.curriculum-page .curriculum-context-row .context-nav a::after { background: var(--riso-cobalt); }
.curriculum-page .curriculum-intro { padding-block: clamp(42px, 6vw, 78px); border-bottom: 1px solid var(--riso-lilac-line); background: var(--riso-paper); }
.curriculum-page .curriculum-hero-grid { align-items: center; gap: 26px; }
.curriculum-page .page-hero-photo img { height: clamp(240px, 26vw, 330px); max-height: none; aspect-ratio: auto; object-position: center top; }
.curriculum-page .curriculum-intro h1 { max-width: 24ch; margin-bottom: 14px; font-size: clamp(2.25rem, 7vw, 3rem); line-height: 1.08; }
.curriculum-page .curriculum-intro .lead { max-width: 54ch; font-size: 16px; line-height: 1.6; }
.curriculum-page .curriculum-intro .page-actions { gap: 10px 16px; margin-top: 18px; }
.curriculum-page .button-link { display: inline-flex; min-height: 48px; align-items: center; gap: 8px; }
.curriculum-page .button-icon--brand { fill: currentColor; stroke: none; }
.curriculum-page .curriculum-proof-band { border-bottom: 1px solid var(--riso-lilac-line); background: var(--riso-lilac-wash); }
.curriculum-page .curriculum-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; border: 0; }
.curriculum-page .curriculum-proof > div { min-width: 0; padding: 15px 16px 17px 0; }
.curriculum-page .curriculum-proof > div + div { padding-left: 20px; border-left: 1px solid var(--riso-lilac-line); }
.curriculum-page .curriculum-proof dt { margin: 0 0 4px; color: var(--riso-muted); font-size: 10px; font-weight: 700; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; }
.curriculum-page .curriculum-proof dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; margin: 0; color: var(--riso-cobalt-deep); }
.curriculum-page .curriculum-proof dd strong { color: var(--riso-cobalt-deep); font: 500 36px/1 var(--display); letter-spacing: -.045em; }
.curriculum-page .curriculum-proof dd span { display: inline; margin: 0; color: var(--riso-body); font: 400 13px/1.35 var(--sans); }
.curriculum-page .curriculum-experience,
.curriculum-page .curriculum-education,
.curriculum-page .curriculum-certifications,
.curriculum-page .curriculum-links { scroll-margin-top: 118px; }
.curriculum-page .curriculum-experience .catalog-heading > p { font-size: 15px; line-height: 1.55; }
.curriculum-page .curriculum-education { background: var(--riso-wash); }
.curriculum-page .curriculum-education-grid { display: grid; gap: 34px; }
.curriculum-page .curriculum-education-group > h3 { margin: 0 0 12px; color: var(--riso-ink); font: 500 23px/1.2 var(--display); }
.curriculum-page .curriculum-education-group .education-list { border-top: 1px solid var(--riso-line); }
.curriculum-page .curriculum-education-group .education-item { grid-template-columns: 1fr; gap: 7px; padding-block: 15px; }
.curriculum-page .education-item-kind { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.curriculum-page .curriculum-education-group .education-type { margin: 0; font-size: 12px; font-weight: 700; }
.curriculum-page .curriculum-education-group .education-state { display: inline-block; padding: 3px 7px; border-left: 2px solid var(--riso-coral); background: var(--riso-paper); color: var(--riso-muted); font: 650 10px/1.25 var(--sans); }
.curriculum-page .curriculum-education-group .education-item h4 { margin: 0 0 4px; color: var(--riso-ink); font: 500 19px/1.25 var(--display); }
.curriculum-page .curriculum-education-group .education-item p:not(.education-type),
.curriculum-page .curriculum-education-group .education-item small { display: block; margin: 0 0 4px; color: var(--riso-body); font-size: 13px; line-height: 1.5; }
.curriculum-page .curriculum-education-group .education-item small { color: var(--riso-muted); }
.curriculum-page .curriculum-education-group .education-item--current h4 { color: var(--riso-cobalt-deep); }
.curriculum-page .curriculum-links > .container > p:not(.section-index) { max-width: 62ch; }
@media (min-width: 760px) {
  .curriculum-page .curriculum-intro { padding-block: clamp(42px, 6vw, 78px); }
  .curriculum-page .curriculum-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr); gap: clamp(38px, 7vw, 108px); }
  .curriculum-page .curriculum-intro h1 { font-size: clamp(2.75rem, 4vw, 3.5rem); }
  .curriculum-page .curriculum-proof > div { padding-block: 17px 19px; }
  .curriculum-page .curriculum-proof > div + div { padding-left: 22px; }
  .curriculum-page .curriculum-proof dt { font-size: 11px; }
  .curriculum-page .curriculum-proof dd strong { font-size: 42px; }
  .curriculum-page .curriculum-proof dd span { font-size: 13px; }
  .curriculum-page .curriculum-education-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(30px, 4vw, 58px); }
  .curriculum-page .curriculum-education-group .education-item { grid-template-columns: 135px minmax(0, 1fr); gap: 18px; padding-block: 17px; }
  .curriculum-page .education-item-kind { align-content: start; flex-direction: column; gap: 6px; }
}
@media (max-width: 759px) {
  .curriculum-page .curriculum-intro { padding-top: 32px; }
  .curriculum-page .curriculum-intro h1 { max-width: 20ch; font-size: clamp(2.25rem, 8.5vw, 2.6rem); }

  .curriculum-page .curriculum-proof > div { padding: 11px 6px 12px 0; }
  .curriculum-page .curriculum-proof dt { font-size: 8px; letter-spacing: .035em; }
  .curriculum-page .curriculum-proof dd { display: grid; gap: 1px; }
  .curriculum-page .curriculum-proof dd strong { font-size: 24px; }
  .curriculum-page .curriculum-proof dd span { font-size: 9px; }
  .curriculum-page .curriculum-proof > div + div { padding-left: 8px; }
  .curriculum-page .curriculum-education-grid { gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.catalog-section--soft { background: var(--soft); }
.work-list { border-top: 1px solid var(--line-strong); }
.work-listing {
  display: grid; gap: 7px; padding: 17px 0; border-bottom: 1px solid var(--line);
}
.work-listing h3 { margin: 0 0 5px; font-size: 19px; }
.work-listing p { max-width: 64ch; margin: 0; color: var(--body); font-size: 13px; }
.work-listing .work-listing-meta { color: var(--muted); font-size: 11px; font-weight: 650; }
.initiative-list { border-top: 1px solid var(--line-strong); }
.initiative-row { display: grid; gap: 5px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.initiative-row h3 { margin: 0; font-size: 18px; }
.initiative-row p { margin: 0; color: var(--body); font-size: 13px; }
.initiative-row a { font-weight: 650; }
.page-intro--with-art .page-hero-grid { display: grid; gap: 24px; }
.page-hero-art { overflow: hidden; margin: 0; border: 1px solid var(--line); background: var(--soft); }
.page-hero-art img { width: 100%; max-height: 330px; object-fit: cover; }
.page-hero-art figcaption { padding: 10px 12px; border-left: 4px solid var(--petrol); background: var(--page-bg); color: var(--muted); font-size: 11px; line-height: 1.5; }
.page-hero-photo img { aspect-ratio: 4 / 3; object-position: center 31%; }
@media (min-width: 760px) {
  .work-listing { grid-template-columns: minmax(0, 1fr) minmax(190px, .32fr); align-items: start; gap: 30px; padding-block: 21px; }
  .work-listing .work-listing-meta { padding-top: 4px; text-align: right; }
  .initiative-row { grid-template-columns: minmax(200px, .55fr) 1fr; align-items: start; gap: 24px; padding-block: 19px; }
  .page-intro--with-art .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .63fr); align-items: center; gap: clamp(35px, 6vw, 80px); }
  .page-intro--with-art .page-hero-art img { max-height: 350px; }
}

/* Approved personal-site system: editorial type and restrained color. */
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; line-height: 1.14; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }



.button-primary { background: var(--coral); color: var(--white); }
.button-primary:hover { background: var(--coral-dark); color: var(--white); }
.home-hero { position: relative; background: var(--surface-teal); }
.home-hero::before { position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--petrol); content: ""; }
.home-hero h1 { max-width: 13ch; font-size: clamp(2.35rem, 5vw, 3.25rem); line-height: 1.12; }
.page-intro h1 { max-width: 18ch; font-size: clamp(2.35rem, 4.7vw, 3.2rem); line-height: 1.12; }
.page-intro--with-art .page-hero-art { padding: clamp(10px, 1.5vw, 18px); background: var(--page-bg); }
.page-intro--with-art .page-hero-art img { max-height: 340px; object-fit: contain; }
.page-hero-art figcaption { border-left-color: var(--coral); }
.case-hero { border-top: 4px solid var(--petrol); }
.case-heading h1 { max-width: 12ch; font-size: clamp(2.6rem, 6vw, 3.5rem); line-height: 1.08; }
.case-content { max-width: 900px; }
.case-image { background: var(--page-bg); }
.article-header { border-bottom: 0; }
.article-header h1 { max-width: 20ch; font-size: clamp(2.2rem, 4.5vw, 3rem); line-height: 1.13; }
.article-body { max-width: 900px; }
.article-body h2 { font-size: clamp(1.65rem, 3vw, 2.15rem); }
.article-list .article-item, .article-list .article-item:first-child { background: var(--page-bg); }
.article-list .article-item { grid-template-columns: minmax(100px, .38fr) minmax(0, 1.12fr) minmax(0, 1fr); gap: 14px clamp(18px, 3vw, 42px); align-items: start; padding: 21px 0; border-left: 0; border-bottom: 1px solid var(--line); }
.article-list .article-item time { grid-column: 1; grid-row: 1; margin: 4px 0 0; font-size: 11px; line-height: 1.45; }
.article-list .article-item h3 { grid-column: 2; grid-row: 1; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.18; }
.article-list .article-item p { grid-column: 3; grid-row: 1; max-width: 44ch; margin: 2px 0 0; font-size: 14px; line-height: 1.55; }
.article-list .article-item h3 a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-list .article-item:hover h3 a { color: var(--petrol); }
.contact-intro-grid { gap: clamp(22px, 4vw, 52px); }
.contact-email-card { border-left-width: 5px; border-left-color: var(--coral); background: var(--surface-coral); }
.contact-email-card .button { min-width: min(100%, 210px); }
.contact-grid { align-items: start; }
.contact-note { border-left-color: var(--petrol); background: var(--surface-teal); }
.site-footer { background: var(--soft); }
.footer-links a { min-height: 32px; }

@media (max-width: 759px) {
  :root { --gutter: 16px; }
  .home-hero { padding-block: 32px 27px; }
  .home-hero-grid { gap: 22px; }
  .home-hero h1 { max-width: 17ch; margin-block: 12px 16px; font-size: clamp(2rem, 8.5vw, 2.2rem); }
  .home-hero .lead { font-size: 17px; }
  .page-intro { padding-block: 38px 30px; }
  .page-intro--with-art .page-hero-art { padding: 8px; }
  .page-intro--with-art .page-hero-art img { max-height: 260px; }
  .case-hero { padding-block: 28px 30px; }
  .case-heading h1 { font-size: clamp(2.55rem, 11vw, 3.1rem); }
  .article-list .article-item { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 17px 0; }
  .article-list .article-item time { grid-column: 1; grid-row: 1; margin: 0 0 3px; }
  .article-list .article-item h3 { grid-column: 1; grid-row: 2; margin: 0 0 3px; font-size: 1.5rem; }
  .article-list .article-item p { grid-column: 1; grid-row: 3; margin: 0; }
  .article-body { padding-top: 24px; }
  .contact-grid { padding-top: 26px; }
}

@media (min-width: 760px) {
  .home-hero { padding-block: 58px 42px; }
  .home-hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
  .home-hero h1 { font-size: clamp(2.65rem, 4.3vw, 3.1rem); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-icon, .mobile-menu-icon::before, .mobile-menu-icon::after { transition: none; }
}

/* Selected homepage opening: portrait first on mobile, split editorial layout on desktop. */
.home-hero { padding-block: 0; background: var(--surface-teal); --home-hero-text-measure: 44rem; }
.home-hero-grid { width: 100%; max-width: none; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 0; }
.home-portrait { min-width: 0; min-height: 0; height: clamp(280px, 72vw, 360px); margin: 0; overflow: hidden; background-color: var(--portrait-placeholder); background-image: url("/assets/images/diego-professional-portrait-natural.png"); background-position: center; background-size: cover; background-repeat: no-repeat; }
.home-hero-copy { width: 100%; max-width: 760px; margin-inline: auto; padding: 25px var(--gutter) 30px; }
.home-hero h1 { margin: 12px 0 15px; font-size: clamp(2rem, 8.5vw, 2.25rem); line-height: 1.12; }
.home-hero .lead { margin-bottom: 22px; font-size: 16px; }
.home-hero h1, .home-hero .lead { max-width: min(100%, var(--home-hero-text-measure)); }
.home-method-visual img { display: block; width: 100%; height: auto; }

@media (min-width: 760px) {
  .home-hero-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; min-height: clamp(380px, 24vw, 680px); }
  .home-portrait { height: auto; aspect-ratio: auto; align-self: stretch; }
  .home-hero-copy { display: flex; max-width: none; flex-direction: column; justify-content: center; align-self: stretch; margin: 0; padding: clamp(28px, 3.4vw, 56px) clamp(24px, 3.4vw, 64px) clamp(28px, 3.4vw, 56px) calc(clamp(24px, 2.5vw, 48px) + 28px); }
  .home-hero h1 { font-size: clamp(2.5rem, 4.1vw, 3.35rem); }
  .home-hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.15rem); }
}

@media (min-width: 1120px) {
  .home-hero-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0; }
}


/* Personal header arrangement: signature, destination navigation and page anchors. */
html { scroll-padding-top: 136px; }
.site-header { position: sticky; top: 0; z-index: 100; overflow: visible; border: 0; background: var(--page-bg); }
.header-top { position: relative; z-index: 2; background: var(--page-bg); border-bottom: 1px solid transparent; box-shadow: none; }
.site-header.is-nav-hidden .header-top { border-bottom-color: var(--line); box-shadow: none; }
.header-top .header-inner {
  display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: clamp(14px, 2vw, 30px);
}
.site-header .brand {
  position: static; flex: 0 1 auto; transform: none; gap: 10px;
}
.site-header .brand img { width: 50px; height: 50px; border-radius: 3px; background: #fff; }
.site-header .brand-copy { display: grid; min-width: 0; line-height: 1.2; }
.site-header .brand-name { font: 600 13px/1.2 var(--sans); letter-spacing: -.015em; white-space: nowrap; }
.site-header .brand-role { margin-top: 4px; color: var(--muted); font: 600 9px/1.2 var(--sans); letter-spacing: .095em; text-transform: uppercase; }
.header-controls { display: flex; min-width: 0; align-items: center; gap: clamp(12px, 1.8vw, 26px); }
.primary-nav {
  display: flex; min-height: 52px; align-items: center; justify-content: flex-end;
  gap: clamp(12px, 1.65vw, 25px); overflow: visible; scrollbar-width: none;
}
.primary-nav a, .primary-nav .nav-contact {
  position: relative; display: inline-flex; min-height: 46px; align-items: center;
  padding: 0 1px; color: var(--ink); background: transparent;
  font: 400 14px/1.2 var(--display); text-decoration: none; white-space: nowrap;
}
.primary-nav a::after {
  position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; transform: scaleX(0);
  transform-origin: left; background: var(--coral); content: ""; transition: transform .18s ease;
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .primary-nav .nav-contact:hover { color: var(--coral-text); }
.primary-nav .nav-contact { min-height: 46px; }
.language-switch {
  display: inline-flex; flex: 0 0 auto; align-items: center; gap: 1px; margin-left: 0; padding: 2px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--soft);
}
.language-option {
  display: inline-grid; min-width: 29px; min-height: 27px; place-items: center; padding: 0 5px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: 600 10px/1 var(--sans); letter-spacing: .035em; text-decoration: none; opacity: 1;
}
.language-option.is-current { background: var(--ink); color: var(--on-ink); }
.language-option:disabled { color: var(--muted); cursor: not-allowed; }
.theme-toggle {
  display: inline-grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.theme-toggle:hover { border-color: var(--line-strong); background: var(--soft); }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
.mobile-menu-toggle { display: none; }
.page-context-row {
  position: relative; z-index: 1; max-height: 60px; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--soft); opacity: 1; transform: translateY(0); visibility: visible;
  transition: max-height .28s cubic-bezier(.22,.61,.36,1), opacity .2s ease, transform .24s ease,
    border-color .2s ease, visibility 0s;
}
.site-header.is-nav-hidden .page-context-row {
  max-height: 0; transform: translateY(-6px); border-top-color: transparent; border-bottom-color: transparent;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: max-height .28s cubic-bezier(.22,.61,.36,1), opacity .18s ease, transform .24s ease,
    border-color .2s ease, visibility 0s linear .28s;
}
.page-context-inner { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 24px; }
.context-label {
  flex: 0 0 auto; color: var(--ink); font: 700 9px/1.2 var(--sans);
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.context-nav {
  display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: clamp(15px, 2.3vw, 34px);
  overflow-x: auto; scrollbar-width: none;
}
.context-nav::-webkit-scrollbar { display: none; }
.context-nav a {
  position: relative; display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center;
  gap: 8px; color: var(--ink); font: 500 12px/1.25 var(--sans); text-decoration: none; white-space: nowrap;
}
.context-nav a::before {
  color: var(--coral); font: 600 9px/1 var(--sans); letter-spacing: .04em;
  content: counter(context, decimal-leading-zero);
}
.context-nav { counter-reset: context; }
.context-nav a { counter-increment: context; }
.context-nav a::after {
  position: absolute; right: 0; bottom: 4px; left: 19px; height: 1px;
  transform: scaleX(0); transform-origin: left; background: var(--petrol); content: "";
  transition: transform .18s ease;
}
.context-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 959px) {
  html { scroll-padding-top: 116px; }
  .header-top { z-index: 3; }
  .header-top .header-inner { min-height: 68px; gap: 12px; }
  .site-header .brand { max-width: min(58vw, 310px); gap: 8px; }
  .site-header .brand img { width: 40px; height: 40px; border-radius: 3px; background: #fff; }
  .site-header .brand-name { font-size: 12px; white-space: normal; }
  .site-header .brand-role { font-size: 8px; letter-spacing: .075em; }
  .header-controls { flex: 0 0 auto; gap: 8px; }
  .primary-nav {
    position: absolute; top: 100%; right: 0; left: 0; z-index: 102; display: flex;
    max-height: 0; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; overflow: hidden; padding: 0 max(var(--gutter), calc((100vw - var(--width)) / 2 + var(--gutter)));
    border-bottom: 1px solid transparent; background: var(--page-bg); opacity: 0; transform: translateY(-6px);
    visibility: hidden; pointer-events: none;
    box-shadow: 0 16px 26px rgb(17 17 17 / .09);
    transition: max-height .28s cubic-bezier(.22,.61,.36,1), opacity .2s ease, transform .24s ease,
      visibility 0s linear .28s, border-color .2s ease, padding .2s ease;
  }
  .site-header.is-menu-open .primary-nav {
    max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto;
    padding-top: 7px; padding-bottom: 18px; border-bottom-color: var(--line); opacity: 1;
    transform: translateY(0); visibility: visible; pointer-events: auto;
    transition: max-height .28s cubic-bezier(.22,.61,.36,1), opacity .2s ease, transform .24s ease,
      visibility 0s, border-color .2s ease, padding .2s ease;
  }
  .primary-nav a, .primary-nav .nav-contact {
    display: flex; min-height: 52px; justify-content: flex-start; padding: 10px 2px;
    border-bottom: 1px solid var(--line); font: 400 18px/1.3 var(--display); white-space: normal;
  }
  .primary-nav a::after { display: none; }
  .primary-nav a:hover, .primary-nav a[aria-current="page"], .primary-nav .nav-contact:hover { color: var(--coral-text); }
  .language-option { min-width: 27px; min-height: 26px; padding-inline: 3px; font-size: 10px; }
  .theme-toggle { width: 34px; height: 34px; }
  .mobile-menu-toggle {
    display: inline-flex; min-width: 64px; min-height: 40px; align-items: center; justify-content: center;
    gap: 8px; padding: 0 3px; border: 0; background: transparent; color: var(--ink); cursor: pointer;
    font: 400 14px/1 var(--display);
  }
  .mobile-menu-toggle:focus-visible { outline: 2px solid var(--petrol); outline-offset: 2px; }
  .mobile-menu-icon, .mobile-menu-icon::before, .mobile-menu-icon::after {
    display: block; width: 17px; height: 1.5px; background: currentColor; content: "";
    transition: transform .2s ease, background-color .2s ease;
  }
  .mobile-menu-icon { position: relative; flex: 0 0 17px; }
  .mobile-menu-icon::before, .mobile-menu-icon::after { position: absolute; left: 0; }
  .mobile-menu-icon::before { top: -5px; }
  .mobile-menu-icon::after { top: 5px; }
  .site-header.is-menu-open .mobile-menu-icon { background: transparent; }
  .site-header.is-menu-open .mobile-menu-icon::before { top: 0; transform: rotate(45deg); }
  .site-header.is-menu-open .mobile-menu-icon::after { top: 0; transform: rotate(-45deg); }
  .page-context-inner { min-height: 46px; gap: 15px; }
  .context-nav { justify-content: flex-start; gap: 18px; }
  .context-nav a { min-height: 44px; font-size: 11px; }
}
@media (max-width: 420px) {
  .site-header .brand { max-width: calc(100vw - 204px); }
  .site-header .brand img { width: 37px; height: 37px; border-radius: 3px; background: #fff; }
  .site-header .brand-role { display: none; }
  .site-header .brand-name { font-size: 11px; line-height: 1.15; }
  .header-controls { gap: 4px; }
  .language-switch { gap: 0; padding: 1px; }
  .language-option { min-width: 22px; min-height: 24px; padding-inline: 2px; font-size: 9px; }
  .theme-toggle { width: 30px; height: 30px; }
  .theme-toggle svg { width: 14px; height: 14px; }
  .mobile-menu-toggle { min-width: 50px; gap: 6px; font-size: 12px; }
  .context-label { font-size: 8px; letter-spacing: .09em; }
  .page-context-inner { gap: 10px; }
  .context-nav { gap: 15px; }
}
@media (max-width: 959px) {
  .page-context-row { max-height: 94px; }
  .page-context-inner { display: grid; justify-content: initial; gap: 2px; padding-block: 7px 5px; }
  .context-label { display: block; margin-bottom: 1px; }
  .context-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0 16px; overflow: visible; }
  .context-nav a { min-height: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .primary-nav a::after, .context-nav a::after, .page-context-row, .mobile-menu-icon,
  .mobile-menu-icon::before, .mobile-menu-icon::after { transition: none; }
}


/* Identidade risográfica: tokens e menu compartilhado. */
:root {
  --riso-paper: #FFFFFF;
  --riso-ink: #111111;
  --riso-body: #30303A;
  --riso-muted: #5D5B65;
  --riso-cobalt: #284BC7;
  --riso-cobalt-deep: #1C358E;
  --riso-icon-cobalt: #284BC7;
  --riso-icon-cobalt-deep: #1C358E;
  --riso-coral: #F05B65;
  --riso-coral-action: #C13E49;
  --riso-lilac: #A27BE0;
  --riso-lilac-line: #E1D8EF;
  --riso-lilac-wash: #F5F1FC;
  --riso-wash: #EEF2FA;
  --riso-potoo-wash: #EAF4EE;
  --riso-potoo-green: #168451;
  --riso-line: #D9E1EB;
}
html[data-theme="dark"] {
  --riso-paper: #171827;
  --riso-ink: #F8F6FF;
  --riso-body: #E2DFEC;
  --riso-muted: #BEB9CE;
  --riso-cobalt: #284BC7;
  --riso-cobalt-deep: #C1CCFF;
  --riso-icon-cobalt: #91A9FF;
  --riso-icon-cobalt-deep: #D2DCFF;
  --riso-coral: #FF858B;
  --riso-coral-action: #C13E49;
  --riso-lilac: #C5AEFF;
  --riso-lilac-line: #4A435E;
  --riso-lilac-wash: #29243A;
  --riso-wash: #20263B;
  --riso-potoo-wash: #1D342B;
  --riso-potoo-green: #68C98F;
  --riso-line: #3B455B;
}

/* Shared header: square controls and a risograph signature. */
.site-header {
  border-bottom: 1px solid var(--riso-line);
  background: var(--page-bg);
}
.header-top {
  border-bottom: 1px solid var(--riso-line);
}
.header-top .header-inner { min-height: 78px; }
.site-header .brand { gap: 12px; }
.site-header .brand img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--riso-ink);
  border-radius: 0;
  background: var(--riso-paper);
  box-shadow: 3px 3px 0 var(--riso-coral);
  object-fit: cover;
}
.site-header .brand-name {
  color: var(--riso-ink);
  font: 500 16px/1.15 var(--display);
  letter-spacing: -.015em;
}
.site-header .brand-role {
  color: var(--riso-muted);
  font: 600 10px/1.2 var(--sans);
  letter-spacing: .09em;
}
.header-controls { gap: clamp(11px, 1.5vw, 20px); }
.primary-nav { gap: clamp(12px, 1.7vw, 26px); }
.primary-nav a, .primary-nav .nav-contact {
  color: var(--riso-ink);
  font-size: 14px;
}
.primary-nav a::after {
  height: 3px;
  background: var(--riso-coral-action);
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.primary-nav .nav-contact:hover { color: var(--riso-cobalt-deep); }
.language-switch {
  gap: 2px;
  margin-left: 2px;
  padding: 0 0 0 8px;
  border: 0;
  border-left: 2px solid var(--riso-lilac);
  border-radius: 0;
  background: transparent;
}
.language-option {
  min-width: 28px;
  min-height: 30px;
  padding-inline: 5px;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--riso-muted);
  font-size: 11px;
}
.language-option.is-current {
  background: var(--riso-cobalt);
  color: #FFFFFF;
}
.language-option:disabled { color: var(--riso-muted); }
.theme-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid var(--riso-ink);
  border-radius: 0;
  background: transparent;
  color: var(--riso-ink);
}
.theme-toggle:hover {
  border-color: var(--riso-coral-action);
  background: var(--riso-wash);
}
.theme-toggle:focus-visible,
.mobile-menu-toggle:focus-visible { outline-color: var(--riso-cobalt); }
.page-context-row {
  border-color: var(--riso-line);
  background: var(--riso-paper);
}
.context-label { color: var(--riso-muted); }
.context-nav a { color: var(--riso-ink); }
.context-nav a::before { color: var(--riso-coral-action); }
.context-nav a::after { background: var(--riso-cobalt); }
.site-header.is-nav-hidden .header-top { border-bottom-color: var(--riso-line); }

/* Mobile menu: a compact editorial index, not a floating card. */
@media (max-width: 959px) {
  .header-top .header-inner { min-height: 68px; }
  .site-header .brand { max-width: none; gap: 0; }
  .site-header .brand-copy { display: none; }
  .site-header .brand img { width: 48px; height: 48px; box-shadow: 2px 2px 0 var(--riso-coral); }
  .header-controls { gap: 11px; }
  .language-switch { padding-left: 5px; }
  .language-option { min-width: 28px; min-height: 31px; padding-inline: 4px; font-size: 11px; }
  .theme-toggle { width: 35px; height: 35px; }
  .theme-toggle svg { width: 16px; height: 16px; }
  .mobile-menu-toggle {
    min-width: 58px;
    min-height: 40px;
    gap: 8px;
    padding-inline: 2px;
    color: var(--riso-ink);
    font: 400 15px/1 var(--display);
  }
  .mobile-menu-icon, .mobile-menu-icon::before, .mobile-menu-icon::after { background: var(--riso-cobalt); }
  .site-header.is-menu-open .mobile-menu-icon { background: transparent; }
  .primary-nav {
    border-top: 3px solid var(--riso-coral-action);
    border-bottom-color: var(--riso-line);
    background: var(--page-bg);
    box-shadow: none;
    counter-reset: mobile-nav;
  }
  .site-header.is-menu-open .primary-nav { padding-top: 7px; padding-bottom: 14px; }
  .primary-nav a, .primary-nav .nav-contact {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 54px;
    align-items: center;
    padding: 10px 0;
    border-bottom-color: var(--riso-line);
    color: var(--riso-ink);
    font: 400 19px/1.2 var(--display);
  }
  .primary-nav a::before {
    counter-increment: mobile-nav;
    color: var(--riso-coral-action);
    content: counter(mobile-nav, decimal-leading-zero);
    font: 600 12px/1 var(--sans);
  }
  .primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--riso-cobalt-deep); }
  .primary-nav .nav-contact { color: var(--riso-ink); }
  .context-nav a::before { color: var(--riso-coral-action); }
}
@media (max-width: 420px) {
  .site-header .brand img { width: 44px; height: 44px; }
  .header-controls { gap: 10px; }
  .language-switch { gap: 2px; padding-left: 5px; }
  .language-option { min-width: 26px; min-height: 29px; padding-inline: 3px; font-size: 11px; }
  .theme-toggle { width: 35px; height: 35px; }
  .theme-toggle svg { width: 16px; height: 16px; }
  .mobile-menu-toggle { min-width: 58px; gap: 8px; font-size: 13px; }
}

/* The home keeps its dedicated risograph compositions. */
body.home-page {
  --page-bg: var(--riso-paper);
  --ink: var(--riso-ink);
  --body: var(--riso-body);
  --muted: var(--riso-muted);
  --line: var(--riso-line);
  --line-strong: var(--riso-muted);
  background: var(--riso-paper);
  color: var(--riso-ink);
}
body.home-page .home-hero {
  padding-block: 0;
  background: var(--riso-lilac-wash);
}
body.home-page .home-hero::before { display: none; }
body.home-page .home-hero-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}
body.home-page .home-portrait {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: var(--riso-lilac-wash);
}
body.home-page .home-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
body.home-page .home-hero-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 27px var(--gutter) 34px;
  background: var(--riso-lilac-wash);
}
body.home-page .home-hero .eyebrow {
  color: var(--riso-cobalt-deep);
}
body.home-page .home-hero .eyebrow::before { background: var(--riso-coral-action); }
body.home-page .home-hero h1 {
  max-width: 16ch;
  margin: 11px 0 15px;
  color: var(--riso-ink);
  font-size: clamp(2.15rem, 8.1vw, 2.55rem);
  line-height: 1.08;
}
body.home-page .home-hero .lead {
  max-width: 43ch;
  margin-bottom: 23px;
  color: var(--riso-body);
  font-size: 17px;
  line-height: 1.55;
}
body.home-page .button-primary {
  background: var(--riso-coral-action);
  color: #FFFFFF;
}
body.home-page .button-primary:hover { background: var(--riso-cobalt-deep); color: #FFFFFF; }
body.home-page .button-outline { border-color: var(--riso-ink); color: var(--riso-ink); }
body.home-page .button-outline:hover { border-color: var(--riso-cobalt); color: var(--riso-cobalt-deep); }
body.home-page .section-index { color: var(--riso-cobalt-deep); }
body.home-page .text-link { color: var(--riso-cobalt-deep); }
body.home-page .text-link:hover { color: var(--riso-coral-action); }

body.home-page .home-signal {
  padding-block: 26px 30px;
  border-top: 1px solid var(--riso-line);
  border-bottom: 1px solid var(--riso-line);
  background: var(--riso-paper);
}
body.home-page .home-signal-inner { gap: 14px; padding-block: 0; }
body.home-page .home-signal-heading { gap: 5px; }
body.home-page .home-signal-heading .section-index { margin-bottom: 2px; }
body.home-page .home-signal-heading h2 { margin: 0; font-size: 26px; }
body.home-page .home-signal-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--riso-line); }
body.home-page .home-signal-link {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 2px 9px;
  padding: 16px 0;
  border-top: 0;
  border-bottom: 1px solid var(--riso-line);
}
body.home-page .home-signal-link:hover strong { color: var(--riso-cobalt-deep); }
body.home-page .home-signal-number { color: var(--riso-coral-action); }
body.home-page .home-signal-link strong { font-size: 17px; }
body.home-page .home-signal-link small { color: var(--riso-muted); font-size: 14px; }
body.home-page .home-signal-arrow { color: var(--riso-cobalt); }

body.home-page .home-method {
  padding-block: 49px;
  background: var(--riso-wash);
}
body.home-page .home-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
body.home-page .home-method-copy { max-width: 46ch; }
body.home-page .home-method-copy .section-index { color: var(--riso-cobalt-deep); }
body.home-page .home-method-copy h2 { max-width: 17ch; margin-bottom: 13px; }
body.home-page .home-method-intro { color: var(--riso-body); }
.home-method-statement {
  position: relative;
  padding: 20px 0 8px 19px;
  border-left: 4px solid var(--riso-coral-action);
}
.home-method-statement p {
  max-width: 16ch;
  margin: 0;
  color: var(--riso-cobalt-deep);
  font: 400 clamp(1.9rem, 7vw, 2.7rem)/1.15 var(--display);
  letter-spacing: -.025em;
}
.home-method-statement p span { color: var(--riso-ink); }
.home-method-inks { display: flex; margin-top: 20px; padding-left: 1px; }
.home-method-inks i { width: 18px; height: 18px; margin-left: -3px; border-radius: 50%; }
.home-method-inks i:first-child { margin-left: 0; background: var(--riso-cobalt); }
.home-method-inks i:nth-child(2) { background: var(--riso-coral); mix-blend-mode: multiply; }
.home-method-inks i:nth-child(3) { background: var(--riso-lilac); mix-blend-mode: multiply; }

body.home-page .context-section {
  padding-block: 50px;
  background: var(--riso-paper);
}
body.home-page .context-heading { margin-bottom: 22px; }
body.home-page .context-heading .section-index { color: var(--riso-coral-action); }
body.home-page .context-heading h2 { max-width: 22ch; }
body.home-page .context-heading > p:last-child { max-width: 58ch; color: var(--riso-body); }
body.home-page .context-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--riso-line); }
body.home-page .context-item {
  position: relative;
  margin: 0;
  padding: 21px 12px 20px 0;
  border: 0;
  border-bottom: 1px solid var(--riso-line);
  background: transparent;
}
body.home-page .context-item::before {
  display: block;
  width: 22px;
  height: 4px;
  margin-bottom: 15px;
  background: var(--riso-coral);
  content: "";
}
body.home-page .context-item:nth-child(2)::before { background: var(--riso-cobalt); }
body.home-page .context-item:nth-child(3)::before { background: var(--riso-lilac); }
body.home-page .context-item h3 { margin-bottom: 8px; font-size: 25px; }
body.home-page .context-item p { max-width: 41ch; color: var(--riso-body); }
body.home-page .context-item .text-link { font-size: 14px; }

body.home-page .home-trajectory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding-block: 49px;
  border-top: 1px solid var(--riso-line);
}
body.home-page .trajectory-era {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 0;
}
.trajectory-era span {
  color: var(--riso-coral-action);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.trajectory-era strong {
  color: var(--riso-cobalt);
  font: 400 clamp(4.5rem, 18vw, 7rem)/.95 var(--display);
  letter-spacing: -.07em;
}
.trajectory-era i {
  padding-left: 4px;
  color: var(--riso-muted);
  font-size: 13px;
  font-style: normal;
}
body.home-page .trajectory-copy > p:not(.section-index) { max-width: 60ch; color: var(--riso-body); }
body.home-page .trajectory-copy .section-index { color: var(--riso-cobalt-deep); }
body.home-page .trajectory-marker {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 1px 0 15px;
  padding: 8px 11px;
  border-left: 3px solid var(--riso-coral-action);
  background: var(--riso-wash);
}
body.home-page .trajectory-marker strong { color: var(--riso-cobalt-deep); }

body.home-page .research-teaser {
  padding-block: 38px;
  background: var(--riso-cobalt);
  color: #FFFFFF;
  box-shadow: 0 0 0 100vmax var(--riso-cobalt);
  clip-path: inset(0 -100vmax);
}
body.home-page .research-teaser .section-index { color: #E5DEFF; }
body.home-page .research-teaser h2 { max-width: 20ch; color: #FFFFFF; }
body.home-page .research-teaser > p:not(.section-index) { max-width: 61ch; color: #F7F7FF; }
body.home-page .research-teaser .button-primary { background: var(--riso-coral-action); }
body.home-page .research-teaser .button-primary:hover { background: #FFFFFF; color: var(--riso-cobalt-deep); }

body.home-page .home-writing {
  padding-block: 46px;
  border-top: 1px solid var(--riso-line);
  background: var(--riso-paper);
}
body.home-page .home-writing-head { display: flex; flex-direction: column; gap: 10px; }
body.home-page .home-writing-head .section-index { color: var(--riso-coral-action); }
body.home-page .home-writing-head h2 { max-width: 19ch; }
body.home-page .article-list { border-top: 1px solid var(--riso-line); }
body.home-page .article-item {
  display: grid;
  gap: 6px;
  padding: 19px 0;
  border-bottom: 1px solid var(--riso-line);
}
body.home-page .article-item time { color: var(--riso-cobalt-deep); font-size: 13px; }
body.home-page .article-item h3 { margin: 0; font-size: 22px; }
body.home-page .article-item h3 a { color: var(--riso-ink); text-decoration: none; }
body.home-page .article-item h3 a:hover { color: var(--riso-cobalt-deep); text-decoration: underline; }
body.home-page .article-item p { margin: 0; color: var(--riso-body); }

body.home-page .home-cta {
  padding-block: 38px;
  border-top: 4px solid var(--riso-coral-action);
  background: var(--riso-wash);
}
body.home-page .home-cta .section-index { color: var(--riso-cobalt-deep); }
body.home-page .home-cta h2 { max-width: 17ch; }
body.home-page .home-cta p:not(.section-index) { max-width: 56ch; color: var(--riso-body); }

body.home-page .site-footer {
  border-top: 4px solid var(--riso-coral);
  background: var(--riso-paper);
  color: var(--riso-ink);
}
body.home-page .site-footer a,
body.home-page .site-footer .footer-links a { color: var(--riso-cobalt-deep); }
body.home-page .site-footer .footer-brand { color: var(--riso-ink); }
body.home-page .site-footer p,
body.home-page .site-footer small { color: var(--riso-muted); }
body.home-page .site-footer .footer-brand img {
  border: 1px solid var(--riso-line);
  border-radius: 0;
  box-shadow: 2px 2px 0 var(--riso-coral);
}

@media (min-width: 760px) {
  body.home-page .home-signal { padding-block: 31px 34px; }
  body.home-page .home-signal-inner { gap: 17px; }
  body.home-page .home-signal-heading { grid-template-columns: 1fr; }
  body.home-page .home-signal-heading h2 { font-size: 29px; }
  body.home-page .home-signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--riso-line);
  }
  body.home-page .home-signal-link {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 18px 15px;
    border-right: 1px solid var(--riso-line);
    border-bottom: 0;
  }
  body.home-page .home-signal-link:first-child { padding-left: 0; }
  body.home-page .home-signal-link:last-child { padding-right: 0; border-right: 0; }
  body.home-page .home-method { padding-block: 70px; }
  body.home-page .home-method-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(35px, 6vw, 88px); }
  .home-method-statement { padding: 12px 0 12px 25px; }
  .home-method-statement p { font-size: clamp(2.4rem, 4vw, 3.3rem); }
  body.home-page .context-section { padding-block: 72px; }
  body.home-page .context-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.home-page .context-item { padding: 23px 18px 10px; border-right: 1px solid var(--riso-line); border-bottom: 0; }
  body.home-page .context-item:first-child { padding-left: 0; }
  body.home-page .context-item:last-child { padding-right: 0; border-right: 0; }
  body.home-page .home-trajectory { grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr); align-items: center; gap: clamp(36px, 6vw, 84px); padding-block: 66px; }
  body.home-page .research-teaser { padding-block: 54px; }
  body.home-page .home-writing { padding-block: 68px; }
  body.home-page .home-writing-head { flex-direction: row; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
  body.home-page .article-item { grid-template-columns: minmax(160px, .55fr) minmax(0, 1fr) minmax(250px, .85fr); align-items: baseline; gap: 22px; }
  body.home-page .article-item h3 { font-size: 24px; }
  body.home-page .home-cta { padding-block: 52px; }
}
@media (min-width: 960px) {
  body.home-page .home-hero-grid {
    grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
    min-height: 500px;
  }
  body.home-page .home-portrait { align-self: stretch; height: auto; aspect-ratio: auto; }
  body.home-page .home-portrait img { max-height: 500px; object-position: center bottom; }
  body.home-page .home-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    padding: 48px clamp(28px, 5vw, 80px);
  }
  body.home-page .home-hero h1 {
    max-width: none;
    margin: 20px 0 14px;
    font-size: clamp(2.375rem, 3.8vw, 3.625rem);
    line-height: 1.03;
    letter-spacing: -.035em;
  }
  body.home-page .home-hero h1 span { display: block; }
  body.home-page .home-hero .lead { max-width: 55ch; margin-bottom: 22px; font-size: 17px; }
  body.home-page .home-hero .hero-actions { gap: 10px; }
}
@media (max-width: 420px) {
  body.home-page .home-hero-copy { padding-inline: 16px; }
  body.home-page .hero-actions { align-items: stretch; }
  body.home-page .hero-actions .button { flex: 1 1 auto; }
}
html[data-theme="dark"] body.home-page .home-method,
html[data-theme="dark"] body.home-page .context-section,
html[data-theme="dark"] body.home-page .home-writing { background: var(--riso-paper); }
html[data-theme="dark"] body.home-page .home-signal { background: var(--riso-paper); }
html[data-theme="dark"] body.home-page .home-hero,
html[data-theme="dark"] body.home-page .home-hero-copy,
html[data-theme="dark"] body.home-page .home-portrait { background: var(--riso-lilac-wash); }
html[data-theme="dark"] body.home-page .research-teaser { background: #202A55; box-shadow: 0 0 0 100vmax #202A55; }
html[data-theme="dark"] body.home-page .home-cta { background: var(--riso-wash); }
html[data-theme="dark"] body.home-page .home-method-statement p,
html[data-theme="dark"] body.home-page .trajectory-era strong,
html[data-theme="dark"] body.home-page .text-link { color: var(--riso-cobalt-deep); }
@media (prefers-reduced-motion: reduce) {
  .site-header .primary-nav, .site-header .page-context-row, .site-header .mobile-menu-icon,
  .site-header .mobile-menu-icon::before, .site-header .mobile-menu-icon::after { transition: none; }
}

/* Home narrative v2: personal trajectory, one engineering case, one research thread. */
body.home-story-v2 .home-v2-journey {
  padding-block: 50px;
  background: var(--riso-wash);
}
body.home-story-v2 .home-v2-journey-grid,
body.home-story-v2 .home-v2-project-grid,
body.home-story-v2 .home-v2-research-grid,
body.home-story-v2 .home-v2-contact-grid { display: grid; gap: 30px; }
body.home-story-v2 .home-v2-journey-copy h2,
body.home-story-v2 .home-v2-project-copy h2,
body.home-story-v2 .home-v2-research-copy h2,
body.home-story-v2 .home-v2-contact h2 { max-width: 19ch; margin-bottom: 15px; }
body.home-story-v2 .home-v2-journey-copy > p:not(.section-index),
body.home-story-v2 .home-v2-project-copy > p:not(.section-index),
body.home-story-v2 .home-v2-research-copy > p:not(.section-index),
body.home-story-v2 .home-v2-contact-copy > p { max-width: 60ch; color: var(--riso-body); }
body.home-story-v2 .home-v2-journey-copy .section-index,
body.home-story-v2 .home-v2-project-copy .section-index,
body.home-story-v2 .home-v2-writing-head .section-index { color: var(--riso-coral-action); }
body.home-story-v2 .home-v2-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 1px solid var(--riso-line);
  list-style: none;
}
body.home-story-v2 .home-v2-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 24px;
}
body.home-story-v2 .home-v2-timeline li:last-child { padding-bottom: 0; }
body.home-story-v2 .home-v2-timeline li::before {
  position: absolute;
  top: 5px;
  left: -25px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--riso-wash);
  background: var(--riso-coral-action);
  content: "";
}
body.home-story-v2 .home-v2-time { color: var(--riso-cobalt-deep); font: 600 13px/1.35 var(--sans); }
body.home-story-v2 .home-v2-timeline strong { display: block; margin-bottom: 3px; font: 500 19px/1.25 var(--display); }
body.home-story-v2 .home-v2-timeline p { max-width: 43ch; margin: 0; color: var(--riso-body); font-size: 14px; line-height: 1.5; }

body.home-story-v2 .home-v2-project { padding-block: 52px; }
body.home-story-v2 .home-v2-decision {
  display: grid;
  gap: 5px;
  margin: 22px 0;
  padding: 12px 0 12px 14px;
  border-left: 3px solid var(--riso-coral-action);
}
body.home-story-v2 .home-v2-decision span,
body.home-story-v2 .home-v2-flow-node > span { color: var(--riso-cobalt-deep); font: 700 10px/1.4 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
body.home-story-v2 .home-v2-decision strong { max-width: 36ch; font: 500 19px/1.35 var(--display); }
body.home-story-v2 .home-v2-flow {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--riso-ink);
  background: var(--riso-wash);
  box-shadow: 4px 4px 0 var(--riso-lilac);
}
body.home-story-v2 .home-v2-potoo-type {
  display: flex;
  min-width: 0;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: clamp(20px, 3.2vw, 38px);
  overflow: hidden;
  border: 1px solid var(--riso-line);
  background: var(--riso-wash);
}
body.home-story-v2 .home-v2-potoo-display { min-width: 0; }
body.home-story-v2 .home-v2-potoo-word {
  display: block;
  color: var(--riso-cobalt-deep);
  font: 500 clamp(4rem, 8vw, 7.2rem)/.9 var(--display);
  letter-spacing: -.075em;
}
body.home-story-v2 .home-v2-potoo-rule {
  display: block;
  width: min(78%, 340px);
  height: 2px;
  margin-top: 9px;
  background: var(--riso-coral);
}
body.home-story-v2 .home-v2-potoo-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  padding-top: 15px;
  border-top: 1px solid var(--riso-line);
  color: var(--riso-muted);
  font: 700 10px/1.4 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.home-story-v2 .home-v2-potoo-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--riso-ink);
  letter-spacing: .02em;
}
body.home-story-v2 .home-v2-potoo-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  padding: 3px;
  background: #FFFFFF;
  border: 1px solid var(--riso-line);
}
body.home-story-v2 .home-v2-project-copy .button { margin-top: 9px; }
body.home-story-v2 .home-v2-project-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 9px; }
body.home-story-v2 .home-v2-project-actions .button { margin-top: 0; }
body.home-story-v2 .home-v2-project-actions > .text-link { font-size: 14px; }
body.home-story-v2 .home-v2-potoo-art { min-width: 0; margin: 0; }
body.home-story-v2 .home-v2-potoo-art > img { display: block; width: 100%; height: auto; border: 1px solid var(--riso-line); }
body.home-story-v2 .home-v2-potoo-art > svg { display: block; width: 100%; height: auto; border: 1px solid var(--riso-line); }
body.home-story-v2 .home-v2-potoo-art .home-v2-potoo-caption { align-items: center; margin-top: 11px; padding: 10px 1px 0; }
body.home-story-v2 .home-v2-flow figcaption { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--riso-line); }
body.home-story-v2 .home-v2-flow figcaption span { color: var(--riso-cobalt-deep); font: 700 10px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
body.home-story-v2 .home-v2-flow figcaption strong { font: 500 20px/1.25 var(--display); }
body.home-story-v2 .home-v2-flow-track { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: stretch; }
body.home-story-v2 .home-v2-flow-node { display: grid; gap: 6px; min-width: 0; min-height: 104px; align-content: start; padding: 13px; border: 1px solid var(--riso-line); background: var(--riso-paper); }
body.home-story-v2 .home-v2-flow-node strong { font: 500 19px/1.2 var(--display); }
body.home-story-v2 .home-v2-flow-node code,
body.home-story-v2 .home-v2-flow-node small { color: var(--riso-body); font: 12px/1.4 var(--sans); }
body.home-story-v2 .home-v2-flow-node.is-selected { border-color: var(--riso-cobalt); background: var(--riso-cobalt); color: var(--riso-paper); }
body.home-story-v2 .home-v2-flow-node.is-selected > span,
body.home-story-v2 .home-v2-flow-node.is-selected code,
body.home-story-v2 .home-v2-flow-node.is-selected small { color: #FFFFFF; }
body.home-story-v2 .home-v2-flow-arrow { justify-self: center; color: var(--riso-coral-action); font: 500 21px/1 var(--sans); transform: rotate(90deg); }
body.home-story-v2 .home-v2-flow-note { margin: 14px 0 0; color: var(--riso-muted); font-size: 13px; line-height: 1.45; }

body.home-story-v2 .home-v2-research {
  padding-block: 44px;
  background: var(--riso-wash);
  color: var(--riso-ink);
  box-shadow: 0 0 0 100vmax var(--riso-wash);
  clip-path: inset(0 -100vmax);
}
body.home-story-v2 .home-v2-research .section-index { color: var(--riso-cobalt-deep); }
body.home-story-v2 .home-v2-research h2 { color: var(--riso-ink); }
body.home-story-v2 .home-v2-research-copy > p:not(.section-index) { color: var(--riso-body); }
body.home-story-v2 .home-v2-research .button-primary { background: var(--riso-coral-action); }
body.home-story-v2 .home-v2-research .button-primary:hover { background: var(--riso-cobalt); color: #FFFFFF; }
body.home-story-v2 .home-v2-research-list { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--riso-line); list-style: none; }
body.home-story-v2 .home-v2-research-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--riso-line); }
body.home-story-v2 .home-v2-research-number { padding-top: 2px; color: var(--riso-cobalt-deep); font: 500 15px/1.3 var(--display); }
body.home-story-v2 .home-v2-research-entry { min-width: 0; }
body.home-story-v2 .home-v2-research-status { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; color: var(--riso-cobalt-deep); font-size: 10px; font-weight: 700; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
body.home-story-v2 .home-v2-research-status::before { width: 7px; height: 7px; flex: 0 0 7px; background: var(--riso-coral-action); content: ""; }
body.home-story-v2 .home-v2-research-entry h3 { max-width: 30ch; margin: 0 0 6px; color: var(--riso-ink); font: 500 clamp(1.15rem, 2vw, 1.35rem)/1.25 var(--display); }
body.home-story-v2 .home-v2-research-entry > p:not(.home-v2-research-status) { max-width: 49ch; margin: 0; color: var(--riso-body); font-size: 14px; line-height: 1.5; }
body.home-story-v2 .home-v2-research-link { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 10px; color: var(--riso-cobalt-deep); font-size: 13px; font-weight: 600; text-underline-offset: 3px; }
body.home-story-v2 .home-v2-research-link:hover { color: var(--riso-coral-action); }
body.home-story-v2 .home-v2-research-link span { color: var(--riso-coral-action); font-size: 15px; }

body.home-story-v2 .home-v2-writing { padding-block: 48px; }
body.home-story-v2 .home-v2-writing-head { display: grid; gap: 10px; margin-bottom: 22px; }
body.home-story-v2 .home-v2-writing-head h2 { max-width: 24ch; margin: 0; }
body.home-story-v2 .home-v2-writing-head .section-index { color: var(--riso-cobalt-deep); }
body.home-story-v2 .home-v2-writing-deck { max-width: 50ch; margin: 7px 0 0; color: var(--riso-body); font-size: 14px; }
body.home-story-v2 .home-v2-reading { display: grid; gap: 8px; padding-block: 18px; border-top: 1px solid var(--riso-line); border-bottom: 1px solid var(--riso-line); }
body.home-story-v2 .home-v2-reading time { color: var(--riso-cobalt-deep); font-size: 13px; }
body.home-story-v2 .home-v2-reading h3 { max-width: 28ch; margin: 0 0 6px; font-size: clamp(1.45rem, 4vw, 1.8rem); }
body.home-story-v2 .home-v2-reading h3 a { color: var(--riso-ink); text-decoration: none; }
body.home-story-v2 .home-v2-reading h3 a:hover { color: var(--riso-cobalt-deep); text-decoration: underline; }
body.home-story-v2 .home-v2-reading p { max-width: 58ch; margin: 0; color: var(--riso-body); font-size: 15px; }
body.home-story-v2 .home-v2-all-writing { display: inline-flex; align-items: baseline; gap: 4px; justify-self: start; margin-top: 4px; color: var(--riso-cobalt-deep); font-size: 13px; font-weight: 700; text-underline-offset: 3px; }
body.home-story-v2 .home-v2-all-writing span { color: var(--riso-coral-action); }
body.home-story-v2 .home-v2-topic-cards { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border: 1px solid var(--riso-line); }
body.home-story-v2 .home-v2-topic-card { display: flex; min-width: 0; min-height: 218px; flex-direction: column; padding: 16px 16px 13px; border-left: 3px solid currentColor; }
body.home-story-v2 .home-v2-topic-card + .home-v2-topic-card { border-top: 1px solid var(--riso-line); }
body.home-story-v2 .home-v2-topic-card--coral { color: var(--riso-coral-action); background: var(--riso-paper); }
body.home-story-v2 .home-v2-topic-card--cobalt { color: var(--riso-cobalt); background: var(--riso-wash); }
body.home-story-v2 .home-v2-topic-card--lilac { color: #7850B9; background: #F5F1FC; }
body.home-story-v2 .home-v2-topic-name { margin: 0 0 14px; color: inherit; font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
body.home-story-v2 .home-v2-topic-card h3 { max-width: 27ch; margin: 0; color: var(--riso-ink); font: 500 clamp(1.18rem, 1.6vw, 1.32rem)/1.22 var(--display); }
body.home-story-v2 .home-v2-topic-card h3 a { color: inherit; text-decoration: none; }
body.home-story-v2 .home-v2-topic-card h3 a:hover { color: var(--riso-cobalt-deep); text-decoration: underline; text-underline-offset: 3px; }
body.home-story-v2 .home-v2-topic-excerpt { max-width: 42ch; margin: 7px 0 14px; color: var(--riso-body); font-size: 14px; line-height: 1.45; }
body.home-story-v2 .home-v2-topic-card footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--riso-line); color: var(--riso-muted); font-size: 12px; }
body.home-story-v2 .home-v2-topic-card footer a { color: var(--riso-cobalt-deep); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
body.home-story-v2 .home-v2-topic-card footer a:hover { color: var(--riso-coral-action); text-decoration: underline; }
body.home-story-v2 .home-v2-topic-card footer a span { color: var(--riso-coral-action); }

body.home-story-v2 .home-v2-contact {
  padding-block: 44px;
  background: var(--riso-cobalt);
  color: #FFFFFF;
  box-shadow: 0 0 0 100vmax var(--riso-cobalt);
  clip-path: inset(0 -100vmax);
}
body.home-story-v2 .home-v2-contact-main { min-width: 0; }
body.home-story-v2 .home-v2-contact .section-index { color: #FFFFFF; }
body.home-story-v2 .home-v2-contact h2 { max-width: 18ch; margin-bottom: 13px; color: #FFFFFF; }
body.home-story-v2 .home-v2-contact-main > p:not(.section-index) { max-width: 48ch; margin: 0 0 17px; color: #F2F3FF; }
body.home-story-v2 .home-v2-contact .button-primary { background: var(--riso-coral-action); color: #FFFFFF; }
body.home-story-v2 .home-v2-contact .button-primary:hover { border-color: #FFFFFF; background: #FFFFFF; color: var(--riso-cobalt-deep); }
body.home-story-v2 .home-v2-contact-email { display: none; }
body.home-story-v2 .home-v2-contact-links { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 9px 20px; margin-top: 5px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .4); }
body.home-story-v2 .home-v2-contact-links a { color: #FFFFFF; font-size: 13px; font-weight: 600; text-decoration: none; text-underline-offset: 3px; }
body.home-story-v2 .home-v2-contact-links a:hover { color: #E5DEFF; text-decoration: underline; }

body.home-story-v2 .home-v2-contact-email > span { color: #E5DEFF; font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
body.home-story-v2 .home-v2-contact-email > a { color: #FFFFFF; font: 500 clamp(1.45rem, 2.3vw, 2rem)/1.3 var(--display); text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
body.home-story-v2 .home-v2-contact-email > a span { color: var(--riso-coral); font-family: var(--sans); font-size: .8em; }
html[data-theme="dark"] body.home-story-v2 .home-v2-research { background: var(--riso-wash); box-shadow: 0 0 0 100vmax var(--riso-wash); }

@media (min-width: 760px) {
  body.home-story-v2 .home-v2-journey { padding-block: 72px; }
  body.home-story-v2 .home-v2-journey-grid,
  body.home-story-v2 .home-v2-project-grid,
  body.home-story-v2 .home-v2-research-grid,
  body.home-story-v2 .home-v2-contact-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(38px, 6vw, 88px); }
  body.home-story-v2 .home-v2-timeline { margin-left: 8px; padding-left: 25px; }
  body.home-story-v2 .home-v2-timeline li { grid-template-columns: 68px minmax(0, 1fr); gap: 15px; padding-bottom: 29px; }
  body.home-story-v2 .home-v2-timeline li::before { left: -30px; }
  body.home-story-v2 .home-v2-project { padding-block: 76px; }
  body.home-story-v2 .home-v2-project-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  body.home-story-v2 .home-v2-project-actions { flex-direction: row; align-items: center; gap: 20px; }
  body.home-story-v2 .home-v2-flow { padding: 20px; }
  body.home-story-v2 .home-v2-flow-track { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; }
  body.home-story-v2 .home-v2-flow-node { min-height: 128px; padding: 12px 10px; }
  body.home-story-v2 .home-v2-flow-arrow { transform: none; }
  body.home-story-v2 .home-v2-research { padding-block: 62px; }
  body.home-story-v2 .home-v2-writing { padding-block: 70px; }
  body.home-story-v2 .home-v2-writing-head { grid-template-columns: minmax(0, 1fr) minmax(250px, .75fr); align-items: end; gap: 35px; margin-bottom: 27px; }
  body.home-story-v2 .home-v2-writing-head--topics { grid-template-columns: minmax(0, 1fr) auto; }
  body.home-story-v2 .home-v2-writing-head--topics .home-v2-all-writing { align-self: end; justify-self: end; margin: 0 0 4px; }
  body.home-story-v2 .home-v2-topic-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.home-story-v2 .home-v2-topic-card { min-height: 240px; padding: 18px 16px 13px; }
  body.home-story-v2 .home-v2-topic-card + .home-v2-topic-card { border-top: 0; border-right: 1px solid var(--riso-line); }
  body.home-story-v2 .home-v2-topic-card:last-child { border-right: 0; }
  body.home-story-v2 .home-v2-topic-name { min-height: 26px; margin-bottom: 21px; }
  body.home-story-v2 .home-v2-reading { grid-template-columns: minmax(165px, .55fr) minmax(0, 1.4fr) minmax(110px, .4fr); align-items: center; gap: 24px; padding-block: 22px; }
  body.home-story-v2 .home-v2-reading > .text-link { justify-self: end; }
  body.home-story-v2 .home-v2-contact-grid { align-items: start; }
  body.home-story-v2 .home-v2-contact { padding-block: 62px; }
  body.home-story-v2 .home-v2-contact-email { display: flex; min-width: 0; min-height: 150px; flex-direction: column; justify-content: center; gap: 7px; grid-column: 2; grid-row: 1; padding-left: clamp(20px, 3vw, 38px); border-left: 1px solid rgb(255 255 255 / .45); }
  body.home-story-v2 .home-v2-contact-main { grid-column: 1; grid-row: 1; }
  body.home-story-v2 .home-v2-contact-links { grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-story-v2 .home-v2-flow-node,
  body.home-story-v2 .home-v2-reading a,
  body.home-story-v2 .home-v2-topic-card a { transition: none; }
}

html[data-theme="dark"] body.home-story-v2 .home-v2-topic-card--lilac { background: var(--riso-wash); }

/* The approved risograph identity carries through every interior page. */
.interior-page {
  --page-bg: var(--riso-paper);
  --soft: var(--riso-wash);
  --surface-teal: var(--riso-wash);
  --surface-coral: var(--riso-wash);
  --ink: var(--riso-ink);
  --on-ink: var(--riso-paper);
  --body: var(--riso-body);
  --muted: var(--riso-muted);
  --coral: var(--riso-coral-action);
  --coral-dark: #9F2F39;
  --coral-text: var(--riso-coral-action);
  --petrol: var(--riso-cobalt);
  --petrol-dark: var(--riso-cobalt-deep);
  --petrol-panel: var(--riso-cobalt);
  --line: var(--riso-line);
  --line-strong: #AAA4B7;
  --portrait-placeholder: var(--riso-wash);
  --focus: 0 0 0 3px var(--riso-paper), 0 0 0 6px var(--riso-cobalt);
  background: var(--page-bg);
  color: var(--ink);
}
html[data-theme="dark"] .interior-page {
  --surface-coral: var(--riso-wash);
  --on-ink: var(--riso-paper);
  --coral-dark: #9F2F39;
  --coral-text: var(--riso-coral);
  --petrol: var(--riso-cobalt-deep);
  --petrol-dark: var(--riso-lilac);
  --line-strong: #767189;
  --focus: 0 0 0 3px var(--riso-paper), 0 0 0 6px var(--riso-lilac);
}
.interior-page .page-intro,
.interior-page .case-hero,
.interior-page .article-header {
  background: var(--riso-wash);
}
.interior-page .page-intro {
  border-top: 4px solid var(--riso-cobalt);
}
.interior-page .case-hero {
  border-top-color: var(--riso-coral-action);
}
.interior-page .article-header {
  border-top: 4px solid var(--riso-lilac);
}
.interior-page .page-intro--with-art .page-hero-art {
  border-color: var(--riso-ink);
  background: var(--riso-paper);
  box-shadow: 5px 5px 0 var(--riso-coral);
}
.interior-page .page-hero-art figcaption {
  border-left-color: var(--riso-cobalt);
}
.interior-page .case-image {
  border-color: var(--riso-ink);
  box-shadow: 5px 5px 0 var(--riso-lilac);
}
.interior-page .case-callout,
.interior-page .inventory-note,
.interior-page .status-note,
.interior-page .note {
  background: var(--riso-wash);
}
.interior-page .research-facts {
  border-top-color: var(--riso-cobalt);
}
.interior-page .engineering-panel {
  border-top: 5px solid var(--riso-coral);
  background: var(--riso-cobalt);
}
.interior-page .engineering-panel .button-primary {
  background: var(--riso-coral-action);
}
.interior-page .project-index-name img {
  border: 1px solid var(--riso-line);
  border-radius: 0;
}
.interior-page .site-footer {
  border-top: 4px solid var(--riso-coral);
  background: var(--riso-paper);
  color: var(--riso-ink);
}
.interior-page .site-footer a,
.interior-page .site-footer .footer-links a {
  color: var(--riso-cobalt-deep);
}
.interior-page .site-footer .footer-brand { color: var(--riso-ink); }
.interior-page .site-footer p,
.interior-page .site-footer small {
  color: var(--riso-muted);
}
.interior-page .site-footer .footer-brand img {
  border: 1px solid var(--riso-line);
  border-radius: 0;
  background: var(--riso-paper);
  box-shadow: 2px 2px 0 var(--riso-coral);
}



/* Page narrative refinements: same risograph palette, distinct page roles. */
.interior-page .page-intro-editorial { max-width: 900px; }
.interior-page .page-meta { font-size: 13px; }
.interior-page .page-intro { position: relative; }
.projects-page .page-intro,
.articles-page .page-intro,
.curriculum-page .page-intro,
.contact-page .page-intro { background: var(--riso-paper); }
.projects-page .page-intro { border-top-color: var(--riso-coral); }
.articles-page .page-intro { border-top-color: var(--riso-lilac); }
.curriculum-page .page-intro { border-top-color: var(--riso-coral); }
.contact-page .page-intro { border-top-color: var(--riso-cobalt); }
.research-page .page-intro { background: var(--riso-wash); }
.projects-page .projects-applications .catalog-heading { margin-bottom: 28px; }
.projects-page .project-index-row { transition: background-color .18s ease; }
.projects-page .project-index-row:hover { background: var(--riso-wash); }
.projects-page .projects-work { border-block: 1px solid var(--riso-line); }
.projects-page .projects-work .work-listing { gap: 12px; }
.projects-page .projects-work .work-listing h3 { font-family: var(--display); font-size: 22px; }
.projects-page .projects-work .work-listing-meta { font-size: 12px; }
.projects-page .projects-research-bridge { background: var(--riso-wash); }
.research-page .research-intro { border-top-color: var(--riso-cobalt); }
.research-page .research-current { padding-top: 56px; }
.research-page .research-limit { border-left-color: var(--riso-coral); }
.research-page .research-section-heading { max-width: 810px; margin: 0 0 28px; }
.research-page .research-section-heading h2 { max-width: 27ch; margin: 0 0 10px; font-size: clamp(1.9rem, 4.5vw, 2.7rem); }
.research-page .research-section-heading > p:last-child { max-width: 68ch; margin: 0; color: var(--riso-body); font-size: 15px; line-height: 1.58; }
.research-page .research-question-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-block: 1px solid var(--riso-line); }
.research-page .research-question { min-width: 0; padding: 18px 0 20px; border-bottom: 1px solid var(--riso-line); background: var(--riso-paper); }
.research-page .research-question:last-child { border-bottom: 0; }
.research-page .research-question:nth-child(1) { border-top: 2px solid var(--riso-cobalt); }
.research-page .research-question:nth-child(2) { border-top: 2px solid var(--riso-coral); }
.research-page .research-question:nth-child(3) { border-top: 2px solid var(--riso-lilac); }
.research-page .research-question-index { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; margin: 0 0 13px; color: var(--riso-coral-action); font: 700 11px/1.35 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.research-page .research-question-index span { color: var(--riso-muted); }
.research-page .research-question h3 { max-width: 28ch; margin: 0 0 9px; font: 500 21px/1.2 var(--display); }
.research-page .research-question > p:last-child { max-width: 42ch; margin: 0; color: var(--riso-body); font-size: 13px; line-height: 1.55; }
.research-page .research-method { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--riso-line); }
.research-page .research-method-heading { max-width: 690px; margin-bottom: 20px; }
.research-page .research-method-heading h3 { margin: 0 0 7px; font: 500 clamp(1.45rem, 3vw, 1.8rem)/1.2 var(--display); }
.research-page .research-method-heading > p:last-child { margin: 0; color: var(--riso-body); font-size: 14px; line-height: 1.55; }
.research-page .research-method-steps { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; border-block: 1px solid var(--riso-line); list-style: none; }
.research-page .research-method-steps li { min-width: 0; padding: 14px 0 16px; border-bottom: 1px solid var(--riso-line); }
.research-page .research-method-steps li:last-child { border-bottom: 0; }
.research-page .research-method-steps li > span { display: block; margin-bottom: 7px; color: var(--riso-coral-action); font: 700 11px/1.2 var(--sans); }
.research-page .research-method-steps strong { display: block; margin-bottom: 4px; color: var(--riso-ink); font: 500 18px/1.2 var(--display); }
.research-page .research-method-steps p { max-width: 35ch; margin: 0; color: var(--riso-body); font-size: 13px; line-height: 1.5; }
.research-page .research-scope-row { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 26px; border-block: 1px solid var(--riso-line); }
.research-page .research-scope-row > div { display: grid; gap: 4px; padding: 13px 0; border-bottom: 1px solid var(--riso-line); }
.research-page .research-scope-row > div:last-child { border-bottom: 0; }
.research-page .research-scope-row strong { color: var(--riso-cobalt-deep); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.research-page .research-scope-row span { color: var(--riso-body); font-size: 13px; line-height: 1.5; }
.research-page .research-masters-link { margin-top: 24px; padding: 17px 19px; border-left: 4px solid var(--riso-coral); background: var(--riso-lilac-wash); }
.research-page .research-masters-link .meta-label { margin-bottom: 6px; color: var(--riso-cobalt-deep); }
.research-page .research-masters-link > p:not(.meta-label) { max-width: 75ch; margin: 0 0 10px; color: var(--riso-body); font-size: 14px; line-height: 1.55; }
.research-page .research-masters-link .text-link { font-size: 13px; }
.research-page .research-limit { margin-top: 22px; }
.research-page .research-actions { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.research-page .research-related-study { max-width: 780px; padding: 17px 20px; border-left: 3px solid var(--riso-coral); background: var(--riso-paper); }
.research-page .research-related-study p { margin: 0 0 12px; color: var(--riso-body); font-size: 14px; line-height: 1.6; }
.research-page .research-related-study .text-link { font-size: 13px; }
.research-page .research-contact { border-top: 4px solid var(--riso-cobalt); background: var(--riso-paper); }
@media (min-width: 760px) {
  .research-page .research-question-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .research-page .research-question { min-height: 218px; padding: 19px 18px 21px; border-bottom: 0; }
  .research-page .research-question:first-child { padding-left: 0; }
  .research-page .research-question + .research-question { border-left: 1px solid var(--riso-line); }
  .research-page .research-question:last-child { padding-right: 0; }
  .research-page .research-method-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .research-page .research-method-steps li { min-height: 132px; padding: 15px 16px 17px; border-right: 1px solid var(--riso-line); border-bottom: 0; }
  .research-page .research-method-steps li:first-child { padding-left: 0; }
  .research-page .research-method-steps li:last-child { padding-right: 0; border-right: 0; }
  .research-page .research-scope-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-page .research-scope-row > div { padding: 14px 18px; border-right: 1px solid var(--riso-line); border-bottom: 0; }
  .research-page .research-scope-row > div:first-child { padding-left: 0; }
  .research-page .research-scope-row > div:last-child { padding-right: 0; border-right: 0; }
}
.articles-page .articles-index-section { padding-bottom: 22px; }
.articles-page .article-list--editorial { border-top: 1px solid var(--riso-ink); }
.articles-page .article-list--editorial .article-item,
.articles-page .article-list--editorial .article-item:first-child { display: grid; gap: 12px; padding: 22px 16px; border: 0; border-bottom: 1px solid var(--riso-line); background: var(--riso-paper); }
.articles-page .article-list--editorial .article-item--featured { margin-bottom: 12px; border-left: 5px solid var(--riso-coral); background: var(--riso-wash); }
.articles-page .article-list--editorial .article-item--draft { border-left-color: var(--riso-cobalt); background: var(--riso-wash); }
.articles-page .article-item-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--riso-muted); font-size: 12px; }
.articles-page .article-item-meta time { color: inherit; font-size: inherit; }
.articles-page .article-item-meta span { color: var(--riso-cobalt-deep); font-weight: 650; }
.articles-page .article-item-copy h3 { max-width: 28ch; margin-bottom: 9px; font-size: clamp(1.45rem, 3vw, 2rem); }
.articles-page .article-item-copy p { max-width: 56ch; margin-bottom: 12px; font-size: 15px; }
.articles-page .article-item-copy .text-link { font-size: 13px; }
.articles-page .article-item:hover { border-left-color: var(--riso-coral); }
.articles-page .article-note { max-width: 900px; }
.article-illustration { margin: 0 0 30px; }
.article-illustration img { display: block; width: 100%; height: auto; border: 1px solid var(--riso-line); }
.article-illustration figcaption { margin-top: 9px; color: var(--riso-muted); font-size: 13px; line-height: 1.45; }
.potoo-article .potoo-illustration-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 16px; margin-top: 8px; padding-block: 8px; border-bottom: 1px solid var(--riso-line); }
.potoo-article .potoo-article-mark { display: inline-flex; align-items: center; gap: 7px; color: var(--riso-ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.potoo-article .potoo-article-mark img { width: 24px; height: 24px; }
.potoo-article .potoo-illustration-caption > span:last-child { color: var(--riso-muted); font-size: 13px; }
.curriculum-page .curriculum-intro { border-top-color: var(--riso-coral); }
.curriculum-page .curriculum-intro .lead { max-width: 58ch; }
.curriculum-page .page-intro--with-art .page-hero-photo img { width: 100%; height: clamp(240px, 26vw, 330px); max-height: none; object-fit: cover; object-position: center top; }
.curriculum-page .curriculum-experience { scroll-margin-top: 90px; }
.curriculum-page .timeline::before { background: var(--riso-cobalt); }
.curriculum-page .timeline-item::before { background: var(--riso-coral); }
.curriculum-page .timeline-year,
.curriculum-page .timeline-content .timeline-org,
.curriculum-page .education-type { color: var(--riso-cobalt-deep); }
.curriculum-page .curriculum-education { border-block: 1px solid var(--riso-line); }
.curriculum-page .curriculum-education .education-list { border-top-color: var(--riso-ink); }
.curriculum-page .curriculum-links { border-top: 4px solid var(--riso-coral); background: var(--riso-wash); }
.curriculum-page .status-note { border-left-color: var(--riso-coral); }
.contact-page .contact-intro-grid { align-items: center; }
.contact-page .contact-email-card { background: var(--riso-wash); }
.contact-page .contact-email-card p a { color: var(--riso-ink); text-decoration-thickness: 1px; }
.contact-page .contact-grid { padding-top: 42px; }
.contact-page .contact-note { background: var(--riso-wash); }
.contact-page .contact-note h3 { max-width: 18ch; font-size: 26px; }
.contact-page .contact-first-message { margin-block: 21px; padding: 15px 0 15px 16px; border-left: 3px solid var(--riso-coral); }
.contact-page .contact-first-message strong { font-size: 13px; }
.contact-page .contact-first-message p { margin: 6px 0 0; color: var(--riso-body); font-size: 14px; }

@media (min-width: 760px) {
  .projects-page .project-index-row { grid-template-columns: minmax(230px, .7fr) minmax(0, 1fr); gap: 28px; padding-block: 22px; }
  .projects-page .project-index-name img { width: 44px; height: 44px; }
  .projects-page .project-index-summary { padding-top: 5px; font-size: 15px; }
  .projects-page .projects-work .work-listing { grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr); }
  .articles-page .article-list--editorial .article-item { grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr); gap: 30px; padding: 24px 22px; }
  .articles-page .article-list--editorial .article-item--featured { padding: 32px 28px; }
  .articles-page .article-list--editorial .article-item:not(.article-item--featured) .article-item-copy { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(200px, .8fr); gap: 8px 28px; align-items: start; }
  .articles-page .article-list--editorial .article-item:not(.article-item--featured) .article-item-copy p { grid-column: 2; grid-row: 1 / span 2; margin-top: 3px; }
  .curriculum-page .timeline-item { grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding-left: 25px; }
  .curriculum-page .timeline::before { left: 0; }
  .curriculum-page .timeline-item::before { left: -4px; }
  .curriculum-page .education-item { grid-template-columns: 130px minmax(0, 1fr); gap: 22px; padding-block: 19px; }
  .contact-page .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(35px, 6vw, 80px); }
  .contact-page .contact-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(250px, .45fr); }
}
@media (prefers-reduced-motion: reduce) {
  .projects-page .project-index-row { transition: none; }
}

/* Home: personal trajectory timeline. */
body.home-story-v2 .home-v2-journey { padding-block: 46px; }
body.home-story-v2 .home-v2-journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}
body.home-story-v2 .home-v2-journey-copy .section-index { color: var(--riso-coral-action); }
body.home-story-v2 .home-v2-journey-copy h2 { max-width: 17ch; margin-bottom: 16px; }
body.home-story-v2 .home-v2-journey-copy > p:not(.section-index) {
  max-width: 60ch;
  color: var(--riso-body);
}
body.home-story-v2 .home-v2-journey-actions { display: inline-flex; align-items: center; gap: 10px; margin-top: 3px; }
@media (min-width: 760px) {
  body.home-story-v2 .home-v2-journey { padding-block: 72px; }
  body.home-story-v2 .home-v2-journey-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(38px, 6vw, 84px);
  }
}

/* Home: editorial overview of the three projects and research thread. */
body.home-story-v2 .home-v2-highlights {
  padding-block: 46px 42px;
  border-bottom: 1px solid var(--riso-line);
  background: var(--riso-paper);
}
body.home-story-v2 .home-v2-highlights-head { max-width: 780px; margin-bottom: 24px; }
body.home-story-v2 .home-v2-highlights-head .section-index { color: var(--riso-cobalt-deep); }
body.home-story-v2 .home-v2-highlights-head h2 { max-width: 22ch; margin-bottom: 9px; }
body.home-story-v2 .home-v2-highlights-head > p:last-child { max-width: 58ch; margin: 0; color: var(--riso-body); font-size: 15px; line-height: 1.55; }
body.home-story-v2 .home-v2-highlights-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--riso-line); }
body.home-story-v2 .home-v2-highlight-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--riso-line);
}
body.home-story-v2 .home-v2-highlight-card--potoo { padding-inline: 16px; border-top: 2px solid var(--riso-potoo-green); background: var(--riso-potoo-wash); }
body.home-story-v2 .home-v2-highlight-card--research { border-top: 2px solid var(--riso-coral-action); }
body.home-story-v2 .home-v2-highlight-card--inteli { border-top: 2px solid var(--riso-lilac); }
body.home-story-v2 .home-v2-highlight-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; margin-bottom: 16px; color: var(--riso-muted); font-size: 10px; font-weight: 650; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; }
body.home-story-v2 .home-v2-highlight-meta span:first-child { color: var(--riso-coral-action); font: 500 14px/1.2 var(--display); letter-spacing: 0; }
body.home-story-v2 .home-v2-highlight-brand { display: flex; min-height: 54px; align-items: center; gap: 12px; margin-bottom: 12px; }
body.home-story-v2 .home-v2-highlight-brand--inteli { align-items: flex-start; flex-direction: column; gap: 8px; }
body.home-story-v2 .home-v2-highlight-brand img { display: block; width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; }
body.home-story-v2 .home-v2-highlight-brand > svg { display: block; width: 48px; height: 48px; flex: 0 0 48px; }
body.home-story-v2 .home-v2-highlight-brand img.home-v2-highlight-logo-inteli { width: 84px; height: auto; flex: 0 0 auto; }
body.home-story-v2 .home-v2-highlight-brand h3 { max-width: 20ch; margin: 0; color: var(--riso-ink); font: 500 22px/1.2 var(--display); }
body.home-story-v2 .home-v2-highlight-card > p { max-width: 43ch; margin: 0 0 16px; color: var(--riso-body); font-size: 14px; line-height: 1.55; }
body.home-story-v2 .home-v2-highlight-card > a { display: inline-flex; align-items: baseline; gap: 7px; margin-top: auto; color: var(--riso-cobalt-deep); font-size: 13px; font-weight: 650; text-underline-offset: 3px; }
body.home-story-v2 .home-v2-highlight-card > a span { color: var(--riso-coral-action); font-size: 15px; }
body.home-story-v2 .home-v2-highlight-card > a:hover { color: var(--riso-coral-action); }
html[data-theme="dark"] body.home-story-v2 .home-v2-highlight-card--potoo .home-v2-highlight-brand img { filter: brightness(1.12) saturate(1.05); }
html[data-theme="dark"] body.home-story-v2 .home-v2-highlight-logo-inteli { filter: brightness(2.6); }

@media (min-width: 760px) {
  body.home-story-v2 .home-v2-highlights { padding-block: 62px 58px; }
  body.home-story-v2 .home-v2-highlights-head { margin-bottom: 29px; }
  body.home-story-v2 .home-v2-highlights-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.home-story-v2 .home-v2-highlight-card { min-height: 245px; padding: 20px 22px 18px; border-top-width: 2px; border-bottom: 0; }
  body.home-story-v2 .home-v2-highlight-card:first-child { padding-left: 0; }
  body.home-story-v2 .home-v2-highlight-card:first-child.home-v2-highlight-card--potoo { padding-inline: 20px; }
  body.home-story-v2 .home-v2-highlight-card + .home-v2-highlight-card { border-left: 1px solid var(--riso-line); }
  body.home-story-v2 .home-v2-highlight-card:last-child { padding-right: 0; }
  body.home-story-v2 .home-v2-highlight-meta { min-height: 30px; margin-bottom: 14px; }
  body.home-story-v2 .home-v2-highlight-brand { display: grid; min-height: 0; grid-template-rows: 56px auto; align-items: start; gap: 0; margin-bottom: 11px; }
  body.home-story-v2 .home-v2-highlight-brand h3 { max-width: 24ch; }
  body.home-story-v2 .home-v2-highlight-card > p { max-width: 38ch; }
}

/* Home: career evidence follows the project overview. */
body.home-story-v2 .home-v2-impact {
  padding-block: 48px;
  background: var(--riso-lilac-wash);
}
body.home-story-v2 .home-v2-impact-grid { display: grid; gap: 25px; }
body.home-story-v2 .home-v2-impact-head { max-width: 650px; }
body.home-story-v2 .home-v2-impact-head .section-index { color: var(--riso-coral-action); }
body.home-story-v2 .home-v2-impact-head h2 { max-width: 20ch; margin-bottom: 10px; }
body.home-story-v2 .home-v2-impact-head > p:last-child { max-width: 52ch; margin: 0; color: var(--riso-body); font-size: 15px; line-height: 1.55; }
body.home-story-v2 .home-v2-impact-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0; border-top: 1px solid var(--riso-line); }
body.home-story-v2 .home-v2-impact-stats > div { min-width: 0; padding: 15px 0 17px; border-bottom: 1px solid var(--riso-line); }
body.home-story-v2 .home-v2-impact-stats dt { margin-bottom: 4px; color: var(--riso-muted); font-size: 10px; font-weight: 700; letter-spacing: .075em; line-height: 1.4; text-transform: uppercase; }
body.home-story-v2 .home-v2-impact-stats dd { margin: 0; color: var(--riso-cobalt-deep); font: 500 clamp(2.1rem, 8vw, 3rem)/1.1 var(--display); }
body.home-story-v2 .home-v2-impact-stats dd span { display: block; margin-top: 4px; color: var(--riso-body); font: 400 12px/1.4 var(--sans); }

body.home-story-v2 .home-v2-organizations { padding-block: 48px; background: var(--riso-paper); }
body.home-story-v2 .home-v2-organizations-head { display: grid; gap: 8px; margin-bottom: 22px; }
body.home-story-v2 .home-v2-organizations-head .section-index { color: var(--riso-cobalt-deep); }
body.home-story-v2 .home-v2-organizations-head h2 { max-width: 24ch; margin: 0; }
body.home-story-v2 .home-v2-organizations-head > p:last-child { max-width: 52ch; margin: 0; color: var(--riso-body); font-size: 14px; line-height: 1.55; }
body.home-story-v2 .home-v2-organizations-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--riso-line); border-bottom: 1px solid var(--riso-line); list-style: none; }
body.home-story-v2 .home-v2-organizations-list li { display: grid; min-width: 0; min-height: 88px; place-items: center; padding: 14px 10px; border-right: 1px solid var(--riso-line); border-bottom: 1px solid var(--riso-line); background: #fff; }
body.home-story-v2 .home-v2-organizations-list li:nth-child(2n) { border-right: 0; }
body.home-story-v2 .home-v2-organizations-list li:nth-last-child(-n + 2) { border-bottom: 0; }
body.home-story-v2 .home-v2-organizations-list .client-logo { width: min(100%, 164px); max-height: 52px; object-fit: contain; }
body.home-story-v2 .home-v2-organizations-list .client-logo--dpmg { width: min(100%, 172px); max-height: 60px; }
body.home-story-v2 .home-v2-organizations-list .client-logo--neon { width: min(100%, 154px); max-height: 46px; }
body.home-story-v2 .home-v2-organizations-list .client-logo--ctg { width: min(100%, 146px); max-height: 46px; }
body.home-story-v2 .home-v2-organizations-list .client-logo--abbott { width: min(100%, 148px); max-height: 44px; }
body.home-story-v2 .home-v2-organizations-list .client-logo--iugu { width: min(100%, 116px); max-height: 48px; }
body.home-story-v2 .home-v2-organizations-list .client-logo--minha-biblioteca { width: min(100%, 160px); max-height: 58px; }
body.home-story-v2 .home-v2-organizations-list .client-logo--tracbel { width: min(100%, 172px); max-height: 46px; }
body.home-story-v2 .home-v2-organizations-note { max-width: 62ch; margin: 12px 0 0; color: var(--riso-muted); font-size: 12px; line-height: 1.5; }

@media (min-width: 760px) {
  body.home-story-v2 .home-v2-impact { padding-block: 70px; }
  body.home-story-v2 .home-v2-impact-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(38px, 6vw, 84px); }
  body.home-story-v2 .home-v2-impact-stats { gap: 0 24px; }
  body.home-story-v2 .home-v2-impact-stats > div { padding-block: 18px 20px; }
  body.home-story-v2 .home-v2-impact-stats dt { font-size: 11px; }
  body.home-story-v2 .home-v2-impact-stats dd span { font-size: 13px; }
  body.home-story-v2 .home-v2-organizations { padding-block: 62px; }
  body.home-story-v2 .home-v2-organizations-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 8px; margin-bottom: 25px; }
  body.home-story-v2 .home-v2-organizations-head .section-index { grid-column: 1; }
  body.home-story-v2 .home-v2-organizations-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.home-story-v2 .home-v2-organizations-list li { min-height: 104px; padding: 18px 14px; }
  body.home-story-v2 .home-v2-organizations-list li:nth-child(2n) { border-right: 1px solid var(--riso-line); }
  body.home-story-v2 .home-v2-organizations-list li:nth-child(4n) { border-right: 0; }
  body.home-story-v2 .home-v2-organizations-list li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--riso-line); }
  body.home-story-v2 .home-v2-organizations-list li:nth-last-child(-n + 4) { border-bottom: 0; }
}

/* The current home keeps a light footer; the alternate home copy stays intact. */
body.home-page.home-story-v2 .site-footer {
  border-top: 4px solid var(--riso-coral);
  background: var(--riso-paper);
  color: var(--riso-ink);
}
body.home-page.home-story-v2 .site-footer a,
body.home-page.home-story-v2 .site-footer .footer-links a { color: var(--riso-cobalt-deep); }
body.home-page.home-story-v2 .site-footer .footer-brand { color: var(--riso-ink); }
body.home-page.home-story-v2 .site-footer p,
body.home-page.home-story-v2 .site-footer small { color: var(--riso-muted); }
body.home-page.home-story-v2 .site-footer .footer-brand img {
  border: 1px solid var(--riso-line);
  border-radius: 0;
  background: var(--riso-paper);
  box-shadow: 2px 2px 0 var(--riso-coral);
}

/* Curriculum: tell the professional story after the approved hero and metrics. */
.curriculum-page .curriculum-capabilities,
.curriculum-page .curriculum-education,
.curriculum-page .curriculum-portfolio,
.curriculum-page .curriculum-links { background: var(--riso-paper); }
.curriculum-page .curriculum-experience { background: var(--riso-wash); }
.curriculum-page .curriculum-experience,
.curriculum-page .curriculum-education { border-block: 1px solid var(--riso-line); }
.curriculum-page .curriculum-experience-intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); align-items: center; gap: clamp(24px, 4.5vw, 58px); margin-bottom: 30px; }
.curriculum-page .curriculum-experience-intro .curriculum-section-heading { max-width: 690px; margin: 0; }
.curriculum-page .curriculum-section-heading { max-width: 780px; margin: 0 0 27px; }
.curriculum-page .curriculum-section-heading .section-index { margin-bottom: 10px; color: var(--riso-cobalt); }
.curriculum-page .curriculum-section-heading h2 { max-width: 22ch; margin: 0 0 10px; font-size: clamp(1.9rem, 4.2vw, 2.7rem); }
.curriculum-page .curriculum-section-heading > p:last-child { max-width: 66ch; margin: 0; color: var(--riso-body); font-size: 15px; line-height: 1.58; }
.curriculum-page .curriculum-trajectory-visual { min-width: 0; margin: 0; padding: 17px 17px 14px; border: 1px solid var(--riso-line); background: var(--riso-paper); }
.curriculum-page .curriculum-trajectory-svg { display: block; width: 100%; height: auto; }
.curriculum-page .curriculum-trajectory-visual figcaption { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; padding-top: 11px; border-top: 1px solid var(--riso-line); }
.curriculum-page .curriculum-trajectory-visual figcaption span { display: flex; align-items: baseline; gap: 6px; color: var(--riso-muted); font-size: 9px; font-weight: 700; letter-spacing: .045em; line-height: 1.35; text-transform: uppercase; }
.curriculum-page .curriculum-trajectory-visual figcaption small { color: var(--riso-coral-action); font: 700 9px/1 var(--sans); }
@media (max-width: 860px) {
  .curriculum-page .curriculum-experience-intro { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .curriculum-page .curriculum-trajectory-visual { max-width: 620px; }
}
.curriculum-page .curriculum-capabilities .curriculum-section-heading { margin-bottom: 20px; }
.curriculum-page .curriculum-capabilities .curriculum-section-heading h2 { max-width: none; margin: 0; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.curriculum-page .curriculum-capability-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--riso-line); list-style: none; }
.curriculum-page .curriculum-capability-row { padding: 19px 26px 20px 0; border-bottom: 1px solid var(--riso-line); }
.curriculum-page .curriculum-capability-row:nth-child(odd) { border-right: 1px solid var(--riso-line); }
.curriculum-page .curriculum-capability-row:nth-child(even) { padding-left: 26px; }
.curriculum-page .curriculum-capability-row h3 { margin: 0 0 6px; color: var(--riso-ink); font: 500 19px/1.28 var(--display); }
.curriculum-page .curriculum-capability-row > p { max-width: 54ch; margin: 0; color: var(--riso-body); font-size: 14px; line-height: 1.55; }
.curriculum-page .curriculum-experience { scroll-margin-top: 118px; }
.curriculum-page .curriculum-experience .curriculum-role-list { margin: 0; padding: 0; list-style: none; }
.curriculum-page .curriculum-career-phase + .curriculum-career-phase { margin-top: 37px; }
.curriculum-page .curriculum-career-phase-title { margin: 0 0 8px; padding-bottom: 9px; border-bottom: 1px solid var(--riso-line); color: var(--riso-ink); font: 500 22px/1.25 var(--display); }
.curriculum-page .curriculum-role { display: grid; grid-template-columns: 120px minmax(190px, .82fr) minmax(0, 1.18fr); gap: 16px 24px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--riso-line); }
.curriculum-page .curriculum-role-period { color: var(--riso-cobalt-deep); font-size: 12px; font-weight: 700; }
.curriculum-page .curriculum-role h4 { margin: 0 0 3px; color: var(--riso-ink); font: 500 20px/1.28 var(--display); }
.curriculum-page .curriculum-role-org { margin: 0 !important; color: var(--riso-cobalt-deep) !important; font-size: 12px !important; font-weight: 650; }
.curriculum-page .curriculum-role > p { margin: 0; color: var(--riso-body); font-size: 14px; line-height: 1.5; }
.curriculum-page .curriculum-role-list--compact .curriculum-role { padding-block: 12px; gap: 12px 20px; }
.curriculum-page .curriculum-role-list--compact .curriculum-role h4 { font-size: 17px; }
.curriculum-page .curriculum-role-list--compact .curriculum-role-org { font-size: 11px !important; }
.curriculum-page .curriculum-role-list--compact .curriculum-role > p { font-size: 13px; line-height: 1.45; }
.curriculum-page .curriculum-portfolio { scroll-margin-top: 118px; }
.curriculum-page .curriculum-portfolio .curriculum-section-heading { margin-bottom: 34px; }
.curriculum-page .curriculum-portfolio-group + .curriculum-portfolio-group { margin-top: clamp(52px, 5vw, 64px); }
.curriculum-page .curriculum-portfolio-group-heading { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; padding-top: 11px; border-top: 1px solid var(--riso-line); }
.curriculum-page .curriculum-portfolio-group-heading > span { color: var(--riso-coral-action); font-size: 12px; font-weight: 750; }
.curriculum-page .curriculum-portfolio-group-heading h3 { margin: 0; color: var(--riso-ink); font: 500 22px/1.25 var(--display); }
.curriculum-page .curriculum-app-grid,
.curriculum-page .curriculum-web-grid { display: grid; gap: 0; border: 1px solid var(--riso-line); }
.curriculum-page .curriculum-app-card,
.curriculum-page .curriculum-web-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 19px 18px 17px; border-top: 2px solid var(--riso-cobalt); color: var(--riso-ink); text-decoration: none; }
.curriculum-page .curriculum-app-card + .curriculum-app-card,
.curriculum-page .curriculum-web-card + .curriculum-web-card { border-left: 1px solid var(--riso-line); }
.curriculum-page .curriculum-app-card:nth-child(2),
.curriculum-page .curriculum-web-card:nth-child(2) { border-top-color: var(--riso-coral); }
.curriculum-page .curriculum-app-card:nth-child(3),
.curriculum-page .curriculum-web-card:nth-child(3) { border-top-color: var(--riso-lilac); }
.curriculum-page .curriculum-app-card:hover,
.curriculum-page .curriculum-web-card:hover { background: var(--riso-wash); }
.curriculum-page .curriculum-app-card > img { width: 40px; height: 40px; margin-bottom: 13px; object-fit: contain; }
.curriculum-page .curriculum-app-card > small,
.curriculum-page .curriculum-web-period { display: block; margin-bottom: 5px; color: var(--riso-cobalt-deep); font-size: 9px; font-weight: 750; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; }
.curriculum-page .curriculum-app-card h4,
.curriculum-page .curriculum-web-card h4 { margin: 0 0 7px; color: var(--riso-ink); font: 500 20px/1.25 var(--display); }
.curriculum-page .curriculum-app-card p,
.curriculum-page .curriculum-web-card p { margin: 0 0 18px; color: var(--riso-body); font-size: 13px; line-height: 1.55; }
.curriculum-page .curriculum-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--riso-cobalt-deep); font-size: 12px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.curriculum-page .curriculum-card-link > span { color: var(--riso-coral-action); font-size: 15px; }
.curriculum-page .curriculum-research-list { border-top: 1px solid var(--riso-line); }
.curriculum-page .curriculum-research-item { display: grid; grid-template-columns: minmax(130px, .28fr) minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--riso-line); color: var(--riso-ink); text-decoration: none; }
.curriculum-page .curriculum-research-item:hover .curriculum-research-copy strong { color: var(--riso-cobalt-deep); }
.curriculum-page .curriculum-research-status { width: fit-content; padding: 4px 8px; border-left: 2px solid var(--riso-coral-action); background: var(--riso-wash); color: var(--riso-cobalt-deep); font-size: 10px; font-weight: 700; line-height: 1.4; }
.curriculum-page .curriculum-research-status--published { border-left-color: var(--riso-cobalt); }
.curriculum-page .curriculum-research-copy strong,
.curriculum-page .curriculum-research-copy small { display: block; }
.curriculum-page .curriculum-research-copy strong { color: var(--riso-ink); font: 500 18px/1.3 var(--display); }
.curriculum-page .curriculum-research-copy small { margin-top: 4px; color: var(--riso-body); font-size: 13px; line-height: 1.5; }
.curriculum-page .curriculum-web-card > img { width: auto; max-width: min(100%, 150px); height: 42px; margin: 0 0 14px; object-fit: contain; object-position: left center; }
.curriculum-page .curriculum-web-card h4 { margin-top: 0; }
.curriculum-page .curriculum-web-period { margin-bottom: 5px; }
.curriculum-page .curriculum-education { scroll-margin-top: 118px; }
.curriculum-page .curriculum-education { scroll-margin-top: 118px; }
.curriculum-page .curriculum-education .curriculum-section-heading { margin-bottom: 29px; }
.curriculum-page .curriculum-education-grid { display: grid; gap: 34px; }
.curriculum-page .curriculum-education-group > h3 { margin: 0 0 12px; color: var(--riso-ink); font: 500 23px/1.2 var(--display); }
.curriculum-page .curriculum-education-group .education-list { border-top: 1px solid var(--riso-line); }
.curriculum-page .curriculum-education-group .education-item { grid-template-columns: 1fr; gap: 7px; padding-block: 15px; }
.curriculum-page .education-item-kind { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.curriculum-page .curriculum-education-group .education-type { margin: 0; color: var(--riso-cobalt-deep); font-size: 12px; font-weight: 700; }
.curriculum-page .curriculum-education-group .education-state { display: inline-block; padding: 3px 7px; border-left: 2px solid var(--riso-coral); background: var(--riso-paper); color: var(--riso-muted); font: 650 10px/1.25 var(--sans); }
.curriculum-page .curriculum-education-group .education-item h4 { margin: 0 0 4px; color: var(--riso-ink); font: 500 19px/1.25 var(--display); }
.curriculum-page .curriculum-education-group .education-item p:not(.education-type),
.curriculum-page .curriculum-education-group .education-item small { display: block; margin: 0 0 4px; color: var(--riso-body); font-size: 13px; line-height: 1.5; }
.curriculum-page .curriculum-education-group .education-item small { color: var(--riso-muted); }
.curriculum-page .curriculum-education-group .education-item--current h4 { color: var(--riso-cobalt-deep); }
.curriculum-page .curriculum-certifications { border-block: 1px solid var(--riso-line); background: var(--riso-lilac-wash); scroll-margin-top: 118px; }
.curriculum-page .curriculum-certifications .curriculum-section-heading { margin-bottom: 20px; }
.curriculum-page .curriculum-certifications .curriculum-section-heading h2 { max-width: none; }
.curriculum-page .curriculum-certifications .curriculum-section-heading .section-index { color: var(--riso-cobalt); }
.curriculum-page .curriculum-certification-list { display: grid; grid-template-columns: 1fr; gap: 1px; margin: 0; padding: 0; border: 1px solid var(--riso-lilac-line); list-style: none; }
.curriculum-page .curriculum-certification-list li { min-width: 0; padding: 15px 16px 16px; border-top: 2px solid var(--riso-cobalt); background: var(--riso-paper); }
.curriculum-page .curriculum-certification-list li:nth-child(2) { border-top-color: var(--riso-coral); }
.curriculum-page .curriculum-certification-list li:nth-child(3) { border-top-color: var(--riso-lilac); }
.curriculum-page .curriculum-certification-list small { display: block; margin-bottom: 6px; color: var(--riso-cobalt-deep); font-size: 9px; font-weight: 750; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }
.curriculum-page .curriculum-certification-list strong,
.curriculum-page .curriculum-certification-list span { display: block; }
.curriculum-page .curriculum-certification-list strong { color: var(--riso-ink); font-size: 14px; line-height: 1.4; }
.curriculum-page .curriculum-certification-list span { margin-top: 4px; color: var(--riso-muted); font-size: 12px; line-height: 1.4; }
.curriculum-page .curriculum-links { border-top: 1px solid var(--riso-line); scroll-margin-top: 118px; }
.curriculum-page .curriculum-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 19px; }
.curriculum-page .curriculum-profile-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--riso-line); }
.curriculum-page .curriculum-profile-links a { color: var(--riso-cobalt-deep); font-size: 13px; font-weight: 650; }
.curriculum-page .curriculum-profile-links a span { color: var(--riso-coral-action); }
.curriculum-page .home-v2-contact {
  padding-block: 44px;
  background: var(--riso-cobalt);
  color: #FFFFFF;
  box-shadow: 0 0 0 100vmax var(--riso-cobalt);
  clip-path: inset(0 -100vmax);
  scroll-margin-top: 118px;
}
.curriculum-page .home-v2-contact-grid { display: grid; gap: 30px; }
.curriculum-page .home-v2-contact-main { min-width: 0; }
.curriculum-page .home-v2-contact .section-index { color: #FFFFFF; }
.curriculum-page .home-v2-contact h2 { max-width: 18ch; margin-bottom: 13px; color: #FFFFFF; }
.curriculum-page .home-v2-contact-main > p:not(.section-index) { max-width: 48ch; margin: 0 0 17px; color: #F2F3FF; }
.curriculum-page .home-v2-contact .button-primary { background: var(--riso-coral-action); color: #FFFFFF; }
.curriculum-page .home-v2-contact .button-primary:hover { border-color: #FFFFFF; background: #FFFFFF; color: var(--riso-cobalt-deep); }
.curriculum-page .home-v2-contact-email { display: none; }
.curriculum-page .home-v2-contact-links { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 9px 20px; margin-top: 5px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .4); }
.curriculum-page .home-v2-contact-links a { color: #FFFFFF; font-size: 13px; font-weight: 600; text-decoration: none; text-underline-offset: 3px; }
.curriculum-page .home-v2-contact-links a:hover { color: #E5DEFF; text-decoration: underline; }
.curriculum-page .home-v2-contact-email > span { color: #E5DEFF; font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.curriculum-page .home-v2-contact-email > a { color: #FFFFFF; font: 500 clamp(1.45rem, 2.3vw, 2rem)/1.3 var(--display); text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.curriculum-page .home-v2-contact-email > a span { color: var(--riso-coral); font-family: var(--sans); font-size: .8em; }
@media (min-width: 760px) {
  .curriculum-page .curriculum-education-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(30px, 4vw, 58px); }
  .curriculum-page .curriculum-education-group .education-item { grid-template-columns: 135px minmax(0, 1fr); gap: 18px; padding-block: 17px; }
  .curriculum-page .education-item-kind { align-content: start; flex-direction: column; gap: 6px; }
  .curriculum-page .home-v2-contact-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; gap: clamp(38px, 6vw, 88px); }
  .curriculum-page .home-v2-contact { padding-block: 62px; }
  .curriculum-page .home-v2-contact-email { display: flex; min-width: 0; min-height: 150px; flex-direction: column; justify-content: center; gap: 7px; grid-column: 2; grid-row: 1; padding-left: clamp(20px, 3vw, 38px); border-left: 1px solid rgb(255 255 255 / .45); }
  .curriculum-page .home-v2-contact-main { grid-column: 1; grid-row: 1; }
  .curriculum-page .home-v2-contact-links { grid-row: 2; }
}
@media (min-width: 760px) {
  .curriculum-page .curriculum-certification-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .curriculum-page .curriculum-capability-list { grid-template-columns: 1fr; }
  .curriculum-page .curriculum-capability-row,
  .curriculum-page .curriculum-capability-row:nth-child(even) { padding: 16px 0; }
  .curriculum-page .curriculum-capability-row:nth-child(odd) { border-right: 0; }
  .curriculum-page .curriculum-app-grid,
  .curriculum-page .curriculum-web-grid { grid-template-columns: 1fr; }
  .curriculum-page .curriculum-app-card + .curriculum-app-card,
  .curriculum-page .curriculum-web-card + .curriculum-web-card { border-top: 1px solid var(--riso-line); border-left: 0; }
  .curriculum-page .curriculum-research-item { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .curriculum-page .curriculum-research-item .curriculum-card-link { margin-top: 2px; }
  .curriculum-page .curriculum-role { grid-template-columns: 82px minmax(0, 1fr); gap: 7px 13px; padding-block: 16px; }
  .curriculum-page .curriculum-role > p { grid-column: 2; }
}

@media (min-width: 760px) {
  .curriculum-page .curriculum-app-grid,
  .curriculum-page .curriculum-web-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .curriculum-page .curriculum-app-card,
  .curriculum-page .curriculum-web-card { min-height: 238px; }
}

/* Focused project pages linked from the CV portfolio. */
.curriculum-project-page .curriculum-project-intro {
  padding-block: clamp(34px, 6vw, 66px) clamp(30px, 5vw, 52px);
  border-top: 3px solid var(--riso-coral);
  border-bottom: 1px solid var(--riso-line);
  background: var(--riso-paper);
}
.curriculum-project-page .curriculum-project-intro .container { max-width: 940px; }
.curriculum-project-page .curriculum-project-intro .section-index { margin-bottom: 16px; color: var(--riso-cobalt); }
.curriculum-project-page .curriculum-project-logo { display: flex; min-height: 58px; align-items: center; margin-bottom: 8px; }
.curriculum-project-page .curriculum-project-logo img { width: auto; max-width: 190px; max-height: 52px; object-fit: contain; object-position: left center; }
.curriculum-project-page .curriculum-project-intro h1 { max-width: 22ch; margin: 0 0 10px; font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.1; }
.curriculum-project-page .curriculum-project-intro .lead { max-width: 65ch; margin: 0; color: var(--riso-body); font-size: 16px; line-height: 1.6; }
.curriculum-project-page .case-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px 22px; margin-top: 30px; border-top-color: var(--riso-line); }
.curriculum-project-page .case-fact span { color: var(--riso-muted); }
.curriculum-project-page .case-fact strong { color: var(--riso-ink); }
.curriculum-project-page .curriculum-project-detail { border-bottom: 1px solid var(--riso-line); background: var(--riso-wash); }
.curriculum-project-page .curriculum-project-detail-copy { max-width: 700px; }
.curriculum-project-page .curriculum-project-detail-copy .section-index { margin-bottom: 9px; color: var(--riso-cobalt); }
.curriculum-project-page .curriculum-project-detail-copy h2 { max-width: 24ch; margin: 0 0 12px; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.curriculum-project-page .curriculum-project-detail-copy > p:not(.section-index) { max-width: 64ch; margin-bottom: 20px; color: var(--riso-body); font-size: 15px; line-height: 1.6; }
.curriculum-project-page .curriculum-project-detail-copy .text-link { font-size: 13px; font-weight: 650; }
@media (max-width: 759px) {
  .curriculum-project-page .curriculum-project-logo { min-height: 46px; }
  .curriculum-project-page .curriculum-project-logo img { max-height: 42px; max-width: 155px; }
  .curriculum-project-page .case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}


/* Web project case studies */
.case-project-visual { display: flex; min-height: 330px; flex-direction: column; padding: clamp(20px, 3vw, 34px); background: var(--riso-paper); }
.case-project-visual-head { display: flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 15px; border-bottom: 1px solid var(--riso-line); }
.case-project-visual-head .meta-label { margin: 0; color: var(--riso-muted); }
.case-project-brand { display: flex; max-width: 190px; min-height: 40px; align-items: center; justify-content: flex-end; }
.case-project-brand img { width: auto; max-width: 180px; max-height: 48px; object-fit: contain; object-position: right center; }
.case-project-wordmark { color: var(--riso-ink); font: 600 20px/1.2 var(--display); text-align: right; }
.case-project-visual-main { padding-block: clamp(25px, 4vw, 43px); }
.case-project-visual-main .section-index { margin-bottom: 10px; color: var(--riso-cobalt); }
.case-project-visual-title { max-width: 14ch; margin: 0 0 12px; color: var(--riso-ink); font: 400 clamp(1.8rem, 3.4vw, 2.65rem)/1.08 var(--display); }
.case-project-visual-main > p:last-child { max-width: 45ch; margin: 0; color: var(--riso-body); font-size: 15px; line-height: 1.55; }
.case-project-visual-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--riso-line); }
.case-project-visual-facts span { display: block; margin-bottom: 4px; color: var(--riso-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.case-project-visual-facts strong { display: block; color: var(--riso-ink); font-size: 13px; line-height: 1.45; }
.case-project-visual figcaption { margin: 16px calc(-1 * clamp(20px, 3vw, 34px)) calc(-1 * clamp(20px, 3vw, 34px)); }
.case-content h2 { scroll-margin-top: 100px; }
.case-content .case-callout a { font-size: 15px; }
@media (max-width: 759px) {
  .case-project-visual { min-height: 300px; }
  .case-project-brand { max-width: 145px; }
  .case-project-brand img { max-width: 138px; max-height: 42px; }
  .case-project-wordmark { font-size: 18px; }
}


/* Web project list and pagination on the Projects page */
.projects-page .projects-work .catalog-heading { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 10px; }
.projects-page .projects-work .catalog-heading > p { justify-self: start; max-width: 56ch; }
.projects-page .projects-work .work-listing { grid-template-columns: minmax(0, 1fr) minmax(190px, .34fr); gap: clamp(20px, 4vw, 52px); padding-block: 20px; }
.projects-page .projects-work .work-listing h3 a { color: var(--riso-ink); text-decoration: none; }
.projects-page .projects-work .work-listing h3 a:hover { color: var(--riso-cobalt-deep); text-decoration: underline; text-underline-offset: 3px; }
.projects-page .projects-work .work-listing p { max-width: 68ch; font-size: 14px; line-height: 1.55; }
.projects-page .projects-work .work-listing-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.projects-page .projects-work .work-listing .work-listing-meta { max-width: 30ch; color: var(--riso-muted); font-size: 12px; font-weight: 600; line-height: 1.45; text-align: right; }
.projects-page .work-listing-link { color: var(--riso-cobalt-deep); font-size: 13px; font-weight: 650; line-height: 1.4; text-align: right; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.projects-page .work-listing-link span { color: var(--riso-coral-action); }
.projects-page .work-listing[hidden] { display: none !important; }
.projects-page .work-pagination { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; }
.projects-page .work-pagination[hidden] { display: none !important; }
.projects-page .work-pagination-status { margin: 0; color: var(--riso-muted); font-size: 13px; }
.projects-page .work-pagination-buttons,
.projects-page .work-pagination-pages { display: flex; align-items: center; gap: 6px; }
.projects-page .work-pagination button { min-width: 38px; min-height: 38px; padding: 7px 10px; border: 1px solid var(--riso-line); border-radius: 0; background: transparent; color: var(--riso-cobalt-deep); font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; cursor: pointer; }
.projects-page .work-pagination button:hover:not(:disabled) { border-color: var(--riso-cobalt); background: var(--riso-paper); }
.projects-page .work-pagination button:focus-visible { outline: 2px solid var(--riso-coral-action); outline-offset: 3px; }
.projects-page .work-pagination button[aria-current="page"] { border-color: var(--riso-cobalt); background: var(--riso-cobalt); color: var(--riso-paper); }
.projects-page .work-pagination button:disabled { color: var(--riso-muted); cursor: not-allowed; opacity: .52; }
@media (max-width: 759px) {
  .projects-page .projects-work .work-listing { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .projects-page .projects-work .work-listing-aside { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 8px 14px; }
  .projects-page .projects-work .work-listing .work-listing-meta { flex-basis: 100%; text-align: left; }
  .projects-page .work-listing-link { text-align: left; }
  .projects-page .work-pagination { align-items: flex-start; flex-direction: column; gap: 12px; }
  .projects-page .work-pagination-buttons { width: 100%; justify-content: space-between; }
}


/* Project cases without reliable dates use three compact context facts. */
.case-facts--project { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 759px) {
  .case-facts--project { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Blog index and long-form reading pages */
.blog-index-page .blog-intro {
  padding-block: clamp(44px, 7vw, 86px) clamp(36px, 5vw, 62px);
  border-top: 4px solid var(--riso-lilac);
  border-bottom: 1px solid var(--riso-lilac-line);
  background: var(--riso-paper);
}
.blog-index-page .blog-intro-inner { display: grid; max-width: 1180px; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 30px; }
.blog-intro-copy { min-width: 0; }
.blog-index-page .blog-intro h1 {
  max-width: 20ch;
  margin: 11px 0 13px;
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 1.06;
}
.blog-index-page .blog-intro .lead { max-width: 66ch; margin-bottom: 0; }
.blog-intro-visual { width: 100%; max-width: 560px; margin: 0 auto; padding: 9px; border: 1px solid var(--riso-line); background: var(--riso-wash); box-shadow: 5px 5px 0 var(--riso-lilac-line); }
.blog-intro-visual img { display: block; width: 100%; height: auto; }
.blog-intro-visual figcaption { padding: 10px 4px 2px; color: var(--riso-muted); font-size: 11px; line-height: 1.45; }
.blog-catalog { padding-block: clamp(32px, 5vw, 54px) clamp(54px, 8vw, 88px); }
.blog-catalog-heading { max-width: 790px; margin-bottom: 27px; }
.blog-catalog-heading .section-index { margin-bottom: 8px; }
.blog-catalog-heading h2 { margin: 0 0 9px; font-size: clamp(1.8rem, 3.6vw, 2.45rem); }
.blog-catalog-heading > p { max-width: 64ch; margin: 0; color: var(--riso-body); }
.blog-card-grid { display: grid; gap: 0; border-top: 1px solid var(--riso-line); border-bottom: 1px solid var(--riso-line); }
.blog-card {
  display: flex;
  min-width: 0;
  min-height: 280px;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 30px);
  border-top: 3px solid var(--riso-cobalt);
  background: var(--riso-wash);
}
.blog-card + .blog-card { border-left: 1px solid var(--riso-line); }
.blog-card-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px 14px; margin-bottom: 28px; color: var(--riso-muted); font-size: 10px; font-weight: 700; letter-spacing: .07em; line-height: 1.45; text-transform: uppercase; }
.blog-card-meta span { color: var(--riso-cobalt-deep); }
.blog-card h3 { max-width: 20ch; margin: 0 0 11px; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; }
.blog-card h3 a { color: var(--riso-ink); text-decoration: none; }
.blog-card h3 a:hover { color: var(--riso-cobalt-deep); text-decoration: underline; text-decoration-color: var(--riso-coral); text-underline-offset: 4px; }
.blog-card > p { max-width: 44ch; margin: 0 0 28px; color: var(--riso-body); font-size: 14px; }
.blog-card footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--riso-line); color: var(--riso-muted); font-size: 11px; }
.blog-card footer .text-link { font-size: 12px; }
.blog-article-intro {
  padding-block: clamp(42px, 7vw, 74px) clamp(32px, 5vw, 52px);
  border-top: 4px solid var(--riso-cobalt);
  border-bottom: 1px solid var(--riso-line);
  background: var(--riso-wash);
}
.blog-article-intro--coral { border-top-color: var(--riso-coral); background: var(--riso-paper); }
.blog-article-intro--cobalt { border-top-color: var(--riso-cobalt); background: var(--riso-wash); }
.blog-article-intro--lilac { border-top-color: var(--riso-lilac); background: var(--riso-lilac-wash); }
.blog-article-intro-inner { max-width: 930px; }
.blog-article-intro h1 { max-width: 23ch; margin: 12px 0 15px; font-size: clamp(2.45rem, 5vw, 4.1rem); line-height: 1.07; }
.blog-article-intro .lead { max-width: 68ch; margin-bottom: 17px; font-size: clamp(1.05rem, 1.6vw, 1.18rem); }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: 7px 20px; color: var(--riso-muted); font-size: 11px; }
.blog-reading-section { padding-block: clamp(28px, 4vw, 46px) clamp(58px, 8vw, 90px); }
.blog-reading-layout { display: grid; gap: 25px; }
.blog-toc { align-self: start; padding: 17px 18px 15px; border-left: 3px solid var(--riso-cobalt); background: var(--riso-lilac-wash); }
.blog-toc .meta-label { margin-bottom: 10px; color: var(--riso-cobalt-deep); }
.blog-toc ol { display: grid; gap: 0; margin: 0 0 13px; padding: 0; list-style: none; counter-reset: blog-toc; }
.blog-toc li { counter-increment: blog-toc; border-top: 1px solid var(--riso-lilac-line); }
.blog-toc li a { display: flex; gap: 9px; padding: 8px 0; color: var(--riso-ink); font-size: 12px; line-height: 1.4; text-decoration: none; }
.blog-toc li a::before { flex: 0 0 19px; color: var(--riso-coral-action); content: counter(blog-toc, decimal-leading-zero); font-size: 10px; font-weight: 700; }
.blog-toc li a:hover { color: var(--riso-cobalt-deep); text-decoration: underline; text-decoration-color: var(--riso-coral); text-underline-offset: 3px; }
.blog-article { max-width: 78ch; min-width: 0; }
.blog-article p, .blog-article li { color: var(--riso-body); font-size: 16px; line-height: 1.72; }
.blog-article p { margin: 0 0 18px; }
.blog-article .blog-opening { color: var(--riso-ink); font-size: clamp(1.08rem, 1.8vw, 1.25rem); line-height: 1.65; }
.blog-article h2 { margin: 43px 0 13px; scroll-margin-top: 110px; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.16; }
.blog-article h3 { margin: 0 0 6px; font-size: 1.2rem; line-height: 1.25; }
.blog-article a { font-weight: 650; }
.blog-figure { margin: 27px 0 31px; }
.blog-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--riso-line); background: var(--riso-wash); }
.blog-figure figcaption { margin-top: 8px; color: var(--riso-muted); font-size: 12px; line-height: 1.5; }
.blog-article-featured { margin: 0 0 28px; padding: 9px; border: 1px solid var(--riso-line); background: var(--riso-lilac-wash); box-shadow: 5px 5px 0 var(--riso-lilac-line); }
.blog-article-featured img { max-height: 430px; border: 0; object-fit: contain; }
.blog-article-featured--cover img { aspect-ratio: 1.85; object-fit: cover; }
.blog-article-featured svg { display: block; width: 100%; height: auto; border: 0; background: var(--riso-wash); }
.blog-article-featured figcaption { padding-inline: 4px; }
.blog-article h3.blog-subhead { margin: 32px 0 10px; color: var(--riso-ink); font-size: clamp(1.18rem, 1.7vw, 1.45rem); line-height: 1.24; }
.blog-figure svg { display: block; width: 100%; height: auto; border: 1px solid var(--riso-line); background: var(--riso-wash); }
.blog-study-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--riso-line); background: var(--riso-line); }
.blog-study-stats > div { display: grid; align-content: start; min-height: 112px; padding: 16px 14px; border-top: 3px solid var(--riso-cobalt); background: var(--riso-wash); }
.blog-study-stats > div:nth-child(2) { border-top-color: var(--riso-coral-action); }
.blog-study-stats > div:nth-child(3) { border-top-color: var(--riso-lilac); }
.blog-study-stats > div:nth-child(4) { border-top-color: var(--riso-cobalt-deep); }
.blog-study-stats strong { color: var(--riso-cobalt-deep); font: 500 clamp(30px, 3.4vw, 42px)/1 var(--display); letter-spacing: -.04em; }
.blog-study-stats span { margin-top: 9px; color: var(--riso-body); font-size: 12px; line-height: 1.4; }
.blog-flow-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--riso-line); border-top: 3px solid var(--riso-cobalt); }
.blog-flow-steps li { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 14px 11px; border-left: 1px solid var(--riso-line); background: var(--riso-wash); }
.blog-flow-steps li:nth-child(even) { background: var(--riso-paper); }
.blog-flow-steps li:first-child { border-left: 0; }
.blog-flow-steps .blog-flow-number { color: var(--riso-coral-action); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.blog-flow-steps li strong { color: var(--riso-ink); font-size: 13px; line-height: 1.25; }
.blog-flow-steps li span:last-child { color: var(--riso-body); font-size: 11px; line-height: 1.45; }

.blog-process-steps { display: grid; gap: 0; margin: 24px 0 27px; padding: 0; list-style: none; border-block: 1px solid var(--riso-line); }
.blog-process-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 3px 10px; padding: 14px 10px; border-bottom: 1px solid var(--riso-line); background: var(--riso-wash); }
.blog-process-steps li:last-child { border-bottom: 0; }
.blog-process-steps li > span, .blog-process-strip span { grid-row: span 2; color: var(--riso-coral-action); font-size: 11px; font-weight: 700; }
.blog-process-steps strong, .blog-process-strip strong { color: var(--riso-ink); font-size: 14px; }
.blog-process-steps small, .blog-process-strip small { color: var(--riso-muted); font-size: 12px; line-height: 1.45; }
.blog-process-strip { display: grid; margin: 24px 0 29px; border: 1px solid var(--riso-line); border-top: 3px solid var(--riso-cobalt); }
.blog-process-strip > div { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 3px 9px; padding: 14px; border-bottom: 1px solid var(--riso-line); background: var(--riso-wash); }
.blog-process-strip > div:nth-child(even) { background: var(--riso-paper); }
.blog-process-strip > div:last-child { border-bottom: 0; }
.blog-table-wrap { max-width: 100%; margin: 23px 0 30px; overflow-x: auto; border: 1px solid var(--riso-line); }
.blog-table { width: 100%; min-width: 550px; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.blog-table th, .blog-table td { padding: 12px 14px; border-bottom: 1px solid var(--riso-line); text-align: left; vertical-align: top; }
.blog-table thead th { background: var(--riso-cobalt); color: #fff; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.blog-table tbody th { color: var(--riso-cobalt-deep); font-weight: 700; }
.blog-table tbody td { color: var(--riso-body); }
.blog-table tbody tr:nth-child(even) { background: var(--riso-wash); }
.blog-history { display: grid; gap: 0; margin: 24px 0 31px; padding: 0; border-left: 2px solid var(--riso-lilac); list-style: none; }
.blog-history > li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 13px; padding: 0 0 24px 16px; }
.blog-history > li:last-child { padding-bottom: 0; }
.blog-history time { color: var(--riso-coral-action); font-size: 14px; font-weight: 700; }
.blog-history > li > div { position: relative; padding: 0 0 17px; border-bottom: 1px solid var(--riso-line); }
.blog-history > li:last-child > div { border-bottom: 0; }
.blog-history > li > div::before { position: absolute; top: 5px; left: -24px; width: 9px; height: 9px; border: 2px solid var(--riso-paper); background: var(--riso-cobalt); content: ""; }
.blog-history p { margin-bottom: 0; font-size: 14px; }
.blog-sources { margin-top: 36px; padding: 20px 22px; border-left: 3px solid var(--riso-lilac); background: var(--riso-lilac-wash); }
.blog-sources h2 { margin: 0 0 13px; font-size: 1.45rem; }
.blog-sources ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; }
.blog-sources li { font-size: 13px; line-height: 1.5; }
.blog-related { margin-top: 29px; padding: 17px 20px; border-left: 3px solid var(--riso-coral); background: var(--riso-wash); }
.blog-related p:last-child { margin-bottom: 0; }
.blog-related a { font-size: 14px; }
.blog-toc a:focus-visible, .blog-card a:focus-visible, .blog-related a:focus-visible { outline: 2px solid var(--riso-cobalt); outline-offset: 3px; }
@media (min-width: 760px) {
  .blog-index-page .blog-intro-inner { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(30px, 5vw, 72px); }
  .blog-intro-visual { max-width: none; }
  .blog-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-card { min-height: 300px; }
  .blog-process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-process-steps li:nth-child(odd) { border-right: 1px solid var(--riso-line); }
  .blog-process-steps li:nth-last-child(-n + 2) { border-bottom: 0; }
  .blog-process-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-process-strip > div:nth-child(odd) { border-right: 1px solid var(--riso-line); }
  .blog-process-strip > div:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (min-width: 1040px) {
  .blog-reading-layout { grid-template-columns: minmax(190px, 240px) minmax(0, 780px); align-items: start; gap: clamp(48px, 6vw, 88px); }
  .blog-toc { position: sticky; top: 122px; }
  .blog-process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .blog-process-steps li, .blog-process-steps li:nth-child(odd) { grid-template-columns: 1fr; align-content: start; gap: 8px; border-right: 1px solid var(--riso-line); border-bottom: 0; }
  .blog-process-steps li:last-child { border-right: 0; }
  .blog-process-steps li > span { grid-row: auto; }
  .blog-process-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .blog-process-strip > div, .blog-process-strip > div:nth-child(odd) { grid-template-columns: 1fr; align-content: start; gap: 8px; border-right: 1px solid var(--riso-line); border-bottom: 0; }
  .blog-process-strip > div:last-child { border-right: 0; }
  .blog-process-strip span { grid-row: auto; }
}
@media (max-width: 759px) {
  .blog-index-page .blog-intro { padding-block: 35px 32px; }
  .blog-card { min-height: 0; padding: 20px 18px; }
  .blog-card + .blog-card { border-left: 0; }
  .blog-card-meta { margin-bottom: 17px; }
  .blog-card > p { margin-bottom: 21px; }
  .blog-article-intro { padding-block: 34px 29px; }
  .blog-article-intro h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .blog-reading-section { padding-top: 21px; }
  .blog-reading-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .blog-toc { position: static; max-height: none; margin-bottom: 0; }
  .blog-article > .blog-toc { margin: 24px 0 0; }
  .blog-article > .blog-toc + h2 { margin-top: 20px; }
  .blog-toc ol { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .blog-toc li a { font-size: 11px; }
  .blog-article p, .blog-article li { font-size: 15px; }
  .blog-article h2 { margin-top: 35px; scroll-margin-top: 20px; }
  .blog-article .blog-sources { margin-top: 24px; padding: 16px; }
  .blog-article .blog-sources h2 { margin: 0 0 10px; font-size: 1.3rem; line-height: 1.2; }
  .blog-article .blog-sources ul { gap: 6px; padding-left: 17px; }
  .blog-article .blog-sources li { font-size: 14px; line-height: 1.45; }
  .blog-history > li { grid-template-columns: 48px minmax(0, 1fr); gap: 9px; padding-left: 12px; }
  .blog-history > li > div::before { left: -20px; }
  .blog-table { min-width: 500px; font-size: 12px; }
  .blog-study-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-study-stats > div { min-height: 100px; padding: 14px 12px; }
  .blog-study-stats span { font-size: 11px; }
  .blog-flow-steps { grid-template-columns: minmax(0, 1fr); }
  .blog-flow-steps li, .blog-flow-steps li:nth-child(even) { grid-template-columns: 30px minmax(0, 1fr); gap: 4px 10px; padding: 12px; border-left: 0; border-bottom: 1px solid var(--riso-line); }
  .blog-flow-steps li:last-child { border-bottom: 0; }
  .blog-flow-steps .blog-flow-number { grid-row: span 2; }
  .blog-flow-steps li strong { font-size: 14px; }
  .blog-flow-steps li span:last-child { font-size: 12px; }
}
html[data-theme="dark"] .blog-card-meta span { color: var(--riso-cobalt-deep); }
html[data-theme="dark"] .blog-table thead th { color: #fff; }

/* Research overview and evidence-led study pages. */
.research-page {
  --research-pre: var(--riso-lilac);
  --research-post: var(--riso-cobalt);
}
html[data-theme="dark"] .research-page {
  --research-pre: var(--riso-lilac);
  --research-post: #91A9FF;
}
.research-page .research-overview-hero,
.research-page .research-study-hero { background: var(--riso-paper); border-top: 4px solid var(--riso-cobalt); }
.research-page .research-overview-hero { padding-block: clamp(46px, 7vw, 88px) clamp(44px, 6vw, 72px); }
.research-overview-hero .container { max-width: 1180px; }
.research-overview-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 30px; }
.research-overview-copy { min-width: 0; text-align: left; }
.research-overview-hero h1 { max-width: 17ch; margin-bottom: 12px; font-size: clamp(2.65rem, 5vw, 4.4rem); }
.research-overview-hero .lead { max-width: 62ch; margin-bottom: 22px; color: var(--riso-body); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
.research-overview-visual { width: 100%; max-width: 560px; margin: 0 auto; padding: 9px; border: 1px solid var(--riso-line); background: var(--riso-wash); box-shadow: 5px 5px 0 var(--riso-lilac-line); }
.research-overview-visual img { display: block; width: 100%; height: auto; }
.research-overview-visual figcaption { padding: 10px 4px 2px; color: var(--riso-muted); font-size: 11px; line-height: 1.45; }
.research-overview-note { display: flex; max-width: 760px; align-items: flex-start; gap: 12px; padding-top: 14px; border-top: 1px solid var(--riso-line); }
.research-overview-note-mark { flex: 0 0 auto; color: var(--riso-coral-action); font-size: 19px; line-height: 1; }
.research-overview-note p { margin: 0; color: var(--riso-muted); font-size: 13px; line-height: 1.55; }
.research-page .research-overview-studies { border-block: 1px solid var(--riso-line); }
.research-page .research-section-heading { max-width: 820px; margin-bottom: 30px; }
.research-page .research-section-heading h2 { max-width: 25ch; margin-bottom: 10px; font-size: clamp(2rem, 3.8vw, 3rem); }
.research-page .research-section-heading > p:last-child { max-width: 68ch; margin: 0; color: var(--riso-body); font-size: 15px; line-height: 1.6; }
.research-study-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.research-study-card { display: flex; min-width: 0; flex-direction: column; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--riso-line); border-top: 3px solid var(--riso-cobalt); background: var(--riso-paper); }
.research-study-card--active { border-top-color: var(--riso-coral); }
.research-study-card--published { border-top-color: var(--riso-lilac); }
.research-study-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 20px; color: var(--riso-cobalt-deep); font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.research-status-pill { display: inline-flex; width: fit-content; align-items: center; padding: 5px 8px; border-left: 2px solid var(--riso-coral-action); background: var(--riso-wash); color: var(--riso-cobalt-deep); font-size: 10px; font-weight: 700; letter-spacing: 0; line-height: 1.3; text-transform: none; }
.research-status-pill--published { border-left-color: var(--riso-cobalt); background: var(--riso-lilac-wash); }
.research-study-card h3 { max-width: 23ch; margin: 0 0 10px; font: 500 clamp(1.45rem, 2.4vw, 1.95rem)/1.2 var(--display); }
.research-study-card > p { max-width: 62ch; margin: 0 0 20px; color: var(--riso-body); font-size: 14px; line-height: 1.6; }
.research-study-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: auto 0 19px; padding: 14px 0 0; border-top: 1px solid var(--riso-line); }
.research-study-facts div { display: grid; gap: 2px; }
.research-study-facts dt { color: var(--riso-muted); font-size: 9px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.research-study-facts dd { margin: 0; color: var(--riso-body); font-size: 12px; line-height: 1.45; }
.research-study-card .text-link { width: fit-content; margin-top: auto; font-size: 13px; }
.research-page .research-overview-approach { padding-block: clamp(44px, 6vw, 76px); }
.research-principle-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-block: 1px solid var(--riso-line); }
.research-principle-grid article { padding: 18px 0 20px; border-bottom: 1px solid var(--riso-line); }
.research-principle-grid article:last-child { border-bottom: 0; }
.research-principle-grid article > span { display: block; margin-bottom: 13px; color: var(--riso-coral-action); font-size: 11px; font-weight: 750; }
.research-principle-grid h3 { max-width: 23ch; margin: 0 0 7px; font: 500 20px/1.25 var(--display); }
.research-principle-grid p { max-width: 42ch; margin: 0; color: var(--riso-body); font-size: 13px; line-height: 1.55; }
.research-page .research-overview-masters { border-block: 1px solid var(--riso-line); }
.research-masters-panel { max-width: 850px; padding: 0; }
.research-masters-panel h2 { max-width: 23ch; margin: 0 0 10px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.research-masters-panel > p:not(.section-index) { max-width: 67ch; margin: 0 0 14px; color: var(--riso-body); font-size: 15px; line-height: 1.6; }
.research-masters-panel .text-link { font-size: 13px; }
.research-page .research-study-hero { padding-block: clamp(40px, 6vw, 72px) 34px; }
.research-study-hero .container { max-width: 1120px; }
.research-study-hero .section-index a { color: inherit; }
.research-study-hero h1 { max-width: 22ch; margin-bottom: 11px; font-size: clamp(2.5rem, 5vw, 4.2rem); }
.research-study-hero .lead { max-width: 70ch; margin: 0; color: var(--riso-body); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; }
.research-page .research-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 30px; padding: 0; border-top: 1px solid var(--riso-line); border-bottom: 1px solid var(--riso-line); }
.research-page .research-facts > div { display: grid; gap: 4px; padding: 13px 0; border-bottom: 1px solid var(--riso-line); }
.research-page .research-facts > div:last-child { border-bottom: 0; }
.research-page .research-facts span { color: var(--riso-muted); font-size: 9px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.research-page .research-facts strong { color: var(--riso-ink); font-size: 13px; font-weight: 600; line-height: 1.45; }
.research-page .research-detail-section { padding-block: clamp(40px, 5.5vw, 70px); }
.research-page .research-detail-section + .research-detail-section { border-top: 1px solid var(--riso-line); }
.research-page .research-question-grid--two { grid-template-columns: minmax(0, 1fr); }
.research-page .research-question-grid--two .research-question { border-top: 2px solid var(--riso-cobalt); }
.research-page .research-question-grid--two .research-question:nth-child(2) { border-top-color: var(--riso-coral); }
.research-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: research-step; }
.research-flow li { position: relative; min-width: 0; padding: 16px; border: 1px solid var(--riso-line); border-top: 2px solid var(--riso-cobalt); background: var(--riso-paper); counter-increment: research-step; }
.research-flow li:nth-child(3n + 2) { border-top-color: var(--riso-coral); }
.research-flow li:nth-child(3n) { border-top-color: var(--riso-lilac); }
.research-flow li > span { display: block; margin-bottom: 12px; color: var(--riso-coral-action); font-size: 10px; font-weight: 750; }
.research-flow li strong { display: block; margin-bottom: 6px; color: var(--riso-ink); font: 500 18px/1.2 var(--display); }
.research-flow li p { margin: 0; color: var(--riso-body); font-size: 12px; line-height: 1.5; }
.research-diagram-caption { margin: 14px 0 0; color: var(--riso-muted); font-size: 12px; line-height: 1.5; }
.research-page .research-progress-section { background: var(--riso-lilac-wash); }
.research-progress-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.research-progress-item { min-width: 0; padding: 20px; border: 1px solid var(--riso-line); background: var(--riso-paper); }
.research-progress-item .meta-label { margin-bottom: 10px; color: var(--riso-cobalt-deep); }
.research-progress-item h3 { margin: 0 0 8px; font: 500 22px/1.2 var(--display); }
.research-progress-item > p:not(.meta-label) { max-width: 52ch; margin: 0 0 14px; color: var(--riso-body); font-size: 13px; line-height: 1.55; }
.research-caveat { margin-top: 20px; padding: 18px 20px; border-left: 4px solid var(--riso-coral); background: var(--riso-paper); }
.research-caveat strong { display: block; margin-bottom: 5px; color: var(--riso-cobalt-deep); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.research-caveat p { max-width: 78ch; margin: 0; color: var(--riso-body); font-size: 13px; line-height: 1.55; }
.research-resource-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--riso-line); }
.research-resource-links .text-link { font-size: 13px; }
.research-page .research-sample-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 20px; padding: 15px 0; border-block: 1px solid var(--riso-line); color: var(--riso-body); font-size: 12px; }
.research-sample-note strong { flex-basis: 100%; color: var(--riso-cobalt-deep); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.research-sample-note span { display: inline-flex; align-items: baseline; gap: 7px; }
.research-sample-note span::before { width: 5px; height: 5px; border-radius: 50%; background: var(--riso-coral); content: ""; }
.research-page .research-results-section { background: var(--riso-paper); }
.research-results-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.research-chart { min-width: 0; margin: 0; padding: 19px; border: 1px solid var(--riso-line); background: var(--riso-paper); }
.research-chart figcaption { display: grid; gap: 6px; margin-bottom: 20px; }
.research-chart figcaption .meta-label { margin: 0; color: var(--riso-cobalt-deep); }
.research-chart figcaption strong { color: var(--riso-ink); font: 500 20px/1.25 var(--display); }
.research-chart figcaption small { color: var(--riso-muted); font-size: 11px; line-height: 1.45; }
.research-bar-chart, .research-outcome-chart { display: grid; gap: 14px; }
.research-bar-row, .research-outcome-row { display: grid; grid-template-columns: minmax(70px, .52fr) minmax(60px, 1fr); gap: 5px 10px; align-items: center; }
.research-bar-row > span, .research-outcome-row > span { color: var(--riso-body); font-size: 11px; font-weight: 650; }
.research-bar-row > strong, .research-outcome-row > strong { grid-column: 2; color: var(--riso-cobalt-deep); font-size: 11px; }
.research-bar-track { display: block; height: 9px; overflow: hidden; background: var(--riso-wash); }
.research-bar { display: block; width: var(--bar-width); height: 100%; background: var(--research-post); }
.research-bar--pre { background: var(--research-pre); }
.research-bar--post { background: var(--research-post); }
.research-bar--decline { background: var(--riso-coral-action); }
.research-chart-note { display: grid; gap: 6px; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--riso-line); color: var(--riso-body); font-size: 11px; line-height: 1.4; }
.research-chart-note strong { color: var(--riso-cobalt-deep); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.research-chart-note span::before { display: inline-block; width: 5px; height: 5px; margin: 0 7px 2px 0; background: var(--riso-coral); content: ""; }
.research-score-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--riso-line); }
.research-score-summary div { display: grid; gap: 5px; }
.research-score-summary span { color: var(--riso-muted); font-size: 9px; line-height: 1.3; }
.research-score-summary strong { color: var(--riso-cobalt-deep); font: 500 20px/1 var(--display); }
.research-stat-note { max-width: 88ch; margin: 16px 0 24px; color: var(--riso-body); font-size: 12px; line-height: 1.55; }
.research-criteria-chart { margin-top: 14px; }
.research-criteria-rows { display: grid; gap: 8px; }
.research-criteria-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(90px, 1fr) 54px; gap: 9px; align-items: center; }
.research-criterion-label { color: var(--riso-body); font-size: 11px; line-height: 1.35; }
.research-criterion-bars { display: grid; grid-template-rows: repeat(2, 5px); align-content: center; gap: 3px; height: 16px; background: repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), var(--riso-line) calc(25% - 1px) 25%); }
.research-criterion-bars .research-bar { min-width: 0; height: 5px; }
.research-criterion-values { color: var(--riso-cobalt-deep); font-size: 10px; font-weight: 700; text-align: right; white-space: nowrap; }
.research-criterion-values b { padding-inline: 3px; color: var(--riso-muted); font-weight: 400; }
.research-chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--riso-line); color: var(--riso-muted); font-size: 10px; }
.research-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.research-chart-legend .research-bar { width: 11px; height: 7px; }
.research-definition-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 24px; border-block: 1px solid var(--riso-line); }
.research-definition-grid div { display: grid; gap: 4px; padding: 13px 0; border-bottom: 1px solid var(--riso-line); }
.research-definition-grid div:last-child { border-bottom: 0; }
.research-definition-grid strong { color: var(--riso-cobalt-deep); font-size: 11px; }
.research-definition-grid span { color: var(--riso-body); font-size: 12px; line-height: 1.5; }
.research-page .research-contact { border-top: 4px solid var(--riso-coral); background: var(--riso-cobalt); }
@media (min-width: 760px) {
  .research-overview-layout { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(30px, 5vw, 72px); }
  .research-overview-visual { max-width: none; }
  .research-study-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .research-study-card + .research-study-card { border-left: 0; }
  .research-study-card { min-height: 350px; }
  .research-study-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .research-principle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .research-principle-grid article { min-height: 180px; padding: 19px 20px 21px; border-right: 1px solid var(--riso-line); border-bottom: 0; }
  .research-principle-grid article:first-child { padding-left: 0; }
  .research-principle-grid article:last-child { padding-right: 0; border-right: 0; }
  .research-page .research-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .research-page .research-facts > div { min-height: 76px; padding: 14px 17px; border-right: 1px solid var(--riso-line); border-bottom: 0; }
  .research-page .research-facts > div:first-child { padding-left: 0; }
  .research-page .research-facts > div:last-child { padding-right: 0; border-right: 0; }
  .research-page .research-question-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-page .research-question-grid--two .research-question { min-height: 200px; }
  .research-flow--five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .research-flow--six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .research-flow li { min-height: 170px; padding: 17px; }
  .research-progress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .research-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-bar-row, .research-outcome-row { grid-template-columns: minmax(75px, .42fr) minmax(80px, 1fr) auto; gap: 10px; }
  .research-bar-row > strong, .research-outcome-row > strong { grid-column: 3; min-width: 96px; }
  .research-criteria-row { grid-template-columns: minmax(190px, .8fr) minmax(200px, 1fr) 62px; gap: 14px; }
  .research-definition-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .research-definition-grid div { padding: 14px 17px; border-right: 1px solid var(--riso-line); border-bottom: 0; }
  .research-definition-grid div:first-child { padding-left: 0; }
  .research-definition-grid div:last-child { padding-right: 0; border-right: 0; }
}
@media (max-width: 520px) {
  .research-criteria-row { grid-template-columns: minmax(0, 1fr) 88px 48px; gap: 6px; }
  .research-criterion-label { font-size: 10px; }
  .research-chart { padding: 15px; }
  .research-bar-row, .research-outcome-row { grid-template-columns: minmax(64px, .55fr) minmax(48px, 1fr); }
  .research-bar-row > strong, .research-outcome-row > strong { font-size: 10px; }
  .research-study-topline { align-items: flex-start; }
}
.research-page .catalog-section--soft { background: var(--riso-wash); }
.research-page .research-contact { color: #FFFFFF; }
.research-page .research-contact .section-index,
.research-page .research-contact h2,
.research-page .research-contact p { color: #FFFFFF; }
.research-page .research-contact .button-primary { border-color: var(--riso-coral-action); background: var(--riso-coral-action); color: #FFFFFF; }
.research-page .research-contact .button-primary:hover { border-color: #FFFFFF; background: #FFFFFF; color: var(--riso-cobalt-deep); }
@media (min-width: 760px) {
  .research-flow li:not(:last-child)::after { position: absolute; z-index: 1; top: 50%; right: -13px; display: grid; width: 15px; height: 20px; place-items: center; transform: translateY(-50%); background: var(--riso-paper); color: var(--riso-coral-action); content: "→"; font-size: 16px; font-weight: 700; }
  .research-flow--six li:nth-child(3)::after { top: auto; right: auto; bottom: -18px; left: 50%; transform: translateX(-50%) rotate(90deg); }
}
@media (min-width: 1100px) {
  .research-flow--six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .research-flow--six li:nth-child(3)::after { top: 50%; right: -13px; bottom: auto; left: auto; transform: translateY(-50%); }
}
.research-flow li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  display: block;
  bottom: -10px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border: 0;
  border-right: 2px solid var(--riso-coral-action);
  border-bottom: 2px solid var(--riso-coral-action);
  transform: rotate(45deg);
  background: var(--riso-paper);
  content: "";
}
@media (min-width: 760px) {
  .research-flow--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .research-flow li:not(:last-child)::after { top: 50%; right: -6px; bottom: auto; left: auto; transform: rotate(-45deg); }
  .research-flow--five li:nth-child(3)::after,
  .research-flow--six li:nth-child(3)::after { top: auto; right: auto; bottom: -10px; left: calc(50% - 4px); transform: rotate(45deg); }
}
@media (min-width: 1100px) {
  .research-flow--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .research-flow--five li:nth-child(3)::after { top: 50%; right: -6px; bottom: auto; left: auto; transform: rotate(-45deg); }
}

/* Research case pages: visual narrative, method, evidence, and interpretation. */
.research-case .research-case-hero {
  padding-block: clamp(42px, 6vw, 84px) clamp(24px, 3.5vw, 42px);
  border-bottom: 1px solid var(--riso-line);
  background: var(--riso-paper);
}
.research-case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  max-width: 1280px;
}
.research-case-copy .section-index a { color: inherit; }
.research-case-copy h1 {
  max-width: 17ch;
  margin: 0 0 15px;
  font-size: clamp(2.5rem, 4.6vw, 4.7rem);
  line-height: 1.04;
}
.research-case-copy .lead {
  max-width: 62ch;
  margin: 0;
  color: var(--riso-body);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.6;
}
.research-case-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 19px 0 0;
  color: var(--riso-cobalt-deep);
  font-size: 12px;
  font-weight: 700;
}
.research-status-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--riso-coral-action); }
.research-case-status--published .research-status-dot { background: #2e9f83; }
.research-case-art {
  min-width: 0;
  margin: 0;
  padding: clamp(10px, 1.7vw, 20px);
  border: 1px solid var(--riso-line);
  background: var(--riso-wash);
  box-shadow: 7px 7px 0 var(--riso-lilac-wash);
}
.research-case-art img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 620; object-fit: contain; }
.research-case-art figcaption {
  margin: 10px 0 0;
  padding: 10px 11px 2px;
  border-left: 3px solid var(--riso-cobalt);
  color: var(--riso-muted);
  font-size: 11px;
  line-height: 1.45;
}
.research-case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1280px;
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: 0;
  border-block: 1px solid var(--riso-line);
}
.research-case-facts > div {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 15px clamp(13px, 2vw, 25px);
  border-right: 1px solid var(--riso-line);
}
.research-case-facts > div:first-child { padding-left: 0; }
.research-case-facts > div:last-child { padding-right: 0; border-right: 0; }
.research-case-facts dt { color: var(--riso-muted); font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.research-case-facts dd { margin: 0; color: var(--riso-ink); font-size: 14px; line-height: 1.45; }
.research-case .research-case-section { padding-block: clamp(44px, 6vw, 78px); }
.research-case .research-case-section + .research-case-section { border-top: 1px solid var(--riso-line); }
.research-case-reading { max-width: 1160px; }
.research-case .research-section-heading { max-width: 790px; margin-bottom: 28px; }
.research-case .research-section-heading h2 { max-width: 26ch; }
.research-case .research-section-heading > p:not(.section-index) { max-width: 76ch; }
.research-case-explainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(22px, 4vw, 56px);
  margin: 25px 0 29px;
  border-block: 1px solid var(--riso-line);
}
.research-case-explainer > div { padding: 19px 0; }
.research-case-explainer h3 { margin: 0 0 7px; font: 500 20px/1.25 var(--display); }
.research-case-explainer p { max-width: 54ch; margin: 0; color: var(--riso-body); font-size: 13px; line-height: 1.55; }
.research-case-explainer--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.research-case-explainer--three > div { padding: 16px clamp(12px, 2vw, 22px); border-right: 1px solid var(--riso-line); }
.research-case-explainer--three > div:first-child { padding-left: 0; }
.research-case-explainer--three > div:last-child { padding-right: 0; border-right: 0; }
.research-case .research-question-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 0; border-top: 1px solid var(--riso-line); }
.research-case .research-question { min-height: 0; padding: 21px 0 23px; border: 0; border-bottom: 1px solid var(--riso-line); background: transparent; }
.research-case .research-question-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border: 0; }
.research-case .research-question-grid--two > .research-question {
  padding: 22px 24px 24px;
  border: 1px solid var(--riso-line);
  border-top: 3px solid var(--riso-cobalt);
  background: var(--riso-wash);
}
.research-case .research-question-grid--two > .research-question:nth-child(2) { border-top-color: var(--riso-coral); }
.research-case .research-case-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: case-step;
}
.research-case-flow li {
  min-width: 0;
  padding: 17px 16px 18px;
  border: 1px solid var(--riso-line);
  border-top: 2px solid var(--riso-cobalt);
  background: var(--riso-paper);
  counter-increment: case-step;
}
.research-case-flow li:nth-child(4n + 2) { border-top-color: var(--riso-coral); }
.research-case-flow li:nth-child(4n + 3) { border-top-color: var(--riso-lilac); }
.research-case-flow li:nth-child(4n) { border-top-color: #2e9f83; }
.research-case-flow li > span { display: block; margin-bottom: 17px; color: var(--riso-coral-action); font-size: 11px; font-weight: 750; }
.research-case-flow h3 { margin: 0 0 7px; font: 500 19px/1.2 var(--display); }
.research-case-flow p { margin: 0; color: var(--riso-body); font-size: 12px; line-height: 1.55; }
.research-case-note {
  display: grid;
  grid-template-columns: minmax(130px, .35fr) minmax(0, 1fr);
  gap: 14px 24px;
  margin-top: 24px;
  padding: 17px 19px;
  border-left: 3px solid var(--riso-cobalt);
  background: var(--riso-paper);
}
.research-case-note strong { color: var(--riso-cobalt-deep); font-size: 12px; }
.research-case-note p { margin: 0; color: var(--riso-body); font-size: 13px; line-height: 1.55; }
.research-case-note--caution { border-left-color: var(--riso-coral-action); }
.research-case .research-progress-grid { gap: 0 18px; }
.research-case .research-progress-item { padding: 20px; border: 1px solid var(--riso-line); background: var(--riso-paper); }
.research-case .research-progress-item h3 { margin-top: 4px; }
.research-case .research-limit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border-block: 1px solid var(--riso-line);
}
.research-limit-grid > div { padding: 18px clamp(12px, 2vw, 23px); border-right: 1px solid var(--riso-line); }
.research-limit-grid > div:first-child { padding-left: 0; }
.research-limit-grid > div:last-child { padding-right: 0; border-right: 0; }
.research-limit-grid strong { display: block; margin-bottom: 6px; color: var(--riso-cobalt-deep); font-size: 12px; }
.research-limit-grid p { margin: 0; color: var(--riso-body); font-size: 12px; line-height: 1.55; }
.research-case .research-results-grid { gap: 16px; }
.research-case .research-chart { padding: clamp(15px, 2vw, 23px); }
.research-case .research-chart figcaption strong { font-size: clamp(18px, 2vw, 22px); }
.research-case .research-bar-row > span,
.research-case .research-outcome-row > span { font-size: 12px; }
.research-case .research-bar-row > strong,
.research-case .research-outcome-row > strong { font-size: 12px; }
.research-case .research-stat-note { max-width: 90ch; padding-left: 15px; border-left: 3px solid var(--riso-coral); font-size: 13px; }
.research-case .research-criteria-row { grid-template-columns: minmax(150px, .7fr) minmax(140px, 1fr) 64px; gap: 12px; }
.research-case .research-criterion-label { font-size: 12px; }
.research-case .research-criterion-values { font-size: 12px; }
.research-case .research-resource-links { margin-top: 25px; padding-top: 15px; border-top: 1px solid var(--riso-line); }
@media (max-width: 900px) {
  .research-case-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, .86fr); gap: 28px; }
  .research-case-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .research-case .research-case-hero { padding-top: 32px; }
  .research-case-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .research-case-copy h1 { max-width: 18ch; font-size: clamp(2.25rem, 10vw, 3.35rem); }
  .research-case-art { max-width: 560px; }
  .research-case-facts { grid-template-columns: minmax(0, 1fr); }
  .research-case-facts > div,
  .research-case-facts > div:first-child,
  .research-case-facts > div:last-child { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--riso-line); }
  .research-case-facts > div:last-child { border-bottom: 0; }
  .research-case-explainer,
  .research-case-explainer--three,
  .research-case .research-question-grid--two,
  .research-case .research-limit-grid { grid-template-columns: minmax(0, 1fr); }
  .research-case-explainer--three > div,
  .research-limit-grid > div { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--riso-line); }
  .research-case-explainer--three > div:last-child,
  .research-limit-grid > div:last-child { border-bottom: 0; }
  .research-case .research-question-grid--two { gap: 12px; }
  .research-case .research-question-grid--two > .research-question { padding: 18px 20px; }
  .research-case-flow { grid-template-columns: minmax(0, 1fr); }
  .research-case-note { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .research-case .research-progress-grid,
  .research-case .research-results-grid { grid-template-columns: minmax(0, 1fr); }
  .research-case .research-criteria-row { grid-template-columns: minmax(0, 1fr) 80px 46px; gap: 7px; }
  .research-case .research-criterion-label { font-size: 10px; }
  .research-case .research-criterion-values { font-size: 10px; }
  .research-case .research-chart { padding: 14px; }
  .research-case .research-score-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .research-case .research-bar-row,
  .research-case .research-outcome-row { grid-template-columns: minmax(90px, .65fr) minmax(45px, 1fr); }
  .research-case .research-bar-row > strong,
  .research-case .research-outcome-row > strong { grid-column: 2; }
}
