* {
  box-sizing: border-box;
}

:root {
  --bg: #020807;
  --text: #f4f4f0;
  --muted: rgba(244, 244, 240, 0.58);
  --line: rgba(255, 255, 255, 0.13);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
}

.glass {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.04)
  );
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 24px 80px rgba(0,0,0,0.35);
}

/* Header */

.header {
  position: fixed;
  z-index: 20;
  top: 24px;
  left: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 32px;
  font-weight: 200;
  letter-spacing: -0.12em;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 54px;
  padding: 20px 54px;
  border-radius: 999px;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav .active {
  position: relative;
}

.nav .active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 38px;
  height: 2px;
  transform: translateX(-50%);
  background: white;
  box-shadow: 0 0 18px white;
}

/* Hero */

.hero {
  position: relative;
  min-height: 720px;
  height: 72vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.48) 36%,
      rgba(0,0,0,0.12) 72%,
      rgba(0,0,0,0.55) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 60px;
  padding-top: 190px;
  max-width: 540px;
}

.eyebrow,
.section-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 24px 0 20px;
  font-size: clamp(72px, 8vw, 118px);
  line-height: 0.9;
  font-weight: 200;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.location span {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 14px;
  border-radius: 50%;
  background: #00aaff;
}

.reel-row {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.watch-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 0 26px rgba(255,255,255,0.10),
    0 14px 42px rgba(0,0,0,0.32);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

.watch-button:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.28);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.26),
    0 0 34px rgba(255,255,255,0.14),
    0 18px 52px rgba(0,0,0,0.42);
}

.play {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid rgba(255,255,255,0.92);
}

.duration {
  color: white;
  font-size: 14px;
}

.scroll {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

/* Reel stills */

.reel-stills {
  padding: 34px 44px 54px;
  border-bottom: 1px solid var(--line);
}

.still-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.still-row img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  opacity: 0.86;
  cursor: zoom-in;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.still-row img:hover {
  opacity: 1;
  transform: translateY(-4px);
}

/* Featured section */

.featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 44px;
  padding: 54px 60px 80px;
}

.project-list {
  padding-top: 20px;
}

.project-link {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(255,255,255,0.38);
  transition: color 0.3s ease;
}

.project-link:hover,
.project-link.active {
  color: white;
}

.project-link span {
  display: block;
  font-size: 22px;
  text-transform: uppercase;
}

.project-link small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.view-all {
  display: inline-block;
  margin-top: 32px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
}

 .project-card {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: #000;

  /* Softer than a normal border. The visible edge comes mostly from shadows below. */
  border: 1px solid rgba(255,255,255,0.07);

  box-shadow:
    0 22px 70px rgba(0,0,0,0.42),
    0 0 0 1px rgba(255,255,255,0.035),
    inset 0 1px 1px rgba(255,255,255,0.08),
    inset 0 -1px 1px rgba(255,255,255,0.035);
}

.project-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  transition:
    opacity 0.35s ease,
    transform 0.5s ease;
}

/* Actual blur layer. It only affects the right side of the card. */
.project-soften {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(18px) saturate(92%);
  -webkit-backdrop-filter: blur(18px) saturate(92%);
  opacity: 0.78;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 45%,
    rgba(0,0,0,0.22) 58%,
    rgba(0,0,0,0.72) 78%,
    black 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 45%,
    rgba(0,0,0,0.22) 58%,
    rgba(0,0,0,0.72) 78%,
    black 100%
  );
}

/* Darker right side + soft vignette around all edges. */
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.02) 0%,
      rgba(0,0,0,0.05) 38%,
      rgba(0,0,0,0.24) 62%,
      rgba(0,0,0,0.52) 82%,
      rgba(0,0,0,0.74) 100%
    ),
    radial-gradient(
      120% 105% at 50% 50%,
      rgba(0,0,0,0.00) 58%,
      rgba(0,0,0,0.18) 83%,
      rgba(0,0,0,0.40) 100%
    );
}

/* Frosted-glass rim: transparent center, soft bright rim, darker edge rolloff. */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    inset 0 1px 2px rgba(255,255,255,0.20),
    inset 0 -1px 2px rgba(255,255,255,0.045),
    inset 0 0 20px rgba(255,255,255,0.035),
    inset 0 0 72px rgba(0,0,0,0.32);
}

