:root {
  color-scheme: light;
  --navy: #071321;
  --navy-deep: #050e19;
  --navy-panel: #0d1e30;
  --ink: #0c1d2e;
  --muted: #43576a;
  --light-muted: #b1c3d3;
  --accent: #6be3ef;
  --accent-hover: #a8f4fa;
  --teal: #087786;
  --paper: #f3f6f9;
  --line: #d6e0e8;
  --dark-line: #263d50;
  --heading: "Inter", "Aptos", "Segoe UI", Arial, sans-serif;
  --body: "Inter", "Aptos", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: white; color: var(--ink); font: 16px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--navy-deep); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.12; }
h1, h2 { letter-spacing: -.052em; font-weight: 700; }
h3 { letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.65rem); }
p + p { margin-top: 1em; }
.shell { width: min(100% - 104px, 1296px); margin-inline: auto; }
.dark { color: #f6faff; background: var(--navy); }
.section { padding: 88px 0; }
.skip-link { position: absolute; top: 0; left: 16px; z-index: 10; transform: translateY(-150%); background: var(--accent); color: var(--ink); padding: 10px 16px; }
.skip-link:focus { top: 12px; transform: none; }

.site-header { position: relative; z-index: 3; background: var(--navy-deep); border-bottom: 1px solid #223448; color: white; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; width: max-content; }
.brand-mark { display: grid; gap: 5px; width: 32px; transform: skewY(-18deg); }
.brand-mark i { display: block; height: 4px; border-radius: 2px; background: var(--accent); }
.brand-mark i:nth-child(1) { width: 24px; margin-left: 7px; }
.brand-mark i:nth-child(2) { width: 31px; }
.brand-mark i:nth-child(3) { width: 18px; margin-left: 2px; }
.brand-name { display: grid; color: #f7faff; font: 700 29px/.85 var(--heading); letter-spacing: -.065em; }
.brand-name span { color: #a9bdcf; font: 600 8px/1 var(--body); letter-spacing: .215em; margin-top: 7px; }
.site-header nav { display: flex; align-items: center; gap: clamp(17px, 3vw, 46px); }
.site-header nav > a:not(.button) { color: #c9d6e1; text-decoration: none; font-size: .91rem; font-weight: 600; }
.site-header nav > a:not(.button):hover, .site-header nav > a[aria-current]:not(.button) { color: var(--accent); }
.menu { display: none; color: white; background: transparent; border: 1px solid var(--dark-line); padding: 7px 12px; border-radius: 4px; }
.menu-icon { display: inline-block; vertical-align: .13em; width: 13px; height: 10px; border-block: 1px solid; position: relative; margin-left: 4px; }
.menu-icon::after { content: ""; position: absolute; top: 3.5px; left: 0; width: 100%; border-top: 1px solid; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 49px; padding: 11px 19px; border: 1px solid transparent; border-radius: 5px; text-decoration: none; font-size: .92rem; font-weight: 700; line-height: 1.25; transition: background .18s, color .18s, border-color .18s; }
.arrow { display: inline-block; width: 12px; height: 12px; flex: 0 0 12px; position: relative; color: inherit; }
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { left: 0; top: 5px; width: 13px; border-top: 1.5px solid; transform: rotate(-45deg); transform-origin: center; }
.arrow::after { right: 0; top: 0; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; }
.text-link .arrow { align-self: center; }
.primary { color: #08212e; background: var(--accent); }
.primary:hover { color: var(--navy); background: var(--accent-hover); }
.secondary { color: #f6faff; border-color: #526a7c; background: #07132144; }
.secondary:hover { color: var(--accent-hover); border-color: var(--accent); background: var(--navy); }
.nav-cta { min-height: 42px; border-color: #4c8995; color: var(--accent); padding: 8px 14px; }
.nav-cta:hover, .nav-cta[aria-current] { color: var(--navy); background: var(--accent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.text-link { display: inline-flex; align-items: baseline; gap: 7px; color: var(--teal); font-size: .91rem; line-height: 1.4; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.dark .text-link { color: var(--accent); }

.eyebrow { display: flex; gap: 10px; align-items: center; color: var(--teal); font-size: .73rem; font-weight: 750; line-height: 1.45; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow i { flex: 0 0 19px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--accent); }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.29rem); line-height: 1.57; color: var(--light-muted); max-width: 590px; }

.hero { min-height: clamp(520px, 44vw, 640px); position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; }
.hero-image { position: absolute; right: 0; top: 0; height: 100%; width: 76%; object-fit: cover; object-position: center 51%; z-index: -2; }
.hero::before { content: ""; inset: 0; position: absolute; z-index: -1; background: linear-gradient(90deg, #071321 0%, #071321 20%, #071321f8 31%, #071321b5 44%, #07132128 66%, #07132107 100%), linear-gradient(0deg, #071321bf 0%, #07132100 34%); }
.hero-inner { padding: 64px 0 76px; }
.hero h1 { margin-top: 22px; font-size: clamp(3.45rem, 6.05vw, 6rem); line-height: 1.02; letter-spacing: -.072em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-top: 26px; color: #c0cfdd; max-width: 510px; }
.hero .actions { margin-top: 31px; }
.sector-strip { border-block: 1px solid var(--dark-line); background: #0d1d2e; }
.sector-strip .shell { min-height: 71px; display: flex; align-items: center; gap: clamp(14px, 4vw, 60px); }
.sector-strip .shell > span { white-space: nowrap; color: var(--accent); text-transform: uppercase; font-size: .69rem; letter-spacing: .12em; font-weight: 750; }
.sector-strip ul { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 10px 20px; list-style: none; padding: 0; margin: 0; }
.sector-strip li { color: #d0dce8; font-size: .91rem; font-weight: 600; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head .eyebrow { margin-bottom: 13px; }
.section-head > p { color: var(--muted); line-height: 1.65; max-width: 355px; }
.section-head > .text-link { flex-shrink: 0; padding-bottom: 5px; }
.services-section { background: var(--paper); }
.service-grid, .work-grid, .approach-grid, .insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { min-height: 199px; display: block; padding: 22px 23px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: white; transition: border-color .18s, background .18s; }
.service-card:hover { border-color: var(--teal); background: #fbfeff; }
.card-top { display: flex; align-items: start; justify-content: space-between; margin-bottom: 20px; }
.card-arrow { color: var(--teal); margin: 4px 2px; }
.glyph { display: grid; position: relative; place-items: center; width: 40px; height: 40px; color: #087786; background: #e3f5f8; border-radius: 5px; }
.glyph.flow i { width: 7px; height: 7px; border: 1.5px solid; border-radius: 1px; box-shadow: -7px 7px 0 -1px currentColor, 7px -7px 0 -1px currentColor; }
.glyph.flow::after { content: ""; position: absolute; width: 19px; border-top: 1px solid; transform: rotate(-45deg); }
.glyph.archive i { width: 18px; height: 13px; border: 1.5px solid; border-radius: 1px; }
.glyph.archive::after { content: ""; position: absolute; width: 17px; height: 7px; border: 1.5px solid; border-inline: none; }
.glyph.play i { width: 20px; height: 20px; border: 1.5px solid; border-radius: 50%; }
.glyph.play::after { content: ""; position: absolute; width: 0; height: 0; border: solid transparent; border-width: 4px 0 4px 6px; border-left-color: currentColor; transform: translateX(1px); }
.glyph.cloud i { width: 21px; height: 10px; border: 1.5px solid; border-radius: 5px; margin-top: 5px; }
.glyph.cloud::after { content: ""; position: absolute; width: 11px; height: 9px; margin-top: -4px; border: 1.5px solid; border-radius: 8px 8px 0 0; border-bottom: 0; background: #e3f5f8; }
.glyph.code::after { content: "‹/›"; font: 700 21px/1 var(--body); letter-spacing: -.04em; }
.glyph.layers i { width: 14px; height: 14px; border: 1.5px solid; transform: rotate(45deg) skew(-10deg, -10deg) translate(-2px, -2px); }
.glyph.layers::after { content: ""; position: absolute; width: 14px; height: 14px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) skew(-10deg, -10deg) translate(2px, 2px); }
.service-card h3 { font-size: clamp(1.15rem, 2vw, 1.43rem); }
.service-card p { margin-top: 8px; line-height: 1.5; color: var(--muted); font-size: .95rem; }

.experience-section { background: #091827; }
.experience-feature { display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: clamp(26px, 6vw, 90px); margin-bottom: 34px; }
.experience-feature .eyebrow { margin-bottom: 14px; }
.experience-feature p:not(.eyebrow) { margin: 18px 0 24px; max-width: 410px; color: var(--light-muted); }
.experience-feature img { width: 100%; height: auto; aspect-ratio: 16 / 8.6; object-fit: cover; border-radius: 8px; border: 1px solid #315066; }
.work-card, .insight-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; min-height: 224px; padding: 23px; text-decoration: none; background: white; transition: border-color .18s, background .18s; }
.dark .work-card { background: var(--navy-panel); border-color: var(--dark-line); }
.work-card:hover, .insight-card:hover { border-color: var(--teal); }
.dark .work-card:hover { border-color: var(--accent); }
.work-card h3, .insight-card h3 { margin-top: 12px; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.work-card p:not(.eyebrow), .insight-card p:not(.eyebrow) { color: var(--muted); margin-top: 10px; font-size: .94rem; }
.dark .work-card p:not(.eyebrow) { color: var(--light-muted); }
.work-card .text-link, .insight-card .text-link { padding-top: 17px; margin-top: auto; }
.approach-grid { gap: clamp(15px, 3vw, 40px); }
.approach-grid > div { border-top: 2px solid #b0e0e5; padding-top: 18px; }
.approach-grid h3 { font-size: 1.3rem; }
.approach-grid p { margin-top: 8px; color: var(--muted); }
.insights-section, .experience-index { background: var(--paper); }
.contact-band { background: radial-gradient(ellipse at 100% 0%, #134254, transparent 68%), #0a1d30; border-top: 1px solid #294354; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 63px 0; }
.band-inner .eyebrow { margin-bottom: 12px; }
.band-inner h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.band-inner p:not(.eyebrow) { color: var(--light-muted); margin-top: 9px; }
.band-inner .button { flex-shrink: 0; }

.page-heading { padding: 76px 0; background: radial-gradient(ellipse at 105% 55%, #15465a, transparent 60%), var(--navy); }
.page-heading h1 { max-width: 960px; font-size: clamp(2.9rem, 6vw, 5.5rem); margin: 14px 0 17px; }
.page-heading .lede { max-width: 720px; }
.breadcrumb { display: inline-block; color: #c5d5e3; font-size: .9rem; text-decoration: none; margin-bottom: 24px; }
.breadcrumb .arrow { transform: rotate(225deg) scale(.8); vertical-align: -.03em; margin-right: 5px; }
.breadcrumb:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.article-layout, .about-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: clamp(30px, 7vw, 112px); }
.article { max-width: 720px; }
.article section + section { margin-top: 33px; }
.article h2, .contact-layout h2 { font-size: clamp(1.55rem, 2.9vw, 2.28rem); letter-spacing: -.04em; margin-bottom: 11px; }
.article p, .contact-layout p { color: var(--muted); }
.article .article-lede { color: var(--ink); font-size: 1.2rem; margin-bottom: 26px; }
.article-reference, .about-layout .article > .text-link { margin-top: 27px; }
.side-panel { border: 1px solid var(--line); border-left: 3px solid #73cbd5; border-radius: 6px; padding: 24px; background: var(--paper); }
.side-panel h2 { font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 10px; }
.side-panel h2:not(:first-child) { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.side-panel ul { margin: 0; padding-left: 19px; color: var(--muted); }
.side-panel li + li { margin-top: 7px; }
.side-panel p { color: var(--muted); margin-bottom: 10px; }
.about-photo { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); }
.about-photo img { aspect-ratio: 4/3; height: auto; width: 100%; object-fit: cover; }
.about-photo div { padding: 17px 21px; }
.about-photo strong, .about-photo span { display: block; }
.about-photo span { color: var(--muted); font-size: .93rem; }

.contact-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); }
.contact-details { display: grid; gap: 16px; margin: 25px 0 0; }
.contact-details dt { font-weight: 700; }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.contact-details a { color: var(--teal); text-underline-offset: 3px; }
.form-panel { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.form-panel form { margin-top: 20px; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-panel label { display: block; margin-bottom: 14px; font-size: .92rem; font-weight: 650; }
.form-panel label span { color: var(--muted); font-weight: 400; }
.form-panel input, .form-panel select, .form-panel textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #889aab; border-radius: 4px; padding: 9px 10px; background: white; color: var(--ink); font-weight: 400; }
.form-panel textarea { resize: vertical; }
.form-panel .primary { background: #086575; color: white; }
.form-panel .primary:hover { background: #074c59; }
.plain-button { border: 0; background: transparent; color: var(--teal); font-size: .91rem; font-weight: 700; padding: 10px 5px; }
.plain-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.form-status { margin-top: 12px; font-size: .88rem; }
.form-status:empty { display: none; }

.site-footer { background: var(--navy-deep); color: #b4c4d3; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr .7fr 1.15fr; gap: 26px; padding: 55px 0 36px; }
.footer-brand p { max-width: 230px; margin: 14px 0 7px; }
.footer-brand > span { color: #9aafc0; }
.footer-grid h2 { color: #ebf2f9; font-size: .96rem; letter-spacing: 0; margin-bottom: 10px; }
.footer-grid > div:not(.footer-brand) a { display: block; width: fit-content; text-decoration: none; margin-top: 5px; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--accent); }
.footer-end { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid var(--dark-line); padding: 17px 0 20px; color: #a4b6c8; font-size: .82rem; }
.footer-end a { text-decoration: none; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 72px); }
  .hero-image { width: 78%; }
  .section { padding-block: 68px; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 48px); }
  .site-header nav { gap: 16px; }
  .hero-image { width: 95%; }
  .hero::before { background: linear-gradient(90deg, #071321 5%, #071321dc 35%, #07132152 77%, #07132136 100%), linear-gradient(0deg, #071321d9 0%, transparent 56%); }
  .sector-strip .shell { padding: 14px 0; align-items: start; gap: 22px; }
  .sector-strip .shell > span { margin-top: 4px; }
  .sector-strip ul { flex-wrap: wrap; justify-content: start; }
  .service-grid, .insight-grid, .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; flex-wrap: wrap; gap: 0 8px; }
  .header-inner > .brand { margin: 13px 0; }
  .menu { display: block; }
  .site-header nav { flex-wrap: wrap; width: 100%; padding: 0 0 16px; }
  .site-header nav.enhanced { display: none; }
  .site-header nav.enhanced.is-open { display: grid; gap: 0; padding-top: 2px; }
  .site-header nav.enhanced > a:not(.button) { border-top: 1px solid var(--dark-line); padding: 10px 2px; }
  .site-header .nav-cta { width: max-content; }
  .site-header nav.enhanced .nav-cta { margin-top: 6px; }
  .hero { min-height: 565px; align-items: end; }
  .hero-image { width: 100%; height: 72%; object-position: 64% center; }
  .hero::before { background: linear-gradient(0deg, #071321 12%, #071321 24%, #071321e8 42%, #07132177 75%, #07132127 100%), linear-gradient(90deg, #071321a4 0%, #07132100 85%); }
  .hero-inner { padding: 148px 0 46px; }
  .hero h1 { font-size: clamp(2.7rem, 9.4vw, 3.8rem); margin-top: 15px; }
  .hero .lede { margin-top: 17px; }
  .hero .actions { margin-top: 23px; }
  .sector-strip .shell { flex-direction: column; gap: 8px; }
  .sector-strip .shell > span { margin-top: 0; }
  .sector-strip ul { gap: 4px 18px; }
  .sector-strip li { font-size: .83rem; }
  .section { padding-block: 49px; }
  .section-head { align-items: start; flex-direction: column; gap: 11px; margin-bottom: 23px; }
  .experience-feature, .approach-grid, .article-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .experience-feature { gap: 20px; margin-bottom: 20px; }
  .band-inner { align-items: start; flex-direction: column; padding: 43px 0; }
  .page-heading { padding: 52px 0; }
  .page-heading h1 { font-size: clamp(2.5rem, 9vw, 3.85rem); }
}
@media (max-width: 470px) {
  .service-grid, .work-grid, .insight-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card, .work-card, .insight-card { min-height: auto; }
  .card-top { margin-bottom: 15px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { gap: 23px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
