:root {
  --bg: #0e0c0b;
  --panel: #171413;
  --ink: #efe6dc;
  --muted: #a39a90;
  --line: rgba(239, 230, 220, 0.14);
  --accent: #c9a27a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1320px;
  --blur: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }

/* fixed background video */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); }
.bg video {
  width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%;
  filter: blur(calc(var(--blur) * 30px)) brightness(calc(0.72 - var(--blur) * 0.4)) saturate(calc(1 - var(--blur) * 0.35));
  transform: scale(calc(1.05 + var(--blur) * 0.12));
  will-change: filter, transform;
}
.bg__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,11,.15), rgba(14,12,11,calc(.35 + var(--blur) * .5))); }

/* nav */
.nav {
  position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 32px), 720px); min-height: 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 8px 6px 20px;
  background: rgba(14, 12, 11, 0.32);
  border: 1px solid rgba(239, 230, 220, 0.2);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.nav__brand { font-family: var(--serif); font-size: 1.25rem; text-decoration: none; letter-spacing: .01em; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: rgba(239,230,220,.75); font-size: .9rem; transition: background .2s, color .2s; }
.nav__links a:hover { background: rgba(239,230,220,.1); color: var(--ink); }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(239,230,220,.08); }
.lang button { min-width: 34px; min-height: 30px; border: 0; border-radius: 999px; background: transparent; color: rgba(239,230,220,.6); font: 500 .72rem var(--sans); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

main, .footer { position: relative; z-index: 2; }

/* hero */
.hero { min-height: 100svh; display: grid; place-items: center; padding: 120px 20px 80px; text-align: center; }
.hero__inner { max-width: 980px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero__title {
  margin: 0; font-family: var(--serif); font-weight: 400; line-height: .9;
  font-size: clamp(3.6rem, 13vw, 11rem); letter-spacing: -.01em;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lead { margin: 28px auto 0; max-width: 620px; color: rgba(239,230,220,.82); font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 300; }
.hero__cta { display: inline-flex; gap: 8px; margin-top: 34px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; transition: background .2s; }
.hero__cta:hover { background: rgba(239,230,220,.08); }

/* sections */
.work, .films, .services, .contact { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 120px 0 40px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; }
.section-lead { margin: 20px 0 0; color: var(--muted); max-width: 620px; font-weight: 300; }

/* concepts */
.concept { padding: 56px 0; border-top: 1px solid var(--line); }
.concept__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.concept__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.concept__meta { color: var(--accent); font-size: .85rem; letter-spacing: .04em; }
.concept__meta b { color: var(--accent); font-weight: 600; }
.strip {
  align-items: start;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 30%);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px;
  scrollbar-width: thin; scrollbar-color: rgba(239,230,220,.25) transparent;
}
.strip--tall { grid-auto-columns: minmax(200px, 24%); }
.card { position: relative; margin: 0; scroll-snap-align: start; cursor: zoom-in; border-radius: 4px; overflow: hidden; background: var(--panel); }
.card img, .card video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s; }
.strip--tall .card img, .card--tall video, .card--tall img { aspect-ratio: 9 / 16; }
.card:hover img, .card:hover video { transform: scale(1.03); }
.card__tag { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(14,12,11,.55); font-size: .72rem; letter-spacing: .06em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* films */
.films__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.film { grid-column: span var(--span, 6); margin: 0; cursor: pointer; }
.film--portrait { grid-column: span 3; }
.film__media { position: relative; border-radius: 4px; overflow: hidden; background: var(--panel); }
.film__media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.film--portrait .film__media video { aspect-ratio: 9 / 16; }
.film__play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; color: var(--ink); background: linear-gradient(180deg, transparent 50%, rgba(14,12,11,.5)); transition: opacity .3s; }
.film:hover .film__play { opacity: .7; }
.film figcaption { margin-top: 12px; }
.film__name { font-family: var(--serif); font-size: 1.5rem; }
.film__desc { color: var(--muted); font-size: .85rem; }

/* services */
.services__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.6rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-family: var(--sans); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); font-weight: 300; }

/* contact */
.contact { text-align: center; padding-bottom: 120px; }
.contact .section-lead { margin-left: auto; margin-right: auto; }
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.contact__links a { padding: 14px 24px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: background .2s, border-color .2s; }
.contact__links a:hover { background: rgba(239,230,220,.08); border-color: var(--accent); }

.footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 28px 0 36px; display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.footer a { text-decoration: none; }

/* viewer */
.viewer { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: rgba(10,9,8,.96); color: var(--ink); }
.viewer::backdrop { background: rgba(0,0,0,.7); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; }
.viewer__bar, .viewer__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.viewer__title { font-family: var(--serif); font-size: 1.4rem; }
.viewer__count { color: var(--muted); font-size: .85rem; margin-right: auto; }
.viewer button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 500 .85rem var(--sans); cursor: pointer; }
.viewer button:hover { border-color: var(--accent); }
.viewer__media { display: grid; place-items: center; min-height: 0; }
.viewer__media img, .viewer__media video { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; border-radius: 3px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .nav { padding-left: 16px; }
  .nav__links a { padding: 8px 9px; font-size: .82rem; }
  .nav__brand { display: none; }
  .strip { grid-auto-columns: 78%; }
  .strip--tall { grid-auto-columns: 62%; }
  .film, .film--portrait { grid-column: span 12; }
  .film--portrait .film__media video { aspect-ratio: 4 / 5; }
  .services__list { grid-template-columns: 1fr; }
  .work, .films, .services, .contact { width: calc(100% - 32px); padding-top: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
