@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* AGENTS.md palette */
  --bg: #E6E2DD;
  --ink: #2D2D2D;
  --gold: #BFA181;
  /* derived */
  --gold-hover: #CDB293;
  --ink-soft: #5E5A55;
  --surface: #EEEBE7;
  --media: #D5CFC7;
  --line: rgba(45, 45, 45, 0.14);
  --on-dark: #E6E2DD;
  --on-dark-soft: #B9B2A9;
  --line-dark: rgba(230, 226, 221, 0.16);

  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 6rem);
  --radius: 0.75rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
body.is-locked { overflow: hidden; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: 0.75rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.dev-note {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 150; max-width: min(34rem, calc(100% - 2rem));
  padding: 0.75rem 1rem; border-radius: 0.6rem;
  background: #FFF6D9; color: #4A3B12; border: 1px solid #E3C77A;
  font-size: 0.85rem; line-height: 1.45; box-shadow: 0 10px 30px -12px rgba(0,0,0,.35);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.8rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--small { min-height: 2.5rem; padding: 0.55rem 1.1rem; font-size: 0.72rem; }
/* charcoal on gold passes contrast; white on gold does not */
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); background: rgba(0, 0, 0, 0.12); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav__inner {
  width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem;
}
.nav__brand {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.01em; text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 0.5rem; margin-right: auto;
}
.nav__brand span {
  font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.8;
}
.nav__links { display: flex; gap: 0.25rem; }
.nav__links a {
  padding: 0.5rem 0.8rem; border-radius: 999px; text-decoration: none;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav__links a:hover { background: rgba(255, 255, 255, 0.14); }
.nav.is-solid {
  color: var(--ink);
  background: rgba(230, 226, 221, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-solid .nav__links a:hover { background: rgba(45, 45, 45, 0.07); }
@media (max-width: 719px) { .nav__links { display: none; } }
@media (max-width: 400px) { .nav__brand span { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 7rem var(--gutter) 5rem;
  color: #fff; text-align: center; overflow: hidden; background: #1f1d1b;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { animation: hero-drift 22s ease-in-out infinite alternate; transform-origin: 50% 40%; }
.hero__video { opacity: 0; transition: opacity 1s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,.26) 45%, rgba(0,0,0,.46) 100%);
}
@keyframes hero-drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1%, -1%); } }

.hero__content { display: grid; justify-items: center; gap: 1.25rem; max-width: 64rem; }
.hero__title { display: grid; justify-items: center; gap: 1.1rem; font-weight: 400; }
.hero__what {
  font-family: var(--sans); font-size: clamp(0.7rem, 1.6vw, 0.82rem); font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.88);
  text-wrap: balance; max-width: 22rem;
}
@media (min-width: 640px) { .hero__what { max-width: none; } }
.hero__brand {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.3rem, 7.4vw, 6.25rem); line-height: 1.02;
  letter-spacing: 0.16em; text-transform: uppercase; text-wrap: balance;
  margin-right: -0.16em; /* optically recentres wide tracking */
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero__tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.35rem, 3.2vw, 2.4rem); line-height: 1.25; color: rgba(255, 255, 255, 0.94);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.25rem; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section__head { display: grid; gap: 0.9rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: var(--gold); }
h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 3.75rem); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance;
}
h2 em, h3 em { font-style: italic; }
.section__lead { max-width: 36rem; color: var(--ink-soft); }

