@font-face { font-family: "Geologica"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("geologica-latin.woff2") format("woff2"); }
:root { color-scheme: dark; --carbon: oklch(0.25 0.006 255); --surface: oklch(0.29 0.006 255); --raised: oklch(0.33 0.006 255); --line: oklch(0.38 0.006 255); --ink: oklch(0.96 0.006 255); --muted: oklch(0.78 0.006 255); --accent: oklch(0.82 0.1 160); --focus: oklch(0.72 0.14 240); --font: "Geologica", system-ui, -apple-system, sans-serif; --gutter: 24px; --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 24px; scrollbar-color: var(--muted) var(--carbon); }
body { margin: 0; background: var(--carbon); color: var(--ink); font-family: var(--font); font-size: 16px; font-weight: 350; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--carbon); }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; letter-spacing: -0.025em; }
h1 { font-size: 40px; line-height: 1.15; }
h2 { font-size: 26px; line-height: 1.3; }
h3 { font-size: 19px; line-height: 1.4; }
p { max-width: 65ch; }
strong { font-weight: 500; }
img { display: block; max-width: 100%; }
svg { display: block; width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
a { color: inherit; text-underline-offset: 0.23em; text-decoration-thickness: 0.07em; }
button, summary { font: inherit; color: inherit; cursor: pointer; }
button { border: 0; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: 0.6; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.frame { width: min(100% - var(--gutter) * 2, 960px); margin-inline: auto; }
.section { padding-block: 56px; scroll-margin-top: 20px; }
.section > .frame { padding-top: 56px; }
.section:has(> .frame) { padding-top: 0; }
.section-heading { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: start; gap: 32px; margin-bottom: 36px; }
.section-heading p { color: var(--muted); font-size: 15px; }
.secondary, .tech-line, .image-note { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; font-size: 14px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .header-cv { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.header-cv { text-decoration: underline; white-space: nowrap; }
.nav-toggle { display: none; min-width: 60px; min-height: 44px; padding: 8px 12px; background: var(--surface); border-radius: 6px; }
.hero { padding-top: 56px; padding-bottom: 32px; }
.hero-body { display: grid; grid-template-columns: 1fr 320px; align-items: start; gap: 48px; }
.hero-copy { min-width: 0; }
.hero-role { font-size: 18px; margin-top: 12px; }
.hero-intro { color: var(--muted); margin-top: 20px; max-width: 58ch; font-size: 16px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; font-size: 14px; }
.hero-history { margin-top: 24px; color: var(--muted); font-size: 14px; }
.hero-portrait { min-width: 0; }
.hero-portrait img { width: 320px; height: 384px; object-fit: cover; object-position: center 20%; border-radius: 10px; background: var(--surface); }
.expertise-line { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.expertise-line a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 16px; border-radius: 6px; background: var(--raised); font-size: 14px; font-weight: 450; line-height: 1.5; text-decoration: none; text-align: center; transition: transform 150ms var(--ease-out), background-color 150ms var(--ease-out); }
.button.primary { background: var(--ink); color: var(--carbon); }
.button:active, .nav-toggle:active, .scenario-tab:active, .copy-email:active { transform: scale(0.98); }
.clients { padding-block: 16px 48px; }
.clients h2 { font-size: 19px; margin-bottom: 24px; }
.client-logos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 16px 32px; padding: 0; margin: 0; }
.client-logos li { display: flex; align-items: center; min-width: 0; height: 52px; color: var(--muted); }
.brand-mark { width: 148px; height: 26px; max-width: 100%; fill: currentColor; stroke: none; }

.case-list { display: grid; gap: 36px; }
.case-record { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: start; font-size: 15px; }
.case-heading h3 { margin-bottom: 8px; }
.case-heading .secondary, .tech-line { font-size: 13px; }
.case-overview { min-width: 0; }
.case-details { margin-top: 12px; }
.case-details summary { display: list-item; min-height: 44px; padding-block: 10px; font-size: 14px; color: var(--muted); }
.case-details summary::marker { color: var(--muted); }
.case-details:not([open]) > :not(summary) { display: none; }
.case-details .case-decisions { margin-top: 16px; }
.case-details .tech-line { margin-top: 20px; }
.case-decisions { display: grid; gap: 16px; }
.case-decisions > div { display: grid; grid-template-columns: 108px 1fr; gap: 16px; align-items: baseline; }
.case-decisions dt { font-size: 14px; font-weight: 500; }
.case-decisions dd { min-width: 0; }
.archive { margin-top: 36px; }
.archive:not([open]) > :not(summary) { display: none; }
.archive summary { display: list-item; min-height: 48px; padding: 12px 0; font-size: 14px; font-weight: 450; }
.archive summary::marker { color: var(--muted); }
.archive summary span { color: var(--muted); margin-left: 8px; }
.archive-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.archive-list { display: grid; gap: 24px; margin-top: 28px; }
.archive-row { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 24px; align-items: baseline; font-size: 13px; }
.archive-row h3 { min-width: 0; overflow-wrap: anywhere; font-size: 15px; }
.archive-row p { min-width: 0; overflow-wrap: anywhere; color: var(--muted); }
.approach-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 40px; }
.approach-menu, .scenarios { min-width: 0; }
.scenario-tabs { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.scenario-tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 14px; background: transparent; color: var(--muted); border-radius: 6px; font-size: 14px; text-align: left; line-height: 1.5; transition: background-color 150ms var(--ease-out); }
.scenario-tab[aria-selected="true"] { background: var(--raised); color: var(--ink); }
.scenario-tab[aria-selected="false"] svg { visibility: hidden; }
.accountability { margin-top: 24px; font-size: 14px; color: var(--muted); }
.accountability strong { display: block; margin-bottom: 8px; color: var(--ink); }
.scenario { font-size: 15px; }
.scenario + .scenario { margin-top: 36px; }
.approach-enhanced .scenario + .scenario { margin-top: 0; }
.scenario h3 { margin-bottom: 12px; }
.scenario-intro { color: var(--muted); }
.method-steps { display: grid; gap: 20px; margin: 24px 0 0; padding-left: 22px; }
.method-steps li { padding-left: 4px; }
.method-steps li::marker { color: var(--muted); font-size: 14px; }
.method-steps strong { display: block; margin-bottom: 4px; }
.method-steps p { color: var(--muted); }
.takeaway { margin-top: 24px; font-size: 14px; }
.product-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.product-band > * { min-width: 0; }
.product-multiple { grid-column: span 2; }
.product-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.product-screens img { width: 100%; height: auto; object-fit: contain; object-position: top; border-radius: 6px; }
.product-screens-single { grid-template-columns: 1fr; }
.product-caption { margin-top: 20px; }
.product-caption h3 { margin-bottom: 8px; }
.product-caption p, .image-note { font-size: 14px; color: var(--muted); }
.image-note { margin-top: 24px; }
.experience-layout { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 40px; }
.experience-intro p { margin-top: 16px; color: var(--muted); font-size: 14px; }
.experience-intro .text-link { margin-top: 12px; font-size: 14px; }
.career-list { display: grid; gap: 32px; }
.career-list article { display: grid; grid-template-columns: 104px 1fr; gap: 24px; min-width: 0; }
.employer-mark { display: flex; align-items: flex-start; padding-top: 4px; }
.employer-mark picture { width: 100%; }
.employer-mark img { width: 104px; height: 64px; object-fit: contain; object-position: left top; }
.employer-logo-svg { width: 104px; height: 32px; stroke: none; }
.career-list h3 { font-size: 17px; margin-bottom: 4px; }
.career-list p { font-size: 14px; }
.career-role { color: var(--ink); }
.career-list .secondary { margin-top: 4px; font-size: 13px; }
.career-list article > div > p:last-child { margin-top: 12px; color: var(--muted); }
.stack-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.stack-list > div { min-width: 0; }
.stack-list dt { margin-bottom: 8px; font-size: 17px; font-weight: 500; }
.stack-list dd { color: var(--muted); font-size: 14px; }
.credentials { margin-top: 40px; }
.credentials > h3 { margin-bottom: 24px; }
.credential-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; padding: 0; margin: 0; font-size: 14px; }
.credential-list strong, .credential-list span { display: block; }
.credential-list span { margin-top: 4px; color: var(--muted); }
.contact-main { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; }
.contact-main p { color: var(--muted); font-size: 15px; }
.contact-main .button { margin-top: 20px; }
.contact-links { display: grid; gap: 8px; margin-top: 24px; font-size: 14px; }
.contact-links > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.copy-email { min-height: 44px; padding: 8px 12px; border-radius: 6px; background: var(--raised); color: var(--ink); font-size: 13px; transition: transform 150ms var(--ease-out); }
.copy-status { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 20; background: var(--ink); color: var(--carbon); padding: 12px 16px; border-radius: 6px; font-size: 14px; width: max-content; max-width: calc(100% - 40px); }
.copy-status:empty { display: none; }
.footer { margin-top: 40px; padding-top: 24px; }
.footer-name { font-size: 18px; font-weight: 450; }
.footer > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.footer small { font-size: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; inset: 12px auto auto 12px; padding: 12px 16px; background: var(--accent); color: var(--carbon); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--muted); }
  .nav-links a:hover, .brand:hover, .expertise-line a:hover { color: var(--accent); }
  .header-cv:hover, .text-link:hover, .contact-links a:hover { text-decoration-thickness: 0.13em; }
  .scenario-tab:not([aria-selected="true"]):hover, .nav-toggle:hover { background: var(--surface); }
  .archive summary:hover, .case-details summary:hover { color: var(--accent); }
}
.keyboard-input *, .keyboard-input *::before, .keyboard-input *::after { transition: none !important; }
[data-reveal] { opacity: 1; }
.hero-portrait { animation: portrait-enter 400ms var(--ease-out) both; }
@keyframes portrait-enter { from { opacity: 0.7; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .hero-body { grid-template-columns: 1fr 240px; }
  .hero-portrait img { width: 240px; height: 288px; }
}
@media (max-width: 800px) {
  .case-decisions > div { grid-template-columns: 1fr; gap: 4px; }
  .experience-layout { grid-template-columns: 1fr; gap: 28px; }
  .experience-intro p { max-width: 65ch; }
  .career-list article { grid-template-columns: 120px 1fr; }
  .approach-layout { gap: 28px; }
  .product-band { grid-template-columns: 1fr; gap: 32px; }
  .product-multiple { grid-column: auto; }
  .product-screens { max-width: 480px; }
  .product-screens-single { max-width: 320px; }
}
@media (max-width: 700px) {
  :root { --gutter: 20px; }
  h1 { font-size: 34px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
  .nav { min-height: 72px; flex-wrap: wrap; gap: 8px 16px; padding-block: 12px; }
  .brand { margin-right: auto; }
  .nav-links { order: 3; flex: 1 0 100%; flex-wrap: wrap; gap: 0 24px; }
  .nav-enhanced .nav-links { display: none; }
  .nav-enhanced .nav-links.is-open { display: flex; padding-top: 8px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero { padding-top: 36px; }
  .hero-body { grid-template-columns: 1fr; gap: 24px; }
  .hero-portrait { grid-row: 1; }
  .hero-portrait img { width: 144px; height: 168px; }
  .hero-role { font-size: 17px; margin-top: 8px; }
  .hero-intro { margin-top: 16px; }
  .hero-history { margin-top: 20px; }
  .expertise-line { gap: 0 20px; }
  .clients { padding-block: 8px 36px; }
  .client-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
  .client-logos li { height: 44px; }
  .brand-mark { height: 22px; }
  .section { padding-block: 40px; }
  .section > .frame { padding-top: 40px; }
  .section-heading, .case-record, .contact-main { grid-template-columns: 1fr; gap: 16px; }
  .section-heading { margin-bottom: 28px; }
  .case-list { gap: 32px; }
  .case-record { gap: 20px; }
  .archive-row { grid-template-columns: 1fr; gap: 4px; }
  .approach-layout { grid-template-columns: 1fr; gap: 28px; }
  .accountability { margin-top: 20px; }
  .product-screens { gap: 12px; }
  .career-list article { grid-template-columns: 88px 1fr; gap: 20px; }
  .employer-mark img { width: 88px; height: 56px; }
  .employer-logo-svg { width: 88px; height: 28px; }
  .stack-list, .credential-list { grid-template-columns: 1fr; gap: 24px; }
  .contact-links > div { gap: 4px 20px; }
  .footer { margin-top: 32px; }
}
@media (max-width: 400px) {
  .client-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-list article { grid-template-columns: 1fr; gap: 12px; }
  .employer-mark img { width: 104px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:active, .scenario-tab:active, .nav-toggle:active, .copy-email:active { transform: none; }
}
