/* elite.css */
/* ============================================================
   JING & TONIC — ELITE DESIGN UPGRADE
   Grain texture · Kinetic type · Magnetic cursor · Parallax
   ============================================================ */

/* ── View Transitions ──────────────────────────────────────── */
@view-transition { navigation: auto; }
::view-transition-old(root) {
  animation: vt-out 0.25s cubic-bezier(0.4, 0, 1, 1);
}
::view-transition-new(root) {
  animation: vt-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes vt-out { to { opacity: 0; filter: blur(4px); } }
@keyframes vt-in  { from { opacity: 0; filter: blur(4px); } }

/* ── Custom Cursor ─────────────────────────────────────────── */
@media (pointer: fine) {
  * { cursor: none !important; }
  a, button, [role="button"], label, input, textarea, select,
  .portfolio-item, .work-card, .filter-btn {
    cursor: none !important;
  }
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, opacity 0.2s ease;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1),
              height 0.3s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s ease,
              opacity 0.3s ease;
  opacity: 0.6;
  will-change: transform;
}

.cursor-ring.is-hovering {
  width: 64px; height: 64px;
  opacity: 1;
  border-color: var(--color-primary);
  mix-blend-mode: normal;
}

.cursor-ring.is-clicking {
  width: 28px; height: 28px;
  opacity: 0.9;
}

/* ── Grain Texture Overlay ─────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain-shift 0.5s steps(1) infinite;
}

@keyframes grain-shift {
  0%  { background-position: 0 0; }
  10% { background-position: -5% -10%; }
  20% { background-position: -15% 5%; }
  30% { background-position: 7% -25%; }
  40% { background-position: -5% 25%; }
  50% { background-position: -15% 10%; }
  60% { background-position: 15% 0%; }
  70% { background-position: 0% 15%; }
  80% { background-position: 3% 35%; }
  90% { background-position: -10% 10%; }
}

@media (prefers-reduced-motion: reduce) {
  .grain-overlay { animation: none; }
}

/* ── Hero — Full Bleed Cinematic ───────────────────────────── */
.hero-v2 {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

/* Full-bleed photo behind everything */
.hero-v2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-v2-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center center;
  will-change: transform;
}

/* Vignette + tint — strong enough for legibility */
.hero-v2-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, oklch(0.08 0.02 30 / 0.65) 100%),
    linear-gradient(to right, oklch(0.08 0.02 30 / 0.85) 0%, oklch(0.08 0.02 30 / 0.4) 50%, oklch(0.08 0.02 30 / 0.2) 100%);
}

/* Split layout: left text, right photo stack */
.hero-v2-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-wide);
  padding: calc(var(--space-24) + 80px) clamp(var(--space-5), 5vw, var(--space-20)) var(--space-24);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  min-height: 100dvh;
  margin-inline: auto;
}

.hero-v2-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Splitting.js headline */
.hero-heading-split {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 0.5rem + 5.5vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.0;
  color: #fff;
  text-shadow: 0 2px 40px oklch(0 0 0 / 0.4);
  white-space: nowrap;
}
.hero-heading-split em {
  font-style: italic;
  color: var(--color-primary);
}

/* Per-character animation via Splitting.js */
.hero-heading-split .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  animation: char-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--char-index) * 35ms + 0.3s);
}

@keyframes char-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-heading-split .char {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hero-v2-sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  letter-spacing: 0.02em;
  max-width: 38ch;
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.2s;
}

.hero-v2-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.4s;
}

.hero-v2-location {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.6s;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero eyebrow */
.hero-v2-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

/* Photo stack — right column */
.hero-v2-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-3);
  opacity: 0;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

.hero-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-photo:hover img {
  transform: scale(1.05);
}

.hero-photo--large {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: 3/4;
}

.hero-photo--sm {
  grid-column: 2;
  aspect-ratio: 4/5;
}
.hero-photo--top { grid-row: 1; }
.hero-photo--bottom { grid-row: 2; }

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 2s;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* Parallax hero bg on scroll */
@supports (animation-timeline: scroll()) {
  .hero-v2-bg img {
    animation: hero-parallax linear both;
    animation-timeline: scroll(root);
    animation-range: 0% 100vh;
  }
  @keyframes hero-parallax {
    from { transform: scale(1.08) translateY(0); }
    to   { transform: scale(1.08) translateY(8%); }
  }
}

