:root {
  --blue: #168dff;
  --blue-strong: #67b8ff;
  --ink: #f7fbff;
  --muted: #a8b3c2;
  --line: rgba(255, 255, 255, 0.14);
  --panel: #0d1117;
  --black: #05070a;
  --black-soft: #090d12;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--black);
  font-family: "Work Sans", "Lato", Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 7, 10, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.header-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

.brand img {
  width: 360px;
  height: auto;
  filter: brightness(0) invert(1);
}

.section {
  padding: 96px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: center;
  padding: 78px 0 104px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(22, 141, 255, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(22, 141, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(22, 141, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #080b10 0%, #05070a 100%);
  background-size: 100% 100%, 56px 56px, 56px 56px, 100% 100%;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, #05070a 0%, rgba(5, 7, 10, 0.94) 30%, rgba(5, 7, 10, 0.58) 43%, rgba(5, 7, 10, 0.18) 58%, rgba(5, 7, 10, 0.42) 82%, #05070a 100%),
    linear-gradient(180deg, #05070a 0%, rgba(5, 7, 10, 0) 12%, rgba(5, 7, 10, 0) 84%, #05070a 100%);
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(58vw, 760px);
  background-image: url("assets/hero-exhibit.jpeg");
  background-position: center;
  background-size: cover;
  opacity: 1;
  filter: saturate(1.12) contrast(1.18) brightness(1.18);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 12%, #000 34%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 12%, #000 34%, #000 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.section-label {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: clamp(46px, 6.4vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
}

h2 {
  color: var(--white);
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h3 {
  color: var(--blue-strong);
  font-size: 22px;
  line-height: 1.15;
}

.lead {
  max-width: 820px;
  color: #d9e7f6;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.35;
}

.hero-copy {
  max-width: 980px;
}

.hero-copy > p {
  max-width: 760px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  color: #00111f;
  background: var(--blue);
}

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

.about-section {
  color: var(--white);
  background:
    radial-gradient(circle at 16% 18%, rgba(22, 141, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #07111c 0%, #05070a 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-section .section-label,
.about-section h2 {
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 56px;
}

.about-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: var(--black);
  box-shadow: var(--shadow), inset 0 0 70px rgba(0, 0, 0, 0.85);
}

.about-image::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, #05070a 0%, rgba(5, 7, 10, 0.62) 7%, rgba(5, 7, 10, 0) 24%, rgba(5, 7, 10, 0) 76%, rgba(5, 7, 10, 0.62) 93%, #05070a 100%),
    linear-gradient(180deg, #05070a 0%, rgba(5, 7, 10, 0.42) 9%, rgba(5, 7, 10, 0) 28%, rgba(5, 7, 10, 0) 68%, rgba(5, 7, 10, 0.72) 91%, #05070a 100%);
}

.about-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 54%, rgba(0, 0, 0, 0.86) 68%, rgba(0, 0, 0, 0.24) 89%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 54%, rgba(0, 0, 0, 0.86) 68%, rgba(0, 0, 0, 0.24) 89%, transparent 100%);
}

.references-section {
  overflow: hidden;
  background: var(--black);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.logo-carousel {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.logo-carousel::before,
.logo-carousel::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 90px;
  content: "";
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--black), rgba(5, 7, 10, 0));
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--black), rgba(5, 7, 10, 0));
}

.logo-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 86px;
  padding: 52px 72px;
  animation: scroll-logos 48s linear infinite;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-track img {
  width: 240px;
  max-height: 104px;
  object-fit: contain;
  filter: grayscale(1) invert(1) brightness(1.35);
  opacity: 0.7;
  transition: filter 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.logo-track img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.contact-section {
  background:
    radial-gradient(circle at 82% 22%, rgba(22, 141, 255, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(22, 141, 255, 0.1) 1px, transparent 1px),
    var(--black-soft);
  background-size: 100% 100%, 42px 42px, 100% 100%;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.contact-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.contact-card p {
  max-width: 620px;
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
  text-decoration: none;
}

.contact-links span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #00111f;
  border-radius: 50%;
  background: var(--blue);
  font-size: 18px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--black);
}

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

.footer-inner img {
  width: 220px;
  height: auto;
  filter: brightness(0) invert(1);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  padding: 10px 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.social-links a:hover {
  color: #00111f;
  border-color: var(--blue);
  background: var(--blue);
}

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

  .logo-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 88px;
  }

  .brand img {
    width: 300px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    aspect-ratio: 16 / 9;
  }

  .contact-grid {
    gap: 34px;
  }
}

@media (max-width: 600px) {
  .header-inner,
  .section-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .hero-image {
    inset: auto 0 0 0;
    width: 100%;
    height: 46%;
    opacity: 0.72;
  }

  .hero::after {
    background:
      linear-gradient(180deg, #05070a 0%, rgba(5, 7, 10, 0.9) 42%, rgba(5, 7, 10, 0.18) 72%, #05070a 100%),
      linear-gradient(90deg, #05070a 0%, rgba(5, 7, 10, 0) 46%, #05070a 100%);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .logo-carousel::before,
  .logo-carousel::after {
    width: 34px;
  }

  .logo-track {
    gap: 52px;
    padding: 36px 42px;
  }

  .logo-track img {
    width: 190px;
    max-height: 86px;
  }

  .footer-inner,
  .social-links {
    align-items: flex-start;
    flex-direction: column;
  }
}
