/* ==========================================================================
   VLADI ATX — MONOCHROME PHOTOGRAPHY PORTFOLIO (VLADA TASHKINOVA)
   Black & White Editorial Theme | Scroll-Driven Banner & Stack Showcase
   ========================================================================== */

:root {
  /* Monochrome Palette */
  --bg-light: #f2f1ed;
  /* Alabaster paper white */
  --bg-pure-white: #ffffff;
  --bg-dark: #0b0b0b;
  /* Deep silver-gelatin carbon black */
  --bg-card-dark: #141414;
  --ink-black: #0d0d0d;
  --ink-muted: #525252;
  --ink-soft: #8a8a86;
  --border-light: rgba(13, 13, 13, 0.14);
  --border-dark: rgba(255, 255, 255, 0.16);

  /* Typography */
  --font-display: 'Syne', 'Impact', 'Arial Black', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Scroll-driven CSS custom properties (updated in real time by script.js) */
  --banner-progress: 0;
  /* 0 = full 50vh splash banner, 1 = shrunk rounded header */
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--ink-black);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-light);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
  transition: filter 0.45s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.section-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.2vw, 48px);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.7;
}

.section-display-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section-display-title em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid currentColor;
  margin-bottom: 40px;
}

.section-lead-copy {
  max-width: 480px;
  font-size: 0.96rem;
  line-height: 1.6;
  opacity: 0.8;
}

/* ==========================================================================
   1. SCROLL-DRIVEN SPLASH BANNER (50vh -> Shrunk Rounded Header)
   ========================================================================== */

.banner-spacer {
  /* Keeps layout flow stable at 50vh while the fixed header morphs */
  height: 50vh;
  min-height: 360px;
  width: 100%;
  position: relative;
}

.splash-banner {
  position: fixed;
  top: calc(var(--banner-progress) * 14px);
  left: calc(var(--banner-progress) * clamp(12px, 3vw, 40px));
  right: calc(var(--banner-progress) * clamp(12px, 3vw, 40px));
  height: calc(50vh - (var(--banner-progress) * (50vh - 68px)));
  min-height: 68px;
  z-index: 1000;

  background-color: var(--bg-light);
  color: var(--ink-black);
  border-radius: calc(var(--banner-progress) * 3px);
  border: 1px solid rgba(13, 13, 13, calc(0.08 + var(--banner-progress) * 0.15));
  box-shadow: 0 calc(var(--banner-progress) * 18px) calc(var(--banner-progress) * 45px) rgba(0, 0, 0, calc(var(--banner-progress) * 0.28));

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(16px - (var(--banner-progress) * 4px)) clamp(16px, 2.8vw, 38px);
  overflow: hidden;
  will-change: top, left, right, height, border-radius;
  backdrop-filter: blur(12px);
}

.splash-banner.is-compact {
  background-color: rgba(242, 241, 237, 0.94);
}

/* --- Top Bar inside Banner --- */
.banner-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.banner-left-group {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}

/* Geometric mark */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  flex-shrink: 0;
}

.brand-mark .mark-block {
  width: 10px;
  height: 20px;
  background-color: var(--ink-black);
  display: block;
}

.brand-mark .mark-curve {
  width: 14px;
  height: 20px;
  background-color: var(--ink-black);
  border-top-left-radius: 14px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-black);
  position: relative;
  padding: 4px 0;
  transition: opacity 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.is-active {
  font-weight: 600;
}

/* Subpage Compact Header Overrides */
body.subpage {
  --banner-progress: 1;
}

body.subpage .banner-spacer {
  height: 96px;
  min-height: 96px;
}

body.subpage .compact-brand-title {
  pointer-events: auto;
}

/* Compact Brand Title (Fades in when header shrinks) */
.compact-brand-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(calc((1 - var(--banner-progress)) * 14px));
  opacity: calc((var(--banner-progress) - 0.55) * 2.25);
  pointer-events: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.compact-bold {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.compact-script {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.3rem;
}

/* Right CTA Group */
.banner-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-black);
  transition: transform 0.2s ease;
}

