@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color tokens */
  --navy: #0A1424;
  --slate: #1A2638;
  --slate-2: #22304A;
  --cyan: #2089B0;
  --cyan-dim: #144D65;
  --orange: #F25A1E;
  --orange-dim: #C9481A;
  --grey: #E5E7EB;
  --grey-mid: #8A96AC;
  --grey-dim: #4A5670;
  --white: #FFFFFF;

  /* Grid */
  --max-w: 1440px;
  --gutter: 24px;
  --margin: 64px;
  --section-y: 96px;
  --block: 48px;

  /* Type sizing */
  --h1: clamp(48px, 6vw, 88px);
  --h2: clamp(36px, 4vw, 56px);
  --h3: clamp(24px, 2.2vw, 32px);
  --h4: 20px;
  --body: 17px;
  --body-sm: 15px;
  --tag: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 500ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--navy);
  color: var(--grey);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: var(--body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.h1, h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: var(--h1);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
}
.h2, h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: var(--h2);
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.005em;
}
.h3, h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: var(--h3);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
}
.h4, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: var(--h4);
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
}

p { color: var(--grey); font-size: var(--body); line-height: 1.6; }
p.lead { font-size: 19px; line-height: 1.55; color: #D6DAE3; font-weight: 300; }

/* Mono tag — the signature device */
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: var(--tag);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.mono-dim { color: var(--grey-dim); }
.mono-orange { color: var(--orange); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--margin);
}
@media (max-width: 1023px) { .container { padding: 0 32px; } }
@media (max-width: 767px)  { .container { padding: 0 20px; } }

section { padding: var(--section-y) 0; position: relative; }
@media (max-width: 767px) { section { padding: 64px 0; } }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: var(--block);
  flex-wrap: wrap;
}
.section-head .title-wrap { max-width: 720px; }
.section-head p.lead { max-width: 480px; }

/* ============================================================
   BUTTONS · BTN-01
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 32px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dim);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -12px rgba(242,90,30,0.6);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--cyan);
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-ghost {
  background: transparent;
  color: var(--grey);
  padding: 0;
  height: auto;
}
.btn-ghost:hover { color: var(--orange); }
.btn .arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 14px; border-radius: 22px; }

/* ============================================================
   NAV · N-01
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 88px;
  z-index: 100;
  transition: all var(--dur) var(--ease);
  background: transparent;
}
.nav.scrolled {
  background: rgba(10, 20, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(32, 137, 176, 0.15);
}
.nav-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--cyan);
  color: var(--white);
}
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-logo-text span {
  display: block;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.22em;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--dur) var(--ease);
  position: relative;
  padding: 8px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--orange);
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--cyan);
}
.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 1023px) {
  .nav-inner { padding: 0 32px; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 767px) {
  .nav-inner { padding: 0 20px; }
  .nav { height: 72px; }
  .nav-logo-text { font-size: 14px; }
  .nav-logo-mark { width: 34px; height: 34px; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 200;
  padding: 100px 32px 32px;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-menu li:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a {
  display: block;
  padding: 20px 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--white);
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

/* ============================================================
   CARDS · CARD-01
   ============================================================ */
.card {
  background: var(--slate);
  border: 1px solid rgba(32, 137, 176, 0.35);
  padding: 0;
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}
.card:hover .card-img > * {
  transform: scale(1.05);
}
.card:hover .card-arrow { transform: translateX(4px); color: var(--orange); }
.card-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--navy);
  overflow: hidden;
  border-bottom: 1px solid rgba(32,137,176,0.2);
}
.card-img > * {
  width: 100%; height: 100%;
  transition: transform 700ms var(--ease);
}
.card-img-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(10, 20, 36, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  border: 1px solid rgba(32,137,176,0.4);
}
.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
}
.card-desc {
  color: var(--grey-mid);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px dashed rgba(32,137,176,0.25);
  margin-top: 8px;
}
.card-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}
.card-arrow {
  color: var(--cyan);
  transition: all var(--dur) var(--ease);
}

/* Electric card variant */
.card-electric {
  background: linear-gradient(180deg, #142338 0%, #0F1B2E 100%);
  border-color: rgba(32,137,176,0.5);
  position: relative;
}
.card-electric::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  z-index: 2;
}
.card-electric .card-title { color: var(--white); }

/* ============================================================
   FORMS · N-04 (Underline-only)
   ============================================================ */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(229, 231, 235, 0.2);
  color: var(--white);
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  height: 52px;
  outline: none;
  transition: border-color var(--dur) var(--ease);
  width: 100%;
}
.field textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--orange);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--grey-dim);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060D1A;
  border-top: 1px solid rgba(32, 137, 176, 0.15);
  padding: 96px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--dur) var(--ease);
  letter-spacing: 0.04em;
}
.footer ul a:hover { color: var(--orange); }
.footer-brand p {
  font-size: 14px;
  color: var(--grey-mid);
  max-width: 320px;
  margin-top: 16px;
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-dim);
}
.footer-bottom a:hover { color: var(--cyan); }

/* ============================================================
   PAGE ID CORNER TAG
   ============================================================ */
.page-id {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 90;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--grey-dim);
  background: rgba(10,20,36,0.7);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border: 1px solid rgba(32,137,176,0.15);
  pointer-events: none;
}
@media (max-width: 767px) { .page-id { display: none; } }

/* ============================================================
   IMAGE SLOT STYLING OVERRIDES
   ============================================================ */
image-slot {
  --slot-bg: #142338;
  --slot-border: rgba(32,137,176,0.2);
  --slot-fg: var(--grey-mid);
}

/* ============================================================
   BLUEPRINT GRID DECORATION
   ============================================================ */
.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32,137,176,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,137,176,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

/* ============================================================
   UTILS
   ============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32,137,176,0.3), transparent);
  margin: 0;
}
.spec-list {
  list-style: none;
  padding: 0;
}
.spec-list li {
  padding: 16px 0;
  border-bottom: 1px dashed rgba(32,137,176,0.2);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--grey);
}
.spec-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  margin-top: 10px;
  flex-shrink: 0;
}

/* Fade-in on scroll */
.reveal {  transform: translateY(20px); transition: all 800ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--slate);
  border: 1px solid rgba(32,137,176,0.4);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media only screen and (max-width: 749px) 
{
.footer-linking {grid-template-columns: repeat(1,1fr) !important;}
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

