/* ==========================================================================
   Quietude — Maya Delagrée
   Wide frames, silence, room to breathe.
   ========================================================================== */

/* Fonts (self-hosted, no third-party requests) ---------------------------- */
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-roman.woff2") format("woff2"); font-weight: 200 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-roman-ext.woff2") format("woff2"); font-weight: 200 500; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 500; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic-ext.woff2") format("woff2"); font-weight: 200 500; font-style: italic; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-ext.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Tokens ------------------------------------------------------------------ */
:root {
	--paper: #EEECE7;
	--ink: #1A1918;
	--ink-2: #3A3835;
	--ash: #5F5B55;
	--line: #CFCAC1;
	--stone: #DAD6CE;
	--night: #121211;
	--night-2: #1F1E1C;
	--night-text: #E9E6E0;
	--night-mute: #A39E96;
	--night-line: #34322F;

	--serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
	--sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--gutter: clamp(20px, 3.4vw, 48px);
	--max: 1600px;
	--gap: 24px;
	--space-xl: clamp(120px, 15vw, 220px);
	--space-l: clamp(88px, 11vw, 160px);
	--space-m: clamp(56px, 7vw, 96px);
	--header-h: 72px;

	--ease: cubic-bezier(.2, .7, .1, 1);
	--slow: 1.2s;
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ash); }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; }
dl, dd, figure { margin: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; line-height: 1.6; }
.mute { color: var(--ash); }
.link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--ash); }
.link-quiet { text-decoration: none; }
.link-quiet:hover { color: var(--ink); text-decoration: underline; }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--paper); }

