:root {
  color-scheme: light;
  --navy: #091534;
  --royal: #214bd4;
  --cyan: #46def8;
  --ink: #101e3e;
  --muted: #4a5976;
  --border: #d9e2f1;
  --pale: #f0f5ff;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 5.25rem; }
body { margin: 0; background: #fff; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.055em; }
h2 { font-size: clamp(2.15rem, 1.4rem + 3.15vw, 4.35rem); }
h3 { font-size: 1.42rem; }
a { color: inherit; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #256af0;
  outline-offset: 4px;
}
.dark a:focus-visible { outline-color: var(--cyan); }
.wrap { width: min(100% - 2 * clamp(1.1rem, 4vw, 4rem), 76rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8.5vw, 8.25rem); }
.section-head { margin-bottom: clamp(1.8rem, 4.5vw, 3.65rem); }
.skip { position: fixed; z-index: 5; top: .65rem; left: .65rem; padding: .65rem 1rem; background: #fff; transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid #334363; background: #0a142d; color: #eef5ff; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 4.75rem; gap: .45rem 1rem; }
.brand { display: grid; align-items: center; width: clamp(7.75rem, 13vw, 9.5rem); min-height: 44px; padding-inline: .35rem; border-radius: .55rem; background: #fff; }
.header :is(a, button):focus-visible { outline-color: var(--cyan); }
.reading-progress { position: absolute; inset: auto 0 -1px; height: 2px; pointer-events: none; background: linear-gradient(90deg, #3473ff, #59eafd); transform: scaleX(var(--page-scroll, 0)); transform-origin: left; }
.navigation { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem clamp(.65rem, 2.4vw, 2.2rem); }
.navigation > a:not(.button) { display: grid; place-items: center; min-height: 44px; font-weight: 650; font-size: .9rem; text-decoration: none; }
.navigation > a:not(.button):hover { color: var(--cyan); }
.menu-toggle { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: .5rem .72rem; border: 1px solid #52658e; border-radius: .6rem; color: #fff; background: #172649; font-weight: 650; }
.menu-toggle span { display: inline-block; width: .95rem; height: .52rem; border-block: 2px solid currentColor; }
.menu-toggle[aria-expanded="true"] { color: var(--cyan); background: #182e53; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .74rem 1.25rem; border: 1px solid transparent; border-radius: .6rem; font-size: .94rem; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; }
.button-blue { color: #fff; background: var(--royal); }
.button-blue:hover { background: #1739ae; }
.nav-inquiry { min-height: 44px; padding-inline: 1.25rem; background: linear-gradient(158deg, #315ef0, #2144c4); border-color: #6893fb66; }
.button-cyan { color: #071834; background: var(--cyan); }
.button-cyan:hover { background: #a0f1ff; }
.button-outline { border-color: #7188ba; color: #fff; background: #101f45; }
.button-outline:hover { border-color: var(--cyan); background: #193367; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.dark { color: #fff; background: radial-gradient(ellipse at 95% 0%, #1d3b88 0%, transparent 58%), linear-gradient(130deg, #080f25, #0b1b40 70%, #102655); }
.hero { overflow: hidden; }
.hero.dark { background: radial-gradient(ellipse at 50% 105%, #2449a3, transparent 67%), #081229; }
.hero-layout { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); justify-items: center; padding-top: clamp(3.75rem, 7.6vw, 7.1rem); }
.hero-copy { position: relative; z-index: 1; width: 100%; text-align: center; }
.hero h1 { font-size: clamp(3.65rem, 2rem + 9.6vw, 10.4rem); font-weight: 790; line-height: .94; letter-spacing: -.087em; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-title { margin-top: 1rem; color: #edf4ff; font-size: clamp(1.23rem, .9rem + 1.4vw, 2.04rem); font-weight: 690; letter-spacing: -.034em; }
.hero-description, .contact-copy, .inquiry-intro p { color: #d3e1ff; max-width: 56ch; margin-top: .85rem; font-size: clamp(1rem, .93rem + .32vw, 1.17rem); }
.hero-description { margin-inline: auto; max-width: 59ch; text-wrap: pretty; }
.hero .actions { justify-content: center; }

.circuit { position: relative; isolation: isolate; width: min(100%, 66rem); height: clamp(10rem, 25vw, 21rem); background: radial-gradient(ellipse at 50% 62%, #27b9e72b, transparent 62%); }
.circuit-grid { position: absolute; inset: 0 -7%; background: linear-gradient(#70a7ff2e 1px, transparent 1px), linear-gradient(90deg, #70a7ff2e 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse, #000 20%, transparent 72%); }
.circuit-art { position: absolute; inset: 0; }
.circuit-ring { position: absolute; inset: 11% 20%; transform: rotate(-8deg); border-radius: 50%; border: 1px solid #83baff48; }
.inner-ring { inset: 20% 26%; transform: rotate(10deg); border-style: dashed; }
.circuit-line { position: absolute; border: solid #5dd7fe; filter: drop-shadow(0 0 6px #28baff80); opacity: .78; }
.circuit-a { inset: 28% 50% 48% 9%; border-width: 1px 1px 0 0; border-radius: 0 2rem 0 0; }
.circuit-b { inset: 50% 10% 28% 50%; border-width: 0 0 1px 1px; border-radius: 0 0 0 2rem; }
.circuit-c { inset: 20% 17% 50% 50%; border-width: 1px 0 0 1px; border-radius: 2rem 0 0 0; }
.circuit-d { inset: 50% 50% 20% 16%; border-width: 0 1px 1px 0; border-radius: 0 0 2rem 0; }
.circuit-junction { position: absolute; width: .7rem; aspect-ratio: 1; border: 1px solid #b8f5ff; border-radius: 50%; background: #53dcff; box-shadow: 0 0 1rem #54ccff; transform: translate(-50%, -50%); }
.junction-a { left: 9%; top: 28%; }
.junction-b { left: 90%; top: 72%; }
.junction-c { left: 83%; top: 20%; }
.junction-d { left: 16%; top: 80%; }
.circuit-core { position: absolute; left: 50%; top: 50%; display: grid; place-content: center; justify-items: center; gap: 9%; width: clamp(4.4rem, 11vw, 9.4rem); aspect-ratio: 1; transform: translate(-50%,-50%) rotate(-9deg); border: 1px solid #a8eaffad; border-radius: 25%; background: linear-gradient(145deg, #529df9, #2255ce 58%, #10265d); box-shadow: 0 1rem 3rem #03235fe0, inset 0 0 2rem #4ffaff38; }
.circuit-core span { display: block; width: clamp(1.6rem, 5vw, 3.5rem); height: clamp(.18rem, .5vw, .38rem); border-radius: 2rem; transform: skew(-19deg); background: #bdfaff; box-shadow: 0 0 .85rem #3bddfb80; }
.circuit-core span:nth-child(2) { width: 75%; opacity: .75; }
.circuit-core span:nth-child(3) { width: 48%; opacity: .6; }
.circuit-end { position: absolute; display: grid; align-content: center; gap: .5rem; width: clamp(2.75rem, 9vw, 6.7rem); height: clamp(2.7rem, 7vw, 4.7rem); padding-inline: clamp(.45rem, 1.3vw, .9rem); border-radius: .7rem; border: 1px solid #73b6ff91; background: linear-gradient(145deg, #233d78, #121f49); box-shadow: 0 .55rem 1.8rem #07132b8c; transform: translate(-50%, -50%); }
.circuit-input { top: 28%; left: 24%; }
.circuit-output { top: 72%; left: 76%; }
.circuit-end span { width: 100%; height: 2px; border-radius: 1rem; background: #6bb6ff; }
.circuit-end span:nth-child(2) { width: 75%; opacity: .75; }
.circuit-end span:nth-child(3) { width: 55%; opacity: .55; }
.circuit-output span { background: #64e4f7; }

.eyebrow { color: var(--royal); margin-bottom: .65rem; font-size: .85rem; font-weight: 800; letter-spacing: .095em; text-transform: uppercase; }
.dark .eyebrow { color: var(--cyan); }
.editorial-heading { border-top: 1px solid var(--border); padding-top: clamp(1rem, 2.6vw, 1.9rem); }
.editorial-heading h2 { max-width: 18ch; text-wrap: balance; }
.editorial-heading h2 span { display: block; color: var(--royal); }
.workflow-heading { text-align: center; }
.workflow-heading h2 { max-width: 25ch; margin-inline: auto; }
.workflow-subtitle { margin-top: .9rem; color: var(--muted); font-size: clamp(1.05rem, .9rem + .55vw, 1.35rem); font-weight: 600; }
.flow { --flow-gap: 1rem; position: relative; display: grid; gap: var(--flow-gap); padding: 0; margin: 0; list-style: none; }
.flow-step { position: relative; min-width: 0; }
.step-control { position: relative; z-index: 1; display: flex; align-items: center; gap: .72rem; width: 100%; min-height: 4.4rem; padding: .72rem .86rem; border: 1px solid var(--border); border-radius: .8rem; color: var(--ink); background: #fff; text-align: left; font-weight: 750; cursor: pointer; }
.step-control:hover { border-color: var(--royal); }
.step-number { display: grid; flex: 0 0 2.24rem; place-items: center; aspect-ratio: 1; border-radius: .53rem; background: #eaf0ff; color: var(--royal); font-size: .82rem; font-weight: 800; }
.flow.is-interactive .step-control[aria-expanded="true"] { color: #fff; background-color: #2146ca; border-color: var(--royal); }
.flow.is-interactive .step-control[aria-expanded="true"] .step-number { color: #132c80; background: #bce8ff; }
.step-detail { margin: .6rem 0 0; padding: 1.15rem; border: 1px solid #dce6ff; border-radius: .75rem; background: var(--pale); color: #34496e; }
.step-detail p { max-width: 67ch; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; left: 1.9rem; bottom: calc(-1 * var(--flow-gap)); height: var(--flow-gap); border-left: 2px solid #81a2ed; }

.team { background: linear-gradient(155deg, #f6f9ff, #edf4ff); border-block: 1px solid #e3ebf8; }
.team-grid { display: grid; gap: 1.05rem; padding: 0; margin: 0; list-style: none; }
.person { min-width: 0; overflow: hidden; border: 1px solid #dbe5f7; border-radius: 1rem; background: #fff; box-shadow: 0 .4rem 1.6rem #0c27550c; }
.portrait { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.12; background: radial-gradient(ellipse at 50% 55%, var(--portrait-accent, #d7e6ff), transparent 64%), #ecf3ff; color: #234279; }
.portrait::before, .portrait::after { content: ""; position: absolute; z-index: -1; width: 49%; aspect-ratio: 1; border: 1px solid #a5bbe485; border-radius: 50%; }
.portrait::after { width: 67%; border-style: dashed; }
.portrait span { display: grid; place-items: center; width: 36%; aspect-ratio: 1; border: 1px solid #fff; border-radius: 50%; background: #ffffff9e; box-shadow: 0 .3rem 1rem #14336514; font-size: clamp(1.45rem, 1rem + 2vw, 2.35rem); font-weight: 750; letter-spacing: -.045em; }
.portrait img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 35%; }
.portrait-two { --portrait-accent: #cfe9fa; }
.portrait-three { --portrait-accent: #dce0ff; }
.portrait-four { --portrait-accent: #cdebf3; }
.person-copy { padding: 1.15rem; }
.person-copy p { margin-top: .45rem; color: var(--muted); }
.person-copy .person-role { color: var(--royal); font-weight: 700; }
.contact-layout { display: grid; align-items: start; gap: 2rem; }
.contact .contact-layout { border-top: 1px solid #5875a4; padding-top: clamp(1.5rem, 4vw, 3.1rem); }
.contact-copy { margin-top: 1rem; }
.contact-details { display: grid; grid-template-columns: 1fr; gap: 0; padding: .45rem clamp(1rem, 3vw, 1.8rem); border: 1px solid #5276b6; border-radius: .95rem; background: linear-gradient(155deg, #1a3469, #122347); }
.contact-details > div { padding-block: .85rem; }
.contact-details > div + div { border-top: 1px solid #5b74a15e; }
.contact-details dt { color: #b2c9f0; font-size: .875rem; font-weight: 700; }
.contact-details dd { color: #fff; font-weight: 650; overflow-wrap: anywhere; }
.contact-details a { text-underline-offset: .23em; }
.contact-details a:hover { color: var(--cyan); }
.footer { background: #071127; color: #c7d8f7; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .45rem 1rem; min-height: 4.5rem; padding-block: .75rem; }
.footer strong { color: #fff; }
.footer a { color: #d9edff; text-underline-offset: .22em; }

.inquiry { min-height: calc(100vh - 9rem); padding-block: clamp(2.75rem, 7vw, 7rem); }
.inquiry-layout { display: grid; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.inquiry-intro h1 { font-size: clamp(2.55rem, 1.65rem + 3.6vw, 5.2rem); max-width: 12ch; }
.inquiry-intro p { margin-top: 1.15rem; }
.inquiry-form { min-width: 0; padding: clamp(1rem, 3.8vw, 2rem); border-radius: 1.05rem; background: #fff; color: var(--ink); box-shadow: 0 1.2rem 3rem #020a2540; }
.delivery-note { border: 1px solid #cbdafb; border-radius: .52rem; margin-bottom: 1.15rem; padding: .68rem .8rem; color: #233e74; background: #eff5ff; font-size: .9rem; }
.fields { display: grid; gap: 1rem; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: .34rem; font-weight: 720; }
.field label span, .field p { color: var(--muted); font-size: .9rem; font-weight: 400; }
.field p { margin-bottom: .55rem; }
.field input, .field textarea { display: block; width: 100%; min-height: 46px; padding: .6rem .72rem; border: 1px solid #aebdd7; border-radius: .48rem; background: #fff; color: var(--ink); }
.field textarea { min-height: 7rem; resize: vertical; }
.submit-button { margin-top: 1rem; }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-status:not(:empty) { margin-top: .9rem; border-radius: .48rem; padding: .7rem .8rem; background: #eaf8f0; color: #134d30; }
.form-status[data-state="error"] { background: #fff0ef; color: #922922; }

@media (max-width: 39.99rem) {
  .header-inner { padding-block: .25rem; }
  .menu-toggle:not([hidden]) + .navigation { flex-basis: 100%; padding-bottom: .6rem; }
  .menu-toggle[aria-expanded="false"] + .navigation { display: none; }
  .menu-toggle[aria-expanded="true"] + .navigation { display: grid; gap: .25rem; }
  .navigation > a:not(.button) { justify-items: start; padding-inline: .6rem; }
  .nav-inquiry { justify-self: start; }
  .circuit { max-width: 28rem; }
}
@media (max-width: 28rem) {
  .actions { display: grid; }
  .submit-button { width: 100%; }
}
@media (min-width: 37rem) {
  .team-grid, .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
}
@media (min-width: 40rem) {
  .menu-toggle { display: none; }
}
@media (min-width: 53rem) {
  .contact-layout { grid-template-columns: 1.25fr .8fr; gap: clamp(2rem, 6vw, 5.5rem); }
  .flow { --flow-gap: clamp(1.15rem, 3vw, 2.5rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow::before, .flow::after { content: ""; position: absolute; top: 3.35rem; left: 3%; right: 3%; height: 2px; background: #b5c8ed; transform-origin: left; }
  .flow::after { background: linear-gradient(90deg, #2854d9, #38b4ee); transform: scaleX(var(--flow-scroll, 1)); }
  .flow.is-interactive .flow-step { display: contents; }
  .flow.is-interactive .step-control { grid-row: 1; }
  .step-control { display: grid; justify-items: start; align-content: center; gap: .6rem; min-height: 6.75rem; padding: .85rem 1rem; }
  .step-number { width: 2.24rem; }
  .flow.is-interactive .step-detail { grid-row: 2; grid-column: 1 / -1; min-height: 7rem; margin: 0; padding: 1.45rem 1.65rem; border-left: 3px solid #315edf; font-size: 1.12rem; }
  .flow .flow-step::after { content: none; }
  .flow-step:not(:last-child) .step-control::after { content: ""; position: absolute; left: calc(100% + var(--flow-gap) / 2 - .25rem); top: calc(50% - .24rem); width: .48rem; height: .48rem; border: solid #537acb; border-width: 2px 2px 0 0; transform: rotate(45deg); }
  .inquiry-layout { grid-template-columns: minmax(0, .86fr) minmax(0, 1.3fr); }
}
@media (min-width: 57rem) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 70rem) {
  .team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .circuit-junction { animation: glow 2.8s ease-out 2 both; }
  .junction-c, .junction-d { animation-delay: .4s; }
  .hero-copy > * { animation: rise-in .53s ease-out both; }
  .hero-title { animation-delay: .07s; }
  .hero-description { animation-delay: .13s; }
  .hero .actions { animation-delay: .19s; }
  .reveal-ready { opacity: .55; transform: translateY(.38rem); }
  .reveal-ready:is(.is-visible, :focus-within) { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s ease; }
  .flow .step-detail:not([hidden]) { animation: rise-in .26s ease-out both; }
  .flow .step-control { transition: background-color .24s ease, border-color .24s ease, color .24s ease; }
  .flow.is-flowing .step-control[aria-expanded="true"] .step-number { animation: flow-node var(--flow-duration) ease-out both; }
  @keyframes flow-node {
    0%, 29%, 100% { box-shadow: 0 0 0 0 #26cbff00; }
    8%, 16% { box-shadow: 0 0 0 .25rem #269fe64d, 0 0 .75rem #26cbff80; }
  }
  @keyframes flow-signal {
    0%, 35% { opacity: 0; transform: translate(0, 0); }
    45%, 83% { opacity: 1; }
    95%, 100% { opacity: 0; transform: translate(var(--flow-travel-x, 0px), var(--flow-travel-y, 0px)); }
  }
  @keyframes glow { 0%, 100% { box-shadow: 0 0 .55rem #54ccff; } 45% { box-shadow: 0 0 1.2rem .22rem #54ccff9c; } }
  @keyframes rise-in { from { opacity: .45; transform: translateY(.55rem); } to { opacity: 1; transform: none; } }
}
@media (max-width: 52.99rem) and (prefers-reduced-motion: no-preference) {
  .flow.is-flowing .flow-step:not(:last-child):has(.step-control[aria-expanded="true"])::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: calc(1.9rem - .12rem);
    top: 100%;
    width: .35rem;
    height: .38rem;
    border-radius: .4rem;
    background: #24bdff;
    box-shadow: 0 0 .45rem #1b8defb3;
    pointer-events: none;
    opacity: 0;
    --flow-travel-y: calc(var(--flow-gap) - .38rem);
    animation: flow-signal var(--flow-duration) linear both;
  }
}
@media (min-width: 53rem) and (prefers-reduced-motion: no-preference) {
  .circuit-art { translate: 0 calc(var(--hero-scroll, 0) * 2.6rem); }
  .reveal-ready { opacity: .3; transform: translateY(.85rem); }
  .person:nth-child(2) { transition-delay: .06s; }
  .person:nth-child(3) { transition-delay: .12s; }
  .person:nth-child(4) { transition-delay: .18s; }
  .person:nth-child(5) { transition-delay: .24s; }
  .flow.is-flowing .flow-step:not(:last-child) .step-control[aria-expanded="true"]::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 100%;
    top: calc(50% - .15rem);
    width: .78rem;
    height: .3rem;
    border-radius: .6rem;
    background: linear-gradient(90deg, transparent, #38abff 40%, #83efff);
    box-shadow: 0 0 .45rem #1b8def80;
    pointer-events: none;
    opacity: 0;
    --flow-travel-x: calc(var(--flow-gap) - .78rem);
    animation: flow-signal var(--flow-duration) linear both;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .person.is-visible { transition-property: opacity, transform, translate, box-shadow; }
  .person:hover { translate: 0 -.25rem; box-shadow: 0 .7rem 1.7rem #0c27551c; }
}
