/* === Jairo Gallo — Photography Portfolio
   Concept: "The Photography Book"
   Spectral 300 italic (display) · Raleway 300–500 (text)
   True white · Moss green · Lime accent
   Silvestre · Cálido · Contemplativo
================================================================ */

/* ── HERO ─────────────────────────────────────────────────────
   Full-bleed photograph. Name overlaid bottom-left on a scrim,
   nav floats transparent above. The image owns the room.
──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 580px;
  overflow: hidden;
  background: var(--moss-deep);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img,
.hero-photo .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Slow settle-in zoom on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img {
    transform-origin: 60% 50%;
    animation: heroZoom 7.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  }
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* Scrims: subtle at top for nav legibility, deep at bottom for name */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 180px;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(8,10,7,0.42), transparent);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(8,10,7,0.78) 0%,
    rgba(8,10,7,0.32) 38%,
    transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 0 clamp(24px, 5vw, 72px) clamp(40px, 5.5vw, 76px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 18px;
}
.hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--lime);
}

.hero-name {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(56px, 9.5vw, 104px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 26px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero-name .line-one { display: block; }
.hero-name .line-two {
  display: block;
  color: var(--lime);
  padding-left: 0.3em;
  margin-top: 0.02em;
}

.hero-tag {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  margin: 0 0 36px;
  max-width: 38ch;
  letter-spacing: 0.01em;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-location {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── MARQUEE ─────────────────────────────────────────────────── */
.marquee-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 11px 0;
  overflow: hidden;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 44s linear infinite;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
}
.marquee-track .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ── FEATURED WORK ───────────────────────────────────────────── */
.work-section {
  padding: clamp(56px, 7vw, 96px) 0 0;
}
.work-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 40px clamp(24px, 3vw, 40px);
}
.work-header h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.work-header h2 em { color: var(--moss); font-style: italic; }
.work-header .count {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-soft);
}

/* Asymmetric grid — edge to edge */
/* Adaptive editorial grid — exactly N cells for N photos, never empty.
   6-column base, hand-tuned composition per count (1–6). */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(48px, 6vw, 86px);
  gap: 4px;
}
.featured-grid .gi {
  position: relative;
  overflow: hidden;
  background: var(--paper-tint);
  cursor: pointer;
}
.featured-grid .gi > * ,
.featured-grid .gi img,
.featured-grid .gi .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease-out);
}
.featured-grid .gi:hover img,
.featured-grid .gi:hover .photo { transform: scale(1.045); }
/* gentle hover veil + lime corner tick */
.featured-grid .gi::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,40,28,0);
  transition: background 0.4s var(--ease-out);
  pointer-events: none;
}
.featured-grid .gi:hover::after { background: rgba(20,40,28,0.12); }

/* 1 photo */
.fg-1 .gi-0 { grid-column: 1 / -1; grid-row: 1 / span 7; }
/* 2 photos */
.fg-2 .gi-0 { grid-column: 1 / 4; grid-row: 1 / span 8; }
.fg-2 .gi-1 { grid-column: 4 / 7; grid-row: 1 / span 8; }
/* 3 photos — tall left, two stacked right */
.fg-3 .gi-0 { grid-column: 1 / 4; grid-row: 1 / span 8; }
.fg-3 .gi-1 { grid-column: 4 / 7; grid-row: 1 / span 4; }
.fg-3 .gi-2 { grid-column: 4 / 7; grid-row: 5 / span 4; }
/* 4 photos — 2×2 */
.fg-4 .gi-0 { grid-column: 1 / 4; grid-row: 1 / span 5; }
.fg-4 .gi-1 { grid-column: 4 / 7; grid-row: 1 / span 5; }
.fg-4 .gi-2 { grid-column: 1 / 4; grid-row: 6 / span 5; }
.fg-4 .gi-3 { grid-column: 4 / 7; grid-row: 6 / span 5; }
/* 5 photos — two wide on top, three below */
.fg-5 .gi-0 { grid-column: 1 / 4; grid-row: 1 / span 5; }
.fg-5 .gi-1 { grid-column: 4 / 7; grid-row: 1 / span 5; }
.fg-5 .gi-2 { grid-column: 1 / 3; grid-row: 6 / span 4; }
.fg-5 .gi-3 { grid-column: 3 / 5; grid-row: 6 / span 4; }
.fg-5 .gi-4 { grid-column: 5 / 7; grid-row: 6 / span 4; }
/* 6 photos — full asymmetric */
.fg-6 .gi-0 { grid-column: 1 / 4; grid-row: 1 / span 6; }
.fg-6 .gi-1 { grid-column: 4 / 7; grid-row: 1 / span 3; }
.fg-6 .gi-2 { grid-column: 4 / 6; grid-row: 4 / span 3; }
.fg-6 .gi-3 { grid-column: 6 / 7; grid-row: 4 / span 3; }
.fg-6 .gi-4 { grid-column: 1 / 3; grid-row: 7 / span 4; }
.fg-6 .gi-5 { grid-column: 3 / 7; grid-row: 7 / span 4; }