/* Buttons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 15px 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-family: var(--sans); font-size: 15px; font-weight: 400; transition: background .3s; }
.btn:hover { background: var(--ink-2); color: var(--paper); }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-glass { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 14px 22px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(18,18,17,.34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; text-decoration: none; font-size: 14px; font-weight: 400; transition: background .3s, border-color .3s; }
.btn-glass:hover { background: rgba(18,18,17,.6); color: #fff; border-color: #fff; }
.btn-glass__meta { color: rgba(255,255,255,.72); }

/* Header ------------------------------------------------------------------ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 40; color: var(--ink); transition: background .5s var(--ease), color .5s var(--ease), border-color .5s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.brand { font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: -.01em; text-decoration: none; color: inherit; white-space: nowrap; }
.brand:hover { color: inherit; opacity: .75; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: inherit; padding: 12px 0; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:not(.nav__cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover { color: inherit; }
.nav__cta { border: 1px solid currentColor; border-radius: 999px; padding: 11px 18px !important; transition: background .3s, color .3s; }
.nav__cta:hover, .nav__cta[aria-current="page"] { background: currentColor; }
.nav__cta:hover, .nav__cta[aria-current="page"] { color: var(--paper) !important; }
.menu-toggle { display: none; min-height: 44px; padding: 10px 16px; border: 1px solid currentColor; border-radius: 999px; background: none; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* Solid header (no hero, or scrolled past it) */
.no-hero .site-header, .site-header.is-solid { background: rgba(238,236,231,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); color: var(--ink); }
.no-hero .site-main { padding-top: var(--header-h); }
/* Over a hero image */
.has-hero .site-header:not(.is-solid) { color: #fff; }
.has-hero .site-header:not(.is-solid) .nav__cta:hover,
.has-hero .site-header:not(.is-solid) .nav__cta[aria-current="page"] { color: var(--ink) !important; }
/* Night pages */
.is-night { background: var(--night); color: var(--night-text); }
.is-night .site-header { background: rgba(18,18,17,.9); border-bottom-color: var(--night-line); color: var(--night-text); }
.is-night .nav__cta:hover, .is-night .nav__cta[aria-current="page"] { color: var(--night) !important; }
.is-night .mute { color: var(--night-mute); }
.is-night a:hover { color: var(--night-mute); }
.site-header.is-hidden { transform: translateY(-100%); }
html:not(.js) .has-hero .site-header { position: absolute; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 14px var(--gutter) 28px; border: 0; background: var(--paper); color: var(--ink); flex-direction: column; overflow-y: auto; }
.mobile-menu[open] { display: flex; animation: fadeIn .35s var(--ease); }
.mobile-menu::backdrop { background: transparent; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--header-h) - 28px); }
.mobile-menu__top .menu-toggle { display: inline-flex; }
.mobile-menu__nav { display: flex; flex-direction: column; margin-top: 56px; }
.mobile-menu__nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 11vw, 52px); letter-spacing: -.02em; line-height: 1.2; text-decoration: none; }
.mobile-menu__nav a[aria-current="page"] span:first-child { font-style: italic; }
.mobile-menu[open] .mobile-menu__nav a { animation: rise .7s var(--ease) both; }
.mobile-menu[open] .mobile-menu__nav a:nth-child(2) { animation-delay: .05s; }
.mobile-menu[open] .mobile-menu__nav a:nth-child(3) { animation-delay: .1s; }
.mobile-menu[open] .mobile-menu__nav a:nth-child(4) { animation-delay: .15s; }
.mobile-menu[open] .mobile-menu__nav a:nth-child(5) { animation-delay: .2s; }
.mobile-menu[open] .mobile-menu__nav a:nth-child(6) { animation-delay: .25s; }
.mobile-menu__foot { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu__foot a { text-decoration: none; }

/* Hero (home) ------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; background: #8E959E; color: #fff; }
.hero__media, .film-hero__media { position: absolute; inset: 0; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { animation: drift 34s ease-in-out infinite alternate; transform-origin: 60% 50%; }
.hero__video { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero.has-video .hero__poster { animation: none; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.42) 0, rgba(0,0,0,.08) 26%, rgba(0,0,0,.06) 60%, rgba(0,0,0,.40) 100%); }
.hero__bottom { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vw, 44px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero__name { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; color: rgba(255,255,255,.85); }
.under-hero { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }

/* Intro ------------------------------------------------------------------- */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: var(--space-xl); }
.intro__label { grid-column: 1 / span 2; padding-top: 14px; }
.intro__title { grid-column: 3 / span 9; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.9vw, 56px); line-height: 1.13; letter-spacing: -.015em; text-wrap: pretty; }
.intro__aside { grid-column: 7 / span 5; margin-top: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.intro__aside p { font-size: 17px; line-height: 1.65; color: var(--ash); max-width: 460px; }

/* Section heads ----------------------------------------------------------- */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.sec-head h2 { margin: 0; }
.sec-head--flush { padding-inline: 0; }
.featured .sec-head { margin-bottom: 64px; }

/* Frames ------------------------------------------------------------------ */
.frame { position: relative; display: block; overflow: hidden; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.is-night .frame { background: var(--night-2); }

/* Featured films (home) --------------------------------------------------- */
.film-feature { margin-bottom: var(--space-l); }
.film-feature__media { display: block; }
.film-feature--full .frame { aspect-ratio: 2.2 / 1; }
.film-feature--inset-r { margin-left: 34%; margin-right: var(--gutter); }
.film-feature--inset-l { margin-left: var(--gutter); width: 60%; }
.film-feature--inset-r .frame, .film-feature--inset-l .frame { aspect-ratio: 16 / 9; }
.film-feature__cap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding-top: 22px; }
.film-feature__num { grid-column: 1 / span 1; }
.film-feature__title { grid-column: 2 / span 7; grid-row: 1 / span 2; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.2vw, 46px); letter-spacing: -.01em; line-height: 1.05; }
.film-feature__title a { text-decoration: none; }
.film-feature__title a:hover { font-style: italic; color: inherit; }
.film-feature__meta { grid-column: 9 / span 4; text-align: right; }
.film-feature__status { grid-column: 9 / span 4; grid-row: 2; text-align: right; margin-top: 6px; }
.film-feature--inset-r .film-feature__cap, .film-feature--inset-l .film-feature__cap { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.film-feature--inset-r .film-feature__title, .film-feature--inset-l .film-feature__title { grid-column: 2 / span 4; grid-row: 1; }
.film-feature--inset-r .film-feature__meta, .film-feature--inset-l .film-feature__meta { grid-column: 6 / span 3; text-align: right; }
.film-feature--inset-r .film-feature__status, .film-feature--inset-l .film-feature__status { grid-column: 2 / span 7; text-align: left; margin-top: 8px; }
.film-feature__media:hover img { transform: scale(1.02); }
.film-feature__media img { transition: transform 2s var(--ease); }

/* Index of films ---------------------------------------------------------- */
.index { padding-bottom: 40px; }
.index__list { list-style: none; }
.index__row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.index__list li:last-child .index__row { border-bottom: 1px solid var(--line); }
.index__year { grid-column: 1 / span 1; }
.index__title { grid-column: 2 / span 5; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; letter-spacing: -.01em; line-height: 1.2; transition: transform .6s var(--ease); }
.index__format { grid-column: 7 / span 3; }
.index__status { grid-column: 10 / span 3; text-align: right; }
.index__thumb { position: absolute; right: 30%; top: 50%; width: 240px; height: 135px; object-fit: cover; opacity: 0; transform: translateY(-50%) scale(.96); pointer-events: none; transition: opacity .5s var(--ease), transform .7s var(--ease); z-index: 2; }
@media (hover: hover) and (pointer: fine) {
	.index__row:hover { color: var(--ink); }
	.index__row:hover .index__title { font-style: italic; transform: translateX(8px); }
	.index__row:hover .index__thumb { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* Photography teaser (home) ----------------------------------------------- */
.photo-teaser { background: var(--night); color: var(--night-text); padding-block: var(--space-xl); margin-top: var(--space-xl); }
.photo-teaser .mute { color: var(--night-mute); }
.photo-teaser a:hover { color: var(--night-mute); }
.photo-teaser__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: 80px; }
.photo-teaser__title { grid-column: 1 / span 7; font-family: var(--serif); font-weight: 200; font-size: clamp(64px, 9vw, 132px); letter-spacing: -.03em; line-height: .95; hyphens: manual; }
.photo-teaser__side { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.photo-teaser__side p { color: var(--night-mute); line-height: 1.65; }
.photo-teaser__row { display: grid; grid-template-columns: 4fr 6fr 3fr; gap: var(--gap); align-items: end; }
.photo-teaser__item { display: block; overflow: hidden; }
.photo-teaser__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s var(--ease); }
.photo-teaser__item--1 { aspect-ratio: 4 / 5; }
.photo-teaser__item--2 { aspect-ratio: 3 / 2; }
.photo-teaser__item--3 { aspect-ratio: 4 / 5; }
.photo-teaser__item:hover img { transform: scale(1.03); }

/* Commissions (home) ------------------------------------------------------ */
.commissions { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; padding-block: var(--space-xl); }
.commissions__label { grid-column: 1 / span 2; padding-top: 12px; }
.commissions__title { grid-column: 3 / span 6; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.15; letter-spacing: -.01em; text-wrap: pretty; }
.commissions__side { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 28px; }
.commissions__list { list-style: none; }
.commissions__list li { padding: 12px 0; border-top: 1px solid var(--line); }

/* Page heads -------------------------------------------------------------- */
.page-head { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(48px, 6vw, 88px); display: flex; flex-direction: column; gap: 22px; }
.page-head__title { font-family: var(--serif); font-weight: 200; font-size: clamp(56px, 8.4vw, 124px); line-height: .96; letter-spacing: -.035em; }
.page-head__title--xl { font-size: clamp(56px, 9.6vw, 140px); }
.page-head__title--md { font-size: clamp(44px, 6vw, 84px); }
.page-head__lead { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; max-width: 820px; color: var(--ink-2); text-wrap: pretty; }
.page-head--night { background: var(--night); color: var(--night-text); }
.page-head--night .page-head__lead { color: var(--night-text); }
.is-night .page-head { padding-top: clamp(80px, 10vw, 150px); }

/* Films page -------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 56px; }
.filter { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: none; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter[aria-pressed="true"] .mute { color: var(--line); }
.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); row-gap: clamp(64px, 8vw, 120px); padding-bottom: var(--space-l); }
.film-card:nth-child(even) { margin-top: clamp(0px, 10vw, 160px); }
.film-grid.is-filtered .film-card { margin-top: 0; }
.film-card__link { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.film-card__link:hover { color: inherit; }
.film-card__frame { aspect-ratio: 16 / 9; }
.film-card__frame img { transition: transform 2s var(--ease); }
.film-card__link:hover .film-card__frame img { transform: scale(1.03); }
.film-card__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 6px; }
.film-card__title { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.01em; line-height: 1.08; }
.film-card__link:hover .film-card__title { font-style: italic; }
.film-card__meta { text-align: right; flex-shrink: 0; }
.film-card__logline { color: var(--ash); font-size: 16px; line-height: 1.6; max-width: 560px; }
.film-card.is-hidden { display: none; }

/* Film page --------------------------------------------------------------- */
.film-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; background: #1A1A19; color: #fff; }
.film-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 36s ease-in-out infinite alternate; transform-origin: 50% 50%; }
.film-hero__bottom { position: absolute; left: 0; right: 0; bottom: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.film-hero__kicker { color: rgba(255,255,255,.82); }
.film-hero__title { font-family: var(--serif); font-weight: 200; font-size: clamp(56px, 10.4vw, 152px); line-height: .9; letter-spacing: -.035em; margin-top: 14px; text-wrap: balance; }
.film-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.crumbs { display: flex; justify-content: space-between; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); }
.crumbs a { text-decoration: none; padding-block: 8px; }
.facts { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: var(--gap); padding-block: 44px; border-bottom: 1px solid var(--line); }
.facts dt { margin-bottom: 10px; }
.facts dd { font-size: 16px; line-height: 1.45; }
.logline { padding-block: var(--space-xl); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.logline__text { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.5vw, 50px); line-height: 1.16; letter-spacing: -.015em; max-width: 1080px; text-wrap: balance; }
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.cols__label { grid-column: 1 / span 3; padding-top: 6px; }
.cols__body { grid-column: 5 / span 6; }
.cols__aside { grid-column: 11 / span 2; }
.block { padding-top: var(--space-l); }
.prose p { font-size: 18px; line-height: 1.7; color: var(--ink-2); margin: 0 0 1.2em; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; margin: 1.6em 0 .6em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.2em; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.prose li { margin-bottom: .3em; }
.prose a { text-underline-offset: 3px; }
.prose strong { font-weight: 500; }
.prose--night p, .prose--night li { color: var(--night-text); }

.stills { padding-top: var(--space-l); }
.stills > div + div { margin-top: var(--space-l); }
.still { display: block; cursor: zoom-in; }
.stills__full .still { aspect-ratio: 16 / 9; max-height: 92vh; width: 100%; }
.stills__pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.stills__a { grid-column: 1 / span 6; aspect-ratio: 16 / 9; }
.stills__b { grid-column: 8 / span 5; aspect-ratio: 16 / 9; margin-top: clamp(80px, 14vw, 220px); }
.stills__inset { display: flex; justify-content: flex-end; }
.stills__inset .still { width: 58%; aspect-ratio: 16 / 9; }
.fest { list-style: none; }
.fest li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.fest li:last-child { border-bottom: 1px solid var(--line); }
.fest__name { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 300; line-height: 1.25; }
.fest__detail { text-align: right; }
.poster { display: block; cursor: zoom-in; }
.poster img { width: 100%; height: auto; }
.credits { display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gap); }
.credits dt { margin-bottom: 6px; }
.credits dd { font-size: 17px; line-height: 1.5; }
.more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 40px; }
.more__grid .still { aspect-ratio: 16 / 9; }
.next-film { position: relative; display: block; height: clamp(420px, 56vw, 680px); margin-top: var(--space-xl); overflow: hidden; color: #fff; text-decoration: none; }
.next-film:hover { color: #fff; }
.next-film > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2.2s var(--ease); }
.next-film:hover > img { transform: scale(1.04); }
.next-film__in { position: absolute; left: 0; right: 0; bottom: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.next-film__in > span:first-child { display: flex; flex-direction: column; gap: 10px; }
.next-film__label { color: rgba(255,255,255,.82); }
.next-film__title { font-family: var(--serif); font-weight: 200; font-size: clamp(48px, 6.6vw, 96px); letter-spacing: -.03em; line-height: .95; }

/* About ------------------------------------------------------------------- */
.about-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-top: clamp(80px, 10vw, 150px); }
.about-head__text { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 22px; padding-bottom: 20px; }
.about-head__portrait { grid-column: 9 / span 4; aspect-ratio: 4 / 5; }
.about-head__role { color: var(--ink-2); }
.about-links { display: flex; flex-direction: column; }
.about-links__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); font-weight: 300; }
.about-links__row:last-child { border-bottom: 1px solid var(--line); }
.about-links__row:hover span:first-child { font-style: italic; }
.about-links__row:hover { color: inherit; }

