:root {
  --bg: #05070b;
  --bg-soft: #0b0f17;
  --panel: rgba(255, 255, 255, 0.02);
  --panel-border: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f0f1f4;
  --muted: rgba(240, 241, 244, 0.76);
  --gold: #d3b16c;
  --blue: #7f9ff0;
  --blue-dark: #6e8edf;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  --max: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(37, 57, 112, 0.16), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(211, 177, 108, 0.07), transparent 30%),
    linear-gradient(180deg, #04060a 0%, #060913 50%, #04060a 100%);
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255,255,255,0.18) 0.45px, transparent 0.55px);
  background-size: 14px 14px;
  z-index: 0;
}

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

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

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 16, 0.60);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  width: min(calc(100% - 28px), 1600px);
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 auto;
}

.brand span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 241, 244, 0.88);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-nav a:hover {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  animation: heroReveal 1.8s ease forwards;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 5, 8, 0.42) 0%, rgba(3, 5, 8, 0.20) 20%, rgba(3, 5, 8, 0.42) 100%),
    linear-gradient(90deg, rgba(3, 5, 8, 0.70) 0%, rgba(3, 5, 8, 0.18) 55%, rgba(3, 5, 8, 0.48) 100%);
  opacity: 0;
  transform: translateY(10px);
  animation: heroReveal 1.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-content {
  position: relative;
  padding: 160px 0 110px;
  max-width: 1120px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.split-title {
  margin: 0;
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1100px;
  font-size: clamp(56px, 8vw, 126px);
  text-wrap: balance;
}

.hero-copy {
  max-width: 660px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 20px;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 28px;
  border: 1px solid transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  border-radius: 0;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

.button-primary,
input[type="submit"] {
  color: #ffffff;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 28px rgba(104, 134, 222, 0.20);
}

.button-primary:hover,
input[type="submit"]:hover {
  background: linear-gradient(180deg, #89a8f3 0%, #7696e7 100%);
}

.button-secondary {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(8, 11, 18, 0.20);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.03);
}

.section {
  padding: 120px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.02) 100%);
}

.section-head {
  max-width: 920px;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(44px, 6vw, 94px);
  letter-spacing: 0.10em;
}

.section-intro {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.gallery-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  overflow: visible;
  box-shadow: none;
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(4) {
  grid-column: span 5;
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(3),
.gallery-card:nth-child(5),
.gallery-card:nth-child(6) {
  grid-column: span 3.5;
}

.gallery-image {
  overflow: hidden;
  border-radius: 4px;
  background: #06080d;
  box-shadow: var(--shadow);
}

.gallery-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.gallery-card:hover .gallery-image img {
  transform: scale(1.04);
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px 0;
}

.gallery-meta h3,
.feature-copy h3 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.gallery-meta p,
.feature-copy p {
  margin: 0;
  color: var(--muted);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
}

.feature-list {
  display: grid;
  gap: 44px;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.feature-image {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-copy p {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.8;
}

.analog-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.analog-copy p {
  color: var(--muted);
  margin-top: 0;
}

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

.text-link {
  color: var(--gold);
  border-bottom: 1px solid rgba(211, 177, 108, 0.45);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  color: #e6c582;
  border-color: rgba(230, 197, 130, 0.9);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 560px) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.about-image {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-title {
  font-size: clamp(52px, 7vw, 100px);
  letter-spacing: 0.08em;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 24px;
  font-size: 18px;
}

.contact-form {
  max-width: 1100px;
}

.form-row {
  margin-bottom: 26px;
}

.form-row label {
  display: block;
  margin-bottom: 10px;
  color: #f3f4f7;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

textarea {
  resize: vertical;
  min-height: 220px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(211, 177, 108, 0.72);
  box-shadow: 0 0 0 1px rgba(211, 177, 108, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.button-submit {
  min-width: 220px;
  padding-inline: 34px;
}

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
  color: rgba(240, 241, 244, 0.56);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .gallery-card,
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(5),
  .gallery-card:nth-child(6) {
    grid-column: span 6;
  }

  .feature-card,
  .about-grid,
  .analog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: rgba(7, 10, 16, 0.96);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
  }

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

  .nav-toggle {
    display: block;
  }

  .hero-content {
    padding: 140px 0 84px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 78px);
    letter-spacing: 0.06em;
  }

  .hero-copy,
  .section-intro {
    font-size: 18px;
  }

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

  .gallery-card,
  .gallery-card:nth-child(1),
  .gallery-card:nth-child(2),
  .gallery-card:nth-child(3),
  .gallery-card:nth-child(4),
  .gallery-card:nth-child(5),
  .gallery-card:nth-child(6) {
    grid-column: auto;
  }

  .section {
    padding: 92px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 30px), var(--max));
  }

  .brand span {
    font-size: 16px;
    letter-spacing: 0.12em;
  }

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

  .button,
  button,
  input[type="submit"] {
    width: 100%;
  }

  .section-title,
  .split-title {
    font-size: clamp(40px, 14vw, 62px);
  }

  .gallery-meta {
    flex-direction: column;
    gap: 6px;
  }
}