/* Mobile hero */
@media (max-width: 1024px) {
  .hero-v2-inner {
    grid-template-columns: 1fr;
    padding-top: calc(var(--space-16) + 80px);
    padding-bottom: var(--space-16);
    align-items: start;
    min-height: 100dvh;
  }
  .hero-v2-photos { display: none; }
  .hero-v2-bg::after {
    background:
      linear-gradient(to bottom,
        oklch(0.08 0.02 30 / 0.55) 0%,
        oklch(0.08 0.02 30 / 0.75) 50%,
        oklch(0.08 0.02 30 / 0.92) 100%);
  }
  .hero-heading-split {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
    line-height: 1.05;
  }
  .hero-v2-sub { font-size: var(--text-base); max-width: 38ch; }
  .hero-v2-location { font-size: 0.65rem; }
  .hero-v2-actions { gap: var(--space-3); flex-wrap: wrap; }
  .hero-v2-actions .btn { font-size: var(--text-xs); padding: var(--space-3) var(--space-5); }
}

@media (max-width: 480px) {
  .hero-v2-inner {
    padding-top: calc(var(--space-12) + 70px);
  }
  .hero-heading-split { font-size: clamp(2rem, 11vw, 2.8rem); }
  .hero-scroll-hint { display: none; }
}

/* ── Hero buttons on dark bg ───────────────────────────────── */
.hero-v2 .btn--primary {
  background: #fff;
  color: #18140F;
}
.hero-v2 .btn--primary:hover {
  background: var(--color-primary);
  color: #fff;
}
.hero-v2 .btn--ghost {
  color: rgba(255,255,255,0.75);
}
.hero-v2 .btn--ghost:hover {
  color: #fff;
}

/* ── Work Grid — Hover Reveal Overlay ──────────────────────── */
.work-card {
  isolation: isolate;
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.12 0.02 30 / 0.85) 0%, transparent 55%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.4s ease, clip-path 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-card-overlay {
  opacity: 1;
  clip-path: inset(0 0 0% 0);
}

.work-card-overlay .work-tag {
  color: #fff;
  font-size: var(--text-base);
}
.work-card-overlay .work-tag-style {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-xs);
}

/* ── Portfolio — Masonry + Lightbox Elite ──────────────────── */

/* Image hover clip-path reveal */
.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.12 0.02 30 / 0.82) 0%, transparent 55%);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.portfolio-item:hover::after {
  clip-path: inset(0 0 0 0);
}

/* Enhanced lightbox */
.lightbox-v2 {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: oklch(0.06 0.01 30 / 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-8);
}
.lightbox-v2.open { display: flex; }
.lightbox-v2-inner {
  position: relative;
  max-width: min(700px, 90vw);
  width: 100%;
  animation: lb-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-v2-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
}
.lightbox-v2-close {
  position: absolute;
  top: calc(-1 * var(--space-12));
  right: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-v2-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}
.lightbox-v2-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lightbox-v2-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.9);
}
.lightbox-v2-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.4);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* Lightbox nav arrows */
.lightbox-v2-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 1;
}
.lightbox-v2-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-v2-prev { right: calc(100% + var(--space-4)); }
.lightbox-v2-next { left: calc(100% + var(--space-4)); }

@media (max-width: 768px) {
  .lightbox-v2-prev, .lightbox-v2-next { display: none; }
}

/* ── Horizontal Image Strip (Featured Works) ───────────────── */
.strip-section {
  overflow: hidden;
  padding-block: var(--space-8) 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface);
}

.strip-track {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6) clamp(var(--space-5), 5vw, var(--space-20));
  padding-bottom: var(--space-8);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.strip-track:active { cursor: grabbing; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track { scrollbar-width: none; }

.strip-item {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  background: var(--color-surface-offset);
}

.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.strip-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .strip-item { flex: 0 0 240px; }
}

/* ── Section Headings with Accent Line ─────────────────────── */
.heading-accent {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}
.heading-accent::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ── About Page Elite Layout ───────────────────────────────── */
.about-hero-fullbleed {
  position: relative;
  height: min(70vh, 600px);
  overflow: hidden;
  margin-top: 60px; /* nav offset */
}
.about-hero-fullbleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.about-hero-fullbleed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--color-bg) 100%);
}

/* ── Studio Page Photo Grid ────────────────────────────────── */
.studio-photo-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: var(--space-3);
}

.studio-photo-mosaic .mosaic-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface-offset);
}
.studio-photo-mosaic .mosaic-item.mosaic-tall {
  grid-row: 1 / 3;
}
.studio-photo-mosaic .mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.studio-photo-mosaic .mosaic-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .studio-photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .studio-photo-mosaic .mosaic-item.mosaic-tall { grid-row: auto; }
}

/* ── Image Trail Cursor Effect ─────────────────────────────── */
.trail-img {
  position: fixed;
  width: 120px;
  height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  pointer-events: none;
  z-index: 9990;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85) rotate(-3deg);
  transition: opacity 0.3s ease;
  will-change: transform, opacity;
}

.trail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trail-img.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(-2deg);
}

/* ── Marquee — Enhanced ────────────────────────────────────── */
.marquee-wrap-v2 {
  overflow: hidden;
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface);
  position: relative;
}

