:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #6b665f;
  --paper: #f4f1ea;
  --panel: #ffffff;
  --line: rgba(23, 23, 23, 0.14);
  --accent: #b84a2f;
  --deep: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(244, 241, 234, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 86vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 92px clamp(18px, 5vw, 64px) 56px;
  background: #0f1110;
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  transition: opacity 420ms ease;
}

.hero-media video.is-fading {
  opacity: 0.18;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.42), rgba(7, 8, 8, 0.18) 62%),
    linear-gradient(0deg, rgba(7, 8, 8, 0.64), rgba(7, 8, 8, 0.18) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.6rem, 6.8vw, 6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.intro {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-band,
.contact-band {
  padding: 48px clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 520px;
  margin-bottom: 24px;
}

.section-heading h2,
.contact-band h2 {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2vw, 2rem);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 620;
}

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

.video-card {
  border: 0;
  padding: 0;
  text-align: left;
  background: #171717;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 4px;
}

.video-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease;
}

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

.play-mark {
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 220ms ease, background 220ms ease;
}

.play-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid white;
  transform: translate(-50%, -50%);
}

.video-card:hover .play-mark,
.video-card:focus-visible .play-mark {
  opacity: 1;
}

.contact-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  background: var(--deep);
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f3a48e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-links {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.contact-link {
  font-size: clamp(0.95rem, 1.45vw, 1.2rem);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.lightbox {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 9, 9, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.player-shell {
  width: min(1080px, 100%);
}

.player-shell video {
  width: 100%;
  max-height: 80vh;
  background: #050505;
  border-radius: 6px;
}

.close-button {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: white;
  background: rgba(0, 0, 0, 0.48);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 920px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 13px 16px;
  }

  .nav {
    gap: 14px;
  }

  .hero {
    min-height: 78vh;
    padding: 86px 18px 42px;
  }

  .section-heading,
  .contact-band {
    align-items: start;
    flex-direction: column;
  }

  .contact-links {
    justify-items: start;
  }

  .work-band,
  .contact-band {
    padding: 38px 18px;
  }

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

  .video-card,
  .video-card img {
    min-height: 390px;
  }
}