/* ---------- films ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter {
  padding: 0.55rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filter span { margin-left: 0.35rem; opacity: 0.6; font-variant-numeric: tabular-nums; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.films { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) {
  .films { grid-template-columns: repeat(2, 1fr); }
  .film.is-wide { grid-column: 1 / -1; }
}
.film[hidden] { display: none; }
.film__link { display: block; text-decoration: none; border-radius: var(--radius); }
.film__media {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 9; background: var(--media);
}
.film__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.film__caption { display: grid; gap: 0.15rem; }
.film__type { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.film__title { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; }
.film__watch {
  justify-self: start; margin-top: 0.9rem; padding: 0.6rem 1.2rem; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}

/* Mouse and trackpad: caption fades in over the image on hover (Zey style). */
@media (hover: hover) and (pointer: fine) {
  .film__link { position: relative; }
  .film__caption {
    position: absolute; inset: 0; border-radius: var(--radius);
    place-content: center; justify-items: center; text-align: center; padding: 1.5rem;
    color: #fff; opacity: 0; transition: opacity .5s var(--ease);
  }
  .film__caption > * { transform: translateY(0.75rem); transition: transform .5s var(--ease); }
  .film__watch { justify-self: center; transition-delay: .06s; }
  .film__link:hover img, .film__link:focus-visible img { transform: scale(1.05); filter: brightness(0.75); }
  .film__link:hover .film__caption, .film__link:focus-visible .film__caption { opacity: 1; }
  .film__link:hover .film__caption > *, .film__link:focus-visible .film__caption > * { transform: none; }
  .film__type { color: rgba(255, 255, 255, 0.85); }
}
/* Touch: no hover, so the caption sits under the image and a play badge shows it is a film. */
@media not all and (hover: hover) and (pointer: fine) {
  .film__caption { padding-top: 0.9rem; }
  .film__type { color: var(--ink-soft); }
  .film__watch { display: none; }
  .film__media::after {
    content: ""; position: absolute; left: 1rem; bottom: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 50%;
    background: rgba(0, 0, 0, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 1.4rem no-repeat;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }
}

/* ---------- services ---------- */
.services { background: var(--surface); }
.services__grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
.service {
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}
.service h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; margin-bottom: 1rem; }
.service li { display: flex; align-items: baseline; gap: 0.85rem; padding-block: 0.55rem; border-top: 1px solid var(--line); }
.service li::before { content: ""; flex: none; width: 0.9rem; height: 1px; background: var(--gold); transform: translateY(-0.3em); }
.services__note { margin-top: 2rem; max-width: 40rem; color: var(--ink-soft); }

/* ---------- about ---------- */
.about__inner { display: grid; gap: 1rem 4rem; }
@media (min-width: 900px) { .about__inner { grid-template-columns: 5fr 7fr; align-items: start; } }
.about__text { display: grid; gap: 1.1rem; max-width: 36rem; font-size: 1.15rem; }

/* ---------- faq ---------- */
.faq { padding-top: 0; }
.faq__inner { display: grid; gap: 1rem 4rem; }
@media (min-width: 900px) { .faq__inner { grid-template-columns: 5fr 7fr; align-items: start; } }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.2rem; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 0.8rem; height: 0.8rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding-bottom: 1.4rem; max-width: 40rem; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--on-dark); }
.contact .eyebrow, .contact .section__lead { color: var(--on-dark-soft); }
.contact__inner { max-width: 52rem; }
.date-form { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 640px) {
  .date-form { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
}
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-soft); }
.field input, .field select {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.95rem; border-radius: 0.6rem;
  background: rgba(230, 226, 221, 0.06); border: 1px solid var(--line-dark); color: var(--on-dark);
  color-scheme: dark;
}
.field input::placeholder { color: rgba(230, 226, 221, 0.45); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.date-form .btn { justify-self: start; margin-top: 0.5rem; }
.contact__direct { margin-top: 1.75rem; color: var(--on-dark-soft); }
.contact__direct a { color: var(--on-dark); text-underline-offset: 0.2em; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-soft); padding-block: 2.5rem 3rem; font-size: 0.9rem; }
.footer__inner { display: grid; gap: 0.6rem; border-top: 1px solid var(--line-dark); padding-top: 2.5rem; }
.footer__brand { font-family: var(--serif); font-size: 1.5rem; color: var(--on-dark); }
.footer__brand span { font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--on-dark-soft); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__links a { color: var(--on-dark); text-underline-offset: 0.2em; }
.footer__legal { font-size: 0.8rem; }

/* ---------- 404 ---------- */
.not-found { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; }
.not-found__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; }
.not-found__title em { font-style: italic; }

/* ---------- floating WhatsApp (phones, after the hero) ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--ink); color: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(1rem); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 900px) { .wa-float { display: none; } }

/* ---------- cinema-mode player ---------- */
.player {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 1rem; background: #000; color: #fff;
  opacity: 0; transition: opacity .3s var(--ease);
}
.player[hidden] { display: none; }
.player.is-open { opacity: 1; }
.player__bar, .player__stage { width: min(80rem, 100%, (100svh - 9rem) * 16 / 9); }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.player__title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.player__close {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer;
}
.player__close:hover { background: rgba(255, 255, 255, 0.18); }
.player__stage { position: relative; aspect-ratio: 16 / 9; background: #111; }
.player__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__yt { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); text-underline-offset: 0.2em; }
.player__yt:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
