/* Mir Productions — design system (Lenscraft spec, vanilla CSS) */
:root {
  --c-base: #0a0a0a;
  --c-sec: #080808;
  --c-deep: #050505;
  --c-stats: #0c0c0c;
  --c-raise: #121212;
  --c-accent: #c8a97e;
  --c-accent-hover: #e3c598;
  --c-text: #f5f5f0;
  --c-muted: #a0a0a0;
  --c-line: rgba(255, 255, 255, 0.05);
  --c-line-2: rgba(255, 255, 255, 0.1);
  --c-line-3: rgba(255, 255, 255, 0.2);
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad-x: 24px;
  --maxw: 1440px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mask: cubic-bezier(0.77, 0, 0.175, 1);
  --header-h: 88px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --pad-x: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--c-base); color: var(--c-text); font-family: var(--f-sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, video, canvas, svg { display: block; max-width: 100%; }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.service .ico svg.i { stroke-width: 1; }
.stars svg.i { stroke: none; fill: currentColor; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-serif); font-weight: 400; letter-spacing: 0.01em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--c-accent); color: var(--c-base); }
:focus-visible { outline: 1px solid var(--c-accent); outline-offset: 4px; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--c-base); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--c-accent); color: var(--c-base); padding: 10px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding: 96px 0; position: relative; }
.bg-base { background: var(--c-base); } .bg-sec { background: var(--c-sec); } .bg-deep { background: var(--c-deep); }

/* ---------- Type ---------- */
.over { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 16px; }
.over--line { display: flex; align-items: center; gap: 16px; font-size: 12px; }
.over--line::after { content: ""; width: 48px; height: 1px; background: rgba(200, 169, 126, 0.5); }
.h2 { font-size: clamp(2.25rem, 4.2vw, 3rem); line-height: 1.15; color: #fff; margin-bottom: 24px; }
.h2 em, .h1 em, .display em { font-style: italic; color: rgba(255, 255, 255, 0.9); }
.lead { color: var(--c-muted); font-size: 15px; line-height: 1.75; max-width: 30rem; }
@media (min-width: 768px) { .lead { font-size: 16px; } }
.muted { color: var(--c-muted); }
.gold { color: var(--c-accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 32px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: color .3s, background-color .3s, border-color .3s, transform .3s var(--ease); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--outline { border: 1px solid var(--c-line-3); }
.btn--outline:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn--gold { background: var(--c-accent); color: var(--c-base); }
.btn--gold:hover { background: var(--c-accent-hover); }
.btn--lg { padding: 18px 40px; }
.btn--ghost-white:hover { background: #fff; color: var(--c-base); border-color: #fff; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-line-2); display: inline-flex; align-items: center; justify-content: center; transition: background-color .3s, border-color .3s, opacity .3s; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--c-line-3); }
.icon-btn:disabled, .icon-btn.swiper-button-disabled { opacity: .35; cursor: default; }
.icon-btn svg { width: 20px; height: 20px; }
.play-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: color .3s; }
.play-link .ring { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-line-3); display: flex; align-items: center; justify-content: center; transition: border-color .3s; }
.play-link svg { width: 16px; height: 16px; margin-left: 3px; }
.play-link:hover { color: var(--c-accent); } .play-link:hover .ring { border-color: var(--c-accent); }

/* ---------- Reveal (framer-motion whileInView equivalent) ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.rv.in { opacity: 1; transform: none; }
.rv-x { opacity: 0; transform: translateX(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.rv-x.in { opacity: 1; transform: none; }
.rv-scale { opacity: 0; transform: scale(.95); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv-scale.in { opacity: 1; transform: none; }
.reveal-mask { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 1.2s var(--ease-mask); }
.reveal-mask.in { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.no-js .rv, .no-js .rv-x, .no-js .rv-scale { opacity: 1; transform: none; }
.no-js .reveal-mask { clip-path: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 24px 0; transition: padding .3s, background-color .3s, box-shadow .3s, backdrop-filter .3s; animation: header-in .8s var(--ease) backwards; }
@keyframes header-in { from { transform: translateY(-100px); opacity: 0; } }
.site-header.scrolled { padding: 16px 0; background: rgba(10, 10, 10, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .2); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-text b { font-family: var(--f-serif); font-weight: 400; font-size: 18px; letter-spacing: 0.1em; line-height: 1; }
.brand-text small { font-size: 10px; letter-spacing: 0.3em; color: var(--c-muted); margin-top: 6px; text-transform: uppercase; }
.nav { display: none; align-items: center; gap: 32px; }
.nav a { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--c-muted); text-transform: uppercase; transition: color .3s; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--c-accent); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--c-accent); opacity: .6; }
.header-cta { display: none; }
.header-cta .btn { padding: 10px 24px; }
.menu-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-right: -10px; }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .i-x { display: none; }
.menu-open .menu-btn .i-x { display: block; } .menu-open .menu-btn .i-menu { display: none; }
/* Mobile menu: full-screen, large serif links rising in sequence */
.mobile-menu { position: fixed; inset: 0; z-index: -1; height: 100dvh; background: rgba(8, 8, 8, .97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); padding: 110px var(--pad-x) calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; overflow: auto; overscroll-behavior: contain; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.mobile-menu a:not(.btn) { font-family: var(--f-serif); font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.25; color: rgba(255, 255, 255, .88); padding: 4px 0; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease), color .3s; }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.mobile-menu a:nth-child(1) { transition-delay: .05s; } .mobile-menu a:nth-child(2) { transition-delay: .09s; } .mobile-menu a:nth-child(3) { transition-delay: .13s; } .mobile-menu a:nth-child(4) { transition-delay: .17s; } .mobile-menu a:nth-child(5) { transition-delay: .21s; } .mobile-menu a:nth-child(6) { transition-delay: .25s; } .mobile-menu a:nth-child(7) { transition-delay: .29s; } .mobile-menu a:nth-child(8) { transition-delay: .33s; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--c-accent); }
.mobile-menu a[aria-current="page"] { font-style: italic; }
.mobile-menu .btn { margin-top: auto; border: 1px solid var(--c-accent); color: var(--c-accent); width: 100%; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease) .38s, transform .7s var(--ease) .38s; }
.menu-open.site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* Eight links + CTA need ~1060px of measure: the full bar from 1200px, a touch tighter until 1366px */
@media (min-width: 1200px) {
  .nav, .header-cta { display: flex; } .menu-btn, .mobile-menu { display: none; }
}
@media (min-width: 1200px) and (max-width: 1365px) { .nav { gap: 24px; } }

/* ---------- Hero (scroll-linked frames) ---------- */
.hero { position: relative; height: 375vh; background: var(--c-deep); }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; width: 100%; overflow: hidden; display: flex; align-items: center; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-ready .hero canvas { opacity: 1; }
/* Soft black veil over the film for text legibility: 22% overall, a little more behind the copy (left on desktop,
   bottom on phones). Pure CSS above the canvas and below the text; it never takes clicks. */
.hero-overlay { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to right, rgba(0,0,0,.16), rgba(0,0,0,.06) 45%, rgba(0,0,0,0) 70%), rgba(0,0,0,.22); }
@media (max-width: 767px) { .hero-overlay { background: linear-gradient(to top, rgba(0,0,0,.2), rgba(0,0,0,.06) 45%, rgba(0,0,0,0) 70%), rgba(0,0,0,.22); } }
.hero .container { position: relative; z-index: 10; height: 100%; }
.hero-stage { position: relative; height: 100%; }
.hero-slide { position: absolute; left: 0; top: 50%; max-width: 46rem; display: flex; flex-direction: column; opacity: 0; transform: translateY(calc(-50% + 30px)); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .9s var(--ease); pointer-events: none; }
.hero-slide.is-active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.hero-slide.is-leaving { opacity: 0; transform: translateY(calc(-50% - 30px)); }
.hero-slide .over--line { margin-bottom: 28px; }
.hero-slide > * { transition: opacity .8s var(--ease), transform 1s var(--ease); }
.hero-slide:not(.is-active) > * { opacity: 0; transform: translateY(18px); }
.hero-slide.is-active > :nth-child(2) { transition-delay: .08s; } .hero-slide.is-active > :nth-child(3) { transition-delay: .16s; } .hero-slide.is-active > :nth-child(4) { transition-delay: .24s; }
/* Final slide sits beneath the motion's own title card */

