:root {
  --ink: #e6eef8;
  --muted: #9aadc4;
  --bg: #070b12;
  --panel: #0e1624;
  --line: #243247;
  --accent: #2ec4b6;
  --accent-dim: #1a8f85;
  --warn: #8a9bb0;
  --font-display: "Orbitron", sans-serif;
  --font-body: "Exo 2", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 7vw, 5rem);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("assets/hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 11, 18, 0.88) 0%, rgba(7, 11, 18, 0.55) 42%, rgba(7, 11, 18, 0.35) 100%),
    linear-gradient(to top, rgba(7, 11, 18, 0.92) 0%, transparent 45%);
  animation: veilPulse 12s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 4.75rem);
  letter-spacing: 0.12em;
  line-height: 1;
  color: #f2f7ff;
  text-shadow: 0 0 40px rgba(46, 196, 182, 0.25);
  animation: brandIn 1.1s ease-out both;
}

.tagline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.06em;
  color: var(--accent);
  animation: fadeUp 1s 0.15s ease-out both;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 32rem;
  animation: fadeUp 1s 0.28s ease-out both;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  animation: fadeUp 1s 0.4s ease-out both;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  padding: 0.9rem 1.45rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a.btn-primary:hover {
  transform: translateY(-1px);
  border-color: #8af0e4;
}

.btn-primary {
  background: linear-gradient(180deg, #35d4c4 0%, var(--accent-dim) 100%);
  color: #041018;
  border-color: #5fe0d2;
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.25);
  background: linear-gradient(180deg, #3a5560 0%, #243540 100%);
  color: #c5d3de;
  border-color: #4a6270;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--warn);
}

.section {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.section p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.05rem;
}

.section-sub {
  margin-bottom: 1.75rem !important;
}

.about {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(46, 196, 182, 0.07), transparent 60%),
    var(--bg);
}

.shots {
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a101a;
}

.shot-hit {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
}

.shot-hit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.shot-openable:hover img {
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.shot-openable img {
  transition: transform 0.35s ease;
}

.shot-wide {
  grid-column: 1 / -1;
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shot-placeholder {
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(145deg, #101828 0%, #0a121c 100%);
}

.shot-placeholder span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #5d738a;
  text-transform: uppercase;
}

.shot figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.25rem, 5vw, 4rem) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  background: var(--bg);
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes veilPulse {
  from { opacity: 1; }
  to { opacity: 0.92; }
}

@keyframes brandIn {
  from { opacity: 0; letter-spacing: 0.28em; transform: translateY(12px); }
  to { opacity: 1; letter-spacing: 0.12em; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-wide {
    grid-column: auto;
  }

  .hero {
    align-items: flex-end;
    min-height: 92vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-veil,
  .brand,
  .tagline,
  .lede,
  .cta {
    animation: none;
  }

  .shot-openable:hover img,
  .shot-openable img {
    transition: none;
    transform: none;
  }
}

/* Lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(4, 8, 14, 0.88);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: lightboxIn 0.25s ease-out;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(92vh - 3rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #05080e;
}

.lightbox-caption {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  background: #121a28;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