.marquee-track-v2 {
  display: flex;
  gap: var(--space-10);
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  will-change: transform;
}
.marquee-track-v2 span[aria-hidden] {
  color: var(--color-primary);
  opacity: 0.6;
}

/* ── Float elements — decorative ──────────────────────────── */
.deco-line {
  display: block;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  margin-inline: auto;
  opacity: 0.5;
}

/* ── Stats / Credentials Row ───────────────────────────────── */
.stat-row {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── Work card — hover overlay positioning fix ─────────────── */
.work-card-img {
  position: relative;
}

/* Image reveal on hover for work cards (clip-path) */
.work-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  z-index: 2;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(to top, oklch(0.12 0.02 30 / 0.85) 0%, oklch(0.12 0.02 30 / 0.1) 60%, transparent 100%);
}

.work-card:hover .work-card-overlay {
  clip-path: inset(0 0 0 0);
}

.work-card-overlay .work-tag {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.work-card-overlay .work-tag-style {
  color: rgba(255,255,255,0.65);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Fix work-card-info to be inside overlay only */
.work-card-info {
  display: none; /* Replaced by overlay */
}

/* ── Portfolio counter ─────────────────────────────────────── */
.portfolio-count {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-5);
}

/* ═══════════════════════════════════════════════════════════════
   HERO — WORLD CLASS ANIMATION SUITE
   1. Ink-reveal entry wipe (clip-path)
   2. Ken Burns slow-drift on bg image
   3. Floating photo stack parallax (JS-driven)
   4. Ambient grain pulse
   5. Scroll-triggered fade-out on hero text
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Ink-reveal: hero bursts in from center outward ───────── */
@keyframes ink-reveal {
  0%   { clip-path: circle(0% at 35% 55%); opacity: 1; }
  100% { clip-path: circle(150% at 35% 55%); opacity: 1; }
}

.hero-v2-inner {
  animation: ink-reveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── 2. Ken Burns — slow drift + very subtle zoom ────────────── */
@keyframes ken-burns {
  0%   { transform: scale(1.0) translate(0%, 0%); }
  25%  { transform: scale(1.05) translate(-0.8%, 0.5%); }
  50%  { transform: scale(1.08) translate(-1.2%, 1%); }
  75%  { transform: scale(1.05) translate(-0.5%, 1.5%); }
  100% { transform: scale(1.0) translate(0%, 2%); }
}

/* Override existing parallax scroll animation with Ken Burns */
.hero-v2-bg img {
  animation: ken-burns 22s ease-in-out infinite alternate !important;
  will-change: transform;
}

/* ── 3. Hero photo stack — will be driven by JS parallax ─────── */
.hero-photo--large {
  transition: transform 0.1s linear;
  will-change: transform;
}
.hero-photo--sm {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ── 4. Ambient vignette pulse (very subtle breathing) ───────── */
@keyframes vignette-breathe {
  0%, 100% { opacity: 0.9; }
  50%       { opacity: 1.0; }
}
.hero-v2-bg::after {
  animation: vignette-breathe 8s ease-in-out infinite;
}

/* ── 5. Hero content fades on scroll (parallax feel) ────────── */
@supports (animation-timeline: scroll()) {
  .hero-v2-text {
    animation: hero-text-exit linear both;
    animation-timeline: scroll(root);
    animation-range: 0vh 55vh;
  }
  @keyframes hero-text-exit {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-40px); }
  }
}

/* ── Prefers reduced motion: strip all fancy animations ─────── */
@media (prefers-reduced-motion: reduce) {
  .hero-v2-inner { animation: none; clip-path: none; }
  .hero-v2-bg img { animation: none !important; }
  .hero-v2-text { animation: none; opacity: 1; }
  .hero-photo--large, .hero-photo--sm { transition: none; }
}

/* ── Editorial photo tilt — static base rotations ───────────── */
.hero-photo--large {
  transform-origin: center center;
}
.hero-photo--top {
  transform: rotate(2.5deg);
  transform-origin: center bottom;
}
.hero-photo--bottom {
  transform: rotate(-1.8deg);
  transform-origin: center top;
}
/* JS parallax overrides these — base tilt baked into JS offsets */


/* elite-v3.css */
/* ============================================================
   JING & TONIC — V3 ELEVATION
   SVG Logo · Cinematic Quote · Stats · Tablet Hero · Polish
   ============================================================ */

/* ── Nav SVG Logo ───────────────────────────────────────────── */
.nav-logo-svg {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}
.nav-logo-svg:hover { opacity: 0.75; }

.nav-logo-svg .logo-mark {
  flex-shrink: 0;
  width: 52px;
  height: auto;
  object-fit: contain;
  display: block;
  /* Default: dark logo on light bg */
  filter: none;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
/* Dark mode: invert the black rabbit to white — handled by state machine below */

.nav-logo-svg .logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-svg .logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.nav-logo-svg .logo-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* On dark hero: make logo white */
.hero-v2 ~ * .nav-logo-svg,
.site-nav .nav-logo-svg {
  color: inherit;
}

/* ── Logo filter state machine ──────────────────────────────────
   The nav has a light translucent background (near-white ivory)
   at all scroll positions. So the logo should ALWAYS be dark
   (natural) on light mode — it's always on a light surface.
   Only invert to white in dark mode.
   ─────────────────────────────────────────────────────────────── */

/* Light mode: always dark/natural — nav bg is always light ivory */
body .site-nav .logo-mark {
  filter: none;
}
/* Dark mode — invert to white on dark surface */
[data-theme="dark"] .site-nav .logo-mark {
  filter: invert(1) brightness(1.1);
}

/* ── Books Open badge — enhanced visibility ──────────────────── */
.books-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px 5px 9px;
  border-radius: 999px;
  position: relative;
}

.books-badge.open {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.books-badge.closed {
  background: rgba(255, 80, 80, 0.18);
  color: rgba(255, 200, 200, 0.95);
  border: 1px solid rgba(255, 100, 100, 0.3);
}

.books-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.books-badge.open::before {
  background: #6ee7b7;
  box-shadow: 0 0 6px #6ee7b7;
  animation: badge-pulse 2s ease-in-out infinite;
}

.books-badge.closed::before {
  background: #f87171;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px #6ee7b7; }
  50%       { opacity: 0.5; box-shadow: 0 0 12px #6ee7b7; }
}

/* ── Tablet hero: show single photo at 768–1024px ─────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-v2-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-8);
  }
  .hero-v2-photos {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  .hero-photo--sm { display: none; }
  .hero-photo--large {
    aspect-ratio: 3/4;
    max-height: 60vh;
  }
  .hero-heading-split {
    font-size: clamp(2.4rem, 5vw, 4rem);
    white-space: normal;
  }
}

/* ── Cinematic Quote Section ─────────────────────────────────── */
.quote-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.quote-section-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.quote-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.quote-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      oklch(0.09 0.02 30 / 0.7) 0%,
      oklch(0.09 0.02 30 / 0.82) 50%,
      oklch(0.09 0.02 30 / 0.92) 100%);
}

.quote-section-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(var(--space-16), 10vh, var(--space-32)) clamp(var(--space-6), 8vw, var(--space-24));
  max-width: 900px;
  margin-inline: auto;
}