.h1 { font-size: clamp(3rem, 7.6vw, 6.25rem); line-height: 1.02; margin-bottom: 28px; letter-spacing: -0.01em; }
.h1 .up { display: block; text-transform: uppercase; letter-spacing: -0.02em; color: #fff; }
.h1 .low { display: block; font-style: italic; text-transform: lowercase; color: rgba(255,255,255,.92); font-size: .74em; margin-top: 10px; letter-spacing: 0; }
.hero-slide p:not(.h1) { color: rgba(245,245,240,.72); max-width: 28rem; font-size: 15.5px; line-height: 1.75; margin-bottom: 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-rail { position: absolute; right: var(--pad-x); top: 50%; transform: translateY(-50%); z-index: 10; display: none; flex-direction: column; gap: 22px; margin: 0; padding: 0 0 0 20px; list-style: none; border-left: 1px solid rgba(255,255,255,.14); }
.hero-rail li { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.35); transition: color .6s var(--ease); display: flex; gap: 12px; align-items: baseline; }
.hero-rail li span { font: 500 10px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0; color: rgba(255,255,255,.35); transition: color .6s; }
.hero-rail li.on { color: #fff; } .hero-rail li.on span { color: var(--c-accent); }
.hero-rail::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 100%; background: var(--c-accent); transform-origin: top; transform: scaleY(var(--hp, 0)); }
.hero-scroll { position: absolute; bottom: 32px; left: var(--pad-x); z-index: 10; display: none; align-items: center; gap: 16px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); transition: opacity .6s; }
.hero[data-slide="2"] .hero-scroll { opacity: 0; }
.hero-scroll .mouse { width: 26px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); display: flex; justify-content: center; padding: 6px 0; order: -1; }
.hero-scroll .mouse i { width: 3px; height: 8px; border-radius: 999px; background: var(--c-accent); animation: mouse 1.8s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes mouse { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.hero-loader { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 11; background: rgba(255,255,255,.06); transition: opacity .8s .3s; }
.hero-loader span { position: absolute; inset: 0; background: var(--c-accent); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .4s var(--ease); }
.hero-loader.done { opacity: 0; }
@media (min-width: 768px) { .hero-scroll { display: flex; } }
@media (min-width: 1100px) { .hero-rail { display: flex; } }
@media (max-width: 767px) {
  .hero-slide { top: auto; bottom: 14vh; transform: translateY(30px); max-width: calc(100vw - 48px); }
  .hero-slide.is-active { transform: none; } .hero-slide.is-leaving { transform: translateY(-30px); }
  .h1 { font-size: clamp(2.6rem, 12.5vw, 3.6rem); margin-bottom: 18px; }
  .hero-slide p:not(.h1) { font-size: 14.5px; margin-bottom: 0; }
  .hero-ctas { gap: 20px; }
}
/* ---------- Stats ---------- */
/* Editorial figures: oversized serif numerals, gold rule drawn above each, label set beneath. */
.stats { position: relative; z-index: 20; overflow: hidden; background: radial-gradient(70% 140% at 50% 0%, rgba(200,169,126,.07), transparent 65%), var(--c-base); }
.stats .container { padding-top: 88px; padding-bottom: 96px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 24px; }
.stat { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-top: 28px; }
.stat-rule { position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: rgba(255,255,255,.08); overflow: hidden; }
.stat-rule::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--c-accent), rgba(200,169,126,.15)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); transition-delay: calc(var(--d, 0) * 1s + .1s); }
.stat.in .stat-rule::after { transform: scaleX(1); }
.stat-num { margin: 0; display: flex; align-items: flex-start; font-family: var(--f-serif); font-weight: 400; font-size: clamp(3.4rem, 7.2vw, 6.5rem); line-height: .92; letter-spacing: -.035em; color: var(--c-text); font-variant-numeric: lining-nums tabular-nums; }
.stat-num i { font-style: italic; font-size: .5em; line-height: 1; color: var(--c-accent); margin: .12em 0 0 .06em; letter-spacing: 0; }
.stat-label { display: block; margin-top: 22px; max-width: 22ch; font-size: 11px; line-height: 1.6; letter-spacing: .22em; font-weight: 500; color: var(--c-muted); text-transform: uppercase; }
.stat:hover .stat-num span { color: var(--c-accent-hover); transition: color .5s; }
/* 3D wireframe (stats3d.js) floats top-right of each figure */
/* Object sits above the gold rule, so it can never collide with a wide figure. */
.stat { padding-top: 0 !important; }
.stat-3d { order: -2; display: block; width: clamp(128px, 11vw, 176px); aspect-ratio: 1; margin: 0 0 18px -22px; pointer-events: none; opacity: 0; transform: translateY(16px) scale(.9); transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); transition-delay: calc(var(--d, 0) * 1s + .2s); }
.stat.in .stat-3d { opacity: 1; transform: none; }
.stat .stat-rule { order: -1; position: relative; display: block; margin-bottom: 30px; }
@media (max-width: 899px) { .stat-3d { width: 112px; margin: 0 0 12px -16px; } .stat .stat-rule { margin-bottom: 22px; } }
html.qa .stat-3d { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0 48px; }
  .stats .container { padding-top: 112px; padding-bottom: 120px; }
}

/* ---------- Featured work slider ---------- */
.featured { overflow: hidden; }
.featured .container { display: flex; flex-direction: column; gap: 64px; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.featured-copy .lead { margin-bottom: 40px; }
.featured-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.featured-nav { display: flex; gap: 8px; }
.featured-slider { min-width: 0; }
.featured .swiper { overflow: visible; height: 500px; }
.card { position: relative; display: block; height: 100%; border-radius: 12px; overflow: hidden; background: var(--c-raise); }
.card .par { position: absolute; inset: -15%; width: 130%; height: 130%; will-change: transform; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover img, .card:focus-visible img { transform: scale(1.05); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .9), rgba(10, 10, 10, .2) 50%, transparent); opacity: .8; transition: opacity .5s; }
.card:hover::after { opacity: .6; }
.card-body { position: absolute; left: 0; bottom: 0; width: 100%; padding: 32px; z-index: 2; transform: translateY(16px); transition: transform .5s var(--ease); }
.card:hover .card-body, .card:focus-visible .card-body { transform: none; }
.card-cat { display: block; font-size: 10px; font-weight: 600; letter-spacing: .2em; color: var(--c-accent); text-transform: uppercase; margin-bottom: 8px; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); color: #fff; }
.card-row svg { width: 20px; height: 20px; flex-shrink: 0; opacity: 0; transform: translateX(-16px); transition: opacity .5s, transform .5s var(--ease); }
.card:hover .card-row svg, .card:focus-visible .card-row svg { opacity: 1; transform: none; }
.card-meta { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 6px; }
@media (min-width: 768px) { .featured .swiper { height: 600px; } }
@media (min-width: 1280px) {
  .featured .container { flex-direction: row; }
  .featured-copy { width: 33.333%; flex-shrink: 0; }
  .featured-slider { width: 66.666%; }
  /* Slides that move past the left edge would slide under the intro text: clip on the left only, keep the bleed right. */
  .featured-slider { clip-path: inset(-48px -100vw -48px 0); }
}

