/* ==========================================================================
   naturfilms — components
   ========================================================================== */

/* ---- Header ------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  padding-block: var(--sp-4);
  transition: background-color var(--t-mid) var(--ease-out),
              backdrop-filter var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              padding var(--t-mid) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: color-mix(in oklab, var(--c-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--c-line);
  padding-block: var(--sp-3);
}
.site-header { transition-property: background-color, backdrop-filter, border-color, padding; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

/* Logo: aperture mark + wordmark */
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex: none;
}
.logo:hover { color: var(--c-text); }

.logo-mark {
  width: 34px; height: 34px;
  flex: none;
  color: var(--c-accent);
  transition: transform var(--t-slow) var(--ease-spring);
}
.logo:hover .logo-mark { transform: rotate(72deg); }
.logo-mark .blade {
  transform-origin: 50% 50%;
  animation: aperture-open 1100ms var(--ease-out) both;
}

@keyframes aperture-open {
  from { transform: rotate(-58deg) scale(0.55); opacity: 0; }
  to   { transform: rotate(0deg) scale(1); opacity: 1; }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.24rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.logo-text b { font-weight: 400; }
.logo-text .dot { color: var(--c-accent); }
.logo-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-top: 3px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: clamp(0.6rem, 1.6vw, 1.6rem); }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.4rem);
}
.nav-link {
  position: relative;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: var(--sp-2) var(--sp-1);
  color: var(--c-text-soft);
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: var(--sp-1); right: var(--sp-1); bottom: 2px;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-mid) var(--ease-out);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--c-text); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* ---- Nav dropdown -------------------------------------------------------
   The three categories live under Work. The parent stays a real link to the
   full archive; the submenu is an addition to it, not a replacement.
   ------------------------------------------------------------------------ */

.nav-has-sub { position: relative; }
.nav-row { display: inline-flex; align-items: center; gap: 1px; }

.nav-sub-toggle {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  color: var(--c-text-mute);
  transition: transform var(--t-mid) var(--ease-out), color var(--t-fast);
}
.nav-sub-toggle svg { width: 13px; height: 13px; }
.nav-has-sub:hover .nav-sub-toggle,
.nav-has-sub.is-open .nav-sub-toggle { color: var(--c-text); transform: rotate(180deg); }

.nav-sub {
  position: absolute;
  top: calc(100% + 10px);
  left: calc(var(--sp-1) * -1);
  min-width: 15rem;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--c-bg) 94%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast) var(--ease-out),
              transform var(--t-mid) var(--ease-out),
              visibility var(--t-mid);
}
/* A hover bridge, so the pointer can cross the gap without the menu closing. */
.nav-has-sub::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 12px;
}
.nav-has-sub:hover .nav-sub,
.nav-has-sub:focus-within .nav-sub,
.nav-has-sub.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-sub .nav-link { display: block; padding: var(--sp-3); white-space: normal; }
.nav-sub .nav-link::after { left: var(--sp-3); right: var(--sp-3); bottom: 4px; }

.header-actions { display: flex; align-items: center; gap: var(--sp-2); }

.icon-btn {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line);
  color: var(--c-text-soft);
  transition: color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              background-color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-spring);
}
.icon-btn:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: var(--c-glow);
  transform: translateY(-2px);
}
.icon-btn svg { width: 17px; height: 17px; }

.nav-toggle { display: none; }

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-list {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-5);
    background: color-mix(in oklab, var(--c-bg) 96%, transparent);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-mid) var(--ease-out), visibility var(--t-mid);
  }
  .nav-list.is-open { opacity: 1; visibility: visible; }
  .nav-list .nav-link {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--c-text);
    opacity: 0;
    transform: translateY(14px);
  }
  .nav-list.is-open .nav-link {
    animation: nav-in 420ms var(--ease-out) forwards;
    animation-delay: calc(var(--i, 0) * 55ms + 90ms);
  }
  @keyframes nav-in { to { opacity: 1; transform: none; } }

  /* On a phone there's room to just show the categories inline — a dropdown
     inside a full-screen menu is a tap for nothing. */
  .nav-has-sub { display: contents; }
  .nav-row { display: contents; }
  .nav-sub-toggle { display: none; }
  .nav-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 0;
    margin-top: var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
  }
  .nav-sub .nav-link {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
    padding: 0;
  }
}