.quote-deco-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4), transparent);
  margin: 0 auto var(--space-10);
}

.quote-pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1rem + 3.2vw, 4.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 4px 40px oklch(0 0 0 / 0.5);
  margin: 0;
}

.quote-pullquote em {
  color: var(--color-primary);
  font-style: italic;
}

.quote-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.quote-attribution::before,
.quote-attribution::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.25);
}

.quote-attribution span {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Scroll reveal for quote */
@supports (animation-timeline: scroll()) {
  .quote-pullquote {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
  .quote-attribution {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 20% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* ── About Page — Stats Row ──────────────────────────────────── */
.about-stats-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  flex-wrap: wrap;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  margin-block: var(--space-10);
}

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

.about-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-text);
}

.about-stat-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── About Page — Two-column editorial layout ────────────────── */
.about-editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-block: var(--space-10);
}

.about-editorial-row .editorial-img {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  background: var(--color-surface-offset);
}

.about-editorial-row .editorial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.about-editorial-row .editorial-img:hover img {
  transform: scale(1.04);
}

.about-editorial-row .editorial-img.tall {
  aspect-ratio: 2/3;
  align-self: end;
}

@media (max-width: 640px) {
  .about-editorial-row {
    grid-template-columns: 1fr;
  }
  .about-stats-row {
    gap: var(--space-6);
  }
}

/* ── Portfolio — Enhanced counter ────────────────────────────── */
.portfolio-counter {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.portfolio-counter strong {
  font-style: normal;
  font-weight: 400;
  color: var(--color-text);
}

/* ── Lightbox v2 — count badge ───────────────────────────────── */
.lightbox-v2-count {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
}

/* ── Footer — enhanced ───────────────────────────────────────── */
.footer-bottom {
  font-size: 0.72rem !important;
  letter-spacing: 0.1em;
  color: var(--color-text-faint) !important;
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-5) !important;
}

/* ── Nav: hide text logo when SVG logo is present ─────────────── */
.nav-logo { display: none !important; }
.nav-logo-svg { display: flex !important; }

