:root {
  --bg: #080f17;
  --bg-deep: #050a10;
  --surface: #0d1722;
  --surface-2: #111d2a;
  --ink: #f3f0e9;
  --ink-soft: #a9b3be;
  --line: #263444;
  --line-strong: #3a4c60;
  --blue: #1769d2;
  --blue-light: #6aa9ff;
  --amber: #f4a621;
  --green: #49d69b;
  --red: #ff7777;
  --shell: 1320px;
  --display: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
::selection { color: #fff; background: var(--blue); }

.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  width: 0;
  height: 2px;
  background: var(--blue);
}

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(8, 15, 23, .9);
  backdrop-filter: blur(16px);
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); }
.nav {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.wordmark {
  justify-self: start;
  color: var(--ink);
  font: 700 1rem/1 var(--display);
  letter-spacing: -.02em;
  text-decoration: none;
}
.wordmark span { color: var(--blue-light); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: .78rem;
  text-decoration: none;
  transition: color .18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.nav-links a:is(:hover, .active) { color: var(--ink); }
.nav-links a:is(:hover, .active)::after { transform: scaleX(1); }
.nav-cv { justify-self: end; }
.menu-button {
  display: none;
  place-items: center;
  justify-self: end;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: 600 .72rem/1 var(--mono);
  text-transform: uppercase;
}
.mobile-menu {
  position: fixed;
  inset: 82px 0 auto;
  z-index: 99;
  padding: 30px 32px 38px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a, .mobile-menu button {
  display: block;
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: none;
  font: 500 1.05rem/1.3 var(--body);
  text-align: left;
  text-decoration: none;
}
.mobile-menu button { color: var(--blue-light); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 650;
  font-size: .86rem;
  text-decoration: none;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #3d8df7; }
.button-secondary { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.button-secondary:hover, .button-quiet:hover { border-color: var(--ink-soft); }
.button-quiet { color: var(--ink); border-color: var(--line); background: transparent; }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .76rem; }

.hero {
  min-height: 610px;
  padding-block: clamp(64px, 7vw, 104px) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: end;
}
.hero-copy,
.hero-scope { min-width: 0; }
.eyebrow, .mono-label, .case-kicker, .case-index {
  margin: 0;
  color: var(--amber);
  font: 650 .67rem/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow span { color: var(--green); }
.hero h1 {
  margin: 24px 0 0;
  max-width: 8.6em;
  font: 750 clamp(3.25rem, 4.5vw, 5rem)/.91 var(--display);
  letter-spacing: -.07em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.hero-role {
  margin: 34px 0 0;
  font: 500 clamp(1.2rem, 2vw, 1.75rem)/1.25 var(--mono);
  letter-spacing: -.045em;
}
.hero-stack { margin: 8px 0 0; color: var(--blue-light); font: 500 1.18rem/1.4 var(--mono); }
.hero-stack b { color: var(--line-strong); font-weight: 400; }
.hero-lead { max-width: 630px; margin: 30px 0 0; color: #c8d0d8; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.hero-location { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 0; color: var(--ink-soft); font-size: .86rem; }
.hero-location span { color: var(--line-strong); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.hero-scope { padding: 0 0 2px; }
.hero-scope .mono-label { margin-bottom: 20px; }
.hero-scope ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.hero-scope li {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.hero-scope li > span { grid-row: 1 / 3; color: var(--blue-light); font: 500 .7rem/1.5 var(--mono); }
.hero-scope strong { font: 600 1.03rem/1.3 var(--display); }
.hero-scope small { color: var(--ink-soft); font-size: .79rem; }

.proofs { border-block: 1px solid var(--line); background: var(--bg-deep); }
.proof-grid { display: grid; grid-template-columns: .8fr .9fr .9fr 1.2fr 1.2fr; }
.proof-grid > div { min-height: 122px; padding: 26px 24px; border-right: 1px solid var(--line); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { padding-right: 0; border-right: 0; }
.proof-grid strong { font: 500 clamp(1.7rem, 2.5vw, 2.25rem)/1 var(--display); letter-spacing: -.04em; }
.proof-grid span { margin-left: 6px; color: var(--ink-soft); font-size: .76rem; }
.proof-grid p { margin: 10px 0 0; color: var(--ink-soft); font-size: .73rem; }

.section { padding-block: clamp(94px, 10vw, 145px); }
.section-intro { max-width: 820px; margin-bottom: 66px; }
.section-intro h2 {
  margin: 16px 0 0;
  font: 700 clamp(2.5rem, 5vw, 5rem)/.98 var(--display);
  letter-spacing: -.055em;
}
.section-intro > p:last-child { max-width: 680px; margin: 24px 0 0; color: var(--ink-soft); }
.work { background: var(--surface); }

.featured-case { padding: 42px; border: 1px solid var(--line-strong); background: var(--bg); }
.case-header { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; margin-bottom: 34px; }
.case-header h3 { margin: 12px 0 6px; font: 700 clamp(3rem, 6vw, 5.9rem)/.95 var(--display); letter-spacing: -.06em; }
.case-header > div > p:last-child { max-width: 520px; margin: 0; color: var(--ink-soft); }
.case-meta { margin: 0; }
.case-meta div { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.case-meta dt, .case-copy dt { color: var(--ink-soft); font: 500 .67rem/1.6 var(--mono); text-transform: uppercase; }
.case-meta dd, .case-copy dd { margin: 0; color: #cbd3db; font-size: .82rem; }
.product-shot {
  display: block;
  align-self: center;
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease;
}
.product-shot img { width: 100%; height: auto; object-fit: contain; object-position: top center; }
.product-shot:hover { border-color: var(--blue-light); }
.case-story { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; border-block: 1px solid var(--line); }
.case-story > div { padding: 24px; border-right: 1px solid var(--line); }
.case-story > div:first-child { padding-left: 0; }
.case-story > div:last-child { padding-right: 0; border-right: 0; }
.case-story span { color: var(--blue-light); font: 500 .67rem/1 var(--mono); }
.case-story h4 { margin: 18px 0 10px; font: 600 1rem/1.3 var(--display); }
.case-story p { margin: 0; color: var(--ink-soft); font-size: .81rem; }
.text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 26px; color: var(--blue-light); font-weight: 650; font-size: .84rem; text-decoration: none; }
.text-link:hover { color: #fff; }

.case-list { margin-top: 30px; border-top: 1px solid var(--line-strong); }
.case-row { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 490px; border-inline: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.case-row-reverse { grid-template-columns: 1.22fr .78fr; }
.case-row-reverse .case-copy { order: 2; }
.case-row-reverse .product-shot { order: 1; }
.case-copy { display: flex; flex-direction: column; padding: clamp(32px, 4.5vw, 62px); }
.case-copy h3 { margin: 22px 0 18px; font: 650 clamp(1.8rem, 3.3vw, 3.15rem)/1.05 var(--display); letter-spacing: -.04em; }
.case-copy > p:not(.case-index) { margin: 0; color: var(--ink-soft); }
.case-copy dl { margin: 28px 0 0; }
.case-copy dl > div { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-list span { padding: 4px 9px; border: 1px solid var(--line); color: var(--ink-soft); font: 500 .65rem/1.4 var(--mono); }
.case-copy .text-link { margin-top: auto; padding-top: 26px; }

.secondary-work { display: grid; grid-template-columns: .55fr 1fr 1fr; margin-top: 30px; border-block: 1px solid var(--line-strong); }
.secondary-work > * { padding: 32px; border-right: 1px solid var(--line); }
.secondary-work > *:first-child { padding-left: 0; }
.secondary-work > *:last-child { padding-right: 0; border-right: 0; }
.secondary-work article span { color: var(--blue-light); font: 500 .67rem/1.4 var(--mono); }
.secondary-work h3 { margin: 14px 0 10px; font: 650 1.35rem/1.2 var(--display); }
.secondary-work article p { margin: 0; color: var(--ink-soft); font-size: .82rem; }
.secondary-work strong { display: block; margin-top: 20px; color: #cfd7df; font-size: .77rem; }

.expertise { background: var(--bg-deep); }
.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.capabilities article { min-height: 275px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cap-index { color: var(--blue-light); font: 600 .7rem/1 var(--mono); }
.capabilities h3 { margin: 26px 0 12px; font: 600 1.22rem/1.25 var(--display); }
.capabilities p { margin: 0; color: var(--ink-soft); font-size: .86rem; }
.capabilities small { display: block; margin-top: 24px; color: #7f8b98; font: 500 .67rem/1.6 var(--mono); }

.journey { background: var(--surface); }
.journey-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 9vw, 140px); }
.timeline { margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line-strong); list-style: none; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--blue-light); font: 500 .68rem/1.5 var(--mono); text-transform: uppercase; }
.timeline h3 { margin: 0; font: 600 1.18rem/1.25 var(--display); }
.timeline p { margin: 8px 0 0; color: var(--ink-soft); font-size: .85rem; }

.principles { color: #08111b; background: var(--blue); }
.principles .mono-label { color: #fff; }
.principles .section-intro > p:last-child { color: rgba(255,255,255,.78); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.35); list-style: none; }
.principle-grid li { min-height: 260px; padding: 30px; border-right: 1px solid rgba(255,255,255,.35); }
.principle-grid li:first-child { padding-left: 0; }
.principle-grid li:last-child { padding-right: 0; border-right: 0; }
.principle-grid span { font: 600 .7rem/1 var(--mono); }
.principle-grid h3 { margin: 36px 0 12px; color: #fff; font: 650 1.25rem/1.2 var(--display); }
.principle-grid p { margin: 0; color: rgba(255,255,255,.76); font-size: .85rem; }

.about { background: var(--ink); color: #0a121b; }
.about .mono-label { color: #9b6500; }
.about-layout { display: grid; grid-template-columns: .8fr 1.15fr .75fr; gap: clamp(45px, 7vw, 100px); }
.about .section-intro { margin-bottom: 0; }
.about-copy p { margin: 0; font-size: clamp(1.05rem, 1.55vw, 1.25rem); }
.about-copy p + p { margin-top: 24px; }
.profile-facts { margin: 0; border-top: 1px solid #b8b5ae; }
.profile-facts div { padding: 16px 0; border-bottom: 1px solid #c9c6bf; }
.profile-facts dt { color: #64635f; font: 600 .65rem/1.4 var(--mono); text-transform: uppercase; }
.profile-facts dd { margin: 5px 0 0; font-weight: 650; font-size: .88rem; }

.contact { background: var(--bg-deep); }
.contact-panel { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(60px, 9vw, 130px); }
.contact-copy h2 { margin: 16px 0 0; font: 700 clamp(3rem, 6vw, 6rem)/.92 var(--display); letter-spacing: -.065em; }
.contact-copy > p:not(.mono-label) { max-width: 520px; margin: 28px 0 0; color: var(--ink-soft); }
.contact-copy address { display: grid; gap: 13px; margin-top: 38px; color: #c9d2db; font-style: normal; font-size: .87rem; }
.contact-copy address a, .contact-copy address span { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.contact-copy address a:hover { color: var(--blue-light); }
#contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.form-row { display: grid; gap: 8px; }
.form-row-full { grid-column: 1 / -1; }
#contact-form label { color: #c9d2dc; font: 600 .7rem/1.4 var(--mono); text-transform: uppercase; }
#contact-form input, #contact-form textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  transition: border-color .18s ease;
}
#contact-form input:focus, #contact-form textarea:focus { border-color: var(--blue-light); }
#contact-form textarea { min-height: 142px; resize: vertical; }
#contact-form ::placeholder { color: #697888; }
.honeypot { position: absolute; left: -9999px; }
.form-submit { display: flex; align-items: center; gap: 20px; }
.form-submit .button { flex: 0 0 auto; }
.form-submit .button:disabled { opacity: .55; cursor: wait; transform: none; }
#form-status { min-height: 24px; margin: 0; color: var(--ink-soft); font-size: .82rem; }
#form-status.ok { color: var(--green); }
#form-status.err { color: var(--red); }
altcha-widget {
  --altcha-max-width: 100%;
  --altcha-border-width: 1px;
  --altcha-border-radius: 2px;
  --altcha-color-base: var(--surface);
  --altcha-color-border: var(--line-strong);
  --altcha-color-text: var(--ink);
  --altcha-color-border-focus: var(--blue-light);
  --altcha-color-checkbox-fg: var(--blue-light);
  display: block;
}

.footer { padding-block: 38px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer .shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer p { margin: 0; color: var(--ink-soft); font-size: .72rem; }
.footer p:last-child { justify-self: end; }

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--bg-deep);
}
.error-page > div { width: min(100%, 820px); }
.error-page .mono-label { margin-top: 90px; }
.error-page h1 { max-width: 760px; margin: 18px 0; font: 700 clamp(3.4rem, 9vw, 7rem)/.9 var(--display); letter-spacing: -.065em; }
.error-page p:not(.mono-label) { margin: 0 0 34px; color: var(--ink-soft); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

.section { content-visibility: auto; contain-intrinsic-size: auto 1100px; }

@media (max-width: 1100px) {
  .shell { width: min(calc(100% - 40px), var(--shell)); }
  .nav-links { gap: 18px; }
  .hero { grid-template-columns: 1fr .65fr; gap: 60px; }
  .proof-grid { grid-template-columns: repeat(5, 1fr); }
  .proof-grid > div { padding-inline: 15px; }
  .case-story { grid-template-columns: 1fr 1fr; }
  .case-story > div:nth-child(2) { border-right: 0; }
  .case-story > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .case-row, .case-row-reverse { grid-template-columns: .9fr 1.1fr; }
  .capabilities { grid-template-columns: 1fr 1fr; }
  .about-layout { grid-template-columns: 1fr 1.25fr; }
  .profile-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); }
  .profile-facts div { padding-inline: 18px; border-right: 1px solid #c9c6bf; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 82px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav-cv { display: none; }
  .menu-button { display: grid; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 100px 70px; }
  .hero h1 { white-space: normal; }
  .hero-scope { max-width: 680px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div { padding: 24px 18px; border-bottom: 1px solid var(--line); }
  .proof-grid > div:nth-child(2n) { border-right: 0; }
  .proof-grid > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .case-header, .journey-layout, .contact-panel { grid-template-columns: 1fr; }
  .case-row, .case-row-reverse { grid-template-columns: 1fr; }
  .case-row-reverse .case-copy, .case-row-reverse .product-shot { order: initial; }
  .secondary-work { grid-template-columns: 1fr 1fr; }
  .secondary-work > .mono-label { grid-column: 1 / -1; padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .principle-grid li:nth-child(2) { border-right: 0; }
  .principle-grid li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.35); }
  .footer .shell { grid-template-columns: 1fr auto; }
  .footer p:nth-child(2) { display: none; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .mobile-menu { padding-inline: 16px; }
  .hero { padding-top: 76px; gap: 70px; }
  .hero h1 { font-size: clamp(4rem, 23vw, 6.6rem); }
  .hero h1 { white-space: normal; }
  .hero-role { margin-top: 26px; font-size: 1rem; }
  .hero-stack { font-size: .95rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .proof-grid > div { min-height: 110px; }
  .section { padding-block: 84px; }
  .section-intro { margin-bottom: 46px; }
  .section-intro h2 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .featured-case { padding: 22px 16px; }
  .case-header { gap: 28px; }
  .case-header h3 { font-size: 3.25rem; }
  .case-meta div { grid-template-columns: 72px 1fr; }
  .case-story { grid-template-columns: 1fr; }
  .case-story > div, .case-story > div:first-child, .case-story > div:last-child { padding: 22px 0; border-right: 0; border-top: 1px solid var(--line); }
  .case-story > div:first-child { border-top: 0; }
  .case-copy { padding: 32px 20px; }
  .case-copy dl > div { grid-template-columns: 1fr; gap: 5px; }
  .secondary-work { grid-template-columns: 1fr; }
  .secondary-work > *, .secondary-work > *:first-child, .secondary-work > *:last-child { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .capabilities { grid-template-columns: 1fr; }
  .capabilities article { min-height: 0; padding: 28px 22px; }
  .timeline li { grid-template-columns: 1fr; gap: 10px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid li, .principle-grid li:first-child, .principle-grid li:last-child { min-height: 0; padding: 28px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .principle-grid li:first-child { border-top: 0; }
  .about-layout { grid-template-columns: 1fr; }
  .profile-facts { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .profile-facts div { padding-inline: 0; border-right: 0; }
  #contact-form { grid-template-columns: 1fr; }
  .form-row { grid-column: 1 / -1; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .footer .shell { grid-template-columns: 1fr; }
  .footer p:last-child { justify-self: start; }
}

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