/* ============================================================
   Kyle Cudal — Portfolio & Personal Index
   Editorial serif · video hero (dark) → cream portfolio (light)
   Signature: hover a work item to flood the background with colour
   Type: Newsreader (single editorial serif throughout)
   ============================================================ */

:root {
  /* Dark hero */
  --bg-dark:  #0B0B0C;

  /* Light portfolio (warm paper) */
  --paper:    #F1ECE6;
  --ink:      #141312;
  --ink-soft: rgba(20,19,18,0.55);
  --line:     rgba(20,19,18,0.22);

  --maxw: 1680px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; padding: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 400;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ============================================================
   HERO  (screen 1)
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: #000; }
.hero__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.hero__video:not([src]) { display: none; }

/* Once a real showreel is present, the animated fallback steps aside */
.hero__media.has-video .hero__fallback { display: none; }

.hero__fallback { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 120% at 35% 30%, #211d1a 0%, #0f0d0c 55%, #060505 100%); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; mix-blend-mode: screen; animation: drift 24s var(--ease) infinite alternate; }
.hero__blob--a { width: 52vw; height: 52vw; left: -6vw; top: -8vw; background: #6a4a38; }
.hero__blob--b { width: 44vw; height: 44vw; right: -8vw; bottom: -10vw; background: #3a3f52; animation-delay: -8s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(5vw,4vh,0) scale(1.15); } }

.hero__grain {
  position: absolute; inset: -50%; z-index: 1; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(3) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-4%,2%)} 66%{transform:translate(3%,-3%)} 100%{transform:translate(0,0)} }
.hero__scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,0) 40%, rgba(0,0,0,.35)); }

/* Vertically-centred nav */
.hero-nav {
  position: absolute; z-index: 5; top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(20px, 3.5vw, 52px);
  font-size: clamp(16px, 1.55vw, 21px);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 22px rgba(0,0,0,.35);
}
.hero-nav__link { opacity: .92; transition: opacity .25s var(--ease); }
.hero-nav__link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.hero-nav__sound {
  opacity: .92; transition: opacity .25s var(--ease);
  text-shadow: inherit;
}
.hero-nav__sound:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.hero-nav__sound[aria-pressed="true"] { opacity: 1; }