.project-info {
  position: absolute;
  z-index: 2;
  right: 54px;
  top: 50%;
  transform: translateY(-50%);
  width: 310px;
  text-shadow:
    0 2px 12px rgba(0,0,0,0.70),
    0 12px 34px rgba(0,0,0,0.58);
}

.project-info h2 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 24px 0;
}

.project-info p {
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

.meta {
  margin: 32px 0 54px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Reel modal + image modal */

.reel-modal,
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-modal {
  z-index: 110;
}

.reel-modal.active,
.image-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.reel-backdrop,
.image-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.reel-container {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82vw;
  max-width: 1400px;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  overflow: hidden;
  background: black;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
}

.reel-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.image-modal img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 88vw;
  max-height: 84vh;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0,0,0,0.65);
}

.close-modal,
.close-image,
.gallery-arrow {
  position: absolute;
  z-index: 3;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.close-modal,
.close-image {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.gallery-arrow {
  top: 50%;
  width: 56px;
  height: 56px;
  transform: translateY(-50%);
  font-size: 44px;
  line-height: 1;
}

.gallery-prev {
  left: 32px;
}

.gallery-next {
  right: 32px;
}

/* Mobile */

@media (max-width: 900px) {
  .header {
    left: 24px;
    right: 24px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 680px;
    height: 85vh;
  }

  .hero-content {
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 180px;
  }

  h1 {
    font-size: 64px;
  }

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

  .featured {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .project-card {
    min-height: 620px;
    border-radius: 22px;
  }

  .project-soften {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0.5;
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      transparent 45%,
      black 82%,
      black 100%
    );
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      transparent 45%,
      black 82%,
      black 100%
    );
  }

  .project-card::after {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.35) 45%,
        rgba(0,0,0,0.72) 100%
      );
  }

  .project-info {
    left: 28px;
    right: 28px;
    bottom: 36px;
    top: auto;
    transform: none;
    width: auto;
  }

  .reel-container {
    width: 92vw;
    border-radius: 18px;
  }

  .gallery-prev {
    left: 12px;
  }

  .gallery-next {
    right: 12px;
  }
}


/* Footer */

.footer {
  display: flex;
  justify-content: space-between;
  padding: 34px 60px;
  color: var(--muted);
  font-size: 13px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

@media (max-width: 900px) {
  .footer {
    flex-direction: column;
    gap: 12px;
    padding: 28px 24px;
  }
}


/* Mobile navigation */

@media (max-width: 900px) {
  .header {
    top: 18px;
    left: 18px;
    right: 18px;
    align-items: flex-start;
    gap: 14px;
  }

  .logo {
    position: relative;
    z-index: 30;
    font-size: 30px;
    line-height: 1;
    padding-top: 4px;
  }

  .nav {
    display: flex;
    position: relative;
    left: auto;
    transform: none;
    margin-left: auto;
    max-width: calc(100vw - 105px);
    gap: 0;
    padding: 7px;
    border-radius: 999px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .nav a.active {
    background: rgba(255,255,255,0.16);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.16),
      0 8px 24px rgba(0,0,0,0.18);
  }

  .nav .active::after {
    display: none;
  }

  .play {
    width: 24px;
    height: 24px;
  }

  .play::before {
    border-top-width: 4.5px;
    border-bottom-width: 4.5px;
    border-left-width: 7px;
  }
}

/* Watch button alignment fix */

.watch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 26px 12px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 0 26px rgba(255,255,255,0.10),
    0 14px 42px rgba(0,0,0,0.32);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

.watch-button:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.28);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.26),
    0 0 34px rgba(255,255,255,0.14),
    0 18px 52px rgba(0,0,0,0.42);
}

.play {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid rgba(255,255,255,0.92);
}

@media (max-width: 900px) {
  .watch-button {
    padding: 11px 22px 11px 16px;
    gap: 13px;
    font-size: 11px;
  }

  .play {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .play::before {
    border-top-width: 5.5px;
    border-bottom-width: 5.5px;
    border-left-width: 8.5px;
  }
}
/* END Watch button alignment fix */
