/* HOF Consulting. Direction: "Healthcare of the Future". Forest green anchor, cool light surfaces, champagne and mint accents, airflow and signal motifs. */

@font-face { font-family: "Schibsted Grotesk"; src: url("assets/fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --green: #243223;
  --green-2: #2c3d2c;
  --green-deep: #1a2519;
  --champagne: #f0d9be;
  --champagne-2: #e8cba8;
  --mint: #a8f0c8;
  --mint-ink: #1d7a50;
  --white: #ffffff;
  --stone: #f4f6f3;
  --stone-2: #e7ece8;
  --ink: #142019;
  --soft: #4b5a50;
  --on-dark: #eef3ef;
  --on-dark-soft: #c3cec6;
  --radius: 6px;

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); /* 17-19px */
  --step-lead: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);  /* 22-30px */
  --step-head: clamp(2.25rem, 1.4rem + 3vw, 4.25rem);      /* 36-68px */
  --step-display: clamp(2.75rem, 0.9rem + 6vw, 7rem);   /* 44-112px */
  --step-mega: clamp(2.6rem, 0.4rem + 8.6vw, 9.5rem);

  --m: clamp(1.25rem, 3.4vw, 3rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 11vw, 10rem);
  --axis: 42%;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:target { scroll-margin-top: 5.5rem; }
::selection { background: var(--green); color: var(--champagne); }
:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .services :focus-visible, .join :focus-visible, .foot :focus-visible { outline-color: var(--mint); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; text-wrap: balance; letter-spacing: -0.025em; }
h3 { letter-spacing: -0.015em; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -4rem; background: var(--green); color: var(--champagne); padding: 0.75rem 1rem; z-index: 50; }
.skip:focus { top: 0.75rem; }
.frame { padding-inline: var(--m); }
.head { font-size: var(--step-head); line-height: 1.02; }
.display { font-size: var(--step-display); line-height: 0.96; letter-spacing: -0.045em; }
.head { letter-spacing: -0.035em; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.5rem; font-weight: 600; font-size: var(--step-small); text-decoration: none; border-radius: var(--radius); transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease; }
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--green); color: var(--white); }
.btn-ink:hover { background: #2f4530; }
.btn-mint { background: var(--mint); color: var(--green-deep); }
.btn-mint:hover { background: #c4f6da; }
.btn-champagne { background: var(--champagne); color: var(--green); }
.btn-champagne:hover { background: #f7e8d6; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; text-decoration-color: currentColor; transition: text-decoration-color 180ms ease, opacity 180ms ease; }
.text-link:hover { text-decoration-color: transparent; }

/* bar */
.bar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: var(--axis) 1fr auto; align-items: center; gap: 1rem; padding: 0.875rem var(--m); background: rgba(244, 246, 243, 0.94); transition: background-color 240ms ease; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--green); justify-self: start; }
.brand-logo { display: block; height: 2.35rem; width: auto; }
.nav-links { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a { font-weight: 500; font-size: var(--step-small); padding: 0.5rem 0; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.35em; text-decoration-color: transparent; transition: text-decoration-color 200ms ease; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current] { text-decoration-color: currentColor; }
.menu-btn { display: none; font-weight: 600; min-height: 2.75rem; padding: 0 0.25rem; }
.bar-action { min-height: 2.75rem; padding: 0 1.125rem; font-size: var(--step-small); }

/* hero */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - 4.25rem); display: flex; flex-direction: column; background: var(--green); color: var(--on-dark); overflow: hidden; }
.hero-field { position: absolute; inset: 0; z-index: -1; }
.hero-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 3rem; padding-block: clamp(2rem, 5vh, 3.5rem) clamp(2.5rem, 7vh, 4.5rem); }
.hero-main { display: grid; gap: clamp(2rem, 4vh, 3rem); }
.hero-main h1 { max-width: 17ch; color: var(--white); }
.hero-side { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; row-gap: 2rem; }
.standfirst { grid-column: 1 / 7; max-width: 46ch; font-size: var(--step-body); line-height: 1.55; color: var(--on-dark-soft); }
.hero-actions { grid-column: 8 / 13; justify-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.hero .text-link { color: var(--on-dark); }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line], .lines [data-line-scroll] { display: block; }