/* ---------- Services ---------- */
.services .container { display: flex; flex-direction: column; gap: 64px; }
.services-head .sticky { position: sticky; top: 128px; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 48px 32px; }
.service { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 16px; border: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.service:hover { background: rgba(255, 255, 255, .02); border-color: var(--c-line); }
.service .ico { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--c-line-2); display: flex; align-items: center; justify-content: center; transition: border-color .3s, background-color .3s; }
.service .ico svg { width: 32px; height: 32px; color: var(--c-accent); stroke-width: 1; }
.service:hover .ico { border-color: var(--c-accent); background: rgba(200, 169, 126, .1); }
.service h3 { font-family: var(--f-sans); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-top: 8px; }
.service p { color: var(--c-muted); font-size: 14px; line-height: 1.7; }
.service .from { font-size: 12px; color: var(--c-accent); letter-spacing: .05em; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .services .container { flex-direction: row; }
  .services-head { width: 33.333%; flex-shrink: 0; } .services-body { width: 66.666%; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- About preview ---------- */
.about-wrap { display: flex; flex-direction: column; align-items: center; gap: 64px; }
.about-media { position: relative; width: 100%; max-width: 520px; }
.about-photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .7s; }
.about-photo:hover img { filter: none; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--c-base), transparent 50%); opacity: .6; pointer-events: none; }
.badge { position: absolute; bottom: -32px; left: -16px; width: 128px; height: 128px; border-radius: 50%; background: var(--c-accent); color: var(--c-base); display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .4); opacity: 0; transform: rotate(-90deg); transition: opacity 1s .3s, transform 1s .3s var(--ease); z-index: 2; }
.badge.in { opacity: 1; transform: none; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 10s linear infinite; }
.badge text { font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; fill: var(--c-base); font-family: var(--f-sans); }
.badge span { font-family: var(--f-serif); font-style: italic; font-size: 22px; position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-copy { width: 100%; display: flex; flex-direction: column; gap: 48px; }
.about-copy .lead { margin-bottom: 32px; max-width: 34rem; }
.ticks { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.ticks svg { width: 16px; height: 16px; color: var(--c-accent); flex-shrink: 0; }
.signature { font-family: var(--f-serif); font-style: italic; font-size: 34px; color: var(--c-accent); margin: -8px 0 32px; line-height: 1; }
.side-stats { display: flex; flex-wrap: wrap; gap: 32px; }
.side-stat { display: flex; align-items: flex-start; gap: 16px; }
.side-stat svg { width: 24px; height: 24px; color: rgba(255, 255, 255, .4); stroke-width: 1.5; margin-top: 4px; flex-shrink: 0; }
.side-stat b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 24px; color: #fff; line-height: 1.2; }
.side-stat small { display: block; font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; line-height: 1.5; }
@media (min-width: 768px) { .badge { width: 160px; height: 160px; bottom: -48px; left: -48px; } .badge span { font-size: 26px; } .badge text { font-size: 9px; } }
@media (min-width: 1024px) {
  .about-wrap { flex-direction: row; gap: 96px; }
  .about-media { width: 41.666%; flex-shrink: 0; max-width: none; }
  .about-copy { width: 58.333%; flex-direction: row; }
  .about-copy > .main { width: 66.666%; }
  .side-stats { width: 33.333%; flex-direction: column; border-left: 1px solid var(--c-line-2); padding-left: 32px; }
}

/* ---------- Testimonials ---------- */
.quotes { overflow: hidden; }
.quotes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.quote { position: relative; padding: 40px 32px 32px; border: 1px solid var(--c-line); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)); display: flex; flex-direction: column; gap: 24px; transition: border-color .4s; }
.quote:hover { border-color: rgba(200, 169, 126, .3); }
.quote .mark { font-family: var(--f-serif); font-size: 72px; line-height: .6; color: var(--c-accent); height: 28px; }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: rgba(255, 255, 255, .92); }
.quote figcaption { margin-top: auto; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.quote figcaption svg { width: 14px; height: 14px; color: var(--c-accent); }
.quote--wide { grid-column: 1 / -1; }
.quote--wide blockquote { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.45; }
.letters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.letter { border-radius: 12px; overflow: hidden; background: #f3eee6; aspect-ratio: 3 / 4; cursor: zoom-in; position: relative; }
.letter img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.letter:hover img { transform: scale(1.04); }
@media (min-width: 768px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 128px 0; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: -10% 0; z-index: 0; background-size: cover; background-position: center; will-change: transform; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(17, 17, 17, .9), rgba(17, 17, 17, .78), rgba(17, 17, 17, .9)); }
.cta .container { position: relative; z-index: 2; }
.cta .over { color: #fff; }
.cta h2 { font-size: clamp(2.5rem, 6.5vw, 5.25rem); line-height: 1.08; color: #fff; margin: 0 auto 24px; max-width: 16ch; }
.cta h2 em { color: var(--c-accent-hover); }
.cta p { color: rgba(255, 255, 255, .8); max-width: 32rem; margin: 0 auto 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-deep); padding: 96px 0 32px; border-top: 1px solid var(--c-line); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px; }
.footer-grid h4 { font-family: var(--f-sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--c-accent); text-transform: uppercase; margin-bottom: 24px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 12px; }
.footer-grid a, .footer-grid li { font-size: 14px; color: var(--c-muted); transition: color .3s; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { font-size: 14px; color: var(--c-muted); line-height: 1.7; margin: 24px 0; max-width: 22rem; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 16px; height: 16px; color: var(--c-accent); flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line-2); display: inline-flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .5); transition: color .3s, border-color .3s; }
.socials a:hover { color: var(--c-accent); border-color: var(--c-accent); }
.socials svg { width: 15px; height: 15px; }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--c-line-2); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--c-muted); letter-spacing: .03em; text-align: center; }
.footer-bottom a:hover { color: #fff; }
.footer-credit { margin: 40px 0 0; text-align: center; font-size: 11px; letter-spacing: .04em; color: rgba(160, 160, 160, .7); }
.footer-credit em { font-family: var(--f-serif); font-size: 13px; letter-spacing: .02em; color: rgba(245, 245, 240, .78); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-bottom { flex-direction: row; text-align: left; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; padding: 160px 0 80px; overflow: hidden; background: var(--c-deep); }
.page-hero--short { min-height: 56vh; min-height: 56svh; }
.page-hero .bg { position: absolute; inset: -8% 0; z-index: 0; will-change: transform; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; animation: kb 18s var(--ease) both; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--c-base) 2%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.35)), linear-gradient(to right, rgba(10,10,10,.7), transparent 70%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(3rem, 8.5vw, 7rem); line-height: 1.02; color: #fff; }
.page-hero h1 em { font-style: italic; color: rgba(255, 255, 255, .88); text-transform: lowercase; }
.page-hero .lead { margin-top: 28px; color: rgba(255, 255, 255, .72); }
.crumbs { display: flex; gap: 10px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 20px; font-weight: 600; }
.crumbs a:hover { color: var(--c-accent); }

/* ---------- Filters / chips ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) {
  /* One swipeable row on phones, bleeding to the screen edges */
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--pad-x)); padding: 2px var(--pad-x) 6px; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-mask: linear-gradient(to right, transparent, #000 var(--pad-x), #000 calc(100% - 40px), transparent); mask: linear-gradient(to right, transparent, #000 var(--pad-x), #000 calc(100% - 40px), transparent); }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
}
.chip { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--c-line-2); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--c-muted); transition: color .3s, border-color .3s, background-color .3s; }
.chip:hover { color: #fff; border-color: var(--c-line-3); }
.chip[aria-pressed="true"] { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-base); }
.chip sup { font-size: 9px; margin-left: 4px; opacity: .7; }

/* ---------- Editorial gallery (portfolio) ---------- */
/* Justified rows: widths/heights are set by gallery.js so every row fills the measure exactly. */
.editorial { display: flex; flex-wrap: wrap; row-gap: 16px; min-height: 60vh; transition: opacity .28s ease; }
.editorial.swap { opacity: 0; }
.editorial .tile { flex: none; border-radius: 4px; }
.editorial .tile img { position: absolute; inset: 0; }
@media (max-width: 639px) { .editorial { row-gap: 8px; } }
/* Loading state: a soft sheen while a photograph decodes */
.tile, .proj { isolation: isolate; }
.tile::before, .proj::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.035) 50%, transparent 70%) var(--c-raise); background-size: 220% 100%; animation: sheen 1.6s linear infinite; }
.tile:has(img.loaded)::before, .proj:has(img.loaded)::before { animation: none; opacity: 0; transition: opacity .6s; }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.tile { position: relative; overflow: hidden; border-radius: 6px; background: var(--c-raise); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .8s; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(to top, rgba(0,0,0,.65), transparent); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.85); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }
.tile figcaption b { color: var(--c-accent); font-weight: 600; }
img.lz { opacity: 0; } img.lz.loaded { opacity: 1; }

/* ---------- Project index cards ---------- */
.proj-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.proj { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-raise); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proj:hover img { transform: scale(1.05); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,.92), rgba(10,10,10,.1) 55%, transparent); transition: opacity .5s; }
.proj .card-body { transform: none; }
.proj .count { font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.6); margin-top: 6px; display: block; }
.proj .card-row svg { opacity: 1; transform: none; color: var(--c-accent); }
@media (min-width: 640px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } .proj--feature { grid-column: span 2; aspect-ratio: auto; } }

