/* ============ Design tokens ============ */
:root {
  --bg: #0b0b0c;
  --bg-alt: #151517;
  --bg-card: #1b1b1e;
  --text: #f4f3ef;
  --text-muted: #a6a5a0;
  --border: #2a2a2d;
  --accent: #e8462a;
  --accent-soft: #ff6a45;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
section[id] { scroll-margin-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.02;
  font-weight: 400;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  transition: background 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(11,11,12,0.92);
  backdrop-filter: blur(10px);
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
}
.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--text);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.1) contrast(1.05);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0.35) 0%, rgba(11,11,12,0.15) 35%, rgba(11,11,12,0.95) 100%);
}
.hero-content {
  position: relative;
  padding: 0 32px 90px;
  width: 100%;
}
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  max-width: 16ch;
}
.hero p {
  margin-top: 22px;
  max-width: 30ch;
  color: var(--text);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.scroll-cue {
  position: absolute;
  bottom: 28px; right: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  animation: scroll-bounce 2.2s ease-in-out infinite;
}
.scroll-cue:hover {
  color: var(--text);
  border-color: var(--text-muted);
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (max-width: 640px) {
  .scroll-cue { right: 20px; bottom: 20px; width: 34px; height: 34px; }
}

/* ============ Section shell ============ */
section { padding: 120px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 60px;
}
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.section-head p { color: var(--text-muted); margin-top: 16px; font-size: 1.05rem; }

/* ============ Category tiles (home) ============ */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1), filter 0.4s ease;
  filter: brightness(0.6);
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  z-index: -1;
}
.category-card:hover img { transform: scale(1.08); filter: brightness(0.75); }
.category-card-body { padding: 30px; width: 100%; }
.category-card-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
}
.category-card h3 { font-size: 2.1rem; margin-top: 6px; }
.category-card-link {
  margin-top: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.category-card:hover .category-card-link { color: var(--text); }
.category-card-link .arrow { transition: transform 0.25s ease; }
.category-card:hover .category-card-link .arrow { transform: translateX(6px); }

/* ============ Trust ============ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}
.trust-cell {
  background: var(--bg-card);
  border-radius: 4px;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s ease;
}
.trust-cell:hover { background: #212124; }
.trust-cell img {
  max-width: 100%;
  max-height: 70%;
  transition: transform 0.3s ease;
}
.trust-cell img.trust-logo-lg {
  max-height: 88%;
  max-width: 115%;
}
.trust-cell:hover img { transform: scale(1.06); }
.trust-cell span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.trust-cell:hover span { color: var(--text); }

/* ============ About ============ */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-media { border-radius: 4px; overflow: hidden; aspect-ratio: 4/5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.05rem; }
.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 36px;
}
.about-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
}
.about-stats div span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============ Contact ============ */
.contact { background: var(--bg-alt); }
.contact-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 40px;
}
.contact-cta h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 18px 34px;
  background: var(--accent);
  color: #0b0b0c;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--accent-soft); transform: translateY(-2px); }
.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-links a { color: var(--text-muted); font-size: 1.1rem; }
.contact-links a:hover { color: var(--text); }

/* ============ Footer ============ */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
footer .socials { display: flex; gap: 24px; }
footer a:hover { color: var(--text); }

/* ============ Category page header ============ */
.page-header {
  padding: 190px 0 70px;
}
.page-header .eyebrow { margin-bottom: 8px; }
.page-header h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); }
.page-header p { max-width: 56ch; color: var(--text-muted); margin-top: 18px; font-size: 1.05rem; }

.page-nav {
  display: flex;
  gap: 30px;
  margin-top: 36px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.page-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.page-nav a.active { color: var(--accent); }
.page-nav a:hover { color: var(--text); }

/* ============ Gallery ============ */
.gallery {
  padding-bottom: 140px;
  columns: 3 280px;
  column-gap: 20px;
}
.gallery figure {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 3px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.gallery img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.gallery figure:hover img { transform: scale(1.03); filter: brightness(0.85); }

.gallery-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(244,243,239,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.gallery-play::after {
  content: "";
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #0b0b0c;
  margin-left: 3px;
}
.gallery figure:hover .gallery-play { background: var(--accent); transform: translate(-50%, -50%) scale(1.08); }

.gallery-note {
  margin: -20px 0 60px;
  padding: 22px 26px;
  border: 1px dashed var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 60ch;
}
.gallery-note strong { color: var(--text); }

/* ============ Showreel ============ */
.showreel-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
  cursor: grab;
}
.showreel-strip:active { cursor: grabbing; }
.showreel-strip::-webkit-scrollbar { height: 6px; }
.showreel-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.showreel-card {
  position: relative;
  flex: 0 0 auto;
  width: 240px;
  aspect-ratio: 9/16;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  isolation: isolate;
}
.showreel-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.showreel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.showreel-card:hover img { transform: scale(1.05); filter: brightness(0.8); }
.showreel-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(244,243,239,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}
.showreel-card:hover .showreel-play { background: var(--accent); transform: translate(-50%, -50%) scale(1.08); }
.showreel-play::after {
  content: "";
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #0b0b0c;
  margin-left: 4px;
}
.showreel-label {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 2;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text);
}

/* ============ Lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,5,6,0.96);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox video {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 2px;
  display: none;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 14px;
}
.lightbox-close { top: 20px; right: 24px; font-size: 1.6rem; }
.lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover { color: var(--accent); }

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .categories { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .gallery { columns: 2 240px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 78%; height: 100vh;
    background: var(--bg-alt);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transition: right 0.35s ease;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; z-index: 110; }
}

@media (max-width: 640px) {
  section { padding: 80px 0; }
  .gallery { columns: 1 100%; }
  .contact-wrap { align-items: flex-start; }
  .about-stats { gap: 30px; }
}