/* ---- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.82em 1.6em;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease-spring),
              box-shadow var(--t-mid) var(--ease-out),
              color var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-accent);
  color: #14100a;
  box-shadow: 0 6px 22px -8px var(--c-accent);
}
.btn--primary:hover {
  color: #14100a;
  box-shadow: 0 12px 34px -10px var(--c-accent);
}
/* wipe shine */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform var(--t-slow) var(--ease-out);
}
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  border-color: var(--c-line-str);
  color: var(--c-text);
}
.btn--ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-glow);
}

.btn--lg { padding: 1em 2em; font-size: var(--fs-base); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }

/* ---- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

/* Photo backdrop. The frame is held still on purpose — a slow push on a
   photograph is a video trick, and it fought the weather moving over the top
   of it. Only the cross-fade between frames is animated. */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2200ms var(--ease-in-out);
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 20% 100%, color-mix(in oklab, var(--c-bg) 92%, transparent) 0%, transparent 62%),
    linear-gradient(to top, var(--c-bg) 2%, color-mix(in oklab, var(--c-bg) 55%, transparent) 32%, transparent 68%),
    linear-gradient(to bottom, color-mix(in oklab, var(--c-bg-sink) 70%, transparent) 0%, transparent 34%);
}

/* Time-of-day wash — very subtle, decorative */
.hero-tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(160deg,
    color-mix(in oklab, var(--tint-a, transparent) 16%, transparent) 0%,
    transparent 45%,
    color-mix(in oklab, var(--tint-b, transparent) 20%, transparent) 100%);
  mix-blend-mode: soft-light;
  transition: background var(--t-glacial) var(--ease-out);
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  padding-bottom: clamp(4.5rem, 11vh, 8rem);
  padding-top: clamp(7rem, 16vh, 10rem);
}
.hero-content .kicker { max-width: 30ch; }

/* Title only. With nothing below it, the headline sits on the lower third of
   the frame instead of floating in the middle of the photograph. */
.hero-content--bare {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 78svh;
  padding-bottom: clamp(6rem, 15vh, 10rem);
}
.hero-content--bare .hero-headline { margin-top: 0; }
.hero-headline {
  /* Deliberately smaller than --fs-3xl: the photograph behind it is the
     headline. This just has to be confident, not enormous. */
  font-size: clamp(2.4rem, 1.15rem + 4.3vw, 5.2rem);
  margin-top: var(--sp-5);
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.hero-headline .line {
  display: block;
  overflow: hidden;
  /* The clip mask drives the rise-in; pad so descenders aren't shaved. */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.hero-headline .line > span {
  display: block;
  animation: line-rise 1000ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 130ms + 260ms);
}
@keyframes line-rise {
  from { transform: translateY(105%) rotate(2.5deg); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.hero-sub {
  margin-top: var(--sp-5);
  max-width: 44ch;
  color: var(--c-text-soft);
  font-size: var(--fs-md);
  line-height: 1.5;
}
.hero-actions { margin-top: var(--sp-6); }

/* Hero meta rail — bottom right credit for current slide */
.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(5rem, 12vh, 9rem);
  z-index: var(--z-content);
  text-align: right;
  max-width: 20ch;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--c-text-mute);
  transition: opacity var(--t-slow) var(--ease-out);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  letter-spacing: 0;
  color: var(--c-text-soft);
  font-weight: 400;
  text-transform: none;
  margin-bottom: 3px;
}
@media (max-width: 860px) { .hero-meta { display: none; } }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: var(--sp-5);
  transform: translateX(-50%);
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-text-mute);
  text-decoration: none;
}
.scroll-hint-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, transparent, var(--c-accent));
  transform-origin: top;
  animation: scroll-pulse 2400ms var(--ease-in-out) infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.35); opacity: .35; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ---- Section heading ---------------------------------------------------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-bottom: var(--sp-7);
}
.section-head .title-block { max-width: 46ch; }
.section-head h2 { margin-top: var(--sp-4); }
.section-head p { margin-top: var(--sp-4); color: var(--c-text-soft); }

/* Homepage sections get a label, not a pitch. Small, quiet, out of the way of
   the photographs underneath. */
