:root {
  color-scheme: light;
  --navy: #0b1f35;
  --navy-deep: #071a2d;
  --orange: #ff6a13;
  --graphite: #444b55;
  --line: #c9d3dd;
  --shell: 1300px;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--navy); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.shell { width: min(calc(100% - 8.5rem), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: -4rem; left: 1rem; padding: .8rem 1rem; background: #fff; color: var(--navy); box-shadow: 0 3px 20px #0003; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.site-header { position: relative; z-index: 5; background: #fff; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 220px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3rem); font-size: .94rem; }
.primary-nav > a:not(.button) { text-decoration: none; transition: color .2s ease; }
.primary-nav > a:not(.button):hover { color: var(--orange); }
.button { display: inline-flex; min-height: 48px; min-width: 130px; align-items: center; justify-content: center; padding: .8rem 1.65rem; border-radius: 5px; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-navy { background: var(--navy); color: #fff; }
.button-navy:hover { background: #183a59; box-shadow: 0 5px 16px #0b1f3529; }
.nav-contact { min-width: 124px; min-height: 40px; border-radius: 25px; padding: .6rem 1.45rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.text-link:hover { color: var(--orange); }
.text-link span { font-size: 1.35em; line-height: .8; }

.hero { overflow: hidden; background: #edf1f4; }
.hero-inner { position: relative; display: flex; align-items: center; min-height: 560px; }
.hero-art { position: absolute; z-index: 0; top: 0; right: 0; width: 78%; height: 100%; max-width: none; object-fit: cover; object-position: center 58%; mask-image: linear-gradient(90deg, transparent, #000 20%); }
.hero-copy { position: relative; z-index: 1; width: min(48%, 525px); padding-block: 4rem; }
.hero h1 { max-width: 525px; margin: 0 0 1.25rem; font-size: clamp(3rem, 4vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -.048em; }
h1 span, h2 span { color: var(--orange); }
.hero p { max-width: 560px; margin: 0; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.52; color: #263e55; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 1.65rem; }

.services-section { padding-block: 4.2rem 4.35rem; }
.section-intro { margin-bottom: 1.25rem; }
.section-intro h2, .accountability h2, .process h2, .about h2, .contact-banner h2 { margin: 0; font-weight: 700; letter-spacing: -.04em; }
.section-intro h2 { font-size: clamp(2.4rem, 3.5vw, 3.75rem); line-height: 1.08; }
.section-intro p { margin: .3rem 0 0; font-size: clamp(1.08rem, 1.4vw, 1.35rem); line-height: 1.4; color: #2d4761; }
.services-experience { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(270px, .82fr); min-height: 380px; border-radius: 5px; overflow: hidden; background: #f1f4f6; box-shadow: 0 15px 50px #0b1f3510; }
.service-diagram { position: relative; min-height: 380px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #12314f 0%, #0b233b 45%, #071a2d 100%); }
.service-diagram::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(#6b91ab21 1px, transparent 1px), linear-gradient(90deg, #6b91ab21 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.service-diagram::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px #0007; }
.routes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.routes-mobile { display: none; }
.routes path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.route-base { stroke: #a9d9f0a8; stroke-width: 2; filter: drop-shadow(0 0 4px #c1e6ff80); }
.route-active { opacity: 0; stroke: var(--orange); stroke-width: 3.5; filter: drop-shadow(0 0 7px var(--orange)); transition: opacity .22s ease; }
.route-pulse { opacity: 0; stroke: #ffd29e; stroke-width: 4; stroke-dasharray: 12 88; stroke-dashoffset: 100; filter: drop-shadow(0 0 8px var(--orange)); }
.service-diagram[data-active="managed"] [data-route="managed"],
.service-diagram[data-active="networks"] [data-route="networks"],
.service-diagram[data-active="systems"] [data-route="systems"],
.service-diagram[data-active="projects"] [data-route="projects"] { opacity: 1; }
.route-pulse.is-routing { animation: route-energy .7s ease-out 1; }
@keyframes route-energy { 0% { opacity: 0; stroke-dashoffset: 100; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }
.arch-center { position: absolute; z-index: 3; left: 43%; top: 38%; width: 14%; height: 24%; display: grid; place-items: center; padding: 1.1%; background: linear-gradient(145deg, #fff, #e7edf1); border: 1px solid #ffffffde; border-radius: 6px; box-shadow: 0 0 0 1px #b9d4e480, 0 6px 28px #0009; transition: box-shadow .25s ease; }
.arch-center img { width: 100%; height: auto; transition: filter .25s ease; }
.service-diagram[data-active] .arch-center { box-shadow: 0 0 0 2px #ffae75, 0 6px 28px #0009, 0 0 18px #ff6a13, 0 0 52px #ff6a13cc; }
.service-diagram[data-active] .arch-center img { filter: drop-shadow(0 0 8px #ff6a13a6); }
.service-module { position: absolute; z-index: 4; display: flex; align-items: center; gap: clamp(.5rem, 1vw, 1rem); width: 32%; height: 34%; padding: clamp(.65rem, 1.5vw, 1.15rem); border: 1px solid #9fc1d78c; border-radius: 6px; background: linear-gradient(130deg, #08233cdd, #082036c9); color: #fff; text-align: left; cursor: pointer; box-shadow: inset 0 1px #ffffff13, 0 6px 20px #0004; transition: border-color .22s ease, box-shadow .22s ease, color .22s ease, background-color .22s ease; }
.module-managed, .module-networks { top: 8%; }
.module-systems, .module-projects { top: 58%; }
.module-managed, .module-systems { left: 5%; }
.module-networks, .module-projects { right: 5%; }
.service-module:hover { border-color: #e2eefa; }
.service-module.is-active { border: 2px solid var(--orange); color: var(--orange); box-shadow: inset 0 0 24px #ff6a1317, 0 0 0 1px #ff6a138c, 0 0 20px #ff6a13b3; }
.module-icon { flex: none; width: clamp(32px, 4vw, 54px); height: clamp(32px, 4vw, 54px); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.module-label { font-size: clamp(.86rem, 1.25vw, 1.13rem); line-height: 1.26; font-weight: 600; }
.service-info { display: flex; align-items: center; padding: clamp(1.5rem, 3vw, 3.15rem); background: linear-gradient(125deg, #f7f9fb, #e9eff4); }
.service-info-body { width: 100%; }
.service-info-body.is-changing { animation: panel-in .26s ease-out 1; }
@keyframes panel-in { from { opacity: .65; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.service-info h3 { min-height: 2.2em; display: flex; align-items: end; margin: 0 0 1.1rem; font-size: clamp(1.6rem, 2vw, 2.2rem); line-height: 1.14; letter-spacing: -.035em; }
.service-info p { min-height: 8.4em; margin: 0; font-size: 1.03rem; line-height: 1.55; color: #304b64; }
.orange-rule { display: block; width: 48px; height: 2px; margin: 1.25rem 0 1.65rem; background: var(--orange); }

.accountability { padding-block: 5rem; background: radial-gradient(circle at 45% 50%, #10314f, var(--navy-deep) 68%); color: #fff; }
.accountability-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(4rem, 10vw, 9.5rem); align-items: center; }
.accountability h2 { max-width: 640px; font-size: clamp(2.9rem, 4vw, 4.1rem); line-height: 1.09; }
.accountability-grid > div:first-child > p { max-width: 560px; margin: 1.4rem 0 0; color: #e1e9f1; font-size: 1.16rem; line-height: 1.56; }
.accountability-item { display: grid; grid-template-columns: 44px 1fr; gap: 1.55rem; align-items: start; padding: 1.2rem 0; border-bottom: 1px solid #b6cad956; }
.accountability-item:first-child { padding-top: 0; }
.accountability-item:last-child { padding-bottom: 0; border-bottom: 0; }
.accountability-item svg { width: 40px; height: 40px; fill: none; stroke: #f1f7fc; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.accountability-item h3 { margin: 0 0 .25rem; font-size: 1.18rem; font-weight: 600; }
.accountability-item p { margin: 0; color: #dbe6ef; font-size: .96rem; line-height: 1.43; }

.process { padding-block: 4.15rem 4.35rem; background: linear-gradient(#f9fbfc, #f1f5f8); }
.process h2 { margin-bottom: 1.8rem; font-size: clamp(2.5rem, 3.55vw, 3.7rem); line-height: 1.1; }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-step { min-height: 155px; padding-inline: clamp(1.3rem, 2.6vw, 3rem); border-left: 1px solid var(--line); }
.process-step:first-child { padding-left: 0; border-left: 0; }
.process-step:last-child { padding-right: 0; }
.step-number { display: block; margin-bottom: .25rem; color: var(--orange); font-size: 1.35rem; }
.process-step h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.process-step p { margin: 0; color: #334e66; font-size: .98rem; line-height: 1.46; }

.about { padding-block: 4.2rem; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); gap: clamp(3rem, 5vw, 5rem); align-items: center; }
.about-grid > img { width: 100%; height: 300px; object-fit: cover; object-position: center; border-radius: 5px; }
.about h2 { max-width: 570px; font-size: clamp(2.2rem, 3.1vw, 3.25rem); line-height: 1.11; }
.about p { max-width: 570px; margin: 1.15rem 0 0; color: #304b64; font-size: 1.13rem; line-height: 1.55; }

.contact-banner { background: var(--navy-deep); color: #fff; }
.contact-banner-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.contact-banner h2 { font-size: clamp(2.1rem, 3vw, 3.1rem); line-height: 1.1; }
.button-white { min-width: 150px; background: #fff; color: var(--navy); }
.button-white:hover { background: #e9f0f5; }
.site-footer { background: #fff; }
.footer-inner { min-height: 130px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.footer-brand img { width: 205px; }
.footer-inner p { margin: 0; color: #486078; font-size: .8rem; text-align: center; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .6rem 1.35rem; color: #486078; font-size: .85rem; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--orange); text-decoration: underline; }

.contact-page { min-height: calc(100vh - 212px); background: linear-gradient(125deg, #f5f8fa, #e9eff4); }
.contact-page-inner { width: min(calc(100% - 8.5rem), 920px); padding-block: 3.8rem 5.5rem; }
.contact-card { padding: clamp(1.65rem, 4vw, 3rem); border: 1px solid #d3dee7; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px #0b1f3510; }
.contact-intro h1 { margin: 0; font-size: clamp(2.6rem, 4.2vw, 3.55rem); font-weight: 700; letter-spacing: -.048em; line-height: 1.06; }
.contact-intro p { max-width: 720px; margin: 1rem 0 1.8rem; color: #344f67; font-size: 1.05rem; line-height: 1.55; }
.contact-required-note { margin: 0 0 1rem; color: #486078; font-size: .9rem; }
.contact-required-note span, .contact-field label > span:not(.optional-label) { color: var(--orange); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem 1.25rem; }
.contact-field { display: flex; min-width: 0; flex-direction: column; gap: .45rem; }
.contact-field-full { grid-column: 1 / -1; }
.contact-field label { color: var(--navy); font-size: .94rem; font-weight: 650; }
.optional-label { color: #60758a; font-size: .86rem; font-weight: 400; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-height: 44px; padding: .68rem .8rem; border: 1px solid #bfcfdf; border-radius: 5px; background: #fff; color: var(--navy); font: inherit; font-size: 1rem; line-height: 1.35; }
.contact-field select { cursor: pointer; }
.contact-field textarea { min-height: 150px; resize: vertical; }
.contact-field textarea::placeholder { color: #647b90; opacity: 1; }
.contact-field input:hover, .contact-field select:hover, .contact-field textarea:hover { border-color: #8da6ba; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { border-color: var(--orange); }
.contact-safety { margin: 1rem 0 1.35rem; color: #486078; font-size: .88rem; line-height: 1.5; }
.contact-consents { display: grid; gap: 1rem; margin: 0 0 1.35rem; }
.contact-consent { display: grid; grid-template-columns: 19px minmax(0, 1fr); align-items: start; gap: .65rem; color: var(--navy); font-size: .9rem; line-height: 1.5; cursor: pointer; }
.contact-consent input { width: 18px; height: 18px; margin: .13rem 0 0; accent-color: var(--orange); cursor: pointer; }
.contact-consent a { color: #064f93; text-decoration: underline; text-underline-offset: 2px; }
.contact-consent a:hover { color: var(--orange); }
.contact-consent strong { font-weight: 700; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-submit { display: block; width: 100%; min-height: 52px; padding: .85rem 1.5rem; border: 0; border-radius: 5px; background: var(--navy); color: #fff; cursor: pointer; font-size: 1rem; font-weight: 700; transition: background-color .2s ease, box-shadow .2s ease; }
.contact-submit:hover { background: #183a59; box-shadow: 0 5px 16px #0b1f3529; }
.contact-submit:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
.contact-status { margin: 0 0 .8rem; color: #486078; font-size: .9rem; line-height: 1.45; }

.legal-page { min-height: calc(100vh - 212px); padding-block: 3rem 5rem; background: linear-gradient(125deg, #f5f8fa, #e9eff4); }
.legal-page-inner { max-width: 940px; }
.legal-back { display: inline-block; margin-bottom: 1.25rem; color: #305779; font-size: .95rem; }
.legal-back:hover { color: var(--orange); }
.legal-card { padding: clamp(1.65rem, 4vw, 3rem); border: 1px solid #d3dee7; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px #0b1f3510; }
.legal-card h1 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.35rem); letter-spacing: -.045em; line-height: 1.08; }
.legal-card h2 { margin: 2rem 0 .55rem; font-size: 1.35rem; line-height: 1.25; }
.legal-card p { margin: .85rem 0 0; color: #304b64; font-size: 1rem; line-height: 1.62; }
.legal-card .legal-date { margin: .55rem 0 1.5rem; color: #5b7184; font-size: .9rem; }
.legal-card a { color: #064f93; text-underline-offset: 2px; }
.legal-card a:hover { color: var(--orange); }

@media (max-width: 1050px) {
  .shell { width: min(calc(100% - 4rem), var(--shell)); }
  .hero-inner { min-height: 500px; }
  .hero-copy { width: min(51%, 490px); }
  .hero h1 { font-size: clamp(2.9rem, 5vw, 3.8rem); }
  .services-experience { grid-template-columns: minmax(0, 1.82fr) minmax(245px, .85fr); }
  .service-diagram { min-height: 350px; }
  .service-module { gap: .45rem; padding: .55rem; }
  .module-icon { width: 34px; height: 34px; }
  .module-label { font-size: .88rem; }
  .service-info { padding: 1.35rem; }
  .service-info p { font-size: .93rem; }
  .accountability-grid { gap: 4rem; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 2.25rem), var(--shell)); }
  .header-inner { min-height: 74px; flex-wrap: wrap; gap: .5rem; padding-block: .8rem; }
  .brand img { width: 185px; }
  .primary-nav { flex-wrap: wrap; justify-content: flex-start; gap: .75rem 1.1rem; width: 100%; font-size: .9rem; }
  .nav-contact { min-width: 92px; min-height: 34px; margin-left: auto; padding: .45rem 1rem; }
  .hero-inner { display: block; min-height: 0; padding-top: 3.25rem; }
  .hero-copy { width: 100%; padding: 0; }
  .hero h1 { max-width: 650px; font-size: clamp(2.9rem, 8.2vw, 4.5rem); }
  .hero p { max-width: 580px; font-size: 1.05rem; }
  .hero-art { position: relative; width: calc(100% + 2.25rem); height: clamp(265px, 60vw, 420px); margin: 1.5rem -1.125rem 0; object-fit: cover; object-position: 75% 58%; mask-image: none; }
  .services-section { padding-block: 3rem; }
  .services-experience { display: block; }
  .service-diagram { min-height: 510px; }
  .routes-desktop { display: none; }
  .routes-mobile { display: block; }
  .arch-center { left: 40%; top: 4%; width: 20%; height: 18%; padding: 1.5%; }
  .service-module { width: 45%; height: 19%; padding: .7rem; }
  .module-managed, .module-networks { top: 39%; }
  .module-systems, .module-projects { top: 76%; }
  .module-managed, .module-systems { left: 3%; }
  .module-networks, .module-projects { right: 3%; }
  .module-icon { width: 36px; height: 36px; }
  .module-label { font-size: 1rem; }
  .service-info { min-height: 240px; padding: 1.7rem; }
  .service-info h3, .service-info p { min-height: 0; }
  .service-info h3 { margin-bottom: .75rem; }
  .orange-rule { margin: 1rem 0 1.25rem; }
  .accountability { padding-block: 3.5rem; }
  .accountability-grid, .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .accountability h2 { max-width: 650px; }
  .process { padding-block: 3.3rem; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 0; }
  .process-step:nth-child(3) { padding-left: 0; border-left: 0; }
  .process-step { min-height: 0; }
  .about { padding-block: 3rem; }
  .about-grid > img { height: clamp(220px, 50vw, 350px); }
  .contact-banner-inner { min-height: 170px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: 2rem; }
  .footer-inner p { text-align: right; }
  .footer-legal { grid-column: 1 / -1; justify-content: flex-start; }
  .contact-page-inner { width: min(calc(100% - 2.25rem), 920px); padding-block: 2.5rem 3.5rem; }
  .legal-page { padding-block: 2.5rem 3.5rem; }
}

@media (max-width: 620px) {
  .contact-fields { grid-template-columns: 1fr; }
  .contact-field-full { grid-column: auto; }
}

@media (max-width: 480px) {
  .primary-nav { gap: .65rem .9rem; }
  .primary-nav > a:not(.button) { font-size: .83rem; }
  .nav-contact { min-width: 82px; }
  .hero-inner { padding-top: 2.6rem; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.2rem); }
  .hero-actions { gap: 1rem; flex-wrap: wrap; }
  .hero-actions .button { min-width: 120px; }
  .section-intro h2, .process h2 { font-size: 2.45rem; }
  .service-diagram { min-height: 490px; }
  .service-module { flex-direction: column; align-items: flex-start; justify-content: center; gap: .3rem; padding: .7rem .8rem; }
  .module-icon { width: 32px; height: 32px; }
  .module-label { font-size: .91rem; }
  .accountability h2 { font-size: 2.8rem; }
  .accountability-grid > div:first-child > p { font-size: 1.05rem; }
  .accountability-item { grid-template-columns: 36px 1fr; gap: 1rem; }
  .accountability-item svg { width: 32px; height: 32px; }
  .process-steps { grid-template-columns: 1fr; gap: 1.15rem; }
  .process-step, .process-step:nth-child(3) { padding: 0 0 1.1rem; border: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { padding-bottom: 0; border-bottom: 0; }
  .about h2 { font-size: 2.35rem; }
  .contact-banner-inner { min-height: 0; align-items: flex-start; flex-direction: column; padding-block: 2.1rem; gap: 1.3rem; }
  .contact-banner h2 { font-size: 2.2rem; }
  .footer-inner { display: flex; flex-direction: column; align-items: flex-start; }
  .footer-inner p { text-align: left; }
  .footer-legal { gap: 1.25rem; }
  .contact-page-inner { padding-block: 1.75rem 2.5rem; }
  .contact-card { padding: 1.4rem 1.1rem; }
  .legal-card { padding: 1.4rem 1.1rem; }
  .contact-intro h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .contact-intro p { font-size: 1rem; }
}

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