@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --text-body: 1rem;
  --text-section: clamp(1.5rem, 2.6vw, 2.3rem);
  --text-title: clamp(2.2rem, 4.1vw, 3.9rem);
  --type: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #18175c;
  --muted: #4e5076;
  --surface: #ffffff;
  --soft: #f3f5ff;
  --line: #d9def3;
  --hash-blue: #1441b4;
  --brand-blue: #5c85e6;
  --on-brand-blue: #081530;
  --brand-orange: #ff8329;
  --brand-tagline: var(--hash-blue);
  --accent: var(--hash-blue);
  --action: var(--brand-blue);
  --action-hover: #83a3ef;
  --on-action: var(--on-brand-blue);
  --selected: #e8edff;
  --on-selected: #163580;
  --focus: var(--hash-blue);
  --hero-bg: linear-gradient(135deg, #f4f7ff 0%, #e8efff 100%);
  --callout: #e8edff;
  --form-error: #a5341b;
  --max: 1180px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f1f2ff;
  --muted: #c0c8ee;
  --surface: #10142f;
  --soft: #171c3c;
  --line: #3e4677;
  --accent: #b6c5ff;
  --brand-tagline: #ffffff;
  --selected: #242c5b;
  --on-selected: #dbe3ff;
  --focus: #ffb26e;
  --hero-bg: linear-gradient(135deg, #10142f 0%, #1b2b59 100%);
  --callout: #242c5b;
  --form-error: #ffb69d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 var(--text-body)/1.65 var(--type);
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
h1 {
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -.045em;
  max-width: 18ch;
  margin-bottom: 1.3rem;
}
h2 {
  font-size: var(--text-section);
  font-weight: 675;
  line-height: 1.15;
  letter-spacing: -.035em;
  max-width: 21ch;
  margin-bottom: 1.15rem;
}
h3 { font-size: var(--text-body); font-weight: 650; line-height: 1.3; letter-spacing: -.018em; margin-bottom: .55rem; }
strong { font-weight: 650; }
p { max-width: 68ch; }
.wrap { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -5rem; background: var(--surface); padding: .6rem 1rem; z-index: 100; }
.skip:focus { top: 1rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .095em;

  font-weight: 650;
  color: var(--accent);
  margin-bottom: 1.15rem;
}
.hero, .page-hero { background: var(--hero-bg); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: 5rem;
}
.hero .eyebrow { text-transform: none; font-weight: 500; }
.hero .lead, .page-hero .lead { line-height: 1.6; color: var(--muted); }
.hero .lead { max-width: 34rem; }
.page-hero { padding-block: 5rem; }
.page-hero .lead { max-width: 50ch; margin-bottom: 0; }
.site-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom: 5px solid var(--brand-orange);
  box-shadow: 0 14px 38px #00054222;
}
.site-photo img { display: block; width: 100%; height: auto; }
.hero-photo img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 52% center; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button--primary, .button--dark { background: var(--action); color: var(--on-action); }
.button--primary:hover, .button--dark:hover { background: var(--action-hover); }
.button--outline { border-color: var(--accent); color: var(--accent); }
.button--outline:hover { background: var(--selected); }
.section { padding-block: 6.3rem; }
.section--soft { background: var(--soft); }
.section--brand {
  --focus: var(--on-brand-blue);
  --action: #101c41;
  --action-hover: #172956;
  --on-action: #ffffff;
  --accent: var(--on-brand-blue);
  background: var(--brand-blue);
  color: var(--on-brand-blue);
}
.section-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
.section-head p { max-width: 31rem; }
.section-head > p, .body-copy { color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 5rem; align-items: start; }
.statement { font-size: var(--text-section); line-height: 1.4; letter-spacing: -.024em; font-weight: 600; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 1.65rem; background: var(--surface); min-height: 215px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-link { display: inline-block; margin-top: 1rem; color: var(--accent); font-weight: 650; text-underline-offset: .19em; }
.industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.industry-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: .85rem 0 1rem; border-radius: 8px; }
.industry-card .industry-focus { margin-top: 1rem; }
.card .tag { display: block; color: var(--accent); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.15rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { border-bottom: 1px solid var(--line); padding: 1.05rem 0; display: flex; gap: 1rem; align-items: baseline; }
.feature-list li::before { content: ""; display: block; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.step { border-top: 3px solid var(--accent); padding-top: 1.3rem; }
.step p { color: var(--muted); }
.callout { background: var(--callout); border-radius: 18px; padding: clamp(2rem, 5vw, 4rem); display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.callout h2 { margin-bottom: 0; }
.callout p { margin: 1rem 0 0; }
.numberless { display: grid; gap: 1rem; }
.row { display: grid; grid-template-columns: .65fr 1.35fr; gap: 3rem; border-top: 1px solid var(--line); padding: 1.7rem 0; }
.row p { color: var(--muted); margin: 0; }
.row h3 { margin: 0; }
.mini-label { font-weight: 650; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.contact-hero { padding-block: 4rem; }
.contact-hero h1 { max-width: 22ch; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.contact-form, .contact-box {
  min-width: 0;
  padding: clamp(1.25rem, 3.3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.contact-form h2, .contact-box h2 { text-wrap: initial; max-width: none; }
.contact-box { background: var(--soft); }
.contact-channels { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.contact-channels li + li { margin-top: .55rem; }
.contact-channels a { font-weight: 650; color: var(--accent); overflow-wrap: anywhere; text-underline-offset: .2em; }
.contact-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem; }
.contact-field { display: grid; align-content: start; gap: .35rem; }
.contact-field--full { grid-column: 1 / -1; }
.contact-field label { font-weight: 650; }
.contact-optional { color: var(--muted); font-weight: 400; }
.contact-field input, .contact-field textarea {
  width: 100%;
  min-height: 46px;
  padding: .6rem .75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.contact-field textarea { min-height: 8rem; resize: vertical; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.contact-field [aria-invalid="true"] { border-color: var(--form-error); }
.contact-field-error { color: var(--form-error); }
.contact-status { padding: .85rem 1rem; border-radius: 6px; border-inline-start: 3px solid var(--accent); background: var(--soft); }
.contact-status--error { border-color: var(--form-error); }
.contact-form .button { margin-top: 1.35rem; font: inherit; font-weight: 650; cursor: pointer; }
@media (max-width: 950px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 2rem), var(--max)); }
  .hero .wrap, .intro-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero .wrap, .page-hero { padding-block: 3.8rem; }
  .section { padding-block: 4.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .process { grid-template-columns: 1fr 1fr; }
  .section-head { display: block; }
  .row { grid-template-columns: 1fr; gap: .4rem; }
  .callout { display: block; }
  .callout .button { margin-top: 1.5rem; }
  .hero-photo img { aspect-ratio: 3 / 2; }
}
@media (max-width: 500px) { .contact-form-fields { grid-template-columns: 1fr; } }
@media (max-width: 430px) { .process { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Shared header and footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.75rem, 2vw, 1.65rem);
  min-height: 78px;
}
#main { scroll-margin-top: 79px; }
main section[id] { scroll-margin-top: 100px; }
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: .2rem;
  width: calc(137px + 1.1rem);
  max-width: 100%;
  padding: .44rem .55rem;
  border-radius: 8px;
  text-decoration: none;
}
.brand-wordmark { display: block; width: 100%; aspect-ratio: 137 / 28; overflow: hidden; }
.brand-wordmark img { display: block; width: 100%; height: auto; }
.brand-tagline {
  color: var(--brand-tagline);
  font-weight: 650;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { background: var(--selected); }
.theme-icon { line-height: 1; }
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.nav-list, .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list {
  display: flex;
  justify-content: center;
  gap: clamp(.65rem, 1.9vw, 2rem);
  flex: 1;
}
.nav a {
  text-decoration: none;

  font-weight: 600;
}
.nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .65rem .55rem;
  min-height: 44px;
  white-space: nowrap;
}
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .5em;
  text-decoration-thickness: 2px;
}
.menu-toggle { display: none; }

.site-footer {
  --focus: #ffffff;
  background: #24489c;
  color: #f2f6ff;
  border-top: 3px solid var(--brand-orange);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr .8fr 1fr;
  gap: clamp(1rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5.4vw, 4.75rem);
}
.footer-brand p {
  max-width: 34ch;
  margin: 0;
}
.footer-main h2 {
  margin: .35rem 0 .9rem;
  color: #ffffff;
  font-size: var(--text-body);
  font-weight: 650;
  letter-spacing: 0;
}
.footer-links {
  display: grid;
  gap: .3rem;
}
.footer-links a, .footer-contact-link, .footer-bottom a {
  display: inline-block;
  padding-block: .2rem;

  text-decoration: none;
}
.footer-links a:hover, .footer-links a[aria-current="page"],
.footer-contact-link:hover, .footer-contact-link[aria-current="page"],
.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.footer-contact p {
  max-width: 30ch;
  margin-bottom: .85rem;

}
.footer-contact .contact-channels a { color: #ffffff; }
.footer-contact-link { display: block; width: fit-content; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1rem;
  border-top: 1px solid #6c88c5;
}
.footer-bottom small { font: inherit; }

@media (max-width: 59em) {
  .site-header { position: relative; }
  #main { scroll-margin-top: 0; }
  main section[id] { scroll-margin-top: 1rem; }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 68px;
    gap: 0 .55rem;
    padding-block: .7rem;
  }
  .has-menu-toggle .menu-toggle {
    grid-area: 1 / 2;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .45rem .75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;

    font-weight: 600;
    cursor: pointer;
  }
  .menu-icon {
    width: 17px;
    height: 12px;
    border-block: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  }
  .menu-toggle[aria-expanded="true"] { background: var(--selected); }
  .has-menu-toggle .menu-toggle[aria-expanded="false"] + .nav { display: none; }
  .theme-toggle { grid-area: 1 / 3; }
  .nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    margin-top: .7rem;
    padding-block: .6rem .35rem;
    border-top: 1px solid var(--line);
  }
  .nav-list { display: grid; justify-content: stretch; gap: 0; }
  .nav-list li + li { border-top: 1px solid var(--line); }
  .nav-list > li > a { justify-content: flex-start; min-height: 48px; padding-inline: .6rem; }
}

@media (max-width: 600px) {
  .footer-main { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); row-gap: 1.8rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
}