/* Tablet & mobile — balanced masonry, no empty cells at any count */
@media (max-width: 860px) {
  .featured-grid {
    display: block;
    columns: 2;
    column-gap: 4px;
    grid-auto-rows: initial;
  }
  .featured-grid .gi {
    break-inside: avoid;
    margin-bottom: 4px;
    height: auto;
  }
  .featured-grid .gi > *,
  .featured-grid .gi img,
  .featured-grid .gi .photo {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 520px) {
  .featured-grid { columns: 1; }
  .featured-grid .gi > *,
  .featured-grid .gi img,
  .featured-grid .gi .photo { aspect-ratio: 3 / 2; }
}

/* ── COLLECTIONS ─────────────────────────────────────────────── */
.collections-section {
  padding: clamp(72px, 9vw, 128px) 0 clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--rule);
}
.collections-intro {
  padding: 0 40px clamp(48px, 6vw, 80px);
}
.collections-intro h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.collections-intro h2 em { color: var(--moss); }

/* Cover grid — each collection a strong visual object.
   When count is odd, the first spans full width (rhythm, no gaps). */
.collections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 0 40px;
}
.coll-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  cursor: pointer;
  background: var(--moss-deep);
}
.coll-card.featured {
  grid-column: 1 / -1;
  aspect-ratio: 5 / 2;
}
.coll-card-photo { position: absolute; inset: 0; }
.coll-card-photo img,
.coll-card-photo .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.coll-card:hover .coll-card-photo img,
.coll-card:hover .coll-card-photo .photo { transform: scale(1.04); }
.coll-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8,10,7,0.82) 0%,
    rgba(8,10,7,0.18) 46%,
    rgba(8,10,7,0.04) 100%);
  pointer-events: none;
  transition: background 0.4s var(--ease-out);
}
.coll-card:hover::after {
  background: linear-gradient(to top,
    rgba(8,10,7,0.86) 0%,
    rgba(8,10,7,0.28) 50%,
    rgba(8,10,7,0.1) 100%);
}
.coll-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
}
.coll-card-meta {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
}
.coll-card-name {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  text-wrap: balance;
}
.coll-card.featured .coll-card-name { font-size: clamp(38px, 5vw, 76px); }
.coll-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    gap 0.2s var(--ease-out);
}
.coll-card-cta .arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
}
.coll-card:hover .coll-card-cta { opacity: 1; transform: translateY(0); gap: 14px; }
@media (hover: none) {
  .coll-card-cta { opacity: 1; transform: none; }
}

/* ── BIO ──────────────────────────────────────────────────────── */
.bio-section {
  border-top: 1px solid var(--rule);
  padding: clamp(72px, 9vw, 128px) 40px;
}
.bio-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 40px;
  display: block;
}
.bio-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.bio-portrait-wrap {}
.bio-portrait-wrap .photo,
.bio-portrait-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.bio-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.bio-stat {
  padding-right: 12px;
}
.bio-stat-n {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  color: var(--moss);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.bio-stat-l {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-soft);
}

.bio-copy {
  max-width: 60ch;
}
.bio-copy p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 22px;
}
.bio-copy p:first-child::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--moss);
  font-size: 80px;
  line-height: 0.78;
  float: left;
  padding: 8px 16px 0 0;
  margin-top: 8px;
}
.bio-sign {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--moss);
  margin-top: 8px;
}

