:root {
  --ink: #071c3a;
  --blue: #0a4d78;
  --blue-deep: #073b61;
  --blue-soft: #dcebf3;
  --paper: #fffefd;
  --surface: #f2f7fa;
  --text: #334a64;
  --muted: #667b90;
  --rule: #b9cfdd;
  --error: #9b2727;
  --success: #1f6848;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
  --shell: 1180px;
  --shadow: 0 18px 50px rgb(7 28 58 / 10%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f2b84b; outline-offset: 4px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.03;
}
h1 { max-width: 13ch; font-size: clamp(3rem, 7vw, 6.65rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.35rem, 5vw, 4.75rem); letter-spacing: -.035em; }
h3 { font-size: 1.45rem; }
p { max-width: 68ch; }

.shell { width: min(calc(100% - 3rem), var(--shell)); margin-inline: auto; }
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-tinted { background: var(--surface); }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero-lede, .section-intro, .prose-large { font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.55; }
.narrow { max-width: 58rem; }

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgb(185 207 221 / 50%);
  background: rgb(255 254 253 / 92%);
}
.header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark, .footer-name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1;
  text-decoration: none;
}
.primary-navigation { display: flex; align-items: center; gap: 2.35rem; }
.primary-navigation a {
  position: relative;
  color: var(--ink);
  font-size: .95rem;
  text-decoration: none;
}
.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -.65rem;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform .2s ease;
}
.primary-navigation a:hover::after, .primary-navigation a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: none; color: var(--ink); }

