/* ═══════════════════════════════════════════════════════════
   MICHAEL HERB — VISUAL ARTS PORTFOLIO
   A magazine-grade photography portfolio by ClaudMade
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Custom properties ─────────────────────────────────── */
:root {
  --black:        #07070a;
  --dark:         #111115;
  --dark-mid:     #1a1a20;
  --paper:        #f3ede0;
  --cream:        #e8deca;
  --amber:        #c8913a;
  --amber-light:  #e0a848;
  --amber-pale:   rgba(200, 145, 58, 0.12);
  --white:        #ffffff;
  --muted:        rgba(243, 237, 224, 0.48);
  --muted-mid:    rgba(243, 237, 224, 0.72);
  --hairline:     rgba(243, 237, 224, 0.10);
  --hairline-mid: rgba(243, 237, 224, 0.18);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-io:    cubic-bezier(0.45, 0, 0.2, 1);
  --duration:   0.75s;

  --gutter:  clamp(20px, 5vw, 80px);
  --radius:  3px;
  --radius-lg: 10px;
  --cont-max: 1440px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--black);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
svg { display: block; }
::selection { background: var(--amber); color: var(--black); }

/* ─── Custom scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 999px; }

/* ─── Focus ring ─────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ─── Utility ────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container {
  width: min(var(--cont-max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ─── Reveal animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 22px;
  transition: background 0.4s var(--ease-io), padding 0.4s var(--ease-io),
              border-bottom-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(7, 7, 10, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding-block: 14px;
  border-bottom-color: var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  height: clamp(36px, 5vw, 56px);
  width: auto;
  transition: filter 0.3s, height 0.4s;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-mid);
  position: relative;
  padding-block: 4px;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: var(--amber);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  color: var(--amber);
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--amber); color: var(--black); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.3s var(--ease-io), opacity 0.3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 10, 0.97);
  backdrop-filter: blur(24px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile .nav-links {
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.nav-mobile .nav-links a {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 48px);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--paper);
  font-weight: 400;
}
.nav-mobile .nav-links a::after { display: none; }
.nav-mobile .nav-links a:hover { color: var(--amber); }
.nav-mobile .nav-cta {
  font-size: 13px;
  padding: 12px 32px;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease-io);
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.06);
  transition: transform 8s var(--ease-out);
}
.hero-slide.is-active img { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,7,10,0.18) 0%,
    rgba(7,7,10,0.08) 40%,
    rgba(7,7,10,0.55) 75%,
    rgba(7,7,10,0.88) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--gutter);
  padding-bottom: clamp(40px, 6vh, 80px);
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 24px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--amber);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(58px, 10vw, 140px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero-title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
}
.hero-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 300;
  color: var(--muted-mid);
  max-width: 44ch;
  line-height: 1.65;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius);
  transition: background 0.25s, transform 0.25s;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-mid);
  transition: color 0.25s;
}
.btn-ghost:hover { color: var(--paper); }

.hero-scroll-indicator {
  position: absolute;
  bottom: clamp(28px, 5vh, 56px);
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll-indicator span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

.hero-slide-counter {
  position: absolute;
  bottom: clamp(28px, 5vh, 56px);
  left: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-slide-counter button {
  width: 28px;
  height: 2px;
  background: rgba(243, 237, 224, 0.28);
  border-radius: 999px;
  transition: background 0.3s, width 0.3s;
  position: relative;
  overflow: hidden;
}
.hero-slide-counter button.is-active { background: var(--amber); width: 48px; }
.hero-slide-counter .dot-fill {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 0%;
  background: var(--amber-light);
  transition: width 5s linear;
}
.hero-slide-counter button.is-active .dot-fill { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   INTRO QUOTE
   ═══════════════════════════════════════════════════════════ */
.intro-quote {
  background: var(--dark);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.intro-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.15em;
  left: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(200px, 30vw, 420px);
  font-weight: 900;
  color: rgba(200, 145, 58, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.intro-quote .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
}
.intro-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--paper);
  position: relative;
  z-index: 1;
}
.intro-quote cite {
  display: flex;
  align-items: center;
  gap: 14px;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.intro-quote cite::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--amber);
}
.intro-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 20px;
}
.intro-stat {
  padding: 28px 24px;
  border-top: 1px solid var(--hairline);
}
.intro-stat .num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--amber-light);
  margin-bottom: 8px;
}
.intro-stat .label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════
   SECTION LABELS
   ═══════════════════════════════════════════════════════════ */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.section-label .num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.section-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
}
.section-desc {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted-mid);
  max-width: 52ch;
}

/* ═══════════════════════════════════════════════════════════
   PORTRAITS SECTION
   ═══════════════════════════════════════════════════════════ */
.portraits-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--black);
}
.portraits-header {
  padding: 0 var(--gutter) 56px;
}
.portraits-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.portrait-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.portrait-feature-image {
  position: relative;
  overflow: hidden;
}
.portrait-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 8s var(--ease-out);
}
.portrait-feature-image:hover img { transform: scale(1.04); }
.portrait-feature-text {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px);
  gap: 28px;
}
.portrait-feature-text .pullquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--paper);
  border-left: 2px solid var(--amber);
  padding-left: 24px;
}
.portrait-feature-text p {
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted-mid);
}