.section-head--bare { align-items: center; margin-bottom: var(--sp-5); }
.quiet-h {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-text-mute);
}

/* ---- Photo card --------------------------------------------------------- */

.photo-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;   /* it's a <button>; don't inherit centred button text */
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-surface);
  cursor: zoom-in;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: box-shadow var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.photo-card:hover { box-shadow: var(--shadow-lg); }

.photo-card-frame {
  position: relative;
  display: block;      /* it's a <span>; aspect-ratio needs a block box */
  width: 100%;
  aspect-ratio: var(--ar, 3 / 2);
  overflow: hidden;
  background-color: var(--lqip-color, var(--c-surface-2));
  background-size: cover;
  background-position: center;
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity var(--t-slow) var(--ease-out),
              transform 1200ms var(--ease-out);
}
.photo-card img.is-loaded { opacity: 1; transform: scale(1); }
.photo-card:hover img.is-loaded { transform: scale(1.045); }

/* gradient caption veil */
.photo-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(6,9,8,.86) 0%,
    rgba(6,9,8,.42) 26%,
    transparent 56%);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}
.photo-card:hover .photo-card-veil,
.photo-card:focus-visible .photo-card-veil { opacity: 1; }

.photo-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-5);
  color: #f4f6f3;
  transform: translateY(10px);
  opacity: 0;
  transition: transform var(--t-mid) var(--ease-out), opacity var(--t-mid) var(--ease-out);
}
.photo-card:hover .photo-card-body,
.photo-card:focus-visible .photo-card-body { transform: none; opacity: 1; }

.photo-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.15;
}
.photo-card-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,246,243,.66);
  margin-top: 6px;
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* A single hairline that draws itself across the foot of the frame on hover —
   the only chrome a photograph gets. */
.photo-card-body::after {
  content: "";
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-4);
  width: 34px;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out) 80ms;
}
.photo-card:hover .photo-card-body::after { transform: scaleX(1); }

/* Which of the three categories this frame belongs to. Rides in on hover with
   the caption, so a resting grid is still nothing but photographs. */
.photo-card-tag {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  padding: .3em .65em;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-c, var(--c-accent));
  background: rgba(6, 9, 8, .5);
  border: 1px solid currentColor;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-8px);
  transition: transform var(--t-mid) var(--ease-out), opacity var(--t-mid) var(--ease-out);
}
.photo-card:hover .photo-card-tag,
.photo-card:focus-visible .photo-card-tag { opacity: 1; transform: none; }

/* ---- Masonry gallery ---------------------------------------------------- */

/* Columns are real flex children built by gallery.js, not CSS multicolumn —
   see the note on renderGrid() for why. */
.gallery-grid {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.6rem, 1.4vw, 1.4rem);
}
.gallery-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.4vw, 1.4rem);
}

.gallery-item {
  /* reveal state, driven by IntersectionObserver */
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.gallery-item.is-in { opacity: 1; transform: none; }
.gallery-item.is-filtered-out { display: none; }

/* Editorial feature grid (homepage) — a fixed-row mosaic.
   Row height is capped so a 4-column-wide frame can't grow to 1000px; inside
   the mosaic the images crop to fill rather than dictating their own height.
   Cycle of 7: [4x3][2x3] / [2x2][2x2][2x2] / [3x2][3x2] */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(110px, 11vw, 170px);
  grid-auto-flow: row dense;
  gap: clamp(0.6rem, 1.4vw, 1.4rem);
}
.feature-grid > * { grid-column: span 2; grid-row: span 2; }
.feature-grid > *:nth-child(7n + 1) { grid-column: span 4; grid-row: span 3; }
.feature-grid > *:nth-child(7n + 2) { grid-column: span 2; grid-row: span 3; }
.feature-grid > *:nth-child(7n + 6) { grid-column: span 3; }
.feature-grid > *:nth-child(7n + 7) { grid-column: span 3; }