/* Photography ------------------------------------------------------------- */
.night-section { padding-bottom: var(--space-l); }
.photo-intro { max-width: 760px; margin-left: 0; padding-bottom: 56px; }
.photo-wall { columns: 3 320px; column-gap: var(--gap); }
.photo-wall__item { display: block; margin-bottom: var(--gap); break-inside: avoid; cursor: zoom-in; overflow: hidden; }
.photo-wall__item img { width: 100%; height: auto; transition: transform 2s var(--ease), opacity .4s; }
.photo-wall__item:hover img { transform: scale(1.02); }

/* Book a shoot ------------------------------------------------------------ */
.book-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(56px, 7vw, 110px); }
.book-head__title { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 18px; }
.book-head__side { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.book-head__lead { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.book-gallery { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: var(--gap); align-items: end; }
.book-gallery__item { display: block; overflow: hidden; cursor: zoom-in; }
.book-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.book-gallery__item--1 { aspect-ratio: 4 / 5; }
.book-gallery__item--2 { aspect-ratio: 3 / 4; }
.book-gallery__item--3 { aspect-ratio: 4 / 5; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 40px; }
.service { display: flex; flex-direction: column; gap: 16px; padding-right: 24px; }
.service__title { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -.01em; line-height: 1.1; }
.service p:not(.mono) { color: var(--ink-2); line-height: 1.65; }
.service__price { color: var(--ink); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 40px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.steps__title { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.2vw, 30px); }
.steps p:not(.mono) { color: var(--ink-2); line-height: 1.65; }

/* Forms ------------------------------------------------------------------- */
.form-block__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 48px; }
.form-block__lead { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 22px; }
.form-block__title { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -.015em; text-wrap: pretty; }
.form-block__title em { font-style: italic; }
.form-block__lead > p:not(.form-block__title) { color: var(--ink-2); line-height: 1.65; }
.form-wrap { grid-column: 6 / span 7; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px var(--gap); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full, .consent, .legal-note, .form-error, .form-actions { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.field .opt { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 0 12px; border: 0; border-bottom: 1px solid #8E897F; border-radius: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 300; outline: none; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231A1918' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #9A958D; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #9B2C2C; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.consent.is-invalid { color: #9B2C2C; }
.legal-note { font-size: 13px; line-height: 1.6; color: var(--ash); }
.form-error { color: #9B2C2C; font-size: 15px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.form-done { border-top: 1px solid var(--ink); padding-top: 28px; }
.form-done__big { font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1.15; margin-bottom: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact ----------------------------------------------------------------- */
.contact-head { padding-top: clamp(80px, 10vw, 150px); display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.contact-head__title { font-family: var(--serif); font-weight: 200; font-size: clamp(56px, 9vw, 132px); line-height: .98; letter-spacing: -.03em; }
.contact-head__title em { font-style: italic; }
.contact-facts { display: flex; flex-direction: column; gap: 18px; margin-top: 12px; }
.contact-facts dt { margin-bottom: 4px; }
.mail-link { font-family: var(--serif); font-weight: 300; text-decoration: none; border-bottom: 1px solid currentColor; font-size: 20px; }
.mail-link--big { font-size: clamp(22px, 2.4vw, 32px); }
.mail-link:hover { color: var(--ash); }

/* Showreel page ----------------------------------------------------------- */
.reel-page { padding-top: clamp(40px, 6vw, 88px); padding-bottom: var(--space-l); }
.reel-page__head { display: flex; flex-direction: column; gap: 18px; padding-bottom: 40px; }
.reel-page__video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.reel-page__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 24px; color: var(--night-mute); }

/* Text pages (legal) ------------------------------------------------------ */
.text-page { padding-bottom: var(--space-l); }
.text-page .prose { max-width: 760px; }
.not-found { min-height: 60vh; justify-content: center; }
.not-found__links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 16px; }

/* Footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); padding-top: var(--space-l); padding-bottom: 40px; background: var(--paper); color: var(--ink); }
.is-night .site-footer { background: var(--night); color: var(--night-text); border-top-color: var(--night-line); }
.is-night .site-footer .site-footer__base, .is-night .site-footer .site-footer__cols .mute { color: var(--night-mute); }
.site-footer__big { font-family: var(--serif); font-weight: 200; font-size: clamp(56px, 8.4vw, 120px); line-height: .98; letter-spacing: -.03em; margin: 28px 0 48px; }
.site-footer__big em { font-style: italic; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(80px, 10vw, 140px); }
.site-footer__cols > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.site-footer__cols .mono { margin-bottom: 6px; }
.site-footer__cols a { text-decoration: none; font-size: 15px; padding-block: 3px; }
.site-footer__cols a:hover { text-decoration: underline; color: inherit; }
.site-footer__based { font-size: 15px; line-height: 1.6; }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(64px, 8vw, 100px); padding-top: 18px; border-top: 1px solid var(--line); color: var(--ash); }
.is-night .site-footer__base { border-top-color: var(--night-line); }

/* Video player ------------------------------------------------------------ */
.player, .lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: clamp(16px, 4vw, 56px); border: 0; background: rgba(10,10,9,.96); color: var(--night-text); }
.player[open], .lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; animation: fadeIn .4s var(--ease); }
.player::backdrop, .lightbox::backdrop { background: rgba(10,10,9,.96); }
.player__stage { width: min(1280px, 100%, calc((100vh - 160px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.player__stage video, .player__stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.player__title { margin-top: 18px; color: var(--night-mute); }
.player__close, .lightbox__close { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid rgba(233,230,224,.35); border-radius: 999px; background: none; color: var(--night-text); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; z-index: 2; }
.player__close:hover, .lightbox__close:hover { border-color: var(--night-text); }
.player__consent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; height: 100%; padding: 24px; text-align: center; }
.player__consent p { max-width: 520px; color: var(--night-mute); font-size: 15px; }

/* Lightbox ---------------------------------------------------------------- */
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox__figure img { max-width: min(1600px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; }
.lightbox__figure figcaption { color: var(--night-mute); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(233,230,224,.3); border-radius: 50%; background: rgba(10,10,9,.5); color: var(--night-text); }
.lightbox__nav:hover { border-color: var(--night-text); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* Motion ------------------------------------------------------------------ */
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.09) translate3d(-1.4%, 0, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .aperture { clip-path: inset(14% 0 14% 0); transition: clip-path 1.6s var(--ease); }
.js .aperture img { transform: scale(1.1); transition: transform 2.4s var(--ease); }
.js .aperture.is-in { clip-path: inset(0 0 0 0); }
.js .aperture.is-in img { transform: scale(1); }
.js .film-feature__media .aperture.is-in:hover img { transform: scale(1.02); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.js .reveal, .js .aperture, .js .aperture img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Tablet ------------------------------------------------------------------ */
@media (max-width: 1100px) {
	.nav { gap: 20px; }
	.intro__title { grid-column: 1 / -1; margin-top: 18px; }
	.intro__label { grid-column: 1 / -1; padding-top: 0; }
	.intro__aside { grid-column: 4 / -1; }
	.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
	.cols__body { grid-column: 4 / span 8; }
	.cols__aside { grid-column: 4 / span 4; margin-top: 40px; }
}

/* Mobile ------------------------------------------------------------------ */
@media (max-width: 860px) {
	:root { --header-h: 64px; --gap: 16px; }
	body { font-size: 16px; }
	.nav { display: none; }
	.menu-toggle { display: inline-flex; align-items: center; }
	.brand { font-size: 19px; }

	.hero, .film-hero { height: 88vh; height: 88svh; min-height: 520px; }
	.hero__bottom { flex-direction: row; align-items: flex-end; }
	.hero__name { display: none; }
	.hero__bottom .btn-glass { width: 100%; justify-content: space-between; }
	.under-hero .mono:last-child { display: none; }

	.intro { display: flex; flex-direction: column; gap: 20px; }
	.intro__aside { margin-top: 12px; }

	.featured .sec-head { margin-bottom: 36px; }
	.sec-head { flex-wrap: wrap; }
	.featured .sec-head p { display: none; }
	.film-feature { margin-bottom: 88px; }
	.film-feature--inset-r, .film-feature--inset-l { margin: 0 0 88px; width: auto; }
	.film-feature--full .frame, .film-feature--inset-r .frame, .film-feature--inset-l .frame { aspect-ratio: auto; height: 300px; }
	.film-feature__cap, .film-feature--inset-r .film-feature__cap, .film-feature--inset-l .film-feature__cap { display: flex; flex-direction: column; gap: 6px; padding: 16px var(--gutter) 0; }
	.film-feature__num { order: 0; }
	.film-feature__status, .film-feature--inset-r .film-feature__status, .film-feature--inset-l .film-feature__status { text-align: left; margin-top: 0; }
	.film-feature__meta, .film-feature--inset-r .film-feature__meta, .film-feature--inset-l .film-feature__meta { text-align: left; }

	/* Wide frames pan sideways while scrolling on phones */
	.js [data-pan] img, .js .stills__full .still img { width: auto; max-width: none; height: 100%; transition: none; will-change: transform; }

	.index__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; }
	.index__title { order: 1; font-size: 22px; flex: 1; }
	.index__year { order: 2; }
	.index__format, .index__status, .index__thumb { display: none; }

	.photo-teaser { padding-block: 96px; margin-top: 120px; }
	.photo-teaser__head, .commissions, .book-head, .about-head, .cols, .stills__pair, .form-block__grid { display: flex; flex-direction: column; gap: 20px; }
	.photo-teaser__head { margin-bottom: 40px; }
	.photo-teaser__row { grid-template-columns: 1fr; }
	.photo-teaser__item--2, .photo-teaser__item--3 { display: none; }

	.commissions { padding-block: 100px; }
	.commissions__side { width: 100%; }
	.commissions__side .btn, .book-head__side .btn { width: 100%; }

	.filters { gap: 8px; padding-bottom: 36px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.filters::-webkit-scrollbar { display: none; }
	.filter { flex: none; }
	.film-grid { grid-template-columns: 1fr; row-gap: 64px; }
	.film-card:nth-child(even) { margin-top: 0; }
	.film-card__cap { flex-direction: column; gap: 6px; }
	.film-card__meta { text-align: left; }

	.film-hero__bottom { flex-direction: column; align-items: flex-start; gap: 22px; }
	.film-hero__actions { justify-content: flex-start; }
	.facts { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding-block: 32px; }
	.cols__label { padding-top: 0; }
	.stills > div + div { margin-top: 56px; }
	.stills__pair { gap: 16px; }
	.stills__b { margin-top: 0; }
	.stills__inset .still { width: 100%; }
	.stills__full .still { aspect-ratio: auto; height: 300px; }
	.stills__full { overflow: hidden; }
	.credits { grid-template-columns: 1fr; gap: 20px; }
	.more__grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
	.fest li { flex-direction: column; gap: 4px; }
	.fest__detail { text-align: left; }
	.cols__aside { width: 60%; }

	.about-head__portrait { width: 100%; }
	.about-head__text { padding-bottom: 0; }

	.book-gallery { grid-template-columns: 1fr 1fr; }
	.book-gallery__item--3 { display: none; }
	.services, .steps { grid-template-columns: 1fr; gap: 40px; }
	.service { padding-right: 0; }

	.form { grid-template-columns: 1fr; gap: 26px; }
	.form-wrap { margin-top: 24px; }
	.form-actions .btn { width: 100%; }

	.reel-page__foot { flex-direction: column; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
	.site-footer__cols > div:last-child { grid-column: 1 / -1; }
	.lightbox__nav { top: auto; bottom: 18px; transform: none; }
}

/* Print ------------------------------------------------------------------- */
@media print {
	.site-header, .mobile-menu, .player, .lightbox, .hero__shade, .btn-glass, .filters { display: none !important; }
	.js .reveal, .js .aperture, .js .aperture img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	body { background: #fff; }
}
