:root {
  --bg: #050505;
  --paper: #f3eee8;
  --ink: #fff8ef;
  --muted: rgba(255, 248, 239, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --accent: #f06c36;
  --accent-2: #35b7b6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 46px);
  color: white;
}

.site-nav.solid {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.brand span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 600;
  white-space: nowrap;
}

.nav-pill {
  position: absolute;
  left: 50%;
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.nav-pill a {
  min-width: 72px;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: background 180ms ease, color 180ms ease;
}

.nav-pill a:hover,
.nav-pill .active {
  background: white;
  color: #111;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: white;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 20px 50px rgba(240, 108, 54, 0.26);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-cta {
  background: white;
  color: #111;
  box-shadow: none;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button:hover {
  background: #dc5e2b;
  box-shadow: 0 22px 65px rgba(240, 108, 54, 0.36);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 28px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease;
}

.text-link:hover {
  background: #dc5e2b;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 100vh;
  height: 100dvh;
  background: black;
}

.hero-image,
.mask-canvas,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.base {
  z-index: 10;
  background-image: url("./assets/hero-set.png");
}

.reveal {
  z-index: 30;
  overflow: hidden;
  background: #050505;
  pointer-events: none;
}

.reveal-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  background: #050505;
}

.reveal-grid video,
.reveal-grid img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.reveal-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.45));
}

.mask-canvas {
  display: none;
}

.hero-vignette {
  z-index: 40;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 28%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 18%, transparent 0 24%, rgba(0, 0, 0, 0.5) 70%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 34%, rgba(0, 0, 0, 0.38));
}

.hero-heading {
  position: absolute;
  z-index: 50;
  top: 13%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  text-align: center;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  color: white;
  font-size: clamp(3.6rem, 10vw, 8.5rem);
  line-height: 0.92;
}

.line {
  display: block;
  font-weight: 500;
}

.line.accent {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.delay-2 {
  animation-delay: 0.42s;
}

.delay-3 {
  animation-delay: 0.7s;
}

.delay-4 {
  animation-delay: 0.85s;
}

.hero-note {
  position: absolute;
  z-index: 50;
  max-width: 285px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.hero-note.left {
  bottom: 58px;
  left: clamp(24px, 4vw, 58px);
}

.hero-note.right {
  right: clamp(24px, 4vw, 58px);
  bottom: 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.showcase {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 6vw, 76px);
  background: #0d0d0b;
}

.section-head {
  max-width: 1180px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2,
.contact h2 {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(2.2rem, 5.4vw, 5.3rem);
  line-height: 0.98;
  font-weight: 600;
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.work-filters button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.work-filters button:hover,
.work-filters button.active {
  border-color: transparent;
  background: white;
  color: #111;
}

.work-filters button:hover {
  transform: translateY(-1px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.14);
}

.project {
  min-height: 280px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #11110f;
}

.event-feature {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0;
  overflow: hidden;
}

.event-feature > div {
  padding: 0 24px 26px;
}

.event-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(240, 108, 54, 0.2), rgba(53, 183, 182, 0.14)),
    #050505;
}

.event-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.event-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.event-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(0, 0, 0, 0.62));
}

.play-badge {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background 180ms ease;
}

.event-thumb:hover .play-badge {
  background: white;
  transform: translate(-50%, -50%) scale(1.06);
}

.video-count {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0;
  overflow: hidden;
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
  object-fit: cover;
}

.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #050505;
}

.video-card video.fit-contain {
  object-fit: contain;
}

.video-card div {
  padding: 0 24px 26px;
}

.project span {
  display: inline-flex;
  margin-bottom: 76px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-card span {
  margin-bottom: 32px;
}

.gallery-page {
  background: #0d0d0b;
}

.gallery-hero {
  padding: 132px clamp(20px, 6vw, 76px) 56px;
}

.gallery-hero h1 {
  max-width: 980px;
  margin: 0 0 28px;
  font-size: clamp(3.1rem, 8vw, 7.4rem);
}

.gallery-hero p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 6vw, 76px) clamp(76px, 10vw, 132px);
}

.project h3 {
  max-width: 320px;
  margin-bottom: 18px;
  color: white;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.project p,
.contact p {
  color: var(--muted);
  line-height: 1.6;
}

.services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.services p {
  margin: 0;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
  text-align: center;
}

.services p:last-child {
  border-right: 0;
}

.contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(76px, 10vw, 132px) clamp(20px, 6vw, 76px);
  background: var(--paper);
  color: #111;
}

.contact .eyebrow,
.contact p {
  color: rgba(17, 17, 17, 0.62);
}

.contact-links {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.button.secondary {
  background: #111;
  color: white;
  box-shadow: none;
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  0% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

.hero-anim {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-reveal {
  animation-name: heroReveal;
  animation-duration: 1.1s;
  animation-delay: 0.25s;
}

.hero-fade {
  animation-name: heroFadeUp;
  animation-duration: 1s;
}

.hero-zoom {
  animation: heroZoom 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 900px) {
  .nav-pill,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: none;
  }

  .site-nav {
    padding: 16px 18px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
  }

  .reveal {
    opacity: 0.34;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .reveal-grid {
    grid-template-columns: 1fr 1fr;
    transform: scale(1.04);
  }

  .base {
    opacity: 0.82;
  }

  .hero-heading {
    top: 15%;
  }

  .hero-note.left {
    display: none;
  }

  .hero-note.right {
    right: 20px;
    left: 20px;
    bottom: 24px;
    max-width: none;
  }

  .section-head,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .work-filters {
    margin-top: 24px;
  }

  .work-filters button {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }

  .project {
    min-height: 230px;
  }

  .project span {
    margin-bottom: 54px;
  }

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

  .services p:nth-child(2n) {
    border-right: 0;
  }

  .contact {
    display: block;
  }

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

  .contact-links {
    margin-top: 30px;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 1.15rem;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .hero-note.right {
    font-size: 0.9rem;
  }

  .hero-note.right p {
    display: none;
  }

  .button {
    width: 100%;
  }

  .showcase,
  .gallery-hero,
  .video-gallery,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-head h2,
  .contact h2 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .project-grid {
    width: 100%;
  }

  .event-feature > div,
  .video-card div {
    padding: 0 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .hero-anim,
  .hero-zoom {
    opacity: 1;
    animation: none;
  }
}
