:root {
  color-scheme: dark;
  --bg: #020414;
  --panel: rgba(8, 12, 34, 0.78);
  --panel-strong: rgba(13, 18, 46, 0.96);
  --text: #f7f8ff;
  --muted: #b9c0df;
  --cyan: #12e7ff;
  --blue: #3278ff;
  --magenta: #ff2bd6;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: rgba(255, 43, 214, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(18, 231, 255, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(255, 43, 214, 0.12), transparent 36%);
  content: "";
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(2, 4, 20, 0.76);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand-mark span {
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

nav a:focus-visible,
.button:focus-visible,
.brand-mark:focus-visible,
.contact-panel a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  padding: 128px clamp(20px, 6vw, 92px) 88px;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: -8%;
  bottom: 8%;
  z-index: -1;
  width: min(52vw, 720px);
  height: 26px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  transform: skewX(-28deg);
  filter: blur(0.4px);
  content: "";
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 4, 20, 0.9) 0%, rgba(2, 4, 20, 0.58) 42%, rgba(2, 4, 20, 0.7) 100%),
    url("assets/logo_exports/social/empirestudio4-logo-16x9-1920x1080.png") center / cover no-repeat;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 48%, transparent 0 20%, rgba(2, 4, 20, 0.84) 58%);
  content: "";
}

.hero-copy {
  display: grid;
  align-content: end;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.3rem, 9vw, 7.5rem);
  line-height: 0.88;
  text-transform: uppercase;
  overflow-wrap: normal;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.hero-copy p:not(.eyebrow),
.section-copy,
.signal-section p,
.contact-panel {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 46%, var(--magenta));
  color: #020414;
  box-shadow: 0 20px 60px var(--shadow);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.split-section,
.contact-section,
.signal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.product-card {
  min-height: 260px;
  padding: 24px;
}

.product-card:hover {
  border-color: rgba(18, 231, 255, 0.45);
  background: var(--panel-strong);
}

.product-index {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--magenta);
  font-weight: 900;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.signal-section {
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-section img {
  width: min(340px, 82vw);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 100px rgba(18, 231, 255, 0.18);
}

.contact-panel {
  padding: 26px;
}

.contact-panel a {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 900;
  word-break: break-word;
}

.contact-panel p {
  margin-bottom: 10px;
}

.contact-panel p:last-child {
  margin-bottom: 0;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .brand-mark span {
    display: none;
  }

  nav {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 90svh;
    padding: 116px 20px 70px;
  }

  .hero::after {
    display: none;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .split-section,
  .contact-section,
  .signal-section,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .product-index {
    margin-bottom: 28px;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .product-card {
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  }

  .button:hover,
  .product-card:hover {
    transform: translateY(-2px);
  }
}