/* intro */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: var(--section); }
.intro-text { grid-column: 6 / 13; font-size: var(--step-lead); line-height: 1.32; max-width: 38ch; letter-spacing: -0.01em; }
.intro-pic { grid-column: 1 / 5; grid-row: 1; align-self: center; }
.pic { aspect-ratio: 600 / 340; overflow: hidden; background: var(--white); border-radius: var(--radius); }
.note { font-size: var(--step-small); line-height: 1.5; color: var(--soft); max-width: 24ch; }

/* stages */
.stages { display: grid; grid-template-columns: var(--axis) 1fr; padding-bottom: var(--section); align-items: start; }
.stages-side { padding-right: var(--gap); }
.stages-lead { margin-top: 1.25rem; color: var(--soft); }
.stage-tabs { margin-top: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.stage-tabs button { text-align: left; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; border-radius: var(--radius); font-size: var(--step-lead); line-height: 1.2; padding: 0.4rem 0.9rem 0.45rem; margin-left: -0.9rem; color: var(--soft); transition: color 180ms ease, background-color 180ms ease, transform 140ms var(--ease-out); }
.stage-tabs button:hover { color: var(--ink); background: var(--stone-2); }
.stage-tabs button:active { transform: scale(0.98); }
.stage-tabs button[aria-selected="true"] { background: var(--green); color: var(--white); }
.stage-panels { background: var(--white); border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 3.5rem); min-height: 100%; }
.stage-panel h3 { font-size: var(--step-lead); line-height: 1.15; }
.stage-problem { margin-top: 1.25rem; font-size: var(--step-body); line-height: 1.45; max-width: 44ch; }
.stage-list { margin-top: 1.75rem; display: grid; gap: 0.75rem; max-width: 52ch; }
.stage-list li { padding-left: 1.5rem; position: relative; }
.stage-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--mint-ink); }
.stage-panel .text-link { display: inline-block; margin-top: 2rem; }
.js .stage-panel[hidden] { display: none; }
html:not(.js) .stage-panel + .stage-panel { margin-top: 3rem; }
.stage-panel.is-shown { animation: panel-in 420ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* services */
.services { background: var(--green); color: var(--on-dark); padding-block: var(--section); }
.services-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.services-head { grid-column: 1 / 6; align-self: start; position: sticky; top: 6rem; }
.display-2 { font-size: var(--step-display); line-height: 0.98; letter-spacing: -0.03em; }
.services-lead { margin-top: 1.5rem; max-width: 30ch; font-size: var(--step-body); }
.services-list { grid-column: 7 / 13; display: grid; gap: clamp(4rem, 8vw, 7.5rem); }
.service h3 { font-size: var(--step-lead); line-height: 1.1; }
.service-row { margin-top: 1.5rem; display: grid; grid-template-columns: clamp(9rem, 14vw, 13rem) 1fr; gap: clamp(1.25rem, 2.5vw, 2.25rem); align-items: start; }
.service-flip .service-row { grid-template-columns: 1fr clamp(9rem, 14vw, 13rem); }
.service-flip .service-pic { order: 2; }
.service-pic { aspect-ratio: 3 / 4; overflow: hidden; background: var(--green-2); border-radius: var(--radius); }
.services h2, .service h3 { color: var(--white); }
.service ul { display: grid; gap: 0.75rem; font-size: var(--step-body); }
.service li { padding-left: 1.25rem; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--mint); }
.pathways { display: grid; gap: 0.6rem; margin-bottom: 1.5rem; padding: 1.25rem; background: var(--green-2); border-radius: var(--radius); }
.pathways dt { color: var(--mint); }
.pathways div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; font-size: var(--step-small); }
.pathways dt { font-weight: 600; }

