* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0d0d0f;
  color: #f4f4f4;
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.page-loaded {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

.site-header-solid {
  position: sticky;
  background: rgba(13, 13, 15, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}

.logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
  padding: 10px 14px;
}

nav {
  display: flex;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 35px rgba(0,0,0,0.10);
}

nav a {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.96);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

nav a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

nav a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.28), rgba(0,0,0,0.58)),
    url("images/hero.jpg") center/cover no-repeat;
}

.overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 70px;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: #bdbdbd;
  margin-bottom: 14px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: 0.97;
  margin: 0 0 20px;
  color: #ffffff;
}

.hero-text,
.page-text {
  max-width: 660px;
  font-size: 1.05rem;
  color: #d8d8d8;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #ffffff;
  color: #101010;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.28);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

.section-tight-top {
  padding-top: 18px;
}

.page-main {
  padding-top: 90px;
}

.page-hero-compact {
  padding: 56px 0 6px;
}

.page-hero-compact .page-text {
  margin-bottom: 18px;
}

.page-meta {
  margin-top: 14px;
  margin-bottom: 0;
}

.gallery {
  margin-top: -8px;
}

.page-meta span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel,
.video-card {
  background: linear-gradient(180deg, #16161a, #111114);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.panel:hover,
.video-card:hover,
.gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.14);
}

.panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.08;
  margin-top: 0;
  color: #ffffff;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,0.96);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.text-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-1px);
  opacity: 1;
}

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

.gallery-item {
  min-height: 110px;
  border-radius: 20px;
  background-color: #17171b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.14);
}

.gallery-item.hero-strip {
  grid-column: 1 / -1;
  grid-row: span 5;
}

.gallery-item.medium-left {
  grid-column: 1 / 6;
  grid-row: span 3;
}

.gallery-item.medium-right {
  grid-column: 7 / 13;
  grid-row: span 3;
}

.gallery-item.small-left {
  grid-column: 2 / 5;
  grid-row: span 2;
}

.gallery-item.small-center {
  grid-column: 5 / 9;
  grid-row: span 2;
}

.gallery-item.small-right {
  grid-column: 9 / 13;
  grid-row: span 3;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: #ffffff;
}

.video-card p {
  margin: 0;
  color: #cfcfcf;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 2.3fr;
  gap: 30px;
  align-items: center;
}

.about-image {
  min-height: 450px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18)),
    url("images/about.JPG") center/100% no-repeat;
  border: 1px solid rgba(255,255,255,0.06);
}

.about-copy p {
  color: #d2d2d2;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.03rem;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 80px;
  padding: 28px 0;
  color: #b9b9b9;
  font-size: 0.92rem;
}
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.ready {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-trigger {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-display {
  width: min(92vw, 1400px);
  height: min(88vh, 900px);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.lightbox.active .lightbox-display {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.04);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 10000;
}

.lightbox-arrow:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.20);
  box-shadow: 0 14px 34px rgba(0,0,0,0.20);
}

.lightbox-arrow-left {
  left: 12px;
}

.lightbox-arrow-right {
  right: 12px;
}

body {
  transition: opacity 0.28s ease;
}

body.fade-out {
  opacity: 0;
}

@media (max-width: 900px) {
  .split,
  .video-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item,
  .gallery-item.hero-strip,
  .gallery-item.medium-left,
  .gallery-item.medium-right,
  .gallery-item.small-left,
  .gallery-item.small-center,
  .gallery-item.small-right {
    grid-column: auto;
    grid-row: span 1;
    min-height: 220px;
  }

  .nav {
    flex-direction: column;
    gap: 14px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero {
    min-height: 88vh;
  }

  .lightbox-arrow {
    width: 46px;
    height: 46px;
    font-size: 1.7rem;
  }

  .lightbox-arrow-left {
    left: 14px;
  }

  .lightbox-arrow-right {
    right: 14px;
  }
}