/* ---------- Justified gallery (project pages) ---------- */
.jg { display: flex; flex-wrap: wrap; row-gap: 8px; }
.jg .tile { border-radius: 3px; flex: none; }
.jg .tile img { position: absolute; inset: 0; }
.jg-more { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 56px; }
.jg-progress { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); }
.jg-bar { width: 200px; height: 1px; background: var(--c-line-2); position: relative; }
.jg-bar i { position: absolute; inset: 0 auto 0 0; background: var(--c-accent); transition: width .6s var(--ease); }
.proj-meta { display: flex; flex-wrap: wrap; gap: 40px; padding: 32px 0; border-top: 1px solid var(--c-line-2); border-bottom: 1px solid var(--c-line-2); margin-bottom: 56px; }
.proj-meta div small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; margin-bottom: 6px; }
.proj-meta div b { font-family: var(--f-serif); font-weight: 400; font-size: 22px; }
.next-proj { display: block; position: relative; overflow: hidden; padding: 120px 0; text-align: center; }
.next-proj .bg { position: absolute; inset: 0; } .next-proj .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.next-proj::before { content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.7); z-index: 1; transition: background-color .5s; }
.next-proj:hover::before { background: rgba(10,10,10,.55); } .next-proj:hover .bg img { transform: scale(1.04); }
.next-proj .container { position: relative; z-index: 2; }
.next-proj h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5, 5, 5, .97); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lb.open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad-x); gap: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; position: relative; z-index: 2; }
.lb-top .count { font-variant-numeric: tabular-nums; }
.lb-top .title { color: var(--c-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-tools { display: flex; gap: 8px; }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 var(--pad-x) 24px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; transition: opacity .35s, transform .45s var(--ease); user-select: none; -webkit-user-drag: none; }
.lb-stage img.out { opacity: 0; transform: scale(.985); }
.lb-stage .spin { position: absolute; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--c-line-3); border-top-color: var(--c-accent); animation: spin .9s linear infinite; opacity: 0; transition: opacity .3s; }
.lb.loading .spin { opacity: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(10,10,10,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
@media (max-width: 767px) { .lb-prev, .lb-next { display: none; } .lb-stage { padding: 0 0 16px; } }

/* ---------- Films ---------- */
.film-feature { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; text-align: left; }
@media (max-width: 767px) {
  .film-feature { aspect-ratio: 4 / 5; border-radius: 12px; }
  .film-feature::after { background: linear-gradient(to top, rgba(5,5,5,.96) 18%, rgba(5,5,5,.6) 52%, rgba(5,5,5,.1) 78%) !important; }
  .film-feature .fs { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px !important; }
  .film-feature .play-xl { width: 64px; height: 64px; }
  .film-overlay { gap: 18px; }
}
.film-feature img, .film-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; }
.film-feature:hover img, .film-card:hover img { transform: scale(1.04); }
.film-feature::after, .film-card .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,5,.88), rgba(5,5,5,.15) 55%, rgba(5,5,5,.25)); pointer-events: none; }
.film-overlay { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 4vw, 56px); z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.film-overlay .ft { display: block; font-family: var(--f-serif); font-size: clamp(1.9rem, 4.5vw, 3.75rem); line-height: 1.05; color: #fff; }
.film-overlay .fs { display: block; color: rgba(255,255,255,.72); max-width: 36rem; margin-top: 14px; font-size: 15px; }
.play-xl { width: 88px; height: 88px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(255,255,255,.04); transition: transform .5s var(--ease), border-color .3s, background-color .3s; }
.play-xl svg { width: 26px; height: 26px; margin-left: 4px; }
.film-feature:hover .play-xl { transform: scale(1.08); border-color: var(--c-accent); background: rgba(200,169,126,.15); }
.film-grid { display: grid; grid-template-columns: 1fr; gap: 48px 32px; margin-top: 72px; }
.film-card { display: block; text-align: left; width: 100%; }
.film-card .frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.film-card .frame img, .film-feature .frame img { position: absolute; inset: 0; scale: var(--crop, 1); }
.film-card { align-self: start; }
.film-card .frame .play-xl { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); z-index: 2; }
.film-card .frame .play-xl svg { width: 20px; height: 20px; }
.film-card:hover .frame .play-xl { transform: translate(-50%, -50%) scale(1.1); border-color: var(--c-accent); }
.film-card .dur { position: absolute; right: 14px; bottom: 12px; z-index: 2; font: 600 10px/1 var(--f-sans); letter-spacing: .15em; color: rgba(255,255,255,.8); }
.film-card .ft { display: block; font-family: var(--f-serif); font-size: 1.5rem; color: #fff; margin: 22px 0 8px; transition: color .3s; }
.film-card:hover .ft { color: var(--c-accent-hover); }
.film-card .fs { color: var(--c-muted); font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.film-card .tags { margin-top: 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-accent); font-weight: 600; }
@media (min-width: 768px) { .film-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .film-grid { grid-template-columns: repeat(3, 1fr); } }
.player { position: fixed; inset: 0; z-index: 110; background: rgba(5,5,5,.97); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.player.open { opacity: 1; visibility: visible; transition: opacity .4s; }
.player-body { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 var(--pad-x) 16px; }
.player-frame { position: relative; width: min(100%, calc((100vh - 170px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.player video { width: 100%; height: 100%; background: #000; }
.player .spin { position: absolute; left: 50%; top: 50%; margin: -14px 0 0 -14px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--c-line-3); border-top-color: var(--c-accent); animation: spin .9s linear infinite; pointer-events: none; transition: opacity .3s; }
.player.ready .spin { opacity: 0; }
/* Speaker + volume slider over VideoPress's own volume control (bottom left); player.js matches its spot per
   player size. The slider expands to the right on hover, keyboard focus or a tap, like YouTube's. */
.pl-vol { position: absolute; left: 60px; bottom: 9px; z-index: 2; height: 43px; display: flex; align-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(10,10,10,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.player.ready .pl-vol { opacity: 1; }
.pl-vol[hidden] { display: none; }
.pl-sound { flex: none; width: 43px; height: 43px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: transform .15s; }
.pl-sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pl-sound:active { transform: scale(.92); }
.pl-sound:focus-visible, .pl-vol-range:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.pl-vol-range { -webkit-appearance: none; appearance: none; width: 0; height: 18px; margin: 0; padding: 0; opacity: 0; background: transparent; cursor: pointer; transition: width .2s ease, margin .2s ease, opacity .2s ease; }
.pl-vol.is-open .pl-vol-range { width: 72px; margin: 0 14px 0 2px; opacity: 1; }
.pl-vol-range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, #fff var(--v, 100%), rgba(255,255,255,.3) var(--v, 100%)); }
.pl-vol-range::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: #fff; border: 0; }
.pl-vol-range::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); }
.pl-vol-range::-moz-range-progress { height: 3px; border-radius: 3px; background: #fff; }
.pl-vol-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0; }
.player-info { padding: 0 var(--pad-x) 24px; max-width: 980px; margin: 0 auto; width: 100%; color: var(--c-muted); font-size: 14px; }
.player-info h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }

/* ---------- Packages ---------- */
.tabs { display: inline-flex; padding: 6px; border-radius: 999px; border: 1px solid var(--c-line-2); background: rgba(255,255,255,.02); position: relative; flex-wrap: wrap; gap: 4px; }
.tab { position: relative; z-index: 1; padding: 12px 24px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--c-muted); transition: color .3s, background-color .3s; }
.tab[aria-selected="true"] { color: var(--c-base); background: var(--c-accent); }
.tab:not([aria-selected="true"]):hover { color: #fff; }
.pkg-panel { display: none; } .pkg-panel.active { display: block; animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.pkg-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
.pkg { position: relative; border: 1px solid var(--c-line-2); border-radius: 18px; padding: 40px 32px 36px; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 60%); transition: border-color .4s, transform .5s var(--ease); }
.pkg:hover { border-color: rgba(200,169,126,.35); transform: translateY(-4px); }
.pkg--top { border-color: rgba(200,169,126,.45); background: linear-gradient(180deg, rgba(200,169,126,.09), rgba(200,169,126,0) 65%); }
.pkg .flag { position: absolute; top: -11px; left: 32px; background: var(--c-accent); color: var(--c-base); font-size: 9px; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.stars { display: flex; gap: 4px; color: var(--c-accent); margin-bottom: 22px; }
.stars svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.pkg h3 { font-size: 1.75rem; line-height: 1.15; color: #fff; margin-bottom: 20px; min-height: 2.3em; }
.price { display: flex; align-items: baseline; gap: 6px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--c-line-2); }
.price b { font-family: var(--f-serif); font-weight: 400; font-size: 3rem; line-height: 1; color: #fff; }
.price span { font-size: 12px; letter-spacing: .1em; color: var(--c-muted); text-transform: uppercase; }
.pkg .inherit { font-size: 12px; color: var(--c-accent); letter-spacing: .05em; margin-bottom: 14px; }
.pkg ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pkg li { display: flex; gap: 12px; font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.55; }
.pkg li svg { width: 16px; height: 16px; color: var(--c-accent); flex-shrink: 0; margin-top: 3px; }
.pkg .for { margin-top: auto; font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: var(--c-accent-hover); padding-top: 4px; }
@media (min-width: 900px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.addon { border: 1px solid var(--c-line); border-radius: 14px; padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 8px; background: radial-gradient(120% 80% at 50% 0%, rgba(200,169,126,.07), transparent 60%), rgba(255,255,255,.012); transition: border-color .4s, transform .6s var(--ease); }
.addon:hover { border-color: rgba(200,169,126,.3); transform: translateY(-3px); }
/* Add-on product renders (dark studio stills, see source/addons-generated): full-bleed in a 4:3 frame. */
.addon-art { display: block; position: relative; aspect-ratio: 4 / 3; margin-bottom: 14px; border-radius: 10px; background: #0b0a09; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(200,169,126,.08); }
.addon-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.addon:hover .addon-art img { transform: scale(1.06); }
.addon b { font-weight: 500; font-size: 14px; } .addon span { font-family: var(--f-serif); font-size: 1.5rem; color: var(--c-accent); }
.addon small { color: var(--c-muted); font-size: 12px; line-height: 1.5; }
@media (min-width: 900px) { .addons { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .addons { grid-template-columns: repeat(6, 1fr); } }
.notes { display: grid; gap: 16px; }
.note { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--c-line-2); color: rgba(255,255,255,.8); font-size: 15px; }
.note svg { width: 18px; height: 18px; color: var(--c-accent); flex-shrink: 0; margin-top: 3px; }
.sheets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sheet { border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1600 / 2262; background: #f3ece3; }
.sheet img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); } .sheet:hover img { transform: scale(1.03); }
.placeholder-box { border: 1px dashed rgba(200,169,126,.5); border-radius: 18px; padding: 40px 32px; background: repeating-linear-gradient(135deg, rgba(200,169,126,.04) 0 12px, transparent 12px 24px); }
.placeholder-box .tag { display: inline-block; font-size: 9px; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; color: var(--c-base); background: var(--c-accent); padding: 5px 10px; border-radius: 999px; margin-bottom: 18px; }

/* ---------- Forms / calculator ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 10px; }
[hidden] { display: none !important; }
.field > span:not(.hint), .field legend { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); padding: 0; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--c-line-3); color: var(--c-text); font: inherit; font-size: 16px; padding: 12px 0; border-radius: 0; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--c-accent) 50%), linear-gradient(135deg, var(--c-accent) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--c-raise); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-accent); }
.field input[type="date"], .field input[type="time"] { color-scheme: dark; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--c-line-2); font-size: 13px; color: rgba(255,255,255,.75); transition: color .25s, background-color .25s, border-color .25s; }
.pill input:checked + span { background: rgba(200,169,126,.14); border-color: var(--c-accent); color: #fff; }
.pill input:focus-visible + span { outline: 1px solid var(--c-accent); outline-offset: 3px; }
.pill:hover span { border-color: var(--c-line-3); }
/* Range: hairline track with a gold fill up to the thumb (--fill set by calculator.js) */
.field input.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(to right, var(--c-accent) var(--fill, 50%), rgba(255,255,255,.14) var(--fill, 50%)); }
.range::-moz-range-track { height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); }
.range::-moz-range-progress { height: 2px; background: var(--c-accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--c-accent); border: 3px solid var(--c-base); box-shadow: 0 0 0 1px var(--c-accent); transition: transform .3s var(--ease); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--c-accent); border: 3px solid var(--c-base); box-shadow: 0 0 0 1px var(--c-accent); }
.range:active::-webkit-slider-thumb, .range:focus-visible::-webkit-slider-thumb { transform: scale(1.2); }
.field input:user-invalid, .field select:user-invalid { border-color: #d98a7a; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245,245,240,.32); }
.calc { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.calc-panel { border: 1px solid var(--c-line-2); border-radius: 18px; padding: clamp(24px, 4vw, 40px); background: rgba(255,255,255,.015); display: flex; flex-direction: column; gap: 32px; }
.calc-panel h3 { font-size: 1.5rem; color: #fff; display: flex; align-items: center; gap: 14px; }
.calc-panel h3 i { font-style: normal; font-family: var(--f-sans); font-size: 11px; letter-spacing: .15em; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--c-accent); color: var(--c-accent); display: inline-flex; align-items: center; justify-content: center; }
.calc-aside { position: sticky; top: 110px; }
.quote-card { border-radius: 18px; overflow: hidden; border: 1px solid rgba(200,169,126,.35); background: linear-gradient(180deg, rgba(200,169,126,.1), rgba(10,10,10,0) 70%), var(--c-sec); }
.quote-card .top { padding: 32px; }
.quote-card .pkgname { font-family: var(--f-serif); font-size: 1.6rem; color: #fff; margin: 8px 0 4px; line-height: 1.2; }
.quote-card .total { font-family: var(--f-serif); font-size: clamp(2.75rem, 5vw, 3.75rem); color: var(--c-accent-hover); line-height: 1; margin: 24px 0 8px; font-variant-numeric: tabular-nums; }
.quote-card .basis { font-size: 13px; color: var(--c-muted); }
.quote-card .lines { border-top: 1px solid var(--c-line-2); padding: 20px 32px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.quote-card .lines div { display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.75); }
.quote-card .lines div b { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.quote-card .lines .warn span { color: #e2b39f; font-size: 12px; line-height: 1.6; }
.quote-card.pulse .pkgname { animation: fadeUp .5s var(--ease); }
.quote-card .acts { padding: 0 32px 32px; display: flex; flex-direction: column; gap: 12px; }
.quote-card .acts .btn { width: 100%; }
.quote-card .fine { font-size: 11px; color: var(--c-muted); line-height: 1.6; padding: 0 32px 28px; }
.budget-row { display: flex; align-items: center; gap: 16px; }
.budget-row output { font-family: var(--f-serif); font-size: 1.5rem; color: var(--c-accent); min-width: 6ch; text-align: right; }
.hint { display: block; font-size: 12px; color: var(--c-muted); line-height: 1.6; letter-spacing: 0; text-transform: none; font-weight: 400; }
.event2 { display: none !important; } .event2.on { display: grid !important; }
fieldset.calc-panel { min-width: 0; }
.form-grid .pill.full { grid-column: 1 / -1; }
.calc-panel > .field + .field, .calc-panel > fieldset.field + .field { margin-top: 0; }
@media (min-width: 1024px) { .calc { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 96px; } }
.contact-big a { display: block; font-family: var(--f-serif); font-size: clamp(1.5rem, 3vw, 2.25rem); color: #fff; transition: color .3s; word-break: break-word; }
.contact-big a:hover { color: var(--c-accent); }
.contact-big .socials a { display: inline-flex; font-family: var(--f-sans); font-size: inherit; color: rgba(255,255,255,.6); width: 44px; height: 44px; }
.contact-big .socials a:hover { color: var(--c-accent); }
.contact-big small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; margin: 32px 0 8px; }
.form-status { font-size: 13px; color: var(--c-accent); min-height: 1.5em; }
.split-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 48px; }
.split-strip .tile { aspect-ratio: 3 / 4; cursor: default; }

/* ---------- Misc ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding: 28px 0; background: var(--c-sec); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--f-serif); font-size: clamp(1.75rem, 3.5vw, 2.75rem); color: rgba(255,255,255,.85); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-size: .45em; color: var(--c-accent); }
.marquee span em { font-style: italic; color: var(--c-accent-hover); }
@keyframes marquee { to { transform: translateX(-50%); } }
.lede-split { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .lede-split { grid-template-columns: 1fr 1fr; gap: 96px; align-items: end; } }
.big-quote { font-family: var(--f-serif); font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.3; color: #fff; }
.big-quote em { font-style: italic; color: var(--c-accent-hover); }
/* About mosaic: a tall portrait anchors the right; two rows of frames fill the left exactly. */
/* Rows capped one by one (a max-height on the grid squeezed only the bottom row on wide screens, cropping the two
   lower portraits to a strip); the lower row is a little taller so both lower portraits show Mir and his camera. */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: min(30vw, 560px) min(25vw, 466px); gap: 16px; }
.mosaic .tile { cursor: zoom-in; min-height: 0; }
.mosaic .tile img { position: absolute; inset: 0; }
.mosaic .m1 { grid-column: 1 / 8; grid-row: 1; }
.mosaic .m2 { grid-column: 8 / 13; grid-row: 1 / 3; }
.mosaic .m3 { grid-column: 1 / 4; grid-row: 2; }
.mosaic .m4 { grid-column: 4 / 8; grid-row: 2; }
@media (max-width: 767px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 8px; max-height: none; }
  .mosaic .m1, .mosaic .m4 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .mosaic .m2, .mosaic .m3 { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }
}
.mb-0 { margin-bottom: 0 !important; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; } .mb-56 { margin-bottom: 56px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }

html.qa *, html.qa *::before, html.qa *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html:not(.force-motion) :is(.rv, .rv-x, .rv-scale, .badge) { opacity: 1; transform: none; }
  html:not(.force-motion) .reveal-mask { clip-path: none; }
  /* The marquee keeps its slow, steady drift even with reduced motion (client's choice); everything else stays still */
  html:not(.force-motion) .marquee-track { animation-duration: 40s !important; animation-iteration-count: infinite !important; }
}

/* ================= Premium layer ================= */
/* Cross-page transitions (progressive: Chromium & Safari 18.2+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: vt-in .6s cubic-bezier(.16,1,.3,1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
.site-header { view-transition-name: header; }

/* Film grain — static noise tile, composited once */
body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Reading progress */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; background: var(--c-accent); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }

/* Header: hides on the way down, returns on the way up */
.site-header { transition: padding .4s var(--ease), background-color .4s, box-shadow .4s, transform .6s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--c-line); }
.site-header.away { transform: translateY(-110%); }
.menu-open.site-header { transform: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--c-accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"]::after { transform: scaleX(1); opacity: .7; }
.brand-mark { width: 26px; height: 26px; color: var(--c-accent); transition: transform 1.2s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }

/* Image reveal: curtain + settle */
.ri { overflow: hidden; }
.ri img, .ri .ri-in { clip-path: inset(100% 0 0 0); transform: scale(1.14); transition: clip-path 1.25s cubic-bezier(.77,0,.18,1), transform 1.8s var(--ease); }
.ri.in img, .ri.in .ri-in { clip-path: inset(0 0 0 0); transform: none; }
.tile.ri.in:hover img { transform: scale(1.04); transition: transform 1.2s var(--ease); }
.no-js .ri img { clip-path: none; transform: none; }

/* Split headline reveal */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + var(--d0, 0ms)); }
.split.in .sw > span { transform: none; }

/* Buttons: soft sheen + lift */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--gold:hover::before { transform: translateX(120%); }
.btn--outline::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(200,169,126,.08); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.btn--outline:hover::before { transform: none; }
.btn:active { transform: scale(.98); }

/* Home intro: a single, short brand beat while the first film frame decodes */
.intro { position: fixed; inset: 0; z-index: 120; background: var(--c-deep); display: grid; place-items: center; pointer-events: none; transition: opacity .9s var(--ease) .15s, visibility 0s 1.1s; }
.intro-mark { text-align: center; }
/* Mir monogram above the wordmark: rises in, then a slow gold light sweeps across it */
.intro-logo { display: block; width: clamp(96px, 10vw, 132px); aspect-ratio: 314 / 240; margin: 0 auto 30px; background: linear-gradient(110deg, var(--c-accent) 0%, var(--c-accent) 38%, #fff3dc 50%, var(--c-accent) 62%, var(--c-accent) 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-mask: url('/media/brand/mir-monogram.png') center / contain no-repeat; mask: url('/media/brand/mir-monogram.png') center / contain no-repeat; opacity: 0; transform: translateY(14px) scale(.94); animation: intro-logo 1.1s var(--ease) forwards, intro-sheen 1.8s ease-in-out .7s forwards; filter: drop-shadow(0 0 24px rgba(200,169,126,.25)); }
@keyframes intro-logo { to { opacity: 1; transform: none; } }
@keyframes intro-sheen { to { background-position: 0% 0; } }
.intro-mark b { display: block; font: 400 clamp(1.4rem, 3vw, 2rem)/1 var(--f-serif); letter-spacing: .5em; margin-right: -.5em; color: var(--c-text); opacity: 0; animation: intro-in 1s var(--ease) .4s forwards; }
.intro-mark i { display: block; width: 120px; height: 1px; margin: 18px auto 0; background: var(--c-accent); transform: scaleX(0); animation: intro-line 1.1s var(--ease) .65s forwards; }
.intro-mark small { display: block; margin-top: 16px; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--c-muted); opacity: 0; animation: intro-in .9s var(--ease) .8s forwards; }
@keyframes intro-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes intro-line { to { transform: scaleX(1); } }
.intro-done .intro { opacity: 0; visibility: hidden; }

/* Footer finale */
.footer-word { font-family: var(--f-serif); font-size: clamp(3.4rem, 13.5vw, 13rem); line-height: .9; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(200,169,126,.35); white-space: nowrap; text-align: center; margin: 0 0 72px; user-select: none; transition: -webkit-text-stroke-color .6s; }
.footer-word em { font-style: italic; }
/* Phones: size the wordmark to the measure (it is ~6.65em wide), so it never pushes the page wider than the screen */
@media (max-width: 767px) { .footer-word { font-size: calc((100vw - 2 * var(--pad-x)) / 6.8); } }
.footer-word:hover { -webkit-text-stroke-color: rgba(200,169,126,.7); }
.to-top { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); transition: color .3s; }
.to-top:hover { color: var(--c-accent); }
.to-top svg { width: 14px; height: 14px; transform: rotate(-90deg); transition: transform .4s var(--ease); }
.to-top:hover svg { transform: rotate(-90deg) translateX(3px); }

/* Count/slide indicator */
.featured-count { font: 500 12px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--c-muted); letter-spacing: .1em; min-width: 5ch; }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .ri img { clip-path: none; transform: none; }
  html:not(.force-motion) .sw > span { transform: none; }
  html:not(.force-motion) .site-header.away { transform: none; }
  html:not(.force-motion) .intro { display: none; }
  html:not(.force-motion) ::view-transition-old(root), html:not(.force-motion) ::view-transition-new(root) { animation: none; }
}
html.qa .intro, html.qa body::after, html.qa .progress { display: none; }
html.qa .ri img, html.qa .sw > span { clip-path: none !important; transform: none !important; }
.logo { width: 44px; height: 34px; flex-shrink: 0; background: var(--c-accent); -webkit-mask: url('/media/brand/mir-monogram.png') center / contain no-repeat; mask: url('/media/brand/mir-monogram.png') center / contain no-repeat; transition: background-color .4s, transform 1s var(--ease); }
.brand:hover .logo { background: var(--c-accent-hover); transform: scale(1.06); }
.brand { gap: 10px; }

/* ---------- Terms ---------- */
.terms { display: grid; grid-template-columns: 1fr; gap: 56px; }
.terms-toc { display: none; }
.terms-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 160px); overflow: auto; }
.terms-toc a { display: flex; gap: 12px; padding: 6px 0; font-size: 12.5px; color: var(--c-muted); transition: color .3s; }
.terms-toc a span { font: 500 11px/1.7 ui-monospace, Menlo, Consolas, monospace; color: rgba(200,169,126,.6); min-width: 2ch; }
.terms-toc a:hover { color: #fff; }
.terms-body { max-width: 760px; }
.terms-body .lead { margin-bottom: 24px; }
.terms-part { font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; margin: 64px 0 8px; padding-top: 32px; border-top: 1px solid var(--c-line-2); }
.terms-sec { padding: 28px 0; border-bottom: 1px solid var(--c-line); scroll-margin-top: 110px; }
.terms-sec h3 { font-size: 1.35rem; color: #fff; display: flex; gap: 16px; align-items: baseline; margin-bottom: 14px; }
.terms-sec h3 span { font: 500 12px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--c-accent); }
.terms-sec p { color: rgba(245,245,240,.78); font-size: 15px; line-height: 1.8; margin-top: 10px; }
.terms-sec p b { color: var(--c-accent); font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 6px; }
@media (min-width: 1024px) { .terms { grid-template-columns: 280px minmax(0, 1fr); gap: 96px; } .terms-toc { display: block; position: sticky; top: 120px; align-self: start; } }

.hero-rail { transition: opacity .8s var(--ease); }
.hero[data-slide="2"] .hero-rail { opacity: 0; }
.logo { width: 52px; height: 40px; }
.brand-text small { letter-spacing: .32em; }

/* ---------- Testimonials (editorial carousel) ---------- */
figure { margin: 0; }
.quotes-wrap { display: grid; grid-template-columns: 1fr; gap: 72px; align-items: center; }
.qcar { position: relative; margin-top: 16px; }
.qmark { display: block; font: italic 400 140px/0.7 var(--f-serif); color: var(--c-accent); height: 64px; margin-bottom: 12px; opacity: .9; }
.qslides { display: grid; }
.qslide { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform 1s var(--ease); pointer-events: none; }
.qslide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.qslide blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(1.45rem, 2.6vw, 2.25rem); line-height: 1.38; color: rgba(255,255,255,.94); letter-spacing: -.005em; }
.qslide blockquote em { color: var(--c-accent-hover); }
.qfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-line-2); }
.qsrc { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); }
.qsrc svg { width: 14px; height: 14px; color: var(--c-accent); }
.qnav { display: flex; align-items: center; gap: 14px; }
.qcount { font: 500 12px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--c-muted); min-width: 7ch; text-align: center; }
.qfoot { position: relative; } .qbar { position: absolute; left: 0; right: 0; top: -1px; height: 1px; }
.qbar i { display: block; height: 1px; background: var(--c-accent); transform-origin: left; transform: scaleX(0); }
.qbar i.run { transition: transform var(--qd, 7s) linear; transform: scaleX(1); }
.quotes-note { position: relative; height: 520px; max-width: 480px; margin: 0 auto; width: 100%; }
.letter { position: absolute; width: 58%; aspect-ratio: 1381 / 2203; border-radius: 6px; overflow: hidden; background: #f3eee6; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04); cursor: zoom-in; transition: transform 1s var(--ease), box-shadow .6s; }
.letter img { width: 100%; height: 100%; object-fit: cover; }
.letter--front { left: 2%; top: 4%; transform: rotate(-6deg); z-index: 1; }
.letter--back { right: 2%; top: 10%; transform: rotate(5deg); z-index: 2; }
.quotes-note:hover .letter--front { transform: rotate(-9deg) translate(-12px, -6px); }
.quotes-note:hover .letter--back { transform: rotate(3deg) translate(10px, 4px); }
.letter:focus-visible { outline-offset: 6px; }
.note-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 12px; color: var(--c-muted); letter-spacing: .02em; }
.note-cap svg { width: 14px; height: 14px; color: var(--c-accent); }
@media (min-width: 1024px) { .quotes-wrap { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 96px; } .quotes-note { height: 560px; } }
@media (max-width: 640px) { .quotes-note { height: 440px; } .qmark { font-size: 110px; height: 50px; } }