.cta-pill:hover {
  transform: translateX(2px);
}

.cta-arrow-box {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background-color: rgba(13, 13, 13, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-pill:hover .cta-arrow-box {
  background-color: var(--ink-black);
  color: var(--bg-light);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 16px;
  height: 1.5px;
  background-color: var(--ink-black);
  transition: transform 0.25s ease;
}

/* --- Center Massive Wordmark --- */
.banner-wordmark-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 1;
  opacity: calc(1 - (var(--banner-progress) * 1.45));
  transform: scale(calc(1 - (var(--banner-progress) * 0.28))) translateY(calc(var(--banner-progress) * -35px));
  transform-origin: center top;
  pointer-events: none;
}

.banner-wordmark {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 0.84;
  color: var(--ink-black);
  text-transform: uppercase;
  white-space: nowrap;
  gap: clamp(4px, 1vw, 18px);
}

.word-heavy {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.2vw, 11.5rem);
  letter-spacing: -0.04em;
  display: inline-block;
}

.word-script {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  font-size: clamp(3.1rem, 11.5vw, 13.5rem);
  line-height: 0.6;
  display: inline-block;
  padding: 0 0.04em;
  transform: translateY(-0.04em) rotate(-6deg);
}

/* --- Bottom Editorial Captions inside 50vh Splash Banner --- */
.banner-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  z-index: 2;
  flex-shrink: 0;
  opacity: calc(1 - (var(--banner-progress) * 1.8));
  transform: translateY(calc(var(--banner-progress) * 20px));
  pointer-events: none;
}

.banner-sub-left,
.banner-sub-right {
  font-family: var(--font-serif);
  font-size: clamp(0.82rem, 1.35vw, 1.35rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--ink-black);
  text-transform: uppercase;
}

.banner-sub-right {
  text-align: right;
}

.banner-scroll-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  padding-bottom: 3px;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ink-black);
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.6);
    opacity: 0.35;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 82px;
  left: 14px;
  right: 14px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 22px;
  z-index: 999;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink-black);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-footer {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   PROMO SCROLLING LIME GREEN BANNER & SUMMER DISCOUNT TOGGLE
   ========================================================================== */

.promo-ribbon-section {
  background-color: var(--bg-light);
  padding: 10px clamp(12px, 2.2vw, 32px) 18px;
}

.promo-ribbon-container {
  max-width: 1680px;
  margin: 0 auto;
}

.lime-marquee-banner {
  background-color: #c8ff00;
  color: #0b0b0b;
  border-radius: 3px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(13, 13, 13, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.investments-lime-banner {
  margin-bottom: 36px;
}

.lime-marquee-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.lime-marquee-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  white-space: nowrap;
  flex-shrink: 0;
  animation: limeMarqueeScroll 26s linear infinite;
}

.lime-marquee-banner:hover .lime-marquee-group {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b0b0b;
}

.marquee-sep {
  font-size: 0.85rem;
  opacity: 0.45;
}

@keyframes limeMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.lime-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  z-index: 2;
}

.discount-toggle-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0b0b0b;
  color: #f2f1ed;
  border: 1px solid #0b0b0b;
  border-radius: 3px;
  padding: 7px 12px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.discount-toggle-box:hover {
  transform: translateY(-1px);
}

.discount-toggle-box[aria-pressed="true"] {
  background-color: #ffffff;
  color: #0b0b0b;
  border-color: #0b0b0b;
}

.discount-check-box {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  line-height: 1;
  flex-shrink: 0;
}

.discount-toggle-box[aria-pressed="true"] .discount-check-box {
  background-color: #0b0b0b;
  border-color: #0b0b0b;
  color: #c8ff00;
}

.discount-toggle-box[aria-pressed="true"] .discount-check-box::after {
  content: '✓';
  font-weight: 800;
}

.lime-view-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 3px;
  border: 1px solid rgba(11, 11, 11, 0.35);
  color: #0b0b0b;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lime-view-link:hover {
  background-color: #0b0b0b;
  color: #c8ff00;
}

