:root {
  --bg: #0b0b0c;
  --fg: #f4f2ee;
  --muted: #8d8a85;
  --line: #242425;
  --accent: #f5c518;
  --gap: 4px;
  --bar-h: 56px;
  --band-h: 40px;
  --ease: cubic-bezier(.2,.7,.2,1);
  /* One family everywhere, matching the logo. Futura where installed (Mac, iPhone, Adobe Fonts),
     otherwise Jost, a free Google Font drawn after Futura. */
  --font: "Futura PT", "Futura", "Jost", "Century Gothic", system-ui, sans-serif;
}

/* Ambient glow colour, set from each photo by UI.glow(). Registered so it fades between photos. */
@property --glow { syntax: "<color>"; inherits: true; initial-value: rgb(0 0 0 / 0); }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); }
body { -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Small spaced caps used for metadata everywhere */
.si-meta, .lb-no, .lb-sub, .exif, .label, .tile-exif, .back,
.pfig figcaption, .sheet-strip figcaption, .lb-close {
  letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 10px;
  background: var(--bg);
}
/* On the homepage the bar stays hidden until the intro scrolls away */
.home .bar {
  position: fixed; left: 0; right: 0;
  transform: translateY(-100%); transition: transform .32s var(--ease);
  border-bottom: 1px solid var(--line);
}
.home .bar.show { transform: none; }
.brand { display: flex; align-items: center; }
.status { font-size: 14px; color: #bdb9b2; display: flex; align-items: center; gap: 10px; }
/* Availability dot: a solid dot with a soft ring that pulses outward */
.dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  animation: pulse 2.2s cubic-bezier(.2,.6,.3,1) infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(2.8); opacity: 0; }
}

/* ---------- Logo wordmark (used when SITE.logo is empty) ---------- */
.wordmark {
  display: inline-flex; flex-direction: column; align-items: center;
  font-weight: 700; text-transform: uppercase;
  line-height: .86; letter-spacing: -.01em;
}
.wordmark small {
  font-weight: 500; color: var(--accent); letter-spacing: .04em;
  font-size: .34em; line-height: 1; margin-top: .45em;
}
.wordmark-hero { font-size: clamp(44px, 5vw, 64px); }
/* Compact one-line version for the header */
.wordmark-inline { flex-direction: row; align-items: baseline; gap: .3em; font-size: 20px; line-height: 1; }
.wordmark-inline small { font-size: .55em; margin: 0 0 0 .3em; }
.logo-img { display: block; height: 100%; width: auto; }
.logo-img.wordmark-hero { height: clamp(80px, 9vw, 120px); }
.logo-img.wordmark-inline { height: 34px; }

/* ---------- Homepage intro ---------- */
/* Logo and hello text sit together on the left; the buttons stay right-aligned,
   with any free space falling between the text and the buttons. */
.intro {
  display: grid; grid-template-columns: auto minmax(0, auto) 1fr;
  align-items: center; gap: 24px 56px;
  padding: 60px 44px 44px; margin: 0 0 10px;
  border-bottom: 1px solid var(--line);
}
.intro-actions { justify-self: end; }
.intro-text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.intro-line {
  margin: 0; max-width: 38ch; text-wrap: balance; /* two even lines on desktop */
  font-size: clamp(20px, 1.6vw, 24px); line-height: 1.35; letter-spacing: -.01em;
}
.intro-status { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #d8d4cd; }
.intro-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid #4a4a4c; transition: background .2s, border-color .2s, color .2s;
}
.pill:hover { border-color: var(--fg); }
.pill-solid { background: var(--fg); color: #111; border-color: var(--fg); }
.pill-solid:hover { background: var(--accent); border-color: var(--accent); }
.pill-ghost { border-color: transparent; color: #bdb9b2; }
.pill-ghost:hover { color: var(--fg); border-color: transparent; }
.nav { justify-self: end; display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 19px; }
.nav-link:hover { color: var(--accent); }
.cta {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--fg); color: #111; padding: 8px 14px;
  font-size: 19px;
  transition: background .2s;
}
.cta:hover { background: var(--accent); }

/* ---------- Grid ---------- */
.grid {
  display: flex; gap: var(--gap);
  padding: 0 10px 120px;
}
.col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }

