/* ---------- Fonts ---------- */
@font-face { font-family: 'Hanken Grotesk'; src: url(/assets/fonts/hanken-latin.woff2) format('woff2'); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; src: url(/assets/fonts/hanken-latin-ext.woff2) format('woff2'); font-weight: 300 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Gambarino'; src: url(/assets/fonts/gambarino.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/assets/fonts/jb-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/assets/fonts/jb-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(/assets/fonts/jb-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #141414;
  --fg: #fff;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --serif: 'Gambarino', Georgia, serif;
  --gray: rgb(125, 125, 125);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
img, video { display: block; }

/* ---------- Appear on scroll (soft fade up) ---------- */
.appear { opacity: 0; transform: translateY(40px); }
.appear.in {
  opacity: 1;
  transform: none;
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-reduced-motion: reduce) { .appear { opacity: 1; transform: none; } }

/* ---------- Home intro (wordmark) ---------- */
html { scroll-behavior: smooth; }
.intro {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh; padding: 136px 40px 64px;
}
.intro.go { min-height: 0; }
.intro-word { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; margin: 0; font-weight: 700; container-type: inline-size; }
.iw {
  display: flex; justify-content: center; width: 100%;
  background: var(--bg); color: #F9F5EA; line-height: .9; white-space: nowrap; text-align: center;
  font-family: var(--sans); font-weight: 700; font-size: 11.1cqw; letter-spacing: -.055em;
  transform: scale(.5);
  transition: transform 0.75s cubic-bezier(.62, .05, .01, .99);
}
.iw-main { position: relative; z-index: 10; transition-duration: 0.9s; }
.iw-l2 { position: absolute; left: 0; top: 0; z-index: 5; }
.iw-l3 { position: absolute; left: 0; top: 0; z-index: 2; }
.intro.go .iw-main { transform: none; }
.intro.go .iw-l2.up { transform: translateY(-25%) scale(.9); }
.intro.go .iw-l2.down { transform: translateY(25%) scale(.9); }
.intro.go .iw-l3.up { transform: translateY(-50%) scale(.8); }
.intro.go .iw-l3.down { transform: translateY(50%) scale(.8); }

/* ---------- Title strip (tagline + nav between two perforations) ---------- */
.title {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 0 40px; margin-top: 56px;
}
.perf { flex: 0 0 20px; width: 20px; height: 62px; border-radius: 8px; background: #F9F5EA; }
.title-text {
  flex: 1; text-align: center; margin: 0;
  font-family: var(--mono); font-weight: 500; font-size: 15px; line-height: 1.75; letter-spacing: .14em;
  text-transform: uppercase; color: #F9F5EA;
}
/* nav pill: the same gap above it (from the tagline bars) and below it (to the showreel) */
.title-nav { display: flex; justify-content: center; padding-top: 64px; }
.nav-slot { position: relative; }
.nav-slot .nav { position: relative; top: auto; left: auto; transform: none; }

/* ---------- Showreel card ---------- */
.reel { padding: 64px 40px 0; }
.reel-card { position: relative; width: calc(100% * var(--reel-scale, 1)); max-width: 1360px; margin: 0 auto; aspect-ratio: var(--reel-ar, 1.8963); overflow: hidden; background: #000; }
/* exactly the card's size and shape, so the whole picture shows (no parallax drift: that needs spare picture to crop) */
/* sits inside the hand-drawn frame (--ri = frame inset, set by home.js), so the frame never covers the picture */
.reel-video { position: absolute; left: var(--ri, 0px); top: var(--ri, 0px); width: calc(100% - 2 * var(--ri, 0px)); height: calc(100% - 2 * var(--ri, 0px)); object-fit: cover; }
.reel-frame { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); z-index: 3; pointer-events: none; fill: var(--bg); }
.reel-ui {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; justify-content: space-between; align-items: flex-end; padding: 0 4.2% 3.8%;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 30%);
}
.reel-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-weight: 700; font-size: 26px; letter-spacing: .16em; text-transform: uppercase; color: #F9F5EA;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}
.reel-tag { display: flex; flex-direction: column; gap: 10px; }
.reel-note { padding-left: 26px; font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #F4F4F2; opacity: .85; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.reel-label .rec { width: 12px; height: 12px; border-radius: 50%; background: #e2412f; box-shadow: 0 0 12px rgba(226,65,47,.7); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: .2; } }
.reel-sound {
  pointer-events: auto; padding: 6px 0; border: 0; background: none; cursor: pointer; opacity: .8; transition: opacity .2s;
  font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #F4F4F2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.reel-sound:hover, .reel-sound[aria-pressed="true"] { opacity: 1; }
.reel-play {
  position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); padding: 14px 24px; cursor: pointer;
  border: 1px solid rgba(249, 245, 234, .7); border-radius: 999px; background: rgba(0, 0, 0, .45); color: #F9F5EA;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.reel-play[hidden] { display: none; }
.reel-review {
  position: absolute; top: 5.5%; right: 4.2%; z-index: 2; margin: 0; text-align: right; color: #F9F5EA;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
}
.reel-review .stars { display: inline-flex; gap: 4px; }
.reel-review .stars svg { width: 17px; height: 16px; fill: #F9F5EA; filter: drop-shadow(0 1px 6px rgba(0,0,0,.4)); }
.reel-review blockquote { margin: 12px 0 0; font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; line-height: var(--lh-serif, 1.2); }
.reel-review figcaption { margin-top: 8px; font-family: var(--sans); font-weight: 500; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }

/* ---------- Nav (Focus Lens) ---------- */
.nav { position: absolute; top: 25px; left: 50%; transform: translateX(-50%); z-index: 20; }
.nav-pill {
  position: relative; display: flex; align-items: center; padding: 0 16px; height: 57px;
  background: #141414; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px;
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .2);
}
.nav-link { position: relative; display: inline-flex; align-items: center; padding: 22px 17px; outline-offset: -6px; border-radius: 8px; }
.nav-text {
  display: inline-block; white-space: nowrap; text-transform: uppercase;
  font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; line-height: 1em;
  color: #F4F4F2; opacity: .62; filter: blur(0); transform: scale(1);
  transition: opacity .22s cubic-bezier(.2, .9, .3, 1), filter .22s cubic-bezier(.2, .9, .3, 1), transform .22s cubic-bezier(.2, .9, .3, 1);
}
.nav-pill.has-hot .nav-text { opacity: .22; filter: blur(2px); transform: scale(.97); }
.nav-pill.has-hot .nav-link.hot .nav-text { opacity: 1; filter: blur(0); transform: scale(1); }
.nav-brackets { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; z-index: 2; will-change: transform, width, height; }
.nav-brackets i { position: absolute; width: 7px; height: 7px; border: 0 solid #fff; }
.nav-brackets i:nth-child(1) { left: 0; top: 0; border-left-width: 1.25px; border-top-width: 1.25px; border-top-left-radius: 2px; }
.nav-brackets i:nth-child(2) { right: 0; top: 0; border-right-width: 1.25px; border-top-width: 1.25px; border-top-right-radius: 2px; }
.nav-brackets i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.25px; border-bottom-width: 1.25px; border-bottom-left-radius: 2px; }
.nav-brackets i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.25px; border-bottom-width: 1.25px; border-bottom-right-radius: 2px; }

/* ---------- Listing pages ---------- */
.list-head { padding: 140px 12px 0; text-align: center; }
.list-label { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: -.03em; line-height: 1.1; text-transform: uppercase; white-space: pre; }
.display {
  max-width: 1200px; margin: 20px auto 0; text-wrap: balance;
  font-family: var(--serif); font-weight: 400; font-size: 47px; letter-spacing: -.04em; line-height: var(--lh-serif, 1.2); color: #fff;
}
.grid {
  display: grid; grid-template-columns: repeat(2, 600px); justify-content: center;
  column-gap: 70px; row-gap: 52px; align-items: start; margin: 56px auto 0; padding-bottom: 96px;
}
.card { display: block; }
.card-media { position: relative; width: 100%; overflow: hidden; border-radius: 1px; background: #000; }
.card-media video { width: 100%; height: 100%; object-fit: cover; background: transparent; }
.card-title { margin-top: 20px; font-family: var(--sans); font-weight: 500; font-size: 18px; line-height: 1.25em; text-transform: uppercase; }
.card-sub { margin-top: 4px; font-family: var(--sans); font-style: italic; font-weight: 400; font-size: 12px; line-height: 1.25em; }

/* ---------- Project player (pull-out overlay) ---------- */
.player { position: fixed; inset: 0; z-index: 2000; }
.player[hidden] { display: none; }
.player-backdrop {
  position: absolute; inset: 0; background: rgba(12, 12, 12, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .55s cubic-bezier(.2, .8, .2, 1);
}
.player.open .player-backdrop { opacity: 1; }
/* a live blur over the moving page (3D strip + playing videos) makes phones stutter: use a solid backdrop there */
@media (max-width: 1100px), (hover: none) { .player-media { box-shadow: none; } .player-backdrop { background: rgba(12, 12, 12, .97); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.player-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.player-scroll::-webkit-scrollbar { display: none; }
.player-inner { width: min(1120px, calc(100vw - 160px), calc(58vh * var(--ar, 1.7778))); margin: 0 auto; padding: 96px 0 80px; }
.player-media { position: relative; width: 100%; background: #000; border-radius: 6px; overflow: hidden; transform-origin: 0 0; will-change: transform; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.player-media video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.player-text { padding-top: 32px; }
.player-text > * { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.player.text-in .player-text > * { opacity: 1; transform: none; }
.player.text-in .player-text > *:nth-child(2) { transition-delay: .08s; }
.player-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.18); }
.player-cat { display: block; font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.player-title { margin-top: 10px; font-family: var(--sans); font-weight: 500; font-size: 40px; letter-spacing: -.02em; line-height: 1.05; text-transform: uppercase; }
.player-meta { display: flex; gap: 48px; margin: 0; text-align: right; }
.player-meta dt { font-family: var(--serif); font-size: 18px; letter-spacing: -.03em; text-transform: uppercase; color: var(--gray); }
.player-meta dd { margin: 6px 0 0; font-family: var(--sans); font-size: 14px; }
.player-body { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 30px; }
.player-body h3 { font-family: var(--serif); font-size: 20px; letter-spacing: -.03em; line-height: var(--lh-serif, 1.2); text-transform: uppercase; color: var(--gray); }
.player-body p { margin-top: 12px; font-family: var(--sans); font-size: 15px; line-height: 1.6; letter-spacing: -.01em; }
.player-close {
  position: fixed; top: 26px; right: 32px; z-index: 3; display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(20,20,20,.6); cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #F4F4F2;
  opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s cubic-bezier(.16,1,.3,1), background-color .2s, color .2s;
}
.player.open .player-close { opacity: 1; transform: none; transition-delay: .25s, .25s, 0s, 0s; }
.player-close:hover { background: #fff; color: #141414; }
.player-close i { position: relative; width: 11px; height: 11px; }
.player-close i::before, .player-close i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.player-close i::after { transform: translate(-50%, -50%) rotate(-45deg); }
html.player-lock, html.player-lock body { overflow: hidden; }
html.player-settled body > *:not(.player) { visibility: hidden; }
.card.is-source .card-media { visibility: hidden; }

/* ---------- Project pages ---------- */
.project-title {
  padding-top: 126px; text-align: center;
  font-family: var(--sans); font-weight: 400; font-size: 60px; letter-spacing: -.012em; line-height: 72px;
}
.project-bar {
  width: 1122px; max-width: calc(100% - 40px); margin: 99px auto 0; padding: 0 7px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 19px; letter-spacing: -.03em; line-height: var(--lh-serif, 1.2); text-transform: uppercase;
}
.project-bar a { transition: opacity .2s; }
.project-bar a:hover { opacity: .6; }
.project-hero { width: 1122px; max-width: calc(100% - 40px); margin: 22px auto 0; background: #000; overflow: hidden; }
.project-hero video { width: 100%; height: 100%; object-fit: cover; }
.project-body { width: 670px; max-width: calc(100% - 40px); margin: 150px auto 0; }
.project-body h3 { font-family: var(--serif); font-size: 20px; letter-spacing: -.03em; line-height: var(--lh-serif, 1.2); text-transform: uppercase; color: var(--gray); }
.project-body p { margin-top: 12px; font-family: var(--sans); font-weight: 400; font-size: 15px; letter-spacing: -.01em; line-height: 1.5em; color: #fff; }
.project-body .meta { display: grid; grid-template-columns: 325px 1fr; column-gap: 49px; }
.project-body .meta p { text-align: left; margin-top: 14px; }
.project-body .block { margin-top: 52px; }
.project-body .block p { text-align: justify; margin-top: 11px; }
.project-gallery { width: 670px; max-width: calc(100% - 40px); margin: 0 auto; padding-bottom: 42px; display: flex; flex-direction: column; gap: 20px; }
.project-gallery img { width: 100%; height: auto; background: #1d1d1d; }
.project-gallery:empty { margin: 0; padding: 0; }
.project-body .block:last-child { margin-bottom: 62px; }

/* ---------- About ---------- */
.about { scroll-margin-top: 0; }
.about-top { padding: 160px 12px 20px; }
.about-statement {
  width: 90%; margin: 0 auto; text-align: center;
  font-family: var(--serif); font-weight: 400; font-size: 70px; letter-spacing: -.04em; line-height: var(--lh-serif, 1.2); color: #fff;
}
.about-statement .w { display: inline-block; white-space: nowrap; }
.swipe-hint { display: none; margin: 28px 0 0; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted, rgb(125,125,125)); }
.swipe-hint::before { content: '[ '; } .swipe-hint::after { content: ' ]'; }
@media (max-width: 1100px) { .swipe-hint { display: block; } }
.lens-wrap { position: relative; margin-top: 44px; }
.lens { position: relative; width: 100%; max-width: 1200px; height: 470px; margin: 0 auto; background: var(--bg); overflow: hidden; touch-action: pan-y; }
.lens canvas { display: block; touch-action: pan-y; }
.lens-art {
  position: absolute; left: 50%; top: 300px; width: 420px; height: 150px; transform: translateX(-50%);
  fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  opacity: .85; pointer-events: none; transition: opacity .4s;
}
.lens-art .ray { opacity: .6; }
/* Reels turn (in steps, driven by home.js) only while the carousel moves; the tally light records then. */
.lens-art .reel { transform-box: fill-box; transform-origin: center; }
.lens-art .tally { fill: transparent; transition: fill .15s, filter .15s; }
.lens-wrap.rolling .lens-art .tally { fill: #e2412f; stroke: #e2412f; filter: drop-shadow(0 0 3px rgba(226,65,47,.9)); }
.lens-wrap:has(.lens-close.show) .lens-art { opacity: 0; }
.lens-close {
  position: absolute; top: 2vh; right: 4vw; z-index: 5; padding: 0; border: 0; background: transparent; color: #fff;
  font: 400 16px/1em 'Inter', system-ui, sans-serif; mix-blend-mode: exclusion;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lens-close.show { opacity: 1; pointer-events: auto; }
.about-mid { padding: 64px 12px 20px; }
.services { width: 888px; max-width: calc(100% - 40px); margin: 112px auto 0; padding: 39px 0; }
.service {
  display: flex; justify-content: center; align-items: center; padding: 32px 0 31px; white-space: pre;
  border-top: 1px solid rgba(255, 255, 255, .35);
  font-family: var(--sans); font-weight: 400; font-size: 18px; letter-spacing: -.14px; line-height: 20px; color: #fff;
  transition: color .3s cubic-bezier(.2, .9, .3, 1);
}
.service:last-child { border-bottom: 1px solid rgba(255, 255, 255, .35); }
.service:hover { color: var(--gray); }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 440px minmax(0, 640px); justify-content: space-between; column-gap: 80px;
  max-width: 1360px; margin: 0 auto; padding: 200px 40px 140px;
}
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.contact-sub { margin: -14px 0 18px; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: #F4F4F2; opacity: .8; max-width: 420px; }
.contact-lede { font-family: var(--serif); font-size: 47px; letter-spacing: -.04em; line-height: var(--lh-serif, 1.2); margin-bottom: 26px; text-wrap: balance; }
.contact-item span { display: block; font-family: var(--sans); font-weight: 400; font-size: 14px; line-height: 1.4em; color: var(--gray); }
.contact-item a, .contact-item .v { display: block; margin-top: 8px; font-family: var(--sans); font-weight: 500; font-size: 19.4px; line-height: 1.3em; letter-spacing: -.01em; }
.contact-item a { transition: opacity .2s; }
.contact-item a:hover { opacity: .6; }

.contact-form { display: flex; flex-direction: column; gap: 34px; padding-top: 6px; }
.field { display: block; }
.field span {
  display: block; font-family: var(--serif); font-size: 20px; letter-spacing: -.03em; line-height: var(--lh-serif, 1.2); text-transform: uppercase; color: var(--gray);
  transition: color .25s;
}
.field:focus-within span { color: #fff; }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 10px; padding: 10px 0 12px;
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); border-radius: 0; outline: none;
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.5em; color: #fff;
  transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { border-bottom-color: #fff; }
.field.invalid input, .field.invalid textarea { border-bottom-color: #c9785f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.send {
  position: relative; padding: 16px 26px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; background: transparent; cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #F4F4F2;
  transition: border-color .25s, background-color .25s, color .25s;
}
.send:hover { border-color: #fff; background: #fff; color: #141414; }
.send:disabled { opacity: .5; pointer-events: none; }
.form-status { font-family: var(--sans); font-size: 13px; line-height: 1.4em; color: #F4F4F2; opacity: .8; }

/* ---------- Footer ---------- */
.footer { position: relative; height: 364px; overflow: hidden; margin-top: 0; }
.to-top {
  position: absolute; top: 92px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px;
  font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #F4F4F2;
  transition: border-color .25s, background-color .25s, color .25s;
}
.to-top i { width: 9px; height: 9px; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: translateY(2px) rotate(45deg); transition: transform .3s cubic-bezier(.2, .9, .3, 1); }
.to-top:hover { border-color: #fff; background: #fff; color: #141414; }
.to-top:hover i { transform: translateY(-1px) rotate(45deg); }
.page-contact .footer { height: 300px; }
.footer-mark {
  position: absolute; left: 50%; bottom: -.1em; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--sans); font-weight: 500; font-size: 11.2vw; line-height: 1em; letter-spacing: -.062em; color: #F9F5EA;
  user-select: none;
}

/* ---------- Typography system ----------
   Hanken Grotesk: headings (heavy, tight capitals) and body text.
   Gambarino: large editorial statements.
   JetBrains Mono: only small technical [ BRACKET ] labels and captions. */
.iw { font-weight: 800; font-size: 11.6cqw; letter-spacing: -.045em; line-height: var(--lh-caps, .86); }
.title-text { font-weight: 600; font-size: 14px; letter-spacing: .2em; }
.nav-text { font-weight: 600; font-size: 12.5px; letter-spacing: .12em; }
.list-label, .reel-label, .reel-note, .reel-review figcaption, .more-label, .stack-cap { font-family: var(--mono); }
.reel-label { font-weight: 700; }
.card-title { font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.card-sub { font-style: normal; font-size: 13px; letter-spacing: .02em; color: #cfcfcf; }
.project-title { font-weight: 800; font-size: 72px; letter-spacing: -.03em; line-height: 1; text-transform: uppercase; }
.project-body p, .player-body p, .contact-sub { font-size: 16px; line-height: 1.6; letter-spacing: 0; }
.player-title { font-weight: 800; font-size: 44px; letter-spacing: -.025em; line-height: .95; }
.service { font-weight: 500; font-size: 19px; letter-spacing: 0; }
.contact-item a, .contact-item .v { font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.field input, .field textarea { font-size: 16px; }
.footer-mark { font-weight: 800; font-size: 11.4vw; letter-spacing: -.045em; line-height: .9; bottom: -.06em; }
.to-top, .send, .explore, .reel-sound { font-weight: 600; letter-spacing: .12em; }

/* ---------- Projects: featured stacks ---------- */
.featured { padding: 72px 40px 0; }
.feat-line { height: 2px; background: #F9F5EA; }
.feat-row { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: 88px 0; }
.feat-text { flex: 0 1 520px; }
.feat-type { font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: #F9F5EA; }
.feat-title { margin-top: 14px; font-weight: 800; font-size: 88px; line-height: .9; letter-spacing: -.035em; text-transform: uppercase; color: #F9F5EA; text-wrap: balance; }
.explore {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 34px; padding: 6px 0;
  font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #F9F5EA;
}
.explore i { width: 3px; height: 18px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.62, .05, .01, .99); }
.explore:hover i:first-child { transform: translateX(-6px); }
.explore:hover i:last-child { transform: translateX(6px); }

.stack { position: relative; display: block; flex: 0 0 auto; width: min(640px, 46vw); aspect-ratio: var(--ar, 1.8963); perspective: 500px; cursor: pointer;
  transition: transform .5s cubic-bezier(.62, .05, .01, .99); }
.stack-layer {
  position: absolute; inset: 0; border-radius: 10px; overflow: hidden; background: #000;
  transition: transform .5s cubic-bezier(.62, .05, .01, .99), filter .5s cubic-bezier(.62, .05, .01, .99);
  box-shadow: 0 18px 30px -22px rgba(0, 0, 0, .7);
}
.stack-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stack-layer.l1 { z-index: 3; }
.stack-layer.l2 { z-index: 2; }
.stack-layer.l3 { z-index: 1; }
.stack-cap {
  position: absolute; left: 14px; bottom: 12px; padding: 5px 9px; border-radius: 5px; background: rgba(10, 10, 10, .62);
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #F4F4F2;
  opacity: 0; transition: opacity .35s ease;
}
.stack-cap:empty { display: none; }
/* split apart (in view) */
.stack.split { transform: translateY(-10%) scale(.8); }
.stack.split .l1 { transform: translateY(-25%) rotateX(35deg); }
.stack.split .l2 { transform: translateY(5%) scale(.9) rotateX(35deg); filter: brightness(.72); }
.stack.split .l3 { transform: translateY(30%) scale(.8) rotateX(35deg); filter: brightness(.5); }
.stack.split .stack-cap { opacity: 1; transition-delay: .3s; }
.stack.split:hover .l1 { transform: translateY(-31%) rotateX(32deg); }
.stack.split:hover .l3 { transform: translateY(36%) scale(.8) rotateX(35deg); }
/* gathered back together (clicked, just before the player opens) */
.stack.gather, .stack.gather .stack-layer { transform: none; filter: none; }
.stack.gather .stack-cap { opacity: 0; transition-delay: 0s; }
.feat.is-source .stack { visibility: hidden; }

/* ---------- Projects: everything else ---------- */
.more { padding: 120px 0 0; }
.more-label { text-align: center; font-weight: 500; font-size: 22px; letter-spacing: -.03em; text-transform: uppercase; }
.more .grid { margin-top: 56px; }
/* small section headings that sat in the serif now share the heading face */
.project-body h3, .player-body h3, .player-meta dt, .field span, .project-bar {
  font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .14em;
}

/* ---------- Projects: curved strip of other projects ---------- */
.ring { position: relative; height: 620px; margin-top: 30px; }
.ring canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.ring canvas.over-card { cursor: grab; }
.ring canvas.grabbing { cursor: grabbing; }
.ring.on + .ring-fallback { display: none; }
.ring:not(.on) { display: none; }
.ring { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%); }

/* ======================================================================
   Responsive: tablet (≤ 1100px) and phone (≤ 700px)
   ====================================================================== */
html, body { max-width: 100%; overflow-x: hidden; }
img, video { max-width: 100%; }

@media (max-width: 1100px) {
  /* home */
  .about-statement { font-size: clamp(34px, 6.4vw, 70px); }
  .services { margin-top: 72px; }
  .service { font-size: 16px; white-space: normal; text-align: center; padding: 24px 12px; line-height: 1.45; }
  .reel-label { font-size: 20px; }
  .reel-review blockquote { font-size: 20px; }
  /* projects */
  .display { font-size: clamp(30px, 5vw, 47px); padding: 0 24px; }
  .feat-title { font-size: clamp(44px, 8vw, 88px); }
  .feat-row { gap: 32px; padding: 64px 0; }
  .feat-text { flex: 1 1 0; min-width: 0; }
  .stack { flex: 0 1 auto; width: 50%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; padding: 0 32px 80px; }
  .ring { height: 520px; }
  /* project pages */
  .project-title { font-size: clamp(40px, 7vw, 72px); padding: 110px 24px 0; }
  .project-body { margin-top: 80px; }
  .project-body .meta { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  /* contact */
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; padding: 160px 32px 100px; }
  .contact-lede { font-size: clamp(32px, 4.6vw, 47px); }
  /* player */
  .player-inner { width: min(1120px, calc(100vw - 64px), calc(58vh * var(--ar, 1.7778))); }
}

@media (max-width: 700px) {
  /* nav pill: always fits */
  .nav { top: 16px; width: max-content; max-width: calc(100vw - 24px); }
  .nav-pill { height: 50px; padding: 0 6px; border-radius: 14px; }
  .nav-link { padding: 18px 12px; }
  .nav-text { font-size: 11.5px; letter-spacing: .1em; }

  /* home: intro + title strip */
  .intro { padding: 120px 16px 40px; }
  .title { margin-top: 28px; padding: 0 16px; gap: 12px; }
  .perf { flex-basis: 10px; width: 10px; height: 44px; border-radius: 5px; }
  .title-text { font-size: 10.5px; letter-spacing: .12em; line-height: 1.8; }
  .title-text span { white-space: nowrap; }
  .title-nav { padding-top: 40px; }

  /* showreel: label + sound under the card's bottom edge, review hidden (too small to read) */
  .reel { padding: 40px 16px 0; }
  .reel-card { width: 100%; }
  .reel-review { display: none; }
  .reel-ui { padding: 0 5% 5%; background: linear-gradient(to top, rgba(0,0,0,.4), rgba(0,0,0,0) 30%); }
  .reel-label { font-size: 13px; gap: 8px; letter-spacing: .12em; }
  .reel-label .rec { width: 8px; height: 8px; }
  .reel-note { display: none; }
  .reel-sound { font-size: 10.5px; letter-spacing: .1em; }

  /* about */
  .about-top { padding: 96px 16px 8px; }
  .about-statement { width: 100%; font-size: clamp(30px, 9vw, 44px); }
  .about-mid { padding: 32px 16px 8px; }
  .lens-wrap { margin-top: 20px; }
  .lens { height: 300px; }
  .lens-art { top: 196px; width: 240px; height: 86px; }
  .services { margin-top: 48px; padding: 20px 0; max-width: calc(100% - 32px); }
  .service { font-size: 14px; padding: 18px 4px; }

  /* projects page */
  .list-head { padding: 100px 16px 0; }
  .list-label { font-size: 16px; }
  .display { font-size: clamp(26px, 7.5vw, 34px); padding: 0; }
  .featured { padding: 40px 16px 0; }
  .feat-row { flex-direction: column; align-items: stretch; gap: 22px; padding: 48px 0 56px; }
  .feat-text { flex: none; }
  .feat-type { font-size: 12px; }
  .feat-title { font-size: clamp(38px, 12vw, 56px); }
  .explore { margin-top: 18px; font-size: 13px; }
  .stack { width: 100%; margin-top: 10px; }
  .stack.split { transform: translateY(-4%) scale(.84); }
  .stack-cap { font-size: 9.5px; left: 10px; bottom: 9px; padding: 4px 7px; }
  .more { padding-top: 72px; }
  .more-label { font-size: 16px; }
  .grid { grid-template-columns: 1fr; padding: 0 16px 64px; row-gap: 36px; }
  .ring { height: 380px; margin-top: 10px; }

  /* project pages */
  .project-title { font-size: clamp(34px, 11vw, 48px); line-height: 1; padding: 96px 16px 0; }
  .project-bar { margin-top: 48px; max-width: calc(100% - 32px); padding: 0; font-size: 12px; }
  .project-hero { max-width: calc(100% - 32px); }
  .project-body { margin-top: 48px; max-width: calc(100% - 32px); }
  .project-body .meta { grid-template-columns: 1fr; row-gap: 24px; }
  .project-body .block { margin-top: 36px; }
  .project-body .block p { text-align: left; }
  .project-gallery { max-width: calc(100% - 32px); gap: 12px; }

  /* contact */
  .contact { grid-template-columns: 1fr; row-gap: 48px; padding: 110px 16px 64px; }
  .contact-lede { font-size: clamp(30px, 9vw, 40px); }
  .contact-item a, .contact-item .v { font-size: 17px; word-break: break-word; }
  .contact-form { gap: 26px; }
  .send { width: 100%; justify-content: center; }

  /* pull-out player */
  .player-inner { width: calc(100vw - 24px); padding: 74px 0 48px; }
  .player-close { top: 14px; right: 12px; padding: 10px 14px; }
  .player-text { padding-top: 22px; }
  .player-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .player-title { font-size: clamp(28px, 9vw, 40px); }
  .player-meta { text-align: left; gap: 32px; }
  .player-body { grid-template-columns: 1fr; gap: 26px; }

  /* footer */
  .footer { height: 220px; }
  .page-contact .footer { height: 150px; }
  .to-top { top: 40px; padding: 12px 18px; font-size: 11.5px; }
}

/* touch screens: no hover-only effects stuck "on" after a tap */
@media (hover: none) {
  .stack.split:hover .l1 { transform: translateY(-25%) rotateX(35deg); }
  .stack.split:hover .l3 { transform: translateY(30%) scale(.8) rotateX(35deg); }
}

/* ---------- Phone design pass ---------- */
@media (max-width: 700px) {
  /* hero: two-line wordmark, much bigger; echoes stay close */
  .intro { padding: 92px 16px 12px; }
  .iw { white-space: normal; font-size: 21cqw; line-height: var(--lh-caps, .86); text-wrap: balance; }
  /* the wordmark is two lines tall here, so the echoes move by a share of that (not of one line) */
  .intro.go .iw-l2.up { transform: translateY(-12.5%) scale(.96); }
  .intro.go .iw-l2.down { transform: translateY(12.5%) scale(.96); }
  .intro.go .iw-l3.up { transform: translateY(-23%) scale(.92); }
  .intro.go .iw-l3.down { transform: translateY(23%) scale(.92); }
  /* tagline: readable size, bars stretch to its height */
  .title { margin-top: 44px; align-items: stretch; }
  .perf { height: auto; min-height: 44px; }
  .title-text { font-size: 12px; letter-spacing: .1em; line-height: 1.75; text-wrap: balance; padding: 4px 0; }
  .title-text span { white-space: normal; }
  .title-nav { padding-top: 36px; }
  .reel { padding-top: 36px; }
  /* section rhythm */
  .about-top { padding-top: 88px; }
  .lens { height: 280px; }
  .lens-art { top: 184px; }
  .services { margin-top: 40px; }
  .service { font-size: 15px; line-height: 1.5; }
  /* projects */
  .feat-title { font-size: clamp(40px, 13vw, 60px); }
  .card-title { font-size: 17px; }
}

/* ---------- Phone fixes: rainbow height, camera drawing, scrolling strip ---------- */
@media (max-width: 700px) {
  .lens { height: var(--lensh, 236px); }   /* home.js sizes the phone arch via --lensh  */
  /* camera + lights: small, centred, sitting inside the hollow of the rainbow */
  .lens-art { top: var(--art-top, 140px); width: 168px; height: 60px; }
  .ring { height: 300px; margin-top: 0; }
}

/* ---------- Photography: the light table (/photography/) ---------- */
/* Each shoot is a film strip on a lit table. photo.js sets --s (slide-in: 1 = off the table, 0 = in
   place) and --l (loupe position 0..1) on .ph-shot; without the script everything simply sits in place. */
.ph-head { max-width: 1280px; margin: 0 auto; padding: 170px 24px 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ph-heading { font-family: var(--sans); font-weight: 900; font-size: calc(clamp(64px, 10vw, 150px) * var(--heading-scale, 1)); max-width: 100%; overflow-wrap: anywhere; line-height: .86; letter-spacing: -.03em; text-transform: uppercase; }
.ph-intro { max-width: 380px; font-family: var(--photo); font-size: 26px; line-height: 1.25; color: #e8e4da; }
.ph-table {
  --grid: #dcd9cf;
  background-color: #EDEBE4; color: #141414;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px; box-shadow: inset 0 0 180px rgba(0, 0, 0, .10);
  overflow-x: clip; padding: 120px 0; display: flex; flex-direction: column; gap: 150px;
}
.ph-table:empty { display: none; }
.ph-shot { --s: 0; --l: 0; --fr: .6667; --cols: 5; --D: 240px; --Z: 2.4; display: flex; flex-direction: column; gap: 26px; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; color: #141414; outline-offset: 8px; }
.ph-js .ph-shot { --s: 1; }
.ph-slide { transform: translateX(calc(var(--dir) * var(--s) * 110%)) rotate(calc(var(--tilt) + var(--dir) * var(--s) * 5deg)); will-change: transform; }
.ph-strip { position: relative; background: #0b0b0b; padding: 26px 14px; box-shadow: 0 18px 36px rgba(0, 0, 0, .22); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.ph-strip::before, .ph-strip::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: radial-gradient(circle at 9px 6px, #e6e3da 3.6px, transparent 4.1px) 0 0 / 22px 12px repeat-x; }
.ph-strip::before { top: 7px; } .ph-strip::after { bottom: 7px; }
.ph-shot:focus-visible { outline: 2px solid #141414; }
.ph-shot:focus-visible .ph-strip { transform: translateY(-8px); box-shadow: 0 30px 50px rgba(0, 0, 0, .28); }
@media (hover: hover) { .ph-shot:hover .ph-strip { transform: translateY(-8px); box-shadow: 0 30px 50px rgba(0, 0, 0, .28); } .ph-shot:hover .ph-m { color: #141414; } }
.ph-cq { position: relative; container-type: inline-size; }
.ph-frames { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 12px; }
/* one film-strip frame: a fixed-shape window (--fr = height / width) the picture fills; a cropped picture is positioned by inline styles */
.ph-fr { position: relative; aspect-ratio: 1 / var(--fr); overflow: hidden; background: #1d1d1d; }
.ph-fr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-pick { position: relative; }
.ph-empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8a8a8a; }
/* grease-pencil circle: draws itself on when the loupe reaches the pick */
.ph-ring { position: absolute; left: -10px; top: -12px; width: calc(100% + 20px); height: calc(100% + 24px); pointer-events: none; overflow: visible; }
.ph-ring ellipse { fill: none; stroke: #E5432F; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.4, 0, .2, 1); }
.ph-js .ph-ring ellipse { stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .7s cubic-bezier(.4, 0, .2, 1), opacity 0s linear .7s; }
.ph-js .ph-ring.on ellipse { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset .7s cubic-bezier(.4, 0, .2, 1), opacity 0s; }
/* the loupe: --D = size, --Z = zoom; frame height = (100cqw - gaps) / cols * --fr */
.ph-loupe { position: absolute; left: 0; top: calc((100cqw - (var(--cols) - 1) * 12px) / var(--cols) * var(--fr) / 2 - var(--D) / 2); width: var(--D); height: var(--D); border-radius: 50%; border: 12px solid #1a1a1a; overflow: hidden; background: #0b0b0b; box-shadow: 0 26px 46px rgba(0, 0, 0, .38), inset 0 0 0 2px rgba(255, 255, 255, .06); z-index: 3; transform: translateX(calc(var(--l) * (100cqw - var(--D)))); will-change: transform; }
.ph-loupe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 38%); pointer-events: none; }
.ph-zoom { position: absolute; left: 0; top: 0; width: 100cqw; transform-origin: 0 0; transform: translate(calc((var(--D) - 24px) / 2 - var(--Z) * (var(--l) * (100cqw - var(--D)) + var(--D) / 2)), calc((var(--D) - 24px) / 2 - var(--Z) * (100cqw - (var(--cols) - 1) * 12px) / var(--cols) * var(--fr) / 2)) scale(var(--Z)); }
.ph-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ph-t { display: inline-block; font-family: var(--photo); font-style: var(--title-fs, italic); font-size: calc(clamp(44px, 5.5vw, 80px) * var(--title-scale, 1)); line-height: 1; padding-right: .18em; clip-path: inset(-14% calc(var(--s) * 100%) -14% -6%); }
.ph-note { display: inline-block; margin-left: 18px; font-family: var(--photo); font-style: italic; font-size: 26px; color: #E5432F; transition: opacity .5s, transform .5s; }
.ph-js .ph-note { opacity: 0; transform: translateX(-10px); }
.ph-js .ph-shot.picked .ph-note { opacity: 1; transform: none; }
.ph-m { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #3d3d3d; transition: color .3s; }
@supports not (container-type: inline-size) { .ph-loupe { display: none; } }
/* Opening a shoot (photo.js): the hero frame is lifted off the strip (.ph-lift), the strip is pulled away,
   the table fades to dark (.ph-fade), then the page changes and the lifted photo grows into the shoot's
   top photo (view transition "shoot-hero"; the title carries over as "shoot-title"). */
.ph-lift { position: fixed; z-index: 60; margin: 0; overflow: hidden; pointer-events: none; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.ph-lift .ph-fr { width: 100%; height: 100%; aspect-ratio: auto; }
.ph-fade { position: fixed; inset: 0; z-index: 59; background: #141414; opacity: 0; pointer-events: none; }
.sp-hero-pic:first-child .sp-hero-img { view-transition-name: shoot-hero; }
.sp-title { view-transition-name: shoot-title; }
::view-transition-group(shoot-hero) { animation-duration: .75s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(shoot-hero), ::view-transition-new(shoot-hero) { width: 100%; height: 100%; object-fit: cover; animation-duration: .75s; }
::view-transition-group(shoot-title) { animation-duration: .7s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }


/* ---------- A shoot (/photography/<shoot>/): magazine spread ---------- */
/* the top photo fills the whole first screen; you scroll down for the rest (svh = the visible screen on a phone, whatever the browser bars are doing) */
.sp-hero { position: relative; height: 100vh; height: 100svh; min-height: 420px; overflow: hidden; background: #1d1d1d; display: grid; grid-template-columns: 1fr; }
/* two photos side by side: each is a tall panel, so portraits show nearly full length (phones show only the first) */
.sp-hero.two { grid-template-columns: 1fr 1fr; gap: 3px; }
.sp-hero-pic { position: relative; min-width: 0; overflow: hidden; background: #1d1d1d; container-type: size; }
.sp-hero.two .sp-hero-img:not(.fx) { object-position: 50% 28%; }   /* keep heads in view when no position is chosen */
.sp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* With a focus point + zoom (--R picture shape, --cx/--cy the point to keep centred, --z zoom): the picture covers the screen,
   is scaled by --z and shifted so that point sits in the middle, without ever showing empty space at the edges. */
.sp-hero-img.fx { --W: calc(max(100cqw, 100cqh * var(--R)) * var(--z)); --H: calc(var(--W) / var(--R)); inset: auto; max-width: none; object-fit: cover; width: var(--W); height: var(--H);
  left: clamp(calc(100cqw - var(--W)), calc(50cqw - var(--cx) * var(--W)), 0px); top: clamp(calc(100cqh - var(--H)), calc(50cqh - var(--cy) * var(--H)), 0px); }
.sp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .35)); pointer-events: none; }
.sp-hero-in { position: absolute; z-index: 1; left: 0; right: 0; top: 0; bottom: 0; max-width: 1280px; margin: 0 auto; padding: 0 24px 48px; box-sizing: border-box; pointer-events: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; }
.sp-hero-in a { pointer-events: auto; }
.sp-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #F9F5EA; transition: opacity .2s; }
.sp-back i { position: relative; width: 16px; height: 1.5px; background: currentColor; }
.sp-back i::before { content: ""; position: absolute; left: 0; top: -3px; width: 6px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transform-origin: 1px 4px; }
.sp-back:hover { opacity: .7; }
.sp-kicker { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.sp-title { font-family: var(--sans); font-weight: 900; font-size: calc(clamp(56px, 11vw, 176px) * var(--hero-scale, 1)); line-height: .84; letter-spacing: -.035em; text-transform: uppercase; }
/* shoot page title in the same font as the light-table titles (editor → Photography → Title font) */
.page-shoot[data-hero="title"] .sp-title { font-family: var(--photo); font-weight: 400; font-style: var(--title-fs, italic); text-transform: none; letter-spacing: -.02em; line-height: .95; }
.sp-intro { max-width: 1280px; margin: 0 auto; padding: 72px 24px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.sp-lede { grid-column: span 7; font-family: var(--photo); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; color: #e8e4da; }
.sp-facts { grid-column: 9 / span 4; margin: 0; display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.sp-facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #2a2a2a; }
.sp-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #9a9a9a; }
.sp-facts dd { margin: 0; text-align: right; }
.sp-grid { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 16px; }
/* Rows of photos at their own shape (render.mjs groups them): each photo's width is proportional to its
   width/height (--ar), so every photo in a row ends up exactly the same height and fills the row, with
   nothing stretched or cropped. --sum = the row's total --ar. Rows that would be too tall are narrowed
   and centred: a row is never taller than 85% of the screen, and small groups (e.g. one portrait left
   over) are capped so they don't blow up to full width. */
.sp-row { display: flex; gap: 16px; width: 100%; max-width: min(100%, calc(var(--sum) * 45%), calc(85vh * var(--sum))); margin: 0 auto; }
.sp-row.solo { max-width: min(100%, calc(85vh * var(--sum))); margin: 24px auto; }
.sp-ph { position: relative; flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); overflow: hidden; background: #1d1d1d; }
.sp-ph img { width: 100%; height: 100%; object-fit: cover; }
.sp-quote { margin: 8px 0 24px; font-family: var(--photo); font-style: italic; font-size: 22px; color: #cfcbc2; }
.sp-next { max-width: 1280px; margin: 96px auto 0; padding: 32px 24px 0; border-top: 1px solid #2a2a2a; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.sp-next-k { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #9a9a9a; }
.sp-next a { font-family: var(--sans); font-weight: 900; font-size: clamp(32px, 5vw, 64px); letter-spacing: -.02em; text-transform: uppercase; transition: opacity .2s; }
.sp-next a:hover { opacity: .7; }

@media (max-width: 1100px) {
  .ph-head { padding-top: 140px; }
  .sp-intro { grid-template-columns: 1fr; }
  .sp-lede, .sp-facts { grid-column: auto; }
}
@media (max-width: 700px) {
  .sp-hero.two { grid-template-columns: 1fr; }
  .sp-hero.two .sp-hero-pic:nth-child(2) { display: none; }
  .sp-hero.two .sp-hero-img:not(.fx) { object-position: 50% 30%; }
  .ph-head { padding: 120px 16px 40px; }
  .ph-table { padding: 72px 0; gap: 96px; }
  .ph-shot { --cols: 3; --D: 132px; --Z: 2; padding: 0 16px; gap: 18px; }
  .ph-frames > :nth-child(n + 4) { display: none; }
  .ph-strip { padding: 22px 10px; }
  .ph-note { margin-left: 10px; font-size: 20px; }
  
  .sp-hero-in { padding: 0 16px 32px; }
  .sp-intro { padding: 48px 16px; }
  .sp-grid { padding: 0 16px; gap: 10px; }
  .sp-row { gap: 10px; max-width: min(100%, calc(85vh * var(--sum))); flex-wrap: wrap; }
  .sp-row.solo { margin: 12px auto; }
  /* three or more side by side is too small on a phone: the first takes the full width, the rest share the next line */
  .sp-row.n3 > :first-child, .sp-row.n4 > :first-child { flex-basis: 100%; }
  .sp-quote { font-size: 18px; margin: 4px 0 16px; }
  .sp-next { margin-top: 56px; padding: 24px 16px 0; }
}

/* four menu items on a small phone (under about 380px wide): tighter so the whole menu stays on screen */
@media (max-width: 380px) {
  .nav-pill { padding: 0 4px; }
  .nav-link { padding: 18px 8px; }
  .nav-text { font-size: 10.5px; letter-spacing: .06em; }
}