/* 3D service icons (icons3d.js): same 64px circle, the SVG stays as fallback */
.service .ico { position: relative; }
.service .ico.is-3d svg { display: none; }
.service .ico-3d { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); pointer-events: none; }

/* Hero, promo motion: the final CTA sits left like the other slides (the motion's own "MIR PRODUCTIONS"
   title appears centred low in the frame); near the end the shading lifts so that title reads clearly. */
.hero-slide--final p:not(.h1) { margin-bottom: 36px; }
.hero canvas { will-change: contents; }
@media (max-width: 767px) {
  /* Phones: the motion fits to width at the end and sits a little high; keep the CTA well below the title. */
  .hero-slide--final { bottom: 7vh; }
}
.h1 { font-family: var(--f-serif); font-weight: 400; }

/* ---------- Proposal page ---------- */
/* Hero: full height, landscape frame on desktop, a portrait frame on phones (<picture>) */
.page-hero--proposal { min-height: 100vh; min-height: 100svh; padding-bottom: 96px; }
.page-hero .bg picture { display: block; width: 100%; height: 100%; }
.page-hero--proposal .bg img { object-position: 50% 42%; }
.page-hero--proposal::before { background: linear-gradient(to top, var(--c-base) 1%, rgba(10,10,10,.62) 38%, rgba(10,10,10,.22) 72%, rgba(10,10,10,.4)), linear-gradient(to right, rgba(10,10,10,.78), rgba(10,10,10,.2) 62%, transparent); }
.page-hero--proposal h1 em { display: block; }
.page-hero--proposal .lead { max-width: 33rem; }
.hero-cta { margin-top: 40px; }
@media (max-width: 767px) {
  .page-hero--proposal .bg img { object-position: 62% 30%; }
  .page-hero--proposal { padding-bottom: 72px; }
  /* "before forever" stays on one line down to 320px screens */
  .page-hero--proposal h1 { font-size: min(3rem, 13.4vw); }
}
/* Long labels may take two lines on the narrowest phones instead of running off the screen */
@media (max-width: 400px) { .btn--fit { white-space: normal; text-align: center; line-height: 1.5; padding-left: 28px; padding-right: 28px; } }
/* Keep the italic phrase together so a heading never ends on a lone word */
#pf-h em { white-space: nowrap; }