/* Horizontal portrait scroll strip */
.portrait-strip {
  padding: 56px 0 24px;
  overflow: hidden;
}
.portrait-strip-header {
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.strip-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.strip-scroll-hint {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 8px;
}
.strip-scroll-hint::after {
  content: '→';
  font-size: 14px;
}

.h-scroll-track {
  --card-h: clamp(320px, 38vw, 480px);
  display: flex;
  align-items: flex-start;
  height: var(--card-h);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 var(--gutter);
  margin-bottom: 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.h-scroll-track:active { cursor: grabbing; }
.h-scroll-track::-webkit-scrollbar { display: none; }

.h-scroll-card {
  flex: 0 0 auto;
  /* width is determined by the image's natural aspect ratio */
  width: auto;
  height: var(--card-h);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark-mid);
}
.h-scroll-card img {
  height: 100%;
  width: auto;           /* natural aspect ratio — no cropping */
  max-width: none;
  display: block;
  object-fit: unset;
  transition: transform 0.6s var(--ease-out);
}
.h-scroll-card:hover img { transform: scale(1.04); }

/* card-* classes are kept in HTML but sizing is now handled by the image itself */
.card-portrait, .card-landscape, .card-square, .card-tall { width: auto; }

.h-scroll-card .card-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 20px 20px;
  background: linear-gradient(to top, rgba(7,7,10,0.85), transparent);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-mid);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.h-scroll-card:hover .card-caption { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   EDITORIAL SECTION
   ═══════════════════════════════════════════════════════════ */
.editorial-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark);
  position: relative;
}
.editorial-section .container > .section-label,
.editorial-section .container > .section-headline,
.editorial-section .container > .section-desc {
  padding-bottom: 56px;
}
/* CSS columns masonry — natural aspect ratios, no cropping */
.editorial-grid {
  columns: 3;
  column-gap: 8px;
}
/* Each cell */
.eg-cell {
  break-inside: avoid;
  display: block;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--dark-mid);
}
.eg-cell img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.eg-cell:hover img { transform: scale(1.07); }

.eg-cell .cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,10,0.8) 0%, rgba(7,7,10,0) 50%);
  opacity: 0;
  transition: opacity 0.35s;
}
.eg-cell:hover .cell-overlay { opacity: 1; }
.eg-cell .cell-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s;
}
.eg-cell:hover .cell-info { opacity: 1; transform: translateY(0); }
.eg-cell .cell-info .cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}
.eg-cell .cell-info .title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

/* ec-* classes are no-ops in columns layout; order in HTML determines placement */
.ec-1, .ec-2, .ec-3, .ec-4, .ec-5,
.ec-6, .ec-7, .ec-8, .ec-9, .ec-10 { /* natural flow */ }

/* Pull-quote flows as a masonry card */
.eg-pullquote {
  break-inside: avoid;
  display: block;
  margin-bottom: 8px;
  background: var(--amber);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
  border-radius: var(--radius);
}
.eg-pullquote blockquote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 16px;
}
.eg-pullquote cite {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(7, 7, 10, 0.6);
}

/* ═══════════════════════════════════════════════════════════
   LANDSCAPE FEATURE
   ═══════════════════════════════════════════════════════════ */
.landscape-feature {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.landscape-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.landscape-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,7,10,0.85) 0%,
    rgba(7,7,10,0.5) 50%,
    rgba(7,7,10,0.1) 100%
  );
}
.landscape-text {
  position: relative;
  z-index: 1;
  padding: var(--gutter);
  max-width: 700px;
}
.landscape-text .section-label { margin-bottom: 28px; }
.landscape-text h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.landscape-text h2 em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
}
.landscape-text p {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted-mid);
  max-width: 46ch;
}

/* ═══════════════════════════════════════════════════════════
   SELECTED WORKS — BENTO GRID
   ═══════════════════════════════════════════════════════════ */
.selected-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--black);
}
.selected-section .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
/* CSS columns masonry — images render at their natural aspect ratios */
.bento-grid {
  columns: 3;
  column-gap: 10px;
}
.bento-cell {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark-mid);
  cursor: pointer;
}
.bento-cell img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.bento-cell:hover img { transform: scale(1.05); }
.bento-cell .bento-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(7,7,10,0.82) 0%, rgba(7,7,10,0.3) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s;
}
.bento-cell:hover .bento-hover { opacity: 1; }
.bento-hover-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.bento-hover-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-top: 4px;
}

/* bc-* modifiers are no-ops in columns layout; kept so HTML is unchanged
.bc-wide, .bc-tall, .bc-big, .bc-hero { /* intent preserved by column order */ 

/* ═══════════════════════════════════════════════════════════
   ANIMALS / PETS
   ═══════════════════════════════════════════════════════════ */
.animals-section {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--dark);
}
.animals-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 60vh;
}
.animals-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.animals-images .animal-img {
  overflow: hidden;
}
.animals-images .animal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.animals-images .animal-img:hover img { transform: scale(1.06); }
.animals-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px);
  gap: 24px;
}
.animals-text p {
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted-mid);
}

