/* ==========================================================================
   DH DRONES — drone photography
   Black and white. Typewriter for everything, Instrument Serif for headlines.
   The hero is the one exception: photo grade, gold detail and Archivo.
   Nothing else has colour.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --paper-hi: #ffffff;
  --paper-2: #ffffff;

  --ink: #000000;
  --ink-deep: #000000;
  --forest: #000000;

  /* gold survives inside .hero only — see the hero block */
  --gold: #dbc894;
  --gold-mark: #c8a94e;
  --green-ink: #000000;
  --cream-it: #ffffff;

  --body: rgba(0, 0, 0, 0.78);
  --body-dk: rgba(255, 255, 255, 0.7);
  --mute: rgba(0, 0, 0, 0.45);

  --line: rgba(0, 0, 0, 0.22);
  --line-dk: rgba(255, 255, 255, 0.22);

  --wrap: 100rem;
  --pad: clamp(1.25rem, 4vw, 3.625rem);
  --step: clamp(4.5rem, 9vw, 8.5rem);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* the homepage is one screen and stays that way */
html.lock,
html.lock body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

/* an open drawer holds the page still on the inner pages too */
.is-open,
.is-open body {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* a link inside a paragraph has no shape of its own to give it away */
.inline {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.3s var(--ease);
}

.inline:hover {
  text-decoration-color: currentColor;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 200;
  background: var(--paper-hi);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- display type ---------- */

.dsp {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
}

.dsp em,
.it {
  display: block;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.92;
  color: inherit;
}

.kicker {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.lede {
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 54ch;
}

.on-dark {
  color: var(--paper);
}

.on-dark .lede,
.on-dark .kicker {
  color: var(--body-dk);
}

/* ---------- section markers ---------- */

.mark {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 1.05rem;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.mark i {
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  width: 2.2rem;
  flex: none;
  opacity: 0.55;
}

.on-dark .mark {
  color: #fff;
  border-top-color: var(--line-dk);
}

/* ---------- header (inner pages reuse the hero header) ---------- */

.hd {
  position: relative;
  z-index: 50;
  background: var(--ink);
}

/* ---------- hero — the whole homepage, one locked screen ---------- */

.hero {
  font-family: var(--sans);
  position: relative;
  height: 100svh;
  min-height: 30rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #0c1310;
  pointer-events: none;
}

/* Each slide is stacked in the same square; only the lit one is visible.
   Slide one is lit in the HTML, so the hero is right before any script runs. */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero-slide.is-on {
  opacity: 1;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: saturate(0.82) brightness(0.88) contrast(1.03);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      104deg,
      rgba(12, 19, 16, 0.93) 0%,
      rgba(12, 19, 16, 0.74) 26%,
      rgba(12, 19, 16, 0.36) 54%,
      rgba(12, 19, 16, 0.12) 76%,
      rgba(12, 19, 16, 0.24) 100%
    ),
    linear-gradient(
      180deg,
      rgba(12, 19, 16, 0.62) 0%,
      rgba(12, 19, 16, 0.05) 20%,
      rgba(12, 19, 16, 0.05) 54%,
      rgba(12, 19, 16, 0.62) 100%
    );
}

/* header */

.hero-hd {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: clamp(1rem, 2.2vh, 1.5rem);
  position: relative;
  z-index: 3;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: var(--paper);
  justify-self: start;
}

.logo svg {
  width: 2rem;
  height: 1.65rem;
  flex: none;
}

.logo b {
  display: block;
  font-size: clamp(0.82rem, 1.05vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.15;
  text-transform: uppercase;
}

.logo i {
  display: block;
  font-style: normal;
  font-size: clamp(0.5rem, 0.66vw, 0.6rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.22rem;
}

.mnav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3.5vw, 3.2rem);
  justify-self: center;
}

.mnav a {
  font-size: clamp(0.62rem, 0.78vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  padding-block: 0.4rem;
  position: relative;
  transition: color 0.3s var(--ease);
}

.mnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.05rem;
  height: 1px;
  background: currentColor;
  transition: right 0.4s var(--ease);
}

.mnav a:hover,
.mnav a[aria-current="page"] {
  color: var(--paper-hi);
}

.mnav a:hover::after,
.mnav a[aria-current="page"]::after {
  right: 0;
}

.hd-cta {
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-size: clamp(0.6rem, 0.76vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.hd-cta:hover {
  background: var(--paper-hi);
  border-color: var(--paper-hi);
  color: var(--forest);
}

/* the drawer copy of the CTA only exists below the burger breakpoint */
.hd-cta--drawer {
  display: none;
}

/* burger */

.burger {
  position: relative;
  display: none;
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: var(--paper);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
}

.burger span::before {
  transform: translateY(-0.34rem);
}

.burger span::after {
  transform: translateY(0.34rem);
}

.is-open .burger span {
  background: transparent;
}

.is-open .burger span::before {
  transform: rotate(45deg);
}

.is-open .burger span::after {
  transform: rotate(-45deg);
}

/* hero body */

.hero-in {
  align-self: center;
  padding-block: clamp(0.5rem, 3vh, 2.5rem);
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero .kicker {
  font-size: clamp(0.6rem, 0.78vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, min(8.6vw, 12.4svh), 7.9rem);
  line-height: 0.9;
  letter-spacing: -0.015em;
  color: var(--paper-hi);
  margin-top: clamp(1.1rem, 2.6vh, 1.9rem);
  max-width: 13ch;
  text-wrap: balance;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.94rem, 1.32vw, 1.19rem);
  line-height: 1.78;
  max-width: 40ch;
  margin-top: clamp(1.4rem, 3.4vh, 2.6rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
  margin-top: clamp(1.6rem, 4vh, 2.9rem);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-hi);
  color: var(--forest);
  border: 1px solid var(--paper-hi);
  border-radius: 999px;
  padding: 0 clamp(1.6rem, 2.4vw, 2.15rem);
  height: clamp(2.9rem, 5.2vh, 3.25rem);
  font-size: clamp(0.6rem, 0.78vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.pill:hover {
  background: transparent;
  color: var(--paper-hi);
  transform: translateY(-1px);
}

.pill--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.pill--dark:hover {
  background: transparent;
  color: var(--ink);
}

.txtlink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: clamp(0.6rem, 0.78vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.4rem;
  transition: gap 0.35s var(--ease), color 0.3s var(--ease);
}

.txtlink svg {
  width: 0.72em;
  height: 0.72em;
  flex: none;
}

.txtlink:hover {
  gap: 0.95rem;
  opacity: 0.6;
}

/* the hero text link sits on the photo, unruled */

.hero .txtlink {
  color: var(--paper);
  border-bottom: 0;
  padding-bottom: 0;
}

/* bottom rule */

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: clamp(0.9rem, 2.2vh, 1.5rem);
  padding-bottom: clamp(1.5rem, 4.4vh, 3rem);
  font-size: clamp(0.58rem, 0.76vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  position: relative;
  z-index: 2;
}

/* narrow screens — the screen still must not scroll */

@media (max-width: 68rem) {
  .hero h1 {
    max-width: 16ch;
  }
}

@media (max-width: 61.99rem) {
  .burger {
    display: grid;
  }

  .hero-hd {
    grid-template-columns: 1fr auto;
  }

  .mnav {
    position: fixed;
    inset: 0;
    z-index: 60;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 6rem var(--pad) 3rem;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(14px);
    display: none;
  }

  .is-open .mnav {
    display: flex;
  }

  .mnav a {
    width: 100%;
    padding-block: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
  }

  .hero-hd > .hd-cta {
    display: none;
  }

  .mnav .hd-cta {
    display: inline-block;
    margin-top: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    width: auto;
    justify-self: start;
  }
}

@media (max-width: 40rem) {
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, min(12vw, 10svh), 3.6rem);
  }

  .hero h1 br {
    display: none;
  }

  .hero .lede {
    max-width: 34ch;
  }

  .hero-foot {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .hero-actions {
    gap: 1rem;
  }
}

/* last-resort escape hatch: a viewport too short to hold the screen
   scrolls inside the hero rather than clipping content away */
@media (max-height: 33rem) {
  .hero {
    height: auto;
    min-height: 100svh;
  }

  .lock,
  .lock body {
    overflow: auto;
  }
}

/* ---------- forms ---------- */

.form {
  display: grid;
  gap: 1.75rem;
}

.two {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 34rem) {
  .two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field > span,
.field > label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.55rem 0 0.7rem;
  width: 100%;
  transition: border-color 0.3s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--mute);
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: currentColor;
}

.on-dark .field > span,
.on-dark .field > label {
  color: var(--body-dk);
}

.on-dark .field input,
.on-dark .field select,
.on-dark .field textarea {
  color: var(--paper);
  border-bottom-color: var(--line-dk);
}

.on-dark .field input::placeholder,
.on-dark .field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.on-dark .field select option {
  color: var(--ink);
}

/* pill checkbox set */
.picks {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 34rem) {
  .picks {
    grid-template-columns: 1fr 1fr;
  }
}

.picks label {
  display: block;
  position: relative;
  cursor: pointer;
}

/* The checkbox is hidden and the pill beside it is the visible control. It has
   to be pinned to a size of its own: .field input above sets width:100%, and an
   absolutely positioned box inheriting that grew to the full width of the form,
   which pushed the second pill past the right edge and gave the whole page a
   sideways scrollbar. */
.picks input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.picks span {
  display: block;
  border: 1px solid var(--line-dk);
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.picks label:hover span {
  border-color: rgba(255, 255, 255, 0.5);
}

.picks input:checked + span {
  background: var(--paper-hi);
  border-color: var(--paper-hi);
  color: var(--ink);
}

.picks input:focus-visible + span {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dk);
}

.form-foot p {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--body-dk);
}

.hidden {
  position: absolute;
  left: -9999px;
}

/* ---------- footer ---------- */

.ft {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 2rem;
  border-top: 1px solid var(--line-dk);
}

.ft-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.ft-note {
  font-size: 0.8rem;
}

.ft-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.ft-nav a:hover {
  color: #fff;
}

/* ==========================================================================
   Inner pages — archive, films, prose, lightbox
   ========================================================================== */

.page {
  background: var(--paper);
}

.phead {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
}

.phead .dsp {
  margin-top: 1.5rem;
}

.phead .lede {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.5rem;
  max-width: 52ch;
}

.count {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1.5rem;
}

.sec-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.25rem;
}

.sec-tabs a {
  border: 1px solid var(--line-dk);
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.sec-tabs a:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--paper-hi);
}

.sec-tabs a[aria-current="page"] {
  background: var(--paper-hi);
  border-color: var(--paper-hi);
  color: var(--ink);
}

.sec-tabs a span {
  opacity: 0.55;
  margin-left: 0.4rem;
}

.grid {
  display: grid;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  grid-template-columns: 1fr;
  padding-block: var(--step);
}

@media (min-width: 40rem) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tile {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

/* <picture> is inline by default, which would collapse the frames it wraps */
.tile-frame,
.tile-frame picture,
.film-media picture {
  display: block;
  height: 100%;
}

/* A film section can carry its own label above the reel */
.films-mark {
  margin-top: var(--step);
}

.films-mark + .films {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.tile:hover img {
  transform: scale(1.04);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.tile:hover::after,
.tile:focus-visible::after {
  opacity: 1;
}

.tile-cap {
  font-family: var(--mono);
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 2;
  color: #fff;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.tile:hover .tile-cap,
.tile:focus-visible .tile-cap {
  font-family: var(--mono);
  opacity: 1;
  transform: none;
}

/* nothing hovers on a touch screen, so the caption and its scrim just stay put */
@media (hover: none) {
  .tile::after {
    opacity: 1;
  }

  .tile-cap {
    opacity: 1;
    transform: none;
  }
}

/* films */

.films {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  padding-block: var(--step);
}

.film {
  display: grid;
  gap: 1.25rem clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--line);
}

.films .film:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 48rem) {
  .film {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }
}

.film-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
}

.film-media img,
.film-media video,
.film-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.film-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.film-play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
  transition: opacity 0.4s var(--ease);
}

.film-play:hover::before {
  opacity: 0.6;
}

.film-play span {
  position: relative;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}

.film-play:hover span {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.14);
}

.film-play span::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.42rem 0 0.42rem 0.72rem;
  border-color: transparent transparent transparent var(--paper);
  margin-left: 0.18rem;
}

