:root {
  --bg: #081424;
  --bg-soft: #102642;
  --surface: rgba(12, 31, 63, 0.78);
  --surface-strong: #0d2344;
  --line: rgba(154, 180, 215, 0.22);
  --text: #f4f7fb;
  --muted: #aebed7;
  --accent: #4aa3ff;
  --accent-strong: #1883ef;
  --accent-soft: rgba(74, 163, 255, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(4, 12, 27, 0.34);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(35, 87, 162, 0.4), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(49, 144, 255, 0.16), transparent 18%),
    linear-gradient(180deg, #06101d 0%, #081424 50%, #091a2e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 96%);
  pointer-events: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 16, 29, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(145, 194, 255, 0.18);
  box-shadow: 0 12px 30px rgba(3, 11, 24, 0.28);
}

.brand-logo,
.hero-logo,
.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong,
.site-footer strong {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.04em;
}

.brand-text small,
.site-footer p,
.site-footer span {
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.95rem;
  color: #d3e0f4;
}

.site-nav a:hover {
  color: var(--white);
}

.section,
.hero-section {
  padding: 84px 0;
}

.hero-section {
  padding-top: 68px;
}

.hero-grid,
.grid-two,
.split-section,
.contact-grid {
  display: grid;
  gap: 28px;
}

.hero-grid,
.split-section,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-two {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.eyebrow,
.section-tag,
.panel-label,
.timeline-grid span,
.stack-card span,
.feature-index {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.eyebrow,
.section-tag,
.panel-label,
.timeline-grid span,
.stack-card span {
  color: #8fc0ff;
}

.hero-copy h1,
.section-heading h2,
.split-section h2,
.grid-two h2,
.notice-card h2,
.contact-grid h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.02;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 5vw, 5.2rem);
  max-width: 11ch;
}

.hero-text,
.hero-kicker,
.section-heading p,
.split-section p,
.info-card p,
.feature-card p,
.process-step p,
.notice-card p,
.contact-grid p,
.timeline-grid p,
.stack-card strong,
.sector-card,
.hero-metrics span,
.radar-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin: 22px 0 0;
}

.hero-brand-lockup,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-brand-lockup {
  margin-bottom: 18px;
}

.hero-logo {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(145, 194, 255, 0.18);
  box-shadow: 0 16px 40px rgba(4, 12, 27, 0.34);
  padding: 10px;
}

.hero-kicker {
  margin: 10px 0 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dbe9fb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #081424;
  background: linear-gradient(135deg, #71b6ff, #d8edff);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.button-ghost {
  color: #d4e5fb;
  border-color: rgba(137, 187, 255, 0.26);
  background: transparent;
}

.button-block {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 38px 0 0;
}

.hero-metrics li,
.feature-card,
.process-step,
.sector-card,
.timeline-grid article,
.stack-card,
.info-card,
.notice-card,
.contact-form,
.hero-panel {
  background: linear-gradient(180deg, rgba(13, 35, 68, 0.9), rgba(9, 22, 40, 0.88));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-metrics li,
.feature-card,
.process-step,
.sector-card,
.timeline-grid article,
.info-card {
  border-radius: var(--radius-lg);
  padding: 22px;
}

.hero-metrics strong,
.feature-card h3,
.process-step h3,
.sector-card,
.timeline-grid h3,
.stack-card strong,
.info-card h3 {
  display: block;
  color: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-panel {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.panel-photo,
.section-photo-card img,
.image-strip img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.panel-photo {
  position: absolute;
  inset: 0;
  filter: saturate(0.95) contrast(1.05);
}

.panel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 14, 26, 0.18), rgba(5, 14, 26, 0.82)),
    linear-gradient(120deg, rgba(19, 131, 239, 0.18), transparent 45%);
}

.machine-panel {
  inset: 18px 90px 130px 0;
  padding: 28px;
}

.radar-panel {
  right: 0;
  bottom: 12px;
  width: min(320px, 100%);
  padding: 24px;
}

.panel-stack {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 26px;
  z-index: 1;
}

.panel-label {
  position: relative;
  z-index: 1;
}

.panel-stack div,
.stack-card div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-stack div:last-child,
.stack-card div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.panel-stack span {
  display: block;
  color: #8ab9f1;
  margin-bottom: 8px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.signal-grid span {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(145, 194, 255, 0.35);
  background: radial-gradient(circle, rgba(107, 182, 255, 0.2), transparent 70%);
  animation: pulse 2.8s infinite ease-in-out;
}

.signal-grid span:nth-child(2),
.signal-grid span:nth-child(5) {
  animation-delay: 0.3s;
}

.signal-grid span:nth-child(3),
.signal-grid span:nth-child(6) {
  animation-delay: 0.6s;
}

.card-list,
.feature-grid,
.process-grid,
.sector-grid,
.timeline-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.card-list,
.feature-grid,
.timeline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-grid,
.sector-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.surface-section {
  background: linear-gradient(180deg, rgba(8, 20, 36, 0.3), rgba(9, 24, 44, 0.7));
}

.section-photo-card,
.gallery-card {
  margin: 28px 0 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.03);
}

.section-photo-card {
  aspect-ratio: 1.05;
}

.section-photo-card figcaption,
.gallery-card figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.image-strip figure {
  margin: 0;
  min-height: 180px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(145, 194, 255, 0.16);
  box-shadow: var(--shadow);
}

.gallery-section {
  background: linear-gradient(180deg, rgba(7, 18, 33, 0.2), rgba(8, 22, 39, 0.68));
}

.gallery-grid {
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: stretch;
}

.gallery-card {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.gallery-card img {
  min-height: 240px;
}

.gallery-card-wide img {
  min-height: 100%;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 34px;
}

.process-step strong {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: #b8dbff;
}

.feature-index {
  color: #72b5ff;
}

.stack-card,
.notice-card,
.contact-form {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.timeline-grid article {
  min-height: 220px;
}

.notice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #d4e2f4;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(145, 194, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7694b9;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(107, 182, 255, 0.3);
  border-color: rgba(107, 182, 255, 0.32);
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 0.95rem;
  color: #b4d8ff;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.contact-points li {
  padding-left: 20px;
  position: relative;
  color: var(--muted);
}

.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.site-footer {
  padding: 0 0 32px;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(145, 194, 255, 0.18);
  padding: 6px;
}

.site-footer a {
  color: #a8d4ff;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-section,
  .grid-two,
  .contact-grid,
  .process-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .timeline-grid,
  .card-list,
  .hero-metrics,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }

  .section,
  .hero-section {
    padding: 64px 0;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .hero-visual {
    min-height: 520px;
  }

  .machine-panel {
    inset: 0 0 164px;
  }

  .radar-panel {
    left: 0;
    width: auto;
  }

  .feature-grid,
  .timeline-grid,
  .card-list,
  .hero-metrics,
  .gallery-grid,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .notice-card,
  .header-row,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-brand-lockup,
  .footer-brand {
    align-items: flex-start;
  }
}