/* ==========================================================================
   2. LARGE HERO IMAGE WITH SMALL PHOTOGRAPHER NAME OVERLAY
   ========================================================================== */

.hero-image-section {
  width: 100%;
  background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-dark) 35%);
  padding: 0 clamp(12px, 2.2vw, 32px) clamp(48px, 6vw, 84px);
}

.hero-image-container {
  max-width: 1680px;
  margin: 0 auto;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  height: 86vh;
  min-height: 520px;
  border-radius: 3px;
  overflow: hidden;
  background-color: #050505;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.02);
}

.hero-image-frame:hover .hero-main-img {
  transform: scale(1.05);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.68) 100%);
  pointer-events: none;
}

/* Small Technical Frame Markers */
.frame-marker {
  position: absolute;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
  z-index: 2;
  text-transform: uppercase;
}

.frame-marker.top-left {
  top: 24px;
  left: 28px;
}

.frame-marker.top-right {
  top: 24px;
  right: 28px;
}

.frame-marker.bottom-left {
  bottom: 24px;
  left: 28px;
}

.frame-marker.bottom-right {
  bottom: 24px;
  right: 28px;
}

/* Small Text Overlay with Photographer's Name */
.photographer-overlay-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: var(--bg-pure-white);
  padding: 24px 36px;
  border-radius: 3px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.overlay-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

.photographer-name-small {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

.overlay-divider {
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin: 2px 0;
}

.overlay-micro-copy {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   3. SCROLL-DRIVEN STACK UNPACKING SECTION (RIGHT STACK -> LEFT PRESENTED)
   ========================================================================== */

.stack-scroll-section {
  position: relative;
  /* 520vh gives plenty of smooth scroll distance to peel 6 images off the stack */
  height: 520vh;
  width: 100%;
  background-color: var(--bg-dark);
  color: var(--bg-light);
}

.stack-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  /* Top padding accounts for the 68px floating rounded header */
  padding: 94px clamp(16px, 3vw, 44px) 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Stage Top Metadata Bar */
.stage-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-dark);
  flex-shrink: 0;
  gap: 12px;
}

.stage-section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(242, 241, 237, 0.68);
  text-transform: uppercase;
}

.stage-progress-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  padding: 6px 14px;
  border-radius: 3px;
}

.progress-track {
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  overflow: hidden;
  margin-left: 6px;
}

.progress-fill {
  height: 100%;
  width: 16%;
  background: #ffffff;
  transition: width 0.1s linear;
}

/* Split 50/50 Grid on Desktop */
.split-showcase-grid {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3.5vw, 56px);
  padding-top: 16px;
  min-height: 0;
}

.left-presentation-column,
.right-stack-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  position: relative;
}

/* Left Presentation Slot */
.presentation-slot {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  border-radius: 3px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-placeholder {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.22);
}

.presented-cards-anchor,
.stack-anchor {
  position: absolute;
  inset: 14px;
  border-radius: 3px;
  pointer-events: none;
}

/* Left Caption Details Bar */
.presented-caption-bar {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  flex-shrink: 0;
}

.caption-primary {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.caption-number {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.caption-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  font-style: italic;
  color: #ffffff;
}

.caption-description {
  width: 100%;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(242, 241, 237, 0.75);
}

.caption-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-chip {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

/* Right Stack Column */
.stack-deck-area {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.01) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Base shown underneath the right stack when all cards have been moved left */
.deck-empty-base {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-align: center;
}

.empty-icon {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.55);
}

.stack-footer-note {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  color: rgba(242, 241, 237, 0.65);
  flex-shrink: 0;
}

.key-hint {
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ==========================================================================
   FLOATING TRANSFER LAYER & ROUNDED-CORNER PHOTO CARDS
   ========================================================================== */

.cards-transfer-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.photo-stack-card {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 3px;
  overflow: hidden;
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65);
  will-change: transform, width, height;
  transform-origin: center center;
}

.photo-stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Subtle inner frame overlay on each card */
.card-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  transition: opacity 0.25s ease;
}

