/* ============================================================
   IMAGINE STUDIO — Films & Photography
   Dark cinematic design system
   ============================================================ */

:root {
  --bg0: #0a0a0b;
  --bg1: #101012;
  --bg2: #161619;
  --ink: #f2efe9;
  --ink-dim: #beb9b0;
  --muted: #8b867e;
  --gold: #c8a165;
  --gold-bright: #e2c08a;
  --line: rgba(242, 239, 233, 0.14);
  --line-soft: rgba(242, 239, 233, 0.07);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 4.5vw, 72px);
  --section: clamp(56px, 8vw, 110px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* No CSS scroll-behavior:smooth here — it fights Lenis (double animation) */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--bg0); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: #2c2c30; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a40; }

/* ---------- film grain + vignette ---------- */
.grain {
  position: fixed; inset: -100px; z-index: 2000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-30px, 20px); }
  50% { transform: translate(25px, -35px); }
  75% { transform: translate(-20px, -15px); }
  100% { transform: translate(0, 0); }
}

/* ---------- typography ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 9vw, 9rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.h-xl {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h-lg {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  line-height: 1.12;
}
.h-md { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.serif-i { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.gold { color: var(--gold); }
.dim { color: var(--ink-dim); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.7; color: var(--ink-dim); max-width: 40em; }
p { color: var(--ink-dim); }

.label {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: clamp(20px, 3vw, 40px);
}
.label::after { content: ""; height: 1px; width: 56px; background: var(--gold); opacity: 0.5; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1500px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: calc(var(--section) / 2); }
.section-lg { padding-block: var(--section); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 26px); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid-4 { grid-template-columns: 1fr; } }
.hr { border: 0; border-top: 1px solid var(--line-soft); }

/* ---------- reveal states (only when JS is on) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }
[data-split] .line { display: block; overflow: hidden; padding-block: 0.06em; margin-block: -0.06em; }
[data-split] .word { display: inline-block; }
html.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
html.no-motion [data-split] { visibility: visible !important; }

/* ---------- buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 34px; border: 1px solid var(--line);
  border-radius: 999px; font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background 0.4s var(--ease);
}
.btn:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-solid { background: var(--gold); border-color: var(--gold); color: var(--bg0); }
.btn-solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--bg0); }
.link-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: 6px; position: relative; color: var(--ink);
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform-origin: left; transform: scaleX(0.35);
  transition: transform 0.5s var(--ease);
}
.link-line:hover::after { transform-origin: left; transform: scaleX(1); }
.link-line:hover { color: var(--gold-bright); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 5000; background: var(--bg0);
  display: none; align-items: center; justify-content: center;
  transition: transform 0.9s var(--ease);
}
html.js .preloader { display: flex; } /* no-JS visitors must never be trapped behind it */
.preloader.is-done { transform: translateY(-101%); pointer-events: none; }
.preloader-word {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2rem, 7vw, 5rem); letter-spacing: 0.08em; display: flex; overflow: hidden;
}
.preloader-word span { display: inline-block; transform: translateY(115%); animation: pre-up 0.7s var(--ease) forwards; }
.preloader-word span:nth-child(2) { animation-delay: 0.05s; }
.preloader-word span:nth-child(3) { animation-delay: 0.1s; }
.preloader-word span:nth-child(4) { animation-delay: 0.15s; }
.preloader-word span:nth-child(5) { animation-delay: 0.2s; }
.preloader-word span:nth-child(6) { animation-delay: 0.25s; }
.preloader-word span:nth-child(7) { animation-delay: 0.3s; }
@keyframes pre-up { to { transform: translateY(0); } }
html.no-motion .preloader { display: none; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100; /* above .mobile-menu so the burger stays reachable */
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10, 10, 11, 0.82); backdrop-filter: blur(14px); border-color: var(--line-soft); }
.nav.menu-open { background: transparent; backdrop-filter: none; border-color: transparent; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad); max-width: 1500px; margin: 0 auto;
}
.logo { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.1em; text-transform: uppercase; z-index: 1002; position: relative; }
.logo b { font-weight: 600; }
.logo span { font-size: 0.62rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.34em; color: var(--gold); }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 42px); align-items: center; }
.nav-links a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim); transition: color 0.3s ease; position: relative; padding: 6px 0;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold);
}
.nav-cta { border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px !important; color: var(--ink) !important; transition: border-color 0.3s ease, color 0.3s ease !important; }
.nav-cta:hover { border-color: var(--gold); color: var(--gold-bright) !important; }
.nav-cta::after { display: none !important; }

