:root {
  --bg: #050607;
  --bg-soft: #0b0d0e;
  --surface: #111417;
  --surface-2: #171b1f;
  --text: #f6f3ec;
  --muted: #b7babd;
  --line: rgba(255, 255, 255, 0.14);
  --amber: #ffb32c;
  --amber-strong: #ff9f1c;
  --cyan: #34d7ff;
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.is-lightbox-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 18px clamp(18px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.9), rgba(5, 6, 7, 0.42));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 6, 7, 0.92);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(255, 179, 44, 0.22), 0 1px 0 rgba(0, 0, 0, 0.65);
}

.brand-mark {
  width: clamp(22px, 2.25vw, 34px);
  height: clamp(44px, 4.7vw, 70px);
  background: url("assets/bolt-gold-clean.png") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  text-indent: -999px;
  filter: drop-shadow(0 0 12px rgba(255, 179, 44, 0.34));
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a,
.header-cta,
.button {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--amber);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 140px clamp(22px, 5vw, 64px) 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.96) 0%, rgba(5, 6, 7, 0.78) 26%, rgba(5, 6, 7, 0.24) 62%, rgba(5, 6, 7, 0.1) 100%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.52) 0%, rgba(5, 6, 7, 0.08) 38%, rgba(5, 6, 7, 0.85) 100%);
}

.hero-content {
  position: relative;
  max-width: 650px;
}

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

h1,
h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 102px);
  max-width: 10ch;
}

.hero p {
  max-width: 520px;
  margin-bottom: 34px;
  color: #f0eee9;
  font-size: clamp(17px, 2vw, 20px);
}

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

.button-primary {
  background: linear-gradient(180deg, #ffc75a, var(--amber-strong));
  color: #070707;
  border-color: transparent;
  box-shadow: 0 16px 34px var(--shadow);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.55);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px clamp(22px, 4vw, 34px);
}

.section-head {
  margin-bottom: 28px;
}

.section-intro {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

.section-label {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-label.cyan {
  color: var(--cyan);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 62px);
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: var(--surface);
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.06) 0%, rgba(5, 6, 7, 0.36) 42%, rgba(5, 6, 7, 0.94) 100%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.36), rgba(5, 6, 7, 0.02));
}

.service-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover > img {
  transform: scale(1.04);
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin-bottom: auto;
  color: var(--text);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p,
.tech-grid p,
.about-copy p,
.contact-section p,
.work-copy {
  color: var(--muted);
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

.service-card p {
  color: #e4e0d8;
}

.work-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.poster-card {
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.poster-card::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.poster-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.poster-card:hover img {
  transform: scale(1.05);
}

.work-copy {
  max-width: 720px;
}

.partner-section {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.partner-section h3 {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.partner-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
  line-height: 0.96;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.partner-card.logo-card img {
  display: block;
  width: auto;
  max-width: 86%;
  max-height: 54px;
  object-fit: contain;
}

.partner-card.hulu-logo img {
  max-width: 76%;
  max-height: 78px;
}

.partner-card.peacock {
  position: relative;
  gap: 12px;
  font-size: clamp(27px, 3.1vw, 43px);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.partner-card.peacock::after {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 56px;
  background:
    radial-gradient(circle at 50% 5%, #ffd800 0 6px, transparent 7px),
    radial-gradient(circle at 50% 23%, #f47b20 0 6px, transparent 7px),
    radial-gradient(circle at 50% 41%, #f40046 0 6px, transparent 7px),
    radial-gradient(circle at 50% 59%, #6254b3 0 6px, transparent 7px),
    radial-gradient(circle at 50% 77%, #009fda 0 6px, transparent 7px),
    radial-gradient(circle at 50% 95%, #00b85b 0 6px, transparent 7px);
}

.partner-card.fox {
  font-size: clamp(38px, 4.6vw, 62px);
}

.gallery-section {
  max-width: none;
  padding-inline: clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.gallery-head {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: 34px;
  align-items: end;
}

.gallery-head p:last-child {
  margin-bottom: 4px;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.gallery-item {
  position: relative;
  min-height: 170px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 6, 7, 0), rgba(5, 6, 7, 0.22));
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-tall {
  grid-row: span 2;
  min-height: 350px;
}

.gallery-lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 72px 22px 24px;
  background: rgba(0, 0, 0, 0.88);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(5, 6, 7, 0.7);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 22px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(5, 6, 7, 0.72);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tech-grid article {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.tech-grid article:last-child {
  border-right: 0;
}

.tech-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  text-transform: uppercase;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.about-panel {
  display: grid;
  gap: 10px;
}

.about-panel span {
  padding: 18px 20px;
  border-left: 3px solid var(--amber);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: end;
  padding: 86px clamp(22px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.96), rgba(5, 6, 7, 0.72)),
    url("assets/hero-boat-alpine-lake-legit.png") center bottom / cover;
  border-top: 1px solid var(--line);
}

.contact-section h2 {
  max-width: 440px;
}

.contact-section p {
  max-width: 540px;
  font-size: 18px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.contact-actions a:not(.button) {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.36);
  color: #f4f1eb;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.contact-actions .button {
  min-height: 60px;
  padding-inline: 20px;
  font-size: 12px;
}

.contact-actions span {
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(22px, 5vw, 64px);
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.nav-open .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 14px 22px 22px;
    background: rgba(5, 6, 7, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .site-nav a {
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 680px;
  }

  .service-grid,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .poster-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-grid article {
    border-bottom: 1px solid var(--line);
  }

  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .site-header.nav-open .site-nav {
    top: 68px;
  }

  .brand {
    font-size: 13px;
  }

  .hero {
    min-height: 660px;
    padding: 112px 18px 58px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.78) 54%, rgba(5, 6, 7, 0.36) 100%),
      linear-gradient(180deg, rgba(5, 6, 7, 0.55) 0%, rgba(5, 6, 7, 0.12) 42%, rgba(5, 6, 7, 0.94) 100%);
  }

  h1 {
    max-width: 9ch;
    font-size: 48px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 18px;
  }

  .service-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 250px;
  }

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

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 78px;
  }

  .gallery-section {
    padding-inline: 18px;
  }

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

  .gallery-wide,
  .gallery-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item,
  .gallery-tall {
    min-height: 170px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .tech-grid article {
    border-right: 0;
  }

  .contact-section {
    padding: 64px 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