/* ── Scroll-driven parallax on quote bg ──────────────────────── */
@supports (animation-timeline: scroll()) {
  .quote-section-bg img {
    animation: quote-parallax linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes quote-parallax {
    from { transform: scale(1.1) translateY(-5%); }
    to   { transform: scale(1.1) translateY(5%); }
  }
}

/* ── Hover cursor image trail for portfolio ──────────────────── */
.portfolio-trail-img {
  position: fixed;
  width: 140px;
  height: 185px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  pointer-events: none;
  z-index: 9992;
  opacity: 0;
  transform: translate(-50%, -60%) rotate(-4deg) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.portfolio-trail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-trail-img.active {
  opacity: 1;
  transform: translate(-50%, -60%) rotate(-2deg) scale(1);
}

@media (max-width: 1024px) {
  .portfolio-trail-img { display: none; }
}

/* ── Hero heading wrap fix for mobile ──────────────────────── */
@media (max-width: 767px) {
  .hero-heading-split {
    white-space: normal !important;
    font-size: clamp(2.4rem, 8vw, 3.8rem) !important;
  }
}

/* ── Nav: ensure SVG logo text doesn't break on mobile ───── */
@media (max-width: 480px) {
  .nav-logo-svg .logo-sub {
    display: none;
  }
  .nav-logo-svg .logo-name {
    font-size: 1rem;
  }
}

/* ── Booking form enhancement ─────────────────────────────── */
.inquiry-form .form-input:focus,
.inquiry-form .form-textarea:focus,
.inquiry-form .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.12);
  outline: none;
}

/* ── Marquee pause on hover ────────────────────────────────── */
.marquee-wrap-v2:hover .marquee-track-v2 {
  animation-play-state: paused;
}

/* ── Quote section mobile ──────────────────────────────────── */
@media (max-width: 640px) {
  .quote-pullquote {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
  }
  .quote-section {
    min-height: 60vh;
  }
}

/* ── Section nav indicator on active links ────────────────── */
.nav-links a[aria-current="page"] {
  color: var(--color-text);
  position: relative;
}
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-primary);
}

/* ── Nav tablet fix (logo subtitle stacks) ───────────────────── */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav-logo-svg .logo-sub {
    display: none;
  }
  .nav-logo-svg .logo-name {
    font-size: 1rem;
  }
  .site-nav {
    padding-inline: var(--space-5);
  }
  .nav-cta {
    font-size: 0.78rem;
    padding: var(--space-2) var(--space-4);
    white-space: nowrap;
  }
  .nav-links {
    gap: var(--space-5);
  }
  .nav-links a {
    font-size: var(--text-xs);
  }
}

/* ── Tablet hero: heading tighter on 768-1024 ─────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-v2-inner {
    gap: var(--space-6);
    padding-top: calc(var(--space-20) + 80px);
    padding-inline: var(--space-6);
  }
  .hero-v2-sub {
    font-size: var(--text-base);
  }
  .hero-v2-actions {
    gap: var(--space-3);
  }
}

/* ── Back-to-top button ─────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background var(--transition-interactive);
  z-index: 90;
  cursor: pointer;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--color-primary-dark, var(--color-text)); }
@media (max-width: 600px) {
  .back-to-top { bottom: var(--space-5); right: var(--space-5); }
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  padding-inline: clamp(var(--space-5), 5vw, var(--space-20));
  background: var(--color-surface);
}
.testimonials-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
}
.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s cubic-bezier(0.16,1,0.3,1);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--color-primary);
}
.testimonial-stars svg { flex-shrink: 0; }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.testimonial-detail {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.testimonial-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  margin-bottom: var(--space-2);
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-header { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE FIXES — All pages
   ══════════════════════════════════════════════════════════════ */

/* ── 1. BOOKING PAGE — visible on all screen sizes ─────────── */
@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    padding-top: calc(var(--space-16) + 80px);
  }
  .booking-info { position: static; }
}

@media (max-width: 600px) {
  .booking-layout {
    padding-top: calc(var(--space-12) + 70px);
    padding-inline: var(--space-4);
    padding-bottom: var(--space-16);
    gap: var(--space-8);
  }
  .booking-title {
    font-size: clamp(2rem, 9vw, 2.8rem) !important;
    line-height: 1.1 !important;
  }
  /* Form card full-width padding reduction */
  .booking-layout > div > div[style] {
    padding: var(--space-6) !important;
  }
}

@media (max-width: 480px) {
  .booking-layout {
    padding-inline: var(--space-4);
  }
  .form-row {
    grid-template-columns: 1fr !important;
  }
}

/* ── 2. STUDIO PAGE — details/info sections visible ─────────── */
@media (max-width: 640px) {
  .studio-details {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-8) !important;
    padding-inline: var(--space-4) !important;
  }
  .studio-info-block {
    gap: var(--space-6);
  }
  .studio-perks-full {
    grid-template-columns: 1fr !important;
  }
  .location-card {
    padding: var(--space-5) !important;
  }
  .services-list {
    gap: var(--space-3);
  }
  .service-item {
    flex-direction: column;
    gap: var(--space-1);
    align-items: flex-start;
  }
}

