/* ── Custom Font ── */
@font-face {
  font-family: 'Jura';
  src: url('fonts/Jura-VariableFont.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --text: #e8e4de;
  --muted: #6b6760;
  --accent: #4dff6e;
  --line: rgba(232,228,222,0.08);
  --font-sans: 'Jura', sans-serif;
  --font-serif: 'Jura', sans-serif;
  --max: 1680px;
  --nav-h: 107px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }

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

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s, background 0.2s;
}
.cursor.big {
  width: 62px; height: 62px;
  background: transparent; border: 1px solid var(--accent);
}

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  border-bottom: 1px solid var(--line);
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  transition: background 0.3s;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}

.nav-links { display: flex; gap: 72px; list-style: none; }
.nav-links a {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-burger {
  display: none; flex-direction: column; gap: 7px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-burger span {
  display: block; width: 31px; height: 1px;
  background: var(--text); transition: 0.3s;
}

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 25px 56px;
  font-size: 1.19rem; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ── HERO (kept at original scale) ── */
#hero {
  position: relative;
  overflow: hidden;
  padding: var(--nav-h) 0 0;
}

.hero-grid {
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; gap: 4px;
}

.hero-row-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  grid-template-areas:
    "p  p  big big"
    "p  p  big big";
  gap: 4px;
}
.hero-row-bottom .gallery-item { aspect-ratio: 16 / 9; }

.hero-row-extra {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.hero-row-extra .gallery-item { aspect-ratio: 16 / 9; }

.hero-row-collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.more-works-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 100%;
  background: none; border: none; cursor: pointer;
  padding: 28px 0 24px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 0.2s;
}
.more-works-btn:hover { color: var(--accent); }
.more-works-btn .more-works-chevron { transition: transform 0.35s ease; }
.more-works-btn.open .more-works-chevron { transform: rotate(180deg); }

/* ── TICKER ── */
.ticker {
  background: var(--accent); color: #0a0a0a;
  padding: 12px 0; overflow: hidden; white-space: nowrap;
}
.ticker-track {
  display: inline-flex; gap: 0;
  animation: ticker-scroll 20s linear infinite;
}
.ticker-item {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; padding: 0 40px;
}
.ticker-sep { font-weight: 400; opacity: 0.5; padding: 0; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--ticker-distance, -50%)); }
}

.hero-panel {
  grid-area: p;
  position: relative; z-index: 1;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 48px;
}

.hero-label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400; line-height: 0.95;
  margin-bottom: 32px;
}

.hero-sub {
  font-size: 1rem; color: var(--muted);
  max-width: 380px; margin-bottom: 48px;
}

.hero-services {
  list-style: none;
}
.hero-services li {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ── SECTIONS common ── */
section { padding: 168px 0; }
section + section { border-top: 1px solid var(--line); }

.section-label {
  display: block;
  font-size: 0.98rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.showreel-label {
  font-size: 1.96rem; letter-spacing: 0.15em; margin-bottom: 45px;
}

.section-header { margin-bottom: 90px; }

h2 {
  font-family: var(--font-serif);
  font-size: clamp(3.36rem, 7vw, 6.3rem);
  font-weight: 400; line-height: 1.05;
}

/* ── ABOUT ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 112px; align-items: center;
}

.about-text h2 { margin-bottom: 45px; }
.about-text p { color: var(--text); margin-bottom: 28px; font-size: 1.54rem; font-weight: 400; }
.about-text p:last-of-type { margin-bottom: 56px; }

.availability {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 1.05rem; letter-spacing: 0.04em;
  color: var(--text);
}
.availability-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent);
  animation: availability-pulse 2s ease-in-out infinite;
}
@keyframes availability-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.about-photo { aspect-ratio: 3/4; overflow: hidden; width: 78%; margin: 0 auto; }

/* ── WORK TILES (hero) ── */
.gallery-item { position: relative; overflow: hidden; cursor: none; }

.gallery-img-wrap {
  width: 100%; height: 100%;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s;
  filter: grayscale(15%) brightness(0.85);
}
.gallery-item:hover .gallery-img-wrap { transform: scale(1.04); filter: grayscale(0%) brightness(1); }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(transparent, rgba(13,13,13,0.9));
  transform: translateY(8px); opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.gallery-caption h3 { font-size: 0.95rem; font-weight: 400; margin-bottom: 4px; }
.gallery-caption p  { font-size: 0.72rem; color: var(--accent); letter-spacing: 0.05em; }

.hero-video-tile { cursor: auto; }
.hero-video-tile .gallery-img-wrap { filter: none; transition: none; }
.hero-video-tile:hover .gallery-img-wrap { transform: none; filter: none; }

/* ── LIGHTBOX ── */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(13,13,13,0.96);
  align-items: center; justify-content: center;
  cursor: none;
}
#lightbox.open { display: flex; }

.lb-inner {
  max-width: 1260px; width: 90vw; cursor: default;
}
.lb-img-wrap {
  width: 100%; aspect-ratio: 16/9;
  background: var(--bg2); margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.lb-info h3 { font-family: var(--font-serif); font-size: 1.96rem; font-weight: 400; }
.lb-info p  { font-size: 1.12rem; color: var(--accent); margin-top: 8px; }

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: none; border: none; color: var(--text);
  cursor: none; font-size: 2.8rem; line-height: 1;
  transition: color 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--accent); }