.burger { display: none; z-index: 1002; position: relative; width: 44px; height: 44px; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s ease, top 0.4s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg0);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0% 0); visibility: visible; transition: clip-path 0.7s var(--ease), visibility 0s; }
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 4rem);
  text-transform: uppercase; line-height: 1.25; color: var(--ink-dim);
  transition: color 0.3s ease, padding-left 0.4s var(--ease);
  border-bottom: 1px solid var(--line-soft); padding-block: 10px;
}
.mobile-menu a:hover, .mobile-menu a.is-active { color: var(--ink); padding-left: 12px; }
.mobile-menu .mobile-meta { margin-top: 34px; display: flex; gap: 24px; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .burger { display: block; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media .hero-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-fallback { background: url("../assets/img/hero-poster.jpg") center/cover no-repeat; display: none; }
.hero.no-video .hero-fallback { display: block; animation: kenburns 22s ease-in-out infinite alternate; }
.hero.no-video video { display: none; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,0.42) 0%, rgba(10,10,11,0) 58%),
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.15) 35%, rgba(10,10,11,0.42) 70%, rgba(10,10,11,0.94) 100%);
}
.hero-content { position: relative; z-index: 5; width: 100%; padding: 0 var(--pad) clamp(48px, 7vh, 90px); max-width: 1500px; margin: 0 auto; }
.hero-kicker { display: flex; align-items: center; gap: 14px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.hero-kicker::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.hero-title { margin-bottom: 30px; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero-sub { max-width: 34em; color: var(--ink-dim); font-size: clamp(0.98rem, 1.3vw, 1.15rem); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  position: absolute; right: var(--pad); bottom: clamp(48px, 7vh, 90px);
  writing-mode: vertical-rl; font-size: 0.68rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 1100px) { .hero-meta { display: none; } }
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 1px; height: 52px; overflow: hidden; z-index: 6; opacity: 0.7;
}
.scroll-cue::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent, var(--ink));
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0% { top: -100%; } 60%, 100% { top: 100%; } }

.play-pill {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.play-pill .ring {
  width: 58px; height: 58px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; transition: border-color 0.4s ease, transform 0.4s var(--ease);
}
.play-pill:hover .ring { border-color: var(--gold); transform: scale(1.08); }
.play-pill .ring svg { width: 14px; height: 14px; fill: var(--ink); margin-left: 2px; }

/* ---------- statement / intro ---------- */
.statement { max-width: 1120px; }
.statement .h-xl em { color: var(--gold); font-style: italic; font-weight: 400; }

/* ---------- featured work cards (home) ---------- */
.feature-list { display: flex; flex-direction: column; gap: clamp(40px, 5.5vw, 80px); }
.feature {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 70px); align-items: end;
}
.feature:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature:nth-child(even) .feature-info { order: 1; text-align: right; align-items: flex-end; }
@media (max-width: 900px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .feature:nth-child(even) .feature-info { order: 1; text-align: left; align-items: flex-start; }
}
.feature-media {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--bg2);
}
.feature-media img, .feature-media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), opacity 0.6s ease;
}
.feature-media video { position: absolute; inset: 0; opacity: 0; }
.feature:hover .feature-media img { transform: scale(1.05); }
.feature-media.has-video:hover video { opacity: 1; }
/* .autoplay features play on their own; the video paints over the poster as soon as frames arrive */
.feature-media.autoplay video { opacity: 1; }
html.no-motion .feature-media.autoplay video { opacity: 0; }
.feature-tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  background: rgba(10, 10, 11, 0.65); backdrop-filter: blur(6px);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 7px 14px; color: var(--ink);
}
.feature-info { display: flex; flex-direction: column; gap: 12px; padding-bottom: 6px; }
.feature-info .idx { font-size: 0.72rem; letter-spacing: 0.3em; color: var(--muted); }
.feature-info h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.1; }
.feature-info p { color: var(--muted); font-size: 0.95rem; max-width: 30em; }

