@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IM+Fell+English:ital@0;1&family=Inter:wght@300;400;500&display=swap');

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white:        #ffffff;
  --black:        #0a0a0a;
  --mid:          #888888;
  --header-h:     64px;
  --font-display: 'IM Fell English', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-logo:    'Bebas Neue', var(--font-display);
}

/* Visually hidden but accessible to screen readers and crawlers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Scrollbar ─── */
/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a var(--black);
}

html, body {
  height: 100%;
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

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

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s;
}

header.solid {
  background: var(--black);
  border-bottom: 1px solid #1e1e1e;
}

.logo {
  font-family: var(--font-logo);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  z-index: 101;
}

/* Desktop nav */
#desktop-nav {
  display: flex;
  gap: 36px;
}

#desktop-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.75;
  transition: opacity 0.2s;
}

#desktop-nav a:hover,
#desktop-nav a.active { opacity: 1; }

/* ═══════════════════════════════════════════════════
   HAMBURGER BUTTON
═══════════════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Animate to X when open */
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   MOBILE MENU OVERLAY
═══════════════════════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--white);
  opacity: 0.75;
  transition: opacity 0.2s;
  letter-spacing: 0.04em;
}

.mobile-nav a:hover,
.mobile-nav a.active { opacity: 1; }

/* ═══════════════════════════════════════════════════
   HOME – FULL-BLEED VIDEO
═══════════════════════════════════════════════════ */
.home-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--black);
}

/* Desktop video (16:9) — shown by default */
.bg-video-desktop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
  pointer-events: none;
}

/* Mobile video (9:16 portrait) — hidden by default */
.bg-video-mobile {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
  pointer-events: none;
}

.home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.00) 40%,
    rgba(0,0,0,0.35) 100%
  );
}

.home-wordmark {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.1em;
  color: var(--white);
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   INNER PAGES
═══════════════════════════════════════════════════ */
.page-wrap {
  padding-top: var(--header-h);
  min-height: 100vh;
  background: var(--black);
}

/* ─── About ─── */
.about-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 36px 120px;
}

.about-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 20px;
}

.about-heading {
  font-family: var(--font-logo);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 48px;
}

.about-heading em {
  font-style: normal;
}

.about-body {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
}

.about-body p + p { margin-top: 24px; }

.about-divider {
  width: 40px;
  height: 1px;
  background: var(--mid);
  margin: 48px 0;
  opacity: 0.4;
}

/* ─── About socials ─── */
.about-socials {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-socials-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
}

.about-socials-icons {
  display: flex;
  align-items: center;
  gap: 28px;
}

.about-socials-email {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}

.about-socials-email a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s, border-color 0.2s;
}

.about-socials-email a:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.social-icon {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}

.social-icon:hover {
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── About Photo Carousel ─── */
.about-carousel {
  position: relative;
  height: 300px;
  margin: 48px 0 56px;
}

.carousel-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 210px;
  aspect-ratio: 760 / 900;
  overflow: hidden;
  background: #111;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.carousel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-photo.is-center {
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  z-index: 3;
  opacity: 1;
  cursor: default;
}

.carousel-photo.is-left {
  transform: translate(-100%, -50%) scale(0.78) rotate(-6deg);
  z-index: 1;
  opacity: 0.22;
}

.carousel-photo.is-right {
  transform: translate(0%, -50%) scale(0.78) rotate(6deg);
  z-index: 1;
  opacity: 0.22;
}

.carousel-photo.is-left:hover,
.carousel-photo.is-right:hover {
  opacity: 0.4;
}

.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: calc(100vh - var(--header-h));
}

.placeholder-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}

.placeholder-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════
   PHOTO FILTER BAR
═══════════════════════════════════════════════════ */
.photo-filter-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 89;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--black);
  border-bottom: 1px solid #1e1e1e;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.photo-filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 5px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.filter-btn:hover {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.35);
}