/* ── 3. FLASH PAGE — button text no-wrap ────────────────────── */
@media (max-width: 600px) {
  .flash-cta-row a {
    font-size: 0.62rem !important;
    padding: var(--space-2) var(--space-2) !important;
    letter-spacing: 0.06em !important;
    white-space: nowrap !important;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .flash-info {
    padding: var(--space-2) var(--space-2) var(--space-1) !important;
  }
  .flash-name {
    font-size: 0.9rem !important;
    line-height: 1.2;
  }
}

/* ── 4. MERCH PAGE — product name no bad wrapping ───────────── */
@media (max-width: 700px) {
  .merch-info {
    padding: var(--space-3) !important;
  }
  .merch-name {
    font-size: 1rem !important;
    line-height: 1.25;
    word-break: break-word;
    hyphens: auto;
  }
  .merch-price {
    font-size: var(--text-xs) !important;
  }
  .merch-note {
    font-size: 0.65rem !important;
  }
}

/* ── 5. ABOUT PAGE — stats row and dual-photo ───────────────── */
@media (max-width: 600px) {
  .about-stats-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-4) !important;
    padding: var(--space-5) 0 !important;
  }
  .about-stat-num {
    font-size: clamp(2rem, 7vw, 2.8rem) !important;
  }
  .about-stat-label {
    font-size: 0.6rem !important;
    letter-spacing: 0.12em !important;
  }
  .about-editorial-row {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-3) !important;
  }
  .about-editorial-row .editorial-img.tall {
    aspect-ratio: 3/4 !important;
    align-self: auto !important;
  }
}

@media (max-width: 420px) {
  .about-stats-row {
    grid-template-columns: 1fr 1fr !important;
  }
  .about-hero {
    padding-top: calc(var(--space-10) + 70px) !important;
    gap: var(--space-8) !important;
  }
}

/* ── 6. HOMEPAGE — quote section dark box width ─────────────── */
@media (max-width: 640px) {
  .quote-section-inner {
    padding: var(--space-12) var(--space-5) !important;
  }
  .quote-pullquote {
    font-size: clamp(1.35rem, 5.5vw, 1.9rem) !important;
    letter-spacing: 0 !important;
  }
  .quote-deco-line {
    height: 40px;
    margin-bottom: var(--space-6);
  }
  .quote-attribution {
    gap: var(--space-3) !important;
    margin-top: var(--space-6) !important;
  }
}

/* ── 7. HOMEPAGE — hero buttons size on small phones ────────── */
@media (max-width: 390px) {
  .hero-v2-actions {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: var(--space-3) !important;
  }
  .hero-v2-actions .btn {
    width: auto !important;
    padding: var(--space-3) var(--space-6) !important;
  }
}

/* ── 8. STUDIO GALLERY — 2-col on mobile (already set but reinforce) */
@media (max-width: 540px) {
  .studio-gallery-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-2) !important;
  }
  .studio-img-grid {
    gap: var(--space-2) !important;
  }
}


/* ════════════════════════════════════════════════════════════════
   MOBILE AUDIT FIXES — April 2026
   All issues found from real 390px viewport screenshots
   ════════════════════════════════════════════════════════════════ */

/* ── FIX 1: Nav overflow — hamburger clipped off-screen ──────────
   Root cause: logo text too wide at 390px, nav overflows.
   Fix: hide logo subtitle on mobile, shrink logo name, ensure
        nav never overflows its own width.
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav {
    overflow: visible;
    max-width: 100vw;
    box-sizing: border-box;
    padding: var(--space-3) var(--space-4);
    gap: 0;
  }
  .nav-logo-svg {
    min-width: 0;
    flex-shrink: 1;
  }
  .logo-sub {
    display: none;
  }
  .logo-name {
    font-size: 0.95rem;
    white-space: nowrap;
  }
  .logo-mark {
    width: 44px;
    height: auto;
    flex-shrink: 0;
  }
  .nav-controls {
    flex-shrink: 0;
    gap: var(--space-3);
    margin-left: auto;
  }
  .nav-hamburger {
    display: flex !important;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

/* ── FIX 2: Flash cards — "BOOK THIS" wraps, wrong color ─────────
   Fix: force single line, smaller font, correct brand color.
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .flash-cta-row a,
  .flash-info .btn,
  .flash-info .btn--sm {
    white-space: nowrap !important;
    font-size: 0.65rem !important;
    padding: var(--space-2) var(--space-3) !important;
    width: 100%;
    text-align: center;
    justify-content: center;
    /* Fix blue color — use brand text color */
    color: var(--color-text) !important;
    border-color: var(--color-border) !important;
    background: transparent !important;
  }
  .flash-info .btn--sm:hover,
  .flash-cta-row a:hover {
    background: var(--color-text) !important;
    color: var(--color-text-inverse) !important;
  }
}

