:root {
  --bg: #0a0a0b;
  --bg2: #000000;
  --panel: #0c0c0d;
  --line: rgba(255,255,255,0.08);
  --brd: rgba(255,255,255,0.14);
  --ac: #4fd1c5;
  --ac-rgb: 79,209,197;
  --danger: #e5484d;
  --danger-rgb: 229,72,77;
  --bright: #f5f5f7;
  --dim: #86868b;
}
* { margin:0; padding:0; box-sizing:border-box; }
html, body { overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px; font-weight: 300; background: var(--bg); color: var(--dim);
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'SF Mono', 'JetBrains Mono', Consolas, monospace; }

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 56px;
  background: rgba(10,10,11,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  position: sticky; top: 0; z-index: 100;
}
.logo {
  display: flex; align-items: center; gap: 14px;
  font-family: 'SF Mono', monospace; font-size: 12px; letter-spacing: 4px;
  color: var(--bright); font-weight: 600; text-decoration: none;
  transition: color .25s ease;
}
.logo em { color: var(--ac); font-style: normal; transition: color .25s ease; }
.logo-mark {
  position: relative; flex-shrink: 0;
  width: 72px; height: 26px; overflow: visible;
  transition: transform .35s cubic-bezier(.22,1,.36,1), filter .25s ease;
}
.logo-icon {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.4));
}
.logo-mark::after {
  content: ''; position: absolute; bottom: -2px; left: 8%; width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--ac-rgb),0.55), transparent);
  opacity: 0.6;
}
.logo:hover .logo-mark { transform: translateX(3px); filter: drop-shadow(0 0 8px rgba(var(--ac-rgb),0.5)); }
.logo:hover em { color: var(--bright); }
.nav-links { display: flex; gap: 44px; }
.nav-links a { color: rgba(255,255,255,0.72); font-size: 11px; letter-spacing: 2px; text-decoration: none; font-family: 'SF Mono', monospace; transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--bright); }
.nav-cta {
  display: inline-block; padding: 10px 24px; font-size: 10px; letter-spacing: 2px; font-family: 'SF Mono', monospace;
  border: 1px solid rgba(255,255,255,0.38); color: var(--bright); background: rgba(255,255,255,0.04); cursor: pointer;
  text-decoration: none; transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.nav-cta:hover { border-color: var(--ac); color: var(--ac); }

/* HERO */
.hero {
  position: relative; display: flex; align-items: center;
  padding: 170px 56px 130px; min-height: 86vh; overflow: hidden; background: var(--bg2);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, var(--line) 79px, var(--line) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, var(--line) 79px, var(--line) 80px);
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
  opacity: 0.6;
}
.blueprint-host { position: relative; overflow: hidden; }
.blueprint-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0.1; pointer-events: none;
}
.blueprint-host > *:not(.blueprint-bg) { position: relative; z-index: 2; }
.hero-photo-panel {
  position: absolute; z-index: 1; right: 0; bottom: 0;
  height: 100%; width: 58%;
}
.hero-photo-panel img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  filter: grayscale(0.1) contrast(1.05);
}
.hero-photo-label {
  position: absolute; bottom: 32px; right: 56px; z-index: 2;
  font-family: 'SF Mono', monospace; font-size: 9px; letter-spacing: 3px; color: var(--dim);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-tag { font-family: 'SF Mono', monospace; font-size: 11px; letter-spacing: 4px; color: var(--ac); margin-bottom: 26px; }
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 84px; line-height: 0.98; font-weight: 300;
  color: var(--bright); letter-spacing: -3px; margin-bottom: 30px;
}
.hero h1 strong { font-weight: 700; display: block; }
.hero p { font-size: 15px; color: var(--dim); line-height: 1.75; max-width: 420px; margin-bottom: 44px; font-weight: 300; }
.hero-btns { display: flex; gap: 16px; }
.btn-p { display: inline-block; padding: 15px 32px; background: var(--ac); color: #050505; font-size: 11px; letter-spacing: 2px; font-weight: 600; border: none; cursor: pointer; font-family: 'SF Mono', monospace; text-decoration: none; transition: opacity .2s ease; }
.btn-p:hover { opacity: 0.85; }
.btn-s { display: inline-block; padding: 15px 32px; background: transparent; color: var(--bright); font-size: 11px; letter-spacing: 2px; border: 1px solid var(--brd); cursor: pointer; font-family: 'SF Mono', monospace; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.btn-s:hover { border-color: var(--ac); color: var(--ac); }

/* SPECS */
.specs-band {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg2);
}
.spec-item { padding: 48px 56px; border-right: 1px solid var(--line); }
.spec-item:last-child { border-right: none; }
.spec-val { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 300; color: var(--bright); line-height: 1; margin-bottom: 8px; letter-spacing: -1px; }
.spec-unit { font-size: 16px; font-weight: 300; color: var(--ac); margin-left: 4px; }
.spec-lbl { font-family: 'SF Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--dim); }

/* SECTIONS */
.sec { padding: 120px 56px; background: var(--bg); }
.sec.dark { background: var(--bg2); }
.sec-tag { font-family: 'SF Mono', monospace; font-size: 10px; letter-spacing: 3px; color: var(--ac); margin-bottom: 18px; }
.sec-title { font-family: 'Inter', sans-serif; font-size: 42px; font-weight: 300; color: var(--bright); line-height: 1.15; margin-bottom: 56px; letter-spacing: -1px; }
.sec-title strong { font-weight: 700; }

/* PROGRAM */
.prog-items { display: flex; flex-direction: column; gap: 30px; }
.prog-item { display: flex; gap: 20px; }
.prog-num { font-family: 'SF Mono', monospace; font-size: 10px; color: var(--ac); letter-spacing: 1px; min-width: 26px; padding-top: 3px; }
.prog-ttl { font-size: 15px; color: var(--bright); margin-bottom: 6px; font-weight: 500; }
.prog-dsc { font-size: 12.5px; color: var(--dim); line-height: 1.75; font-weight: 300; }

/* DIAGRAMS */
.diag-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); }
.diag-card { background: var(--bg2); padding: 44px 36px; }
.diag-lbl { font-family: 'SF Mono', monospace; font-size: 10px; letter-spacing: 3px; color: var(--ac); margin-bottom: 30px; }
.diag-desc { font-size: 12.5px; color: var(--dim); line-height: 1.8; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; font-weight: 300; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }

