:root {
  --paper: #f3f4ec;
  --paper-2: #e8ebdf;
  --ink: #101310;
  --ink-2: #1d231e;
  --muted: #5f685f;
  --line: #cbd0c3;
  --lime: #d9ff52;
  --blue: #6f8cff;
  --aqua: #83e9d2;
  --white: #fbfcf7;
  --max: 1320px;
  --pad: clamp(1.2rem, 4.5vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; list-style: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--lime); color: var(--ink); }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 200; background: var(--lime); color: var(--ink); padding: .8rem 1rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.page-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 150; }
.page-progress span { display: block; width: 0; height: 100%; background: var(--lime); }
.site-header { height: 74px; position: sticky; top: 0; z-index: 120; border-bottom: 1px solid rgba(203,208,195,.8); background: rgba(243,244,236,.88); backdrop-filter: blur(18px); }
.header-inner { width: 100%; height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .58rem; font-weight: 900; letter-spacing: -.035em; font-size: 1rem; white-space: nowrap; }
.brand i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }
.site-header nav { display: flex; gap: 2rem; margin-left: auto; color: var(--muted); font-size: .88rem; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--ink); }
.header-link { font-weight: 800; font-size: .86rem; padding-bottom: .15rem; border-bottom: 2px solid var(--ink); }
.hero { background: var(--paper); min-height: calc(100svh - 74px); display: grid; grid-template-columns: minmax(0,1.4fr) minmax(340px,.6fr); gap: clamp(2rem,7vw,7rem); align-content: center; max-width: var(--max); margin: auto; padding: clamp(4.5rem,9vw,8rem) var(--pad) 3rem; position: relative; }
.hero::before { content: ""; position: absolute; width: 270px; height: 270px; right: 3%; top: 8%; border-radius: 50%; background: var(--lime); filter: blur(0); opacity: .3; z-index: -1; }
.overline { margin: 0 0 1.3rem; font: 800 .72rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1; letter-spacing: -.055em; }
h1 { font-size: clamp(3.8rem, 8vw, 8rem); max-width: 12.5ch; }
h1 em { font-style: normal; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: .12em; text-underline-offset: .08em; }
.hero-lede { max-width: 760px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.05rem,1.55vw,1.3rem); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.button { min-height: 50px; padding: .8rem 1.15rem; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .7rem; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { background: transparent; }
.button-lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.button-outline { border-color: #657062; color: var(--white); }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.career-stack { align-self: end; border: 1px solid var(--ink); background: rgba(251,252,247,.86); box-shadow: 16px 16px 0 var(--ink); }
.stack-label { margin: 0; padding: 1rem 1.2rem; font: 800 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; border-bottom: 1px solid var(--line); }
.stack-item { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.stack-item:last-child { border-bottom: 0; }
.stack-item > span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 800 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.stack-item.current { background: var(--lime); }
.stack-item small { color: var(--muted); font: 800 .64rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.stack-item strong { display: block; font-size: 1.05rem; margin: .2rem 0; }
.stack-item p { margin: 0; color: var(--muted); font-size: .78rem; }
.hero-proof { grid-column: 1 / -1; margin-top: clamp(2rem,6vw,5rem); display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); }
.hero-proof > div { padding: 1.25rem; border-right: 1px solid var(--line); }
.hero-proof > div:last-child { border-right: 0; }
.hero-proof span { font-size: clamp(1.8rem,3vw,3rem); font-weight: 900; letter-spacing: -.05em; }
.hero-proof p { margin: .2rem 0 0; color: var(--muted); font-size: .82rem; }
.positioning { background: var(--ink); color: var(--white); padding: clamp(4.5rem,7.5vw,7.5rem) var(--pad); }
.positioning > p, .positioning-grid { max-width: var(--max); margin-left: auto; margin-right: auto; }
.positioning > p { color: var(--aqua); font: 800 .75rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; margin-top: 0; margin-bottom: 2rem; }
.positioning-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #394139; border-left: 1px solid #394139; }
.positioning article { min-height: 290px; padding: 1.4rem; border-right: 1px solid #394139; border-bottom: 1px solid #394139; display: flex; flex-direction: column; }
.positioning article span { color: var(--lime); font: 800 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.positioning article h2 { margin-top: auto; font-size: clamp(1.7rem,2.4vw,2.7rem); }
.positioning article p { color: #aeb8ad; font-size: .9rem; margin-bottom: 0; }
.portfolio, .journey, .recruiter { max-width: var(--max); margin: auto; padding: clamp(5rem,8vw,8rem) var(--pad); }
.portfolio { padding-bottom: clamp(4rem,6vw,6rem); }
.journey { padding-top: clamp(4rem,6vw,6rem); }
.section-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem,8vw,8rem); align-items: end; margin-bottom: 3rem; }
.section-intro h2, .recruiter h2 { font-size: clamp(3rem,6vw,6.5rem); max-width: 10ch; }
.section-intro > p { color: var(--muted); margin: 0; max-width: 560px; }
.portfolio-intro { grid-template-columns: minmax(0,3fr) minmax(280px,1fr); gap: clamp(2rem,4vw,4rem); }
.portfolio-intro h2 { max-width: none; font-size: clamp(3rem,4.6vw,4rem); }
.headline-line { display: block; white-space: nowrap; }
.journey-intro { grid-template-columns: minmax(0,2.5fr) minmax(300px,1fr); gap: clamp(2rem,5vw,5rem); }
.journey-intro h2 { max-width: 18ch; font-size: clamp(3rem,5vw,4.8rem); }
.role { border: 1px solid var(--ink); margin-bottom: 3rem; }
.role-header { display: grid; grid-template-columns: 1.1fr .6fr 1fr; gap: 2.2rem; padding: clamp(1.5rem,4vw,3rem); border-bottom: 1px solid var(--ink); }
.role-index { margin: 0 0 .9rem; color: var(--muted); font: 800 .67rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.role-header h3 { font-size: clamp(2.5rem,5vw,5rem); }
.role-header h3 a span { font-size: .4em; vertical-align: top; }
.role-header h3 a:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.partner-link { display: inline-flex; margin-top: .8rem; color: var(--muted); font: 800 .7rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.partner-link:hover, .partner-link:focus-visible { color: var(--ink); }
.role-meta { padding-top: 2.1rem; }
.role-meta strong, .role-meta span { display: block; }
.role-meta span { color: var(--muted); font-size: .86rem; margin-top: .25rem; }
.role-header > p { margin: 2.1rem 0 0; color: var(--muted); }
.case-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; }
.case { min-height: 400px; padding: clamp(1.4rem,3vw,2.2rem); border-right: 1px solid var(--ink); display: flex; flex-direction: column; background: var(--white); }
.case:last-child { border-right: 0; }
.case-large { background: var(--lime); }
.case-top { display: flex; justify-content: space-between; gap: 1rem; font: 800 .66rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.case h4 { margin-top: auto; font-size: clamp(2rem,3.3vw,3.8rem); }
.case h4 a:hover { text-decoration: underline; }
.case > p { color: var(--muted); font-size: .9rem; }
.case ul, .amala-grid ul, .journey-card ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.2rem 0 0; }
.case li, .amala-grid li, .journey-card li { border: 1px solid currentColor; padding: .32rem .52rem; font: 700 .66rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.workstreams { border-top: 1px solid var(--ink); background: var(--ink); color: var(--white); display: grid; grid-template-columns: .7fr 1.3fr; }
.workstream-heading { padding: clamp(1.6rem,4vw,3.2rem); border-right: 1px solid #3a423a; }
.workstream-heading .overline { color: var(--lime); }
.workstream-heading h4 { font-size: clamp(2.2rem,4vw,4.5rem); max-width: 9ch; }
.workstream-list article { min-height: 95px; display: grid; grid-template-columns: 40px 1fr auto; gap: 1.2rem; align-items: center; padding: 1rem 1.4rem; border-bottom: 1px solid #3a423a; }
.workstream-list article:last-child { border-bottom: 0; }
.workstream-list article > span { color: var(--lime); font: 800 .66rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.workstream-list h5 { font-size: 1.18rem; letter-spacing: -.025em; }
.workstream-list p { margin: .2rem 0 0; color: #9da79d; font-size: .78rem; }
.workstream-list b { color: var(--aqua); font-size: .72rem; font-weight: 750; text-align: right; }
.client-strip { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; align-items: center; padding: 1.15rem 1.4rem; border-top: 1px solid var(--ink); font-size: .78rem; }
.client-strip > span { font: 800 .64rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; color: var(--muted); margin-right: auto; }
.client-strip a { font-weight: 800; }
.client-strip a:hover { background: var(--lime); }
.role-amala { background: var(--ink); color: var(--white); margin-bottom: 0; }
.role-amala .role-header { border-color: #505850; }
.role-amala .role-header > p, .role-amala .role-meta span, .role-amala .role-index { color: #aeb7ad; }
.amala-grid { display: grid; grid-template-columns: 1fr 1fr; }
.amala-grid article { min-height: 380px; padding: clamp(1.5rem,4vw,3rem); border-right: 1px solid #505850; display: flex; flex-direction: column; }
.amala-grid article:last-child { border-right: 0; }
.amala-grid article > span { color: var(--lime); font: 800 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.amala-grid h4 { margin-top: clamp(2.5rem,4vw,3.75rem); min-height: 3em; font-size: clamp(2.4rem,5vw,5rem); max-width: 10ch; }
.amala-grid p { color: #adb7ad; max-width: 620px; margin-top: 1.5rem; }
.amala-grid ul { min-height: 5rem; margin-top: auto; padding-top: 1.2rem; align-content: flex-start; }
.amala-grid li { color: #cbd3c9; }
.journey { border-top: 1px solid var(--line); }
.journey-line { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.journey-line::before { content: ""; position: absolute; left: 0; right: 0; top: 37px; height: 1px; background: var(--ink); }
.journey-card { padding-top: 1rem; position: relative; }
.journey-date { height: 55px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; font: 800 .65rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; }
.journey-date i { width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); position: relative; z-index: 2; }
.journey-card { border: 1px solid var(--line); padding: 1.2rem; min-height: 500px; display: flex; flex-direction: column; }
.journey-card .journey-date { margin: -1.2rem -1.2rem 0; padding: 1.2rem 1.2rem 0; }
.journey-role { margin: 1.2rem 0 .7rem; color: var(--muted); font: 800 .65rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.journey-card h3 { min-height: 2em; font-size: clamp(1.8rem,2.6vw,2.7rem); }
.journey-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.journey-card > p:not(.journey-role) { color: var(--muted); font-size: .87rem; }
.journey-card ul { min-height: 8.5rem; margin-top: auto; align-content: flex-start; }
.recruiter { background: var(--paper-2); max-width: none; }
.recruiter-copy, .recruiter-grid { max-width: calc(var(--max) - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.recruiter-copy { margin-bottom: 3rem; }
.recruiter-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.recruiter-grid article { min-height: 205px; padding: 1.4rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.recruiter-grid span { font: 800 .66rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.recruiter-grid p { font-size: clamp(1.1rem,1.8vw,1.45rem); max-width: 38ch; margin-top: 3rem; }
.contact { background: var(--ink); color: var(--white); min-height: 68svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(5rem,8vw,8rem) var(--pad); }
.contact > * { max-width: var(--max); width: 100%; margin-left: auto; margin-right: auto; }
.contact .overline { color: var(--lime); }
.contact h2 { font-size: clamp(3.2rem,7vw,7.5rem); max-width: 14ch; }
.contact > p:not(.overline) { color: #aeb8ad; margin-top: 1.5rem; }
.contact-actions { display: grid; grid-template-columns: repeat(3, 180px); justify-content: flex-start; }
.contact-actions .button { width: 100%; min-height: 56px; }
footer { max-width: var(--max); margin: auto; padding: 2.4rem var(--pad); display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.brand-footer i { background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }
footer p { margin: 0; }
footer div { display: flex; gap: 1.3rem; }
footer div a:hover { color: var(--ink); }
footer small { grid-column: 1 / -1; }
.mobile-actions { display: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Portfolio v2 — complete delivery record */
.site-header nav { gap: 1.3rem; }
.lifecycle { max-width: none; }
.lifecycle-intro, .lifecycle-grid { max-width: var(--max); margin-left: auto; margin-right: auto; }
.lifecycle-intro { display: grid; grid-template-columns: .7fr 1.2fr .8fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.lifecycle-intro .overline { color: var(--lime); }
.lifecycle-intro h2 { font-size: clamp(2.8rem,5vw,5.8rem); max-width: 11ch; }
.lifecycle-intro > p:last-child { color: #aeb8ad; margin: 0; }
.lifecycle-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #394139; border-left: 1px solid #394139; }
.lifecycle-grid li { min-height: 210px; padding: 1.25rem; border-right: 1px solid #394139; border-bottom: 1px solid #394139; display: flex; flex-direction: column; }
.lifecycle-grid span { color: var(--lime); font: 800 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.lifecycle-grid strong { margin-top: auto; font-size: 1.25rem; }
.lifecycle-grid p { color: #aeb8ad; font-size: .84rem; margin: .45rem 0 0; }
.flagship-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.flagship-card { min-height: 0; padding: clamp(1.4rem,3vw,2.4rem); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; background: var(--white); }
.flagship-card:nth-child(even) { border-right: 0; }
.flagship-lime { background: var(--lime); }
.flagship-dark { background: var(--ink); color: var(--white); }
.flagship-card h4 { margin-top: clamp(2.75rem,4vw,4rem); min-height: 2em; font-size: clamp(2.4rem,4.5vw,5rem); font-weight: 900; line-height: .96; }
.flagship-card h4 a { font: inherit; letter-spacing: inherit; }
.project-link { display: inline; }
.project-link--nowrap { display: inline-block; white-space: nowrap; }
.link-tail { display: inline-block; white-space: nowrap; }
.link-arrow { display: inline-block; margin-left: .06em; font-size: .72em; line-height: 1; vertical-align: .08em; }
.flagship-card > p { color: var(--muted); max-width: 660px; min-height: 7em; margin: 1.15rem 0 0; }
.flagship-dark > p { color: #aeb8ad; }
.flagship-card > ul { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .4rem; min-height: 3.75rem; margin: .9rem 0 .75rem; }
.flagship-card > ul li { border: 1px solid currentColor; padding: .32rem .52rem; font: 700 .66rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.case-details { margin-top: 0; border-top: 1px solid currentColor; }
.case-details summary { cursor: pointer; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 850; font-size: .82rem; list-style: none; }
.case-details summary::-webkit-details-marker { display: none; }
.case-details summary span { font-size: 1.3rem; transition: transform .2s ease; }
.case-details[open] summary span { transform: rotate(45deg); }
.case-details > div { padding: 0 0 .6rem; display: grid; gap: .7rem; }
.case-details p { margin: 0; color: var(--muted); font-size: .84rem; }
.case-details p strong { display: block; color: currentColor; margin-bottom: .2rem; }
.flagship-dark .case-details p { color: #aeb8ad; }
.capabilities-section { margin: 2.5rem 0; border: 1px solid var(--ink); background: var(--ink); color: var(--white); display: grid; grid-template-columns: .72fr 1.28fr; }
.capabilities-section .workstream-heading { padding: clamp(1.6rem,4vw,3.2rem); border-right: 1px solid #3a423a; position: sticky; top: 94px; align-self: start; }
.capabilities-section .workstream-heading .overline { color: var(--lime); }
.capabilities-section .workstream-heading h3 { font-size: clamp(2.5rem,4.6vw,5rem); max-width: 10ch; }
.capabilities-section .workstream-heading > p:last-child { color: #aeb8ad; max-width: 440px; margin-top: 1.5rem; }
.capability-accordion { min-width: 0; }
.capability-item { border-bottom: 1px solid #3a423a; }
.capability-item:last-child { border-bottom: 0; }
.capability-item summary { min-height: 96px; display: grid; grid-template-columns: 38px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.4rem; cursor: pointer; list-style: none; }
.capability-item summary::-webkit-details-marker { display: none; }
.capability-item summary > span { color: var(--lime); font: 800 .67rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.capability-item summary strong, .capability-item summary small { display: block; }
.capability-item summary strong { font-size: 1.12rem; }
.capability-item summary small { color: #98a398; font-size: .76rem; margin-top: .25rem; }
.capability-item summary i { font-style: normal; color: var(--lime); font-size: 1.5rem; transition: transform .2s ease; }
.capability-item[open] summary { background: #171c17; }
.capability-item[open] summary i { transform: rotate(45deg); }
.capability-panel { padding: .2rem 1.4rem 1.4rem calc(38px + 2.4rem); background: #171c17; }
.capability-panel > p { margin: 0; color: #bdc6bb; max-width: 820px; }
.capability-panel ul { display: flex; flex-wrap: wrap; gap: .42rem; margin: 1rem 0 0; }
.capability-panel li { border: 1px solid #4b554a; color: #cfd7cd; padding: .35rem .55rem; font: 700 .67rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.project-library { padding: clamp(3.5rem,6vw,5.5rem) 0; }
.project-library-head { display: grid; grid-template-columns: minmax(0,3fr) minmax(280px,1fr); gap: clamp(2rem,4vw,4rem); align-items: end; margin-bottom: 2rem; }
.project-library-head h3 { font-size: clamp(3rem,5vw,4.5rem); max-width: none; }
.project-library-head > p:last-child { color: var(--muted); margin: 0; }
.project-record-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.project-record { min-height: 320px; padding: 1.35rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; }
.project-record > span { font: 800 .66rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.project-record h4 { margin: clamp(2.4rem,4vw,3.5rem) 0 0; min-height: 2em; font-size: clamp(1.8rem,2.7vw,2.8rem); }
.project-record h4 a:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.project-record p { color: var(--muted); font-size: .86rem; margin-top: .8rem; }
.project-record ul { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .4rem; min-height: 4.5rem; margin: auto 0 0; padding-top: 1rem; }
.project-record li { border: 1px solid var(--line); padding: .3rem .48rem; font: 700 .65rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.pivot-note { margin: -1rem 0 3rem; border: 1px solid var(--ink); background: var(--lime); padding: 1.4rem; display: grid; grid-template-columns: 160px 1fr; gap: 2rem; align-items: baseline; }
.pivot-note span { font: 850 .67rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.pivot-note p { margin: 0; max-width: 920px; font-size: 1.05rem; }
.credentials { max-width: var(--max); margin: auto; padding: clamp(5rem,8vw,8rem) var(--pad); border-top: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem,8vw,8rem); align-items: start; }
.credentials-copy h2 { font-size: clamp(2.8rem,5vw,5.6rem); max-width: 11ch; }
.credentials-copy > p:last-child { color: var(--muted); max-width: 520px; margin-top: 1.5rem; }
.credential-grid { border-top: 1px solid var(--ink); }
.credential-grid article { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--ink); }
.credential-grid article > span { font: 800 .68rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.credential-grid h3 { font-size: clamp(1.35rem,2.1vw,2rem); letter-spacing: -.035em; }
.credential-grid ul { margin: 1rem 0 0; display: grid; gap: .8rem; }
.credential-grid li { display: grid; gap: .12rem; }
.credential-grid li strong { font-size: .95rem; line-height: 1.35; }
.credential-grid li small { color: var(--muted); font-size: .78rem; }

@media (max-width: 1040px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .career-stack { max-width: 650px; }
  .positioning-grid { grid-template-columns: repeat(2,1fr); }
  .role-header { grid-template-columns: 1fr 1fr; }
  .role-header > p { grid-column: 1 / -1; margin-top: 0; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case-large { grid-column: 1 / -1; }
  .case:nth-child(2) { border-top: 1px solid var(--ink); }
  .case:last-child { border-top: 1px solid var(--ink); }
  .journey-line { grid-template-columns: repeat(2,1fr); }
  .journey-line::before { display: none; }
  .journey-date i { display: none; }
  .lifecycle-intro { grid-template-columns: 1fr 1fr; }
  .lifecycle-intro > p:last-child { grid-column: 1 / -1; }
  .lifecycle-grid { grid-template-columns: repeat(2,1fr); }
  .capabilities-section { grid-template-columns: 1fr; }
  .capabilities-section .workstream-heading { position: static; border-right: 0; border-bottom: 1px solid #3a423a; }
  .project-library-head { grid-template-columns: 1fr 1fr; }
  .project-library-head > p:last-child { grid-column: auto; }
  .project-record-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .credentials { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --pad: 1.1rem; }
  .site-header { height: 64px; }
  .brand { font-size: .9rem; }
  .hero { min-height: auto; padding-top: 4rem; }
  h1 { font-size: clamp(3.4rem,16vw,5.4rem); }
  .hero-actions .button { width: 100%; }
  .contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-stack { box-shadow: 8px 8px 0 var(--ink); margin-right: 8px; }
  .hero-proof { grid-template-columns: repeat(2,1fr); }
  .hero-proof > div:nth-child(2) { border-right: 0; }
  .hero-proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .positioning-grid, .section-intro, .amala-grid, .recruiter-grid, .journey-line { grid-template-columns: 1fr; }
  .lifecycle-intro, .lifecycle-grid, .flagship-grid, .project-library-head, .project-record-grid { grid-template-columns: 1fr; }
  .lifecycle-intro > p:last-child, .project-library-head > p:last-child { grid-column: 1; }
  .headline-line { white-space: normal; }
  .portfolio-intro h2 { font-size: clamp(3rem,14vw,5rem); }
  .lifecycle-grid li { min-height: 190px; }
  .flagship-card, .flagship-card:nth-child(even) { min-height: 0; border-right: 0; }
  .flagship-card h4 { min-height: 0; margin-top: 3rem; }
  .flagship-card > p, .flagship-card > ul { min-height: 0; }
  .capability-item summary { grid-template-columns: 30px 1fr auto; padding: 1rem; }
  .capability-panel { padding: 0 1rem 1.2rem calc(30px + 2rem); }
  .project-record { min-height: 270px; }
  .project-record h4 { min-height: 0; margin-top: 2.5rem; }
  .project-record ul { min-height: 0; }
  .pivot-note { grid-template-columns: 1fr; gap: .7rem; }
  .credentials { padding-top: 5rem; padding-bottom: 5rem; }
  .positioning article { min-height: 250px; }
  .section-intro { align-items: start; }
  .section-intro h2, .recruiter h2 { font-size: clamp(3rem,14vw,5rem); }
  .role-header { grid-template-columns: 1fr; }
  .role-meta { padding-top: 0; }
  .role-header > p { grid-column: 1; }
  .case-grid { grid-template-columns: 1fr; }
  .case, .case-large { grid-column: 1; border-right: 0; border-top: 1px solid var(--ink); min-height: 330px; }
  .case:first-child { border-top: 0; }
  .workstreams { grid-template-columns: 1fr; }
  .workstream-heading { border-right: 0; border-bottom: 1px solid #3a423a; }
  .workstream-heading h4 { max-width: 11ch; }
  .workstream-list article { grid-template-columns: 30px 1fr; }
  .workstream-list b { grid-column: 2; text-align: left; }
  .client-strip > span { width: 100%; }
  .amala-grid article { min-height: 340px; border-right: 0; border-bottom: 1px solid #505850; }
  .amala-grid article:last-child { border-bottom: 0; }
  .amala-grid h4 { min-height: 0; margin-top: 3rem; }
  .amala-grid ul { min-height: 0; }
  .journey-card { min-height: 0; }
  .journey-card h3 { min-height: 0; }
  .journey-card ul { min-height: 0; }
  footer { grid-template-columns: 1fr; padding-bottom: 6rem; }
  footer small { grid-column: 1; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; background: var(--lime); border-top: 1px solid var(--ink); }
  .mobile-actions a { min-height: 52px; display: grid; place-items: center; font-weight: 850; }
  .mobile-actions a:first-child { border-right: 1px solid var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .page-progress, .hero-actions, .contact, .mobile-actions { display: none !important; }
  .hero { min-height: auto; }
  .reveal { opacity: 1; transform: none; }
  .role, .case, .journey-card { break-inside: avoid; }
}