/* Inside the mosaic the cell decides the height, not the photo. */
.feature-grid .photo-card { height: 100%; }
.feature-grid .photo-card-frame { aspect-ratio: auto; height: 100%; }

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(120px, 26vw, 190px);
  }
  .feature-grid > *,
  .feature-grid > *:nth-child(7n + 1),
  .feature-grid > *:nth-child(7n + 2),
  .feature-grid > *:nth-child(7n + 6),
  .feature-grid > *:nth-child(7n + 7) { grid-column: span 1; grid-row: span 2; }
  .feature-grid > *:nth-child(7n + 1) { grid-column: span 2; grid-row: span 2; }
}

/* ---- Filter bar --------------------------------------------------------- */

.filter-bar {
  position: sticky;
  top: 76px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  margin-bottom: var(--sp-6);
  border-radius: var(--r-pill);
  /* Mostly-opaque + a modest blur. A heavier blur here is a real cost: the
     bar is sticky over a scrolling grid, so its backdrop re-reads constantly. */
  background: color-mix(in oklab, var(--c-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--c-line);
}

.chip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* The subcategory row is deliberately a step down from the categories: smaller,
   quieter, and outlined rather than filled when live, so the bar still reads as
   one primary choice with a refinement under it. */
.chip-row--sub {
  gap: var(--sp-2);
  padding-top: var(--sp-1);
  border-top: 1px solid var(--c-line);
  width: 100%;
}
.chip-row--sub[hidden] { display: none; }

.chip {
  padding: 0.44em 1.05em;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              background-color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-spring);
}
.chip:hover { color: var(--c-text); border-color: var(--c-line-str); transform: translateY(-1px); }
.chip[aria-pressed="true"] {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #14100a;
  font-weight: 500;
}

.chip--sub {
  padding: 0.3em 0.85em;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  border-color: transparent;
  color: var(--c-text-mute);
}
.chip--sub[aria-pressed="true"] {
  background: transparent;
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* ---- Series / collection cards ------------------------------------------ */

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.5rem);
}

.series-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}
/* Darkened with a gradient rather than `filter:` — a CSS filter over a large
   background image is re-applied on every frame that anything else animates. */
.series-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--cover);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 1400ms var(--ease-out);
}
.series-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(6,9,8,.94) 6%, rgba(6,9,8,.46) 52%, rgba(6,9,8,.28) 82%),
    linear-gradient(rgba(6,9,8,.22), rgba(6,9,8,.22));
  transition: opacity var(--t-slow) var(--ease-out);
}
.series-card:hover::before { transform: scale(1.09); }
.series-card:hover::after { opacity: .82; }
.series-card:hover { color: inherit; }

.series-card h3 { color: #f4f6f3; font-size: var(--fs-lg); }
.series-card .series-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent-c, var(--c-accent));
  margin-bottom: var(--sp-3);
}
.series-card p { color: rgba(244,246,243,.72); margin-top: var(--sp-3); font-size: var(--fs-sm); }
.series-card .series-go {
  margin-top: var(--sp-5);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--accent-c, var(--c-accent));
}
.series-card .series-go svg { width: 15px; height: 15px; transition: transform var(--t-mid) var(--ease-spring); }
.series-card:hover .series-go svg { transform: translateX(5px); }

/* Three top-level categories carry the whole navigation, so they get the
   height of a real cover rather than the height of a link. */
.series-card--big { min-height: clamp(420px, 46vw, 560px); }
.series-card--big h3 { font-size: var(--fs-xl, var(--fs-lg)); }
.series-card--big p { max-width: 44ch; }

.series-count {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  z-index: 1;
  padding: .3em .7em;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  color: rgba(244, 246, 243, .82);
  background: rgba(6, 9, 8, .42);
  border: 1px solid rgba(244, 246, 243, .16);
  backdrop-filter: blur(6px);
}

/* ---- Lightbox ----------------------------------------------------------- */

/* The lightbox lives in the DOM permanently so opening is instant.
   Critically, `backdrop-filter` is applied ONLY while it's open: a hidden
   full-viewport backdrop-filter still makes Chrome maintain and update a
   whole-page backdrop layer every frame, which tanked the gallery to ~3 FPS.
   `content-visibility: hidden` keeps its subtree out of rendering entirely. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: grid;
  /* One row. The top bar and the info panel both float over it, so a closed
     panel costs the photograph nothing. */
  grid-template-rows: 1fr;
  background: color-mix(in oklab, var(--c-bg-sink) 96%, transparent);
  opacity: 0;
  visibility: hidden;
  content-visibility: hidden;
  transition: opacity var(--t-mid) var(--ease-out), visibility var(--t-mid);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  content-visibility: visible;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