.hero__cue {
  position: absolute; z-index: 5; left: 50%; bottom: clamp(20px, 4vh, 40px);
  transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; opacity: .8;
}
.hero__cue svg { width: 18px; height: 18px; animation: bob 2s var(--ease) infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* ============================================================
   PORTFOLIO  (screen 2)
   The whole section flips background colour on card hover.
   ============================================================ */
.folio {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  transition: background-color .5s var(--ease);
  padding: clamp(20px, 3.5vw, 52px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

/* ---- Photography / Videography sections ---- */
.folio-section { padding-block: clamp(30px, 6vh, 80px); }
.folio-section:first-child { padding-top: clamp(16px, 3vh, 40px); }
.folio-section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: clamp(20px, 3vh, 40px);
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.folio-section__title {
  margin: 0; font-family: "Newsreader", serif; font-weight: 300;
  font-size: clamp(30px, 5vw, 66px); letter-spacing: -0.02em; line-height: 1;
}
.folio-section__count {
  color: var(--ink-soft); font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.04em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.folio-section__actions { display: flex; align-items: baseline; gap: clamp(14px, 2vw, 26px); }
.folio-section__all {
  cursor: pointer; white-space: nowrap;
  font-size: clamp(14px, 1.2vw, 17px); letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: border-color .2s var(--ease);
}
.folio-section__all:hover { border-color: var(--ink); }
@media (max-width: 560px) { .folio-section__count { display: none; } }

.folio__bar {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: clamp(16px, 1.55vw, 21px);
}
.folio__views { display: inline-flex; align-items: baseline; gap: 2px; }
.folio__sep { padding-right: 6px; }
.folio__view { position: relative; transition: opacity .2s var(--ease); opacity: .55; }
.folio__view.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.folio__view:hover { opacity: 1; }

/* ---- SELECTED filmstrip ---- */
.strip-wrap { position: relative; }
.strip {
  display: flex; align-items: stretch; gap: clamp(48px, 6vw, 110px);
  overflow-x: auto; overflow-y: hidden;
  padding: 8px 0 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: none; cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip:focus-visible { outline: none; }

.card {
  flex: 0 0 auto; scroll-snap-align: center;
  /* Media (auto width from its aspect ratio) beside the title/client/genre column */
  display: grid; grid-template-columns: auto minmax(140px, 200px);
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  cursor: pointer;
}
/* small tick over each card, echoing the reference's timeline bracket */
.card__tick { grid-column: 1 / -1; height: 0; position: relative; }
.card__tick::before { content: ""; position: absolute; top: -15px; left: 0; width: 1px; height: 15px; background: var(--line); }

.card__media {
  position: relative; overflow: hidden; align-self: start;
  /* Uniform height; width follows each photo's OWN aspect ratio, shown in full
     (uncropped). Fills the viewport height without cropping the frame. */
  height: clamp(340px, 62vh, 780px);
  width: max-content; max-width: 78vw;
  cursor: zoom-in;
}
/* "Enlarge" affordance on hover */
.card__zoom {
  position: absolute; z-index: 3; right: 10px; bottom: 10px;
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(20,19,18,.6); color: #fff;
  font-size: 15px; line-height: 1;
  opacity: 0; transform: scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.card:hover .card__zoom { opacity: 1; transform: none; }
.card__img, .card__vid {
  display: block; height: 100%; width: auto; object-fit: contain;
  filter: grayscale(1) contrast(1.02);
  transition: filter .5s var(--ease);
}
.card:hover .card__img, .card:hover .card__vid { filter: grayscale(0) contrast(1); }
/* Touch devices: the card scrolled to the centre of the carousel auto-colourises
   (JS adds .is-active only on phones — desktop still uses hover above). */
.card.is-active .card__img, .card.is-active .card__vid { filter: grayscale(0) contrast(1); }
.card.is-active .card__placeholder { filter: grayscale(0); }

.card__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(150deg, #d7d0c8, #b9b1a8);
  color: rgba(0,0,0,.4); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: filter .5s var(--ease);
  filter: grayscale(1);
}
.card:hover .card__placeholder { filter: grayscale(0); }

.card__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 12px; letter-spacing: 0.02em;
  background: rgba(20,19,18,.62); color: #fff;
  padding: 3px 8px; border-radius: 3px;
  font-variant-numeric: tabular-nums;
}

.card__meta { align-self: start; display: flex; flex-direction: column; gap: clamp(18px, 3vh, 40px); font-size: clamp(15px, 1.15vw, 18px); }
.card__row .lbl { display: block; color: var(--ink-soft); }
.card__row .val { display: block; }

.strip__controls {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  margin-top: clamp(28px, 4vh, 56px);
}
.strip__hint {
  margin: 0; font-size: 13px; letter-spacing: 0.08em; color: var(--ink-soft);
  text-transform: uppercase; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.strip__arrow {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; font-size: 17px;
  transition: border-color .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease);
}
.strip__arrow:hover:not(:disabled) { border-color: var(--ink); }
.strip__arrow:disabled { opacity: .28; cursor: default; }

/* ---- INDEX — centred scrolling catalogue ---- */
.index { position: relative; }
.index__list {
  list-style: none; margin: 0; width: 100%;
  /* generous top/bottom padding so the first and last titles can reach the
     vertical centre of the screen while scrolling */
  padding: 42vh 0; text-align: center;
}
.index__row { margin: clamp(2px, 0.4vh, 8px) 0; }
.index__link {
  font-family: "Newsreader", serif; font-weight: 400;
  font-size: clamp(22px, 3.6vw, 46px); line-height: 1.24; letter-spacing: -0.01em;
  color: var(--ink); opacity: .24;
  padding: 2px 10px; background: none; cursor: pointer;
  transition: opacity .35s var(--ease);
}
.index__row.is-active .index__link,
.index__link:hover { opacity: 1; }

/* Fixed year/genre readouts on either side, vertically centred */
.index__meta {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 30;
  font-size: clamp(13px, 1.3vw, 17px); letter-spacing: 0.04em; color: var(--ink);
  opacity: 0; transition: opacity .3s var(--ease); pointer-events: none;
  max-width: 26vw;
}
.index__meta--left  { left: clamp(20px, 3.5vw, 52px); }
.index__meta--right { right: clamp(20px, 3.5vw, 52px); text-align: right; }
.index__meta.is-visible { opacity: 1; }

/* Corner preview that follows the focused title */
.index__preview {
  position: fixed; left: clamp(16px, 3vw, 44px); bottom: clamp(16px, 3vw, 40px);
  width: clamp(200px, 22vw, 340px); aspect-ratio: 4 / 3; z-index: 30;
  overflow: hidden; background: #d7d0c8;
  opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.index__preview.is-visible { opacity: 1; transform: none; }
.index__preview img, .index__preview video { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 700px) {
  .index__list { padding: 38vh 0; }
  .index__preview { width: clamp(140px, 42vw, 200px); }
  .index__meta { font-size: 12px; max-width: 30vw; }
}

/* ============================================================
   PROJECTS — cover cards
   ============================================================ */
.projects {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.project-card {
  display: block; text-align: left; cursor: pointer; width: 100%;
}
.project-card__media {
  position: relative; overflow: hidden; background: #d7d0c8;
  aspect-ratio: 4 / 3;
}
.project-card__media[data-ratio="portrait"] { aspect-ratio: 3 / 4; }
.project-card__media[data-ratio="wide"] { aspect-ratio: 16 / 9; }
.project-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.project-card:hover .project-card__img,
.project-card:focus-visible .project-card__img { transform: scale(1.03); }
.project-card__more {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  margin: 14px; padding: 8px 14px; border-radius: 100px;
  background: rgba(20,19,18,.62); color: #fff;
  font-size: 13px; letter-spacing: 0.02em;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.project-card:hover .project-card__more,
.project-card:focus-visible .project-card__more { opacity: 1; transform: none; }
.project-card__foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-top: 12px;
}
.project-card__title { font-family: "Newsreader", serif; font-size: clamp(20px, 2vw, 28px); }
.project-card__meta { color: var(--ink-soft); font-size: 14px; white-space: nowrap; }

/* ============================================================
   PROJECT case-study overlay
   ============================================================ */
.project {
  position: fixed; inset: 0; z-index: 400;
  background: var(--paper); color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.project.is-open { opacity: 1; visibility: visible; transform: none; }
.project__bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 3.5vw, 52px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(6px);
  font-size: clamp(15px, 1.5vw, 20px);
  border-bottom: 1px solid var(--line);
}
.project__close { cursor: pointer; letter-spacing: 0.02em; transition: opacity .2s var(--ease); }
.project__close:hover { opacity: .6; }
.project__scroll { height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.project__intro {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) clamp(20px, 3.5vw, 52px) clamp(24px, 4vw, 52px);
}
.project__title {
  margin: 0 0 clamp(24px, 3vw, 44px);
  font-family: "Newsreader", serif; font-weight: 300;
  font-size: clamp(34px, 6vw, 84px); line-height: 1; letter-spacing: -0.02em;
}
.project__meta { margin: 0 0 clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 56px); }
.project__metarow dt { color: var(--ink-soft); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.project__metarow dd { margin: 0; font-size: clamp(15px, 1.3vw, 19px); }
.project__blurb { max-width: 60ch; margin: 0; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.5; }

.project__gallery {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 3.5vw, 52px) clamp(64px, 9vw, 120px);
}
/* Films: a big feature block at the top */
.project__feature { margin-bottom: clamp(14px, 1.6vw, 22px); }
.ftile {
  position: relative; display: block; width: 100%; cursor: zoom-in;
  margin: 0 0 clamp(14px, 1.6vw, 22px); background: #000; overflow: hidden;
}
.ftile:last-child { margin-bottom: 0; }
.ftile img, .ftile video {
  width: 100%; height: auto; max-height: 82vh; object-fit: contain; display: block;
}
.ftile .ptile__badge { width: 44px; height: 44px; font-size: 17px; top: 16px; left: 16px; }
.ftile .ptile__cap { font-size: 13px; }

/* Photos: a 2-column masonry below the feature */
.project__grid { columns: 2; column-gap: clamp(12px, 1.4vw, 20px); }
.ptile {
  position: relative; display: block; width: 100%; cursor: zoom-in;
  margin: 0 0 clamp(12px, 1.4vw, 20px); break-inside: avoid;
  background: #d7d0c8; overflow: hidden;
}
.ptile img, .ptile video { width: 100%; height: auto; display: block; }
.ptile__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(20,19,18,.6); color: #fff; font-size: 12px;
}
.ptile__cap {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  margin: 10px; padding: 4px 10px; border-radius: 3px;
  background: rgba(20,19,18,.6); color: #fff; font-size: 12px; letter-spacing: 0.02em;
  opacity: 0; transition: opacity .3s var(--ease);
}
.ptile:hover .ptile__cap, .ftile:hover .ptile__cap { opacity: 1; }
@media (max-width: 640px) { .project__grid { columns: 1; } }

/* ============================================================
   INFO / personal footer
   ============================================================ */
/* The details column and portrait sit as a centred pair in the middle of the
   page (rather than hugging the left/right edges). */
.info {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(36px, 5vw, 84px);
  padding-top: clamp(40px, 6vw, 90px);
  border-top: 1px solid var(--line);
}
.info__details {
  order: 1; flex: 0 1 38ch; max-width: 38ch;
  display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 36px);
}
.info__portrait {
  order: 2; flex: 0 0 auto;
  width: clamp(240px, 28vw, 420px); aspect-ratio: 2 / 3; object-fit: cover;
  filter: grayscale(1); transition: filter .5s var(--ease);
}
.info__portrait:hover { filter: grayscale(0); }

/* Contact details centred within the bio column */
.info__location {
  align-self: center; text-align: center; margin: 0;
  font-size: clamp(12px, 1vw, 14px); color: var(--ink-soft); letter-spacing: 0.02em;
}
.info__email {
  align-self: center; text-align: center;
  font-size: clamp(12px, 1vw, 15px);
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: border-color .25s var(--ease); word-break: break-word;
}
.info__email:hover { border-color: var(--ink); }
.info__links {
  align-self: center;
  display: flex; flex-flow: row wrap; align-items: center; justify-content: center;
  gap: clamp(16px, 1.8vw, 24px);
}
.info__links a {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); opacity: .72;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.info__links a:hover { opacity: 1; transform: translateY(-2px); }
.info__links svg { width: clamp(15px, 1.3vw, 17px); height: clamp(15px, 1.3vw, 17px); display: block; }

.info__bio p { margin: 0 0 1em; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.5; }
.info__bio p:first-child { font-size: clamp(15px, 1.2vw, 18px); }
.info__bio p:last-child { margin-bottom: 0; color: var(--ink-soft); }

@media (max-width: 820px) {
  /* Cards stack (photo above metadata) and need an explicit width — inside a
     horizontal flex strip a `1fr` column would collapse to nothing.
     Here sizing goes back to width-driven, with aspect-ratio setting height. */
  .card { grid-template-columns: 1fr; width: min(84vw, 380px); }
  .card__media { width: 100%; max-width: none; height: auto; }
  .card__img, .card__vid { width: 100%; height: auto; }
  /* A full-width 9:16 clip would tower over the other cards — narrow it. */
  .card[data-ratio="tall"] .card__media { width: 72%; }
  /* Info stacks: portrait on top, details below */
  .info__portrait { order: -1; width: clamp(180px, 56vw, 260px); }
  .info__details { flex-basis: 100%; }
}

/* ============================================================
   LIGHTBOX (dark)
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,7,6,.95); backdrop-filter: blur(8px); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  padding: clamp(16px, 4vw, 64px);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { max-width: min(1200px, 92vw); max-height: 82vh; display: flex; transform: scale(.98); transition: transform .35s var(--ease); }
.lightbox.is-open .lightbox__stage { transform: none; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: 82vh; }
.lightbox__ph { width: min(920px, 86vw); aspect-ratio: 3/4; max-height: 82vh; display: grid; place-items: center; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.2); }
/* Embedded YouTube player */
.lightbox__yt { width: min(1280px, 92vw); aspect-ratio: 16 / 9; max-height: 78vh; }
.lightbox__yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; transition: border-color .25s var(--ease); }
.lightbox__close:hover { border-color: #fff; }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; display: grid; place-items: center; color: rgba(255,255,255,.6); transition: color .25s var(--ease); }
.lightbox__nav:hover { color: #fff; }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }
.lightbox__caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 15px; }
.lightbox__caption strong { color: #fff; font-weight: 500; }
@media (max-width: 560px) { .lightbox__nav { display: none; } }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__blob, .hero__grain, .hero__cue svg { animation: none !important; }
  * { transition: none !important; scroll-behavior: auto !important; }
}