.card-index-pill {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 5px 11px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-state-tag {
  background: rgba(242, 241, 237, 0.9);
  color: #0b0b0b;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}

.card-bottom-gradient {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.84) 0%, transparent 100%);
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  transition: opacity 0.25s ease;
}

.card-mini-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.1;
}

.card-mini-loc {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   4. CURATED PORTFOLIO GALLERIES SECTION (#portfolio)
   ========================================================================== */

.portfolio-section {
  background-color: var(--bg-light);
  color: var(--ink-black);
  padding: clamp(64px, 9vw, 128px) 0;
}

.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-tab {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 3px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--ink-black);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.filter-tab:hover {
  border-color: var(--ink-black);
}

.filter-tab.is-active {
  background-color: var(--ink-black);
  color: var(--bg-light);
  border-color: var(--ink-black);
}

.tab-count {
  font-size: 0.66rem;
  opacity: 0.65;
}

.portfolio-masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.portfolio-item-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background-color: #141414;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.portfolio-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(100%);
}

.portfolio-item-card:hover img,
.portfolio-item-card:focus-visible img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #ffffff;
}

.portfolio-item-tag {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(13, 13, 13, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.portfolio-item-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.portfolio-item-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 500;
}

.portfolio-zoom-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* ==========================================================================
   5. ABOUT THE PHOTOGRAPHER & TESTIMONIAL SECTION (#about)
   ========================================================================== */

.about-section {
  background-color: var(--bg-dark);
  color: var(--bg-light);
  padding: clamp(64px, 9vw, 128px) 0;
  border-top: 1px solid var(--border-dark);
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.about-portrait-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-portrait-frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: #141414;
  aspect-ratio: 4 / 5;
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-portrait-badges {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-badge {
  background: rgba(11, 11, 11, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border-radius: 3px;
}

.about-contact-sheet-card {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: #121212;
  padding: 12px;
}

.about-contact-sheet-card img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 3px;
}

.contact-sheet-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: rgba(242, 241, 237, 0.6);
  padding-top: 10px;
}

.about-bio-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.about-heading em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

.about-prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(242, 241, 237, 0.86);
}

.about-prose strong {
  color: #ffffff;
  font-weight: 600;
}

.about-highlights-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.highlight-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(242, 241, 237, 0.55);
}

.highlight-stat strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.highlight-stat span:last-child {
  font-size: 0.78rem;
  color: rgba(242, 241, 237, 0.7);
}

/* Client Testimonial Card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: 3px;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(242, 241, 237, 0.6);
}

.quote-glyph {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 0.5;
  color: rgba(255, 255, 255, 0.35);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.5;
  color: #ffffff;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(242, 241, 237, 0.85);
}

.author-role {
  color: rgba(242, 241, 237, 0.55);
  font-size: 0.76rem;
}

/* ==========================================================================
   6. INVESTMENTS / COMMISSION PACKAGES & PRICING (#investments)
   ========================================================================== */

.investments-section {
  background-color: var(--bg-light);
  color: var(--ink-black);
  padding: clamp(64px, 9vw, 128px) 0;
}

.investments-promo-banner {
  background-color: var(--ink-black);
  color: var(--bg-light);
  border-radius: 3px;
  padding: clamp(24px, 3.5vw, 40px);
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.inv-promo-left {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-promo-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(242, 241, 237, 0.7);
}

.inv-promo-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  color: #ffffff;
}

.inv-promo-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(242, 241, 237, 0.82);
}

.inv-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-light);
  color: var(--ink-black);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 3px;
  transition: transform 0.2s ease;
}

.inv-promo-cta:hover {
  transform: translateY(-2px);
}

.investments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.8vw, 36px);
}