.film-no {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--mute);
  font-weight: 600;
}

.film h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-block: 0.55rem 0.7rem;
}

.film .txtlink {
  margin-top: 1.1rem;
  border-bottom-color: var(--line);
}

.film .txtlink:hover {
  opacity: 0.6;
}

/* prose + specs */

.prose {
  display: grid;
  gap: 1.25rem;
  max-width: 62ch;
  font-size: 0.95rem;
  color: var(--body);
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.specs {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.specs div {
  display: grid;
  gap: 0.2rem 2rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 40rem) {
  .specs div {
    grid-template-columns: 12rem 1fr;
    align-items: baseline;
  }
}

.specs dt {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}

.specs dd {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.cols {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  padding-block: var(--step);
}

@media (min-width: 56rem) {
  .cols {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.note {
  font-size: 0.8rem;
  color: var(--mute);
}

.mid {
  min-height: 60vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.5rem;
  padding-block: clamp(3.5rem, 10vw, 7rem);
}

/* lightbox */

.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  margin: 0;
  border: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  background: rgba(0, 0, 0, 0.96);
  display: none;
}

.lb[open] {
  display: grid;
  grid-template-rows: 1fr auto;
}

.lb::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.lb-stage {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  min-height: 0;
}

.lb-stage img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  object-fit: contain;
}

/* A photograph still on its way in is faded rather than absent, so the frame
   never snaps to empty between one image and the next. */
@media (prefers-reduced-motion: no-preference) {
  .lb-stage img {
    opacity: 1;
    transition: opacity 0.35s var(--ease);
  }

  .lb.is-load .lb-stage img {
    opacity: 0;
  }
}

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem) 1.75rem;
  color: var(--paper);
}

.lb-bar p {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
}

.lb-nav {
  display: flex;
  gap: 0.6rem;
}

.lb-nav button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: none;
  color: var(--paper);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.6rem 1.15rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.lb-nav button:hover {
  background: var(--paper-hi);
  border-color: var(--paper-hi);
  color: var(--ink);
}

/* ---------- reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }

  .rv.is-in {
    opacity: 1;
    transform: none;
  }

  .rv:nth-child(2) {
    transition-delay: 0.07s;
  }

  .rv:nth-child(3) {
    transition-delay: 0.14s;
  }
}