/* Three frames that tell a proposal in order: before, the question, yes */
.chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 96px 0 0; padding: 0; list-style: none; align-items: start; }
.chapter:nth-child(2) { margin-top: 120px; }
.chapter:nth-child(3) { margin-top: 48px; }
.chapter .tile { display: block; aspect-ratio: 4 / 5; }
.chapter .tile img { position: absolute; inset: 0; }
.chapter p { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; margin-top: 20px; }
.chapter p span { grid-row: span 2; font: 500 11px/2.1 ui-monospace, Menlo, Consolas, monospace; color: var(--c-accent); }
.chapter p b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.25rem, 1.8vw, 1.6rem); color: #fff; line-height: 1.2; }
.chapter p small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); margin-top: 6px; }
@media (max-width: 767px) {
  /* Phones: the three frames stack, and the desktop's vertical stagger becomes a left/right one */
  .chapters { grid-template-columns: 1fr; gap: 44px; margin-top: 56px; }
  .chapter { width: 86%; }
  .chapter:nth-child(n) { margin-top: 0; }
  .chapter:nth-child(2) { margin-left: auto; }
  .chapter p { margin-top: 16px; }
}

/* Photography & film: two image-led rows, the second mirrored and letterboxed like a film frame */
.offer { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.offer + .offer { margin-top: 96px; }
.offer-media { display: block; aspect-ratio: 3 / 2; }
.offer-media img { position: absolute; inset: 0; }
.offer--film .offer-media { aspect-ratio: 4 / 3; }
.offer--film .offer-media img { object-position: 50% 30%; }
.offer-num { display: block; font: italic 400 clamp(3.5rem, 6vw, 5.5rem)/1 var(--f-serif); color: transparent; -webkit-text-stroke: 1px rgba(200,169,126,.45); margin-bottom: 20px; }
.offer-copy h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.12; color: #fff; margin-bottom: 20px; }
.offer-copy h3 em, .story-copy h3 em { font-style: italic; color: rgba(255,255,255,.88); }
.offer-copy p { color: var(--c-muted); font-size: 15px; line-height: 1.8; max-width: 26rem; margin-bottom: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-accent); padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .3s, background-size .5s var(--ease); }
.text-link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.text-link:hover { color: var(--c-accent-hover); background-size: 40% 1px; }
.text-link:hover svg { transform: translateX(4px); }
@media (min-width: 1024px) {
  .offer { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 88px; }
  .offer--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .offer--rev .offer-media { order: 2; }
  .offer--film .offer-media { aspect-ratio: 2.2 / 1; }
  .offer + .offer { margin-top: 140px; }
}

