:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #8a8a8a;
  --line: #d9d9d9;
  --field: #fafafa;
  --gap: 20px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111; --text: #eee; --muted: #8a8a8a; --line: #333; --field: #1a1a1a; }
  .logos img { filter: invert(1) grayscale(1); mix-blend-mode: screen; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Figtree", "Proxima Nova", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.site-header { text-align: center; padding: 56px 16px 40px; }
.site-title {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(28px, 7vw, 56px);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; }
.site-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a.active { color: var(--muted); }

/* Cinematography gallery */
.gallery {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.tile-title {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 16px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  opacity: 0;
  transition: opacity .3s;
}
.play {
  position: absolute; top: 50%; left: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  opacity: 0; transition: opacity .3s;
}
.play::after {
  content: ""; position: absolute; left: 22px; top: 17px;
  border-style: solid; border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent #fff;
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.03); opacity: .85; }
.tile:hover .tile-title, .tile:hover .play,
.tile:focus-visible .tile-title, .tile:focus-visible .play { opacity: 1; }
@media (hover: none) { .tile-title { opacity: 1; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 16px 24px;
}
.lightbox[hidden] { display: none; }
.lb-inner { width: min(1200px, 100%, calc((100vh - 140px) * 16 / 9)); }
.lb-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.lb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: #ccc; font-size: 13px; line-height: 1.4; }
.lb-link { color: #fff; white-space: nowrap; }
.lb-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: 0; color: #fff;
  font-size: 40px; line-height: 1; cursor: pointer; padding: 4px 10px;
}

/* About */
.about { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.hero { width: 100%; height: auto; }
.bio { margin: 32px 0 40px; }
.about h2 { font-size: 22px; font-weight: 700; margin: 0 0 18px; line-height: 1.3; }
.logos {
  list-style: none; margin: 0 0 40px; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px 28px;
}
.logos img { height: 34px; width: auto; }
.carousel { position: relative; margin-bottom: 56px; }
.track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; background: #000;
}
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 3 / 2; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 56px; border: 0; cursor: pointer;
  background: rgba(0,0,0,.35); color: #fff; font-size: 34px; line-height: 1;
}
.car-btn.prev { left: 0; } .car-btn.next { right: 0; }
.car-btn:hover { background: rgba(0,0,0,.6); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.email-link { font-size: 18px; font-weight: 500; }
@media (max-width: 700px) { .contact { grid-template-columns: 1fr; } }
form { font-size: 13px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { padding: 0; margin-bottom: 4px; }
label { display: block; margin-bottom: 14px; }
label span { color: var(--muted); font-size: 11px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row label { margin-bottom: 0; font-size: 11px; }
input, textarea {
  display: block; width: 100%; margin-top: 4px;
  padding: 10px; font: inherit; font-size: 15px; color: var(--text);
  background: var(--field); border: 1px solid var(--line); border-radius: 0;
}
input:focus, textarea:focus { outline: 2px solid var(--text); outline-offset: -1px; }
button[type=submit], .button {
  display: inline-block; text-decoration: none;
  background: var(--text); color: var(--bg); border: 0; cursor: pointer;
  padding: 16px 30px; font: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.hp { position: absolute; left: -9999px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; filter: grayscale(1); }

.thanks { max-width: 640px; margin: 40px auto 120px; padding: 0 16px; text-align: center; }

/* Footer */
.site-footer { padding: 80px 16px 56px; }
.social { display: flex; justify-content: center; gap: 20px; }
.social a { display: inline-flex; padding: 4px; }
.social a:hover { color: var(--muted); }