.lb-close { top: 45px; right: 56px; font-size: 1.68rem; }
.lb-prev   { left: 34px; top: 50%; transform: translateY(-50%); font-size: 4.2rem; }
.lb-next   { right: 34px; top: 50%; transform: translateY(-50%); font-size: 4.2rem; }

/* ── VIDEO ── */
#video { padding: 0; }

.video-fullbleed {
  position: relative; left: 50%; width: 100vw;
  transform: translateX(-50%);
}

.video-embed-wrap {
  position: relative; width: 100%; height: 28.125vw;
  background: var(--bg2); overflow: hidden;
}
.video-embed-wrap iframe {
  position: absolute; left: 0; top: 50%; width: 100%; height: 56.25vw;
  transform: translateY(-50%);
  border: 0; pointer-events: none;
}
.video-embed-wrap:fullscreen { height: 100%; }
.video-embed-wrap:fullscreen iframe { height: 100%; top: 0; transform: none; pointer-events: auto; }
.video-embed-wrap:-webkit-full-screen { height: 100%; }
.video-embed-wrap:-webkit-full-screen iframe { height: 100%; top: 0; transform: none; pointer-events: auto; }

.video-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom, rgba(13,13,13,0.15), rgba(13,13,13,0.5));
  border: none; padding: 0; cursor: none;
  transition: background 0.3s, opacity 0.3s;
}
.video-overlay:hover { background: linear-gradient(to bottom, rgba(13,13,13,0.05), rgba(13,13,13,0.35)); }
.video-overlay-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 400; letter-spacing: -0.02em;
  color: var(--text);
}

/* ── CONTACT ── */
#contact { background: var(--bg2); padding: 120px 0 100px; }

#contact .section-label { font-size: 3.24rem; margin-bottom: 28px; text-transform: none; }

.contact-compact {
  display: grid;
  grid-template-columns: minmax(0, 480px) max-content;
  gap: 72px;
  align-items: start;
  margin-top: 32px;
}

.qr-box {
  width: 376px; height: 376px; flex-shrink: 0;
  background: #fff;
  padding: 14px;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }

.contact-links-clean { display: flex; flex-direction: column; }

.link-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.5rem;
  color: var(--text);
  transition: color 0.2s, padding-left 0.2s;
}
.link-row:first-child { border-top: 1px solid var(--line); }
.link-row .arrow {
  font-size: 1.3rem; color: var(--muted);
  transition: transform 0.2s, color 0.2s;
}
.link-row:hover { color: var(--accent); padding-left: 10px; }
.link-row:hover .arrow { color: var(--accent); transform: translate(2px, -2px); }

/* ── FOOTER ── */
footer {
  padding: 45px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex; align-items: center;
}
footer span { font-size: 1.05rem; color: var(--muted); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor { display: none; }
  .gallery-item, #lightbox, .lb-close, .lb-prev, .lb-next { cursor: pointer; }

  .container { padding: 0 34px; }
  #nav { padding: 0 34px; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .about-grid   { grid-template-columns: 1fr; gap: 67px; }
  .about-photo  { order: -1; aspect-ratio: 4/3; width: 100%; }

  .hero-row-bottom {
    grid-template-columns: 1fr;
    grid-template-areas:
      "p"
      "big";
  }
  .hero-panel { padding: 40px 24px; }
  .hero-row-extra { grid-template-columns: repeat(2, 1fr); }

  .video-embed-wrap { height: 56.25vw; }
  .video-embed-wrap iframe { height: 56.25vw; top: 0; transform: none; }
  .video-overlay-title { font-size: clamp(2rem, 10vw, 3.5rem); }

  #contact .section-label { font-size: 1.4rem; margin-bottom: 16px; }
  .contact-compact { grid-template-columns: 1fr; gap: 24px; }
  .qr-box { width: 120px; height: 120px; aspect-ratio: unset; }

  .lb-prev { left: 11px; }
  .lb-next { right: 11px; }
}

@media (max-width: 560px) {
  section { padding: 112px 0; }
  .hero-row-extra { grid-template-columns: 1fr; }
}
