:root {
	--bg: #ffffff;
	--text: #000000;
	--muted: #555555;
	--rule: #e4e4e4;
	--placeholder: #ededed;
	--sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
	--serif: 'Instrument Serif', Georgia, serif;
	--reel-h: 624px; /* willchasefilm.com is 520px; 20% taller */
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--sans); font-size: 16px; line-height: 1.4;
	overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--muted); }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: #000; color: #fff; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0 24px; }
.brand { display: flex; flex-direction: column; gap: 4px; }
.brand__name { font-size: 22px; font-weight: 500; letter-spacing: .06em; }
.brand__tag { font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.site-nav { display: flex; gap: 28px; align-items: center; font-size: 13px; letter-spacing: .12em; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a[aria-current="page"] span { border-bottom: 1px solid var(--text); padding-bottom: 3px; }
.site-nav .icon-link { min-width: 44px; justify-content: center; }

/* Reel band. Poster + preview clip are cut from the 2.4:1 master, so there are no baked-in bars;
   object-fit: cover fills the band edge to edge. */
.reel { position: relative; margin-bottom: 0; height: var(--reel-h); background: #111; overflow: hidden; cursor: pointer; }
.reel__poster, .reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reel__video { border: 0; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.reel__video.is-on { opacity: 1; }
.reel__overlay {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
	color: #fff; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
}
.reel__text { display: flex; flex-direction: column; gap: 6px; }
.reel__kicker { font-size: 12px; letter-spacing: .16em; }
.reel__title { font-family: var(--serif); font-size: 44px; line-height: 1; }
.reel__play {
	display: inline-flex; align-items: center; gap: 10px;
	color: #fff; font: inherit; font-size: 13px; letter-spacing: .12em;
	border: 1px solid rgba(255,255,255,.8); background: transparent;
	padding: 12px 18px; min-height: 44px; cursor: pointer; white-space: nowrap;
}
.reel__play:hover { color: #fff; background: rgba(255,255,255,.14); }

/* Sections */
.section { padding: 8px 0 56px; }
.sec-head {
	display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
	border-bottom: 1px solid var(--rule); padding-bottom: 14px; margin-bottom: 28px;
}
.sec-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.btn {
	display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--text);
	padding: 10px 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
	white-space: nowrap; background: transparent; color: var(--text); cursor: pointer; font-family: inherit;
}
.btn:hover { background: #000; color: #fff; }
.btn--solid { background: #000; color: #fff; }
.btn--solid:hover { background: #333; }

/* Featured */
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.feat { display: flex; flex-direction: column; gap: 14px; }
.feat__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.feat__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.02; }
.feat__role { font-size: 14px; color: var(--muted); }
.feat__desc { margin: 0; font-size: 16px; line-height: 1.55; max-width: 560px; }
.feat__links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.card { display: flex; flex-direction: column; gap: 12px; color: var(--text); }
.card:hover { color: var(--text); }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--placeholder); }
.thumb img, .thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; transition: opacity .25s ease; }
.thumb iframe { pointer-events: none; opacity: 0; }
.thumb iframe.is-on { opacity: 1; }
.card:hover .thumb img { opacity: .9; }
.thumb--zoom img, .thumb--zoom iframe { transform: scale(var(--z, 1.2)); }
.thumb__play {
	position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
	background: rgba(255,255,255,.92); color: #000; display: flex; align-items: center; justify-content: center;
	font-size: 11px; padding-left: 2px; z-index: 2; pointer-events: none;
}
.card__meta { display: flex; flex-direction: column; gap: 3px; }
.card__title { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.card__no { color: var(--muted); margin-right: 10px; font-variant-numeric: tabular-nums; }
.card__medium { font-size: 14px; color: var(--muted); }
.card--feature { grid-column: span 2; grid-row: span 2; align-self: stretch; }
.card--feature .thumb { flex: 1; aspect-ratio: auto; min-height: 320px; }
.card--feature .card__title { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.05; }

/* Photos */
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-grid--all { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.photo { display: block; aspect-ratio: 4 / 3; background-color: var(--placeholder); background-size: cover; background-position: center; transition: opacity .25s ease; }
.photo-grid--all .photo { aspect-ratio: 4 / 5; }
.photo:hover { opacity: .88; }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; }
.proof .photo { aspect-ratio: 4 / 3; background-position: top; border: 1px solid var(--rule); }
.sub-head { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

/* About + Contact */
.about { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; }
.about__img { aspect-ratio: 4 / 5; background-size: cover; background-position: center 20%; background-color: var(--placeholder); }
.about__text { max-width: 720px; font-size: 18px; line-height: 1.55; }
.about__text p { margin: 0 0 16px; }
.about__text p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
.contact__lead { margin: 0 0 12px; font-size: 18px; max-width: 620px; line-height: 1.5; }
.contact__email { display: inline-block; font-family: var(--serif); font-size: clamp(36px, 6vw, 76px); line-height: 1; border-bottom: 1px solid var(--text); }
.contact__email:hover { color: var(--muted); border-color: var(--muted); }
.contact__phone { margin-top: 14px; font-size: 16px; }
.contact__links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 22px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Footer */
.site-footer {
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
	padding: 28px 0 40px; border-top: 1px solid var(--rule);
	font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase;
}
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--text); }

/* Category / inner pages */
.page-head { padding: 28px 0 28px; }
.page-head__back { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.page-head h1 { margin: 14px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 112px); line-height: .95; }
.page-head p { margin: 16px 0 0; color: var(--muted); font-size: 18px; max-width: 560px; line-height: 1.5; }
.banner { height: 320px; overflow: hidden; margin-bottom: 44px; background: var(--placeholder); }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.page-body { padding-bottom: 96px; }

/* Project pages */
.proj { max-width: 1120px; margin: 0 auto; padding: 8px 0 96px; display: flex; flex-direction: column; gap: 32px; }
.proj__head { display: flex; flex-direction: column; gap: 12px; }
.proj__head h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 84px); line-height: .98; }
.proj__role { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.player { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--placeholder); cursor: pointer; }
.player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__btn {
	position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px;
	background: #fff; color: #000; padding: 12px 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.proj__body { max-width: 680px; font-size: 18px; line-height: 1.6; }
.proj__body p { margin: 0 0 1em; }
.proj__links { display: flex; gap: 10px; flex-wrap: wrap; }
.stills { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.stills .photo { aspect-ratio: 3 / 2; }

/* Reels page */
.reels { height: calc(100dvh - 97px); overflow-y: auto; scroll-snap-type: y mandatory; }
.reel-slide { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: flex-start; justify-content: center; padding: 8px 16px 24px; position: relative; overflow: hidden; }
.reel-frame { width: min(92vw, 400px); max-height: 100%; overflow: auto; }
.reel-index { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); font-size: 11px; letter-spacing: .16em; color: var(--muted); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; width: min(1100px, 92vw); max-width: none; overflow: visible; color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.lightbox__foot a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); }
.lightbox__close {
	position: absolute; top: -44px; right: 0; width: 40px; height: 40px; border: 0; background: transparent;
	color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
}

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

@media (max-width: 960px) {
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card--feature { grid-row: auto; }
	.card--feature .thumb { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
	.feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.site-header { flex-direction: column; align-items: flex-start; }
	.about { grid-template-columns: 1fr; }
	.about__img { max-width: 220px; }
}
@media (max-width: 620px) {
	:root { --reel-h: 288px; }
	.wrap { padding: 0 20px; }
	.site-header { gap: 8px; padding: 20px 0 16px; }
	.site-nav { gap: 0 18px; flex-wrap: wrap; }
	.site-nav a { min-height: 36px; }
	.grid { grid-template-columns: minmax(0, 1fr); }
	.card--feature { grid-column: auto; }
	.photo-grid, .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.reel__overlay { padding: 16px; flex-direction: column; align-items: flex-start; }
	.reel__title { font-size: 32px; }
	.sec-head { align-items: flex-start; flex-direction: column; }
	.sec-head h2 { font-size: 34px; }
	.banner { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ===== Additions on top of the restored layout ===== */
html { scroll-padding-top: 92px; }
.reel { margin-bottom: 56px; }
.topbar { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--rule); }
.site-header { padding: 16px 0 14px; }
.thumb video.pv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.thumb video.pv.is-on { opacity: 1; }
.thumb--zoom video.pv { transform: scale(var(--z, 1.2)); }
.card__btn { display: inline-flex; align-self: flex-start; margin-top: 2px; padding: 8px 14px; border: 1px solid rgba(0,0,0,.28); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: background .15s, color .15s, border-color .15s; }
.card:hover .card__btn { background: #000; color: #fff; border-color: #000; }
.reels { height: calc(100dvh - var(--topbar-h, 82px)); }

/* ===== Project (case study) pages ===== */
.case { max-width: 1440px; margin: 0 auto; padding: 22px 32px 120px; }
.case__back { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.case__head { margin: 28px 0 0; }
.case__eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.case__title { margin: 14px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8.5vw, 132px); line-height: .94; letter-spacing: -.01em; }
.case__tagline { margin: 26px 0 0; max-width: 900px; font-size: clamp(18px, 2vw, 26px); line-height: 1.4; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 44px 0 36px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fact { padding: 18px 20px 18px 0; }
.fact dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 7px 0 0; font-size: 17px; font-weight: 500; line-height: 1.3; }
.case__player { display: block; width: 100%; max-width: none; }
.case__player .thumb, .case__player > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.case__player .thumb { aspect-ratio: auto; }
.case__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.case__cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.case__block { margin-bottom: 48px; }
.case__h { margin: 0 0 18px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.case__lead { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.22; }
.case__main p { margin: 0 0 1em; font-size: 18px; line-height: 1.65; max-width: 720px; }
.case__main .case__lead { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.22; max-width: 760px; margin-bottom: 22px; }
.case__poster { display: block; max-width: 340px; border: 1px solid var(--rule); }
.case__poster img { width: 100%; }
.credits { margin: 0; }
.credit { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.credit:last-child { border-bottom: 1px solid var(--rule); }
.credit dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.credit dd { margin: 0; font-size: 16px; line-height: 1.4; }
.credit--full { grid-template-columns: 1fr; }
.setlist { margin: 0; padding-left: 22px; font-size: 16px; line-height: 1.8; }
.case__gallery { margin-top: clamp(40px, 5vw, 72px); }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.still { display: block; position: relative; overflow: hidden; background: var(--placeholder); aspect-ratio: 16 / 9; grid-column: span 3; }
.still img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .25s ease; transform: scale(var(--z, 1)); }
.still:hover img { opacity: .9; }
.still--1 { grid-column: span 6; aspect-ratio: 21 / 9; }
.still--4 { grid-column: span 4; aspect-ratio: 16 / 9; }
.still--5 { grid-column: span 2; }
.still--6 { grid-column: span 2; }
.still--7 { grid-column: span 4; }
.case__more { margin-top: clamp(64px, 8vw, 110px); }
.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--rule); }
.pager a { display: block; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; max-width: 46%; }
.pager a small { display: block; margin-bottom: 8px; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager__next { text-align: right; margin-left: auto; }
@media (max-width: 900px) {
	.case__cols { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.still, .still--4, .still--5, .still--6, .still--7 { grid-column: span 1; aspect-ratio: 16 / 9; }
	.still--1 { grid-column: span 2; aspect-ratio: 16 / 9; }
	.credit { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (max-width: 620px) { .case { padding-left: 20px; padding-right: 20px; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .still, .still--1, .still--4, .still--5, .still--6, .still--7 { grid-column: span 1; } .pager a { max-width: 48%; font-size: 20px; } }

/* Image viewer */
.imgbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; color: #fff; }
.imgbox::backdrop { background: rgba(0,0,0,.92); }
.imgbox img { display: block; max-width: 92vw; max-height: 82vh; width: auto; height: auto; margin: 0 auto; }
.imgbox__nav { display: flex; align-items: center; justify-content: center; gap: 22px; padding-top: 14px; font-size: 13px; letter-spacing: .1em; }
.imgbox__nav button { background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; width: 44px; height: 40px; font-size: 18px; cursor: pointer; }
.imgbox__nav button:hover { background: rgba(255,255,255,.14); }