/* ── FIX 3: Art page — 2-col commission section breaks on mobile ─
   Fix: stack to single column below 680px.
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  /* The commission/merch 2-col grid uses inline style — override via context */
  .section .fade-in[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── FIX 4: Hero buttons — VIEW WORK floats awkwardly on mobile ──
   They already flex-wrap, but ghost button needs to be full-width
   and centered on very small screens.
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-v2-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .hero-v2-actions .btn {
    width: auto;
  }
  .hero-v2-actions .btn--ghost {
    padding-left: 0;
    background: none;
  }
}

/* ── FIX 5: Ken Burns — disable on reduced-motion + low-end mobile
   Already handled by prefers-reduced-motion but belt-and-braces.
   ──────────────────────────────────────────────────────────────── */

/* ── FIX 6: Art intro two-col row — inline style override ────────
   The art.html uses a hardcoded inline style grid that can't be
   targeted normally. Add a wrapper class workaround via attribute.
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  /* Target the grid div that follows the art gallery */
  .art-grid + div,
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Art page CTA grid — proper class-based override ────────── */
@media (max-width: 680px) {
  .art-cta-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ════════════════════════════════════════════════════════════════════
   TRAVEL ANNOUNCEMENT BAR
   ════════════════════════════════════════════════════════════════════ */
/* ── Travel Bar — Marquee edition ──────────────────────────────── */

@keyframes travel-bar-in {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes travel-marquee {
  0%   { transform: translateY(-50%) translateX(0); }
  100% { transform: translateY(-50%) translateX(-50%); }
}

@keyframes travel-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

.travel-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 201;
  width: 100%;
  background: #9B7B8A;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  height: 38px;
}

/* Slide-in applied to inner track, not the fixed bar itself (avoids Chrome stacking context bug) */
.travel-bar-track-wrap {
  animation: travel-bar-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

[data-theme="dark"] .travel-bar {
  background: #6B4E5E;
}

/* Shimmer sweep — on a child div to avoid breaking fixed stacking context */
.travel-bar-shimmer {
  position: absolute;
  top: 0; bottom: 0;
  width: 25%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.12) 50%,
    transparent 100%);
  animation: travel-shimmer 4s ease-in-out 1.2s infinite;
  pointer-events: none;
  z-index: 1;
}

/* Fade edges of the scrolling track */
.travel-bar-track-wrap {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  height: 38px;
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%);
  mask-image: linear-gradient(90deg,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%);
}

.travel-bar-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: max-content;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation: travel-marquee 32s linear infinite;
  will-change: transform;
}

.travel-bar-track:hover,
.travel-bar:hover .travel-bar-track {
  animation-play-state: paused;
}

.travel-bar-segment {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.85rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  line-height: 1;
}

.travel-bar-pin {
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.travel-bar-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}

.travel-bar-diamond {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
}

.travel-bar-date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.travel-bar-venue {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.travel-bar-location {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

/* CTA pill — pinned right, outside the scroll track */
.travel-bar-cta {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: #9B7B8A;
  background: #fff;
  text-decoration: none;
  border-radius: 100px;
  padding: 0.4em 1.1em;
  margin: 0 1.25rem 0 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 1px 10px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.15s;
}

.travel-bar-cta:hover {
  background: #F8F5F0;
  color: #6B4E5E;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}

/* ── Mobile: single line ticker, no wrapping ── */
@media (max-width: 640px) {
  .travel-bar {
    height: 36px;
  }
  .travel-bar-track-wrap {
    height: 36px;
  }
  .travel-bar-track {
    animation-duration: 22s;
  }
  .travel-bar-segment {
    gap: 0.55rem;
    padding: 0 1.5rem;
  }
  .travel-bar-headline { font-size: 0.8rem; }
  .travel-bar-date     { font-size: 0.8rem; }
  .travel-bar-venue    { font-size: 0.65rem; letter-spacing: 0.09em; }
  .travel-bar-location { font-size: 0.6rem; }
  .travel-bar-diamond  { font-size: 0.45rem; }
  .travel-bar-cta {
    font-size: 0.58rem;
    padding: 0.3em 0.7em;
    margin: 0 0.6rem 0 0.2rem;
  }
  .travel-bar-track-wrap {
    -webkit-mask-image: linear-gradient(90deg,
      transparent 0%,
      black 5%,
      black 85%,
      transparent 100%);
    mask-image: linear-gradient(90deg,
      transparent 0%,
      black 5%,
      black 85%,
      transparent 100%);
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .travel-bar { animation: none; }
  .travel-bar::after { animation: none; }
  .travel-bar-track { animation: none; }
}

/* ════════════════════════════════════════════════════════════════════
   INSTAGRAM EDITORIAL SECTION
   ════════════════════════════════════════════════════════════════════ */
.ig-section {
  padding: var(--space-20) 0 var(--space-24);
  overflow: hidden;
  position: relative;
}
.ig-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  padding: 0 var(--space-8);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.ig-section-head .section-label { margin-bottom: var(--space-2); display: block; }
.ig-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}
.ig-section-title em { font-style: italic; color: var(--color-primary); }
.ig-follow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  align-self: flex-end;
}
.ig-follow-link:hover { color: var(--color-text); border-color: var(--color-text); }
.ig-follow-link svg { transition: transform 0.2s; }
.ig-follow-link:hover svg { transform: translate(2px, -2px); }

/* Masonry mosaic grid */
.ig-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 3px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}
/* Layout map — 6 cells across 2 rows */
.ig-tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; } /* tall left */
.ig-tile:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; } /* wide top mid */
.ig-tile:nth-child(3) { grid-column: 5 / 7; grid-row: 1 / 2; } /* top right */
.ig-tile:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 3; } /* bottom mid-left */
.ig-tile:nth-child(5) { grid-column: 4 / 6; grid-row: 2 / 3; } /* bottom mid-right wide */
.ig-tile:nth-child(6) { grid-column: 6 / 7; grid-row: 2 / 3; } /* bottom far-right */

