:root {
  color-scheme: dark;
  --ink: #050611;
  --ink-soft: #0a0b1a;
  --panel: #101226;
  --line: #252849;
  --text: #f5f6ff;
  --muted: #b0b4ce;
  --magenta: #ff0ab6;
  --violet: #853cff;
  --cyan: #38edf2;
  --wrap: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px;
  background: var(--cyan); color: var(--ink); transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; z-index: 50; inset: 0 0 auto; height: 76px; padding: 0 max(20px, calc((100vw - 1160px) / 2));
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(5, 6, 17, .92); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #dfe1f3; text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--cyan); }
.site-nav .nav-cta { padding: 9px 14px; border: 1px solid rgba(56, 237, 242, .55); color: var(--cyan); }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; color: white; }
.menu-button span[aria-hidden] { display: block; width: 22px; height: 2px; margin: 5px 0; background: currentColor; }

.hero { --hero-shift: 0px; position: relative; min-height: 92vh; display: grid; align-items: end; overflow: clip; isolation: isolate; background: #060612; }
.hero-backdrop { position: absolute; z-index: -2; inset: -5%; width: 110%; height: 110%; max-width: none; object-fit: cover; object-position: center 64%; filter: saturate(1.18) contrast(1.06) brightness(1.08); transform: translate3d(0, var(--hero-shift), 0) scale(1.03); will-change: transform; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 67% 46%, rgba(133,60,255,.08), transparent 34%), linear-gradient(90deg, rgba(5,6,17,.91) 0%, rgba(5,6,17,.64) 39%, rgba(5,6,17,.08) 76%), linear-gradient(0deg, var(--ink) 0%, rgba(5,6,17,.08) 30%, rgba(5,6,17,.12) 100%); }
.hero-content { position: relative; z-index: 1; padding: 160px 0 116px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--cyan); font: 700 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(64px, 8vw, 116px); line-height: .88; letter-spacing: 0; text-shadow: 0 4px 0 rgba(34,13,60,.7), 0 18px 34px rgba(0,0,0,.72); }
.hero-copy { max-width: 600px; margin: 32px 0 0; color: #e2e3f1; font-size: clamp(24px, 2.7vw, 38px); line-height: 1.15; font-weight: 550; text-shadow: 0 8px 24px rgba(0,0,0,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 18px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-weight: 800; cursor: pointer; }
.button-primary { background: var(--magenta); color: #150010; }
.button-primary:hover, .button-primary:focus-visible { background: #ff4bca; }
.button-quiet { border-color: #626686; background: rgba(5,6,17,.55); }
.button-quiet:hover, .button-quiet:focus-visible { border-color: var(--cyan); color: var(--cyan); }
.hero-scroll { position: absolute; z-index: 2; right: max(20px, calc((100vw - 1160px) / 2)); bottom: 34px; display: flex; gap: 14px; align-items: center; color: var(--muted); text-decoration: none; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }

.section { padding: 112px 0; scroll-margin-top: 72px; }
.section-heading { max-width: 740px; }
.section h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.03; letter-spacing: 0; }
.section-heading > p:last-child { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 18px; }
.services { position: relative; background: var(--ink); }
.services::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 24%, rgba(56,237,242,.07), transparent 28%); }
.services .wrap { position: relative; }
.service-list { margin-top: 68px; border-top: 1px solid var(--line); }
.service { min-height: 184px; display: grid; grid-template-columns: 72px 1fr 100px; gap: 28px; align-items: center; border-bottom: 1px solid var(--line); }
.service-number { align-self: start; margin: 36px 0 0; color: var(--cyan); font: 700 12px ui-monospace, monospace; }
.service h3 { margin: 0 0 12px; font-size: 26px; }
.service div p { max-width: 650px; margin: 0; color: var(--muted); }
.service-mark { justify-self: end; color: #777b9d; font: 500 34px ui-monospace, monospace; }

.technologies { position: relative; overflow: clip; border-top: 1px solid var(--line); background: linear-gradient(145deg, #0b0c1b 0%, #101127 56%, #07131d 100%); }
.technologies::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 86% 12%, rgba(56,237,242,.08), transparent 28%), radial-gradient(circle at 12% 92%, rgba(255,10,182,.06), transparent 30%); }
.technology-layout { position: relative; }
.technology-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 58px; }
.technology-item { min-width: 0; height: 104px; display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid #303454; border-radius: 4px; background: rgba(7,8,22,.68); box-shadow: inset 0 1px rgba(255,255,255,.035), 0 16px 34px rgba(0,0,0,.16); transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.technology-item:hover { transform: translateY(-2px); border-color: #555a85; background: rgba(15,17,39,.86); }
.technology-item img { flex: 0 0 42px; width: 42px; height: 42px; object-fit: contain; }
.technology-item div { min-width: 0; display: grid; gap: 2px; }
.technology-item strong { overflow-wrap: anywhere; color: var(--text); font-size: 15px; line-height: 1.25; }
.technology-item div span { color: #8e93b0; font-size: 11px; line-height: 1.35; }
.technology-wordmark { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(56,237,242,.58); border-radius: 50%; color: var(--cyan); font: 800 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; box-shadow: inset 0 0 18px rgba(56,237,242,.08); }
.technology-note { max-width: 760px; margin: 22px 0 0; color: #6f7492; font-size: 11px; line-height: 1.5; }

.custom-solutions { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(135deg, #11132a 0%, #090a19 52%, #15091f 100%); }
.custom-solutions::after { content: ""; position: absolute; width: 44%; height: 1px; right: -5%; bottom: 18%; background: linear-gradient(90deg, transparent, var(--magenta), transparent); transform: rotate(-18deg); opacity: .6; }
.custom-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .72fr 1.28fr; gap: 9vw; align-items: center; }
.custom-signature { position: relative; min-height: 360px; display: grid; place-items: center; border: 1px solid #34375f; background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(5,6,17,.42)); box-shadow: 0 34px 80px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.05); }
.custom-signature::before { content: ""; position: absolute; inset: 9%; border: 1px solid rgba(133,60,255,.42); transform: rotate(45deg); }
.custom-signature img { position: relative; width: min(74%, 290px); filter: drop-shadow(0 18px 28px rgba(0,0,0,.4)); }
.custom-signature p { position: absolute; inset: auto 20px 18px; margin: 0; color: var(--cyan); text-align: center; font: 700 11px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .12em; }
.custom-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.custom-points { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.custom-points li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); color: #dfe1f2; }
.custom-points span { color: var(--magenta); font: 700 11px ui-monospace, monospace; }

.process { background: linear-gradient(180deg, #080918, #0c0d20); }
.process-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; }
.process-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-steps li > span { color: var(--magenta); font: 700 12px ui-monospace, monospace; }
.process-steps h3 { margin: -7px 0 6px; font-size: 24px; }
.process-steps p { margin: 0; color: var(--muted); }

.about { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--ink-soft) 0%, #111126 70%, #0a1220 100%); }
.about::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 15% 55%, rgba(133,60,255,.11), transparent 31%); }
.about .wrap { position: relative; z-index: 1; }
.about-layout { display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; gap: 9vw; align-items: center; }
.about-mark { position: relative; }
.about-mark::before { content: ""; position: absolute; inset: 14%; border: 1px solid #48317d; transform: rotate(45deg); }
.about-mark img { position: relative; filter: drop-shadow(0 0 30px rgba(133, 60, 255, .25)); }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.about-copy p:nth-last-child(2) { margin-top: 30px; color: var(--text); font-size: 22px; }

.clients { background: linear-gradient(180deg, #0d0f20, #080915); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.clients-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: end; }
.clients-copy > p:first-child { color: var(--muted); font-size: 18px; }
.client-logos { width: min(100%, 900px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 56px auto 0; }
.client-logo { min-width: 0; height: 112px; display: flex; align-items: center; justify-content: center; padding: 24px; border: 1px solid #303454; overflow: hidden; background: linear-gradient(145deg, #15172c, #0b0c19); box-shadow: 0 14px 30px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.035); }
.client-logo img { display: block; width: auto; height: auto; max-width: 130px; max-height: 52px; object-fit: contain; margin: auto; }
.client-logo-alienware { flex-direction: column; gap: 7px; }
.client-logo-alienware img { width: 30px; height: 42px; margin: 0; filter: invert(1); mix-blend-mode: screen; }
.client-logo-alienware span { color: #f5f6ff; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .14em; }
.trademark-note { max-width: 850px; margin: 22px 0 0; color: #767b98; font-size: 11px; line-height: 1.5; }

.contact { background: radial-gradient(circle at 82% 78%, rgba(255,10,182,.09), transparent 29%), var(--ink); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; }
.contact-intro > p:last-child { color: var(--muted); font-size: 18px; }
.project-form { display: grid; gap: 22px; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row > label { min-width: 0; }
label { display: grid; gap: 8px; color: #e3e4f2; font-size: 13px; font-weight: 700; }
label span { color: var(--muted); font-weight: 400; }
input, textarea, select { width: 100%; border: 1px solid #343756; border-radius: 3px; background: #0e1021; color: var(--text); padding: 13px 14px; outline: none; }
textarea { resize: vertical; min-height: 132px; }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(56,237,242,.16); }
.project-form .button { justify-self: start; border: 0; }
.project-form .button:disabled { cursor: wait; opacity: .68; }
.form-status { min-height: 24px; margin: -8px 0 0; color: var(--cyan); font-size: 14px; }
.form-status.error { color: #ff8fca; }
.form-privacy { max-width: 580px; margin: -12px 0 0; color: #7d819e; font-size: 11px; line-height: 1.5; }

.site-footer { position: relative; overflow: clip; padding: 42px 0; border-top: 1px solid var(--line); background: #03040b; }
.footer-layout { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.footer-layout p { margin: 0; color: var(--muted); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (min-width: 1200px) {
  .hero-content { transform: translateX(-56px); }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .section { padding: 96px 0; }
  .hero h1 { font-size: 88px; }
  .hero-copy { max-width: 540px; font-size: 32px; }
  .client-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-logo:nth-last-child(-n + 2) { transform: translateX(50%); }
}

@media (max-width: 860px) {
  :root { --wrap: min(100% - 32px, 620px); }
  .site-header { height: 68px; padding-inline: 16px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; inset: 68px 0 auto; display: none; padding: 20px; background: rgba(5,6,17,.98); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 10px; }
  .hero { min-height: 88svh; }
  .hero-backdrop { inset: -7%; width: 114%; height: 114%; object-position: 43% center; filter: saturate(1.22) contrast(1.08) brightness(1.1); }
  .hero-shade { background: radial-gradient(circle at 68% 43%, rgba(133,60,255,.1), transparent 36%), linear-gradient(90deg, rgba(5,6,17,.88) 0%, rgba(5,6,17,.48) 68%, rgba(5,6,17,.18) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(5,6,17,.16) 35%, rgba(5,6,17,.08) 100%); }
  .hero-content { padding: 128px 0 94px; }
  .hero h1 { font-size: clamp(58px, 19vw, 86px); }
  .hero-copy { max-width: 520px; font-size: clamp(24px, 6.5vw, 30px); }
  .hero-scroll { display: none; }
  .section { padding: 80px 0; }
  .service { grid-template-columns: 44px 1fr; padding: 26px 0; }
  .service-number { margin-top: 7px; }
  .service-mark { display: none; }
  .technology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 42px; }
  .technology-item { height: 96px; padding: 16px; }
  .process-layout, .about-layout, .clients-layout, .contact-layout, .custom-layout { grid-template-columns: 1fr; gap: 54px; }
  .custom-signature { min-height: 310px; }
  .about-mark { width: min(72vw, 370px); margin-inline: auto; }
  .form-row { grid-template-columns: 1fr; }
  .client-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo { height: 100px; padding: 20px; }
  .client-logo:last-child { grid-column: 1 / -1; }
  .footer-layout { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 430px) {
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .section h2 { font-size: 38px; }
  .service { grid-template-columns: 32px 1fr; gap: 14px; }
  .service h3 { font-size: 22px; }
  .technology-item { gap: 12px; padding: 14px; }
  .technology-item img, .technology-wordmark { flex-basis: 36px; width: 36px; height: 36px; }
  .technology-item strong { font-size: 14px; }
  .client-logos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .client-logo { height: 92px; padding: 16px; }
  .client-logo img { max-width: 112px; max-height: 46px; }
}

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