/* Controlled editorial layer: image-led, calm surfaces, and intentional photo sequences. */
:root {
  --paper: #e9e9e4;
  --warm-paper: #e2e1dc;
  --ink: #151514;
  --graphite: #171817;
  --quiet: #646660;
  --line: #c7c6bf;
  --red: #9d2a2c;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { background: var(--paper); color: var(--ink); font: 16px/1.58 var(--font); }
.layout-width { width: min(1320px, calc(100% - 72px)); }
.site-header { padding: 19px 4.5%; background: linear-gradient(#080908bf, transparent); }
.site-header.is-solid { padding-block: 12px; background: #121312ee; }
.brand { height: 44px; padding: 0; }
.brand-logo, footer .brand-logo { width: 126px; height: 34px; transform: none; object-fit: cover; object-position: center; filter: contrast(1.15) grayscale(1); mix-blend-mode: screen; }
.site-header nav, .hero-frame, .hero-bottom, .kicker, .section-label, .text-action, .button, .filter, .card-overlay small, footer { font-family: var(--font); }
.site-header nav { gap: 17px; font-size: .875rem; letter-spacing: .035em; }
.nav-cta { padding: 8px 11px; border-color: #ffffff55; }
.hero { min-height: min(880px, 100svh); }
.hero-content { padding-block: 168px 138px; }
.hero h1, .intro h2, .portfolio h2, .services h2, .pyro h2, .contact h2, .heading-row h2 { max-width: 740px; font-size: clamp(2.5rem, 5.25vw, 5.65rem); line-height: .98; letter-spacing: -.058em; }
.hero h1 { font-size: clamp(2.9rem, 6.1vw, 6.55rem); }
.hero-copy { max-width: 430px; font-size: 1rem; }
em, i { font-family: inherit; font-style: normal; }
.card-overlay i, .pyro-number { font-family: var(--font); font-style: normal; }
.section-label { font-size: .68rem; letter-spacing: .16em; }
.section-label span { width: 25px; height: 25px; }
.button { min-height: 48px; padding: 10px 15px; font-size: .875rem; letter-spacing: .04em; }
.text-action, .filter, .menu-toggle, .copy-button, .social-links a { font-size: .875rem; }

.showreel-section { padding: 82px 0 98px; background: #191a19; }
.showreel-head, .gallery-heading { gap: 11%; }
.showreel-head h2, .focus-grid h2, .cv-band h2, .gallery-heading h2 { font-size: clamp(2.15rem, 3.65vw, 4rem); letter-spacing: -.055em; }

/* Film stills are read as a paced sequence, not a feed. */
.stills-story { position: relative; padding: 72px 0 82px; overflow: hidden; background: #161716; }
.stills-story::before { content: ""; position: absolute; inset: 12% -9% auto; height: 68%; background: linear-gradient(90deg, #161716f0 0%, #1617169c 48%, #161716e7 100%), url("assets/stills/still-added-sunset-car.webp") center / cover; filter: blur(22px) saturate(.62); opacity: .52; pointer-events: none; transform: scale(1.06); }
.stills-story > * { position: relative; }
.stills-story-grid { width: min(1380px, calc(100% - 44px)); display: grid; gap: 12px; margin: auto; }
.stills-story figure { margin: 0; overflow: hidden; background: #0d0e0d; }
.stills-story img { display: block; width: 100%; height: auto; max-height: none; object-fit: initial; }
.still-establishing { width: min(1160px, 86vw); justify-self: end; }
.still-horizon { width: min(1080px, 80vw); justify-self: start; margin-top: 12px !important; }
.stills-duo { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); width: min(980px, 76vw); gap: 12px; justify-self: center; margin: 24px 0; }
.stills-duo figure:last-child { align-self: end; }
.stills-duo-last { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); width: min(1040px, 80vw); margin: 24px 0 0; }
.stills-triptych { display: grid; grid-template-columns: 1.05fr .82fr .95fr; gap: 12px; width: min(1120px, 83vw); justify-self: center; align-items: end; }
.stills-triptych figure:nth-child(2) { transform: translateY(22px); }
.stills-triptych figure:nth-child(3) { transform: translateY(8px); }
.js .reveal { opacity: 0; filter: blur(10px); transform: translateY(18px); transition: opacity .72s ease, filter .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; filter: none; transform: none; }
.js .stills-triptych.reveal.is-visible figure { transition: transform .8s cubic-bezier(.2,.7,.2,1); }

.intro { position: relative; isolation: isolate; overflow: hidden; padding: 122px 0 88px; }
.intro::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #e9e9e4f5 0%, #e9e9e4d9 40%, #e9e9e49c 76%, #e9e9e48a 100%), url("assets/stills/still-added-car-close.webp") 82% 44% / cover; filter: grayscale(.25) blur(8px); opacity: .94; transform: scale(1.025); }
.intro-grid { grid-template-columns: 1.1fr .68fr .6fr; gap: 7%; align-items: center; }
.intro-copy { align-self: center; }
.intro-grid .intro-lead { font-size: 1.09rem; line-height: 1.5; }
.intro-grid p { color: #484a45; }
.intro-crew { margin: 0; align-self: stretch; background: #1c1d1b; }
.intro-crew img { display: block; width: 100%; height: 100%; min-height: 330px; object-fit: cover; object-position: 55% center; filter: saturate(.8) contrast(1.04); }
.stats { margin-top: 86px; }

.portfolio { padding: 100px 0 120px; background: var(--graphite); }
.portfolio-head { margin-bottom: 36px; }
.filters { margin-top: 43px; }
.filter { min-height: 44px; border-color: #575954; }
.work-grid { gap: 12px; }
.work-card { min-height: 258px; }
.work-card-tall { min-height: 430px; }
.card-overlay { padding: 17px; }
.card-overlay strong { font-size: .98rem; }

.services { padding: 116px 0; }
.service-list { margin-top: 59px; }
.service-list h3 { font-size: 1.12rem; }
.service-list p, .pyro > div:last-child p, .contact > div > div > p:not(.section-label) { font-size: 1rem; }
.focus-grid { padding-top: 86px; }
.focus-grid article { min-height: 420px; padding: 35px; }
.focus-grid .photo-focus { position: relative; isolation: isolate; min-height: 230px; overflow: hidden; }
.focus-grid .photo-focus::before { content: ""; position: absolute; z-index: -1; inset: -28px; background: linear-gradient(90deg, #e9e9e4f4 0%, #e9e9e4c8 58%, #e9e9e4e7), url("assets/stills/still-added-sunset-car.webp") center / cover; filter: blur(13px) saturate(.65); opacity: .65; }

/* Both photographic galleries use authored rows; their source proportions remain intact. */
.photo-gallery { padding: 92px 0; }
.photo-grid, .stability .photo-grid { display: grid; columns: initial; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; align-items: start; }
.photo-card, .photo-card-wide, .photo-card-tall { display: block; width: 100%; min-height: 0 !important; margin: 0; background: #d5d4ce; break-inside: auto; }
.photo-card img { position: static; display: block; width: 100%; height: auto; object-fit: contain; filter: none !important; transform: none !important; }
.photo-card::after { display: none; }
.wedding-photo-grid .photo-card:nth-child(1) { grid-column: 1 / span 4; }
.wedding-photo-grid .photo-card:nth-child(2) { grid-column: 5 / span 4; margin-top: 14%; }
.wedding-photo-grid .photo-card:nth-child(3) { grid-column: 9 / span 4; }
.wedding-photo-grid .photo-card:nth-child(4) { grid-column: 2 / span 10; margin-top: 2px; }
.wedding-photo-grid .photo-card:nth-child(5) { grid-column: 1 / span 5; margin-top: 5%; }
.wedding-photo-grid .photo-card:nth-child(6) { grid-column: 6 / span 4; }
.wedding-photo-grid .photo-card:nth-child(7) { grid-column: 10 / span 3; margin-top: 18%; }
.analog-gallery { position: relative; padding-top: 78px; border-top-color: #c8c6bf; }
.analog-photo-grid { gap: 12px; }
.analog-photo-grid .photo-card:nth-child(1) { grid-column: 1 / span 4; }
.analog-photo-grid .photo-card:nth-child(2) { grid-column: 5 / span 3; margin-top: 16%; }
.analog-photo-grid .photo-card:nth-child(3) { grid-column: 8 / span 5; }
.analog-photo-grid .photo-card:nth-child(4) { grid-column: 1 / span 4; margin-top: 3%; }
.analog-photo-grid .photo-card:nth-child(5) { grid-column: 5 / span 6; }
.analog-photo-grid .photo-card:nth-child(6) { grid-column: 11 / span 2; margin-top: 18%; }
.analog-photo-grid .photo-card:nth-child(7) { grid-column: 1 / span 3; }
.analog-photo-grid .photo-card:nth-child(8) { grid-column: 4 / span 4; margin-top: 8%; }
.analog-photo-grid .photo-card:nth-child(9) { grid-column: 8 / span 5; }
.analog-photo-grid .photo-card:nth-child(10) { grid-column: 1 / span 5; margin-top: 5%; }
.analog-photo-grid .photo-card:nth-child(11) { grid-column: 6 / span 3; }
.analog-photo-grid .photo-card:nth-child(12) { grid-column: 9 / span 4; margin-top: 13%; }
.analog-photo-grid .photo-card:nth-child(13) { grid-column: 2 / span 6; margin-top: 3%; }
.analog-photo-grid .photo-card:nth-child(14) { grid-column: 8 / span 4; margin-top: 11%; }

/* The native player must receive direct touch gestures for reliable mobile scrubbing. */
.showreel-player { touch-action: auto; }

/* Gallery arrivals are intentionally uneven, but never alter layout dimensions. */
.js .photo-gallery .photo-card { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .56s ease, transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.js .photo-gallery .photo-card.is-visible { opacity: 1; transform: none; }
.js .photo-gallery .photo-card:nth-child(3n + 2) { transform: translate3d(18px, 14px, 0); }
.js .photo-gallery .photo-card:nth-child(3n) { transform: translate3d(-16px, 22px, 0); }
.js .photo-gallery .photo-card.is-visible { transform: none; }

.pyro { padding: 98px 0; }
.cv-band { margin-top: 80px; background: var(--warm-paper); }
.contact { padding: 108px 0 104px; background: #181918; }
.contact h2 { font-size: clamp(2.45rem, 4.45vw, 4.8rem); }
.contact label, .form-note { font-size: .875rem; }
footer { padding: 24px 0; color: #73746d; font-size: .875rem; }
footer .brand-logo { mix-blend-mode: multiply; filter: invert(1) grayscale(1) contrast(1.2); }

@media (max-width: 1180px) {
  .site-header nav { font-size: .875rem; }
  .intro-grid { grid-template-columns: 1fr .82fr; gap: 38px; }
  .intro-crew { grid-column: 2; grid-row: 1 / span 2; }
  .intro h2 { grid-column: 1; }
  .intro-copy { grid-column: 1; }
}

@media (max-width: 850px) {
  .layout-width { width: min(100% - 32px, 680px); }
  .hero-content { padding-block: 142px 118px; }
  .stills-story { padding: 68px 0 78px; }
  .stills-story-grid { gap: 10px; }
  .still-establishing, .still-horizon { width: 100%; }
  .stills-duo, .stills-duo-last, .stills-triptych { width: calc(100% - 32px); gap: 10px; margin: 26px auto; }
  .stills-duo { grid-template-columns: 1fr 1fr; }
  .stills-triptych { grid-template-columns: 1fr 1fr; }
  .stills-triptych figure:nth-child(3) { grid-column: 1 / -1; width: 75%; justify-self: end; }
  .stills-triptych figure:nth-child(2) { transform: translateY(18px); }
  .intro { padding-top: 86px; }
  .intro-grid { grid-template-columns: 1fr; gap: 25px; }
  .intro h2, .intro-copy, .intro-crew { grid-column: auto; grid-row: auto; }
  .intro-crew img { min-height: 260px; }
  .photo-gallery { padding: 78px 0; }
  .photo-grid { gap: 10px; }
  .wedding-photo-grid .photo-card:nth-child(1), .wedding-photo-grid .photo-card:nth-child(4), .wedding-photo-grid .photo-card:nth-child(9), .analog-photo-grid .photo-card:nth-child(1), .analog-photo-grid .photo-card:nth-child(5), .analog-photo-grid .photo-card:nth-child(9), .analog-photo-grid .photo-card:nth-child(13) { grid-column: 1 / span 7; }
  .wedding-photo-grid .photo-card:nth-child(2), .wedding-photo-grid .photo-card:nth-child(5), .wedding-photo-grid .photo-card:nth-child(8), .analog-photo-grid .photo-card:nth-child(2), .analog-photo-grid .photo-card:nth-child(7), .analog-photo-grid .photo-card:nth-child(10), .analog-photo-grid .photo-card:nth-child(14) { grid-column: 8 / span 5; }
  .wedding-photo-grid .photo-card:nth-child(3), .wedding-photo-grid .photo-card:nth-child(6), .analog-photo-grid .photo-card:nth-child(3), .analog-photo-grid .photo-card:nth-child(6), .analog-photo-grid .photo-card:nth-child(11) { grid-column: 1 / span 5; }
  .wedding-photo-grid .photo-card:nth-child(7), .analog-photo-grid .photo-card:nth-child(4), .analog-photo-grid .photo-card:nth-child(8), .analog-photo-grid .photo-card:nth-child(12) { grid-column: 6 / span 7; }
}

@media (max-width: 560px) {
  .layout-width { width: calc(100% - 28px); }
  .brand-logo, footer .brand-logo { width: 116px; height: 31px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .hero-frame { display: none; }
  .hero-bottom { font-size: .6rem; }
  .stills-duo, .stills-duo-last, .stills-triptych { width: calc(100% - 28px); grid-template-columns: 1fr; }
  .stills-triptych figure:nth-child(2), .stills-triptych figure:nth-child(3) { grid-column: auto; width: 100%; transform: none; }
  .stills-triptych figure:nth-child(3) { width: 82%; }
  .photo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .wedding-photo-grid .photo-card, .analog-photo-grid .photo-card { grid-column: auto !important; margin-top: 0 !important; }
  .wedding-photo-grid .photo-card:nth-child(2), .wedding-photo-grid .photo-card:nth-child(5), .wedding-photo-grid .photo-card:nth-child(8), .analog-photo-grid .photo-card:nth-child(2), .analog-photo-grid .photo-card:nth-child(6), .analog-photo-grid .photo-card:nth-child(10), .analog-photo-grid .photo-card:nth-child(14) { width: 84%; justify-self: end; }
  .wedding-photo-grid .photo-card:nth-child(3), .wedding-photo-grid .photo-card:nth-child(6), .analog-photo-grid .photo-card:nth-child(3), .analog-photo-grid .photo-card:nth-child(7), .analog-photo-grid .photo-card:nth-child(11) { width: 77%; }
  footer { padding-bottom: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-visible, .js .photo-gallery .photo-card, .js .photo-gallery .photo-card.is-visible { opacity: 1; filter: none; transform: none; transition: none; }
}