.ig-tile {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  cursor: pointer;
}
.ig-tile a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}
.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: saturate(0.92);
}
.ig-tile:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}
/* Overlay */
.ig-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(15% 0.02 30 / 0.65) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  pointer-events: none;
}
.ig-tile:hover .ig-tile-overlay { opacity: 1; }
.ig-tile-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
  letter-spacing: 0.01em;
}
/* Instagram icon badge on hover */
.ig-tile-icon {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.ig-tile:hover .ig-tile-icon { opacity: 1; }
.ig-tile-icon svg { color: white; }

/* Footer strip */
.ig-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-8);
  padding: 0 var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.ig-footer a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.ig-footer a:hover { opacity: 0.7; }
.ig-footer-rule {
  flex: 1;
  height: 1px;
  background: var(--color-border);
  max-width: 120px;
}

/* Placeholder skeleton for tiles without images yet */
.ig-tile-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    var(--color-surface) 0%,
    oklch(from var(--color-primary) l c h / 0.08) 50%,
    var(--color-surface) 100%
  );
  background-size: 200% 200%;
  animation: ig-shimmer 2.5s ease infinite;
}
@keyframes ig-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile responsive */
@media (max-width: 900px) {
  .ig-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 220px);
    padding: 0 var(--space-5);
  }
  .ig-tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
  .ig-tile:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
  .ig-tile:nth-child(3) { grid-column: 1 / 2; grid-row: 2 / 3; }
  .ig-tile:nth-child(4) { grid-column: 2 / 4; grid-row: 2 / 3; }
  .ig-tile:nth-child(5) { grid-column: 1 / 3; grid-row: 3 / 4; }
  .ig-tile:nth-child(6) { grid-column: 3 / 4; grid-row: 3 / 4; }
  .ig-section-head { padding: 0 var(--space-5); }
}
@media (max-width: 600px) {
  .ig-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
    padding: 0 var(--space-4);
    gap: 2px;
  }
  .ig-tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
  .ig-tile:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; }
  .ig-tile:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
  .ig-tile:nth-child(4) { grid-column: 1 / 2; grid-row: 3 / 4; }
  .ig-tile:nth-child(5) { grid-column: 2 / 3; grid-row: 3 / 4; }
  .ig-tile:nth-child(6) { display: none; }
  .ig-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    padding: 0 var(--space-4);
    margin-bottom: var(--space-6);
  }
}

/* ════════════════════════════════════════════════════════════════════
   TRAVEL BAR — NAV OFFSET
   ════════════════════════════════════════════════════════════════════ */

/* Push nav down by bar height */
.site-nav {
  top: var(--travel-bar-h, 38px);
  transition: top 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Push page content down so bar + nav don't cover it */
body {
  padding-top: var(--travel-bar-h, 38px);
}

/* Hero section already offsets for nav — add bar height too */
.hero-v2 {
  margin-top: 0; /* bar + nav offset handled by body padding-top */
}

/* No-bar state: fallback when bar is hidden */
body.no-travel-bar {
  padding-top: 0;
}
body.no-travel-bar .site-nav {
  top: 0;
}

/* Mobile — JS measures actual bar height dynamically */
@media (max-width: 640px) {
  .site-nav {
    top: var(--travel-bar-h, 36px);
  }
  body {
    padding-top: var(--travel-bar-h, 36px);
  }
}