.hero { overflow: hidden; background: linear-gradient(90deg, var(--paper) 0 49%, #e8f1f6 49% 100%); }
.hero-grid { display: grid; min-height: 690px; grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr); align-items: stretch; }
.hero-copy { z-index: 2; align-self: center; padding: 5rem 3.5rem 5rem 0; }
.hero-copy h1 { margin-bottom: 1.6rem; }
.hero-copy .hero-lede { max-width: 39rem; }
.button-row { display: flex; margin-top: 2.25rem; align-items: center; flex-wrap: wrap; gap: 1.7rem; }
.button {
  display: inline-flex;
  min-height: 3.25rem;
  padding: .82rem 1.45rem;
  border: 1px solid var(--blue-deep);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: var(--blue-deep);
  color: white;
  font-family: var(--serif);
  font-size: 1.12rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.button:hover { background: var(--ink); }
.button-light { border-color: #bcd5e4; background: transparent; }
.button-light:hover { background: white; color: var(--ink); }
.button-small { min-height: 2.7rem; padding: .6rem 1rem; font-family: var(--sans); font-size: .9rem; }
.text-link, .text-button {
  display: inline-flex;
  border: 0;
  border-bottom: 1px solid currentColor;
  align-items: center;
  gap: 1rem;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  text-decoration: none;
  cursor: pointer;
}
.hero-portrait { position: relative; min-height: 690px; }
.hero-portrait::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 34%;
  background: linear-gradient(90deg, #e8f1f6, transparent);
  content: "";
  pointer-events: none;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }

.split-heading { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); }
.split-heading > div:first-child { padding-right: 3rem; border-right: 1px solid var(--rule); }
.split-heading h2 { max-width: 7ch; }
.bring-content .section-intro { margin-bottom: 3rem; }
.editorial-points { display: grid; grid-template-columns: repeat(3, 1fr); }
.editorial-points article { padding: 0 1.5rem; border-left: 1px solid var(--rule); }
.editorial-points article:first-child { padding-left: 0; border-left: 0; }
.editorial-points h3 { margin-bottom: .65rem; }
.editorial-points p { color: var(--muted); }
.point-number { margin-bottom: .8rem; color: var(--blue); font-family: var(--serif); font-size: 2rem; }

.case-feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.case-feature h2 { max-width: 10ch; }
.case-feature p:not(.eyebrow) { font-size: 1.08rem; }
.case-visual {
  position: relative;
  display: grid;
  min-height: 430px;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border: 1px solid #aac8db;
  align-content: center;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: white;
}
.case-visual::before, .case-visual::after {
  position: absolute;
  border: 1px solid rgb(183 218 236 / 30%);
  border-radius: 50%;
  content: "";
}
.case-visual::before { width: 370px; height: 370px; top: -150px; right: -90px; }
.case-visual::after { width: 260px; height: 260px; bottom: -150px; left: -50px; }
.case-visual span { color: #bcd6e7; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.case-visual strong { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 500; line-height: 1; }
.case-path { display: flex; height: 90px; align-items: center; gap: .65rem; }
.case-path::before { width: 76%; height: 1px; background: #82b3cf; content: ""; }
.case-path i { width: 7px; height: 7px; border: 1px solid #c7e4f4; border-radius: 50%; }

.experience-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); }
.experience-heading { position: sticky; top: 3rem; align-self: start; }
.experience-heading h2 { max-width: 9ch; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; padding: 2rem 0; border-top: 1px solid var(--rule); grid-template-columns: 8rem 1fr; gap: 2rem; }
.timeline li:first-child { padding-top: 0; border-top: 0; }
.timeline-years { color: var(--blue); font-size: .92rem; font-weight: 700; letter-spacing: .06em; }
.timeline h3 { margin-bottom: .35rem; }
.timeline-organization { margin-bottom: .8rem; color: var(--blue); font-weight: 600; }

.hero-about { background: var(--paper); }
.about-hero-grid { display: grid; min-height: 590px; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.about-primary-photo { margin: 0; }
.about-primary-photo img { width: 100%; border-radius: 2px; box-shadow: var(--shadow); image-rendering: auto; }
.narrative-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 9rem); }
.narrative-grid h2 { max-width: 8ch; }
.prose-large p + p { margin-top: 1.6rem; }
.lifecycle { display: grid; margin: 4rem 0 0; padding: 0; grid-template-columns: repeat(5, 1fr); list-style: none; }
.lifecycle li { position: relative; padding: 0 1.3rem; border-left: 1px solid var(--rule); }
.lifecycle li:first-child { padding-left: 0; border-left: 0; }
.lifecycle span { display: block; margin-bottom: 1.8rem; color: #75a4c1; font-family: var(--serif); font-size: 3rem; }
.lifecycle h3 { min-height: 2.9em; font-size: 1.25rem; }
.lifecycle p { color: var(--muted); font-size: .94rem; }
.expertise-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 3rem 7rem; }
.expertise-intro h2 { max-width: 9ch; }
.expertise-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; }
.expertise-groups section { padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.expertise-groups ul { margin: 0; padding: 0; columns: 2; column-gap: 1.2rem; list-style: none; }
.expertise-groups li { margin-bottom: .45rem; color: var(--muted); }
.technology-line, .education-line { grid-column: 2; padding-top: 2rem; border-top: 1px solid var(--rule); }
.technology-line p { max-width: none; }
.technology-note { color: var(--muted); font-size: .94rem; }
.beyond-section { background: var(--ink); color: #d9e5ec; }
.beyond-section h2, .beyond-section h3, .beyond-section a { color: white; }
.beyond-section .eyebrow { color: #8fc2df; }
.beyond-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.beyond-photo { display: block; max-width: 420px; margin-top: 2.5rem; overflow: hidden; }
.beyond-photo img { width: 100%; max-height: 510px; object-fit: cover; object-position: 50% 58%; }
.beyond-items article { padding: 2rem 0; border-top: 1px solid rgb(185 207 221 / 32%); }
.beyond-items article:first-child { border-top: 0; }
.beyond-items h3 { font-size: 2rem; }

.case-hero { padding: clamp(5rem, 9vw, 8rem) 0; overflow: hidden; background: linear-gradient(135deg, var(--paper) 0 50%, #dceaf2 50% 100%); }
.case-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.case-hero h1 { font-size: clamp(3.3rem, 7vw, 6.3rem); }
.platform-diagram { display: grid; min-height: 440px; padding: 2.5rem; border: 1px solid #aac8db; align-content: center; background: var(--ink); color: white; box-shadow: var(--shadow); }
.platform-diagram div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.platform-diagram span { color: #9bc2d9; font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.platform-diagram strong { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 500; text-align: right; }
.platform-diagram i { position: relative; width: 1px; height: 78px; margin: 1rem 0 1rem 2rem; background: #669dbd; }
.platform-diagram i::after { position: absolute; bottom: -1px; left: -4px; width: 9px; height: 9px; border-right: 1px solid #669dbd; border-bottom: 1px solid #669dbd; content: ""; transform: rotate(45deg); }
.case-body-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: start; gap: clamp(3rem, 8vw, 8rem); }
.case-narrative > section { padding: 3rem 0; border-top: 1px solid var(--rule); }
.case-narrative > section:first-child { padding-top: 0; border-top: 0; }
.case-narrative h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.case-narrative p, .approach-list { font-size: 1.08rem; }
.section-index { margin-bottom: .5rem; color: var(--blue); font-family: var(--serif); }
.approach-list { padding-left: 1.25rem; }
.approach-list li { padding: .45rem 0 .45rem .5rem; }
.case-glance { position: sticky; top: 2rem; padding: 2.5rem; background: var(--surface); }
.case-glance dl { margin: 0; }
.case-glance dl div { padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.case-glance dt { margin-bottom: .35rem; color: var(--ink); font-family: var(--serif); font-size: 1.25rem; }
.case-glance dd { margin: 0; color: var(--muted); }

.hero-contact { background: linear-gradient(90deg, var(--paper) 0 52%, #e8f1f6 52% 100%); }
.hero-contact .hero-grid { min-height: 520px; }
.hero-contact .hero-portrait { min-height: 520px; }
.contact-portrait img { object-position: 50% 27%; }
.contact-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 8vw, 8rem); }
.contact-layout h2 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
.contact-form { margin-top: 2.5rem; }
.field { margin-bottom: 1.45rem; }
.field label { display: flex; margin-bottom: .48rem; color: var(--ink); font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.optional { margin-left: auto; color: var(--muted); font-size: .7rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #9ebdce;
  border-radius: 2px;
  background: white;
  color: var(--ink);
}
.field input, .field select { min-height: 3.25rem; padding: .7rem .85rem; }
.field textarea { min-height: 11rem; padding: .85rem; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: .35rem 0 0; color: var(--error); font-size: .9rem; }
.honeypot { position: absolute; left: -10000px; }
.form-status { margin: 2rem 0; padding: 1.25rem; border-left: 4px solid; background: var(--surface); }
.form-status.success { border-color: var(--success); }
.form-status.error { border-color: var(--error); }
.contact-details { padding-left: clamp(2rem, 5vw, 5rem); border-left: 1px solid var(--rule); }
.contact-details dl { margin: 2rem 0; }
.contact-details dl div { padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.contact-details dt { margin-bottom: .3rem; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-details dd { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 1.25rem; }
.privacy-note { color: var(--muted); }

.page-hero { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--surface); }
.compact-hero h1 { margin-bottom: 1.5rem; }
.policy-list > section { display: grid; padding: 2.4rem 0; border-top: 1px solid var(--rule); grid-template-columns: .42fr 1fr; gap: clamp(2rem, 7vw, 7rem); }
.policy-list > section:first-child { padding-top: 0; border-top: 0; }
.policy-list h2 { font-size: clamp(2rem, 4vw, 3.3rem); }

.contact-band { padding: 2.25rem 0; background: var(--blue-deep); color: white; }
.contact-band-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2.5rem; }
.contact-band h2 { margin: 0; color: white; font-size: clamp(2rem, 4vw, 3.2rem); }
.contact-band p { margin: 0; }
.site-footer { padding: 2.4rem 0 1.4rem; background: white; }
.footer-main { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.footer-main p { margin: .4rem 0 0; color: var(--muted); }
.footer-main nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-main nav a { text-decoration: none; }
.footer-meta { display: flex; margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--rule); justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .82rem; }
.footer-meta p { margin: 0; }

.analytics-consent {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  width: min(calc(100% - 2rem), 720px);
  margin-left: auto;
  padding: 1.25rem;
  border: 1px solid var(--rule);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: white;
  box-shadow: var(--shadow);
}
.analytics-consent[hidden] { display: none; }
.analytics-consent p { margin: 0; font-size: .9rem; }
.analytics-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.analytics-actions .text-button { font-family: var(--sans); font-size: .9rem; }

@media (max-width: 950px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-right: 1.5rem; }
  .editorial-points { grid-template-columns: 1fr; }
  .editorial-points article, .editorial-points article:first-child { padding: 1.25rem 0; border-top: 1px solid var(--rule); border-left: 0; }
  .lifecycle { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .lifecycle li, .lifecycle li:first-child { padding: 1.5rem 0; border-top: 1px solid var(--rule); border-left: 0; }
  .lifecycle span { margin-bottom: .5rem; }
  .lifecycle h3 { min-height: 0; }
  .expertise-layout { grid-template-columns: 1fr; }
  .technology-line, .education-line { grid-column: auto; }
}

@media (max-width: 760px) {
  html { scroll-behavior: auto; }
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .section { padding: 4.5rem 0; }
  .site-header { position: relative; }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: inline-flex; min-height: 44px; padding: .5rem; align-items: center; gap: .7rem; cursor: pointer; }
  .menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 21px; height: 1px; background: var(--ink); content: ""; }
  .menu-toggle-lines { position: relative; }
  .menu-toggle-lines::before { position: absolute; top: -6px; }
  .menu-toggle-lines::after { position: absolute; top: 6px; }
  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 1rem;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: white;
  }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation a { padding: .9rem .5rem; }
  .primary-navigation a::after { display: none; }
  .hero, .hero-contact { background: var(--paper); }
  .hero-grid, .about-hero-grid, .case-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding: 4rem 0 2.5rem; }
  .hero-portrait { min-height: 460px; margin-inline: -1rem; }
  .hero-portrait::before { inset: 0 0 auto; width: 100%; height: 22%; background: linear-gradient(180deg, var(--paper), transparent); }
  .hero-portrait img { object-position: 50% 25%; }
  .split-heading, .case-feature-grid, .experience-grid, .narrative-grid, .expertise-layout, .beyond-grid, .case-body-grid, .contact-layout, .policy-list > section { grid-template-columns: 1fr; }
  .split-heading { gap: 2rem; }
  .split-heading > div:first-child { padding: 0 0 2rem; border-right: 0; border-bottom: 1px solid var(--rule); }
  .case-feature-grid { gap: 2.5rem; }
  .case-visual { min-height: 330px; }
  .experience-heading, .case-glance { position: static; }
  .timeline li { grid-template-columns: 1fr; gap: .5rem; }
  .about-hero-grid { min-height: auto; padding: 4rem 0; }
  .about-hero-grid .hero-copy { padding: 0; }
  .about-primary-photo { order: -1; }
  .expertise-groups { grid-template-columns: 1fr; }
  .expertise-groups ul { columns: 1; }
  .lifecycle { grid-template-columns: 1fr; }
  .beyond-photo { max-width: none; }
  .platform-diagram { min-height: 360px; padding: 1.5rem; }
  .platform-diagram div { align-items: flex-start; flex-direction: column; }
  .platform-diagram strong { text-align: left; }
  .case-glance { order: -1; }
  .hero-contact .hero-grid { min-height: auto; }
  .hero-contact .hero-portrait { min-height: 410px; }
  .contact-details { padding: 3rem 0 0; border-top: 1px solid var(--rule); border-left: 0; }
  .contact-band-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .contact-band-inner .button { justify-self: start; }
  .footer-main, .footer-meta { align-items: flex-start; flex-direction: column; }
  .analytics-consent { align-items: stretch; flex-direction: column; }
}

@media (max-width: 430px) {
  h1 { font-size: 3.15rem; }
  h2 { font-size: 2.6rem; }
  .hero-portrait { min-height: 390px; }
  .timeline li { padding: 1.6rem 0; }
  .footer-main nav { gap: 1rem; }
  .analytics-actions { align-items: stretch; flex-direction: column; }
}

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