/* engagements */
.work { padding-block: var(--section); }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1rem; row-gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.case-a { grid-column: 1 / 3; grid-row: 1; }
.work-head { grid-column: 3 / 4; grid-row: 1; padding-top: 0.25rem; }
.work-head h2 { font-size: clamp(2rem, 1rem + 2.4vw, 3.25rem); }
.work-head p { margin-top: 1.25rem; font-size: var(--step-small); color: var(--soft); }
.case-b { grid-column: 4 / 5; grid-row: 1; }
.case-c { grid-column: 2 / 3; }
.case-d { grid-column: 3 / 5; }
.case-a .case-pic { aspect-ratio: 3 / 2; }
.case-b .case-pic { aspect-ratio: 4 / 5; }
.case-c .case-pic { aspect-ratio: 4 / 5; }
.case-d .case-pic { aspect-ratio: 3 / 2; }
.case-pic { overflow: hidden; display: grid; place-items: center; border-radius: var(--radius); }
.case-pic > .motif { grid-area: 1 / 1; }
.ground-champagne { background: var(--champagne); }
.ground-mist { background: var(--white); }
.ground-green { background: var(--green); }
.case-mark { width: 62%; height: auto; color: var(--champagne); overflow: visible; }
.case-mark .orbit-dot { transform-origin: 100px 100px; transition: transform 1200ms var(--ease-out); }
.case:hover .case-mark .orbit-dot { transform: rotate(-150deg); }
.case-pic .motif { transition: transform 900ms var(--ease-soft); }
.case:hover .case-pic .motif { transform: scale(1.04); }
.case-b .case-cap, .case-c .case-cap { flex-direction: column; gap: 0.25rem; }
.case-b .case-cap span, .case-c .case-cap span { text-align: left; max-width: none; }
.case-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; }
.case-cap h3 { font-size: var(--step-lead); line-height: 1.15; }
.case-cap span { font-size: var(--step-small); color: var(--soft); text-align: right; flex-shrink: 0; max-width: 50%; }
.case p { margin-top: 0.75rem; max-width: 46ch; }

/* approach */
.approach { padding-block: 0 var(--section); }
.approach-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.approach-top h2 { grid-column: 1 / 6; }
.approach-top p { grid-column: 6 / 12; max-width: 52ch; font-size: var(--step-body); }
.diagram-wrap { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.diagram { width: 100%; height: auto; }
.diagram-v { display: none; }
.diagram .g-p1 { fill: #c7d5cb; }
.diagram .g-p2 { fill: #95b09f; }
.diagram .g-m { fill: #3f6a4f; }
.diagram .g-a { fill: var(--green); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 2rem; }
.steps li { display: grid; gap: 0.5rem; }
.steps h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--step-lead); line-height: 1.1; }
.steps p { font-size: var(--step-small); max-width: 30ch; }

/* about */
.about { background: var(--white); padding-block: var(--section); }
.about-row { display: grid; grid-template-columns: 34% 1fr; column-gap: var(--gap); }
.facts { display: grid; gap: 1.25rem; align-content: start; max-width: 15rem; }
.facts dt { font-size: var(--step-small); color: var(--soft); }
.facts dd { font-size: var(--step-body); font-weight: 600; }
.about-text { max-width: 54rem; }
.about-lead { margin-top: 1.75rem; font-size: var(--step-lead); line-height: 1.32; }
.about-text p + p { margin-top: 1.5rem; max-width: 60ch; }
.about-row-2 { margin-top: clamp(4rem, 8vw, 7.5rem); }
.about-word { font-weight: 600; }
.about-lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 0.5rem 3rem; }
.about-lists ul { display: grid; gap: 0.7rem; }
.about-lists li { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step-small); }
.about-lists li span:last-child { color: var(--soft); text-align: right; }