/* The chrome floats over the stage rather than taking a grid row from it, so
   the photograph gets the full height of the viewport. */
.lb-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--gutter);
  color: var(--c-text-soft);
  background: linear-gradient(to bottom, rgba(6,9,8,.55), transparent);
  pointer-events: none;
}
.lb-top .icon-btn, .lb-top a { pointer-events: auto; }

.lb-head { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* Which category the frame belongs to — no counters, no position indicator. */
.lb-where {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-text-mute);
}
.lb-tools { display: flex; gap: var(--sp-2); }

.lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  /* Top padding clears the floating title bar. The bottom grows when the info
     panel opens, so the photograph re-centres in what's left instead of
     sitting behind it. */
  padding: 4rem clamp(0.5rem, 5vw, 5rem) 1.5rem;
  min-height: 0;
  transition: padding var(--t-slow) var(--ease-out);
}
.lightbox.is-info .lb-stage { padding-bottom: 20rem; }

.lb-figure {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: grid;
  place-items: center;
}
.lb-img {
  max-width: 100%;
  /* Only the floating top bar is subtracted. Opening the info panel gives back
     the space it needs — see .lightbox.is-info below. */
  max-height: calc(100svh - 5.5rem);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  opacity: 0;
  transform: scale(.96);
  transition: opacity var(--t-mid) var(--ease-out),
              transform var(--t-slow) var(--ease-out),
              max-height var(--t-slow) var(--ease-out);
  cursor: zoom-in;
}
.lightbox.is-info .lb-img { max-height: calc(100svh - 24rem); }
.lb-img.is-ready { opacity: 1; transform: none; }
.lb-img.is-zoomed { cursor: zoom-out; max-height: none; max-width: none; }
.lightbox.is-zoomed .lb-stage { overflow: auto; place-items: start center; }

.lb-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--c-surface) 70%, transparent);
  border: 1px solid var(--c-line);
  color: var(--c-text);
  backdrop-filter: blur(10px);
  transition: transform var(--t-mid) var(--ease-spring),
              background-color var(--t-fast) var(--ease-out),
              opacity var(--t-fast);
}
.lb-nav:hover { background: var(--c-accent); color: #14100a; border-color: var(--c-accent); }
.lb-nav--prev { left: clamp(.4rem, 1.6vw, 1.6rem); }
.lb-nav--next { right: clamp(.4rem, 1.6vw, 1.6rem); }
.lb-nav--prev:hover { transform: translateX(-4px); }
.lb-nav--next:hover { transform: translateX(4px); }
.lb-nav svg { width: 20px; height: 20px; }
.lb-nav[disabled] { opacity: .25; pointer-events: none; }

/* Caption, shot data and filmstrip. Closed by default — the ⓘ button (or `i`)
   slides it up from the foot of the screen. */
.lb-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  background: color-mix(in oklab, var(--c-bg-sink) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--c-line);
  transform: translateY(101%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t-slow) var(--ease-out),
              opacity var(--t-mid) var(--ease-out),
              visibility var(--t-slow);
}
.lightbox.is-info .lb-panel {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.lb-bottom {
  padding: var(--sp-5) var(--gutter) var(--sp-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-6);
  align-items: end;
}
@media (max-width: 860px) {
  .lb-bottom { grid-template-columns: 1fr; gap: var(--sp-4); }
}

.lb-title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--c-text);
  text-shadow: 0 1px 14px rgba(0,0,0,.7);
}
.lb-species { font-style: italic; color: var(--c-text-mute); font-size: var(--fs-sm); }
.lb-caption { color: var(--c-text-soft); max-width: 62ch; margin-top: var(--sp-3); font-size: var(--fs-sm); }
.lb-links { display: flex; gap: var(--sp-4); margin-top: var(--sp-4); flex-wrap: wrap; }

/* EXIF shot-data readout */
.lb-exif {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--c-text-mute);
}
.lb-exif div { display: flex; flex-direction: column; gap: 3px; }
.lb-exif dt { font-size: 0.58rem; text-transform: uppercase; opacity: .62; }
.lb-exif dd { color: var(--c-text); font-size: var(--fs-sm); }

