:root {
  --ink: #152a38;
  --ink-soft: #334b5c;
  --paper: #f7f5f0;
  --paper-2: #ebe8e0;
  --blue: #527a91;
  --blue-text: #486b7e;
  --gold: #b28a52;
  --lime: var(--gold);
  --coral: var(--blue);
  --line: rgba(21, 42, 56, 0.16);
  --white: #ffffff;
  --max: 1200px;
  --section-space: 5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.i18n-pending body { visibility: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: var(--lime); color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(247, 245, 240, .97);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.scrolled { height: 64px; background: rgba(247, 245, 240, .96); border-color: var(--line); box-shadow: 0 4px 18px rgba(21,42,56,.05); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 750; letter-spacing: .02em; text-decoration: none; }
.site-header .brand-logo { display: block; width: 200px; max-width: 100%; height: auto; max-height: 44px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(.85rem, 1.55vw, 1.7rem); }
.site-nav > a { font-size: .84rem; font-weight: 700; letter-spacing: .045em; text-decoration: none; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.3rem; height: 1px; background: var(--ink); transition: right .2s ease; }
.site-nav > a:hover::after { right: 0; }
.nav-cta { padding: .67rem 1rem; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); transition: color .2s, background .2s; }
.nav-cta:hover { color: var(--white); background: var(--ink-soft); }
.language-toggle { display: inline-flex; align-items: center; gap: .28rem; padding: .2rem .1rem; color: var(--ink-soft); }
.language-toggle button { min-width: 28px; padding: .25rem .15rem; color: inherit; background: transparent; border: 0; font-size: .72rem; font-weight: 750; letter-spacing: .06em; cursor: pointer; }
.language-toggle button.active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .28rem; }
.language-toggle span { color: rgba(21,42,56,.35); }
.menu-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 1px; margin: 6px auto; background: var(--ink); transition: transform .2s; }