/* ═══════════════════════════════════════════════════════════
   PUBLICATION FEATURE
   ═══════════════════════════════════════════════════════════ */
.publication-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--black);
  overflow: hidden;
}
.publication-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.publication-mag {
  position: relative;
}
.publication-mag img {
  width: 100%;
  /* height: 500px; */
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--hairline);
}
.pub-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 90px;
  height: 90px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.3;
  box-shadow: 0 8px 32px rgba(200, 145, 58, 0.4);
}
.publication-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.publication-text .pullquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--paper);
  position: relative;
  padding-left: 28px;
}
.publication-text .pullquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--amber), transparent);
}
.publication-text p {
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted-mid);
}

/* ═══════════════════════════════════════════════════════════
   MOTION / VIDEO SECTION
   ═══════════════════════════════════════════════════════════ */
.motion-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark);
}
.motion-section .container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.video-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  background: var(--dark-mid);
  cursor: pointer;
}
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s;
}
.video-card:hover img { transform: scale(1.06); filter: brightness(0.6); }
.video-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 10, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s;
}
.video-card:hover .video-card-overlay { background: rgba(7, 7, 10, 0.12); }
.play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.3s, transform 0.3s;
}
.video-card:hover .play-btn {
  background: var(--amber);
  transform: scale(1.1);
}
.play-btn svg { width: 18px; height: 18px; fill: white; margin-left: 3px; }
.video-card .video-title {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--paper);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.video-card:hover .video-title { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   ABOUT / IDENTITY SPLIT
   ═══════════════════════════════════════════════════════════ */
.about-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--black);
}
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.about-text h2 span {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--amber-light);
}
.about-text .body-text {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted-mid);
}
.about-text .tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  color: var(--cream);
  border-left: 2px solid var(--amber);
  padding-left: 20px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid var(--hairline-mid);
  border-radius: 999px;
  color: var(--muted-mid);
  transition: border-color 0.25s, color 0.25s;
}
.about-tag:hover { border-color: var(--amber); color: var(--amber); }
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  filter: grayscale(20%);
}
.about-image::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--hairline-mid);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-section {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-section::before {
  content: 'CONTACT';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 260px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(243, 237, 224, 0.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.contact-inner .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}
.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--paper);
  max-width: 12ch;
}
.contact-inner h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
}
.contact-inner p {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted-mid);
  max-width: 46ch;
}
.contact-email-link {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--amber-light);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s;
}
.contact-email-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.contact-email-link:hover { color: var(--paper); }
.contact-email-link:hover::after { transform: scaleX(1); }
.contact-socials {
  display: flex;
  align-items: center;
  gap: 28px;
}
.contact-socials a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}
.contact-socials a:hover { color: var(--amber); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  padding: 36px var(--gutter);
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--black);
}
.footer-logo img {
  height: 40px;
  width: auto;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.footer-logo:hover img { opacity: 0.9; }
.footer-copy {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--amber); }

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 7, 10, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-io);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img-wrap {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.92);
  transition: transform 0.45s var(--ease-out);
}
.lightbox.is-open .lightbox-img-wrap img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline-mid);
  border-radius: 50%;
  color: var(--muted-mid);
  transition: border-color 0.25s, color 0.25s;
  font-size: 22px;
  line-height: 1;
}
.lightbox-close:hover { border-color: var(--amber); color: var(--amber); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline-mid);
  border-radius: 50%;
  color: var(--muted-mid);
  transition: border-color 0.25s, color 0.25s;
  font-size: 18px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { border-color: var(--amber); color: var(--amber); }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.lightbox-caption {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 13px;
  color: var(--muted-mid);
  max-width: 500px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .portrait-feature { grid-template-columns: 1fr; }
  .portrait-feature-image { height: 60vw; min-height: 300px; }

  .editorial-grid { columns: 2; }

  .bento-grid { columns: 2; }
  .bc-hero, .bc-wide, .bc-big, .bc-tall { /* no-op in columns layout */ }

  .animals-inner { grid-template-columns: 1fr; }
  .animals-images { grid-template-columns: 1fr 1fr; height: 400px; }

  .publication-inner { grid-template-columns: 1fr; gap: 40px; }
  .publication-mag img { height: 360px; }

  .video-grid { grid-template-columns: repeat(2, 1fr); }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 400px; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero-title { font-size: clamp(44px, 13vw, 72px); }

  .intro-stat-row { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .intro-stat { padding: 20px 14px; }

  .portraits-header-inner { flex-direction: column; align-items: flex-start; }

  .editorial-grid { columns: 1; }

  .bento-grid { columns: 1; }

  .animals-images { height: 280px; }

  .video-grid { grid-template-columns: 1fr; }

  /* card widths are driven by natural image aspect ratio — no fixed overrides */
  .card-portrait, .card-landscape, .card-square, .card-tall { width: auto; }

  .contact-inner h2 { font-size: clamp(32px, 10vw, 52px); }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
}

/* ─── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}
