:root {
  --bg: #040914;
  --bg-deep: #081224;
  --panel: rgba(10, 20, 37, 0.9);
  --panel-strong: rgba(8, 16, 31, 0.96);
  --line: rgba(104, 199, 255, 0.2);
  --line-strong: rgba(104, 199, 255, 0.44);
  --text: #f5fbff;
  --muted: #95a9c0;
  --cyan: #4be7ff;
  --green: #9cff8f;
  --pink: #ff6ad5;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
  --section-width: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(75, 231, 255, 0.08), transparent 18%),
    linear-gradient(90deg, rgba(255, 106, 213, 0.05), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 56px, 56px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 96%);
}

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

img {
  display: block;
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: var(--section-width);
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(75, 231, 255, 0.7);
  border-radius: 8px;
  background: rgba(8, 18, 36, 0.9);
  box-shadow: 0 0 24px rgba(75, 231, 255, 0.24);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-lockup {
  display: grid;
  gap: 0.15rem;
}

.brand-lockup strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 10, 20, 0.72);
  backdrop-filter: blur(18px);
}

.site-nav a,
.menu-toggle {
  padding: 0.72rem 0.95rem;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.menu-toggle:hover {
  color: var(--bg);
  background: var(--cyan);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(4, 10, 20, 0.86);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: min(700px, 72svh);
  overflow: hidden;
  border-top: 1px solid rgba(75, 231, 255, 0.08);
  border-bottom: 1px solid rgba(75, 231, 255, 0.08);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 20, 0.9) 0%, rgba(4, 9, 20, 0.68) 48%, rgba(4, 9, 20, 0.86) 100%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(4, 9, 20, 0), rgba(4, 9, 20, 1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--section-width);
  margin: 0 auto;
  padding: 7rem 0 6rem;
  display: grid;
  gap: 1.5rem;
  max-width: 1180px;
}

.eyebrow,
.showcase-kicker,
.signal-label {
  margin: 0;
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
}

h1 {
  max-width: 11ch;
  font-size: 4.4rem;
}

h2 {
  max-width: 12ch;
  font-size: 2.9rem;
}

h3 {
  font-size: 1.35rem;
}

.hero-copy,
.section-copy,
.project-card p,
.service-card p,
.process-step p,
.quote-copy p,
.signal-item p,
.showcase-copy-panel p,
.showcase-list li,
.form-note {
  color: var(--muted);
  line-height: 1.68;
}

.hero-copy {
  max-width: 44rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), #27a4ff);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(75, 231, 255, 0.18);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(10, 20, 37, 0.74);
  color: var(--text);
}

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

.hero-metrics li {
  padding: 1rem 1rem 1.1rem;
  border-top: 1px solid rgba(75, 231, 255, 0.5);
  background: linear-gradient(180deg, rgba(11, 22, 40, 0.76), rgba(7, 15, 29, 0.54));
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.signal-strip,
.section,
.site-footer {
  width: var(--section-width);
  margin: 0 auto;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -2.2rem;
  position: relative;
  z-index: 2;
}

.signal-item,
.project-card,
.service-card,
.process-step,
.quote-form,
.showcase-rail,
.showcase-copy-panel,
.showcase-media {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.signal-item {
  padding: 1.1rem;
}

.signal-item p {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-header > div:first-child {
  max-width: 34rem;
}

.section-copy {
  max-width: 32rem;
  margin: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.filter-chip,
.showcase-tab {
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-chip:hover,
.filter-chip.is-active,
.showcase-tab:hover,
.showcase-tab.is-active {
  border-color: var(--cyan);
  background: rgba(75, 231, 255, 0.14);
  color: #fff;
}

.project-grid,
.service-grid,
.process-grid {
  display: grid;
  gap: 1.2rem;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.project-card.is-hidden {
  display: none;
}

.project-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-body {
  padding: 1.2rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.project-meta span,
.showcase-stats span {
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(75, 231, 255, 0.18);
  color: var(--cyan);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-card p,
.service-card p,
.process-step p {
  margin: 0.85rem 0 0;
}

.project-points,
.quote-points,
.showcase-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.project-points li,
.quote-points li,
.showcase-list li {
  margin: 0.45rem 0;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.2rem;
}

.showcase-rail {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1rem;
}

.showcase-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 1.2rem;
}

.showcase-media img {
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 13;
}

.showcase-copy-panel {
  padding: 1.4rem;
}

.showcase-copy-panel h3 {
  margin-top: 0.5rem;
  font-size: 2rem;
}

.showcase-copy-panel p {
  margin: 0.8rem 0 0;
}

.showcase-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.3rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.process-step {
  padding: 1.2rem;
}

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

.process-step span {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--green);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.3rem;
  align-items: start;
}

.quote-copy {
  padding-right: 1rem;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.3rem;
}

.quote-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.94rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.88rem 0.95rem;
  border: 1px solid rgba(104, 199, 255, 0.2);
  border-radius: 6px;
  background: rgba(5, 12, 24, 0.95);
  color: var(--text);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 1px solid var(--cyan);
  border-color: var(--cyan);
}

.quote-form .form-span,
.quote-form .button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .project-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .hero-metrics,
  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-layout,
  .showcase-stage,
  .quote-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    align-items: start;
  }

  .menu-toggle {
    display: inline-flex;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 0.1rem);
    right: 0;
    width: min(18rem, calc(100vw - 2rem));
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 5.6rem 0 4rem;
  }

  h1 {
    max-width: 12ch;
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .section-header,
  .site-footer {
    flex-direction: column;
    align-items: start;
  }

  .project-grid,
  .service-grid,
  .process-grid,
  .hero-metrics,
  .signal-strip,
  .quote-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: min(100% - 1rem, 100%);
  }

  .signal-strip,
  .section,
  .site-footer,
  .hero-content {
    width: min(100% - 1rem, 100%);
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .button,
  .filter-chip,
  .showcase-tab {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}