/* ---------- services panels (home) ---------- */
.service-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end; background: var(--bg2);
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s ease; filter: saturate(0.85); }
.service-card:hover img { transform: scale(1.06); filter: saturate(1); }
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0) 30%, rgba(10,10,11,0.9) 100%);
}
.service-body { position: relative; z-index: 3; padding: clamp(20px, 2.6vw, 36px); width: 100%; }
.service-body .num { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gold); display: block; margin-bottom: 10px; }
.service-body h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; margin-bottom: 8px; }
.service-body p { font-size: 0.9rem; color: var(--ink-dim); margin-bottom: 16px; max-width: 26em; }
.service-links { display: flex; gap: 18px; flex-wrap: wrap; }
.service-links a { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.service-links a:hover { color: var(--gold-bright); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line-soft); padding-block: clamp(18px, 2.4vw, 30px); white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: inline-flex; gap: 0; animation: marquee 28s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 3.4rem); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 239, 233, 0.4); padding-inline: 28px;
}
.marquee-track span b { color: var(--ink); -webkit-text-stroke: 0; font-weight: 500; }
.marquee-track i { font-style: normal; color: var(--gold); font-size: clamp(1.2rem, 2.6vw, 2rem); align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }
html.no-motion .marquee-track { animation: none; }

/* ---------- showreel band ---------- */
.reel-band { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 21 / 9; cursor: pointer; background: var(--bg2); }
@media (max-width: 700px) { .reel-band { aspect-ratio: 16 / 10; } }
.reel-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.reel-band:hover img { transform: scale(1.04); }
.reel-band::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 11, 0.45); transition: background 0.5s ease; }
.reel-band:hover::after { background: rgba(10, 10, 11, 0.3); }
.reel-center {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; text-align: center;
}
.reel-center .ring {
  width: clamp(72px, 9vw, 110px); height: clamp(72px, 9vw, 110px);
  border: 1px solid rgba(242, 239, 233, 0.5); border-radius: 50%;
  display: grid; place-items: center; transition: transform 0.5s var(--ease), border-color 0.4s ease, background 0.4s ease;
}
.reel-band:hover .ring { transform: scale(1.1); border-color: var(--gold); background: rgba(200, 161, 101, 0.12); }
.reel-center .ring svg { width: clamp(18px, 2vw, 26px); height: clamp(18px, 2vw, 26px); fill: var(--ink); margin-left: 3px; }
.reel-center .reel-note { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border-top: 1px solid var(--line-soft); padding-top: 22px; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; line-height: 1; color: var(--ink); }
.stat .num i { font-style: normal; color: var(--gold); }
.stat .cap { margin-top: 8px; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- testimonials ---------- */
.quote-card { border-left: 1px solid var(--gold); padding-left: clamp(20px, 2.4vw, 36px); display: flex; flex-direction: column; }
.quote-card cite { margin-top: auto; padding-top: 18px; }
.quote-card blockquote { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.4; color: var(--ink); }
.quote-card cite { display: block; margin-top: 18px; font-style: normal; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.quote-card cite b { color: var(--ink-dim); }

/* ---------- page headers ---------- */
.page-head { padding-top: clamp(110px, 16vh, 160px); }
.page-head .h-display { margin-bottom: 24px; }
.page-head .lead { margin-bottom: 10px; }

/* ---------- work grid + filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-block: clamp(28px, 4vw, 54px); }
.chip {
  padding: 11px 22px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim);
  transition: all 0.35s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg0); }
.chip sup { color: var(--gold); margin-left: 4px; }
.chip.is-active sup { color: inherit; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 26px); }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .work-grid { grid-template-columns: 1fr; } }
.work-item { cursor: pointer; }
.work-item.is-hidden { display: none; }
.work-media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--bg2); }
.work-item.wide { grid-column: span 2; }
.work-item.wide .work-media { aspect-ratio: 16 / 9.5; }
@media (max-width: 580px) { .work-item.wide { grid-column: span 1; } }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s ease; filter: saturate(0.9); }
.work-item:hover .work-media img { transform: scale(1.06); filter: saturate(1.05); }
.work-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; }
.work-item:hover .work-media video { opacity: 1; }
.work-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  background: rgba(10, 10, 11, 0.6); backdrop-filter: blur(6px); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 6px 12px;
}
.work-badge.gold-badge { color: var(--gold); border-color: rgba(200, 161, 101, 0.4); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; }
.work-meta h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }
.work-meta span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #a49b8e; white-space: nowrap; }

/* ---------- films page ---------- */
.film-list { display: flex; flex-direction: column; gap: clamp(44px, 6vw, 84px); }
.film-block .film-player { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; background: var(--bg2); cursor: pointer; }
.film-player .film-poster { position: absolute; inset: 0; z-index: 2; transition: opacity 0.6s ease; }
.film-player .film-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.film-player:hover .film-poster img { transform: scale(1.03); }
.film-poster::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 11, 0.35); transition: background 0.4s ease; }
.film-player:hover .film-poster::after { background: rgba(10, 10, 11, 0.22); }
.film-play {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; transition: opacity 0.4s ease;
}
.film-play .ring {
  width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px);
  border: 1px solid rgba(242, 239, 233, 0.55); border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 10, 11, 0.35); backdrop-filter: blur(4px);
  transition: transform 0.5s var(--ease), border-color 0.4s ease;
}
.film-player:hover .film-play .ring { transform: scale(1.1); border-color: var(--gold); }
.film-play svg { width: 20px; height: 20px; fill: var(--ink); margin-left: 3px; }
.film-player.is-playing .film-poster, .film-player.is-playing .film-play { opacity: 0; pointer-events: none; }
.film-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-info { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 18px; flex-wrap: wrap; }
.film-info h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.film-info .film-tags { display: flex; gap: 18px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #a49b8e; }

/* editorial width rhythm: full / left / right, repeating */
@media (min-width: 920px) {
  .film-list .film-block:nth-child(3n+2) { width: 78%; }
  .film-list .film-block:nth-child(3n) { width: 78%; margin-left: auto; }
}

/* ---------- packages ---------- */
.pkg-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-block: clamp(30px, 4vw, 56px); }
.pkg-panel { display: none; }
.pkg-panel.is-open { display: block; animation: panel-in 0.6s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pkg-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 50px); }
.pkg-intro p { max-width: 46em; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
@media (max-width: 1000px) { .pkg-grid { grid-template-columns: 1fr; max-width: 560px; } }
.pkg-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line-soft); border-radius: 4px; background: var(--bg1);
  padding: clamp(26px, 2.6vw, 40px); transition: border-color 0.4s ease, transform 0.4s var(--ease);
}
.pkg-card:hover { border-color: var(--line); transform: translateY(-4px); }
.pkg-card.is-featured { border-color: rgba(200, 161, 101, 0.55); background: linear-gradient(180deg, rgba(200, 161, 101, 0.07), rgba(200, 161, 101, 0.015)), var(--bg1); }
.pkg-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--bg0); font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.pkg-name { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 4px; }
.pkg-tagline { font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; min-height: 2.6em; }
.pkg-price { display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--line-soft); padding-bottom: 22px; margin-bottom: 22px; }
.pkg-price .from { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.pkg-price .amount { font-family: var(--font-display); font-size: clamp(2.1rem, 3vw, 2.8rem); font-weight: 500; color: var(--ink); }
.pkg-list { flex: 1; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pkg-list li { display: flex; gap: 12px; font-size: 0.92rem; color: var(--ink-dim); line-height: 1.5; }
.pkg-list li::before { content: "✦"; color: var(--gold); font-size: 0.7rem; line-height: 2; flex: 0 0 auto; }
.pkg-list li.soft { color: var(--muted); }
.pkg-card .btn { justify-content: center; }

/* plain service blocks: heading + quote button left, offering list right */
.svc-block {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 80px);
  border-top: 1px solid var(--line-soft); padding-block: clamp(30px, 4.5vw, 56px);
  scroll-margin-top: 110px;
}
@media (max-width: 860px) { .svc-block { grid-template-columns: 1fr; gap: 20px; } }
.svc-head .dim { margin: 12px 0 26px; max-width: 30em; }
.svc-list { gap: 14px; display: flex; flex-direction: column; }
.svc-list li { font-size: 1rem; }

.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.addon {
  border: 1px solid var(--line-soft); border-radius: 4px; padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: border-color 0.3s ease;
}
.addon:hover { border-color: var(--line); }
.addon span { font-size: 0.9rem; color: var(--ink-dim); }
.addon b { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--gold); white-space: nowrap; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 30px); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--line-soft); padding-top: 20px; }
.step .n { font-family: var(--font-display); font-size: 1rem; color: var(--gold); display: block; margin-bottom: 12px; }
.step h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  transition: color 0.3s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-bright); }
.faq details p { padding: 0 0 24px; max-width: 52em; color: var(--ink-dim); }

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } }
.portrait-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--bg2); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-soft); }
.principles { counter-reset: p; }
.principle { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding-block: 30px; border-top: 1px solid var(--line-soft); }
@media (max-width: 600px) { .principle { grid-template-columns: 1fr; gap: 8px; } }
.principle .pn { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); }
.principle h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 8px; }
.principle p { max-width: 46em; }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-row span {
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 10px 20px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim);
}
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 700px) { .trio { grid-template-columns: 1fr; } }
.trio figure { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--bg2); }
.trio img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.trio figure:hover img { transform: scale(1.05); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 110px); }
@media (max-width: 950px) { .contact-grid { grid-template-columns: 1fr; } }
.field { position: relative; margin-bottom: 34px; }
.field label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font: inherit; padding: 10px 2px 14px; border-radius: 0;
  transition: border-color 0.4s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8a165' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; cursor: pointer; }