.hero { position: relative; min-height: 0; padding: 116px max(24px, calc((100vw - var(--max)) / 2)) 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; opacity: .32; mask-image: linear-gradient(to bottom, #000 30%, transparent 92%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); align-items: center; gap: clamp(3rem, 5vw, 5rem); max-width: var(--max); margin: 0 auto; }
.hero-copy { max-width: 660px; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.7rem; font-size: .74rem; line-height: 1.3; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span:first-child { flex: 0 0 27px; width: 27px; height: 1px; background: currentColor; }
.eyebrow > span:last-child { min-width: 0; }
.hero h1, .section-heading h2, .about-story h2, .contact-panel h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
.hero h1 { max-width: 650px; font-size: clamp(3.25rem, 4.4vw, 4.75rem); line-height: .96; letter-spacing: -.035em; }
.hero h1 > span,
.hero h1 > em { display: block; }
h1 em, h2 em { color: var(--coral); font-weight: 400; }
.hero-intro { max-width: 610px; margin: 2rem 0 0; font-size: clamp(1rem, 1.25vw, 1.08rem); line-height: 1.65; color: var(--ink-soft); }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 52px; padding: .75rem 1.15rem; border: 1px solid currentColor; font-size: .82rem; font-weight: 750; letter-spacing: .04em; text-decoration: none; transition: background .16s ease, border-color .16s ease; }
.button:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.button-primary { color: var(--white); background: var(--ink); border-color: var(--ink); }
.text-link { padding: .65rem 0; font-size: .84rem; font-weight: 750; text-decoration: none; border-bottom: 1px solid var(--ink); }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 620px; margin-top: 2.75rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.proof-row div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .6rem; padding-right: 1rem; }
.proof-row strong { font-family: Georgia, serif; font-size: 2rem; line-height: 1; font-weight: 400; }
.proof-row span { max-width: 100px; font-size: .67rem; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #506164; }

.hero-panel { position: relative; padding: 1.5rem; color: var(--paper); background: var(--ink); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 44px rgba(21,42,56,.14); }
.hero-panel::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.1); pointer-events: none; }
.panel-topline { display: flex; justify-content: space-between; align-items: center; padding: .1rem .2rem 1.2rem; font-size: .65rem; letter-spacing: .11em; text-transform: uppercase; color: rgba(255,255,255,.66); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.panel-kicker { margin: 1.5rem .9rem .7rem; font-size: .72rem; font-weight: 750; letter-spacing: .13em; color: #d3b27f; }
.outcome-list { border-top: 1px solid rgba(255,255,255,.16); }
.outcome { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: .8rem; min-height: 94px; padding: 1rem .9rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.16); transition: color .2s, background .2s; }
.outcome:hover { color: var(--white); background: var(--ink-soft); }
.outcome-index { font-family: Georgia, serif; font-size: .9rem; color: var(--coral); }
.outcome:hover .outcome-index { color: #d3b27f; }
.outcome strong, .outcome small { display: block; }
.outcome strong { font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; line-height: 1.2; }
.outcome small { margin-top: .25rem; font-size: .72rem; color: rgba(255,255,255,.68); letter-spacing: .04em; }
.outcome:hover small { color: rgba(255,255,255,.76); }
.outcome-arrow { font-size: 1.2rem; }
.terminal { display: flex; align-items: center; gap: .5rem; margin: 1.4rem .8rem .3rem; padding: .75rem 1rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; color: rgba(255,255,255,.72); background: rgba(255,255,255,.055); }
.terminal-prompt { color: #d3b27f; }
.terminal i { width: 7px; height: 1em; background: var(--blue); }
.complementary-note { display: grid; grid-template-columns: auto 1fr; gap: .8rem; margin: 1.2rem .8rem 0; padding: .85rem 1rem; border-left: 2px solid var(--coral); background: rgba(255,255,255,.07); }
.complementary-note span { align-self: start; padding: .25rem .42rem; color: var(--white); background: var(--blue); font-size: .72rem; font-weight: 750; letter-spacing: .08em; }
.complementary-note p { margin: 0; color: rgba(255,255,255,.7); font-size: .74rem; line-height: 1.55; }
.hero-orbit { position: absolute; right: -65px; bottom: -80px; width: 210px; height: 210px; border: 1px solid var(--line); border-radius: 50%; }
.hero-orbit::before { content: ""; position: absolute; inset: 24px; border: 1px dashed var(--line); border-radius: 50%; }
.hero-orbit span { position: absolute; top: 13px; left: 49%; padding: .2rem .45rem; font-size: .72rem; font-weight: 750; color: var(--white); background: var(--blue); transform: translateX(-50%); }

.expertise { padding: var(--section-space) max(24px, calc((100vw - var(--max)) / 2)); background: var(--white); }
.section-heading { display: grid; grid-template-columns: .58fr 1.2fr .72fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.section-heading .eyebrow { padding-top: .55rem; font-size: .78rem; }
.section-heading h2 { max-width: 13ch; font-size: clamp(2.7rem, 3.8vw, 3.625rem); line-height: 1; letter-spacing: -.035em; }
.section-heading > p:last-child { margin: .65rem 0 0; font-size: 1.02rem; line-height: 1.65; color: var(--ink-soft); }
.practice-block { display: grid; grid-template-columns: .28fr .9fr 1.08fr; gap: clamp(1.75rem, 3vw, 3rem); align-items: start; margin-top: clamp(3rem, 4vw, 4rem); padding: clamp(2rem, 3vw, 2.6rem); border: 1px solid var(--line); scroll-margin-top: 80px; }
.practice-block + .practice-block { margin-top: 0; border-top: 0; }
.practice-accent { background: #f1f4f5; }
.practice-number { font-size: .72rem; font-weight: 750; letter-spacing: .13em; color: var(--blue-text); }
.practice-title .service-icon { width: 60px; height: 60px; margin: 0 0 1.5rem; }
.practice-title h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.35rem, 3.3vw, 3.125rem); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.practice-copy > p { margin: 0 0 1.4rem; font-family: Georgia, serif; font-size: 1.16rem; line-height: 1.55; }
.practice-copy ul { margin: 0; padding: 1.1rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.practice-copy li { position: relative; margin: .65rem 0; padding-left: 1rem; font-size: .9rem; line-height: 1.55; font-weight: 650; }
.practice-copy li::before { content: "+"; position: absolute; left: 0; color: var(--coral); }
.support-strip { display: grid; gap: .25rem; margin-top: 1.4rem; padding: 1rem; color: var(--paper); background: var(--ink); }
.support-strip strong { color: #d3b27f; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.support-strip span { font-size: .76rem; color: rgba(255,255,255,.72); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4.5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 450px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .16s ease; }
.service-card:hover { background: var(--paper); }
.service-card-accent { background: var(--lime); }
.service-card-accent:hover { background: #cfff54; }
.service-meta { display: flex; justify-content: space-between; font-size: .62rem; font-weight: 850; letter-spacing: .14em; }
.service-meta span:first-child { font-family: Georgia, serif; font-size: .92rem; color: var(--coral); }
.service-icon { width: 68px; height: 68px; margin: 4.2rem 0 1.5rem; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0; font-family: Georgia, serif; font-size: 2rem; line-height: 1.05; font-weight: 400; letter-spacing: -.025em; }
.service-card > p { min-height: 100px; margin: 1rem 0; color: #506164; font-size: .9rem; }
.service-card ul { margin: 1.3rem 0 0; padding: 1.1rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.service-card li { position: relative; margin: .38rem 0; padding-left: 1rem; font-size: .71rem; font-weight: 750; letter-spacing: .04em; }
.service-card li::before { content: "+"; position: absolute; left: 0; color: var(--coral); }
.work-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin: 5rem 0 2.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.work-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 3.8vw, 3.5rem); line-height: 1; font-weight: 400; letter-spacing: -.035em; }
.work-heading span { max-width: 430px; padding-bottom: .35rem; font-size: .8rem; line-height: 1.55; color: var(--ink-soft); }
.featured-case { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 450px; color: var(--paper); background: var(--ink); }
.case-copy { display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid rgba(255,255,255,.16); }
.case-label { display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: #d3b27f; }
.case-label span:last-child { color: rgba(255,255,255,.45); }
.case-copy h3 { margin: auto 0 1.25rem; font-family: Georgia, serif; font-size: clamp(2rem, 2.6vw, 2.625rem); line-height: 1; letter-spacing: -.03em; font-weight: 400; }
.case-copy > p { margin: 0; max-width: 430px; font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,.72); }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.25rem; }
.tag-list span { padding: .38rem .7rem; border: 1px solid rgba(255,255,255,.22); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.architecture { display: flex; flex-direction: column; padding: 2rem; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 20px 20px; }
.arch-note { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.14); font-family: ui-monospace, monospace; font-size: .72rem; color: rgba(255,255,255,.62); }
.pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: .5rem; margin: 1.35rem 0; }
.pipe-node { min-height: 88px; padding: .75rem; border: 1px solid rgba(255,255,255,.2); background: rgba(21,42,56,.94); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.pipe-node span, .pipe-node strong, .pipe-node small { display: block; }
.pipe-node span { margin-bottom: .55rem; font-family: ui-monospace, monospace; font-size: .72rem; color: #d3b27f; }
.pipe-node strong { font-family: Georgia, serif; font-size: 1.15rem; font-weight: 400; }
.pipe-node small { font-size: .72rem; color: rgba(255,255,255,.62); }
.pipe-arrow { color: #d3b27f; }
.pipe-break { grid-column: 1 / -1; justify-self: center; height: 18px; }
.deploy-strip { display: grid; grid-template-columns: auto 1fr auto 1.5fr; gap: .7rem; align-items: center; padding: .8rem; background: var(--white); color: var(--ink); font-size: .74rem; }
.deploy-strip span { font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-text); }
.mini-cases { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--line); }
.mini-case { display: grid; grid-template-columns: .92fr 1.08fr; gap: 2rem; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-index { font-size: .6rem; font-weight: 850; letter-spacing: .12em; color: var(--coral); }
.mini-case h3 { margin: 1.8rem 0 0; font-family: Georgia, serif; font-size: 1.8rem; line-height: 1.05; font-weight: 400; }
.mini-case p { margin: .2rem 0; font-size: .82rem; color: #506164; }
.mini-stack { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .62rem; font-weight: 780; letter-spacing: .07em; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--line); }
.project-card { display: flex; flex-direction: column; min-height: 330px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-type { min-height: 2.4em; color: var(--blue-text); font-size: .72rem; font-weight: 750; letter-spacing: .1em; }
.project-card h3 { margin: 1.25rem 0 1rem; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.5vw, 2.4rem); line-height: 1.08; font-weight: 400; }
.project-card p { margin: 0 0 1.5rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }
.project-card .mini-stack { margin-top: auto; }
.project-links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin-top: 1rem; }
.project-links[hidden], .profile-group[hidden], .profile-links[hidden], .footer-profiles[hidden] { display: none; }
.project-links a, .profile-links a, .footer-profiles a { display: inline-flex; align-items: baseline; gap: .32rem; color: var(--blue-text); font-size: .72rem; font-weight: 750; line-height: 1.4; text-decoration: none; border-bottom: 1px solid rgba(82,122,145,.38); }
.project-links a:hover, .profile-links a:hover, .footer-profiles a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.external-link-mark { font-size: .85em; }

.publication-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); padding: var(--section-space) max(24px, calc((100vw - var(--max)) / 2)); background: var(--paper); scroll-margin-top: 70px; }
.publication-intro h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 3.8vw, 3.5rem); line-height: 1; letter-spacing: -.035em; font-weight: 400; }
.publication-intro > p:last-child { max-width: 480px; margin-top: 2.2rem; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.publication-list { border-top: 1px solid var(--ink); }
.publication-list article { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.publication-list span { color: var(--blue-text); font-size: .72rem; font-weight: 750; letter-spacing: .11em; }
.publication-list h3 { margin: .9rem 0; font-family: Georgia, serif; font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.18; font-weight: 400; }
.publication-list p { margin: 0; color: var(--ink-soft); font-size: .86rem; }

.about-contact { padding: var(--section-space) max(24px, calc((100vw - var(--max)) / 2)) 0; color: var(--paper); background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 210px minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.about-profile { width: 100%; margin: 2.7rem 0 0; }
.about-photo { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; border: 1px solid rgba(255,255,255,.22); border-radius: 2px; filter: none; }
.about-profile figcaption { margin-top: .85rem; text-align: left; }
.about-profile figcaption strong,
.about-profile figcaption span { display: block; }
.about-profile figcaption strong { font-family: Georgia, serif; font-size: 1rem; font-weight: 400; color: var(--paper); }
.about-profile figcaption span { margin-top: .2rem; font-size: .72rem; line-height: 1.45; color: rgba(255,255,255,.58); }
.eyebrow-light { color: #d3b27f; }
.about-story h2 { font-size: clamp(2.7rem, 3.8vw, 3.5rem); line-height: 1; letter-spacing: -.035em; }
.about-lead { margin: 2.5rem 0 1rem; font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.42; }
.about-story > p:not(.eyebrow):not(.about-lead) { max-width: 610px; font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,.7); }
.career-timeline { margin-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.18); }
.career-timeline div { display: grid; grid-template-columns: 135px 1fr; gap: .2rem 1.1rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.career-timeline span { grid-row: 1 / 4; padding-top: .18rem; font-family: ui-monospace, monospace; color: #d3b27f; font-size: .72rem; }
.career-timeline strong { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 400; }
.career-timeline small { color: rgba(255,255,255,.5); }
.career-timeline p { margin: .2rem 0 0; color: rgba(255,255,255,.68); font-size: .82rem; line-height: 1.45; }
.credentials { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.18); }
.credentials div { display: grid; grid-template-columns: 95px 1fr; gap: .3rem 1.1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.credentials span { grid-row: 1 / 3; padding-top: .18rem; font-family: ui-monospace, monospace; font-size: .65rem; color: var(--coral); }
.credentials strong { font-family: Georgia, serif; font-size: 1.2rem; font-weight: 400; }
.credentials small { color: rgba(255,255,255,.5); }
.research { align-self: start; margin-top: 2.7rem; padding: 2.1rem; color: var(--ink); background: var(--paper); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.research-label { margin: 0 0 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: .64rem; font-weight: 850; letter-spacing: .16em; }
.research article { padding: 0 0 1.7rem; margin-bottom: 1.7rem; border-bottom: 1px solid var(--line); }
.research article span { font-size: .57rem; font-weight: 800; letter-spacing: .12em; color: var(--coral); }
.research article h3 { margin: .7rem 0; font-family: Georgia, serif; font-size: 1.38rem; line-height: 1.18; font-weight: 400; }
.research article p { margin: 0; font-size: .7rem; color: #687779; }
.cert-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.cert-row span { padding: .4rem .65rem; border: 1px solid var(--ink); font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.contact-panel { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(2.5rem, 5vw, 5rem); margin-top: 9rem; padding: clamp(2rem, 5vw, 4.5rem); color: var(--ink); border: 1px solid var(--line); background: var(--paper); }
.contact-panel h2 { font-size: clamp(2.7rem, 3.8vw, 3.5rem); line-height: 1; letter-spacing: -.035em; }
.contact-panel .eyebrow-light { color: var(--blue-text); }
.contact-intro > p:not(.eyebrow) { margin: 1.8rem 0 1.4rem; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.contact-email { display: inline-block; font-size: .88rem; font-weight: 750; text-underline-offset: .3rem; overflow-wrap: anywhere; }
.profile-group { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.profile-group > p { margin: 0 0 .65rem; color: var(--ink-soft); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.profile-links { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; }
.button-light { width: 100%; color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-light:hover { color: var(--white); }
.phone-link { display: inline-block; margin-top: 1rem; font-size: .76rem; color: rgba(255,255,255,.65); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.28); }
.contact-form { min-width: 0; }
.contact-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.contact-form-fields[hidden], .contact-success[hidden] { display: none; }
.form-field { display: flex; flex-direction: column; min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field > label:not(.checkbox-label) { margin-bottom: .35rem; font-size: .76rem; font-weight: 750; letter-spacing: .025em; }
.form-field input:not([type="checkbox"]), .form-field select, .form-field textarea { width: 100%; min-height: 44px; padding: .7rem .8rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0; font: inherit; font-size: .9rem; }
.form-field textarea { min-height: 118px; resize: vertical; line-height: 1.5; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-field [aria-invalid="true"] { border-color: #9b3f3f; }
.form-error { min-height: 1.15rem; margin-top: .25rem; color: #873737; font-size: .72rem; line-height: 1.35; }
.privacy-field { padding-top: .15rem; border-top: 1px solid var(--line); }
.checkbox-label { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; margin-top: .9rem; font-size: .78rem; line-height: 1.45; cursor: pointer; }
.checkbox-label input { width: 17px; height: 17px; margin: .15rem 0 0; accent-color: var(--ink); }
.privacy-summary { margin: .5rem 0 0; color: var(--ink-soft); font-size: .72rem; line-height: 1.5; }
.privacy-link { align-self: flex-start; margin-top: .55rem; padding: 0; color: var(--blue-text); background: none; border: 0; font-size: .74rem; font-weight: 750; text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }
.form-actions { display: grid; grid-template-columns: minmax(160px, auto) 1fr; gap: 1rem; align-items: center; }
.form-submit { color: var(--white); background: var(--ink); border-color: var(--ink); cursor: pointer; }
.form-submit:disabled { cursor: wait; opacity: .7; }
.form-status { margin: 0; font-size: .78rem; line-height: 1.45; }
.form-status.success { color: #315e46; }
.form-status.error { color: #873737; }
.contact-success {
  display: flex;
  min-height: 100%;
  padding: clamp(2rem, 3vw, 2.5rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--ink);
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  animation: contact-success-reveal .38s ease-out both;
}
.contact-success:focus { outline: 2px solid var(--blue); outline-offset: 3px; }
.contact-success-icon { width: 48px; height: 48px; margin-bottom: 1.5rem; color: var(--blue); }
.contact-success-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-success-label { margin: 0 0 .75rem; color: var(--blue-text); font-size: .74rem; font-weight: 800; line-height: 1.2; letter-spacing: .13em; }
.contact-success h3 { max-width: 620px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.85rem, 3vw, 2.45rem); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.contact-success-copy { max-width: 580px; margin: 1.25rem 0 1.75rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }
.contact-success-reset { padding: .25rem 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--gold); font-size: .82rem; font-weight: 750; cursor: pointer; }
.contact-success-reset:hover { color: var(--blue); border-bottom-color: var(--blue); }
@keyframes contact-success-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 2rem; margin-top: 4rem; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,.16); font-size: .67rem; color: rgba(255,255,255,.48); }
.brand-light { color: var(--paper); }
.footer-brand { width: 180px; }
.footer-brand-logo { display: block; width: 100%; height: auto; object-fit: contain; }
footer p { text-align: center; }
footer > a:last-child { color: var(--paper); text-decoration: none; }
.footer-links { display: flex; align-items: center; gap: 1.2rem; }
.footer-links a, .footer-links button { padding: 0; color: var(--paper); background: none; border: 0; font: inherit; text-decoration: none; cursor: pointer; }
.footer-links button { color: rgba(255,255,255,.62); }
.footer-actions { display: flex; align-items: flex-end; flex-direction: column; gap: .55rem; }
.footer-profiles { display: flex; gap: .8rem; }
.footer-profiles a { color: rgba(255,255,255,.72); border-bottom-color: rgba(255,255,255,.24); }
.footer-profiles a:hover { color: var(--paper); border-bottom-color: var(--gold); }

.privacy-dialog { width: min(680px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.privacy-dialog::backdrop { background: rgba(21,42,56,.7); }
.privacy-dialog-inner { position: relative; padding: clamp(1.5rem, 5vw, 3rem); }
.privacy-dialog h2 { margin: 0 0 1.8rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; font-weight: 400; letter-spacing: -.035em; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; color: var(--ink); background: var(--white); border: 1px solid var(--line); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.privacy-dialog dl { margin: 0; border-top: 1px solid var(--line); }
.privacy-dialog dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.privacy-dialog dt { font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--blue-text); }
.privacy-dialog dd { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.privacy-dialog-inner > p:last-child { margin: 1.25rem 0 0; font-size: .78rem; color: var(--ink-soft); }

.reveal { opacity: 1; transform: none; }

/* Editorial type floor and restrained metadata treatment */
.panel-topline,
.proof-row span,
.service-meta,
.mini-index,
.mini-stack,
.publication-list span,
.credentials span,
.cert-row span,
.research-label,
.research article span,
footer { font-size: .72rem; }

.mini-stack { color: var(--ink-soft); }
.service-card h3,
.mini-case h3 { font-size: clamp(1.7rem, 2.5vw, 2.4rem); }

@media (max-width: 980px) {
  .site-header .brand-logo { width: 175px; max-height: 42px; }
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 180px minmax(0, 1fr); gap: 2rem; }
  .about-profile { width: 180px; margin: 0; }
  .career-timeline { grid-column: 1 / -1; margin-top: 1rem; }
  .hero { min-height: 0; padding-top: 108px; padding-bottom: 64px; }
  .hero-panel { width: min(100%, 680px); min-height: 0; }
  .expertise,
  .publication-section { padding-top: 4rem; padding-bottom: 4rem; }
  .about-contact { padding-top: 4rem; }
  .section-heading { grid-template-columns: .5fr 1.1fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 390px; }
  .featured-case { grid-template-columns: 1fr; }
  .case-copy { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .case-copy h3 { margin-top: 4rem; }
  .architecture { min-height: 0; }
  .mini-cases { grid-template-columns: 1fr; }
  .contact-panel { gap: 3rem; padding: 3rem; }
  .site-nav { gap: .8rem; }
  .site-nav > a { font-size: .82rem; }
  .practice-block { grid-template-columns: .3fr 1fr; }
  .practice-copy { grid-column: 2; }
  .publication-section { grid-template-columns: 1fr; }
}

@media (min-width: 741px) and (max-width: 900px) {
  .site-header { padding-inline: 24px; border-bottom-color: var(--line); }
  .menu-toggle { display: block; z-index: 2; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 5rem 2rem; background: var(--paper); transform: translateY(-105%); transition: transform .3s ease; }
  .site-nav.open { transform: translateY(0); }
  .site-nav > a { padding: 1rem 0; font-family: Georgia, serif; font-size: 1.8rem; border-bottom: 1px solid var(--line); }
  .site-nav > .nav-cta { margin-top: 1rem; padding: .8rem 1rem; font-family: inherit; font-size: .82rem; }
  .language-toggle { justify-content: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 740px) {
  .site-header { height: 68px; padding-inline: 20px; background: rgba(247,245,240,.97); border-bottom: 1px solid var(--line); }
  .site-header .brand-logo { width: 155px; max-height: 40px; }
  .menu-toggle { display: block; z-index: 2; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 5rem 2rem; background: var(--paper); transform: translateY(-105%); transition: transform .3s ease; }
  .site-nav.open { transform: translateY(0); }
  .site-nav > a { padding: 1rem 0; font-family: Georgia, serif; font-size: 1.8rem; border-bottom: 1px solid var(--line); }
  .site-nav > .nav-cta { margin-top: 1rem; padding: .8rem 1rem; font-family: inherit; font-size: .82rem; }
  .language-toggle { justify-content: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .language-toggle button { font-size: .82rem; }
  .hero { min-height: 0; padding: 100px 20px 60px; }
  .hero-grid { gap: 2.5rem; }
  .hero h1 { max-width: 650px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .6rem; }
  .text-link { align-self: flex-start; }
  .proof-row { grid-template-columns: 1fr; gap: .9rem; }
  .proof-row div { grid-template-columns: 44px 1fr; }
  .hero-panel { box-shadow: 0 14px 32px rgba(21,42,56,.12); }
  .outcome { min-height: 84px; }
  .outcome strong { font-size: 1.2rem; }
  .terminal { flex-wrap: wrap; }
  .expertise { padding: 60px 20px; }
  .section-heading { display: block; }
  .section-heading h2 { max-width: 12ch; font-size: clamp(2.6rem, 11vw, 3.5rem); line-height: 1.02; }
  .section-heading > p:last-child { margin-top: 1.5rem; }
  .service-grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 415px; }
  .work-heading { align-items: flex-start; flex-direction: column; margin-top: 5rem; margin-bottom: 2rem; gap: .8rem; }
  .work-heading h2,
  .publication-intro h2,
  .about-story h2,
  .contact-panel h2 { font-size: clamp(2.4rem, 10vw, 3.25rem); line-height: 1.02; letter-spacing: -.035em; }
  .work-heading span { padding-bottom: 0; }
  .case-copy { min-height: 0; padding: 1.5rem; }
  .case-copy h3 { margin-top: 3.5rem; font-size: clamp(2rem, 9vw, 2.625rem); }
  .architecture { min-height: 0; padding: 1.5rem; }
  .pipeline { grid-template-columns: 1fr; gap: .6rem; margin: 2rem 0; }
  .pipe-arrow { justify-self: center; transform: rotate(90deg); }
  .pipe-break { grid-column: auto; height: auto; }
  .pipe-node { width: 100%; min-height: 0; }
  .deploy-strip { grid-template-columns: auto 1fr; }
  .mini-case { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; }
  .mini-stack { grid-column: auto; }
  .practice-block { display: block; margin-top: 3.5rem; padding: 1.5rem; }
  .practice-number { margin-bottom: 2.5rem; }
  .practice-title .service-icon { margin-bottom: 1rem; }
  .practice-title h2 { font-size: clamp(2.25rem, 9vw, 3.125rem); line-height: 1.04; }
  .practice-copy { margin-top: 2rem; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 300px; padding: 1.5rem; }
  .publication-section { padding: 60px 20px; }
  .about-contact { padding: 60px 20px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .about-profile { width: min(100%, 240px); margin: 0; }
  .career-timeline { grid-column: auto; margin-top: 1rem; }
  .career-timeline div { grid-template-columns: 112px 1fr; gap: .35rem .9rem; }
  .career-timeline span { font-size: .66rem; line-height: 1.45; }
  .research { margin-right: 0; padding: 1.5rem; box-shadow: 0 12px 28px rgba(0,0,0,.14); }
  .contact-panel { grid-template-columns: 1fr; gap: 2rem; margin-top: 6rem; padding: 2rem 1.4rem; }
  .button-light { overflow-wrap: anywhere; }
  .contact-form-fields { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .form-actions { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
  .contact-success { padding: 1.75rem 1.4rem; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
  .footer-actions { align-items: flex-end; }
  .footer-links { align-items: flex-end; flex-direction: column-reverse; gap: .45rem; }
  .privacy-dialog dl > div { grid-template-columns: 1fr; gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .contact-success { animation: none; transform: none; }
}
