/* Palette & type taken from the Pixieset site: off-white paper, charcoal text, Spectral serif */
:root {
  --paper: #f9f9f8;
  --paper-2: #f2f1ee;
  --ink: #373737;
  --ink-strong: #131313;
  --muted: #808080;
  --line: #dddddd;
  --dark: #131313;
  --serif: "Spectral", Georgia, serif;
  --sans: "Montserrat", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; color: var(--ink-strong); margin: 0; line-height: 1.15; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.5rem; font-weight: 400; }
em { font-style: italic; }
.hidden { display: none; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
section { padding: clamp(72px, 10vw, 140px) var(--gutter); }
.section-head { max-width: var(--max); margin: 0 auto 3rem; }
.section-head.light h2 { color: #fff; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95em 2em;
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.btn-light { background: #fff; color: var(--ink-strong); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-ghost { background: transparent; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink-strong); }
.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: transparent; color: var(--dark); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  color: #fff;
  transition: background .4s, color .4s, padding .4s;
}
.nav.scrolled { background: rgba(249,249,248,.96); color: var(--ink-strong); padding-block: 14px; border-bottom: 1px solid var(--line); }
.brand { white-space: nowrap; font-family: var(--serif); font-size: 1.35rem; text-decoration: none; letter-spacing: .02em; }
.brand span { font-family: var(--sans); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; margin-left: .4em; opacity: .8; }
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; opacity: .9; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { border: 1px solid currentColor; padding: .7em 1.3em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px 0; transition: transform .3s; }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 560px; padding: 0; overflow: hidden; color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.6) 100%); }
.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(80px, 14vh, 140px); max-width: 1100px; }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.8rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: rgba(255,255,255,.6); }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 18px; background: #fff; animation: cue 2s infinite; }
@keyframes cue { from { transform: translateY(0); opacity: 1; } to { transform: translateY(40px); opacity: 0; } }

/* Intro */
.intro { max-width: 900px; margin: 0 auto; text-align: center; }
.lead { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 300; line-height: 1.45; color: var(--ink-strong); margin: 0 0 2.5rem; }
blockquote { margin: 0; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.1rem; }
cite { font-style: normal; font-size: .8rem; letter-spacing: .12em; }

/* Services */
.services { background: var(--paper-2); }
.service-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.service img { aspect-ratio: 3/4; object-fit: cover; width: 100%; margin-bottom: 1.4rem; transition: filter .5s; filter: saturate(.92); }
.service:hover img { filter: saturate(1.05); }
.service p { margin: .6rem 0 0; font-size: .9rem; }

/* Work gallery */
.filters { max-width: var(--max); margin: 0 auto 2.5rem; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.filter { background: none; border: 0; padding: 4px 0; font: 500 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 1px solid transparent; }
.filter.active, .filter:hover { color: var(--ink-strong); border-color: var(--ink-strong); }
.gallery { max-width: var(--max); margin: 0 auto; columns: 3 300px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.gallery img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .6s; opacity: 0; }
.gallery img.loaded { opacity: 1; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figure.is-hidden { display: none; }

/* Films */
.films { background: var(--dark); color: #cfcfcf; }
.films .eyebrow { color: #8a8a8a; }
.film-feature { max-width: var(--max); margin: 0 auto 4rem; }
.video-embed { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .4s, transform .8s; }
.video-embed:hover img { opacity: .9; transform: scale(1.02); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border: 1px solid #fff; border-radius: 50%; }
.play::after { content: ""; position: absolute; left: 34px; top: 27px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.film-list { max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid #2c2c2c; }
.film-list li { display: flex; justify-content: space-between; gap: 24px; padding: 1.3rem 0; border-bottom: 1px solid #2c2c2c; }
.film-title { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: #fff; font-weight: 300; }
.film-role { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #8a8a8a; text-align: right; white-space: nowrap; align-self: center; }
.festival { max-width: var(--max); margin: 2.5rem auto 0; font-size: .9rem; }
.festival strong { color: #fff; font-weight: 500; }
.film-links { max-width: var(--max); margin: 2rem auto 0; display: flex; flex-wrap: wrap; gap: 14px; }

/* Clients */
.clients { text-align: center; padding-block: 64px; border-bottom: 1px solid var(--line); }
.clients ul { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; }
.clients li { font-family: var(--serif); font-size: 1.25rem; color: var(--ink-strong); opacity: .75; }

/* About */
.about { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-text p { max-width: 520px; }
.about-text h2 { margin-bottom: 1.5rem; }
.langs { color: var(--muted); font-size: .85rem; letter-spacing: .05em; }
.about .btn { margin-top: 1rem; }

/* Pricing */
.pricing { background: var(--paper-2); }
.price-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.price { background: var(--paper); padding: 2.2rem 1.8rem; display: flex; flex-direction: column; }
.price p { font-size: .88rem; margin: .8rem 0 1.6rem; flex: 1; }
.amount { font-family: var(--serif); font-size: 1.5rem !important; color: var(--ink-strong); margin: 0 !important; flex: 0 !important; }

/* Contact */
.contact { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: 4fr 6fr; gap: clamp(32px, 6vw, 96px); }
.contact-intro h2 { margin-bottom: 1.2rem; }
.email { font-family: var(--serif); font-size: 1.35rem; color: var(--ink-strong); text-decoration: none; border-bottom: 1px solid var(--line); }
.email:hover { border-color: var(--ink-strong); }
.socials { list-style: none; padding: 0; margin: 2rem 0 0; }
.socials a { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; display: inline-block; padding: .35rem 0; border-bottom: 1px solid transparent; }
.socials a:hover { border-color: currentColor; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; align-content: start; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 1rem var(--sans); color: var(--ink-strong); letter-spacing: 0; text-transform: none;
  background: transparent; border: 0; border-bottom: 1px solid #bdbdbd; padding: 10px 0; border-radius: 0; outline: none;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--ink-strong); }
.contact-form button { justify-self: start; }

/* Footer */
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 36px var(--gutter); border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.footer .brand { color: var(--ink-strong); }
.footer p { margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.96); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; font-weight: 200; cursor: pointer; padding: 16px; line-height: 1; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.8rem;
    background: var(--paper); color: var(--ink-strong);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-links a { font-size: .9rem; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.open { color: var(--ink-strong); }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .about, .contact { grid-template-columns: 1fr; }
  .film-list li { flex-direction: column; gap: 4px; }
  .film-role { text-align: left; white-space: normal; align-self: flex-start; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .gallery { columns: 2 140px; column-gap: 8px; }
  .gallery figure { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