.field select option { background: var(--bg1); color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input, .field select, .field textarea { color-scheme: dark; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.75); opacity: 0.7; cursor: pointer; }
.field input[type="date"]::-webkit-datetime-edit { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 18px; }
.form-note a { color: var(--gold); }
.contact-aside { display: flex; flex-direction: column; gap: 34px; }
.contact-item h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-item a, .contact-item p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--ink); transition: color 0.3s ease; }
.contact-item a:hover { color: var(--gold-bright); }
.ig-card {
  position: relative; overflow: hidden; border-radius: 4px; border: 1px solid var(--line-soft);
  padding: 26px; display: flex; flex-direction: column; gap: 8px; transition: border-color 0.4s ease;
}
.ig-card:hover { border-color: rgba(200, 161, 101, 0.5); }
.ig-card .h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.ig-card .handle { font-family: var(--font-display); font-size: 1.3rem; }
.ig-card .follow { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }

/* ---------- big CTA + footer ---------- */
.cta-band { position: relative; text-align: center; padding-block: var(--section); overflow: hidden; }
.cta-band .h-display { font-size: clamp(2.4rem, 7vw, 6.5rem); margin-bottom: 34px; }
.cta-band .h-display em { color: var(--gold); font-style: italic; font-weight: 400; text-transform: none; }
.footer { border-top: 1px solid var(--line-soft); background: var(--bg1); }
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(30px, 4vw, 60px);
  padding-block: clamp(50px, 7vw, 90px);
}
@media (max-width: 950px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.footer-brand p { max-width: 24em; font-size: 0.92rem; color: var(--muted); margin-top: 16px; }
.footer h5 { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col a { display: block; padding-block: 6px; color: var(--ink-dim); font-size: 0.95rem; transition: color 0.3s ease, padding-left 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-bright); padding-left: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-soft); padding-block: 26px;
  font-size: 0.76rem; letter-spacing: 0.08em; color: var(--muted);
}
.footer-bottom .up { cursor: pointer; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; font-size: 0.7rem; color: var(--ink-dim); padding: 12px 8px; margin: -12px -8px; }
.footer-bottom .up:hover { color: var(--gold-bright); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 4000; background: rgba(6, 6, 7, 0.94);
  display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 60px);
}
.lightbox.is-open { display: flex; animation: lb-in 0.35s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-stage { position: relative; max-width: min(1500px, 94vw); width: 100%; }
.lightbox-stage img, .lightbox-stage video {
  width: 100%; max-height: 82vh; object-fit: contain; border-radius: 3px; background: #000;
}
.lightbox-cap { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.lb-btn {
  position: absolute; z-index: 5; width: 52px; height: 52px; border: 1px solid var(--line);
  border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: rgba(10, 10, 11, 0.55); backdrop-filter: blur(6px);
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
  font-size: 1.1rem; line-height: 1;
}
.lb-btn:hover { border-color: var(--gold); transform: scale(1.07); }
.lb-close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); position: fixed; }
.lb-prev { left: clamp(4px, 1.5vw, 20px); top: 50%; transform: translateY(-50%); position: fixed; }
.lb-next { right: clamp(4px, 1.5vw, 20px); top: 50%; transform: translateY(-50%); position: fixed; }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.07); }
@media (max-width: 700px) {
  .lb-btn { width: 46px; height: 46px; }
  .lb-prev { top: auto; bottom: 20px; left: 20px; transform: none; }
  .lb-next { top: auto; bottom: 20px; right: 20px; transform: none; }
  .lb-prev:hover, .lb-next:hover { transform: scale(1.07); }
}