.filter-btn.active {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

/* Push grid down when filter bar is visible */
.page-wrap.has-filters {
  padding-top: calc(var(--header-h) + 53px);
}

/* ═══════════════════════════════════════════════════
   PHOTO GRID
═══════════════════════════════════════════════════ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
}

.photo-grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: #111;
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.photo-grid-item:hover img {
  transform: scale(1.04);
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════
   PHOTO LIGHTBOX
═══════════════════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 80px 48px;
}

.lightbox.open { display: flex; }

.lightbox-img-wrap {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border: none;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  font-size: 1.8rem;
  color: var(--white);
  opacity: 0.7;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: opacity 0.2s;
  z-index: 210;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  opacity: 0.5;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 16px;
  transition: opacity 0.2s;
  z-index: 210;
  line-height: 1;
}

.lightbox-arrow:hover { opacity: 1; }
.lightbox-arrow.prev  { left: 8px; }
.lightbox-arrow.next  { right: 8px; }

.lightbox-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
}

.lightbox-counter {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.45;
}

.lightbox-photo-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}

.lightbox-photo-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════
   VIDEO LIST
═══════════════════════════════════════════════════ */
.video-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: calc(var(--header-h) + 24px) 24px 100px;
  max-width: 1000px;
  margin: 0 auto;
}

.video-item {
  width: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #111;
}

.video-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.video-item-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════
   VIDEO LIGHTBOX
═══════════════════════════════════════════════════ */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.94);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.video-lightbox.open { display: flex; }

.video-lightbox-inner {
  width: 88vw;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.video-lightbox-inner iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
  border-radius: 2px;
}

.video-lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  font-size: 1.8rem;
  color: var(--white);
  opacity: 0.7;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: opacity 0.2s;
  z-index: 210;
}

.video-lightbox-close:hover { opacity: 1; }

.vlb-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: 4px;
}

.vlb-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.video-lightbox-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  margin: 0;
}

.video-lightbox-description {
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  max-width: 700px;
  margin: 0;
}

.vlb-quality-badge {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  padding-top: 6px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   TABLET  (max-width: 900px)
═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  header { padding: 0 28px; }

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

  .video-list {
    max-width: 100%;
    gap: 4px;
    padding: calc(var(--header-h) + 24px) 20px 80px;
  }

  .video-lightbox-inner { width: 94vw; }

  .about-inner { padding: 60px 28px 100px; }

  .about-carousel { height: 260px; }
  .carousel-photo { width: 180px; }
}

/* ═══════════════════════════════════════════════════
   MOBILE  (max-width: 600px)
═══════════════════════════════════════════════════ */
@media (max-width: 600px) {
  :root { --header-h: 56px; }

  header { padding: 0 20px; }

  /* Hide desktop nav, show hamburger */
  #desktop-nav { display: none; }
  .hamburger   { display: flex; }
  .mobile-menu { display: flex; }

  /* Switch homepage to portrait video */
  .bg-video-desktop { display: none; }
  .bg-video-mobile  { display: block; }

  .home-wordmark { bottom: 32px; font-size: clamp(1.6rem, 8vw, 2.4rem); }

  /* About */
  .about-inner    { padding: 48px 20px 80px; }
  .about-heading  { margin-bottom: 32px; }
  .about-divider  { margin: 36px 0; }
  .about-body     { font-size: 0.95rem; }

  .about-carousel { height: 170px; margin: 32px 0 40px; }
  .carousel-photo { width: 108px; }
  .carousel-photo.is-left  { transform: translate(-95%, -50%) scale(0.76) rotate(-6deg); }
  .carousel-photo.is-right { transform: translate(-5%, -50%) scale(0.76) rotate(6deg); }

  /* Photo grid */
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 3px; }

  /* Filter bar */
  .photo-filter-bar { padding: 10px 12px; gap: 6px; }
  .filter-btn { font-size: 0.62rem; padding: 4px 12px; }
  .page-wrap.has-filters { padding-top: calc(var(--header-h) + 47px); }

  /* Photo lightbox */
  .lightbox         { padding: 52px 12px 36px; }
  .lightbox-arrow   { font-size: 1.4rem; padding: 8px; }
  .lightbox-arrow.prev { left: 0; }
  .lightbox-arrow.next { right: 0; }
  .lightbox-close   { top: 16px; right: 16px; font-size: 1.5rem; }

  /* Video list */
  .video-list {
    gap: 4px;
    padding: calc(var(--header-h) + 24px) 12px 60px;
  }

  /* Video lightbox */
  .video-lightbox-inner { width: 100vw; padding: 0 12px; gap: 12px; }
  .video-lightbox-close { right: 16px; top: 16px; font-size: 1.5rem; }
  .vlb-meta { flex-direction: column; gap: 10px; }
  .video-lightbox-title { font-size: 1.1rem; }
  .video-lightbox-description { font-size: 0.85rem; }

}
