/* Exclusive STK: site styles */
:root {
  --navy-950: #050b26;
  --navy-900: #0a1440;
  --navy-800: #111f5c;
  --navy-700: #1a2d7a;
  --blue-600: #1557e6;
  --blue-500: #2f7bff;
  --blue-400: #5b9bff;
  --blue-200: #bcd4ff;
  --blue-100: #e8f0ff;
  --ink: #0d1530;
  --ink-soft: #4f5a7c;
  --line: #e1e7f3;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --danger: #d33a4a;
  --radius: 20px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Archivo", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 125%; line-height: 1.08; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--blue-500); color: #fff; }
:focus-visible { outline: 2.5px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--navy-900); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-stretch: 112%; font-weight: 600;
  font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section { padding: clamp(88px, 11vw, 140px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-top: 18px; }
.section-head p { color: var(--ink-soft); font-size: 18px; max-width: 420px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-family: inherit;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .2s, border-color .2s, box-shadow .25s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 12px 32px -12px rgba(47,123,255,.75), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--blue-600); box-shadow: 0 16px 36px -12px rgba(47,123,255,.9), inset 0 1px 0 rgba(255,255,255,.2); }
  .btn-ghost:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
  .btn:hover svg { transform: translateX(3px); }
}

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 22px 0; transition: background-color .3s, box-shadow .3s, padding .3s var(--ease); }
.header.scrolled { background: rgba(5,11,38,.86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); padding: 12px 0; box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand-mark { height: 50px; width: auto; flex: none; transition: height .3s var(--ease); }
.brand-name { height: 17px; width: auto; }
.header.scrolled .brand-mark { height: 42px; }
.footer-logo img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-link { position: relative; color: rgba(255,255,255,.72); font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.nav .btn { padding: 12px 22px; margin-left: 12px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; position: relative; z-index: 60; }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(800px 560px at 78% 42%, rgba(47,123,255,.30), transparent 62%),
    radial-gradient(640px 480px at 0% 100%, rgba(26,45,122,.75), transparent 70%),
    var(--navy-950);
  padding: 150px 0 110px; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
}
#network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; z-index: -1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  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: 64px 64px; mask-image: radial-gradient(ellipse at 60% 50%, #000 25%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000 25%, transparent 72%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--navy-700), var(--blue-500) 60%, var(--blue-400)); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--blue-400); }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 900; margin-top: 26px; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; background: linear-gradient(95deg, #8fbaff, var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 26px; font-size: clamp(17px, 1.5vw, 19.5px); color: rgba(255,255,255,.7); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hub { width: 100%; max-width: 560px; justify-self: end; overflow: visible; }
.hub .ring { fill: none; stroke: rgba(91,155,255,.28); stroke-width: 1.2; stroke-dasharray: 3 9; transform-origin: 240px 240px; animation: spin 80s linear infinite; }
.hub .ring-2 { fill: none; stroke: rgba(91,155,255,.12); stroke-width: 1; }
.hub .link { stroke: rgba(91,155,255,.35); stroke-width: 1.4; }
.hub .pulse { stroke: #8fbaff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 120; animation: flow 2.4s linear infinite; }
.hub .pulse:nth-of-type(2) { animation-delay: -.5s; } .hub .pulse:nth-of-type(3) { animation-delay: -1s; }
.hub .pulse:nth-of-type(4) { animation-delay: -1.5s; } .hub .pulse:nth-of-type(5) { animation-delay: -2s; }
.hub .core { fill: url(#coreFill); stroke: rgba(143,186,255,.45); stroke-width: 1.2; }
.hub .glow { fill: url(#coreGlow); }
.hub .node circle { fill: rgba(17,31,92,.85); stroke: rgba(91,155,255,.5); stroke-width: 1.4; transition: fill .25s, stroke .25s; }
.hub .node .ic { color: #a9c8ff; transition: color .25s; }
.hub .node text { fill: rgba(255,255,255,.78); font: 700 13px var(--body); letter-spacing: .06em; text-transform: uppercase; transition: fill .25s; }
.hub .node:hover circle, .hub .node:focus-visible circle { fill: var(--blue-500); stroke: #8fbaff; }
.hub .node:hover .ic, .hub .node:focus-visible .ic { color: #fff; }
.hub .node:hover text { fill: #fff; }
.hub .node:focus-visible { outline: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { from { stroke-dashoffset: 122; } to { stroke-dashoffset: 0; } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: rgba(255,255,255,.7); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service {
  grid-column: span 2; position: relative; display: flex; flex-direction: column;
  padding: 34px 32px 30px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; overflow: hidden;
}
.service:nth-child(4), .service:nth-child(5) { grid-column: span 3; }
.service::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--blue-500));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.service-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-600); transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.service-icon svg { width: 30px; height: 30px; }
.service-num { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 14px; color: var(--blue-200); letter-spacing: .04em; }
.service h3 { font-size: 21px; font-weight: 800; }
.service p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; flex: 1; }
.service-link {
  align-self: flex-start; margin-top: 26px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--blue-600); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
}
.service-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
@media (hover: hover) {
  .service:hover { transform: translateY(-6px); box-shadow: 0 32px 64px -32px rgba(17,31,92,.38); border-color: transparent; }
  .service:hover::after { transform: scaleX(1); }
  .service:hover .service-icon { background: var(--blue-500); color: #fff; transform: rotate(-4deg) scale(1.04); }
  .service-link:hover svg { transform: translateX(4px); }
}

/* CTA band */
.cta-band { padding: 0 0 clamp(88px, 11vw, 140px); }
.cta-inner {
  border-radius: 28px; padding: clamp(40px, 6vw, 72px); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(115deg, var(--navy-950) 0%, var(--navy-800) 50%, var(--blue-600) 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-inner::after { content: ""; position: absolute; right: -80px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; border: 56px solid rgba(255,255,255,.05); z-index: -1; }
.cta-inner h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
.cta-inner p { margin-top: 12px; color: rgba(255,255,255,.72); font-size: 18px; }
.cta-inner .btn { background: #fff; color: var(--navy-900); }
@media (hover: hover) { .cta-inner .btn:hover { background: var(--blue-100); } }

/* Contact */
.contact { background: var(--bg-soft); }
.contact .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact .section-head { display: block; margin-bottom: 40px; }
.contact .section-head p { margin-top: 16px; }
.contact-info { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-info li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.contact-info .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); display: grid; place-items: center; color: var(--blue-600); flex: none; }
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-soft); font-weight: 700; }
.contact-info a, .contact-info span { font-weight: 700; font-size: 16.5px; }
.contact-info a:hover { color: var(--blue-600); }

form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; box-shadow: 0 40px 80px -50px rgba(17,31,92,.35); }
.form-title { grid-column: 1 / -1; font-size: 22px; font-weight: 800; }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 700; }
label .opt { color: var(--ink-soft); font-weight: 500; }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); width: 100%;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5a7c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
textarea { min-height: 150px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa3bd; }
input:hover, select:hover, textarea:hover { border-color: #c9d3e8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47,123,255,.14); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); background: #fff; }
.error { display: none; font-size: 13px; font-weight: 600; color: var(--danger); }
.field.invalid .error { display: block; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-status { font-size: 14.5px; font-weight: 600; }
.form-status.ok { color: #0c7a4a; }
.form-status.warn { color: var(--danger); }
.field.flash select { animation: flash 1s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,123,255,0); } 30% { box-shadow: 0 0 0 6px rgba(47,123,255,.25); border-color: var(--blue-500); } }

/* Footer */
.footer { background: var(--navy-950); color: rgba(255,255,255,.62); padding: 72px 0 30px; font-size: 15px; position: relative; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--navy-700), var(--blue-500) 60%, var(--blue-400)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer p.about { margin-top: 22px; max-width: 340px; }
.footer h4 { color: #fff; font-size: 12.5px; font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.to-top:hover { color: #fff; }
.to-top svg { width: 16px; height: 16px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-in > * { animation: rise .9s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; } .hero-in > *:nth-child(3) { animation-delay: .16s; } .hero-in > *:nth-child(4) { animation-delay: .24s; }
.hub { animation: fade 1.2s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes fade { from { opacity: 0; transform: scale(.96); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hub .pulse { display: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hub { justify-self: center; max-width: 460px; }
  .contact .wrap { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service, .service:nth-child(4) { grid-column: span 1; }
  .service:nth-child(5) { grid-column: span 2; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; background: rgba(5,11,38,.98); flex-direction: column; justify-content: center; gap: 10px;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav-link { font-size: 24px; font-family: var(--display); font-stretch: 112%; color: #fff; }
  .nav .btn { margin: 16px 0 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 120px 0 80px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hub { max-width: 340px; }
  .services-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(4), .service:nth-child(5) { grid-column: auto; }
  form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .brand-mark { height: 34px; }
  .brand-name { height: 13px; }
  .cta-inner .btn { width: 100%; }
}

/* Honeypot field: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-info li[hidden] { display: none; }
.btn[disabled] { opacity: .65; cursor: progress; }


/* Shown only to logged-in admins */
.admin-pill { position: fixed; right: 16px; bottom: 16px; z-index: 80; padding: 10px 16px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.15); }
.admin-pill.warn { background: #b45309; }

/* Developer credit bar under the footer */
.trademark-bar { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 14px 16px; display: flex; justify-content: center; }
.trademark-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); transition: opacity .2s; }
a.trademark-link[href]:hover { opacity: .75; }
.trademark-logo { height: 22px; width: auto; }
.trademark-name { font-weight: 700; color: var(--ink); }
.trademark-bar[hidden], .trademark-logo[hidden], .trademark-name[hidden] { display: none; }
