:root {
  color-scheme: dark;
  --bg: #0c0d10;
  --bg-soft: #111317;
  --panel: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .1);
  --line-bright: rgba(255, 255, 255, .17);
  --text: #f4f4f5;
  --muted: #9b9da5;
  --dim: #696c75;
  --red: #f21e3d;
  --red-dark: #c91430;
  --font-display: "Manrope", "DM Sans", sans-serif;
  --font-body: "DM Sans", "Manrope", sans-serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { color: white; background: var(--red-dark); }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: 120px 0; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px 16px; background: white; color: black; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 10; inset: 0 0 auto; border-bottom: 1px solid #e5e5e5; background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
.nav-shell { display: flex; min-height: 78px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; flex-direction: column; gap: 1px; }
.brand-plaque { display: block; width: 180px; padding: 4px; background: #fff; line-height: 0; }
.brand-logo { display: block; width: 100%; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu > a:not(.button) { color: #111; font-size: 12px; transition: color .2s ease; }
.nav-menu > a:not(.button):hover, .nav-menu > a:not(.button):focus-visible { color: #111; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 24px; padding: 0 21px; border: 1px solid transparent; font-size: 12px; font-weight: 700; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .7; transform: none; }
.button-red { background: var(--red); color: white; }
.button-red:hover { background: #d71935; }
.button-small { min-height: 38px; gap: 12px; padding: 0 15px; font-size: 10px; }
.button-outline { border-color: var(--line-bright); color: white; }
.button-outline:hover { border-color: var(--red); }
.menu-toggle { display: none; }

.hero { position: relative; display: flex; min-height: 760px; align-items: center; overflow: hidden; padding: 138px 0 90px; isolation: isolate; background: radial-gradient(ellipse at 74% 44%, rgba(119,28,43,.12), transparent 40%), linear-gradient(110deg, #0c0d10 46%, #101014 100%); }
.hero::before { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 74px 74px; content: ""; mask-image: linear-gradient(90deg, transparent, black 68%); }
.hero-content { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; color: #d1d1d5; font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.eyebrow-line { display: block; width: 22px; height: 1px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
.hero h1 { max-width: 700px; margin-bottom: 19px; font-size: clamp(42px, 5.3vw, 70px); line-height: 1.09; letter-spacing: -.065em; font-weight: 600; }
.hero h1 span, h2 span { color: var(--red); }
.hero-description { max-width: 485px; margin-bottom: 30px; color: #a6a6ad; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 27px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; color: #e4e4e7; font-size: 12px; font-weight: 600; }
.text-link span { color: var(--red); }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 61px; color: #9b9da5; font-size: 10px; line-height: 1.6; }
.proof-mark { color: #fff; font: 600 35px/.9 var(--font-display); letter-spacing: -.08em; }
.proof-mark span { color: var(--red); }
.hero-orbit { position: absolute; z-index: 0; width: min(57vw, 770px); aspect-ratio: 1; top: 51%; right: max(-60px, calc((100vw - 1380px)/2)); transform: translateY(-50%); opacity: .8; }
.route-map { width: 100%; height: 100%; overflow: visible; }
.route-map circle:not(.map-node), .route-map ellipse { stroke: rgba(217,222,230,.12); stroke-width: .8; }
.route-map path { stroke: rgba(237,239,244,.17); stroke-width: .8; stroke-dasharray: 4 8; }
.route-map path:last-of-type { stroke: rgba(242,30,61,.38); stroke-dasharray: none; }
.map-node { fill: var(--red); }
.map-node-main { filter: drop-shadow(0 0 9px rgba(242,30,61,.9)); }
.orbit-label { position: absolute; color: #858791; font-size: 8px; letter-spacing: .2em; }
.orbit-label-top { top: 21%; right: 4%; }
.orbit-label-bottom { bottom: 17%; left: 12%; }
.orbit-scan { position: absolute; inset: 0; background: linear-gradient(125deg, transparent 35%, rgba(242,30,61,.04) 50%, transparent 65%); animation: scan 7s ease-in-out infinite alternate; }
.hero-index { position: absolute; right: 36px; bottom: 35px; color: white; font: 600 11px var(--font-display); }
.hero-index span { color: #72747c; }
.scroll-hint { position: absolute; bottom: 34px; left: max(24px, calc((100vw - var(--container))/2)); display: flex; align-items: center; gap: 10px; color: #797b84; font-size: 8px; letter-spacing: .18em; }
.scroll-hint span { width: 20px; height: 1px; background: var(--red); }
@keyframes scan { from { opacity: .25; transform: translateX(-8%); } to { opacity: .9; transform: translateX(8%); } }

.story { background: #101115; }
.story-layout { display: grid; grid-template-columns: .85fr 1fr; gap: 15%; }
.section-intro h2, .services-heading h2, .global-copy h2, .contact-heading h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 48px); line-height: 1.15; letter-spacing: -.055em; font-weight: 600; }
.muted-copy { color: var(--muted); font-size: 13px; line-height: 1.85; }
.section-intro .muted-copy { max-width: 370px; margin-bottom: 28px; }
.timeline { position: relative; padding-top: 5px; }
.timeline::before { position: absolute; top: 18px; bottom: 25px; left: 112px; width: 1px; background: linear-gradient(var(--red), rgba(255,255,255,.1) 76%); content: ""; }
.timeline-item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 44px; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { padding-top: 4px; color: #84868e; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.timeline-marker { position: absolute; top: 3px; left: 107px; width: 11px; height: 11px; border: 1px solid #6c6d75; border-radius: 50%; background: #101115; }
.timeline-marker-active { border-color: var(--red); background: var(--red); box-shadow: 0 0 14px rgba(242,30,61,.4); }
.timeline-item h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.timeline-item p { max-width: 400px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }

.services { position: relative; overflow: hidden; }
.services::after { position: absolute; top: 2%; right: -200px; width: 450px; height: 450px; border: 1px solid rgba(255,255,255,.035); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.012), 0 0 0 140px rgba(255,255,255,.009); content: ""; pointer-events: none; }
.services-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 43px; }
.services-heading h2 { max-width: 560px; margin-bottom: 0; }
.services-heading > .muted-copy { max-width: 325px; margin-bottom: 4px; }
.service-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { display: flex; min-height: 345px; flex-direction: column; padding: 23px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.014)); backdrop-filter: blur(12px); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(242,30,61,.4); background: linear-gradient(145deg, rgba(242,30,61,.08), rgba(255,255,255,.02)); }
.service-card-featured { border-color: rgba(242,30,61,.32); background: linear-gradient(145deg, rgba(242,30,61,.08), rgba(255,255,255,.022)); }
.card-topline { display: flex; align-items: center; justify-content: space-between; color: #858790; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.card-icon { color: var(--red); font-size: 15px; }
.service-icon { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; margin: 40px 0 20px; border: 1px solid rgba(242,30,61,.22); background: rgba(242,30,61,.06); }
.service-icon svg { width: 29px; fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.service-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.service-card p { margin: 0 0 23px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.service-card > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: #d5d5da; font-size: 10px; }
.service-card > a span { color: var(--red); font-size: 15px; }
.scope-note { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 10px; margin: 21px 0 0; color: #898b93; font-size: 10px; line-height: 1.7; }
.scope-note > span { display: inline-flex; width: 15px; height: 15px; flex: 0 0 15px; align-items: center; justify-content: center; border: 1px solid #5b5d65; border-radius: 50%; font-size: 9px; }

.global { padding-top: 30px; }
.global-panel { display: grid; min-height: 430px; grid-template-columns: 1.1fr .9fr; align-items: center; border: 1px solid var(--line); background: linear-gradient(120deg, #111318, #131216 70%, #171115); }
.global-visual { position: relative; min-height: 390px; overflow: hidden; }
.global-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 35px 35px; mask-image: radial-gradient(ellipse, black, transparent 75%); }
.global-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.continent { fill: rgba(202,205,213,.075); stroke: rgba(202,205,213,.13); stroke-width: 1; }
.global-route { stroke: rgba(242,30,61,.65); stroke-width: 1; stroke-dasharray: 4 6; }
.global-route-secondary { stroke: rgba(255,255,255,.22); }
.global-point { fill: var(--red); }
.global-point-dim { fill: #c5c6cb; }
.global-pulse { fill: none; stroke: rgba(242,30,61,.4); stroke-width: 1; animation: pulse 2.8s ease-out infinite; }
.visual-coord { position: absolute; bottom: 24px; left: 26px; color: #777a83; font-size: 8px; letter-spacing: .13em; }
@keyframes pulse { 0% { opacity: .9; transform: scale(.6); transform-origin: 153px 190px; } 100% { opacity: 0; transform: scale(1.7); transform-origin: 153px 190px; } }
.global-copy { padding: 50px 48px 50px 0; }
.global-copy h2 { font-size: clamp(32px, 3.5vw, 43px); }
.global-copy .muted-copy { max-width: 390px; margin-bottom: 26px; }

.contact { background: #101115; }
.contact-heading { max-width: 700px; margin-bottom: 55px; }
.contact-heading h2 { max-width: 650px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 13%; }
.contact-details > .muted-copy { max-width: 365px; margin-bottom: 28px; }
.contact-phone, .contact-email, .contact-address { display: flex; align-items: center; gap: 14px; margin-top: 20px; color: #e5e5e8; font-size: 12px; }
.contact-phone { font-size: 15px; }
.contact-email:hover { color: white; }
.contact-detail-icon { display: inline-flex; width: 33px; height: 33px; flex: 0 0 33px; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--red); }
.contact-details small { display: block; margin-bottom: 4px; color: #858790; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.contact-form { padding: 27px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.contact-form label { display: block; margin-bottom: 18px; color: #d4d4d8; font-size: 10px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 9px; padding: 13px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 0; outline: none; background: rgba(0,0,0,.2); color: white; font-size: 11px; resize: vertical; transition: border-color .2s ease; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #696b73; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(242,30,61,.7); }
.form-footer { display: flex; align-items: center; gap: 15px; }
.form-privacy { max-width: 175px; color: #7d7f87; font-size: 8px; line-height: 1.55; }
.form-status { min-height: 18px; margin: 13px 0 0; color: #f3b3bd; font-size: 10px; line-height: 1.6; }
.demo-notice { margin: 6px 0 0; color: #74767e; font-size: 9px; line-height: 1.5; }

.site-footer { padding: 48px 0 19px; border-top: 1px solid #e5e5e5; background: #fff; color: #111; }
.footer-main { display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: start; gap: 30px; padding-bottom: 41px; }
.footer-brand-block { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-brand { width: 180px; }
.footer-tagline { margin: 0; color: #333; font-size: 11px; line-height: 1.7; }
.footer-company > span { color: #555; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.footer-company p { margin: 9px 0 0; color: #222; font-size: 10px; }
.back-top { display: flex; align-items: center; gap: 10px; color: #333; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.back-top span, .footer-bottom b { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 17px; border-top: 1px solid #e5e5e5; color: #555; font-size: 8px; }
:focus-visible { outline: 2px solid #ff7184; outline-offset: 4px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-menu { gap: 17px; }
  .nav-menu > a:not(.button) { font-size: 11px; }
  .hero { min-height: 690px; }
  .hero-orbit { right: -140px; width: 670px; opacity: .52; }
  .story-layout { gap: 8%; }
  .service-card { padding: 19px; }
  .global-copy { padding-right: 28px; }
  .contact-layout { gap: 7%; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 72px; }
  .container { width: min(var(--container), calc(100% - 36px)); }
  .section-pad { padding: 82px 0; }
  .nav-shell { min-height: 68px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid #ccc; background: transparent; }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: #111; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-menu { position: absolute; top: 67px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 18px 20px; border-bottom: 1px solid #e5e5e5; background: rgba(255,255,255,.98); }
  .nav-menu.is-open { display: flex; flex-direction: column; }
  .nav-menu > a:not(.button) { padding: 13px 2px; border-bottom: 1px solid #e5e5e5; font-size: 13px; }
  .nav-menu .nav-cta { margin-top: 14px; }
  .hero { min-height: 720px; align-items: flex-start; padding-top: 145px; }
  .hero::before { background-size: 48px 48px; }
  .hero-orbit { top: 63%; right: -210px; width: 590px; opacity: .34; }
  .hero h1 { max-width: 540px; font-size: clamp(42px, 11vw, 62px); }
  .hero-description { max-width: 410px; font-size: 13px; }
  .hero-proof { margin-top: 45px; }
  .scroll-hint { bottom: 24px; left: 18px; font-size: 7px; }
  .hero-index { right: 18px; bottom: 24px; }
  .story-layout { grid-template-columns: 1fr; gap: 45px; }
  .section-intro h2, .services-heading h2, .contact-heading h2 { font-size: 37px; }
  .timeline::before { left: 97px; }
  .timeline-item { grid-template-columns: 76px 1fr; gap: 39px; }
  .timeline-marker { left: 92px; }
  .services-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .service-icon { margin-top: 28px; }
  .global { padding-top: 0; }
  .global-panel { grid-template-columns: 1fr; }
  .global-visual { min-height: 270px; }
  .global-copy { padding: 0 25px 31px; }
  .global-copy h2 { font-size: 36px; }
  .contact-heading { margin-bottom: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px 16px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
