:root {
  --bg: #07111f;
  --bg-deep: #040b14;
  --surface: #0b1b33;
  --surface-2: #102641;
  --line: rgba(158, 184, 217, 0.16);
  --line-strong: rgba(158, 184, 217, 0.3);
  --text: #f7f9fc;
  --muted: #9eb0c7;
  --red: #ed3b42;
  --red-dark: #b91f2b;
  --white: #fff;
  --max: 1240px;
  --font: "Inter", sans-serif;
  --display: "Manrope", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -.035em;
  line-height: 1.08;
}
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--bg);
  background: var(--white);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, backdrop-filter .25s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(7, 17, 31, .88);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 20px/1 var(--display); letter-spacing: -.02em; }
.brand-mark {
  position: relative;
  display: inline-grid;
  width: 31px; height: 31px;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid rgba(255, 255, 255, .65);
}
.brand-mark i { position: absolute; display: block; width: 11px; height: 2px; background: var(--red); }
.brand-mark i:first-child { transform: rotate(90deg); }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  color: #c9d4e1;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.main-nav a:hover { color: var(--white); }
.main-nav .nav-cta {
  padding: 10px 17px;
  color: var(--white);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
}
.main-nav .nav-cta:hover { border-color: rgba(255,255,255,.55); background: rgba(255, 255, 255, .08); }
.nav-toggle { display: none; border: 0; color: var(--white); background: none; }