/* Proposal stories: copy beside an asymmetric cluster (one lead frame + two staggered details) */
.stories { display: flex; flex-direction: column; gap: 104px; }
.story { display: grid; grid-template-columns: 1fr; gap: 32px; }
.story-num { display: block; font: 500 11px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--c-accent); letter-spacing: .1em; margin-bottom: 18px; }
.story-num::after { content: ""; display: inline-block; vertical-align: middle; width: 40px; height: 1px; margin-left: 14px; background: rgba(200,169,126,.5); }
.story-copy h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.08; color: #fff; }
.story-meta { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); margin: 16px 0 22px; }
.story-copy p:not(.story-meta) { color: var(--c-muted); font-size: 15px; line-height: 1.8; max-width: 24rem; margin-bottom: 28px; }
.story-media { display: grid; gap: 12px; }
.story-media .tile { display: block; min-height: 0; }
.story-media .tile img { position: absolute; inset: 0; }
/* Landscape-led: a wide frame, then two portrait details, the second dropped a little */
.story--land .story-media { grid-template-columns: 1fr 1fr; }
.story--land .story-lead { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.story--land .tile:not(.story-lead) { aspect-ratio: 4 / 5; }
.story--land .tile:nth-child(3) { margin-top: 40px; }
/* Portrait-led: a tall frame beside two stacked details */
.story--port .story-media { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; }
.story--port .story-lead { grid-row: 1 / 3; aspect-ratio: 4 / 5.4; }
@media (min-width: 1024px) {
  .story { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .story--rev { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .story--rev .story-copy { order: 2; }
  .story-copy { position: sticky; top: 140px; padding-top: 24px; }
  .story-media { gap: 16px; }
  .story--land .tile:nth-child(3) { margin-top: 64px; }
  .stories { gap: 160px; }
}
@media (max-width: 1023px) { .story--land .tile:nth-child(3) { margin-top: 0; } }
@media (max-width: 639px) {
  /* Phones: portrait stories stack like the landscape ones (lead frame across, two details beneath),
     so no frame shrinks to a thumbnail */
  .story--port .story-media { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .story--port .story-lead { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
  .story--port .tile:not(.story-lead) { aspect-ratio: 4 / 5; }
  .story { gap: 28px; }
  .story-media { gap: 8px; }
}
@media (min-width: 768px) {
  /* Final slide sits higher, clear of the motion's low-centred title */
  .hero-slide--final { top: 42%; }
}

/* Home services that link somewhere: whole card is the link, with a quiet gold cue on hover, focus and touch */
a.service h3 { transition: color .3s; }
a.service:hover h3, a.service:focus-visible h3 { color: var(--c-accent-hover); }
a.service:focus-visible { outline: 1px solid var(--c-accent); outline-offset: 2px; }
a.service:active { background: rgba(200, 169, 126, .06); }

/* Home: cinematic films section. Text left, the Films page montage right (stacked below 1024px, text first) */
.cinema-grid { display: grid; gap: 48px; align-items: center; }
.cinema-copy .lead { max-width: 32rem; }
.cinema-media { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.cinema-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cinema-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(10,10,10,.5); color: #fff; display: flex; align-items: center; justify-content: center; opacity: .8; transition: opacity .3s, border-color .3s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cinema-toggle:hover, .cinema-toggle:focus-visible { opacity: 1; border-color: var(--c-accent); }
.cinema-toggle:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.cinema-toggle svg { width: 16px; height: 16px; fill: currentColor; }
@media (min-width: 1024px) { .cinema-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (max-width: 767px) { .cinema-media { aspect-ratio: 4 / 5; } }

/* About page portraits of Mir: each photo sets its own focal point (--op desktop, --op-t tablet, --op-m phone) */
.mir-photo { object-position: var(--op, 50% 50%); background-position: var(--op, 50% 50%); }
@media (min-width: 768px) and (max-width: 1023px) { .mir-photo { object-position: var(--op-t, var(--op, 50% 50%)); background-position: var(--op-t, var(--op, 50% 50%)); } }
@media (max-width: 767px) { .mir-photo { object-position: var(--op-m, var(--op, 50% 50%)); background-position: var(--op-m, var(--op, 50% 50%)); } }
/* Wide or high-density screens draw the CTA portrait over 2048 px wide: use the larger copy there */
@media (min-width: 2000px), (min-width: 1100px) and (min-resolution: 1.5dppx) { .cta-bg.mir-photo { background-image: var(--bg-hd) !important; } }

/* ---------- Films page: hero film + his side / her side / the first look ---------- */
/* Full-screen film; its poster is its own first frame, so nothing blends or flashes while it starts */
.page-hero .bg .hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.sides { position: relative; background: var(--c-deep); }
.sides-intro { display: none; }
.sides-run { position: relative; height: 260vh; }
.sides-stage { --t: 0; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--c-deep); isolation: isolate; }
.sides-stage video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c-deep); }
.sides-meet { position: absolute; inset: 0; overflow: hidden; }
.sides-meet video { transform: scale(calc(1.14 - .14 * var(--t))); will-change: transform; }
.sides-meet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,.88), rgba(10,10,10,.18) 46%, rgba(10,10,10,.3)), linear-gradient(to right, rgba(10,10,10,.6), transparent 62%); }
.sides-pane { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; z-index: 1; will-change: transform; }
.sides-pane--his { left: 0; transform: translate3d(calc(var(--t) * -100%), 0, 0); }
.sides-pane--her { right: 0; transform: translate3d(calc(var(--t) * 100%), 0, 0); }
.sides-pane::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(10,10,10,.74), rgba(10,10,10,.18) 34%, rgba(10,10,10,.06) 56%, rgba(10,10,10,.78)); }
/* Champagne seam where the two sides touch */
.sides-pane--his::before { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; right: 0; width: 1px; background: linear-gradient(to bottom, rgba(200,169,126,0), rgba(200,169,126,.65) 22%, rgba(200,169,126,.65) 78%, rgba(200,169,126,0)); }
.sides-cap { position: absolute; z-index: 2; bottom: clamp(36px, 7vh, 76px); max-width: 30ch; }
.sides-pane--his .sides-cap { left: var(--pad-x); }
.sides-pane--her .sides-cap { right: var(--pad-x); text-align: right; }
.sides-who { margin: 0; font-family: var(--f-serif); font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1; color: #fff; }
.sides-who em, .sides-title h2 em, .sides-intro h2 em, .sides-after h3 em { font-style: italic; color: var(--c-accent); }
.sides-txt { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.74); }
.sides-title { position: absolute; z-index: 3; left: 50%; top: clamp(96px, 13vh, 150px); width: min(88vw, 780px); transform: translateX(-50%); text-align: center; opacity: calc(1 - var(--t) * 2.6); pointer-events: none; }
.sides-title h2, .sides-intro h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.1; color: #fff; }
.sides-title h2 { text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.sides-title p, .sides-intro p { margin: 18px auto 0; max-width: 34rem; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.78); }
.sides-hint { position: absolute; z-index: 3; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); padding: 11px 20px; border: 1px solid rgba(200,169,126,.4); border-radius: 999px; background: rgba(10,10,10,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.82); white-space: nowrap; opacity: calc(1 - var(--t) * 4); pointer-events: none; }
.sides-hint::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 40px; background: linear-gradient(var(--c-accent), rgba(200,169,126,0)); transform-origin: top; animation: sides-cue 2.6s var(--ease) infinite; }
@keyframes sides-cue { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.sides-after { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(48px, 10vh, 104px); opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 1s var(--ease) .15s, transform 1.4s var(--ease) .15s; pointer-events: none; }
.sides-after h3 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.03; color: #fff; }
.sides-after p { margin: 18px 0 0; max-width: 30rem; color: rgba(255,255,255,.76); }
.is-met .sides-after { opacity: 1; transform: none; }
@media (max-width: 1023px) and (min-width: 768px) { .sides-txt { display: none; } }
@media (max-width: 767px) {
  /* Phones: the heading leads in above the film, and the two sides stack (his above, hers below), parting up and down */
  .sides-intro { display: block; padding-top: 88px; padding-bottom: 40px; text-align: center; }
  .sides-intro h2 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .sides-intro p { font-size: 15px; margin-top: 14px; }
  .sides-title { display: none; }
  .sides-run { height: 230vh; }
  .sides-pane { left: 0; right: 0; width: 100%; height: 50%; }
  .sides-pane--his { top: 0; bottom: auto; transform: translate3d(0, calc(var(--t) * -100%), 0); }
  .sides-pane--her { top: 50%; bottom: auto; transform: translate3d(0, calc(var(--t) * 100%), 0); }
  .sides-pane--his::before { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 1px; background: linear-gradient(to right, rgba(200,169,126,0), rgba(200,169,126,.65) 18%, rgba(200,169,126,.65) 82%, rgba(200,169,126,0)); }
  .sides-pane--his::after { background: linear-gradient(to bottom, rgba(10,10,10,.35), rgba(10,10,10,.05) 40%, rgba(10,10,10,.72)); }
  .sides-pane--her::after { background: linear-gradient(to bottom, rgba(10,10,10,.25), rgba(10,10,10,.05) 40%, rgba(10,10,10,.75)); }
  .sides-cap { left: var(--pad-x); right: var(--pad-x); max-width: none; }
  .sides-pane--his .sides-cap { bottom: 34px; }
  .sides-pane--her .sides-cap { bottom: 22px; left: var(--pad-x); right: var(--pad-x); text-align: left; }
  .sides-who { font-size: 1.9rem; }
  .sides-txt { margin-top: 6px; font-size: 13px; line-height: 1.5; max-width: 30ch; }
  .sides-hint { padding: 9px 16px; font-size: 9.5px; letter-spacing: .18em; }
  .sides-hint::after { display: none; }
  .sides-after { bottom: 40px; }
  .sides-after h3 { font-size: clamp(2.1rem, 10vw, 2.75rem); }
  .sides-after p { margin-top: 12px; font-size: 15px; }
}
@media (max-width: 767px) and (max-height: 640px) { .sides-txt { display: none; } }
/* Reduced motion: no sliding or zooming; the two sides simply dissolve into the first look as you scroll. The films keep playing (client's choice, like the marquee) */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .sides-pane--his, html:not(.force-motion) .sides-pane--her { transform: none; opacity: calc(1 - var(--t)); }
  html:not(.force-motion) .sides-meet video { transform: none; }
  html:not(.force-motion) .sides-after { transform: none; }
}
/* Headings break into two balanced lines; a soft dark pool behind the title keeps it legible over bright frames */
.sides-title h2 em, .sides-intro h2 em, .sides-after h3 em { display: block; }
.sides-title::before { content: ""; position: absolute; z-index: -1; inset: -90px -160px -70px; background: radial-gradient(closest-side, rgba(10,10,10,.6), rgba(10,10,10,.32) 55%, rgba(10,10,10,0)); }
.sides-title p { text-shadow: 0 1px 14px rgba(0,0,0,.6); }