.investment-card {
  background: var(--bg-pure-white);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.inv-card-media {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #101010;
}

.inv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.investment-card:hover .inv-card-media img {
  transform: scale(1.04);
}

.inv-card-index {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(13, 13, 13, 0.76);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.inv-card-body {
  padding: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
}

.inv-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-card-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.inv-card-subtitle {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.tiers-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tiers-container.tiers-three {
  grid-template-columns: repeat(3, 1fr);
}

.tier-box {
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 18px;
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.tier-box.tier-featured {
  background: var(--ink-black);
  color: var(--bg-light);
  border-color: var(--ink-black);
}

.tier-box.tier-full {
  grid-column: 1 / -1;
}

.tier-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

.tier-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 600;
}

.tier-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.tier-price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.tier-old-price {
  display: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: line-through;
  opacity: 0.55;
}

body.discount-active .tier-old-price {
  display: inline-block;
}

body.discount-active .tier-box.tier-featured .tier-price {
  color: #c8ff00;
}

body.discount-active .tier-box:not(.tier-featured) .tier-price {
  background-color: #c8ff00;
  color: #0b0b0b;
  padding: 1px 6px;
  border-radius: 3px;
}

.tier-starting {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.65;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}

.tier-price small {
  font-size: 0.78rem;
  font-weight: 500;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.9;
}

.tier-features li::before {
  content: '• ';
  opacity: 0.6;
}

.tier-select-btn {
  display: inline-block;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid currentColor;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tier-select-btn:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.addons-strip {
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.addons-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.addons-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.addons-pills span {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--ink-black);
}

/* ==========================================================================
   7. CONTACT & COMMISSION BOOKING FORM + FOOTER (#contact)
   ========================================================================== */

.minimal-footer {
  background-color: var(--bg-dark);
  color: var(--bg-light);
  padding: clamp(64px, 9vw, 120px) clamp(18px, 3.5vw, 48px) 36px;
  border-top: 1px solid var(--border-dark);
}

.footer-inner {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.contact-commission-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.contact-heading em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

.contact-lead {
  font-size: 0.95rem;
  line-height: 1.68;
  color: rgba(242, 241, 237, 0.78);
}

.contact-direct-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.direct-contact-item {
  padding: 16px 20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

a.direct-contact-item:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

.direct-label {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: rgba(242, 241, 237, 0.55);
}

.direct-value {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
}

/* Commission Form */
.commission-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: 3px;
  padding: clamp(22px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label,
.form-fieldset legend {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 241, 237, 0.78);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: 3px;
  padding: 12px 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-field select option {
  background-color: #141414;
  color: #ffffff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.form-fieldset {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.radio-pill {
  cursor: pointer;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 3px;
  border: 1px solid var(--border-dark);
  font-size: 0.78rem;
  color: rgba(242, 241, 237, 0.8);
  transition: all 0.2s ease;
}

.radio-pill input:checked+span {
  background: var(--bg-light);
  color: var(--ink-black);
  border-color: var(--bg-light);
  font-weight: 600;
}

.form-submit-btn {
  margin-top: 4px;
  background: var(--bg-light);
  color: var(--ink-black);
  border: none;
  border-radius: 3px;
  padding: 15px 28px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.form-status-msg {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #ffffff;
  min-height: 1.2em;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 36px;
  border-top: 1px solid var(--border-dark);
}

.footer-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(242, 241, 237, 0.6);
}

.footer-display {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.footer-display em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

.footer-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: rgba(242, 241, 237, 0.6);
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.back-to-top {
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   8. LIGHTBOX MODAL
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-stage {
  max-width: 92vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
  text-align: center;
  color: #ffffff;
}

.lightbox-caption span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
}

.lightbox-caption h4 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 500;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-nav.prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   9. TABLET & MOBILE RESPONSIVENESS
      - Fixes Main Title display on mobile (stacked editorial lockup)
      - Fixes Photo Stack on mobile (vertical split: full-width top stage +
        full-width bottom stack deck instead of cramped side-by-side)
   ========================================================================== */

@media (max-width: 1100px) {
  .portfolio-masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .investments-grid {
    grid-template-columns: 1fr;
  }

  .about-editorial-grid,
  .contact-commission-grid {
    grid-template-columns: 1fr;
  }

  .about-portrait-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .banner-scroll-cue {
    display: none;
  }

  /* Tablet horizontal wordmark fits comfortably without overflowing */
  .banner-wordmark {
    justify-content: center;
    gap: clamp(8px, 2vw, 18px);
  }

  .word-heavy {
    font-size: clamp(2rem, 7.2vw, 4.4rem);
  }

  .word-script {
    font-size: clamp(2.4rem, 9.2vw, 5.2rem);
  }

  .hero-image-frame {
    height: 72vh;
    min-height: 440px;
    border-radius: 3px;
  }

  .portfolio-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE STACK & TITLE OPTIMIZATION (<= 768px) */
@media (max-width: 768px) {

  /* 1. Switch Stack Showcase from cramped side-by-side to Vertical Split:
        Top Presentation Stage (full width) + Bottom Stack Deck (full width) */
  .stack-sticky-stage {
    padding: 78px 14px 14px;
  }

  .split-showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1.25fr 0.85fr;
    gap: 12px;
    padding-top: 10px;
  }

  .left-presentation-column,
  .right-stack-column {
    width: 100%;
    min-height: 0;
  }

  .presentation-slot,
  .stack-deck-area {
    border-radius: 3px;
  }

  .presented-cards-anchor,
  .stack-anchor {
    inset: 8px;
    border-radius: 3px;
  }

  .presented-caption-bar {
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 3px;
    gap: 4px 12px;
  }

  .caption-title {
    font-size: 1.15rem;
  }

  .caption-description {
    font-size: 0.76rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .stack-footer-note {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 3px;
    font-size: 0.62rem;
  }

  .tiers-container,
  .tiers-container.tiers-three {
    grid-template-columns: 1fr;
  }

  .about-portrait-col {
    grid-template-columns: 1fr;
  }

  .about-highlights-row {
    grid-template-columns: 1fr;
  }

  .form-row-two {
    grid-template-columns: 1fr;
  }
}

/* SMALL PHONES: STACKED EDITORIAL MASTHEAD TITLE (<= 640px) */
@media (max-width: 640px) {
  .banner-spacer {
    height: 48vh;
    min-height: 320px;
  }

  body.subpage .banner-spacer {
    height: 84px;
    min-height: 84px;
  }

  .splash-banner {
    height: calc(48vh - (var(--banner-progress) * (48vh - 60px)));
    min-height: 60px;
    padding: 12px 16px;
  }

  .cta-pill span:first-child {
    display: none;
  }

  .compact-bold {
    font-size: 0.78rem;
  }

  .compact-script {
    font-size: 1.05rem;
  }

  /* Stacked 3-line Editorial Masthead on Mobile so "VLADI of AUSTIN" is bold, centered & never clipped */
  .banner-wordmark {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
  }

  .word-heavy {
    font-size: clamp(2.5rem, 14vw, 3.8rem);
    line-height: 0.88;
    letter-spacing: -0.03em;
  }

  .word-script {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
    line-height: 0.72;
    margin: -2px 0 3px;
    transform: rotate(-5deg);
  }

  .banner-sub-left,
  .banner-sub-right {
    font-size: 0.68rem;
    line-height: 1.15;
  }

  .photographer-overlay-card {
    width: 88%;
    padding: 18px 20px;
  }

  .frame-marker {
    font-size: 0.56rem;
  }

  .frame-marker.top-left,
  .frame-marker.bottom-left {
    left: 14px;
  }

  .frame-marker.top-right,
  .frame-marker.bottom-right {
    right: 14px;
  }

  .stage-section-label {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .photo-stack-card {
    border-radius: 3px;
  }

  .card-mini-title {
    font-size: 1.05rem;
  }

  .card-index-pill {
    font-size: 0.6rem;
    padding: 4px 9px;
  }

  .caption-specs {
    display: none;
  }

  .portfolio-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .portfolio-item-title {
    font-size: 1rem;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }

  .lime-marquee-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .lime-banner-actions {
    justify-content: space-between;
  }
}