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

:root {
  --bg: #040608;
  --bg-soft: #0a0e14;
  --bg-card: #0f141c;
  --text: #e8edf5;
  --text-muted: #7a8da6;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-glow: rgba(0, 212, 255, 0.35);
  --line: rgba(0, 212, 255, 0.18);
  --overlay: rgba(4, 6, 8, 0.82);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Exo 2", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --max: 1180px;
  --ease: 0.35s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.container {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1.1rem 0;
  border-bottom: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease);
}

.site-header.scrolled {
  background: rgba(4, 6, 8, 0.94);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text);
}

.logo-accent {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-list a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--ease);
}

.nav-list a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 8, 0.35) 0%, var(--overlay) 55%, var(--bg) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.04em;
  max-width: 14ch;
  text-transform: uppercase;
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-head--center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-intro {
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text p + p {
  margin-top: 1.1rem;
  color: var(--text-muted);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.about-image::before {
  content: "";
  position: absolute;
  inset: -8px 8px 8px -8px;
  border: 1px solid var(--accent);
  opacity: 0.4;
  pointer-events: none;
}

.tech-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.tech-block--reverse {
  direction: rtl;
}

.tech-block--reverse > * {
  direction: ltr;
}

.tech-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 40px var(--accent-dim);
}

.tech-list {
  list-style: none;
  margin-top: 1.5rem;
}

.tech-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.tech-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.process-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 28px var(--accent-dim);
}

.process-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.process-card figcaption {
  padding: 1.4rem 1.5rem 1.6rem;
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.process-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.85) contrast(1.05);
  transition: filter var(--ease);
}

.gallery-strip img:hover {
  filter: saturate(1.1) contrast(1.1);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.location-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 2rem;
}

.location-address {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--accent);
  margin: 1rem 0;
}

.location-note {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-wrap {
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 380px;
  box-shadow: 0 0 32px var(--accent-dim);
}

#map {
  width: 100%;
  height: 380px;
  background: var(--bg-card);
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .about-grid,
  .tech-block,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .tech-block--reverse {
    direction: ltr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    inset: 0 0 auto;
    top: 56px;
    flex-direction: column;
    gap: 0;
    background: rgba(4, 6, 8, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--ease), opacity var(--ease);
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list li {
    padding: 0.75rem 1.5rem;
  }

  .hero {
    min-height: 88vh;
  }
}