/* COMPETENCIES */
.comp-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); }
.comp-cell { background: var(--bg2); padding: 36px 30px; }
.comp-lbl { font-family: 'SF Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--ac); margin-bottom: 12px; }
.comp-ttl { font-size: 16px; color: var(--bright); font-weight: 500; margin-bottom: 16px; }
.comp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.comp-tag { font-family: 'SF Mono', monospace; font-size: 9px; letter-spacing: 1px; padding: 5px 10px; border: 1px solid var(--brd); color: var(--dim); }

/* PLATFORM CUTAWAY */
.cutaway-intro { color: var(--dim); font-size: 14px; line-height: 1.85; max-width: 620px; margin-top: 44px; margin-bottom: 60px; font-weight: 300; }
.cutaway-wrap { width: calc(100% + 112px); margin: 0 -56px; background: #000; }
.cutaway-img { width: 100%; height: auto; display: block; }
.cutaway-modstrip { display: flex; align-items: center; gap: 48px; padding: 44px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cutaway-modtag { font-size: 15px; font-weight: 500; color: var(--bright); line-height: 1.5; min-width: 190px; }
.cutaway-modtag span { display: block; color: var(--dim); font-size: 12px; font-weight: 300; margin-top: 10px; }
.cutaway-modules { display: grid; grid-template-columns: repeat(6,1fr); flex: 1; gap: 20px; }
.cutaway-mod { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cutaway-mod-icon { width: 42px; height: 42px; border: 1px solid var(--brd); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ac); font-size: 16px; }
.cutaway-mod-lbl { font-family: 'SF Mono', monospace; font-size: 9px; letter-spacing: 1px; color: var(--dim); text-align: center; }
.cutaway-stats { display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid var(--line); }
.cutaway-stat { padding: 26px 18px 0; display: flex; align-items: center; gap: 12px; }
.cutaway-stat-icon { font-size: 18px; color: var(--ac); }
.cutaway-stat-ttl { font-family: 'SF Mono', monospace; font-size: 9.5px; letter-spacing: 1px; color: var(--bright); font-weight: 600; }
.cutaway-stat-sub { font-size: 11px; color: var(--dim); margin-top: 4px; font-weight: 300; }

/* CONTACT / FORMS */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.form-lbl { font-family: 'SF Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--dim); margin-bottom: 8px; display: block; }
.form-inp { width: 100%; padding: 14px 16px; margin-bottom: 18px; background: transparent; border: 1px solid var(--brd); color: var(--bright); font-size: 13px; font-family: 'Inter', sans-serif; }
.form-sub { width: 100%; padding: 15px; background: var(--ac); border: none; color: #050505; font-size: 11px; font-weight: 600; letter-spacing: 2px; cursor: pointer; font-family: 'SF Mono', monospace; }
.cmeta-k { font-family: 'SF Mono', monospace; font-size: 10px; letter-spacing: 2px; color: var(--dim); margin-bottom: 6px; }
.cmeta-v { font-size: 14px; color: var(--ac); margin-bottom: 20px; }
.cmeta-p { font-size: 12.5px; color: var(--dim); line-height: 1.8; font-weight: 300; }

footer { padding: 32px 56px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-family: 'SF Mono', monospace; font-size: 10px; color: var(--dim); letter-spacing: 1px; background: var(--bg2); }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--ac); }
hr.div { border: none; border-top: 1px solid var(--line); }

/* SUB-PAGE HERO (About / Support) */
.page-hero { position: relative; padding: 170px 56px 90px; overflow: hidden; background: var(--bg2); border-bottom: 1px solid var(--line); }
.page-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0.09; pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 720px; }
.page-hero h1 {
  font-family: 'Inter', sans-serif; font-size: 56px; line-height: 1.05; font-weight: 300;
  color: var(--bright); letter-spacing: -2px; margin-bottom: 22px;
}
.page-hero h1 strong { font-weight: 700; }
.page-hero p { font-size: 14px; color: var(--dim); line-height: 1.75; max-width: 480px; font-weight: 300; }

/* TIMELINE (About page) */
.timeline { position: relative; max-width: 780px; padding-left: 44px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 72px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -44px; top: 4px; width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--ac); background: var(--bg); }
.timeline-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ac); }
.timeline-date { font-family: 'SF Mono', monospace; font-size: 11px; letter-spacing: 2px; color: var(--ac); margin-bottom: 12px; }
.timeline-ttl { font-family: 'Inter', sans-serif; font-size: 25px; font-weight: 400; color: var(--bright); margin-bottom: 14px; letter-spacing: -0.5px; }
.timeline-dsc { font-size: 13.5px; color: var(--dim); line-height: 1.85; font-weight: 300; max-width: 540px; }

