@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-mono-500.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --void: #09090d;
  --surface: #121218;
  --surface-2: #181820;
  --rule: #30303d;
  --text: #f7f7fa;
  --muted: #a7a8b5;
  --quiet: #858694;
  --uv: #8b5cf6;
  --uv-light: #c4b5fd;
  --live: #4ade80;
  --cyan: #67e8f9;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--void);
}

body {
  margin: 0;
  min-width: 280px;
  background:
    radial-gradient(circle at 76% 2%, rgba(139, 92, 246, 0.17), transparent 30rem),
    var(--void);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--void);
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(247, 247, 250, 0.1);
  background: rgba(9, 9, 13, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link,
.lang-link {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.lang-link:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 16px;
  align-items: center;
  border: 1px solid rgba(196, 181, 253, 0.55);
  border-radius: 8px;
  background: var(--uv);
  color: var(--void);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.26);
}

.nav-cta:hover {
  background: var(--uv-light);
}

main {
  overflow: hidden;
}

.hero,
.section,
.contact {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 104px 0 84px;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 45px;
  right: 3%;
  width: 300px;
  height: 520px;
  background: url("/brand/rebrand-v03/logo-aperture-active-uv-v03.svg") center / contain no-repeat;
  opacity: 0.12;
  filter: blur(0.2px);
}

.eyebrow,
.section-kicker,
.card-kicker,
.asset-type {
  color: var(--uv-light);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  max-width: 900px;
  margin: 22px 0 26px;
  font-size: clamp(52px, 8.5vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

h1 em,
h2 em {
  color: var(--uv-light);
  font-style: normal;
}

.hero-lead {
  max-width: 740px;
  margin-bottom: 30px;
  color: #d8d8e2;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.badges,
.hero-actions,
.asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  min-height: 34px;
  padding: 7px 11px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(18, 18, 24, 0.86);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge.live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: rgba(196, 181, 253, 0.6);
  background: var(--uv);
  color: var(--void);
}

.button:hover {
  border-color: var(--uv-light);
}

.button.primary:hover {
  background: var(--uv-light);
}

.section {
  padding: 82px 0;
  border-top: 1px solid rgba(247, 247, 250, 0.09);
}

.section-head {
  display: grid;
  margin-bottom: 38px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 54px;
}

.section h2,
.contact h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-intro {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fact,
.model-card,
.asset-card,
.demo-note {
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--surface), rgba(18, 18, 24, 0.72));
}

.fact {
  min-height: 166px;
  padding: 22px;
}

.fact strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 27px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.fact span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

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

figure {
  margin: 0;
}

.screen-card,
.gallery-card {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
}

.screen-card img,
.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  padding: 14px 17px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

figcaption strong {
  color: var(--text);
}

.local-note {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--uv);
  background: rgba(139, 92, 246, 0.08);
  color: #d4d4df;
}

.models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.model-card {
  padding: 25px;
}

.model-card h3,
.asset-card h3,
.demo-note h3 {
  margin: 10px 0 9px;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.model-card p,
.asset-card p,
.demo-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.model-card ul {
  margin: 18px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.model-card li + li {
  margin-top: 6px;
}

.model-card.desktop {
  border-color: rgba(103, 232, 249, 0.35);
}

.model-card.desktop .card-kicker {
  color: var(--cyan);
}

.inline-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--uv-light);
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}

.gallery-card a {
  display: block;
}

.gallery-card a:hover img {
  filter: brightness(1.08);
}

.demo-note {
  display: grid;
  margin-top: 18px;
  padding: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

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

.asset-card {
  display: flex;
  min-height: 260px;
  padding: 24px;
  flex-direction: column;
}

.asset-preview {
  display: flex;
  min-height: 112px;
  margin: -4px -4px 18px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #0d0d12;
}

.asset-preview img {
  display: block;
  max-width: 100%;
  max-height: 112px;
  object-fit: cover;
}

.asset-preview.mark img {
  width: 90px;
  height: 90px;
}

.asset-card .inline-link {
  margin-top: auto;
  padding-top: 18px;
}

.rights-note {
  margin: 22px 0 0;
  color: var(--quiet);
  font-size: 13px;
}

.contact-wrap {
  padding: 28px 20px 88px;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border: 1px solid rgba(196, 181, 253, 0.42);
  border-radius: 16px;
  background: linear-gradient(125deg, rgba(139, 92, 246, 0.14), var(--surface) 55%);
}

.contact::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28), transparent 66%);
  pointer-events: none;
}

.contact p {
  max-width: 680px;
  margin: 20px 0 28px;
  color: #d4d4df;
}

.contact-email {
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow-wrap: anywhere;
  color: var(--uv-light);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.site-footer {
  border-top: 1px solid rgba(247, 247, 250, 0.09);
}

.footer-inner {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--quiet);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery,
  .assets {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .nav-link {
    display: none;
  }

  .nav-cta {
    min-height: 42px;
    padding: 8px 11px;
  }

  .hero,
  .section,
  .contact {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    padding: 74px 0 62px;
  }

  .hero::after {
    right: -100px;
    width: 260px;
    opacity: 0.09;
  }

  h1 {
    font-size: clamp(47px, 17vw, 72px);
  }

  .section {
    padding: 62px 0;
  }

  .facts,
  .screen-pair,
  .models,
  .gallery,
  .assets {
    grid-template-columns: 1fr;
  }

  .gallery-card:first-child {
    grid-column: auto;
  }

  .demo-note {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    padding-right: 0;
    padding-left: 0;
  }

  .contact {
    padding: 32px 24px;
  }

  .footer-inner {
    width: min(100% - 32px, var(--max));
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
