:root {
  color-scheme: light;
  --ink: #0b1220;
  --blue: #172b4d;
  --gold: #ffca28;
  --paper: #f5f5f7;
  --muted: #4d5b70;
  --line: #dce0e7;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
main { position: relative; }
.header-sentinel { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; pointer-events: none; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2.5rem, 75rem); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .75rem; left: .75rem; background: white; color: var(--ink); padding: .75rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid #946600; outline-offset: 4px; }
.dark :focus-visible { outline-color: var(--gold); }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.07; overflow-wrap: break-word; }
h1, .slide h2 { font-size: clamp(2.85rem, 6.6vw, 6.25rem); letter-spacing: -.065em; max-width: 13ch; font-weight: 700; }
h2 { font-size: clamp(2.15rem, 4.5vw, 4.3rem); letter-spacing: -.055em; max-width: 24ch; }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.4rem); letter-spacing: -.023em; }
p { margin-block: .85rem 0; }
.header { position: sticky; top: 0; z-index: 3; background: white; border-bottom: 1px solid #e4e7ed; }
.header.scrolled { background: #fffffff5; backdrop-filter: saturate(150%) blur(16px); }
.nav { min-height: 4.25rem; display: flex; align-items: center; gap: .75rem; }
.brand { color: inherit; font-weight: 850; font-size: 1.28rem; letter-spacing: .07em; text-decoration: none; white-space: nowrap; }
.brand span { color: #906100; }
.footer .brand span { color: var(--gold); }
.nav .brand { margin-inline-end: auto; }
.navlinks { display: none; }
.navlinks a, .menu a, .language a { text-decoration: none; font-weight: 620; }
.navlinks a:hover, .menu a:hover { color: #785600; text-decoration: underline; }
.nav details { position: relative; }
.nav summary { display: flex; align-items: center; gap: .55rem; list-style: none; padding: .55rem .65rem; font-size: .875rem; font-weight: 700; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: .38rem; height: .38rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.nav details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language summary { background: var(--paper); border-radius: .2rem; }
.nav details div { position: absolute; inset-inline-end: 0; top: calc(100% + .65rem); min-width: 9rem; background: white; border: 1px solid var(--line); box-shadow: 0 .5rem 1.5rem #0b122012; padding: .35rem; }
.nav details a { display: block; padding: .5rem .75rem; }
.language a:hover, .language a[aria-current] { background: var(--paper); }
.dark, footer { background: var(--ink); color: white; }
.dark p, footer p { color: #e1e7ef; }
.slides { display: grid; }
.slide, .feature { position: relative; isolation: isolate; overflow: clip; display: grid; align-items: center; }
.slide { grid-area: 1 / 1; min-width: 0; min-height: clamp(33rem, 73svh, 48rem); visibility: hidden; opacity: 0; z-index: 0; }
.slide.is-active { visibility: visible; opacity: 1; z-index: 1; }
.slide img, .feature img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide::after, .feature::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #070e19f5 3%, #070e19de 36%, #070e194a 76%, #070e1933); }
.slide-copy { padding-block: clamp(3rem, 9vw, 8rem); }
.slide-copy h1, .slide-copy h2 { text-wrap: balance; max-width: 15ch; }
.eyebrow { margin: 0 0 1rem; color: #795600; font-size: .82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.dark .eyebrow { color: var(--gold); }
.lede { max-width: 43ch; font-size: clamp(1.05rem, 1.85vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.actions > a:not(.button) { color: white; align-self: center; padding: .55rem .3rem; text-underline-offset: .22em; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; max-width: 100%; text-align: center; padding: .62rem 1.15rem; border: 1px solid transparent; border-radius: .25rem; background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 720; }
.button:hover { background: #ffdb65; }
.button.outline { background: #0b122060; border-color: #ffffff90; color: white; }
.button.outline:hover { background: var(--blue); }
.hero-controls { background: var(--ink); }
.hero-controls .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-controls button { min-height: 3.2rem; border: 0; border-top: 2px solid #64748b; color: #dfe6f2; background: transparent; padding: .5rem .4rem; font-size: .88rem; text-align: start; overflow-wrap: anywhere; }
.hero-controls button:hover, .hero-controls [aria-pressed="true"] { color: white; border-color: var(--gold); }
.band { padding-block: clamp(3.6rem, 8vw, 7rem); scroll-margin-top: 4rem; }
.band h2 { margin-bottom: 1.4rem; }
.soft { background: var(--paper); }
#industries, #contact { background: #edf5ff; }
.experience-label { display: block; font-size: .58em; line-height: 1.12; margin-top: .25em; }
.tech-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .55rem; }
.tech-grid li { min-height: 4rem; display: grid; gap: .35rem; place-content: center; justify-items: center; text-align: center; padding: .65rem; color: #172b4d; border: 1px solid #dce7f5; background: #f6f9fe; font-weight: 680; }
.tech-grid img { object-fit: contain; }
.location { display: flex; align-items: stretch; flex-wrap: wrap; gap: .8rem; overflow: hidden; margin-top: 1.4rem; padding: 1rem; background: #112847; }
.location-copy { width: fit-content; max-width: 100%; padding: .85rem; background: #0b1220e8; }
.location-map { flex: 1 1 min(100%, 13rem); display: grid; place-items: center; min-height: 13rem; background: #1d3960; }
.location-map button { background: white; color: var(--ink); padding: .65rem; border: 0; border-radius: .25rem; cursor: pointer; font: inherit; font-weight: 650; }
.location-map iframe { display: block; width: 100%; height: 100%; min-height: 13rem; border: 0; }
.location a { color: #fff; }
.location ul { list-style: none; padding: 0; margin: .6rem 0; }
.location small { display: block; margin-top: .7rem; }
.inquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1rem; }
.inquiry-fields > :last-child { grid-column: 1 / -1; }
.inquiry-fields select { width: 100%; min-height: 2.7rem; color: var(--ink); background: white; border: 1px solid #77859a; border-radius: .2rem; padding: .4rem; font: inherit; }
.expect-heading { margin-top: 2rem; }
.commercial-actions > a:not(.button) { color: var(--blue); }
@media (max-width: 38rem) { .inquiry-fields { grid-template-columns: minmax(0, 1fr); } }
.service-layout, .split { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.service-grid { border-top: 1px solid var(--line); }
.service { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.service a { text-decoration: none; }
.service a:hover { color: #785600; text-decoration: underline; }
.service-detail { margin-top: .65rem; }
.service-detail summary { width: fit-content; min-height: 1.6rem; color: var(--muted); font-size: .85rem; font-weight: 650; cursor: pointer; }
.service-detail summary:hover { color: #795600; }
.service-detail p { margin-top: .35rem; }
.service p, .card p, .section-note { color: var(--muted); }
.section-note { max-width: 66ch; }
.section-note + .grid, .section-note + .button { margin-top: 1.65rem; }
.grid, .clients { display: grid; gap: 1.65rem 2.15rem; }
.card { padding-block: .85rem 0; border-top: 1px solid var(--line); }
.card p { margin-top: .55rem; }
.feature { min-height: clamp(25rem, 54vw, 36rem); }
.feature-copy { padding-block: clamp(3.5rem, 8vw, 7rem); }
.feature-copy > p:not(.eyebrow) { max-width: 44ch; margin-block: 1rem; }
.service-hero h1 { margin-top: 1rem; font-size: clamp(2.6rem, 5.65vw, 5.15rem); max-width: 18ch; }
.clients, .tech { margin: 0; padding: 0; list-style: none; }
.clients li { font-size: 1.15rem; font-weight: 700; border-top: 2px solid var(--gold); padding-top: .75rem; }
.tech { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-bottom: 1.25rem; }
.tech li { border-bottom: 1px solid #6a778b; padding: .25rem 0; }
.faq { max-width: 49rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { font-weight: 700; }
.email-link { display: inline-block; margin-top: 1rem; font-weight: 740; overflow-wrap: anywhere; }
label { display: block; margin-top: .85rem; font-weight: 700; }
input, textarea { resize: vertical; width: 100%; min-height: 2.7rem; padding: .55rem .65rem; background: white; color: var(--ink); border: 1px solid #77859a; border-radius: .2rem; }
.form-panel .button { margin-top: 1.1rem; }
#inquiry-challenge:not(:empty) { margin-top: .75rem; }
#inquiry-note { margin-top: 0; }
#result { margin-top: 1.25rem; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.65rem; padding-block: 1.65rem; }
.footer p { margin: 0; }
@media (min-width: 40rem) {
  .grid, .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 58rem) {
  .wrap { width: min(100% - 5rem, 75rem); }
  .menu { display: none; }
  .navlinks { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.35rem); margin-right: 1.25rem; }
  .grid, .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
  .service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .hero-controls .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slide::after, .feature::after { background: linear-gradient(90deg, #070e19ec, #070e1980); }
  .slide img { object-position: 58% center; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .header, .button, .hero-controls button { transition: background-color .2s, border-color .2s; }
  .nav summary::after { transition: transform .2s; }
  .nav details[open] div { animation: enter .2s ease-out; }
  .slide { transition: opacity .72s ease, visibility 0s linear .72s; }
  .slide.is-active { transition-delay: 0s; }
  .slide.is-active img { animation: drift 1.55s cubic-bezier(.2,.65,.28,1) both; }
  .slide.is-active .eyebrow { animation: enter .42s ease-out; }
  .slide.is-active :is(h1, h2) { animation: headline-in .68s cubic-bezier(.2,.65,.28,1) both; }
  .slide.is-active .lede { animation: enter .62s .1s ease-out both; }
  .slide.is-active .actions { animation: enter .52s .16s ease-out both; }
  [data-reveal].revealed { animation: enter .6s ease-out both; }
  .service:nth-child(even).revealed { animation-delay: .07s; }
  .service-detail[open] p { animation: enter .25s ease-out; }
  @keyframes enter { from { opacity: .35; transform: translateY(.55rem); } to { opacity: 1; transform: translateY(0); } }
  @keyframes headline-in { from { opacity: .45; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }
  @keyframes drift { from { scale: 1.045; } to { scale: 1; } }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .feature-story { view-timeline: --feature block; }
    .feature-story > img {
      animation: feature-drift linear both, feature-light linear both;
      animation-timeline: --feature, --feature;
      animation-range: cover 0% cover 100%, entry 5% entry 80%;
    }
    @keyframes feature-drift {
      from { transform: translateY(-2%) scale(1.055); }
      to { transform: translateY(2%) scale(1.055); }
    }
    @keyframes feature-light { from { opacity: .62; } to { opacity: 1; } }
  }
}