/* ---------- misc ---------- */
.mt-1 { margin-top: clamp(20px, 3vw, 40px); }
.mt-2 { margin-top: clamp(40px, 6vw, 80px); }
.mb-1 { margin-bottom: clamp(20px, 3vw, 40px); }
.mb-2 { margin-bottom: clamp(40px, 6vw, 80px); }
.center { text-align: center; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.head-row .h-xl { max-width: 14em; }

@media (max-width: 480px) {
  .hero-kicker { font-size: 0.6rem; letter-spacing: 0.2em; gap: 10px; }
  .hero-kicker::before { width: 22px; }
  .marquee-track span { padding-inline: 16px; }
}

/* ============================================================
   Craft layer — cursor, curtain reveals, magnetics, watermark
   ============================================================ */

/* italic gold accents inside big serif headlines */
.h-display em, .h-xl em { font-style: italic; font-weight: 400; color: var(--gold); text-transform: none; }

/* hero video breathes in on load */
.hero-media { will-change: transform; }

/* --- curtain reveal: JS adds .clip/.clip-pending, removes .clip-pending in view --- */
.js .clip { clip-path: inset(0 0 0 0); transition: clip-path 1.25s var(--ease); }
.js .clip img { transition: transform 1.35s var(--ease), filter 0.6s ease; }
.js .clip.clip-pending { clip-path: inset(0 0 101% 0); }
.js .clip.clip-pending img { transform: scale(1.22); }
html.no-motion .clip, html.no-motion .clip.clip-pending { clip-path: none; }
html.no-motion .clip.clip-pending img { transform: none; }

/* --- auto-hiding nav --- */
.nav { transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, transform 0.55s var(--ease); }
.nav.is-away { transform: translateY(-101%); }
.nav.is-away:focus-within { transform: none; } /* keyboard users always get the nav back */

/* anchor targets clear the fixed header on native jumps too */
[id] { scroll-margin-top: 100px; }

/* visible focus for every interactive element */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px;
}