/* Filmstrip */
.lb-strip {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding: var(--sp-3) var(--gutter);
  scrollbar-width: thin;
  border-top: 1px solid var(--c-line);
}
.lb-strip::-webkit-scrollbar { height: 5px; }
.lb-thumb {
  flex: none;
  width: 74px; height: 50px;
  border-radius: var(--r-sm);
  overflow: hidden;
  opacity: .38;
  filter: grayscale(.5);
  transition: opacity var(--t-fast), filter var(--t-fast), transform var(--t-fast) var(--ease-spring);
  border: 1px solid transparent;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover { opacity: .8; transform: translateY(-2px); }
.lb-thumb.is-current { opacity: 1; filter: none; border-color: var(--c-accent); }
@media (max-width: 620px) { .lb-strip { display: none; } }

/* On a short screen the panel would leave a stamp-sized photo, so cap it and
   let the caption scroll inside itself instead. */
@media (max-height: 680px) {
  .lightbox.is-info .lb-stage { padding-bottom: 15rem; }
  .lightbox.is-info .lb-img { max-height: calc(100svh - 18rem); }
  .lb-panel { max-height: 52svh; overflow-y: auto; }
  .lb-strip { display: none; }
}

/* ---- Prints ------------------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.5rem);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  transition: border-color var(--t-mid) var(--ease-out),
              transform var(--t-mid) var(--ease-out);
}
.price-card:hover { border-color: var(--c-accent); transform: translateY(-3px); }
.price-card--pick { border-color: color-mix(in oklab, var(--c-accent) 55%, var(--c-line)); }

.price-flag {
  position: absolute;
  top: 0; right: var(--sp-6);
  translate: 0 -50%;
  padding: .3em .7em;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-bg-sink);
  background: var(--c-accent);
}

.price-size { font-family: var(--font-display); font-size: var(--fs-lg); }
.price-note { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-text-mute); }
.price-figure {
  margin-top: var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xl);
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.price-edition {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-accent);
}
.price-text {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  /* Pushes the button to the foot so every card's CTA lines up. */
  flex: 1;
}
.price-card .btn { margin-top: var(--sp-5); justify-content: center; }

.price-footnote { margin-top: var(--sp-5); font-size: var(--fs-sm); max-width: 70ch; }

/* Numbered steps */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.5rem);
  list-style: none;
  counter-reset: step;
}
.step-card {
  padding: var(--sp-6);
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}
.step-n {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}
.step-card h3 { font-size: var(--fs-md); }
.step-card p { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-text-soft); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 80ch; }
.faq-item {
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  font-size: var(--fs-md);
  list-style: none;
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-accent); }
.faq-item p {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  max-width: 68ch;
}
/* A plus that becomes a minus — cheaper than an icon and it can't fall out of
   sync with the open state. */
.faq-mark {
  position: relative;
  flex: none;
  width: 14px; height: 14px;
  color: var(--c-accent);
}
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--t-mid) var(--ease-out);
}
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }

/* ---- Instagram strip ---------------------------------------------------- */

.ig-band {
  position: relative;
  background: var(--c-bg-raise);
  border-block: 1px solid var(--c-line);
  overflow: hidden;
}

.ig-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.5em 1.1em;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line);
  transition: all var(--t-fast) var(--ease-out);
}
.ig-handle:hover {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(115deg, #f9ce34 0%, #ee2a7b 48%, #6228d7 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -10px #ee2a7b;
}
.ig-handle svg { width: 17px; height: 17px; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(190px, 45%), 1fr));
  gap: clamp(0.5rem, 1vw, 0.9rem);
}

.ig-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
  background: var(--c-surface-2);
  isolation: isolate;
}
.ig-post img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-slow) var(--ease-out);
}
.ig-post:hover img { transform: scale(1.07); filter: brightness(.6); }

