:root {
  --bg: #0c0c0d;
  --surface: #141416;
  --surface-2: #1a1a1e;
  --line: #2a2a2e;
  --text: #f4f1ea;
  --muted: #c9c2b8;
  --accent: #d4b896;
  --accent-dim: #6b5a42;
  --overlay: rgba(8, 8, 10, 0.62);
  --header-h: 3.4rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
}
.sans, .btn, .nav, .eyebrow, .lang, .socials, footer, summary, .caption, .chip, .nav-toggle, .mobile-cta, .film-ig-link, .process-step {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
.skip {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #1a140e; padding: .5rem .8rem;
}
.skip:focus { left: .5rem; top: .5rem; z-index: 50; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.wrap-wide { width: min(1280px, 94vw); margin: 0 auto; }

header {
  position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px);
  background: rgba(12,12,13,.85); border-bottom: 1px solid var(--line);
}
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem 0; min-height: var(--header-h);
}
.brand {
  letter-spacing: .14em; text-transform: uppercase; font-size: .78rem;
  color: var(--text); text-decoration: none; flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--accent); }

.nav-tools {
  display: flex; align-items: center; gap: .55rem; flex-shrink: 0;
}
.nav-book {
  display: none;
  padding: .45rem .85rem; border-radius: 999px;
  font-size: .65rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent); color: #1a140e; text-decoration: none !important;
}
.nav-toggle {
  display: none;
  appearance: none; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); width: 2.4rem; height: 2.4rem; border-radius: 8px;
  cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-toggle-bars {
  display: block; width: 1rem; height: 1px; background: currentColor; position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
}
.nav-toggle-bars::before { top: -.35rem; }
.nav-toggle-bars::after { top: .35rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.nav-links {
  display: flex; gap: .65rem 0.85rem; flex-wrap: wrap; align-items: center;
  justify-content: flex-end; flex: 1; min-width: 0;
}
.nav-links > a {
  color: var(--muted); font-size: .7rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
}
.nav-links > a:hover { color: var(--text); text-decoration: none; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  padding: .35rem .55rem; font: inherit; font-size: .68rem; letter-spacing: .08em;
  cursor: pointer; text-transform: uppercase;
}
.lang button.active { background: var(--surface); color: var(--text); }

@media (max-width: 800px) {
  .nav-book { display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; flex-wrap: nowrap;
    gap: 0; padding: .5rem 4vw 1rem;
    background: rgba(12,12,13,.96); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(0,0,0,.45);
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a {
    padding: .85rem .4rem; border-bottom: 1px solid var(--line); font-size: .78rem;
  }
  .nav-links .lang { margin-top: .75rem; align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}

/* Full-bleed hero */
.hero-visual {
  position: relative; min-height: min(92vh, 820px);
  display: grid; align-items: end;
  overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero-visual .hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-visual .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
}
.hero-visual .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(12,12,13,.48) 0%, rgba(12,12,13,.28) 32%, rgba(12,12,13,.78) 68%, rgba(12,12,13,.94) 100%),
    linear-gradient(90deg, rgba(12,12,13,.62) 0%, transparent 55%),
    var(--overlay);
}
.hero-visual .hero-content {
  position: relative; z-index: 2;
  padding: clamp(5rem, 14vw, 8rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
h1 { font-weight: 500; font-size: clamp(2.35rem, 6.5vw, 4.2rem); line-height: 1.05; margin: 0 0 1rem; max-width: 14ch; text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.lede { max-width: 34rem; color: rgba(244,241,234,.9); font-size: 1.06rem; margin: 0 0 1.6rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.25rem; border-radius: 999px;
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none !important;
}
.btn-primary { background: var(--accent); color: #1a140e; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  border: 1px solid rgba(244,241,234,.55); color: var(--text);
  background: rgba(12,12,13,.35);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(12,12,13,.5); }
.btn-ghost:hover { border-color: var(--accent); }

section { padding: clamp(2.8rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
h2 { font-weight: 500; font-size: clamp(1.55rem, 3.4vw, 2.15rem); margin: 0 0 .75rem; }
.section-intro { color: var(--muted); max-width: 36rem; margin: 0 0 1.4rem; }

/* Portfolio masonry */
.masonry {
  columns: 1;
  column-gap: .85rem;
}
@media (min-width: 560px) { .masonry { columns: 2; } }
@media (min-width: 900px) { .masonry { columns: 3; } }
.masonry figure {
  break-inside: avoid; margin: 0 0 .85rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  position: relative;
}
.masonry figure img {
  width: 100%; aspect-ratio: auto; object-fit: cover;
  transition: transform .5s ease;
}
.masonry figure:hover img { transform: scale(1.03); }
.masonry figcaption {
  padding: .75rem .9rem .9rem;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: .72rem; letter-spacing: .04em; line-height: 1.45; color: var(--muted);
}
.chip {
  display: inline-block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent-dim); border-radius: 999px;
  padding: .2rem .5rem; margin-bottom: .4rem;
}

/* Signature cards */
.grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem 1.2rem; }
.card h3 { margin: 0 0 .45rem; font-size: 1.12rem; font-weight: 500; }
.card p, .muted, .faq p { margin: 0; color: var(--muted); }

/* Films / reels */
.films-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .films-grid { grid-template-columns: 1fr 1fr; }
}
.film-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.film-card .embed-wrap {
  position: relative; width: 100%; aspect-ratio: 9 / 16;
  max-height: min(68vh, 560px); background: #000; overflow: hidden;
}
.film-card .embed-wrap iframe {
  position: absolute; left: 50%; top: 0;
  width: 120%; height: 118%;
  transform: translateX(-50%);
  border: 0; pointer-events: auto;
}
/* Poster fallback card (preferred over fragile IG chrome) */
.film-card .film-poster {
  position: relative; display: block; aspect-ratio: 9 / 16;
  max-height: min(68vh, 560px); overflow: hidden; background: #000;
  text-decoration: none !important;
}
.film-card .film-poster img {
  width: 100%; height: 100%; object-fit: cover;
}
.film-card .film-poster .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(12,12,13,.55) 100%);
}
.film-card .film-poster .play span {
  width: 3.2rem; height: 3.2rem; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(212,184,150,.95); color: #1a140e;
  font-size: 1rem; letter-spacing: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.film-card .film-meta {
  padding: .85rem 1rem .4rem; color: var(--muted); font-size: .85rem;
}
.film-card .film-meta a { color: var(--accent); }
.film-ig-link {
  display: inline-block; padding: 0 1rem 1rem;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
}
.film-ig-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.about-grid {
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.1fr .9fr; }
}
.about-photo {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4/5; background: var(--surface);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

.faq details { border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; background: var(--surface); margin: .7rem 0; }
.faq summary { cursor: pointer; color: var(--text); font-size: .95rem; }
.faq details p { margin-top: .55rem; font-size: .95rem; }

/* Contact process */
.contact-ask {
  color: var(--muted); max-width: 36rem; margin: .85rem 0 1.4rem; font-size: .95rem;
}
.process-title {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 1.6rem 0 .85rem;
}
.process-steps {
  display: grid; gap: .85rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.4rem;
}
@media (min-width: 700px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}
.process-step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1rem;
}
.process-step h3 {
  margin: 0 0 .4rem; font-size: .85rem; font-weight: 600;
  letter-spacing: .04em; color: var(--text);
}
.process-step p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }

.socials { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; margin-top: 1.2rem; }
.socials a {
  font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  text-decoration: none; border-bottom: 1px solid var(--accent-dim);
}
.socials a:hover { color: var(--accent); }
footer { padding: 2rem 0 3rem; color: var(--muted); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

/* Sticky mobile bottom CTA */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: .65rem 4vw calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(12,12,13,.94); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  align-items: center; gap: .6rem;
  box-shadow: 0 -8px 24px rgba(0,0,0,.35);
}
.mobile-cta[hidden] { display: none !important; }
.mobile-cta .btn {
  flex: 1; padding: .75rem 1rem; font-size: .72rem;
}
.mobile-cta-dismiss {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; padding: .5rem .4rem; flex-shrink: 0;
}
.mobile-cta-dismiss:hover { color: var(--text); }
@media (max-width: 800px) {
  .mobile-cta:not([hidden]) { display: flex; }
  body { padding-bottom: 4.5rem; }
  footer { padding-bottom: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .masonry figure img { transition: none; }
}


/* Anchor offset under sticky header */
section[id], #top {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
@media (max-width: 800px) {
  section[id] {
    scroll-margin-top: calc(var(--header-h) + 0.75rem);
  }
}