/* the hero headline breaks where it is told to */
.hero-title .hl { display: block; }

/* five service cards on a deliberate 6-track grid: 3 portraits up top, 2 landscapes below */
.grid-services { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.8vw, 26px); }
.grid-services > .service-card:nth-child(-n+3) { grid-column: span 2; }
.grid-services > .service-card:nth-child(n+4) { grid-column: span 3; aspect-ratio: 16 / 9.5; }
@media (max-width: 1100px) {
  .grid-services > .service-card { grid-column: span 3 !important; aspect-ratio: 4 / 5; }
  .grid-services > .service-card:last-child { grid-column: span 6 !important; aspect-ratio: 16 / 9; }
}
@media (max-width: 580px) {
  .grid-services > .service-card { grid-column: span 6 !important; aspect-ratio: 4 / 5; }
}

/* parallax media: GSAP owns the transform — no CSS transition, no curtain pre-zoom */
.js [data-parallax] img, .js [data-parallax] video { transition: filter 0.6s ease; }
.js [data-parallax].clip.clip-pending img { transform: none; }

/* --- custom cursor (fine pointers, motion allowed) --- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 6000; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--gold); display: none; align-items: center; justify-content: center;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), opacity 0.3s ease;
}
@media (pointer: fine) { html.js:not(.no-motion) .cursor { display: flex; } }
.cursor .cursor-label {
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bg0); opacity: 0; transition: opacity 0.2s ease; white-space: nowrap;
}
.cursor.is-active { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
.cursor.is-active .cursor-label { opacity: 1; transition-delay: 0.12s; }
.cursor.is-gone { opacity: 0; }

/* --- footer watermark + local time --- */
.footer { position: relative; overflow: hidden; }
.footer-mark {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(4.6rem, 16vw, 17rem); line-height: 0.9; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 239, 233, 0.11);
  user-select: none; pointer-events: none;
  margin-top: clamp(10px, 2vw, 30px); margin-bottom: -0.1em;
}
.f-time { font-size: 0.76rem; letter-spacing: 0.08em; color: var(--muted); }
.f-time b { font-weight: 600; color: var(--ink-dim); font-variant-numeric: tabular-nums; }

/* --- lightbox entrance --- */
.lightbox.is-open .lightbox-stage { animation: lb-pop 0.5s var(--ease); }
@keyframes lb-pop { from { opacity: 0; transform: scale(0.965) translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .grain { animation: none; }
}