/* ── PULL QUOTE ──────────────────────────────────────────────── */
.pull-quote {
  background: var(--moss);
  color: var(--paper);
  padding: clamp(72px, 9vw, 128px) clamp(40px, 10vw, 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pull-quote .mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(64px, 10vw, 144px);
  line-height: 0.5;
  color: var(--lime);
  opacity: 0.55;
  margin-bottom: -8px;
}
.pull-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 26ch;
  text-wrap: balance;
}
.pull-quote .attr {
  margin-top: 32px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.45;
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-section {
  border-top: 1px solid var(--rule);
  padding: clamp(80px, 10vw, 144px) 40px;
}
.contact-heading {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(48px, 6.5vw, 88px);
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0 0 clamp(20px, 2.5vw, 32px);
  color: var(--ink);
  text-wrap: balance;
}
.contact-heading em { color: var(--moss); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-left { display: flex; flex-direction: column; }
.contact-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.contact-card {
  border: none;
  border-left: 2px solid var(--moss);
  padding: 0 0 0 28px;
  background: transparent;
}
.contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .lbl {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.contact-row .val {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
}
.contact-row a { transition: color 0.15s cubic-bezier(0.23, 1, 0.32, 1); }
.contact-row a:hover { color: var(--moss); }
.contact-btn-wrap { margin-top: 28px; }
.contact-btn-wrap .btn {
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  padding-top: 15px;
  padding-bottom: 15px;
}

/* ── COLLECTION OVERLAY ──────────────────────────────────────── */
.coll-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 6, 0.48);
  display: flex;
  align-items: stretch;
  animation: fadeIn 0.18s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.coll-overlay-panel {
  background: var(--paper);
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.26s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes slideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .coll-overlay, .coll-overlay-panel { animation: none; }
}

.coll-overlay-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.coll-back-btn {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 7px 16px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.coll-back-btn:hover  { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.coll-back-btn:active { transform: scale(0.97); }
.coll-overlay-meta {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}
.coll-overlay-meta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 32px);
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.coll-overlay-meta .n {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.coll-close-btn {
  background: transparent;
  border: 0;
  width: 36px; height: 36px;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: color 0.14s;
}
.coll-close-btn:hover { color: var(--ink); }

.coll-overlay-grid {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  gap: 3px;
  padding: 4px;
  align-content: start;
}
.coll-overlay-item {
  overflow: hidden;
  background: var(--paper-tint);
  cursor: zoom-in;
  position: relative;
}
.coll-overlay-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.coll-overlay-item:hover img { transform: scale(1.06); }
.coll-overlay-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,10,7,0);
  transition: background 0.3s var(--ease-out);
}
.coll-overlay-item:hover::after { background: rgba(8,10,7,0.14); }
.coll-empty {
  grid-column: 1 / -1;
  padding: 80px 40px;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ── LIGHTBOX — view a single photograph, full and uncropped ──── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(6, 7, 5, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.18s var(--ease-out);
}
.lb-figure {
  margin: 0;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-figure img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}
@media (prefers-reduced-motion: no-preference) {
  .lb-figure img { animation: lbIn 0.3s var(--ease-out); }
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
.lb-figure figcaption {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
}
.lb-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #fff;
}
.lb-count { font-weight: 500; letter-spacing: 0.1em; }
.lb-close {
  position: fixed;
  top: 18px; right: 22px;
  z-index: 2;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s var(--ease-out);
}
.lb-close:hover { color: #fff; }
.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 54px; height: 54px;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 20px;
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease-out);
}
.lb-nav:hover  { background: rgba(255,255,255,0.18); }
.lb-nav:active { transform: translateY(-50%) scale(0.93); }
.lb-nav.prev { left: 22px; }
.lb-nav.next { right: 22px; }
@media (prefers-reduced-motion: reduce) {
  .lightbox { animation: none; }
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.65s cubic-bezier(0.23, 1, 0.32, 1),
      transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.08s; }
  .reveal-delay-2 { transition-delay: 0.16s; }
  .reveal-delay-3 { transition-delay: 0.24s; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bio-layout { grid-template-columns: 240px 1fr; }
}

@media (max-width: 860px) {
  .bio-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .collections-grid { grid-template-columns: 1fr; }
  .coll-card,
  .coll-card.featured { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}

@media (max-width: 640px) {
  .topbar { padding: 0 20px; height: 56px; }
  .topbar nav { display: none; }
  .hero { height: 100dvh; }
  .hero-name { font-size: clamp(52px, 16vw, 76px); }
  .work-header,
  .collections-intro,
  .collections-grid,
  .bio-section,
  .contact-section { padding-left: 20px; padding-right: 20px; }
  .pull-quote { padding: 64px 20px; }
  .lb-nav { width: 44px; height: 44px; top: auto; bottom: 24px; transform: none; }
  .lb-nav:active { transform: scale(0.93); }
  .lb-nav.prev { left: auto; right: 76px; }
  .lb-nav.next { right: 22px; }
  .lb-figure img { max-height: 74vh; }
  .lb-close { top: 14px; right: 16px; }
  footer.site-foot {
    grid-template-columns: 1fr;
    padding: 48px 20px 32px;
    gap: 28px;
  }
  footer.site-foot .colophon { flex-direction: column; gap: 6px; }
  .contact-card { border-left: 2px solid var(--moss); padding: 0 0 0 20px; }
  .contact-row { grid-template-columns: 80px 1fr; }
  .coll-overlay-head { padding: 12px 16px; }
  .coll-overlay-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