/* SUPPORT PAGE */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1000px; }
.support-item { display: flex; gap: 20px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.support-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.support-icon { font-family: 'SF Mono', monospace; font-size: 10px; color: var(--ac); min-width: 26px; padding-top: 3px; }


/* MOBILE POLISH & HELPER CLASSES */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center; }
.about-footer { padding: 64px 56px; background: var(--bg2); border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 24px; }

.menu-toggle { display: none; font-size: 24px; color: var(--bright); cursor: pointer; user-select: none; }

@media (max-width: 900px) {
  nav { flex-wrap: wrap; padding: 24px; }
  .logo-mark { width: 58px; height: 21px; }
  .logo { font-size: 11px; letter-spacing: 3px; gap: 10px; }
  .menu-toggle { display: block; font-size: 28px; padding: 4px 0 4px 12px; line-height: 1; }
  .nav-links { display: none; width: 100%; flex-direction: column; gap: 4px; padding-top: 28px; border-top: 1px solid var(--line); margin-top: 24px; }
  .nav-links a { font-size: 14px; letter-spacing: 2.5px; padding: 14px 0; display: block; }
  .nav-open .nav-links { display: flex; }
  .nav-cta { display: none; }
  .nav-open .nav-cta { display: inline-block; margin-top: 24px; width: 100%; text-align: center; padding: 16px 24px; font-size: 12px; }
  
  .hero { padding: 100px 24px 60px; min-height: auto; flex-direction: column; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 48px; margin-bottom: 24px; }
  .hero-btns { flex-direction: column; }
  .btn-p, .btn-s { width: 100%; text-align: center; }
  .hero-photo-panel { position: relative; width: 100%; height: 300px; margin-top: 40px; margin-bottom: 20px; right: auto; bottom: auto; }
  .hero-photo-label { bottom: 0; right: 0; font-size: 8px; }

  .specs-band { grid-template-columns: 1fr 1fr; }
  .spec-item { padding: 32px 24px; }
  .spec-item:nth-child(2) { border-right: none; }
  .spec-item:nth-child(1), .spec-item:nth-child(2) { border-bottom: 1px solid var(--line); }

  .sec { padding: 64px 24px; }
  .sec-title { font-size: 32px; margin-bottom: 40px; }

  .cutaway-wrap { width: 100vw; margin-left: calc(-50vw + 50%); }
  .cutaway-intro { margin-top: 32px; margin-bottom: 40px; }
  .cutaway-modstrip { flex-direction: column; align-items: stretch; gap: 0; padding: 36px 0; }
  .cutaway-modtag { margin-bottom: 36px; min-width: 0; }
  .cutaway-modules { grid-template-columns: repeat(2, 1fr); width: 100%; gap: 32px 24px; }
  .cutaway-mod { gap: 14px; }
  .cutaway-mod-icon { width: 48px; height: 48px; font-size: 18px; }
  .cutaway-mod-lbl { font-size: 8.5px; line-height: 1.45; letter-spacing: 0.5px; }
  .cutaway-stats { grid-template-columns: 1fr; gap: 0; padding: 8px 0 0; }
  .cutaway-stat { padding: 22px 0; border-bottom: 1px solid var(--line); justify-content: center; align-items: center; gap: 16px; text-align: center; }
  .cutaway-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .cutaway-stat-icon { font-size: 20px; min-width: 24px; flex-shrink: 0; padding-top: 0; }
  .cutaway-stat-ttl { font-size: 10px; letter-spacing: 1.5px; }
  .cutaway-stat-sub { font-size: 12px; margin-top: 5px; line-height: 1.4; }

  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-footer { padding: 48px 24px; }

  .diag-row { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: 1fr 1fr; }

  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  
  footer { flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 48px 24px 40px; }
  footer > div:first-child { line-height: 1.65; max-width: 300px; }
  footer .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
  footer .footer-links span { flex-basis: 100%; margin-top: 4px; opacity: 0.65; font-size: 9px; letter-spacing: 1.5px; }

  .page-hero { padding: 120px 24px 60px; }
  .page-hero h1 { font-size: 42px; }
  .support-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 500px) {
  .comp-grid { grid-template-columns: 1fr; }
  .specs-band { grid-template-columns: 1fr; }
  .spec-item { border-right: none !important; border-bottom: 1px solid var(--line); }
  .spec-item:last-child { border-bottom: none; }
}