/* Films hero: full screen, and the words rise in once the film has been playing for 1.5 s (films-cinema.js) */
.page-hero--film { min-height: 100vh; min-height: 100svh; padding-bottom: 96px; }
.page-hero--film h1 em { display: block; }
.page-hero--film .lead { max-width: 34rem; }
.hero-copy > * { transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: calc(var(--i, 0) * .16s); }
.page-hero.is-intro .hero-copy > * { opacity: 0; transform: translate3d(0, 22px, 0); transition: none; }
@media (max-width: 767px) { .page-hero--film { padding-bottom: 72px; } .page-hero--film h1 { font-size: min(3rem, 13.4vw); } }

/* Editorial introduction between the hero and the two sides */
.film-intro { padding: 120px 0 112px; }
.film-intro h2 { margin-top: 8px; font-size: clamp(2.5rem, 6vw, 5.25rem); line-height: 1.04; color: #fff; max-width: 15ch; }
.film-intro h2 em { display: block; font-style: italic; color: var(--c-accent); }
.film-intro-body { display: grid; gap: 32px; margin-top: 48px; }
.film-intro-body .lead { max-width: 38rem; font-size: 16px; color: rgba(255,255,255,.72); }
.film-intro-note { margin: 0; max-width: 26rem; padding-top: 22px; border-top: 1px solid rgba(200,169,126,.4); font-family: var(--f-serif); font-style: italic; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: rgba(255,255,255,.86); }
@media (min-width: 1024px) {
  .film-intro { padding: 168px 0 160px; }
  .film-intro-body { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0 8%; align-items: end; margin-top: 64px; }
}
@media (max-width: 767px) { .film-intro { padding: 88px 0 80px; } .film-intro h2 { font-size: min(2.6rem, 11.2vw); } }
/* Reduced motion: the words still wait for the film, then simply fade in without moving */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .page-hero.is-intro .hero-copy > * { transform: none; }
  html:not(.force-motion) .hero-copy > * { transform: none; transition: opacity 1s ease !important; transition-delay: calc(var(--i, 0) * .16s) !important; }
}
html.qa .page-hero.is-intro .hero-copy > * { opacity: 1; transform: none; }

/* Home "Moments we've captured": per-card focal points (set from curation home.covers; default stays centred) */
.featured .card .par img { object-position: var(--pos-m, var(--pos-t, var(--pos, 50% 50%))); }
@media (min-width: 640px) { .featured .card .par img { object-position: var(--pos-t, var(--pos, 50% 50%)); } }
@media (min-width: 1024px) { .featured .card .par img { object-position: var(--pos, 50% 50%); } }
/* Landscape photo of two people side by side: just enough over-size for its gentler drift, so both fit the tall card */
.featured .card .par--tight { inset: -30px 0; width: 100%; height: calc(100% + 60px); }