/* join */
.join { background: var(--green); color: var(--on-dark); }
.join h2 { color: var(--champagne); }
.join-inner { min-height: 88svh; display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(5rem, 12vh, 9rem) 2.5rem; }
.display-3 { font-size: var(--step-mega); line-height: 0.95; letter-spacing: -0.05em; }
.join-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-top: 4rem; }
.join-foot p { grid-column: 1 / 7; font-size: var(--step-body); line-height: 1.45; max-width: 46ch; }
.join-foot .btn { grid-column: 10 / 13; justify-self: end; min-height: 3.5rem; padding: 0 2rem; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: var(--section) clamp(5rem, 9vw, 7.5rem); align-items: start; }
.contact-main { grid-column: 1 / 6; }
.contact-text { margin-top: 1.75rem; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.contact-aside { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem; align-items: start; }
.contact-logo { width: 100%; aspect-ratio: 1; background: var(--green); border-radius: var(--radius); display: grid; place-items: center; }
.contact-logo svg { width: 58%; height: auto; color: var(--champagne); }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.contact-links .text-link { font-size: var(--step-body); min-height: 2.75rem; display: inline-flex; align-items: center; }
.contact-q { font-size: var(--step-body); font-weight: 600; }
.contact-links .note { margin-top: 0.5rem; max-width: 30ch; }
.contact-form { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.75rem); }
.field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--step-small); font-weight: 600; line-height: 1.3; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--soft); }
.field input, .field textarea { width: 100%; min-height: 3rem; padding: 0.7rem 0.875rem; font: inherit; font-size: var(--step-small); line-height: 1.4; color: var(--ink); background: var(--stone); border: 1px solid #7d8a81; border-radius: var(--radius); transition: border-color 160ms ease, background-color 160ms ease; }
.field textarea { min-height: 9.5rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--green); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); outline: 3px solid rgba(29, 122, 80, 0.4); outline-offset: 1px; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #a3341f; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.25rem; }
.form-foot .btn { border: 0; cursor: pointer; font-family: inherit; }
.form-privacy { flex: 1 1 16rem; font-size: 0.9375rem; line-height: 1.45; color: var(--soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: visually hidden honeypot, not a rule */

/* thank-you page */
.thanks { min-height: calc(80svh - 4.25rem); display: grid; align-content: center; padding-block: var(--section); }
.thanks h1 { font-size: var(--step-display); line-height: 0.98; letter-spacing: -0.04em; max-width: 12ch; }
.thanks p { margin-top: 1.75rem; font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
.thanks .btn { margin-top: 2.5rem; justify-self: start; }

/* footer */
.foot { background: var(--green-deep); color: var(--on-dark); }
.foot-email { color: var(--champagne); }
.foot-hof { color: var(--mint); font-weight: 600; }
.foot-inner { min-height: 72svh; display: flex; flex-direction: column; padding-block: 2.5rem 2rem; }
.foot-top { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 1.5rem 2.5rem; align-items: start; font-size: var(--step-small); }
.foot-logo { display: block; width: 9.5rem; height: auto; color: var(--champagne); }
.foot-top-link { justify-self: end; }
.foot-email { margin-top: auto; padding-top: 4rem; max-width: none; font-family: var(--font-display); font-weight: 500; font-size: var(--step-mega); line-height: 0.95; letter-spacing: -0.05em; text-decoration: none; word-break: normal; }
.foot-email a { text-decoration: none; display: block; }
.foot-email span { display: block; }
.foot-email a:hover span:last-child { text-decoration: underline; text-decoration-thickness: 0.04em; text-underline-offset: 0.12em; }
.foot-meta { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: start; font-size: var(--step-small); }
.foot-meta > p:last-child { justify-self: end; }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 250ms); }
  .js [data-hero-fade] { opacity: 0; transform: translateY(16px); animation: fade-up 700ms var(--ease-out) 900ms forwards; }
  .js .hero-field { opacity: 0; animation: fade-in 1600ms ease 100ms forwards; }
  .js [data-reveal] .m-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--ease-in-out) 300ms; }
  .js [data-reveal].is-in .m-draw { stroke-dashoffset: 0; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .lines [data-line-scroll] { transform: translateY(105%); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i) * 110ms); }
  .js .lines.is-in [data-line-scroll] { transform: none; }
  .js .diagram .g-a { transition: opacity 600ms ease; }
}
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }

/* tablet */
@media (max-width: 64rem) {
  .bar { grid-template-columns: 1fr auto auto; }
  .nav { order: 3; }
  .bar-action { order: 2; }
  .menu-btn { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--stone-2); padding: 0.5rem var(--m) 1.5rem; }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 0.85rem 0; font-size: var(--step-body); }
  .standfirst { grid-column: 1 / -1; }
  .hero-actions { grid-column: 1 / -1; justify-self: start; }
  .intro-text { grid-column: 5 / 13; }
  .intro-pic { grid-column: 1 / 5; }
  .services-head { grid-column: 1 / 13; position: static; margin-bottom: 3.5rem; }
  .services-list { grid-column: 1 / 13; }
  .contact-main { grid-column: 1 / 13; display: contents; }
  .contact-main > h2, .contact-main > .contact-text { grid-column: 1 / 13; }
  .contact-form { grid-column: 1 / 13; margin-top: 2.5rem; }
  .contact-aside { grid-column: 1 / 13; order: 3; }
}