.tile {
  position: relative; display: block; width: 100%;
  overflow: hidden; background: #1a1a1b; cursor: zoom-in;
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.tile.in { opacity: 1; transform: none; }
.tile.in.is-open { opacity: 0; transition: opacity .3s ease; }
.tile[data-type="project"] { cursor: pointer; }
.tile img, .tile video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s var(--ease);
}
.tile:hover img, .tile:hover video { transform: scale(1.035); }
.tile img { opacity: 0; transition: opacity .6s, transform .8s var(--ease); }
.tile img.loaded { opacity: 1; }

.label {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  background: var(--fg); color: #111;
  font-size: 11px; padding: 3px 8px;
}
.tile[data-type="project"] .label { background: var(--accent); }
.stack { width: 11px; height: 11px; fill: var(--accent); stroke: #111; stroke-width: 1.4; }
.duration {
  position: absolute; right: 12px; top: 14px; z-index: 2;
  font-size: 11px; color: var(--fg);
  background: rgba(0,0,0,.45); padding: 2px 6px; backdrop-filter: blur(6px);
}

/* Title + camera settings, revealed on hover */
.tile-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  padding: 36px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease, transform .3s var(--ease);
}
.tile:hover .tile-meta, .tile:focus-visible .tile-meta { opacity: 1; transform: none; }
.tile-title { font-size: 20px; line-height: 1.1; flex: none; }
.tile-exif { font-size: 10.5px; color: rgba(255,255,255,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ---------- All / Photos / Videos filter ---------- */
.mode {
  position: fixed; left: 50%; bottom: calc(var(--band-h) + 14px); transform: translateX(-50%); z-index: 15;
  display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(30,30,31,.72); backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.mode button { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #bdb9b2; transition: color .2s, background .2s; }
.mode button:hover { color: var(--fg); }
.mode button[aria-selected="true"] { color: #111; background: var(--fg); }

/* ---------- Cursor label (mouse/trackpad only) ---------- */
.cursor-on [data-cursor] { cursor: none; }
.cursor-tag {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  translate: -50% -50%; padding: 7px 13px; border-radius: 999px;
  background: var(--fg); color: #111; font-size: 13px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  opacity: 0; scale: .6; transition: opacity .18s ease, scale .2s var(--ease);
}
.cursor-tag.on { opacity: 1; scale: 1; }
.cursor-tag[data-tone="accent"] { background: var(--accent); }

/* ---------- Bottom band ---------- */
/* Fixed to the bottom edge, under the filter pill. Overlays (series, lightbox, About) cover it. */
.has-band { padding-bottom: var(--band-h); }
.band {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 16; height: var(--band-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 20px; background: rgba(11,11,12,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.band-cta { justify-self: start; color: var(--fg); font-weight: 500; white-space: nowrap; }
.band-cta span { display: inline-block; transition: transform .25s var(--ease); }
.band-cta:hover { color: var(--accent); }
.band-cta:hover span { transform: translateX(4px); }
.band-copy { white-space: nowrap; }
.band-links { justify-self: end; display: flex; gap: 18px; white-space: nowrap; }
.band-links a:hover { color: var(--fg); }

/* ---------- Soundtrack player ---------- */
/* Every size inside the player is in em, relative to the player's own font-size (14px by
   default), so the whole card can be scaled up or down by changing that one value. */
.player {
  font-size: 14px;
  width: 100%; display: flex; flex-direction: column; gap: .857em;
  padding: 1em; border: 1px solid var(--line); border-radius: 1em; background: #141415;
}
.player-top { display: flex; align-items: center; gap: .857em; }
.player-art { width: 3.714em; height: 3.714em; flex: none; border-radius: .571em; object-fit: cover; background: #232324; }
.player-meta { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.player-label { font-size: .714em; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.player-title, .player-artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-title { font-size: 1.071em; font-weight: 500; }
.player-artist { font-size: .929em; color: #bdb9b2; }
.player-btn {
  flex: none; width: 3em; height: 3em; border-radius: 50%;
  display: grid; place-items: center; background: var(--fg); color: #111;
  transition: background .2s, transform .2s var(--ease);
}
.player-btn:hover:not(:disabled) { background: var(--accent); transform: scale(1.06); }
.player-btn:disabled { opacity: .35; cursor: default; }
.player[data-state="loading"] .player-btn { animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .2; } }
.player-btn svg { width: 1em; height: 1em; fill: currentColor; }
.player-bar { height: max(2px, .214em); border-radius: 2px; background: #2a2a2b; overflow: hidden; }
.player-fill { display: block; width: 0; height: 100%; background: var(--accent); transition: width .25s linear; }
.player-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.04em; margin-top: -.286em; font-size: .821em; color: var(--muted); }
.player-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-links { display: flex; gap: 1.04em; white-space: nowrap; }
.player-links a:hover { color: var(--fg); }

/* Full-width button, e.g. View full project */
.pill-block { width: 100%; justify-content: center; gap: 8px; padding: 13px 18px; }

/* ---------- Project set (floating prints) ---------- */
.set { position: fixed; inset: 0; z-index: 30; }
.set[hidden], .sheet-layer[hidden], .lightbox[hidden], .about[hidden] { display: none; }
.set { transition: --glow .8s ease; }
.set-backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(60% 65% at 38% 50%, var(--glow), transparent 75%), rgba(8,8,9,.82);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .32s ease;
}
.set.on .set-backdrop { opacity: 1; }
.set-prints { position: absolute; inset: 0; pointer-events: none; }
.print {
  position: absolute; pointer-events: auto; cursor: zoom-in;
  background: #1a1a1b;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition:
    left .38s var(--ease), top .38s var(--ease), width .38s var(--ease), height .38s var(--ease),
    transform .3s var(--ease), box-shadow .3s ease;
}
.print img { width: 100%; height: 100%; object-fit: cover; display: block; }
.print:hover, .print:focus-visible {
  transform: scale(1.03); z-index: 5;
  box-shadow: 0 26px 60px rgba(0,0,0,.65);
}
/* Series panel: same width, padding, border and type as the lightbox's .lb-info */
.set-info {
  position: absolute; top: 0; right: 0; bottom: 0; width: 340px;
  display: flex; flex-direction: column; gap: 12px;
  padding: 64px 28px 28px; overflow-y: auto;
  background: var(--bg); border-left: 1px solid var(--line);
  opacity: 0; transform: translateX(16px);
  transition: opacity .32s ease .08s, transform .32s var(--ease) .08s;
}
.set.on .set-info { opacity: 1; transform: none; }
/* Bottom of the panel: player, then a divider, then the project button */
.set-bottom { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 18px; }
.set-foot { padding-top: 18px; border-top: 1px solid var(--line); }
/* Tablets: the panel runs along the bottom, details on the left and actions on the right */
.set[data-layout="stack"] .set-info {
  top: auto; left: 0; width: auto; max-height: 40vh;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; row-gap: 8px; align-content: start;
  padding: 24px 32px; border-left: 0; border-top: 1px solid var(--line);
  transform: translateY(16px);
}
.set[data-layout="stack"] .set-info > :not(.set-bottom):not(.lb-close) { grid-column: 1; }
.set[data-layout="stack"] .set-bottom { grid-column: 2; grid-row: 1 / span 4; width: 320px; margin: 0; padding: 0; align-self: end; }
.set[data-layout="stack"] .lb-close { top: 16px; right: 24px; }
.set[data-layout="stack"] .lb-title { font-size: 36px; }
.si-meta { margin: 0 0 4px; font-size: 11px; color: var(--muted); }
.si-title { margin: 0; font-weight: 400; font-size: 38px; line-height: 1; }
.si-desc { margin: 0; color: #cfcbc4; font-size: 14px; line-height: 1.55; max-width: 46ch; }

/* ---------- Mobile sheet ---------- */
.sheet-layer { position: fixed; inset: 0; z-index: 30; }
.sheet-backdrop {
  position: absolute; inset: 0; opacity: 0; transition: opacity .32s ease;
  background: radial-gradient(90% 50% at 50% 30%, var(--glow), transparent 80%), rgba(0,0,0,.6);
}
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto;
  background: #141415; border-radius: 18px 18px 0 0;
  padding: 0 16px 32px;
  display: flex; flex-direction: column; gap: 16px;
  transform: translateY(100%); transition: transform .34s var(--ease);
}
.sheet-layer.on .sheet { transform: none; }
.sheet-layer.on .sheet-backdrop { opacity: 1; }
.sheet-handle { display: block; width: 100%; height: 28px; flex: none; position: relative; }
.sheet-handle::before { content: ""; position: absolute; left: 50%; top: 12px; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: #444; }
.sheet-body { display: flex; flex-direction: column; gap: 16px; }
.sheet-strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px; padding: 0 16px; scrollbar-width: none;
}
.sheet-strip figure { flex: 0 0 78%; margin: 0; scroll-snap-align: center; }
.sheet-strip button { display: block; width: 100%; aspect-ratio: 4 / 5; background: #1a1a1b; }
.sheet-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sheet-strip figcaption { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; font-size: 10px; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: radial-gradient(55% 60% at 40% 50%, var(--glow), transparent 75%), rgba(8,8,9,.97);
  transition: --glow .8s ease;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px 340px;
  animation: fade .25s ease;
}
@keyframes fade { from { opacity: 0; } }
.lb-stage { margin: 0; min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 48px 0; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100vh - 96px); object-fit: contain; display: block; }
.lb-nav { font-size: 26px; color: var(--muted); }
.lb-nav:hover { color: var(--fg); }
.lb-close { position: absolute; top: 18px; right: 22px; z-index: 2; font-size: 12px; color: var(--muted); }
.lb-close:hover { color: var(--fg); }
.lb-info {
  border-left: 1px solid var(--line); padding: 64px 28px 28px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.lb-no { margin: 0 0 12px; font-size: 11px; color: var(--muted); }
.lb-title { margin: 0; font-weight: 400; font-size: 44px; line-height: 1; }
.lb-sub { margin: 0; font-size: 11px; color: var(--accent); }
.lb-desc { margin: 8px 0 0; color: #cfcbc4; font-size: 15px; line-height: 1.6; }
.exif {
  margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: 11px;
}
.exif dt { color: var(--muted); }
.exif dd { margin: 0; text-align: right; }

/* ---------- About ---------- */
.about {
  position: fixed; inset: 0; z-index: 40; background: rgba(8,8,9,.82); backdrop-filter: blur(10px);
  display: flex; justify-content: flex-end; animation: fade .25s ease;
}
.about-inner {
  position: relative; width: min(520px, 100%); height: 100%; background: var(--bg);
  padding: 80px 40px 40px; display: flex; flex-direction: column; gap: 20px;
  border-left: 1px solid var(--line);
}
.about h2 { font-weight: 400; font-size: 56px; line-height: 1; margin: 0; }
.about p { color: #cfcbc4; font-size: 17px; line-height: 1.6; margin: 0; }
.about-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.about-links a:hover { color: var(--accent); }
.about .cta { align-self: flex-start; margin-top: auto; }
.about-avatar { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; }
.about-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.about-contact a { border-bottom: 1px solid #444; }
.about-contact a:hover { border-color: var(--accent); }
.lb-sub a:hover, .lb-from a:hover { color: var(--fg); text-decoration: underline; }
.lb-from { margin: 0; font-size: 13px; color: var(--muted); }
.lb-from a { color: var(--fg); }

/* ---------- Collections page ---------- */
.collections { padding: 28px 10px 80px; }
.coll-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; padding: 40px 0 32px; }
.coll-head h1 { margin: 0; font-weight: 400; font-size: clamp(56px, 8vw, 120px); line-height: .9; }
.coll-head p { margin: 0; color: #bdb9b2; font-size: 16px; max-width: 42ch; }
.coll-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--gap); }
.coll-card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1b; }
.coll-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease), opacity .6s; opacity: 0; }
.coll-card img.loaded { opacity: 1; }
.coll-card:hover img { transform: scale(1.04); }
.coll-card-text {
  position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: baseline;
  padding: 48px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.coll-card-name { font-size: 34px; line-height: 1; }
.coll-card-count { font-size: 13px; color: #d8d4cd; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 24px; scrollbar-width: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid #333; font-size: 14px; color: #bdb9b2; }
.chip:hover { color: var(--fg); border-color: #666; }
.chip[aria-current="page"] { background: var(--fg); color: #111; border-color: var(--fg); }
.chip span { opacity: .55; margin-left: 4px; }
.pgrid.wide { columns: 4; }
.pimg { position: relative; }
.pimg .play {
  position: absolute; left: 12px; bottom: 12px; padding: 3px 8px; border-radius: 999px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px); font-size: 12px; color: var(--fg);
}
.pfig .from { display: block; margin-top: 4px; text-transform: none; letter-spacing: 0; font-size: 12px; }
.pfig .from a { color: var(--fg); }
.pfig .from a:hover { color: var(--accent); }

/* ---------- Project page ---------- */
.project { padding: 28px 10px 80px; }
.back { font-size: 12px; color: var(--muted); }
.back:hover { color: var(--accent); }
/* Project header: the description sits right beside the title (like the homepage logo and
   intro) and the player is right-aligned, all sharing one bottom edge. If the player doesn't
   fit beside them it wraps onto its own line. */
.ph {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 56px;
  padding: 48px 0 40px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
}
.ph .si-meta { margin-bottom: 18px; }
.ph h1 { margin: 0; font-weight: 400; font-size: clamp(56px, 8.6vw, 120px); line-height: .88; letter-spacing: -.01em; }
/* The description keeps its fitted width; only on screens too narrow for both does it drop under the title */
.ph-lead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 56px; min-width: 0; }
.ph-desc { flex: none; max-width: 100%; margin: 0; width: var(--desc-w, 28ch); text-wrap: balance; color: #cfcbc4; font-size: 16px; line-height: 1.6; }
/* The player scales with the window like the title does: never taller than the title block,
   and wider (not taller) on big screens once the title has reached its full size. */
.ph-player { flex: none; width: clamp(260px, 22vw, 460px); }
.ph-player .player { font-size: clamp(10px, calc(.74vw + 3px), 15.5px); }
.pgrid { columns: 3; column-gap: 14px; }
.pfig { break-inside: avoid; margin: 0 0 28px; }
.pimg { display: block; width: 100%; background: #1a1a1b; overflow: hidden; cursor: zoom-in; }
.pimg img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .6s, transform .8s var(--ease); }
.pimg img.loaded { opacity: 1; }
.pimg:hover img { transform: scale(1.02); }
.pfig figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 9px; font-size: 10.5px; color: var(--muted); }
.pfig figcaption span:first-child { color: var(--fg); }
.pnext { display: flex; flex-direction: column; gap: 6px; padding: 48px 0 0; margin-top: 24px; border-top: 1px solid var(--line); }
.pnext-title { font-size: clamp(40px, 6vw, 88px); line-height: 1; }
.pnext:hover .pnext-title { color: var(--accent); }

/* ---------- Narrower screens ---------- */
@media (max-width: 1240px) {
  .intro { grid-template-columns: auto minmax(0, 1fr); padding-inline: 32px; gap: 20px 48px; }
  .intro-actions { grid-column: 2; justify-self: start; }
}

@media (max-width: 1100px) {
  .set-info { width: 280px; } /* matches the lightbox panel at this width */
  .lightbox { grid-template-columns: 48px minmax(0, 1fr) 48px 280px; }
  .pgrid { columns: 2; }
  .pgrid.wide { columns: 3; }
}

@media (max-width: 720px) {
  .bar { grid-template-columns: 1fr auto; padding: 0 12px; }
  .status { display: none; }
  .nav { gap: 14px; }
  .nav [data-about] { display: none; }
  .nav-link, .cta { font-size: 16px; }
  .cta { padding: 6px 10px; }
  .wordmark-inline { font-size: 16px; }
  .wordmark-inline small { display: none; }
  .intro { padding: 32px 16px 24px; gap: 18px 24px; }
  .intro-actions { grid-column: 1 / -1; flex-wrap: wrap; }
  .intro-line { font-size: 17px; }
  .wordmark-hero { font-size: 34px; }
  .intro-actions { gap: 8px; }
  .pill { padding: 9px 10px; font-size: 12.5px; }
  .pill-ghost { padding-inline: 4px; }
  .collections { padding: 20px 8px 60px; }
  .coll-cards { grid-template-columns: 1fr 1fr; }
  .coll-card-text { flex-direction: column; gap: 4px; padding: 36px 10px 10px; }
  .coll-card-name { font-size: 24px; }
  .pgrid.wide { columns: 2; column-gap: 8px; }
  .grid { padding: 0 4px 100px; }
  .band { grid-template-columns: auto 1fr; padding: 0 14px; font-size: 12px; }
  .band-copy { display: none; }
  .band-links { gap: 12px; }
  .label { top: 8px; left: 8px; font-size: 9px; padding: 2px 6px; }
  .tile-meta { display: none; }
  .lightbox { grid-template-columns: 40px minmax(0, 1fr) 40px; grid-template-rows: minmax(0, 1fr) auto; }
  .lb-stage { padding: 48px 0 12px; }
  .lb-stage img, .lb-stage video { max-height: 60vh; }
  .lb-info { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 18px 16px 24px; max-height: 38vh; }
  .lb-title { font-size: 32px; }
  .exif { margin-top: 8px; }
  .si-title { font-size: 34px; }
  .ph { flex-direction: column; align-items: stretch; padding: 28px 0 28px; }
  .ph-lead { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ph-desc { width: auto; }
  .ph-player { width: 100%; }
  .ph-player .player { font-size: 14px; }
  .pgrid { columns: 1; }
  .about-inner { padding: 72px 20px 28px; }
}

/* Small phones: "About me" becomes "About" so all three intro buttons fit on one row */
@media (max-width: 400px) {
  .about-me { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tile { opacity: 1; transform: none; }
}