.flash-stack { position: fixed; z-index: 90; right: 22px; top: 94px; width: min(390px, calc(100% - 44px)); }
.flash { padding: 14px 17px; border: 1px solid var(--line-strong); background: #102641; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.flash-success { border-left: 3px solid #48c58c; }
.flash-error { border-left: 3px solid var(--red); }

.hero {
  position: relative;
  min-height: 830px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}
.hero-grid, .case-grid {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-glow-one {
  width: 780px; height: 780px;
  right: -230px; top: -260px;
  opacity: .17;
  background: radial-gradient(circle, #17477e 0, transparent 68%);
}
.hero-glow-two {
  width: 520px; height: 520px;
  left: 14%; bottom: -380px;
  opacity: .13;
  background: radial-gradient(circle, var(--red) 0, transparent 68%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(480px, .98fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
  min-height: 830px;
  padding-top: 88px;
}
.hero-copy { padding-block: 80px 60px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  color: #c7d2df;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow > span { display: inline-block; width: 28px; height: 2px; background: var(--red); }
.hero h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(46px, 5.25vw, 76px);
  font-weight: 700;
}
.hero-lead { max-width: 640px; margin-bottom: 36px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s;
}
.button svg { width: 19px; }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 14px 35px rgba(237,59,66,.18); }
.button-primary:hover { background: #fa4b51; box-shadow: 0 18px 45px rgba(237,59,66,.28); }
.button-secondary { color: #eef3f9; border-color: var(--line-strong); background: rgba(255,255,255,.035); }
.button-secondary:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.075); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #7f94ad; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

.system-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(9, 24, 43, .82);
  box-shadow: 0 40px 100px rgba(0,0,0,.38);
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
}
.system-visual::after { position: absolute; inset: 0; pointer-events: none; content: ""; box-shadow: inset 0 0 80px rgba(39,91,144,.11); }
.system-topline, .system-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 19px;
  color: #8fa5bd;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.system-live { display: flex; align-items: center; gap: 8px; color: #b9c7d6; }
.system-live i { width: 6px; height: 6px; border-radius: 50%; background: #46d58d; box-shadow: 0 0 13px #46d58d; }
.system-canvas { position: relative; height: 430px; background: radial-gradient(circle at center, rgba(33, 83, 134, .14), transparent 56%); }
.system-canvas::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .38;
  background-image: radial-gradient(rgba(158,184,217,.25) .7px, transparent .7px);
  background-size: 17px 17px;
}
.system-lines { position: absolute; inset: 5px 0 0; width: 100%; height: 100%; overflow: visible; }
.system-route { fill: none; stroke: rgba(121,164,206,.3); stroke-width: 1.2; }
.route-particle { fill: var(--red); stroke: none; filter: drop-shadow(0 0 6px var(--red)); }
.system-core {
  position: absolute;
  z-index: 4;
  left: 50%; top: 50%;
  display: flex;
  width: 116px; height: 116px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.35);
  background: #102a49;
  box-shadow: 0 0 50px rgba(21,77,132,.5), inset 0 0 35px rgba(255,255,255,.03);
}
.system-core strong { font: 800 36px/1 var(--display); letter-spacing: -.08em; }
.system-core small { margin-top: 7px; color: #98aac0; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.core-orbit { position: absolute; inset: -17px; border: 1px solid rgba(96,146,195,.24); transform: rotate(45deg); animation: orbit 8s linear infinite; }
.core-orbit::before, .core-orbit::after { position: absolute; width: 5px; height: 5px; content: ""; background: var(--red); box-shadow: 0 0 12px var(--red); }
.core-orbit::before { left: -3px; top: -3px; }
.core-orbit::after { right: -3px; bottom: -3px; }
@keyframes orbit { to { transform: rotate(405deg); } }
.system-node {
  position: absolute;
  z-index: 3;
  display: flex;
  width: 104px; min-height: 68px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  background: rgba(10,28,50,.94);
}
.system-node i { color: #fff; font: normal 700 13px/1 var(--display); letter-spacing: .04em; }
.system-node span { margin-top: 7px; color: #8095ad; font-size: 9px; text-transform: uppercase; }
.node-api { left: 8%; top: 9%; }
.node-crm { right: 8%; top: 9%; }
.node-web { left: 8%; bottom: 9%; }
.node-data { right: 8%; bottom: 9%; }
.system-footer { justify-content: flex-start; gap: 20px; border-top: 1px solid var(--line); border-bottom: 0; }
.system-footer span { display: flex; align-items: center; gap: 7px; }
.system-footer i { width: 5px; height: 5px; border-radius: 50%; background: #46d58d; }

.trust-strip { border-bottom: 1px solid var(--line); background: #091728; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { display: flex; min-height: 105px; align-items: center; gap: 18px; padding: 20px 34px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { color: var(--red); font-size: 11px; letter-spacing: .1em; }
.trust-grid span { max-width: 270px; color: #b2c0d0; font-size: 13px; line-height: 1.45; }

.section { padding-block: 128px; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; margin-bottom: 62px; }
.section-heading h2, .process-header h2, .contact-copy h2, .about-sticky h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(37px, 4.2vw, 58px);
}
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); font-size: 15px; }
.services-section { background: #091728; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.service-card {
  position: relative;
  min-height: 330px;
  padding: 42px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  transition: background .25s;
}
.service-card:hover { background: rgba(33,70,109,.16); }
.service-card::after { position: absolute; right: -70px; bottom: -90px; width: 210px; height: 210px; content: ""; opacity: 0; background: radial-gradient(circle, rgba(237,59,66,.16), transparent 68%); transition: opacity .3s; }
.service-card:hover::after { opacity: 1; }
.service-icon { display: grid; width: 48px; height: 48px; margin-bottom: 36px; place-items: center; color: #d5e0eb; border: 1px solid var(--line-strong); background: #0d2037; }
.service-icon svg { width: 23px; height: 23px; }
.card-index { position: absolute; right: 35px; top: 36px; color: #587089; font: 600 11px/1 var(--font); letter-spacing: .12em; }
.service-card h3 { max-width: 390px; margin-bottom: 14px; font-size: 25px; }
.service-card p { max-width: 480px; margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.service-card > a { position: relative; z-index: 2; display: inline-flex; gap: 9px; color: #dfe8f1; font-size: 13px; font-weight: 600; }
.service-card > a span { color: var(--red); transition: transform .2s; }
.service-card > a:hover span { transform: translateX(4px); }

.about-section { background: var(--bg); }
.about-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 12vw; align-items: start; }
.about-sticky { position: sticky; top: 130px; }
.about-sticky h2 { margin-bottom: 28px; }
.about-sticky > p:not(.eyebrow) { max-width: 500px; color: var(--muted); }
.text-link { display: inline-flex; gap: 10px; margin-top: 18px; padding-bottom: 4px; border-bottom: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; }
.text-link span { color: var(--red); }
.approach-list { border-top: 1px solid var(--line); }
.approach-item { padding: 48px 0 50px; border-bottom: 1px solid var(--line); }
.approach-item > span { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.approach-item h3 { max-width: 610px; margin: 18px 0 16px; font-size: clamp(24px, 2.3vw, 32px); }
.approach-item p { max-width: 590px; margin: 0; color: var(--muted); font-size: 14px; }

.qualification-section { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg-deep); }
.qualification-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}
.qualification-layout { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(65px, 9vw, 130px); align-items: center; }
.qualification-portrait { max-width: 430px; }
.qualification-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line-strong); background: #112a48; }
.qualification-photo::after { position: absolute; inset: 0; content: ""; box-shadow: inset 0 -90px 100px rgba(4,11,20,.35); pointer-events: none; }
.qualification-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.qualification-photo-code { position: absolute; z-index: 2; left: 20px; bottom: 18px; padding: 7px 10px; color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(7,17,31,.72); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.qualification-source { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.qualification-source span { display: inline-flex; align-items: center; gap: 8px; color: #8fa4bb; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.qualification-source i { width: 6px; height: 6px; border-radius: 50%; background: #46d58d; box-shadow: 0 0 10px rgba(70,213,141,.7); }
.qualification-source strong { color: #c8d4df; font-size: 11px; font-weight: 600; }
.qualification-content h2 { max-width: 760px; margin-bottom: 27px; font-size: clamp(38px,4.2vw,58px); }
.qualification-person { display: flex; align-items: center; gap: 18px; margin-bottom: 35px; color: #aabacc; }
.qualification-person strong { color: #fff; font-family: var(--display); font-size: 16px; }
.qualification-person span { padding-left: 18px; border-left: 1px solid var(--line-strong); font-size: 12px; }
.qualification-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 22px; border-block: 1px solid var(--line); }
.qualification-stats > div { display: flex; min-height: 105px; align-items: center; gap: 16px; border-right: 1px solid var(--line); }
.qualification-stats > div:last-child { padding-left: 28px; border-right: 0; }
.qualification-stats strong { color: #fff; font: 700 42px/1 var(--display); letter-spacing: -.05em; }
.qualification-stats span { max-width: 100px; color: #8499b1; font-size: 10px; font-weight: 600; line-height: 1.4; text-transform: uppercase; }
.credential-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.credential-list article { min-height: 160px; padding: 24px; border: 1px solid var(--line); background: rgba(18,46,76,.32); }
.credential-type { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.credential-list h3 { margin: 18px 0 8px; font-size: 19px; line-height: 1.28; }
.credential-list p { margin: 0; color: #7f94ab; font-size: 11px; }
.qualification-courses { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.qualification-courses span { padding: 7px 10px; color: #92a6bb; border: 1px solid var(--line); font-size: 9px; letter-spacing: .04em; }
.qualification-link span { color: var(--red); }

.projects-section { border-block: 1px solid var(--line); background: #091728; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 35px; }
.project-filters button {
  min-height: 40px;
  padding: 8px 16px;
  color: #9eb0c7;
  border: 1px solid var(--line);
  cursor: pointer;
  background: transparent;
  font-size: 12px;
  transition: .2s;
}
.project-filters button:hover, .project-filters button.is-active { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.06); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 54px 28px; }
.project-card.is-hidden { display: none; }
.project-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); background: #0b1b30; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-media img { transform: scale(1.025); }
.project-placeholder { position: relative; width: 100%; height: 100%; overflow: hidden; background: linear-gradient(135deg, #102c4c, #091629 66%); }
.project-placeholder::before { position: absolute; inset: 0; content: ""; 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: 36px 36px; }
.project-placeholder > span { position: absolute; left: 8%; top: 12%; color: rgba(255,255,255,.2); font: 700 clamp(50px,8vw,100px)/1 var(--display); }
.project-placeholder > div { position: absolute; right: 12%; bottom: 15%; display: grid; width: 42%; height: 50%; grid-template-columns: 1fr 1fr; gap: 8px; transform: skewY(-8deg); }
.project-placeholder i { display: block; border: 1px solid rgba(139,178,215,.26); background: rgba(25,68,108,.35); }
.project-placeholder i:last-child { background: rgba(237,59,66,.38); }
.project-open {
  position: absolute;
  right: 18px; bottom: 18px;
  padding: 9px 13px;
  opacity: 0;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 700;
  transform: translateY(8px);
  transition: .25s;
}
.project-card:hover .project-open { opacity: 1; transform: translateY(0); }
.project-body { padding-top: 25px; }
.project-category { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-body h3 { margin: 12px 0 12px; font-size: clamp(23px,2.5vw,32px); }
.project-body h3 a:hover { color: #cbd9e8; }
.project-body p { max-width: 570px; margin-bottom: 17px; color: var(--muted); font-size: 14px; }
.project-tech { color: #738aa4; font-size: 11px; letter-spacing: .04em; }

.process-section { background: var(--bg-deep); }
.process-header { display: grid; grid-template-columns: .4fr 1fr; margin-bottom: 70px; }
.process-header .eyebrow { align-self: start; }
.process-track { position: relative; display: grid; grid-template-columns: repeat(4,1fr); }
.process-track::before { position: absolute; left: 0; right: 0; top: 20px; height: 1px; content: ""; background: var(--line-strong); }
.process-track article { position: relative; padding: 60px 28px 0 0; }
.process-track article::before { position: absolute; left: 0; top: 15px; z-index: 2; width: 11px; height: 11px; content: ""; border: 3px solid var(--bg-deep); background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.process-track span { color: #738aa4; font-size: 10px; letter-spacing: .12em; }
.process-track h3 { margin: 16px 0 10px; font-size: 21px; }
.process-track p { max-width: 220px; color: var(--muted); font-size: 13px; }

.contact-section { position: relative; overflow: hidden; padding-block: 135px; border-top: 1px solid var(--line); background: #0b1b31; }
.contact-glow { position: absolute; left: -240px; bottom: -350px; width: 700px; height: 700px; opacity: .11; background: radial-gradient(circle, var(--red), transparent 67%); }
.contact-layout { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: 10vw; align-items: start; }
.contact-copy h2 { margin-bottom: 26px; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); }
.direct-contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 42px; }
.direct-contacts a { font: 600 17px/1.5 var(--display); border-bottom: 1px solid transparent; }
.direct-contacts a:hover { border-color: var(--line-strong); }
.direct-contacts span { color: var(--red); }
.contact-form { display: flex; flex-direction: column; gap: 22px; padding: 38px; border: 1px solid var(--line-strong); background: rgba(6,17,31,.65); box-shadow: 0 30px 70px rgba(0,0,0,.2); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
.contact-form label { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: #aebdcd; font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.form-label { display: block; min-height: 17px; color: #aebdcd; }
.form-label i { margin-left: 3px; color: var(--red); font-style: normal; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block;
  width: 100%;
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: #09182a;
  transition: border-color .2s, background-color .2s;
}
.contact-form input, .contact-form select { height: 51px; min-height: 51px; padding: 0 14px; }
.select-wrap { position: relative; display: block; color: inherit; }
.contact-form .select-wrap select {
  padding-right: 48px;
  appearance: none;
  cursor: pointer;
}
.select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  color: #9eb0c7;
  pointer-events: none;
  transform: translateY(-50%);
  transition: color .2s, transform .2s;
}
.select-wrap:focus-within .select-chevron { color: #fff; transform: translateY(-50%) rotate(180deg); }
.contact-form textarea { resize: vertical; padding: 13px 14px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #6d89a7; background: #0b1d32; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #576d85; }
.contact-form .consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: #8fa3ba; font-weight: 400; letter-spacing: 0; line-height: 1.45; }
.contact-form .consent input { width: 18px; height: 18px; min-height: 18px; margin: 1px 0 0; align-self: start; accent-color: var(--red); }
.contact-form .consent span { color: inherit; }
.consent a { color: #d3dce6; text-decoration: underline; text-underline-offset: 3px; }
.form-submit { align-self: flex-start; min-width: 220px; }
.honeypot { position: absolute; left: -9999px; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 60px; padding-block: 68px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-brand { margin-bottom: 13px; }
.footer-grid p { max-width: 360px; color: #758aa1; font-size: 13px; }
.footer-label { margin-bottom: 8px; color: #657b93; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { color: #adbdce; font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; min-height: 62px; align-items: center; justify-content: space-between; color: #5e748b; border-top: 1px solid var(--line); font-size: 11px; }

.case-hero { position: relative; overflow: hidden; padding: 180px 0 110px; border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.case-hero .container { position: relative; }
.back-link { display: inline-block; margin-bottom: 68px; color: #8fa3b9; font-size: 12px; }
.back-link:hover { color: #fff; }
.case-hero h1 { max-width: 940px; margin-bottom: 25px; font-size: clamp(48px,7vw,88px); }
.case-hero > .container > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 19px; }
.case-meta { display: flex; gap: 80px; margin-top: 58px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-meta div { display: flex; flex-direction: column; gap: 7px; }
.case-meta span { color: #617890; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-meta strong, .case-meta a { color: #c8d4df; font-size: 13px; font-weight: 500; }
.case-content { padding-block: 90px 130px; }
.case-cover { width: 100%; max-height: 700px; object-fit: cover; border: 1px solid var(--line); }
.case-cover-placeholder { display: flex; aspect-ratio: 16/7; align-items: flex-end; justify-content: space-between; padding: 55px; background: linear-gradient(135deg,#12375e,#08182c); }
.case-cover-placeholder span { color: rgba(255,255,255,.35); font-size: 12px; letter-spacing: .15em; }
.case-cover-placeholder strong { color: rgba(255,255,255,.78); font: 800 clamp(45px,8vw,120px)/.8 var(--display); letter-spacing: -.08em; }
.case-story { width: min(900px,100%); margin: 110px auto; }
.case-story section { display: grid; grid-template-columns: 160px 1fr; padding: 47px 0; border-top: 1px solid var(--line); }
.case-story section:last-child { border-bottom: 1px solid var(--line); }
.case-story section > span { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.case-story h2 { margin-bottom: 19px; font-size: 32px; }
.case-story p { grid-column: 2; margin: -2px 0 0; color: var(--muted); }
.case-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-bottom: 100px; }
.case-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }
.case-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 52px; border: 1px solid var(--line-strong); background: #0a1c31; }
.case-cta span { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-cta h2 { max-width: 650px; margin: 9px 0 0; font-size: clamp(27px,3vw,40px); }

.legal-page { min-height: 75vh; padding: 170px 0 120px; background: var(--bg-deep); }
.legal-layout { max-width: 850px; }
.legal-layout h1 { margin-bottom: 28px; font-size: clamp(42px,6vw,68px); }
.legal-layout h2 { margin: 45px 0 13px; font-size: 23px; }
.legal-layout p { color: var(--muted); }
.legal-note { padding: 20px; border-left: 3px solid var(--red); background: var(--surface); }
.legal-layout a { color: #fff; text-decoration: underline; }
.empty-state { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; min-height: auto; padding-block: 130px 80px; }
  .hero-copy { padding: 30px 0 0; }
  .system-visual { width: min(620px,100%); }
  .section-heading { gap: 40px; }
  .about-layout, .contact-layout { gap: 7vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 68px; }
  .nav-toggle { position: relative; z-index: 2; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
  .nav-toggle > span:not(.sr-only) { display: block; width: 22px; height: 1px; background: #fff; transition: .2s; }
  .nav-toggle[aria-expanded="true"] > span:first-child { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
    padding: 90px 28px 40px;
    visibility: hidden;
    opacity: 0;
    background: rgba(4,11,20,.98);
    transition: .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; }
  .main-nav a { font: 600 25px/1.2 var(--display); }
  .main-nav .nav-cta { margin-top: 15px; font-size: 16px; }
  .hero-layout { padding-block: 105px 60px; gap: 35px; }
  .hero h1 { font-size: clamp(40px, 12vw, 61px); }
  .system-canvas { height: 360px; }
  .system-node { width: 85px; min-height: 58px; }
  .system-core { width: 94px; height: 94px; }
  .system-core strong { font-size: 29px; }
  .node-api, .node-web { left: 4%; }
  .node-crm, .node-data { right: 4%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { min-height: 80px; padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .section { padding-block: 88px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .section-heading h2, .process-header h2, .contact-copy h2, .about-sticky h2 { font-size: clamp(34px, 9vw, 48px); }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 32px 25px; }
  .about-layout { grid-template-columns: 1fr; gap: 60px; }
  .about-sticky { position: static; }
  .qualification-layout { grid-template-columns: 1fr; gap: 55px; }
  .qualification-portrait { width: min(430px,100%); }
  .project-grid { gap: 44px; }
  .project-open { opacity: 1; transform: none; }
  .process-header { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 35px 16px; }
  .process-track::before { display: none; }
  .process-track article { padding-top: 36px; border-top: 1px solid var(--line); }
  .process-track article::before { top: -6px; }
  .contact-section { padding-block: 90px; }
  .contact-layout { grid-template-columns: 1fr; gap: 52px; }
  .contact-form { padding: 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .case-hero { padding: 130px 0 80px; }
  .back-link { margin-bottom: 48px; }
  .case-content { padding-block: 55px 90px; }
  .case-cover-placeholder { padding: 25px; }
  .case-story { margin: 65px auto; }
  .case-story section { grid-template-columns: 1fr; gap: 15px; }
  .case-story p { grid-column: 1; }
  .case-gallery { grid-template-columns: 1fr; }
  .case-cta { align-items: flex-start; flex-direction: column; padding: 32px 25px; }
}

@media (max-width: 480px) {
  .hero-actions .button { width: 100%; }
  .system-canvas { height: 330px; }
  .system-footer { gap: 12px; padding-inline: 12px; font-size: 8px; }
  .system-node { width: 75px; }
  .system-node span { font-size: 7px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 17px; }
  .form-submit { width: 100%; min-width: 0; }
  .qualification-person { align-items: flex-start; flex-direction: column; gap: 7px; }
  .qualification-person span { padding-left: 0; border-left: 0; }
  .qualification-stats > div { min-height: 90px; }
  .qualification-stats > div:last-child { padding-left: 17px; }
  .qualification-stats strong { font-size: 34px; }
  .credential-list { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; }
  .case-meta { flex-direction: column; gap: 20px; }
}

@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; }
}