/* phone */
@media (max-width: 47.99rem) {
  :root { --section: 5.5rem; }
  .bar { padding-block: 0.625rem; gap: 0.75rem; }
  .bar-action { display: none; }
  .brand-logo { height: 1.85rem; }
  .hero { min-height: calc(100svh - 3.75rem); }
  .hero-body { gap: 2rem; padding-block: 1.75rem 2rem; }
  .display { font-size: clamp(2.3rem, 9.8vw, 3.4rem); }
  .hero-actions { gap: 1.25rem 1.5rem; }
  .intro { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .intro-text { grid-column: 1 / -1; font-size: var(--step-lead); }
  .intro-pic { grid-column: 1 / -1; grid-row: 2; margin-top: 2.5rem; }
  .stages { grid-template-columns: 1fr; }
  .stages-side { position: static; padding: 0; }
  .stage-tabs { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
  .stage-tabs button { margin: 0; font-family: var(--font-text); letter-spacing: 0; font-size: var(--step-small); font-weight: 600; padding: 0.7rem 0.9rem; background: var(--stone-2); color: var(--ink); min-height: 2.75rem; }
  .stage-panels { margin-top: 1.5rem; margin-inline: calc(var(--m) * -1); padding: 2rem var(--m); border-radius: 0; }
  .stage-problem { font-size: var(--step-body); }
  .services-head { position: sticky; top: 3.6rem; z-index: 2; background: var(--green); margin: 0 calc(var(--m) * -1) 2rem; padding: 0.75rem var(--m); }
  .display-2 { font-size: 2.25rem; }
  .services-lead { display: none; }
  .services-list { gap: 4.5rem; }
  .service-row, .service-flip .service-row { grid-template-columns: 1fr; }
  .service-flip .service-pic { order: 0; }
  .service-pic { aspect-ratio: 4 / 3; }
  .pathways div { grid-template-columns: 5.5rem 1fr; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.625rem; }
  .work-head { grid-column: 1 / -1; grid-row: 1; }
  .case-a { grid-column: 1 / -1; grid-row: auto; }
  .case-b { grid-column: 1 / -1; grid-row: auto; }
  .case-c { grid-column: 1 / -1; }
  .case-d { grid-column: 1 / -1; }
  .case-b .case-pic, .case-c .case-pic { aspect-ratio: 3 / 2; }
  .case-cap { flex-direction: column; gap: 0.25rem; }
  .case-cap span { text-align: left; max-width: none; }
  .approach-top { grid-template-columns: 1fr; gap: 1.25rem; }
  .approach-top h2, .approach-top p { grid-column: 1; }
  .diagram-wrap { display: grid; grid-template-columns: 34% 1fr; gap: 1.5rem; align-items: stretch; }
  .diagram-h { display: none; }
  .diagram-v { display: block; grid-row: 1; }
  .steps { grid-template-columns: 1fr; margin-top: 0; grid-template-rows: repeat(4, 1fr); row-gap: 0.75rem; }
  .steps h3 { font-size: var(--step-lead); }
  .steps p { font-size: var(--step-small); }
  .about-row { grid-template-columns: 1fr; }
  .facts { grid-row: 2; grid-template-columns: 1fr 1fr; max-width: none; margin-top: 2.5rem; gap: 1.25rem 1rem; }
  .about-lead { font-size: var(--step-body); }
  .about-row-2 { margin-top: 3.5rem; }
  .about-word { margin-bottom: 1rem; }
  .about-lists { grid-template-columns: 1fr; gap: 0.7rem; }
  .join-inner { min-height: 0; padding-block: 4.5rem 3rem; }
  .display-3 { font-size: clamp(2.25rem, 9.4vw, 3.5rem); }
  .join-foot { grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
  .join-foot p, .join-foot .btn { grid-column: 1; }
  .join-foot p { font-size: var(--step-body); }
  .join-foot .btn { justify-self: stretch; }
  .contact-text { font-size: var(--step-lead); }
  .contact-form { grid-template-columns: 1fr; gap: 1.25rem; margin-inline: calc(var(--m) * -0.5); padding: 1.5rem 1.25rem; }
  .contact-aside { grid-template-columns: 4.5rem 1fr; gap: 1.25rem; }
  .contact-links .text-link { font-size: var(--step-small); word-break: break-word; }
  .form-foot .btn { width: 100%; }
  .foot-inner { min-height: 70svh; }
  .foot-top { grid-template-columns: auto 1fr; }
  .foot-logo { grid-column: 1 / -1; width: 8.5rem; }
  .foot-top p:nth-of-type(2) { grid-column: 1 / -1; }
  .foot-top-link { grid-column: 1 / -1; justify-self: start; }
  .foot-email { font-size: 9.2vw; }
  .foot-meta { grid-template-columns: 1fr; }
  .foot-meta > p:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* technical depth note inside services */
.service-depth { padding-top: 1.5rem; }
.depth-text { margin-block: 1rem 1.5rem; max-width: 52ch; font-size: var(--step-body); line-height: 1.5; }

/* code-drawn motifs */
.motif { width: 100%; height: 100%; display: block; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-grid { stroke: rgba(240, 217, 190, 0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.m-grid-ink { stroke: rgba(36, 50, 35, 0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.m-line { stroke: rgba(240, 217, 190, 0.5); stroke-width: 1.2; }
.m-line-2 { stroke: rgba(168, 240, 200, 0.42); stroke-width: 1.2; }
.m-hi { stroke: var(--mint); stroke-width: 2.2; }
.m-hi-thick { stroke-width: 4; }
.m-dot { fill: rgba(240, 217, 190, 0.75); stroke: none; }
.m-dot-hi { fill: var(--mint); stroke: none; }
.m-bar { fill: rgba(240, 217, 190, 0.16); stroke: none; }
.m-bar-hi { fill: rgba(168, 240, 200, 0.75); stroke: none; }
.m-cell { stroke: none; rx: 3px; }
.m-c0 { fill: #e3eae5; } .m-c1 { fill: #c3d4c8; } .m-c2 { fill: #8fb19b; } .m-c3 { fill: #4e7a5d; } .m-c4 { fill: var(--green); }
.m-cell-hi { fill: var(--mint-ink); }
.m-ink { stroke: rgba(36, 50, 35, 0.7); stroke-width: 1.3; }
.m-ink-2 { stroke: var(--mint-ink); stroke-width: 1.3; }
.m-ink-soft { stroke: rgba(36, 50, 35, 0.28); stroke-width: 1.3; }
.m-axis { stroke: rgba(36, 50, 35, 0.22); stroke-width: 1; }
.m-trace { stroke: var(--green); stroke-width: 2.4; }
.m-dot-ink { fill: var(--mint-ink); stroke: none; }

/* both sides of the CDMO table */
.bridge { padding-block: var(--section) 0; }
.bridge-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.bridge-top h2 { grid-column: 1 / 6; max-width: 12ch; }
.bridge-lead { grid-column: 6 / 13; font-size: var(--step-lead); line-height: 1.32; max-width: 40ch; letter-spacing: -0.01em; }
.bridge-pic { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--white); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 2rem); }
.bridge-art { width: 100%; height: clamp(12rem, 30vw, 26rem); }
.bridge-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; font-size: var(--step-small); color: var(--soft); }
.bridge-labels span:nth-child(2) { text-align: center; color: var(--mint-ink); font-weight: 600; }
.bridge-labels span:last-child { text-align: right; }
.bridge-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--gap); margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.bridge-list li { display: grid; gap: 0.5rem; align-content: start; }
.bridge-list h3 { font-size: var(--step-lead); line-height: 1.15; }
.bridge-list p { font-size: var(--step-small); color: var(--soft); max-width: 30ch; }
.b-dev { fill: #9db7a5; stroke: none; }
.b-mfg { fill: var(--green); stroke: none; }
.b-link { stroke: rgba(36, 50, 35, 0.22); stroke-width: 1.2; }
.b-bridge { stroke: var(--mint-ink); stroke-width: 3; }
.b-node { fill: var(--mint-ink); stroke: none; }
@media (max-width: 64rem) {
  .bridge-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bridge-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .bridge-top h2, .bridge-lead { grid-column: 1; max-width: none; }
}
@media (max-width: 47.99rem) {
  .bridge-top { grid-template-columns: 1fr; gap: 1.25rem; }
  .bridge-top h2, .bridge-lead { grid-column: 1; }
  .bridge-lead { font-size: var(--step-body); }
  .bridge-pic { margin-inline: calc(var(--m) * -1); border-radius: 0; }
  .bridge-labels { gap: 0.75rem; }
  .bridge-list { grid-template-columns: 1fr; }
}
