/* Jacob Monroe — films & photos
   Black, white, one flat gray and an amber title color. */

:root {
  --black: #0b0b0b;
  --ink: #111;
  --white: #fff;
  --paper: #f5f5f3;
  --gray: #6e6e6e;
  --gray-card: #626262;
  --muted: #6b6b6b;
  --line: #e2e2df;
  --line-dark: #2a2a2a;
  --amber: #ffb000;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 3.4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* ---------- Nav: floating bar ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav .wrap {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: max-content; max-width: calc(100% - 2 * var(--gutter));
  padding: 6px 6px 6px 16px;
  background: var(--white); border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 30px -12px rgba(0,0,0,.35);
}
.brand { font-family: var(--display); font-size: 19px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; line-height: 1; display: flex; align-items: center; gap: 8px; }
.dot { display: none; }
.logo { display: block; width: 46px; height: 32px; background: currentColor; -webkit-mask: url(../images/jmp-logo.png) center / contain no-repeat; mask: url(../images/jmp-logo.png) center / contain no-repeat; }
.nav .wrap { padding-left: 14px; }
.nav-links { display: flex; align-items: center; gap: 4px; font-family: var(--sans); font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.nav-links a { text-decoration: none; padding: 8px 12px; border-radius: 5px; }
.nav-links a:hover { background: var(--paper); }
.nav-links .btn { padding: 8px 14px; margin-left: 4px; }
.nav-links .btn:hover { background: var(--amber); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--ink); border-radius: 5px;
  background: var(--ink); color: var(--white);
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn.light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn.light:hover { background: var(--amber); border-color: var(--amber); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Hero: full-bleed film slider ---------- */
.hero { position: relative; height: min(100svh, 920px); min-height: 520px; background: var(--black); color: var(--white); overflow: hidden; }
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none;
  text-align: left; color: inherit; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s;
}
.slide.on { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.slide.on img { transform: scale(1); }
.slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who { position: absolute; z-index: 3; left: var(--gutter); top: 84px; margin: 0; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.1) 60%, rgba(0,0,0,.6) 100%); }
.slide .body { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 26px; }
.tag { display: inline-block; padding: 3px 6px; border: 1px solid currentColor; border-radius: 3px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.slide .title { display: block; margin: 10px 0 14px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.hero-logo { position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(96px, 11vw, 150px); aspect-ratio: 768 / 538; transform: translate(-50%, -50%); background: var(--white); pointer-events: none; filter: drop-shadow(0 2px 14px rgba(0,0,0,.35)); -webkit-mask: url(../images/jmp-logo.png) center / contain no-repeat; mask: url(../images/jmp-logo.png) center / contain no-repeat; }
.slide .go { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.slide .go i { width: 34px; height: 34px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: background .2s; }
.slide .go i::after { content: ""; margin-left: 3px; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.slide:hover .go i { background: var(--amber); }
.dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 1px solid var(--white); background: transparent; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 26px; background: var(--white); }
.hero .count { position: absolute; z-index: 3; right: var(--gutter); bottom: 26px; }

/* ---------- Gray panels with column rules ---------- */
.panel { position: relative; background: var(--gray); color: var(--white); }
.panel .wrap::before, .panel .wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.14); pointer-events: none;
}
.panel .wrap::before { left: calc(var(--gutter) + (100% - 2 * var(--gutter)) / 3); }
.panel .wrap::after { left: calc(var(--gutter) + (100% - 2 * var(--gutter)) * 2 / 3); }
.lede { font-weight: 300; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-indent: 1.6em; }
.lede.dim { color: rgba(255,255,255,.6); }

.intro .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; min-height: 640px; padding-top: 72px; padding-bottom: 56px; }
.intro .col { padding: 0 24px; display: flex; flex-direction: column; }
.intro .col:first-child { padding-left: 0; justify-content: space-between; }
.intro .col:last-child { padding-right: 0; justify-content: space-between; align-items: flex-end; text-align: right; }
.intro .col.mid { align-items: center; justify-content: center; }
.intro p:not(.lede) { margin: 0; font-size: 18px; line-height: 1.3; max-width: 22em; }
.slab { width: min(100%, 300px); background: #1c1c1c; padding: 10px; border-radius: 6px; box-shadow: 0 30px 40px -24px rgba(0,0,0,.55); transform: rotate(-2deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.slab:hover { transform: rotate(0) scale(1.02); }
.slab .label { display: flex; justify-content: space-between; gap: 10px; background: var(--white); color: var(--ink); padding: 8px 10px; border-radius: 3px; margin-bottom: 10px; border-top: 5px solid var(--amber); line-height: 1.45; }
.slab img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.chapters { list-style: none; margin: 0; padding: 0; width: min(100%, 230px); text-align: left; }
.chapters a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-decoration: none; font-size: 22px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; color: rgba(255,255,255,.62); padding: 1px 0; }
.chapters a:hover { color: var(--white); }
.chapters a span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section.dark { background: var(--black); color: var(--white); }
.section.dark .muted { color: #9b9b9b; }
.center-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.center-head h2, .h2 { font-weight: 400; font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -.03em; margin: 0; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.head p { margin: 0; max-width: 26em; color: var(--muted); }
.section.dark .head p { color: #9b9b9b; }

/* ---------- Films ---------- */
.filters { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 99px; background: var(--paper); }
.filters button { padding: 6px 12px; border: 0; border-radius: 99px; background: transparent; font-size: 13px; font-weight: 500; }
.filters button sup { font-size: 9px; margin-left: 2px; opacity: .6; }
.filters button:hover { background: var(--white); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.film { background: none; border: 0; padding: 0; text-align: left; display: block; width: 100%; }
.film .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.film .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.film:hover .thumb img { transform: scale(1.04); }
.film .meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 12px 0 10px; border-bottom: 1px solid var(--ink); }
.film .meta b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.film .meta span { display: block; font-size: 15px; color: var(--muted); }
.film .arrow { font-size: 18px; line-height: 1; transition: transform .25s; }
.film:hover .arrow { transform: translate(3px, 3px); }
.films-foot { margin-top: 44px; text-align: center; }
.films-foot p { margin: 0 0 12px; font-size: 13px; }

/* ---------- Client work ---------- */
.project { padding: 28px 0 44px; border-top: 1px solid var(--line-dark); }
.project:last-child { padding-bottom: 0; }
.project header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 22px; }
.project h3 { margin: 6px 0 0; font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -.025em; }
.project .about { justify-self: end; display: flex; align-items: flex-end; gap: 28px; }
.project header p { margin: 0; max-width: 30em; color: #b5b5b5; font-size: 15px; }
.stat { flex: none; padding-right: 28px; border-right: 1px solid var(--line-dark); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: .95; color: var(--amber); }
.stat span { display: block; margin-top: 6px; color: #b5b5b5; }
.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.project.tall .clips { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.clip { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.clip .frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1a1a1a; border-radius: 4px; }
.project.tall .clip .frame { aspect-ratio: 9 / 16; }
.clip img, .clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip video { opacity: 0; transition: opacity .25s; }
.clip.live video { opacity: 1; }
.clip .cap { display: block; padding-top: 8px; font-size: 13.5px; color: #d6d6d6; }
.player video { display: block; width: 100%; max-height: calc(100vh - 140px); background: #000; }
.player.tall { width: min(100%, calc((100vh - 140px) * 9 / 16)); margin: 0 auto; }

/* ---------- Stills ---------- */
.collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.collection { text-decoration: none; display: block; }
.collection .frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.collection:hover img { transform: scale(1.04); }
.collection .cap { display: flex; justify-content: space-between; align-items: flex-end; padding: 12px 0 10px; border-bottom: 1px solid currentColor; }
.collection .cap b { display: block; font-weight: 600; }
.collection .cap span { display: block; color: var(--muted); font-size: 15px; }

/* ---------- Rates ---------- */
.rates-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 96px; padding-bottom: 72px; }
.rates-top .lede { grid-column: 1 / span 2; }
.rate-col { padding-right: 24px; }
.rate-col + .rate-col { padding-left: 24px; }
.rate-col p { margin: 14px 0 0; max-width: 22em; font-size: 16px; line-height: 1.35; color: rgba(255,255,255,.85); }
.rate-label { display: block; color: rgba(255,255,255,.7); }
.big-rate { display: block; text-indent: 0; margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: clamp(96px, 11.5vw, 176px); line-height: .9; letter-spacing: -.01em; color: var(--amber); }
.big-rate small { font-family: var(--sans); font-weight: 300; font-size: .2em; letter-spacing: -.02em; color: var(--white); margin-left: .12em; }
.rates-top .side { grid-column: 3; justify-self: end; align-self: start; }
.specs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 56px 0 0; }
.specs div { padding: 18px 24px 26px; border-top: 1px solid rgba(255,255,255,.2); }
.specs div:nth-child(3n + 1) { padding-left: 0; }
.specs dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.specs dd { margin: 6px 0 0; font-size: 20px; font-weight: 300; letter-spacing: -.01em; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 80px; }
.card { background: var(--gray-card); border-radius: 8px; padding: 12px 12px 16px; display: flex; flex-direction: column; }
.card .pic { aspect-ratio: 16 / 10; border-radius: 5px; overflow: hidden; background: #555; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .row { display: flex; justify-content: space-between; align-items: center; margin: 14px 4px 10px; color: rgba(255,255,255,.7); }
.card .pill { padding: 3px 7px; border-radius: 99px; background: rgba(0,0,0,.28); color: var(--white); }
.card h3 { margin: 0 4px; font-weight: 400; font-size: 22px; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: baseline; }
.card h3 { gap: 10px; }
.card h3 b { font-weight: 300; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.card h3 b small { font-size: 14px; font-weight: 400; letter-spacing: 0; opacity: .7; }
.card p { margin: 10px 4px 0; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.78); }
.card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; margin: 18px 4px 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); }
.card dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.card dd { margin: 2px 0 0; font-size: 14px; }
.card .btn { margin: auto 4px 0; align-self: flex-start; padding: 7px 12px; font-size: 13px; }

.versus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 72px; padding-bottom: 88px; border-top: 1px solid rgba(255,255,255,.14); }
.versus .lede { text-align: right; text-indent: 0; padding-right: 24px; font-size: clamp(26px, 2.8vw, 38px); }
.versus ul { list-style: none; margin: 0; padding: 0; font-weight: 300; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.5; letter-spacing: -.015em; }
.versus .no { grid-column: 1; text-align: right; padding-right: 24px; margin-top: 40px; color: rgba(255,255,255,.55); text-decoration: line-through; text-decoration-thickness: 1px; }
.versus .yes { grid-column: 3; padding-left: 24px; margin-top: 40px; }
.versus .cap { display: block; margin-bottom: 14px; color: rgba(255,255,255,.6); text-decoration: none; }
.versus .no .cap { display: inline-block; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.field { margin-bottom: 28px; }
.field > .mono { display: block; margin-bottom: 10px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip small { opacity: .6; margin-left: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 400; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; border-radius: 50%; }
.stepper button:hover:not([disabled]) { background: var(--paper); }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 96px; text-align: center; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inputs .full { grid-column: 1 / -1; }
.inputs label { display: block; }
.inputs label span { display: block; margin-bottom: 4px; color: var(--muted); }
.inputs input, .inputs textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font: inherit; color: var(--ink); }
.inputs textarea { resize: vertical; min-height: 84px; }
.inputs input:focus, .inputs textarea:focus { outline: 0; border-color: var(--ink); }
.mini { display: none; }

.slip { position: sticky; top: 84px; background: #141414; color: var(--white); border-radius: 12px; padding: 22px 22px 20px; scroll-margin-top: 84px; }
.slip-head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); color: #a5a5a5; }
.slip dl { margin: 6px 0 0; font-size: 14px; }
.slip .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.slip .row .lead { display: none; }
.slip .row dd { margin: 0; font-family: var(--mono); font-size: 13px; }
.slip .row.minus dd { color: var(--amber); }
.slip .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.slip .total .mono { color: #a5a5a5; }
.slip .total b { font-weight: 300; font-size: 60px; line-height: 1; letter-spacing: -.04em; }
.slip .dep { display: flex; justify-content: space-between; margin-top: 10px; color: #a5a5a5; }
.slip .actions { display: grid; gap: 8px; margin-top: 20px; }
.slip .actions .btn { width: 100%; padding: 13px 16px; border-radius: 99px; font-size: 14px; }
.slip .actions .btn.ghost { color: var(--white); border-color: #3a3a3a; }
.slip .actions .btn.ghost:hover { background: var(--white); color: var(--ink); }
.slip .note { margin: 14px 0 0; font-size: 12.5px; color: #8d8d8d; text-align: center; }
.pay { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.pay .mono { color: #a5a5a5; }
.pay .chips { margin-top: 10px; }
.pay .chip { background: transparent; border-color: #3a3a3a; color: var(--white); text-decoration: none; }
.toast { min-height: 18px; margin-top: 10px; color: var(--amber); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--white); padding: 12px 0 18px; border-top: 1px solid var(--line); }
.boxes { display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 8px; }
.box { border: 1px solid var(--line); border-radius: 4px; padding: 16px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; font-size: 13.5px; }
.box h4 { margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.box a { display: block; text-decoration: none; line-height: 1.6; }
.box a:hover { text-decoration: underline; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tiles a { border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; min-height: 150px; text-decoration: none; font-family: var(--display); font-size: 20px; text-transform: uppercase; transition: background .2s, color .2s; }
.tiles a:hover { background: var(--ink); color: var(--white); }
.wordmark { margin: clamp(28px, 5vw, 64px) 0 10px; font-family: var(--display); text-transform: uppercase; font-size: clamp(88px, 24.5vw, 392px); line-height: .82; letter-spacing: -.01em; white-space: nowrap; display: flex; justify-content: space-between; align-items: flex-end; }
.wordmark .o { width: .52em; height: .866em; margin-bottom: -.018em; border-radius: .17em; overflow: hidden; position: relative; flex: none; }
.wordmark .o img { width: 100%; height: 100%; object-fit: cover; }
.biglogo { margin: clamp(32px, 4vw, 56px) auto clamp(24px, 3vw, 40px); width: clamp(120px, 16vw, 200px); aspect-ratio: 768 / 538; background: var(--ink); -webkit-mask: url(../images/jmp-logo.png) center / contain no-repeat; mask: url(../images/jmp-logo.png) center / contain no-repeat; }
.footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
.footer .base a { text-decoration: none; margin-left: 16px; }
.footer .base a:first-child { margin-left: 0; }
.footer .base a:hover { color: var(--ink); }

/* ---------- Gallery pages ---------- */
.page-head { padding: clamp(110px, 14vw, 170px) 0 clamp(24px, 4vw, 44px); }
.page-head h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(60px, 13vw, 190px); line-height: .9; margin: 14px 0 0; }
.page-head .sub { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--ink); color: var(--muted); }
.set { padding-bottom: clamp(40px, 6vw, 72px); }
.set h2 { font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; margin: 0 0 18px; }
.masonry { columns: 3; column-gap: 14px; }
.shot { break-inside: avoid; margin: 0 0 14px; padding: 0; border: 0; background: none; display: block; width: 100%; text-align: left; cursor: zoom-in; }
.shot img { width: 100%; height: auto; background: var(--paper); transition: opacity .25s; }
.shot:hover img { opacity: .88; }
.shot .cap { display: block; padding-top: 8px; color: var(--muted); }
.more { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: clamp(48px, 7vw, 88px); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(8,8,8,.95); padding: clamp(16px, 4vw, 56px); align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal .stage { width: min(100%, 1200px); max-height: 100%; }
.modal .video { aspect-ratio: 16 / 9; width: 100%; background: #000; }
.modal iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal img { max-height: calc(100vh - 140px); max-width: 100%; margin: 0 auto; }
.modal .bar { display: flex; justify-content: space-between; align-items: center; color: #cfcfcf; padding-top: 12px; gap: 16px; }
.modal .bar a { color: inherit; }
.modal .x { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 6px; background: var(--white); color: var(--ink); font-size: 20px; line-height: 1; }
.modal .x:hover { background: var(--amber); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.cursor.on { opacity: 1; }
.cursor span {
  position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  transform: translate(-50%, -50%);
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.cursor span::before, .cursor span::after {
  content: ""; position: absolute; background: var(--amber); border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}
.cursor span::before { left: 50%; top: 0; width: 3px; height: 100%; margin-left: -1.5px; }
.cursor span::after { top: 50%; left: 0; height: 3px; width: 100%; margin-top: -1.5px; box-shadow: none; }
.cursor[data-state="link"] span { transform: translate(-50%, -50%) rotate(45deg) scale(1.25); }
.cursor[data-state="off"] { opacity: 0; }
.cursor.down span { transform: translate(-50%, -50%) scale(.7); }
.cursor.down[data-state="link"] span { transform: translate(-50%, -50%) rotate(45deg) scale(.9); }.has-cursor:not(.cursor-off), .has-cursor:not(.cursor-off) * { cursor: none !important; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .panel .wrap::before, .panel .wrap::after { display: none; }
  .intro .wrap { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .intro .col, .intro .col:last-child { padding: 0; align-items: flex-start; text-align: left; gap: 24px; }
  .intro .col.mid { align-items: center; order: 3; padding: 12px 0; }
  .rates-top, .versus { grid-template-columns: 1fr; gap: 20px; padding-top: 56px; }
  .rates-top, .intro .wrap { padding-top: 96px; }
  .section { padding-top: 96px; }
  .rates-top .side { grid-column: 1; justify-self: start; }
  .rate-col, .rate-col + .rate-col { padding: 0; }
  .cards { grid-template-columns: 1fr; padding-bottom: 56px; }
  .versus .lede, .versus .no { text-align: left; padding: 0; }
  .versus .no, .versus .yes { grid-column: 1; padding: 0; margin-top: 8px; }
  .versus { padding-bottom: 56px; }
  .book { grid-template-columns: 1fr; }
  .slip { position: relative; top: 0; }
  .head { flex-direction: column; align-items: flex-start; }
  .collections { gap: 10px; }
  .project header { grid-template-columns: 1fr; gap: 10px; }
  .project .about { justify-self: start; }
  .project.tall .clips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection .cap span { display: none; }
  .boxes { grid-template-columns: 1fr 1fr; }
  .tiles { grid-column: 1 / -1; }
  .box:nth-child(3) { grid-column: 1 / -1; min-height: 0; gap: 14px; }
  .tiles a { min-height: 84px; }
  .masonry { columns: 2; }
  .mini {
    position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 18px; border-radius: 99px; background: var(--ink); color: var(--white); text-decoration: none;
    box-shadow: 0 12px 30px -12px rgba(0,0,0,.6);
  }
  .mini b { font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: -.02em; text-transform: none; margin-right: auto; }
}
@media (max-width: 560px) {
  .nav .wrap { width: auto; }
  .nav-links a.hide-s { display: none; }
  .films { grid-template-columns: 1fr; }
  .project.wide .clips { grid-template-columns: 1fr; }
  .project.tall .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collections { grid-template-columns: 1fr; gap: 20px; }
  .collection .frame { aspect-ratio: 4 / 3; }
  .collection .cap span { display: block; }
  .inputs { grid-template-columns: 1fr; }
  .hero .count { display: none; }
  .who { right: var(--gutter); font-size: 9.5px; }
  .specs { grid-template-columns: 1fr; margin-top: 36px; }
  .specs div { padding: 14px 0 18px; }
  .box { min-height: 120px; }
  .masonry { column-gap: 10px; }
  .shot { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide, .slide.on { transition: none; }
  .slide img, .film .thumb img, .collection img, .slab { transition: none; transform: none; }
}