.ig-post-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: var(--sp-2);
  justify-items: center;
  color: #fff;
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
  text-align: center;
  padding: var(--sp-4);
}
.ig-post:hover .ig-post-overlay { opacity: 1; }
.ig-post-overlay svg { width: 22px; height: 22px; }
.ig-post-caption {
  font-size: var(--fs-xs);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.ig-empty {
  grid-column: 1 / -1;
  padding: var(--sp-7);
  text-align: center;
  border: 1px dashed var(--c-line-str);
  border-radius: var(--r-lg);
  color: var(--c-text-mute);
  font-size: var(--fs-sm);
}

/* ---- About / stats / gear ----------------------------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .about-layout { grid-template-columns: 1fr; } }

.portrait-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-surface-2);
  box-shadow: var(--shadow-md);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--c-line-str);
  border-radius: inherit;
  pointer-events: none;
}

.gear-list { display: grid; gap: var(--sp-5); }
.gear-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--sp-5);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--c-line);
}
@media (max-width: 620px) { .gear-row { grid-template-columns: 1fr; gap: var(--sp-2); } }
.gear-row dt {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  padding-top: 4px;
}
.gear-row dd ul { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); }
.gear-row dd li { color: var(--c-text-soft); font-size: var(--fs-sm); }

/* ---- Services ----------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.card {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--c-line-str);
  box-shadow: var(--shadow-md);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-second));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: var(--fs-md); }
.card p { margin-top: var(--sp-3); color: var(--c-text-soft); font-size: var(--fs-sm); }

/* Field notes — set as quotations rather than numbered cards. */
.note-card {
  position: relative;
  padding: var(--sp-6) var(--sp-6) var(--sp-6) var(--sp-7);
  border-left: 1px solid var(--c-line-str);
  background: linear-gradient(100deg,
    color-mix(in oklab, var(--c-surface) 60%, transparent), transparent 70%);
}
.note-card::before {
  content: "\201C";
  position: absolute;
  left: var(--sp-3);
  top: calc(var(--sp-5) * -0.1);
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--c-accent);
  opacity: .32;
}
.note-card p {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.45;
  color: var(--c-text);
  text-wrap: pretty;
}

/* ---- CTA band ----------------------------------------------------------- */

.cta-band {
  text-align: center;
  padding-block: var(--sp-10);
  position: relative;
  overflow: hidden;
}
.cta-band h1,
.cta-band h2 { font-size: var(--fs-2xl); }
.cta-band .lede { margin: var(--sp-5) auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: var(--sp-7); }

/* ---- Footer ------------------------------------------------------------- */

.site-footer {
  position: relative;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-sink);
  padding-top: var(--sp-8);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-8);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: var(--sp-4);
}
.footer-col li + li { margin-top: var(--sp-3); }
.footer-col a { font-size: var(--fs-sm); text-decoration: none; color: var(--c-text-soft); }
.footer-col a:hover { color: var(--c-accent); }

/* Categories sit indented under their parent, same as in the header. */
.footer-sub {
  margin-top: var(--sp-3);
  padding-left: var(--sp-4);
  border-left: 1px solid var(--c-line);
}
.footer-sub a { color: var(--c-text-mute); }

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-block: var(--sp-4);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-xs);
  color: var(--c-text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* Field-notes ticker */
.ticker {
  position: relative;
  overflow: hidden;
  contain: content;
  border-block: 1px solid var(--c-line);
  padding-block: var(--sp-3);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  position: relative;   /* over .ticker-fog */
  z-index: 1;
  display: flex;
  gap: var(--sp-7);
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--c-text-mute);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--sp-7);
}
.ticker-item::after {
  content: "✦";
  color: var(--c-accent);
  opacity: .5;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- Misc --------------------------------------------------------------- */

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line-str) 20%, var(--c-line-str) 80%, transparent);
  border: 0;
}

.empty-state {
  padding: var(--sp-9) var(--sp-6);
  text-align: center;
  border: 1px dashed var(--c-line-str);
  border-radius: var(--r-lg);
  color: var(--c-text-mute);
}
.empty-state h3 { color: var(--c-text-soft); margin-bottom: var(--sp-3); }
.empty-state code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--c-surface-2);
  padding: 0.15em 0.45em;
  border-radius: var(--r-sm);
  color: var(--c-accent);
}

/* Page header for interior pages */
.page-head {
  padding-top: clamp(8rem, 18vh, 12rem);
  padding-bottom: var(--sp-7);
}
.page-head h1 { margin-top: var(--sp-4); }
.page-head .lede { margin-top: var(--sp-5); }
