/* omarfasli.com
   One dark theme, one typeface (Geist), no accent color: the photographs carry the color.
   Square corners everywhere. Layers: nav 20, grain 30, dialogs sit in the top layer. */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-2: #131315;
  --line: #242427;
  --text: #f4f3f0;
  --muted: #8f939b;
  --dim: #5d6067;
  --pad: clamp(18px, 3.4vw, 56px);
  --gap: clamp(10px, 1.3vw, 20px);
  --max: 1680px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent; }
img, video { display: block; max-width: 100%; height: auto; }
/* iPhones draw a play button over a video they refuse to autoplay (Low Power Mode). Hide it and every other built-in control. */
video::-webkit-media-controls, video::-webkit-media-controls-panel, video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button, video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; opacity: 0; }
a { color: inherit; touch-action: manipulation; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; font-weight: 400; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
::selection { background: var(--text); color: var(--bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* film grain, fixed and inert */
body::after { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' 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 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.skip { position: fixed; left: 12px; top: -80px; z-index: 40; background: var(--text); color: var(--bg); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--nav-h); display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left)); transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease); border-bottom: 1px solid transparent; }
.nav.solid, .cat .nav, .nf .nav { background: rgb(10 10 11 / 0.82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.brand { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.nav nav { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav nav a, .nav-cta { font-size: 15px; text-decoration: none; white-space: nowrap; opacity: 0.72; transition: opacity 0.25s var(--ease); }
.nav nav a:hover, .nav-cta:hover { opacity: 1; }
.nav-cta { opacity: 1; padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.nav-cta:hover { background-size: 0 1px; background-position: 100% 100%; transition: background-size 0.4s var(--ease); }
.menu-btn { display: none; height: 44px; padding: 0 2px; font-size: 15px; }

#menu { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: var(--bg); color: var(--text); overscroll-behavior: contain; }
#menu[open] { display: flex; flex-direction: column; justify-content: flex-end; padding: var(--pad); padding-bottom: max(var(--pad), env(safe-area-inset-bottom)); }
#menu nav { display: grid; gap: 2px; }
#menu nav a { font-size: clamp(38px, 11vw, 64px); line-height: 1.08; letter-spacing: -0.04em; text-decoration: none; font-weight: 500; }
.menu-close { position: absolute; top: 12px; right: var(--pad); height: 44px; font-size: 15px; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 28px; background: var(--text); color: var(--bg); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); }
.btn:hover { background: #fff; }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--dim); }
.btn.ghost:hover { background: var(--text); color: var(--bg); }
.link { text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: opacity 0.25s var(--ease); }
.link:hover { opacity: 0.7; }
main a:not([class]) { text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--dim); transition: text-decoration-color 0.25s var(--ease); }
main a:not([class]):hover { text-decoration-color: currentColor; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: clip; background: var(--bg-2); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 10 11 / 0.5) 0%, rgb(10 10 11 / 0) 22%, rgb(10 10 11 / 0) 42%, rgb(10 10 11 / 0.78) 86%, var(--bg) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(28px, 5vh, 64px); display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 4vw, 64px); align-items: end; }
h1 { font-weight: 500; font-size: clamp(64px, 13.4vw, 250px); line-height: 0.84; letter-spacing: -0.06em; margin-left: -0.045em; white-space: nowrap; }
.hero-side { max-width: 30ch; padding-bottom: clamp(6px, 1.2vw, 22px); }
.lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.35; color: #d9d8d4; }
.actions { margin-top: 26px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ---------- shared section rhythm ---------- */
main > section:not(.hero), .work { max-width: var(--max); margin: 0 auto; padding: clamp(88px, 12vw, 200px) var(--pad) 0; }
h2 { font-size: clamp(40px, 6.4vw, 112px); line-height: 0.94; letter-spacing: -0.05em; font-weight: 500; }

.statement p { font-size: clamp(28px, 4.1vw, 68px); line-height: 1.08; letter-spacing: -0.035em; max-width: 24ch; max-width: min(100%, 1280px); }
.statement a { text-decoration-thickness: 2px; }

/* ---------- photo frames ---------- */
.frame, .tile { display: block; position: relative; overflow: hidden; background: var(--bg-2); }
.frame img, .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity 0.6s var(--ease); }
.frame:hover img, .tile:hover img { transform: scale(1.035); }

.chapter { margin-top: clamp(64px, 9vw, 150px); }
.chapter:first-of-type { margin-top: clamp(36px, 5vw, 72px); }
.chapter-head { display: flex; align-items: baseline; gap: 24px; padding-top: 18px; border-top: 1px solid var(--line); margin-bottom: clamp(18px, 2vw, 30px); }
h3 { font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -0.035em; line-height: 1; font-weight: 500; }
.more { margin-left: auto; font-size: 15px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 0.25s var(--ease); }
.more:hover { color: var(--text); }
.more span[aria-hidden] { display: inline-block; transition: transform 0.35s var(--ease); }
.more:hover span[aria-hidden] { transform: translateX(4px); }

.lay-runway, .lay-live, .lay-portraits, .lay-editorial, .lay-interiors, .lay-life { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.lay-runway .f1 { grid-column: 1 / 7; grid-row: 1 / 3; }
.lay-runway .f2, .lay-runway .f4 { grid-column: 7 / 10; aspect-ratio: 4 / 5; }
.lay-runway .f3, .lay-runway .f5 { grid-column: 10 / 13; aspect-ratio: 4 / 5; }

.lay-live .f1 { grid-column: 1 / 9; aspect-ratio: 3 / 2; }
.lay-live .f2 { grid-column: 9 / 13; align-self: stretch; }
.lay-live .f3 { grid-column: 3 / 7; aspect-ratio: 4 / 5; }
.lay-live .f4 { grid-column: 7 / 11; aspect-ratio: 4 / 5; }

.lay-portraits .f1 { grid-column: 1 / 8; aspect-ratio: 4 / 5; }
.lay-portraits .f2 { grid-column: 9 / 13; aspect-ratio: 3 / 4; align-self: end; }
.lay-portraits .f3 { grid-column: 1 / 5; aspect-ratio: 4 / 5; }
.lay-portraits .f4 { grid-column: 5 / 9; aspect-ratio: 4 / 5; margin-top: clamp(40px, 9vw, 150px); }
.lay-portraits .f5 { grid-column: 9 / 13; aspect-ratio: 4 / 5; }

.lay-strip { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scroll-padding-left: var(--pad); overscroll-behavior-x: contain; }
.lay-strip::-webkit-scrollbar { display: none; }
.lay-strip .frame { flex: 0 0 auto; height: clamp(260px, 58vh, 660px); scroll-snap-align: start; }
.lay-strip .frame img { width: auto; height: 100%; }
.strip-ctl { display: flex; gap: 18px; margin-left: auto; }
.strip-ctl + .more { margin-left: 0; }
.strip-ctl button { height: 36px; font-size: 15px; color: var(--muted); transition: color 0.25s var(--ease); }
.strip-ctl button:hover { color: var(--text); }

.lay-editorial .frame { aspect-ratio: 2 / 3; }
.lay-editorial .f1 { grid-column: 1 / 5; }
.lay-editorial .f2 { grid-column: 5 / 9; margin-top: clamp(32px, 7vw, 120px); }
.lay-editorial .f3 { grid-column: 9 / 13; }

.lay-interiors .f1 { grid-column: 1 / 9; grid-row: 1 / 3; }
.lay-interiors .f2 { grid-column: 9 / 13; aspect-ratio: 3 / 2; }
.lay-interiors .f3 { grid-column: 9 / 13; aspect-ratio: 3 / 2; }

.lay-life .f1 { grid-column: 1 / 5; aspect-ratio: 3 / 4; }
.lay-life .f2 { grid-column: 5 / 9; aspect-ratio: 3 / 4; margin-top: clamp(28px, 6vw, 100px); }
.lay-life .f3 { grid-column: 9 / 13; aspect-ratio: 3 / 4; }
.lay-life .f4 { grid-column: 4 / 13; aspect-ratio: 16 / 9; }

.work-end { margin-top: clamp(48px, 6vw, 96px); }

/* ---------- motion ---------- */
.motion-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 32px; margin-bottom: clamp(22px, 3vw, 44px); }
.motion-head p { grid-column: 1; color: var(--muted); max-width: 46ch; }
.reel { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: var(--gap); }
.clip { position: relative; overflow: hidden; background: var(--bg-2); }
.clip video { position: relative; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.clip .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a video stays invisible until it is playing, so a phone that holds autoplay back shows the still, never a play button */
.js video { opacity: 0; transition: opacity 0.5s var(--ease); }
.js video.on { opacity: 1; }
.c-tall { grid-column: 1 / 4; grid-row: 1 / 3; }
.c-wide { grid-column: 4 / 13; aspect-ratio: 1600 / 686; }
.c-a { grid-column: 4 / 7; aspect-ratio: 16 / 9; }
.c-b { grid-column: 7 / 10; aspect-ratio: 16 / 9; }
.c-c { grid-column: 10 / 13; aspect-ratio: 16 / 9; }
.reel-b { margin-top: var(--gap); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.reel-b .clip { aspect-ratio: 16 / 9; }
.reel-c { margin-top: var(--gap); display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: var(--gap); }
.reel-c .c-v { aspect-ratio: 9 / 16; }
.reel-stack { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gap); min-height: 0; }
.reel-stack .clip { min-height: 0; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 110px); align-items: start; }
.about-img { position: sticky; top: calc(var(--nav-h) + 24px); overflow: hidden; background: var(--bg-2); }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 30%; }
.about-text h2 { margin-bottom: clamp(24px, 3vw, 44px); }
.about-text p { max-width: 58ch; color: var(--muted); }
.about-text p.big { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.2; letter-spacing: -0.03em; color: var(--text); max-width: 30ch; margin-bottom: 24px; }
.credits { margin-top: clamp(36px, 4vw, 64px); border-top: 1px solid var(--line); }
.credits li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 1.9vw, 30px); letter-spacing: -0.03em; line-height: 1.15; }
.credits li span:last-child { font-size: 15px; letter-spacing: -0.006em; color: var(--muted); text-align: right; white-space: nowrap; }
.links { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; }
.about-text p.links { color: var(--text); }

/* ---------- clients ---------- */
.clients { position: relative; }
.clients-wrap { margin-top: clamp(28px, 4vw, 64px); display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 7vw, 130px); align-items: start; }
.services li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px 32px; align-items: baseline; padding: clamp(18px, 2vw, 28px) 0; border-top: 1px solid var(--line); transition: opacity 0.3s var(--ease); }
.services h4 { font-size: clamp(22px, 2.5vw, 40px); letter-spacing: -0.04em; line-height: 1.05; font-weight: 500; }
.services p { color: var(--muted); font-size: 16px; }
@media (hover: hover) { .services:hover li { opacity: 0.38; } .services:hover li:hover { opacity: 1; } }
.steps { position: sticky; top: calc(var(--nav-h) + 24px); padding-top: clamp(18px, 2vw, 28px); border-top: 1px solid var(--line); }
.steps h3 { font-size: 15px; letter-spacing: -0.006em; font-weight: 400; color: var(--muted); margin-bottom: 20px; }
.steps ol { counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; }
.steps li::before { content: counter(s); color: var(--dim); font-variant-numeric: tabular-nums; }
.faq { margin-top: clamp(56px, 7vw, 110px); max-width: 980px; }
.faq h3 { font-size: 15px; letter-spacing: -0.006em; font-weight: 400; color: var(--muted); margin-bottom: 8px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; cursor: pointer; list-style: none; font-size: clamp(19px, 1.9vw, 28px); letter-spacing: -0.03em; line-height: 1.15; transition: opacity 0.25s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { opacity: 0.7; }
.faq details p { padding: 0 0 22px; max-width: 62ch; color: var(--muted); }
.preview { position: fixed; left: 0; top: 0; z-index: 10; width: clamp(200px, 20vw, 320px); aspect-ratio: 4 / 5; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(0.92); transition: opacity 0.3s var(--ease), scale 0.4s var(--ease); background: var(--bg-2); }
.preview.on { opacity: 1; }
.preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(72px, 9vw, 150px) !important; }
.contact h2 { font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -0.035em; line-height: 1.05; color: var(--muted); }
.mail { display: block; width: fit-content; max-width: 100%; margin-top: clamp(16px, 2vw, 28px); font-size: clamp(26px, 6.3vw, 118px); font-weight: 500; letter-spacing: -0.055em; line-height: 1; text-decoration: none; overflow-wrap: anywhere; padding-bottom: 0.08em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.6s var(--ease); }
.mail:hover { background-size: 100% 2px; }
.contact-lines { margin-top: clamp(22px, 2.6vw, 40px); display: flex; gap: 12px 40px; flex-wrap: wrap; }
.contact-lines a { font-size: clamp(19px, 1.9vw, 30px); letter-spacing: -0.03em; text-decoration: none; color: var(--muted); transition: color 0.25s var(--ease); }
.contact-lines a:hover { color: var(--text); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); overflow: clip; padding-bottom: env(safe-area-inset-bottom); }
.wordmark { font-size: 20.4vw; font-weight: 500; letter-spacing: -0.065em; line-height: 0.74; white-space: nowrap; color: #17171a; margin: 0.04em 0 -0.07em -0.05em; padding: 0 var(--pad); user-select: none; }
.foot { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding: 22px var(--pad) 0; color: var(--muted); font-size: 14px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; transition: color 0.25s var(--ease); }
.foot-links a:hover { color: var(--text); }

/* ---------- catalogue page ---------- */
.cat main > .cat-head, .nf main > .cat-head { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 130px)); }
.cat-head h1 { font-size: clamp(56px, 11vw, 200px); }
.sub { margin-top: clamp(16px, 2vw, 30px); color: var(--muted); max-width: 52ch; font-variant-numeric: tabular-nums; }
.chips { margin-top: clamp(22px, 2.6vw, 40px); display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 15px; text-decoration: none; transition: color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease); }
.chip span { margin-left: 8px; font-size: 12px; opacity: 0.7; font-variant-numeric: tabular-nums; }
.chip:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--dim); }
.chip[aria-current="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
.cat main > .grid { padding-top: clamp(22px, 2.6vw, 40px); columns: 4; column-gap: var(--gap); }
.tile { margin-bottom: var(--gap); break-inside: avoid; scroll-margin-top: calc(var(--nav-h) + 16px); }
.tile img { height: auto; }
.tile[hidden] { display: none; }

/* ---------- photo viewer ---------- */
#lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgb(6 6 7 / 0.98); color: var(--text); overscroll-behavior: contain; touch-action: pan-y; }
#lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); }
#lightbox::backdrop { background: rgb(6 6 7 / 0.98); }
.lb-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; height: 60px; padding: 0 var(--pad); font-size: 15px; }
.lb-cap { margin-right: auto; display: flex; gap: 14px; min-width: 0; }
.lb-cap span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-cap span:last-child, .lb-count { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
#lb-img { grid-column: 2; grid-row: 2; width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 0 0 clamp(16px, 3vh, 40px); user-select: none; -webkit-user-drag: none; }
.lb-prev, .lb-next { grid-row: 2; height: 100%; min-width: clamp(64px, 8vw, 130px); font-size: 15px; color: var(--muted); transition: color 0.25s var(--ease); }
.lb-close { height: 44px; color: var(--muted); transition: color 0.25s var(--ease); }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { color: var(--text); }
::view-transition-group(photo) { animation-duration: 0.5s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

/* ---------- motion, only when the visitor allows it ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
  .rv.in { opacity: 1; transform: none; }
  .frame.rv img, .clip.rv video, .clip.rv .still { transform: scale(1.08); }
  .frame.rv.in img, .clip.rv.in .still { transform: none; transition: transform 1.6s var(--ease); }
  .clip.rv.in video { transform: none; transition: transform 1.6s var(--ease), opacity 0.5s var(--ease); }
  .frame.rv.in:hover img { transform: scale(1.035); transition-duration: 1.1s; }

  .hero h1 { animation: rise 1.2s var(--ease) 0.1s both; }
  .hero-side { animation: rise 1.2s var(--ease) 0.28s both; }
  .hero-media.still { animation: settle 2.2s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(0.35em); } }
  @keyframes settle { from { opacity: 0; transform: scale(1.06); } }

  @supports (animation-timeline: scroll()) {
    .hero-inner { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    @keyframes drift { to { transform: translateY(-9vh); opacity: 0.2; } }
    .wordmark { animation: wm linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes wm { from { transform: translateY(30%); } to { transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) { .cat main > .grid { columns: 3; } }
@media (max-width: 899px) {
  :root { --nav-h: 58px; }
  .nav nav, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 18px; }
  h1 { font-size: clamp(56px, 19.5vw, 150px); }
  .hero-side { max-width: 34ch; padding-bottom: 0; }
  .lay-runway, .lay-live, .lay-portraits, .lay-editorial, .lay-interiors, .lay-life { grid-template-columns: 1fr 1fr; }
  .lay-runway .frame, .lay-live .frame, .lay-portraits .frame, .lay-editorial .frame, .lay-interiors .frame, .lay-life .frame { grid-column: auto; grid-row: auto; margin-top: 0; aspect-ratio: 4 / 5; align-self: auto; }
  .lay-runway .f1, .lay-live .f1, .lay-portraits .f1, .lay-editorial .f1, .lay-interiors .f1, .lay-life .f4 { grid-column: 1 / -1; }
  .lay-live .f1 { aspect-ratio: 3 / 2; }
  .lay-live .f2 { grid-column: 1 / -1; }
  .lay-interiors .f1, .lay-interiors .f2, .lay-interiors .f3, .lay-life .f4 { aspect-ratio: 3 / 2; }
  .lay-editorial .f1 { aspect-ratio: 4 / 5; }
  .lay-life .f3 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .lay-strip .frame { height: clamp(220px, 42vh, 380px); }
  .strip-ctl { display: none; }
  .strip-ctl + .more { margin-left: auto; }
  .motion-head { grid-template-columns: 1fr; }
  .reel { grid-template-columns: 1fr 1fr; }
  .c-tall { grid-column: 1 / 2; grid-row: 2 / 4; aspect-ratio: 9 / 16; }
  .c-wide { grid-column: 1 / -1; grid-row: 1; }
  .c-a { grid-column: 2 / 3; aspect-ratio: auto; }
  .c-b { grid-column: 2 / 3; aspect-ratio: auto; }
  .c-c { grid-column: 1 / -1; }
  .reel-b { grid-template-columns: 1fr; }
  .reel-c { grid-template-columns: 1fr 1fr; }
  .reel-stack { grid-column: 1 / -1; grid-template-rows: auto; }
  .reel-stack .clip { aspect-ratio: 16 / 9; }
  .about, .clients-wrap { grid-template-columns: 1fr; }
  .about-img, .steps { position: static; }
  .about-img img { aspect-ratio: 4 / 3; }
  .services li { grid-template-columns: 1fr; }
  .preview { display: none; }
  .cat main > .grid { columns: 2; }
  .wordmark { font-size: 21vw; }
  #lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: auto minmax(0, 1fr) auto; }
  #lb-img { grid-column: 1 / -1; padding: 0; }
  .lb-prev, .lb-next { grid-row: 3; height: 60px; padding-bottom: env(safe-area-inset-bottom); }
  .lb-cap span:last-child { display: none; }
}
