/* Center subject's face in slide-9 on mobile */
@media (max-width: 600px) {
  .page-a .slide[data-slide='9'] .slide-image {
    object-position: 70% center;
  }
}
.page-a .slide img,
.page-a .slide-media,
.page-a .slide-video {
  filter: brightness(1.05) saturate(1.05) contrast(1.05);
  transition: filter 0.5s var(--transition-smooth);
}

/*=============================================================================
   PHOTOGRAPHY AGENCY WEBSITE STYLESHEET
   Optimized for mobile viewport and full bleed edge-to-edge design
   ============================================================================= */

/* =============================================================================
   CSS CUSTOM PROPERTIES - Enhanced for Mobile Optimization
   ============================================================================= */
:root {
  color-scheme: dark light;

  /* Enhanced viewport unit mapping with better mobile support */
  --vh: 1vh;
  --dynamic-vh: 1vh;
  --vvh: 1vh; /* Visual viewport height for mobile keyboards */
  --safe-area-top: 0px;
  --safe-area-bottom: 0px;
  --hover-color: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --primary-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
  --hover-shadow: 0 8px 32px rgba(255, 255, 255, 0.25);

  /* Soft white glow for gallery hover */
  --glow-soft-1: 0 0 14px rgba(255, 255, 255, 0.42);
  --glow-soft-2: 0 0 32px rgba(255, 255, 255, 0.28);
  --glow-soft-3: 0 0 60px rgba(255, 255, 255, 0.18);
  --gallery-glow: var(--glow-soft-1), var(--glow-soft-2), var(--glow-soft-3);
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: 1px solid rgba(255, 255, 255, 0.8);
  --glass-shadow: 6px 12px 24px rgba(30, 30, 60, 0.6);
  --backdrop-blur: blur(10px);
  --page-overlay-color: rgba(18, 18, 18, 0);
  --page-overlay-fade-color: rgba(18, 18, 18, 0);
  --page-overlay-border: 0;
  --page-overlay-blur: blur(8px);
  --mobile-menu-height: 64px;
  --header-height: clamp(3.5rem, 4.5vw, 4.75rem);
  --header-offset: calc(var(--header-height) + var(--safe-area-top));

  /* Enhanced edge-to-edge spacing */

  --slide-transition-duration: 2s;
  --min-size: 250px;
  --bg: #2b2b2b;
  /* Consistent, modern media corner radius */
  --radius-media: 12px;

  /* Unified icon sizing for header elements */
  --header-icon-size: clamp(1.25rem, 4vw, 1.5rem);
  /* Unified social icon sizing/spacing for header + footer */
  /* Scale UI elements consistently across sizes */
  --social-icon-size: clamp(1.25rem, 3.1vw, 1.5rem);
  --social-icon-gap: clamp(5px, 1vw, 10px);
  /* Footer proportions */
  --footer-icon-size: var(--header-icon-size);
  /* Make logo more prominent and text slightly smaller */
  --footer-text-size: clamp(0.55rem, 1vw, 0.75rem);
  /* Slideshow indicator sizing (proportional to header icons) */
  --indicator-dot-size: var(--header-icon-size);
  --indicator-arrow-size: var(--header-icon-size);
  --scroll-button-size: calc(var(--header-icon-size) * 1.8);
  /* Unified positioning for navigation elements */
  --nav-element-right: clamp(12px, 3vw, 20px);

  /* Page overlay tint: off to match background */
  --page-overlay-opacity: 0;
}

/* Enhanced viewport unit support with fallbacks */
@supports (height: 100svh) {
  :root {
    --vh: 1svh;
  }
}

@supports (height: 100dvh) {
  :root {
    --vh: 1dvh;
  }
}

@supports (height: 100lvh) {
  :root {
    --vh: 1lvh;
  }
}

:root {
  --safe-area-top: 0px;
  --safe-area-bottom: 0px;
}

/* =============================================================================
     REVEAL ANIMATIONS & TRANSITIONS
     ============================================================================= */

/* Soft, Gentle Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll.faded-out {
  opacity: 0;
  transform: translateY(18px);
}

/* Subtle gallery item reveals */
.gallery-photo.reveal-on-scroll,
.gallery-video-thumbnail.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: all 0.7s ease-out;
}

.gallery-photo.reveal-on-scroll.revealed,
.gallery-video-thumbnail.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-photo.reveal-on-scroll.faded-out,
.gallery-video-thumbnail.reveal-on-scroll.faded-out {
  opacity: 0;
  transform: translateY(12px) scale(0.95);
}

.revealable {
  will-change: opacity, transform;
}

/* Gentle text reveals */
.about-intro.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.7s ease-out;
}

.about-intro.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Soft brand logo reveals */
.brand-logos.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px) scale(1.05);
  transition: all 0.65s ease-out;
}

.brand-logos.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.brand-logos.reveal-on-scroll.faded-out {
  opacity: 0;
  transform: translateY(18px) scale(1.02);
}

.brand-logos .logo-grid a {
  --brand-logo-delay: 0s;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(1.1) rotate(-1deg);
  transition: transform 0.45s var(--transition-smooth), opacity 0.45s var(--transition-smooth);
  will-change: transform, opacity;
  pointer-events: none;
}

.brand-logos .logo-grid a:nth-child(1) {
  --brand-logo-delay: 0s;
}

.brand-logos .logo-grid a:nth-child(2) {
  --brand-logo-delay: 0.08s;
}

.brand-logos .logo-grid a:nth-child(3) {
  --brand-logo-delay: 0.16s;
}

.brand-logos .logo-grid a:nth-child(4) {
  --brand-logo-delay: 0.24s;
}

.brand-logos .logo-grid a:nth-child(5) {
  --brand-logo-delay: 0.32s;
}

.brand-logos .logo-grid a:nth-child(6) {
  --brand-logo-delay: 0.4s;
}

.brand-logos .logo-grid a:nth-child(7) {
  --brand-logo-delay: 0.48s;
}

.brand-logos .logo-grid a:nth-child(8) {
  --brand-logo-delay: 0.56s;
}

.brand-logos .logo-grid a:nth-child(9) {
  --brand-logo-delay: 0.64s;
}

.brand-logos .logo-grid a:nth-child(10) {
  --brand-logo-delay: 0.72s;
}

.brand-logos .logo-grid a:nth-child(11) {
  --brand-logo-delay: 0.8s;
}

.brand-logos .logo-grid a:nth-child(12) {
  --brand-logo-delay: 0.88s;
}

.brand-logos .logo-grid a:nth-child(13) {
  --brand-logo-delay: 0.96s;
}

.brand-logos .logo-grid a:nth-child(14) {
  --brand-logo-delay: 1.04s;
}

.brand-logos .logo-grid a:nth-child(15) {
  --brand-logo-delay: 1.12s;
}

.brand-logos.reveal-on-scroll.revealed .logo-grid a {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  pointer-events: auto;
  animation: brandLogoCascade 0.95s cubic-bezier(0.22, 0.85, 0.32, 1) both;
  animation-delay: var(--brand-logo-delay, 0s);
}

@keyframes brandLogoCascade {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.94) rotate(-1deg);
  }
  45% {
    opacity: 1;
    transform: translate3d(0, -3px, 0) scale(1.02) rotate(0deg);
  }
  70% {
    transform: translate3d(0, 1px, 0) scale(0.998) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

/* Gentle staggered delays */
.reveal-on-scroll:nth-child(1) {
  transition-delay: 0s;
}
.reveal-on-scroll:nth-child(2) {
  transition-delay: 0.08s;
}
.reveal-on-scroll:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-on-scroll:nth-child(4) {
  transition-delay: 0.24s;
}
.reveal-on-scroll:nth-child(5) {
  transition-delay: 0.32s;
}
.reveal-on-scroll:nth-child(6) {
  transition-delay: 0.4s;
}

/* Gentle slide transitions */
.slide.transitioning-in {
  transform: translateY(20px);
  opacity: 0.9;
  transition: all 0.6s ease-out;
}

.slide.transitioning-in.active {
  transform: translateY(0);
  opacity: 1;
}

.slide.transitioning-out {
  transform: translateY(-20px);
  opacity: 0.9;
  transition: all 0.6s ease-out;
}

/* Base styles with improved mobile optimization */
* {
  box-sizing: border-box;
}

html {
  /* Prevent horizontal scrolling on mobile */
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  height: auto;
  /* Improve text rendering on mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Enforce section snapping on the root element */
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  padding: 0;
  /* Full bleed layout */
  width: 100vw;
  min-height: calc(var(--dynamic-vh, 1vh) * 100);
  background-color: #2b2b2b;
  overflow-x: hidden;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
  /* Improve touch interactions */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  /* Scroll snapping between primary sections */
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--scroll-snap-offset, 0px);
}

body.disable-scroll-snap {
  scroll-snap-type: none !important;
}

html.no-js .jump-to-b,
html.no-js .scroll-down-btn,
html.no-js .indicators {
  display: none !important;
}

/* =============================================================================
       RESET & BASE STYLES
       ============================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html::-webkit-scrollbar {
  display: none;
}

html {
  background-color: #2b2b2b;
}

body {
  overflow-y: auto;
}

/* ============================
   TYPOGRAPHY SCALE — UNCOMMON ARTISTS
   Tuned to: 40px logo max-height
   Goal: clean hierarchy, proportional scaling
   ============================ */

/* Global base font sizing is configured on html/body above */

h1 {
  font-size: clamp(1.625rem, 2.5vw + 0.5rem, 2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.75em;
}

h2 {
  font-size: clamp(1.375rem, 1.8vw + 0.4rem, 1.75rem);
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 0.65em;
}

h3 {
  font-size: clamp(1.125rem, 1.2vw + 0.35rem, 1.5rem);
  line-height: 1.3;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 0.5em;
}

p {
  font-size: clamp(0.9rem, 0.3vw + 0.85rem, 1.125rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
  max-width: 60ch;
  margin-bottom: 1.2em;
}

small,
.caption {
  font-size: clamp(0.75rem, 0.25vw + 0.7rem, 0.875rem);
  line-height: 1.4;
  opacity: 0.8;
}

.section-title h1,
.section-title h2 {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

:where(h1, h2, h3, p, small) {
  margin-top: 0;
}

main {
  padding-bottom: clamp(6rem, 12vw, 9rem);
}

/* ============ PAGE A: Scroll-driven parallax gallery ============ */
/* =============================================================
     PAGE A SLIDESHOW VISUAL ENHANCEMENTS
  ============================================================= */
.page-a {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(var(--dynamic-vh, 1vh) * 100);
  min-height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background: none !important;
}

.wrapper {
  position: relative;
  width: 100%;
  height: calc(var(--dynamic-vh, 1vh) * 100);
  min-height: 100vh;
}

@supports (height: 100dvh) {
  .wrapper {
    height: 100dvh;
    min-height: 100dvh;
  }

  .page-a,
  .scroll-slides,
  .page-a .slides-wrapper,
  .page-a .slide,
  .page-a .slide-image,
  .page-a .slide-video,
  .page-a .slide img,
  .vidhold,
  .vidhold video {
    height: 100dvh;
    min-height: 100dvh;
  }
}

@supports (height: 100lvh) {
  .page-a,
  .scroll-slides,
  .page-a .slides-wrapper,
  .page-a .slide,
  .page-a .slide-image,
  .page-a .slide-video,
  .page-a .slide img,
  .vidhold,
  .vidhold video {
    height: 100lvh;
    min-height: 100lvh;
  }
}

@supports (height: 100svh) {
  .page-a,
  .scroll-slides,
  .page-a .slides-wrapper,
  .page-a .slide,
  .page-a .slide-image,
  .page-a .slide-video,
  .page-a .slide img,
  .vidhold,
  .vidhold video {
    height: 100svh;
    min-height: 100svh;
  }
}

.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@supports (height: 100dvh) {
  .page {
    min-height: 100dvh;
  }
}

.scroll-slides {
  display: block;
  position: relative;
  width: 100%;
  height: calc(var(--dynamic-vh, 1vh) * 100);
  min-height: 100vh;
}

.page-a .scroll-slides::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 12, 0.48) 0%,
    rgba(5, 5, 12, 0.42) 4%,
    rgba(5, 5, 12, 0.32) 8%,
    rgba(5, 5, 12, 0.24) 12%,
    rgba(5, 5, 12, 0.16) 16%,
    rgba(5, 5, 12, 0.1) 20%,
    rgba(5, 5, 12, 0.06) 24%,
    rgba(5, 5, 12, 0.03) 28%,
    rgba(8, 8, 16, 0.01) 32%,
    rgba(8, 8, 16, 0) 36%,
    rgba(8, 8, 16, 0) 64%,
    rgba(8, 8, 16, 0.01) 68%,
    rgba(5, 5, 12, 0.03) 72%,
    rgba(5, 5, 12, 0.06) 76%,
    rgba(5, 5, 12, 0.1) 80%,
    rgba(5, 5, 12, 0.16) 84%,
    rgba(5, 5, 12, 0.24) 88%,
    rgba(5, 5, 12, 0.32) 92%,
    rgba(5, 5, 12, 0.42) 96%,
    rgba(5, 5, 12, 0.48) 100%
  );
  z-index: 3;
}

.page-a .photo-credit {
  z-index: 5001; /* Higher than the overlay */
}
.slide-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vidhold {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(var(--dynamic-vh, 1vh) * 100);
  min-height: 100vh;
  overflow: hidden;
}

.vidhold video {
  width: 100%;
  height: calc(var(--dynamic-vh, 1vh) * 100);
  min-height: 100vh;
  object-fit: cover;
}

body.page-a-active .page-a {
  pointer-events: auto;
}

.page-a .slides-wrapper {
  position: fixed;
  width: 100%;
  height: calc(var(--dynamic-vh, 1vh) * 100);
  min-height: 100vh;
  background-color: rgba(43, 43, 43, 0.5);
  z-index: 1;
  isolation: isolate;
}

.page-a .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.page-a .slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.page-a .slide-image,
.page-a .slide-video,
.page-a .slide-media,
.page-a .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  transform-origin: center center;
  /* GSAP handles all transforms and transitions */
  will-change: transform, opacity;
}

.page-a .slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  transform-origin: center center;
  /* GSAP handles all transforms and transitions */
  will-change: transform, opacity;
}

.page-a .slide-video {
  /* Removed transitions - GSAP handles all animations */
  will-change: opacity, transform;
}

.page-a .slide-media {
  transform: none;
}

.page-a .slide.active .slide-media {
  animation: none;
}

/* ==============================
   PHOTO CREDIT (Page A) - Refined Glass Design
   ============================== */
.page-a .photo-credit {
  position: fixed;
  left: 16px;
  bottom: 10px;
  z-index: 20;

  display: inline-flex;
  justify-content: flex-start;
  align-items: center;

  /* Refined spacing and sizing */
  padding: 0.2em 0.5em; /* Increased padding for better spacing */
  min-height: 20px;
  height: auto;
  border-radius: var(--radius-media); /* Match the theme's border radius */
  box-sizing: border-box;

  /* allow full text to display and wrap */
  width: auto;
  max-width: none;
  overflow: visible;
  white-space: nowrap; /* Prevent wrapping */

  background: transparent;
  border: none;
  border-radius: var(--radius-media);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.2;
  text-align: center;
  opacity: 1;

  /* GSAP handles transitions */
  will-change: transform, opacity;
}

/* text itself */
.photo-credit-content {
  text-align: left;
  margin-right: 0.4em;

  display: block;
  width: auto;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 0, 0, 0.1);
  white-space: normal;
  font-weight: 400;
  /* Removed uppercase transformation */
  letter-spacing: 0.07em;
  padding: 0;
  font-size: 1.04rem;
  /* Remove global italic and bright color, keep muted and normal weight */
}

.photo-credit-content em {
  font-style: normal;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 0, 0, 0.18),
    0 0px 1px rgba(0, 0, 0, 0.12), 0 2px 12px rgba(0, 0, 0, 0.22);
}

body:not(.page-a-overlay-visible) .page-a .photo-credit {
  opacity: 0;
  pointer-events: none;
}

body.page-a-overlay-visible .page-a .photo-credit {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .page-a .photo-credit {
    left: 50%;
    bottom: calc(var(--scroll-button-size, 56px) + 64px);
    transform: translateX(-50%);
    padding: 0 0.5rem;
    height: clamp(38px, 9vw, 44px);
    border-radius: clamp(10px, 3vw, 14px);
    font-size: 0.85rem;
    justify-content: center;
    text-align: center;
    width: min(98vw, 340px);
    max-width: none;
  }

  .photo-credit-content {
    margin: 0;
    padding: 0;
    font-size: 0.92em;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38), 0 1px 0 rgba(0, 0, 0, 0.18),
      0 0px 1px rgba(0, 0, 0, 0.12);
  }
}

@media (max-width: 480px) {
  .page-a .photo-credit {
    left: 50%;
    bottom: calc(var(--scroll-button-size, 56px) + 58px);
    transform: translateX(-50%);
    width: min(99vw, 280px);
    font-size: 0.8rem;
    padding: 0 0.25rem;
    max-width: none;
  }
  .photo-credit-content {
    font-size: 0.88em;
  }
}

/* spotlight variant - inherits default styling */
.page-a .photo-credit .photo-credit-content.spotlight::before {
  content: none;
}

.indicators {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  padding: 0 4px;
  /* Only show on Page A */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show indicators only when Page A is visible */
.indicators.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Indicator dots container for vertical spacing of dots */
.indicator-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2vw, 10px);
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  outline: none;
  padding: 0;
  display: block;
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  transition: all 0.3s var(--transition-smooth);
}
.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--gallery-glow);
  transform: none;
}
.indicator.active {
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 8px 4px rgba(255, 255, 255, 0.9);
  transform: none;
}
.indicator:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28), 0 0 8px rgba(255, 255, 255, 0.8);
}
/* Arrows - match scroll-down button and menu button */
.indicator-arrow {
  width: var(--indicator-arrow-size);
  height: var(--indicator-arrow-size);
  margin: 10px 0;
  padding: 0;
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.5);
  outline: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  transition: all 0.3s var(--transition-smooth);
}
.indicator-arrow svg {
  width: 70%;
  height: 70%;
  display: block;
}

.indicator-arrow-prev svg {
  transform: rotate(0deg);
}

.indicator-arrow-next svg {
  transform: rotate(0deg);
}
.indicator-arrow:hover {
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: var(--gallery-glow);
  transform: none;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}
.indicator-arrow:hover {
  color: rgba(255, 255, 255, 1);
}
.indicator-arrow:active {
  transform: none;
}
.indicator-arrow:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28), 0 0 8px rgba(255, 255, 255, 0.6);
  border-radius: 4px;
}
.indicator-arrow.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Indicators responsive */
@media (max-width: 640px) {
  .indicators {
    gap: 8px;
    width: 16px;
  }
  .indicator {
    width: 8px;
    height: 8px;
  }
  .indicator-arrow {
    width: var(--indicator-arrow-size);
    height: var(--indicator-arrow-size);
  }
  .hamburger {
    width: 70%;
    height: 70%;
    gap: 3px;
  }
  .hamburger-line {
    width: 80%;
    height: 1px;
  }
}
/* === Consistent semi-transparent dark background with blur for pages B–E === */
.page-stack {
  position: relative;
  top: calc(var(--dynamic-vh, 1vh) * 100);
  z-index: 2;
  isolation: isolate;
  width: 100%;
  margin-top: 0;
  background: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: none;
  border: none;
}

/* --- Mobile: ensure Page B stacks naturally below Page A --- */
@media (max-width: 768px) {
  .page-stack {
    top: auto;
    margin-top: calc(var(--dynamic-vh, 1vh) * 100);
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .page-a,
  .wrapper,
  .page-a .slides-wrapper,
  .page-a .slide {
    height: 100svh;
    min-height: 100svh;
  }
}

.page-stack > .page {
  position: relative;
}

/* Ensure each page section fills the viewport height for a seamless effect */
.page {
  min-height: 100dvh;
}

/* ========== PAGE B: COMBINED ABOUT + BRANDS ========== */
.page-b {
  top: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 8vw, 5rem) var(--viewport-padding);
  box-sizing: border-box;
  width: 100%;
  min-height: calc(var(--vh, 1vh) * 100);
  height: auto;
  padding-top: max(clamp(2rem, 8vw, 5rem), var(--safe-area-top));
  padding-bottom: max(clamp(2rem, 8vw, 5rem), var(--safe-area-bottom));
  color: rgba(255, 255, 255, 0.8);
  z-index: 20;
}

.page-b__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(3rem, 7vw, 5rem);
}

@media (max-width: 640px) {
  .page-b {
    padding: clamp(1.6rem, 6vw, 2.4rem) var(--viewport-padding);
  }

  .page-b__inner {
    gap: clamp(2.2rem, 9vw, 3.4rem);
    align-items: flex-start;
  }

  .page-b .about-intro {
    align-items: flex-start;
    text-align: left;
    gap: clamp(0.8rem, 5vw, 1.6rem);
  }

  .page-b .about-intro p {
    text-align: left;
  }

  .page-b .about-logo-block {
    margin-left: 0;
    margin-right: auto;
    align-items: flex-start;
  }

  .page-b .about-logo-wrapper {
    transform: none;
  }

  .page-b .magazine-gallery {
    margin-top: clamp(1.6rem, 6vw, 2.4rem);
  }
}

/* Magazine gallery as full page section */
.magazine-gallery {
  text-align: left;
  width: 100%;
  max-width: 1200px;
  align-self: stretch;
}

.magazine-marquee {
  position: relative;
  width: 100%;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.magazine-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  animation: marquee-scroll 14s linear infinite;
  will-change: transform;
}

.magazine-marquee:hover .magazine-track,
.magazine-marquee:focus-within .magazine-track {
  animation-play-state: paused;
}

.magazine-item {
  flex: 0 0 clamp(200px, 18vw, 260px);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
  background: transparent;
  padding: clamp(0rem, 1.5vw, 0rem);
}

.magazine-item:hover,
.magazine-item:focus-within {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--glow-soft-1);
  border: 1px solid rgba(255, 255, 255, 1);
}

.magazine-item[aria-hidden='true'] {
  box-shadow: none;
}

.magazine-cover {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease, background 0.4s ease;
}

.magazine-item:hover .magazine-cover,
.magazine-item:focus-within .magazine-cover {
  transform: scale(1.1);
  filter: brightness(1.05) contrast(1.05);
}

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

@media (max-width: 1024px) {
  .magazine-track {
    animation-duration: 10s;
  }
}

@media (max-width: 768px) {
  .magazine-marquee::before,
  .magazine-marquee::after {
    width: clamp(12px, 10vw, 24px);
  }

  .magazine-track {
    animation-duration: 18s;
    min-width: 400vw;
  }

  .magazine-item {
    flex-basis: clamp(200px, 65vw, 320px);
    max-width: 98vw;
    flex-shrink: 0;
  }
  .magazine-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  }
}

/* ========== PAGE C: ========== */
.page-c {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(3.2rem, 8vw, 5rem) var(--viewport-padding);
  box-sizing: border-box;
  width: 100%;
  min-height: calc(var(--vh, 1vh) * 100);
  height: auto;
  padding-top: max(clamp(2rem, 8vw, 5rem), var(--safe-area-top));
  padding-bottom: calc(
    max(clamp(2rem, 8vw, 5rem), var(--safe-area-bottom)) + clamp(3rem, 9vh, 7rem)
  );
  color: rgba(255, 255, 255, 0.9);
  z-index: 15;
  overflow: visible;
  scroll-snap-align: start;
}
.page-c__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(3rem, 8vw, 6rem);
}

/* ========== PAGE D: WHO WE'VE WORKED WITH (BRANDS) ========== */
.page-d {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(3.2rem, 8vw, 5rem) var(--viewport-padding);
  box-sizing: border-box;
  width: 100%;
  min-height: calc(var(--vh, 1vh) * 100);
  height: auto;

  color: rgba(255, 255, 255, 0.8);
  z-index: 25;
}

.page-d__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 6rem);
}

/* Looped section parallax layering */

.loop-section {
  position: relative;
  overflow: hidden;
  --loop-progress: 0.5;
  --loop-spring: cubic-bezier(0.22, 0.61, 0.36, 1);
  background: none;
  scroll-snap-align: start;
}

.loop-section::before {
  display: none;
}

.loop-section > *:first-child {
  position: relative;
  z-index: 2;
  transform: translateY(calc((0.5 - var(--loop-progress, 0.5)) * 95px));
  transition: transform 0.92s var(--loop-spring);
  will-change: transform;
}

.loop-section .stagger-group {
  display: grid;
  gap: clamp(0.8rem, 2vw, 1.4rem);
}

.loop-section .stagger-child {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.97);
  transition: opacity 0.6s var(--loop-spring), transform 0.6s var(--loop-spring);
  will-change: opacity, transform;
}

.loop-section.is-active .stagger-child {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.loop-section.is-active .stagger-child:nth-child(1) {
  transition-delay: 0.08s;
}
.loop-section.is-active .stagger-child:nth-child(2) {
  transition-delay: 0.16s;
}
.loop-section.is-active .stagger-child:nth-child(3) {
  transition-delay: 0.24s;
}
.loop-section.is-active .stagger-child:nth-child(4) {
  transition-delay: 0.32s;
}
.loop-section.is-active .stagger-child:nth-child(5) {
  transition-delay: 0.4s;
}
.loop-section.is-active .stagger-child:nth-child(6) {
  transition-delay: 0.48s;
}

@media (max-width: 900px) {
  .loop-section::before {
    transform: translateY(calc((0.5 - var(--loop-progress, 0.5)) * 70px));
  }

  .loop-section > *:first-child {
    transform: translateY(calc((0.5 - var(--loop-progress, 0.5)) * 48px));
  }
}

/* Page D Logo Grid Styles */
.page-d .logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(0.2rem, 2vw, 1rem);
  row-gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  justify-items: center;
  width: 100%;
  padding: clamp(0.25rem, 2.5vw, 0.75rem);
}
.about-logo-grid {
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.page-d .logo-grid a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 140px;
  height: var(--brand-logo-height, 40px);
  padding: 0.5rem;
  border-radius: 0;
  text-decoration: none;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease,
    color 0.35s ease;
  will-change: transform;
}

.page-d .logo-grid a:hover,
.page-d .logo-grid a:focus-visible {
  background: none;
  border: none;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  color: #fff;
}

.page-d .brand-logo {
  display: block;
  width: 100%;
  height: var(--brand-logo-height, 40px);
  background: currentColor;
  opacity: 0.78;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, filter 0.4s ease,
    background 0.4s ease;
  will-change: transform, opacity, filter;
  -webkit-mask: var(--logo-src) no-repeat center;
  mask: var(--logo-src) no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.page-d .logo-grid a:hover .brand-logo,
.page-d .logo-grid a:focus-visible .brand-logo {
  transform: scale(1.15);
  opacity: 1;
  filter: drop-shadow(0 0 12px var(--glow-soft-1));
  background: currentColor;
}

/* ========== PAGE E: CONTACT (WHERE TO FIND US) ========== */
.page-e {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  color: rgba(255, 255, 255, 0.9);
  --contact-card-scale: 1.01;
  min-height: calc(var(--vh, 1vh) * 100);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(3.2rem, 8vw, 5rem) var(--viewport-padding);
  padding-top: max(clamp(2rem, 8vw, 5rem), var(--safe-area-top));
  padding-bottom: max(clamp(3.2rem, 8vw, 5rem), var(--safe-area-bottom));
  z-index: 30;
  overflow: visible;
  scroll-snap-align: start;
}

.page-e__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3.2vw, 2.4rem);
  position: relative;
  z-index: 1;
  text-align: left;
}

/* ========== CONTACT FORM STYLES (PAGE E ONLY) ========== */
.page-e .contact-card {
  --contact-card-padding-inline: clamp(0.8rem, 2vw, 1.4rem);
  --contact-card-padding-top: clamp(0.4rem, 1.4vw, 0.85rem);
  --contact-card-padding-bottom: clamp(0.4rem, 1.4vw, 0.85rem);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  column-gap: clamp(1rem, 2vw, 1.8rem);
  row-gap: clamp(0.35rem, 1vw, 0.7rem);
  align-items: center;
  justify-items: stretch;
  width: clamp(340px, 52vw, 820px);
  margin: auto;
  padding: var(--contact-card-padding-top) var(--contact-card-padding-inline)
    var(--contact-card-padding-bottom);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(250, 250, 250, 0.88) 32%,
    rgba(236, 236, 236, 0.78) 65%,
    rgba(228, 228, 228, 0.72) 100%
  );
  border-radius: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 48px rgba(15, 15, 15, 0.26), 0 6px 20px rgba(15, 15, 15, 0.16);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth),
    border-color 0.45s var(--transition-smooth), background 0.45s var(--transition-smooth);
}

.page-e .contact-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.6) 28%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 0;
  opacity: 0.78;
  pointer-events: none;
  transition: opacity 0.45s var(--transition-smooth);
}

.page-e .contact-card::after {
  content: '';
  position: absolute;
  top: clamp(0.55rem, 1.9vw, 1.4rem);
  left: clamp(0.9rem, 2.6vw, 2rem);
  right: clamp(2.4rem, 6.4vw, 4.6rem);
  height: clamp(0.35rem, 1vw, 0.7rem);
  border-radius: 999px;
  background: rgba(38, 38, 44, 0.82); /* semitransparent charcoal */
  filter: blur(0.25rem);
  opacity: 0.65;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.45s var(--transition-smooth), transform 0.45s var(--transition-smooth);
}

.page-e .contact-card > * {
  position: relative;
  z-index: 2;
}

.page-e .contact-card:focus-within,
.page-e .contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 28px 64px rgba(10, 10, 10, 0.32), 0 10px 28px rgba(10, 10, 10, 0.22);
}

.page-e .contact-card:focus-within::before,
.page-e .contact-card:hover::before {
  opacity: 0.95;
}

.page-e .contact-card:focus-within::after,
.page-e .contact-card:hover::after {
  opacity: 0.82;
  transform: translateY(-2px);
}

.page-e .contact-left {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.2vw, 0.95rem);
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: left;
  align-self: stretch;
  grid-row: 1 / 2;
  height: auto;
}

.page-e .contact-intro {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.35rem, 0.9vw, 0.7rem);
}

.page-e .contact-logo {
  height: 125px;
  width: auto;
  filter: drop-shadow(0 10px 20px rgba(17, 17, 17, 0.16));
}

.page-e .contact-subhead {
  font-size: clamp(0.75rem, 1.6vw, 1rem);
  font-weight: 600;
  color: rgba(17, 17, 17, 0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

.page-e .contact-tagline {
  display: none;
}

.page-e .contact-team {
  width: 100%;
  text-align: left;
  align-content: center;
  justify-content: center;
  margin-top: clamp(0.3rem, 0.8vw, 0.65rem);
}

.page-e .contact-team h2 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: #333;
}

.page-e .contact-team ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.1vw, 0.75rem);
  align-items: center;
}

.page-e .contact-team li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
  text-align: left;
}

.page-e .contact-team .team-heading {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
}

.page-e .contact-team .team-name {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 600;
  color: rgba(17, 17, 17, 0.82);
}

.page-e .contact-team .team-role {
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  color: rgba(17, 17, 17, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-e .contact-team .team-role::before {
  content: '';
  color: rgba(17, 17, 17, 0.38);
  margin-right: 0.2rem;
}

.page-e .contact-team .team-email {
  font-size: clamp(0.74rem, 1.3vw, 0.9rem);
  color: rgba(17, 17, 17, 0.82);
  align-items: center;
  justify-content: center;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(17, 17, 17, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.page-e .contact-team .team-email:hover,
.page-e .contact-team .team-email:focus-visible {
  color: rgba(17, 17, 17, 1);
  text-decoration-color: rgba(17, 17, 17, 0.65);
}

.page-e .contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(0.35rem, 0.7vw, 0.55rem);
  align-self: stretch;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  grid-row: 1 / 2;
  height: 100%;
}

.page-e .contact-form-wrapper header h2 {
  font-size: 1.16rem;
  margin-bottom: 0;
  color: #111;
}

.page-e .contact-form-wrapper header p {
  font-size: 0.8rem;
  color: #2b2b2b;
  margin: 0;
}

.page-e .contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 0.9vw, 0.6rem);
  width: 100%;
  align-self: stretch;
}

.page-e .form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.05rem;
  color: #111;
}

.page-e .form-field input,
.page-e .form-field textarea {
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
  border: 1px solid rgba(17, 17, 17, 0.4);
  border-radius: 14px;
  padding: 0.6rem 0.95rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: #111;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-e .form-field input:focus,
.page-e .form-field textarea:focus {
  outline: none;
  border-color: rgba(17, 17, 17, 0.5);
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.92);
}

.page-e .form-field input:focus-visible,
.page-e .form-field textarea:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.45);
  outline-offset: 2px;
}

.page-e .form-field input::placeholder,
.page-e .form-field textarea::placeholder {
  color: rgba(17, 17, 17, 0.4);
}

.page-e .form-field textarea {
  resize: vertical;
  min-height: 72px;
}

.page-e .checkbox-field {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.3;
}

.page-e .checkbox-field input[type='checkbox'] {
  width: auto;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.page-e .checkbox-field label {
  margin: 0;
  color: rgba(255, 255, 255, 1);
}

.page-e .privacy-link {
  color: rgba(17, 17, 17, 0.82);
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 17, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.page-e .privacy-link:hover,
.page-e .privacy-link:focus-visible {
  color: rgba(17, 17, 17, 1);
  text-decoration-color: rgba(17, 17, 17, 0.65);
}

.page-e .submit-button {
  background: linear-gradient(135deg, rgba(43, 43, 43, 0.5), rgba(26, 26, 26, 0.7));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: clamp(0.2rem, 1vw, 0.5rem) clamp(1rem, 2vw, 1.4rem);
  font-size: 0.5rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.28);
}

.page-e .submit-button:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  box-shadow: 0 22px 42px rgba(17, 17, 17, 0.32);
  border-color: rgba(17, 17, 17, 0.35);
  color: rgba(17, 17, 17, 0.4);
}

.page-e .submit-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.page-e .form-success {
  display: none;
  color: #2b2b2b;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.page-e .contact-card-tagline {
  display: none;
}

/* Additional form styling to ensure complete functionality */
.page-e .contact-form-wrapper header h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  color: #111;
  margin-bottom: 0.5rem;
}

.page-e .contact-form-wrapper header {
  margin-bottom: clamp(0.6rem, 1.2vw, 1rem);
}

.page-e .form-field {
  display: flex;
  flex-direction: column;
}

.page-e .checkbox-field {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.3;
  margin-top: 0.1rem;
}

.page-e .checkbox-field input[type='checkbox'] {
  width: auto;
  min-width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: #2b2b2b;
}

.page-e .checkbox-field label {
  font-size: 0.8rem;
  font-weight: 400;
  margin: 0;
  color: #555;
  cursor: pointer;
}

.page-e .submit-button {
  margin-top: 0.5rem;
}

.page-e .form-success {
  background: #e8f5e8;
  border: 1px solid #4caf50;
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 1rem;
  font-weight: 500;
}

.page-e .form-success.show {
  display: block;
}

/* Page-level section title styling for page-e */
/* Mobile responsive styles for contact form */
@media (max-width: 768px) {
  .page-e {
    justify-content: flex-start;
    padding: clamp(1.3rem, 5vw, 2.4rem) var(--viewport-padding) clamp(4rem, 14vh, 6.5rem);
    overflow-y: auto;
    min-height: calc(var(--vvh, var(--vh, 1vh)) * 100);
  }

  .page-e__inner {
    width: 100%;
    align-items: flex-start;
    gap: clamp(1.8rem, 6vw, 2.8rem);
  }

  .page-e .contact-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    text-align: left;
    align-items: stretch;
    padding: clamp(1.6rem, 6vw, 2.4rem);
    row-gap: clamp(1.2rem, 4vw, 2rem);
    max-height: none;
    overflow: hidden;
    margin: clamp(1.2rem, 6vw, 2.2rem) auto clamp(2.2rem, 8vh, 3.2rem);
    align-self: stretch;
    width: min(100%, 98vw);
    background: linear-gradient(160deg, #232323 0%, #2b2b2b 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32), 0 2px 8px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f3f3f3;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1rem;
  }

  .page-e .contact-form-wrapper {
    order: 2;
    grid-row: auto;
    height: auto;
    align-items: stretch;
    background: none;
    box-shadow: none;
  }

  .page-e .contact-left {
    order: 1;
    margin-bottom: 0.6rem;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-right: 0;
    grid-row: auto;
    height: auto;
    gap: 0.8rem;
  }

  .page-e .contact-form-wrapper header {
    text-align: left;
    margin-bottom: 1.2rem;
  }

  .page-e .contact-form {
    max-width: none;
  }

  .page-e .submit-button {
    width: 100%;
    align-self: stretch;
  }

  .page-e .contact-intro {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(0.5rem, 1.2vw, 1rem);
    color: #eaeaea;
    font-size: 0.98rem;
  }
}

.page-e .contact-card-tagline {
  text-align: left;
  padding-top: clamp(1.2rem, 4vw, 1.8rem);
  grid-row: auto;
}

@media (max-width: 480px) {
  .page-e .contact-card {
    padding: clamp(0.9rem, 4vw, 1.4rem);
  }

  .page-e .contact-form {
    gap: clamp(0.55rem, 2.4vw, 0.75rem);
  }

  .page-e .contact-form-wrapper {
    gap: clamp(0.45rem, 1.8vw, 0.7rem);
  }
}

/* Section Titles - consistent across all pages */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  text-align: center;
  margin: clamp(2.8rem, 5vw, 3.8rem) auto clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
}

/* Creative spotlight treatment shared across highlights */
.spotlight {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.12em 0.4em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: none;
  color: rgba(18, 18, 20, 0.92);
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.45s ease, box-shadow 0.45s ease, color 0.45s ease,
    opacity 0.45s ease;
}

.spotlight:not([data-has-markup]) {
  color: transparent;
}

.spotlight:not([data-has-markup])::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  mix-blend-mode: destination-out;
}

.spotlight[data-has-markup]::before {
  content: none;
}

.section-title .spotlight {
  font-weight: 900;
  text-transform: uppercase;
  margin-right: 0.4em;
  display: inline-block;
}

/* Section-specific overrides (optional for contrast consistency) */
.page-c .section-title .spotlight,
.page-e .section-title .spotlight {
  background: rgba(255, 255, 255, 0.7);
}

@supports ((-webkit-mask-clip: text) or (mask-clip: text)) {
  .spotlight:not([data-has-markup]) {
    background: rgba(255, 255, 255, 0.74);
    color: transparent;
    -webkit-text-fill-color: transparent;
    mix-blend-mode: normal;
    isolation: auto;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-clip: padding-box, text;
    mask-clip: padding-box, text;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;
    -webkit-mask-size: 100% 100%, 100% 100%;
    mask-size: 100% 100%, 100% 100%;
  }

  .spotlight:not([data-has-markup])::before {
    content: none;
  }

  .page-c .section-title .spotlight,
  .page-e .section-title .spotlight {
    background: rgba(255, 255, 255, 0.74);
  }
}

.spotlight[data-has-markup] {
  background: rgba(255, 255, 255, 0.9);
  color: rgba(18, 18, 20, 0.92);
  -webkit-text-fill-color: rgba(18, 18, 20, 0.92);
}

@media (max-width: 768px) {
  .section-title {
    text-align: center;
    justify-content: center;
    align-self: center;
  }
}
/* About section title styling - using standard section-title styling */

/* Magazine section title styling - using standard section-title styling */

/* Brand logos section title styling - using standard section-title styling */

/* Contact section title styling - using standard section-title styling */
.page-b .about-intro {
  --about-block-width: clamp(260px, 46vw, 480px);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: clamp(0.5rem, 4vw, 2.5rem);
  text-align: center;
  align-self: center;
}

/* The section-title will follow global styles; no local overrides here. */

.page-b .about-logo-block {
  width: 100%;
  max-width: clamp(240px, 48vw, 460px);
  margin: 0 auto clamp(0.6rem, 2.8vw, 1.6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.25rem, 1.4vw, 0.9rem);
}
@media (max-width: 540px) {
  .page-b .about-logo-block,
  .page-b .about-logo-wrapper {
    max-width: clamp(260px, 82vw, 420px);
  }

  .page-b .about-logo-wrapper {
    transform: scale(1.045);
  }
}

.page-b .about-logo-wrapper {
  position: relative;
  width: 100%;
  max-width: clamp(240px, 48vw, 460px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transform: scale(0.995);
  transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1), filter 0.6s ease;
}

.page-b .about-logo-wrapper.is-animating {
  transform: scale(0.99);
}

.page-b .about-logo-wrapper.about-logo-animated {
  transform: scale(1);
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.12));
}

.page-b .about-logo {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.page-b .about-logo path {
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: stroke-dashoffset 0.95s cubic-bezier(0.4, 0, 0.2, 1), fill 0.45s ease 0.25s,
    stroke 0.45s ease 0.25s, opacity 0.45s ease;
}

.page-b .about-logo path.drawing {
  stroke: #ffffff;
  opacity: 1;
}

.page-b .about-logo path.filled {
  fill: currentColor;
  stroke: transparent;
  stroke-dashoffset: 0;
  opacity: 1;
}

.about-logo-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}

.about-logo-sparkles.active {
  opacity: 1;
}

.about-logo-sparkles .sparkle {
  position: absolute;
  width: clamp(0.45rem, 1.4vw, 1rem);
  height: clamp(0.45rem, 1.4vw, 1rem);
  transform: scale(0) rotate(-15deg);
  opacity: 0;
  mix-blend-mode: screen;
}

.about-logo-sparkles .sparkle::before,
.about-logo-sparkles .sparkle::after {
  content: '';
  position: absolute;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0)
  );
  border-radius: 999px;
}

.about-logo-sparkles .sparkle::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.about-logo-sparkles .sparkle::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.about-logo-sparkles .sparkle--left {
  top: 18%;
  left: 12%;
}

.about-logo-sparkles .sparkle--right {
  bottom: 22%;
  right: 14%;
}

.about-logo-sparkles .sparkle--burst {
  top: 48%;
  right: 28%;
  width: clamp(0.7rem, 2vw, 1.35rem);
  height: clamp(0.7rem, 2vw, 1.35rem);
}

.about-logo-sparkles.active .sparkle {
  animation: logo-sparkle-pop 1.88s cubic-bezier(0.58, 0.18, 0.18, 1.08) forwards;
}

.page-b .about-logo-sparkles.active .sparkle {
  animation: logo-sparkle-pop 2.18s cubic-bezier(0.58, 0.18, 0.18, 1.08) forwards,
    logo-sparkle-glow 2s ease-in-out forwards;
}

@keyframes logo-sparkle-glow {
  0% {
    filter: brightness(1.12) drop-shadow(0 0 24px rgba(255, 255, 255, 0.6));
  }
  35% {
    filter: brightness(1.8) drop-shadow(0 0 48px rgba(255, 255, 255, 0.85));
  }
  60% {
    filter: brightness(2.35) drop-shadow(0 0 58px rgba(255, 255, 255, 0.95));
  }
  80% {
    filter: brightness(1.7) drop-shadow(0 0 40px rgba(255, 255, 255, 0.75));
  }
  100% {
    filter: brightness(1.2) drop-shadow(0 0 24px rgba(255, 255, 255, 0.62));
  }
}

.about-logo-sparkles.active .sparkle:nth-child(2) {
  animation-delay: 0.12s;
}

.about-logo-sparkles.active .sparkle:nth-child(3) {
  animation-delay: 0.28s;
  animation-duration: 1.9s;
}

@keyframes logo-sparkle-pop {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  18% {
    transform: scale(0.76) rotate(50deg);
    opacity: 0.58;
  }
  34% {
    transform: scale(1.24) rotate(118deg);
    opacity: 1;
  }
  48% {
    transform: scale(1.02) rotate(182deg);
    opacity: 0.94;
  }
  64% {
    transform: scale(1.26) rotate(246deg);
    opacity: 0.85;
  }
  82% {
    transform: scale(1.05) rotate(312deg);
    opacity: 0.7;
  }
  100% {
    transform: scale(0) rotate(360deg);
    opacity: 0;
  }
}

.page-b .about-logo-subhead {
  font-size: clamp(0.82rem, 0.64rem + 0.62vw, 1.2rem);
  letter-spacing: clamp(0.18em, 0.15em + 0.25vw, 0.32em);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  display: block;
  text-align: center;
  width: 100%;
  max-width: 100%;
  line-height: 1.4;
  white-space: nowrap;
}

.page-b .about-intro p {
  font-size: clamp(0.94rem, 1.35vw, 1.22rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto;
  text-align: center;
  text-align-last: center;
  max-width: 1200px;
  padding: 0 clamp(0.5rem, 1.6vw, 1rem);
}

@media (min-width: 900px) {
  .page-b .about-intro {
    text-align: center;
    align-items: center;
  }

  .page-b .about-intro p {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .page-b .about-intro p {
    font-size: clamp(0.82rem, 2.8vw, 0.94rem);
    max-width: min(100%, 40ch);
    padding: 0 clamp(0.4rem, 4vw, 0.9rem);
  }

  .scroll-down-btn:hover {
    /* keep horizontal centering and only scale on hover for small screens */
    transform: translateX(-50%) translateY(-8px);
  }
}

@media (max-width: 899px) {
  .page-b .about-intro {
    border-bottom: 1px solid rgba(43, 43, 43, 0.18);
    padding-bottom: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
  }
}

@media (max-width: 900px) {
  .page-c {
    --contact-card-scale: 1;
  }
}

@media (max-width: 640px) {
  .page-b {
    padding: 3rem 1.5rem;
  }
}

.hidden {
  display: none;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fullscreen {
  /* Fallbacks → modern: last wins */
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  height: var(--vvh, calc(var(--vh, 1vh) * 100));
}

/* =============================================================================
       HEADER & NAVIGATION
       ============================================================================= */
#global-header,
global-header {
  position: relative;
  display: block;
  width: 100%;
  min-height: var(--header-offset, var(--header-height));
}

body.home #global-header,
body.home global-header {
  min-height: 0;
  height: 0;
}

/* Restored global-header styles */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4000;
  background: #2b2b2b;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--transition-smooth),
    backdrop-filter 0.35s var(--transition-smooth),
    -webkit-backdrop-filter 0.35s var(--transition-smooth),
    box-shadow 0.35s var(--transition-smooth), border-color 0.35s var(--transition-smooth);
}

.global-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45), 0 12px 32px rgba(255, 255, 255, 0.18),
    0 0 26px rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* Elevate header above overlay when menu is open, but only the button remains interactive */
body.menu-open .global-header {
  z-index: 5002;
  pointer-events: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
body.menu-open .global-header .menu-btn {
  pointer-events: auto;
}

body.home .global-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.home .global-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45), 0 12px 32px rgba(255, 255, 255, 0.18),
    0 0 26px rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 10;
  padding: var(--viewport-edge-gap) clamp(12px, 3vw, 20px);
}

/* Fade header elements in once injected */
body:not(.header-ready) .global-header,
body:not(.header-ready) .header-content > *,
body:not(.header-ready) .menu-btn {
  opacity: 0;
}

body.header-ready .global-header {
  animation: logoFadeIn 0.55s ease forwards;
  animation-fill-mode: both;
}

body.header-ready .header-content > * {
  animation: logoFadeIn 0.65s ease forwards;
  animation-fill-mode: both;
}

body.header-ready .header-content > *:nth-child(1) {
  animation-delay: 0.05s;
}
body.header-ready .header-content > *:nth-child(2) {
  animation-delay: 0.1s;
}
body.header-ready .header-content > *:nth-child(3) {
  animation-delay: 0.15s;
}

/* Header/footer entrance animation helpers */

/* Header Social Icons */
/* Header Social Icons: Unified white glow using text-shadow and drop-shadow */
.header-social {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 10;
  padding-left: 16px;
  gap: 0.5rem;
  text-decoration: none;
  height: 100%;
  grid-column: 1;
  justify-self: flex-start;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s, opacity 0.3s, text-shadow 0.3s;
  text-shadow: none;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  text-decoration: none; /* prevent underline on header icons */
}

.header-social .social-icon-link {
  width: calc(var(--header-icon-size) * 0.9);
  height: var(--header-icon-size) * 0.9;
  font-size: calc(var(--header-icon-size) * 0.9);
  line-height: 1;
  justify-content: center;
}

.header-social .social-icon-link > * {
  display: block;
  line-height: 1;
}

.header-social .social-icon-link svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  fill: none;
  transition: stroke 0.3s ease, filter 0.3s ease;
}

.header-social .social-icon-link:hover,
.header-social .social-icon-link:focus {
  color: #ffffff;
}

.header-social .social-icon-link:hover svg,
.header-social .social-icon-link:focus svg {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.55))
    drop-shadow(0 0 32px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 56px rgba(255, 255, 255, 0.28));
}

/* Unified hover/focus glow for social icon links */
.social-icon-link:hover,
.social-icon-link:focus {
  color: #fff;
  opacity: 1;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.45), 0 0 38px rgba(255, 255, 255, 0.25);
  text-decoration: none; /* keep underline off on hover/focus */
}

/* Logo */
/* Ensure .logo-center always displays */
.logo-center {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  z-index: 10;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  justify-self: center;
}

/* Logo SVG unified white glow */
.logo-center svg {
  height: clamp(1.2rem, 4vw, 1.7rem);
  width: auto;
  max-height: none;
  max-width: none;
  fill: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  outline: none;
  /* Soft, consistent hover transition like other header elements */
  transition: filter 0.3s var(--transition-smooth), fill 0.3s var(--transition-smooth),
    opacity 0.3s var(--transition-smooth);
}

.logo-center svg:hover {
  fill: rgba(255, 255, 255, 1);
  /* Match the gentle glow of social icons */
  filter: drop-shadow(0 6px 18px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 40px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 76px rgba(255, 255, 255, 0.6));
  opacity: 1;
}

/* Desktop Navigation */
.nav-container {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 720px;
  padding-right: 96px; /* clear space from fixed menu button on the right */
  padding-left: 0;
  grid-column: 3;
  justify-self: flex-end;
}

.nav-container.visible {
  opacity: 1;
  visibility: visible;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.nav-links > li > a {
  color: rgba(255, 255, 255, 0.85); /* match profile-nav base */
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: none;
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.6);
  paint-order: stroke fill;
  transition: all 0.2s ease;
  padding: 0.25em 0.75em;
  border-radius: 2em;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links > li > a.contact-link {
  text-transform: uppercase;
}

.nav-links > li > a:hover,
.nav-links > li > a:focus {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 0 8px rgba(255, 255, 255, 0.35);
}

/* Active state glow to mirror profile-nav */
.nav-links > li > a.active {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34), 0 0 10px rgba(255, 255, 255, 0.4);
}

body.press-page .nav-links > li > a.collab-link {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34), 0 0 10px rgba(255, 255, 255, 0.4);
}

body.press-page .mobile-nav a[href='about.html'] {
  color: #fff;
}

/* Navigation Animation */
.nav-links > li {
  display: flex;
  align-items: center;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav-container.visible .nav-links > li {
  transform: translateY(0);
  opacity: 1;
}

.nav-container.visible .nav-links > li:nth-child(1) {
  transition-delay: 0.06s;
}
.nav-container.visible .nav-links > li:nth-child(2) {
  transition-delay: 0.12s;
}
.nav-container.visible .nav-links > li:nth-child(3) {
  transition-delay: 0.18s;
}
.nav-container.visible .nav-links > li:nth-child(4) {
  transition-delay: 0.24s;
}
.nav-container.visible .nav-links > li:nth-child(5) {
  transition-delay: 0.3s;
}

/* Dropdown Menus */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: none;
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.85);
  paint-order: stroke fill;
  transition: all 0.2s ease;
  padding: 0.25em 0.75em;
  border-radius: 2em;
  background: none;
  display: inline-block;
  cursor: pointer;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 0 8px rgba(255, 255, 255, 0.35);
}

.dropdown-toggle.active {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34), 0 0 10px rgba(255, 255, 255, 0.4);
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.5rem;
  padding: 2rem;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  list-style: none;
  z-index: 100;
  box-shadow: inset 1px 1px 1px 0 rgba(255, 255, 255, 0.5),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
}

.dropdown.active .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu {
  position: relative;
  margin-bottom: 1rem;
}

.submenu-toggle {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* separator */
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  position: relative;
}

.submenu-toggle:hover,
.submenu-toggle:focus {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 0 8px rgba(255, 255, 255, 0.35);
}

.submenu-toggle.active {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34), 0 0 10px rgba(255, 255, 255, 0.4);
}

.submenu ul {
  list-style: none;
  padding-left: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.submenu.active ul {
  max-height: 300px;
}

.submenu ul li {
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition-delay: calc(0.05s * var(--item-index, 0));
}

.submenu.active ul li {
  opacity: 1;
  transform: translateX(0);
}

.submenu ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  padding: 0.25rem 0.5rem;
  display: block;
  border-radius: 0.5rem;
}

.submenu ul li a:hover,
.submenu ul li a:focus {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 0 8px rgba(255, 255, 255, 0.35);
}

.submenu ul li a.active {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34), 0 0 10px rgba(255, 255, 255, 0.7);
}

/* Menu Button - styled like scroll-down button */
.menu-btn {
  /* Match scroll-down button styling exactly */
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;

  /* Size matching header icons for proportional scaling */
  width: var(--header-icon-size);
  height: var(--header-icon-size);

  /* Layout & positioning */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: fixed;
  right: var(--nav-element-right);
  top: clamp(6px, 1.4vh, 14px);

  /* Backdrop blur like scroll-down button */
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);

  /* Transitions like scroll-down button */
  transition: all 0.3s var(--transition-smooth);
  z-index: 5001;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  /* Match 70% scaling of SVG elements in other buttons */
  width: 70%;
  height: 70%;
  position: relative;
}

/* Hamburger menu lines with white glow/stroke effect */
/* Hamburger lines: unify with menu-line and social icons, remove redundant styles */
.hamburger-line {
  /* Use relative width to scale with container */
  width: 80%;
  height: 1px;
  border-radius: 1px;
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  margin: 0;
  transform-origin: center;
  transition: background-color 0.28s ease, transform 0.3s ease, opacity 0.3s ease;
}

/* Menu button hover - match scroll down button exactly */
.menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--gallery-glow);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

.menu-btn:hover .hamburger-line {
  background-color: rgba(255, 255, 255, 1);
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
}

.menu-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28), 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Hamburger open (X) state: align lines as X and hide middle */
/* Clean centered X formation for two-line hamburger */
.hamburger.open {
  gap: 0;
}
.hamburger.open .hamburger-line {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform-origin: center;
}
.hamburger.open .hamburger-line:first-child,
.hamburger.open .line1 {
  transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger.open .hamburger-line:last-child,
.hamburger.open .line3 {
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* Ensure second line remains visible for two-line markup */

/* Enhanced mobile menu overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: calc(var(--vvh, var(--vh, 1vh)) * 100);
  z-index: 4000;
  background: rgba(43, 43, 43, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-smooth);
  display: grid;
  align-items: center;
  justify-items: center;
  margin: 0;
  padding: 16px;
}

.mobile-overlay.visible {
  transform: translateX(0);
  z-index: 4000;
}

.mobile-menu-svg {
  position: static;
  width: min(84vw, 560px);
  max-height: 70vh;
  height: auto;
  display: block;
  fill: rgba(255, 255, 255, 0.1);
  filter: blur(2.5px) brightness(0.85) grayscale(0.2);

  stroke-width: 0.5px;
  stroke: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 3999;
  transform: none;
  align-self: center;
  justify-self: center;
  grid-row: 1;
  grid-column: 1;
}

@media (max-height: 520px) {
  .mobile-menu-svg {
    width: min(78vw, 480px);
    max-height: 55vh;
  }
}

.mobile-content {
  padding: 2rem 1rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Prefer modern viewport caps for mobile menu artwork */
@supports (height: 100svh) {
  .mobile-menu-svg {
    max-height: 70svh;
  }
  @media (max-height: 520px) {
    .mobile-menu-svg {
      max-height: 55svh;
    }
  }
}
@supports (height: 100dvh) {
  .mobile-menu-svg {
    max-height: 70dvh;
  }
  @media (max-height: 520px) {
    .mobile-menu-svg {
      max-height: 55dvh;
    }
  }
}

.mobile-content {
  padding: 2rem 1rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 41;
  transform: none;
}

/* Content remains centered; no lateral offset when opening */

.mobile-nav {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* center vertically */
  padding: 1.5rem 1rem; /* balanced padding */
  margin: 0 auto; /* ensure horizontal centering */
  z-index: 2;
  grid-row: 1;
  grid-column: 1;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center; /* center horizontally */
  justify-content: center; /* center vertically within nav */
  gap: 0.75rem;
  text-align: center;
}

.mobile-nav-item {
  position: relative;
  z-index: 19;
  transform: translate3d(24px, 12px, 0);
  opacity: 0;
  transition: transform 0.35s ease-out, opacity 0.35s ease-out;
  will-change: transform, opacity;
  width: 100%;
  text-align: center;
}

.mobile-overlay.visible .mobile-nav-item {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.mobile-overlay.visible .mobile-nav-item:nth-child(1) {
  transition-delay: 0.06s;
}

.mobile-overlay.visible .mobile-nav-item:nth-child(2) {
  transition-delay: 0.12s;
}

.mobile-overlay.visible .mobile-nav-item:nth-child(3) {
  transition-delay: 0.18s;
}

.mobile-overlay.visible .mobile-nav-item:nth-child(4) {
  transition-delay: 0.24s;
}

.mobile-nav-link {
  display: block;
  width: 100%;
  padding: 1rem;
  line-height: 1.1;
  font-size: clamp(1.2rem, 5vw, 1.45rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.18);
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.75);
  paint-order: stroke fill;
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.18s ease;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center;
  border-radius: 2rem;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.65), 0 0 16px rgba(255, 255, 255, 0.35);
  transform: scale(1.02);
}

/* Active state (open dropdown item or explicitly active link) */
.mobile-nav-item.active > .mobile-nav-link,
.mobile-nav-link.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.mobile-dropdown {
  margin-top: 0;
  padding: 0;
  border: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.28s ease;
  opacity: 0;
}

.mobile-nav-item.active .mobile-dropdown {
  max-height: 500px;
  opacity: 1;
  margin-top: 1rem;
  padding: 1rem;
}

.mobile-submenu {
  margin-bottom: 1.5rem;
}

.mobile-submenu-title {
  font-size: clamp(1.05rem, 4.4vw, 1.25rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  padding-bottom: 0; /* remove separator */
  border-bottom: none; /* remove separator */
  cursor: pointer;
  position: relative;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.18);
  -webkit-text-stroke: 0.2px rgba(0, 0, 0, 0.7);
  paint-order: stroke fill;
}

.mobile-submenu-title:hover,
.mobile-submenu-title:focus {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
}

.mobile-submenu ul {
  list-style: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.32s ease, opacity 0.24s ease;
}

.mobile-submenu ul li {
  margin-bottom: 0.5rem;
  transform: translateX(0);
  opacity: 1;
}

.mobile-submenu ul li a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: clamp(0.92rem, 3.6vw, 1.05rem);
  font-weight: 500;
  padding: 0.5rem;
  display: block;
  border-radius: 0.75rem;
  transition: color 0.18s ease, text-shadow 0.18s ease, transform 0.22s ease;
  will-change: transform;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.15);
  -webkit-text-stroke: 0.2px rgba(0, 0, 0, 0.65);
  paint-order: stroke fill;
}

.mobile-submenu ul li a:hover,
.mobile-submenu ul li a:focus {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.55);
  transform: scale(1.02);
}

/* Active mobile submenu reveals its list */
.mobile-submenu.active ul {
  max-height: 600px;
  opacity: 1;
}

/* mobile social links removed (icons available in footer) */

/* Navigation controls */
.nav-controls {
  position: absolute;
  top: 50%;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: auto;
  /* This allows clicks to pass through the container to other elements */
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 3rem;
  color: white;
  cursor: pointer;
  transition: background-color 200ms ease;
  pointer-events: auto;
  /* Ensures buttons are clickable */
  z-index: 9999;
  /* Higher than parent to ensure clickability */
}

.nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.4);
  outline: 2px solid white;
}

.nav-btn:focus {
  background-color: rgba(255, 255, 255, 0.5);
}

.nav-btn svg polyline {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.nav-btn:hover svg polyline,
.nav-btn:focus-visible svg polyline {
  opacity: 1;
}

/* =============================================================================
       PROFILE & GALLERY
       ============================================================================= */

/* Scroll button styled exactly like indicator arrows */
.jump-to-b,
.scroll-down-btn {
  position: fixed;
  bottom: clamp(10px, 5vh, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: var(--scroll-button-size);
  height: var(--scroll-button-size);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--transition-smooth);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  /* Respect safe areas */
  margin-bottom: 0;
  /* Better touch target - minimum proportional to base size */
  min-width: calc(var(--header-icon-size) * 0.75);
  min-height: calc(var(--header-icon-size) * 0.75);
}

.jump-to-b {
  right: var(--nav-element-right);
  left: auto;
  transform: translate3d(0, 0, 0);
  z-index: 210;
  cursor: pointer;
  outline: none;
}

.scroll-down-btn {
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  outline: none;
}
/* Scale the inner SVG to leave some padding inside the dot */
.jump-to-b svg,
.scroll-down-btn svg {
  width: 70%;
  height: 70%;

  display: block;
}
/* Unified hover effect - matches menu button and indicator arrows */
.jump-to-b:hover,
.jump-to-b:focus-visible,
.scroll-down-btn:hover,
.scroll-down-btn:focus-visible,
.scroll-down-btn.scroll-up:hover,
.scroll-down-btn.scroll-up:focus-visible {
  background: rgba(255, 255, 255, 0);
  color: rgba(255, 255, 255, 1);
  box-shadow: var(--gallery-glow);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
}

.jump-to-b:hover,
.jump-to-b:focus-visible {
  transform: translateY(-8px);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
}
.jump-to-b:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28), var(--gallery-glow);
}
.scroll-down-btn:hover,
.scroll-down-btn:focus-visible {
  transform: translateX(-50%) translateY(-8px);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
}
.scroll-down-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28), var(--gallery-glow);
}
/* Rotate the arrow SVG when at bottom (class swapped in JS) to point upward */
.scroll-down-btn svg {
  transition: transform 0.3s ease;
  transform: rotate(0deg); /* Default down arrow */
}

.scroll-down-btn.scroll-up svg {
  transform: rotate(180deg); /* Upward rotation when at bottom */
}

.scroll-down-btn.scroll-up {
  background: rgba(255, 255, 255, 0);
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.5);
}

.jump-to-b svg,
.scroll-down-btn svg {
  transition: transform 0.3s ease;
}

.jump-to-b svg:hover,
.scroll-down-btn svg:hover {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

#global-footer,
global-footer {
  position: static;
  width: 100%;
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(1.5rem, 4vw, 2.4rem) clamp(2rem, 6vw, 3rem);
  margin-top: auto;
}

#global-footer::before,
global-footer::before {
  display: none;
}

#global-footer .footer-content,
global-footer .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.2rem, 4vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

#global-footer .footer-brand,
global-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#global-footer .footer-brand span:last-child,
global-footer .footer-brand span:last-child {
  font-size: clamp(0.72rem, 1vw, 0.85rem);
  letter-spacing: 0.28em;
  opacity: 0.85;
}

#global-footer .footer-links,
global-footer .footer-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: clamp(0.78rem, 1.2vw, 0.98rem);
}

#global-footer .footer-links a,
global-footer .footer-links a {
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

#global-footer .footer-links a:hover,
#global-footer .footer-links a:focus-visible,
global-footer .footer-links a:hover,
global-footer .footer-links a:focus-visible {
  color: #ffffff;
}

@media (max-width: 768px) {
  #global-footer,
  .site-footer global-footer {
    padding: clamp(1.4rem, 5vw, 2.2rem) clamp(1.4rem, 6vw, 2.6rem);
  }

  #global-footer .footer-content,
  global-footer .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  #global-footer .footer-links,
  global-footer .footer-links {
    flex-wrap: wrap;
    gap: 0.7rem 1.4rem;
  }
}

/* Page-specific scroll button styling */
.page-b .scroll-down-btn,
.page-d .scroll-down-btn {
  /* Light pages (about, brands) - darker button for better visibility */
  background: rgba(43, 43, 43, 0.1);
  border: 1px solid rgba(43, 43, 43, 0.3);
  color: rgba(43, 43, 43, 0.7);
}

.page-b .scroll-down-btn:hover,
.page-d .scroll-down-btn:hover {
  background: rgba(43, 43, 43, 0.2);
  color: rgba(43, 43, 43, 0.9);
  box-shadow: 0 0 20px rgba(43, 43, 43, 0.3);
  transform: translateX(-50%) translateY(-8px);
}

.page-c .scroll-down-btn {
  /* Dark pages (work) - light button */
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
}

.page-c .scroll-down-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transform: translateX(-50%) translateY(-8px);
}

.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 80%;
  margin: 0 auto;
  /* Add breathing room below the fixed header */
  padding: 96px 0 0 0;
  box-sizing: border-box;
  /* animation handled by animate-in sequencing below */
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(1rem, 3vw, 2.5rem);
  gap: 1rem;
  width: 100%;
  max-width: 840px;
  margin: 0 auto 1rem;
  /* animation handled by animate-in sequencing below */
}

.profile-image {
  width: 170px;
  border-radius: var(--radius-media);
  box-shadow: none;
  border: 0;
  background: none;
  flex-shrink: 0;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: inherit;
  object-fit: cover;
  object-position: 50% 0%;
  transition: all 0.3s var(--transition-smooth);
}

/* Match gallery hover glow for profile image */
.profile-image:hover {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 16px rgba(255, 255, 255, 0.4);
}

.profile-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  gap: 0.8rem;
  /* animation handled by animate-in sequencing below */
}

.artist-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.artist-header {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0;
  width: 100%;
  justify-content: flex-start;
  flex-wrap: nowrap;
  margin-bottom: 6px;
}

.artist-name {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em; /* elegant tracking */
  color: #ffffff;
  /* Premium readability: soft, natural shadow — no glow, no bevel */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 3px 12px rgba(0, 0, 0, 0.25);
}

.artist-title {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 400; /* lighter than name */
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.08em;
  text-transform: none;
  /* Subtle grounding shadow for readability over imagery */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  margin: 0;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
}

/* Profile Navigation */
.profile-nav {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0 0 0;
  z-index: 2;
}

/* Sequenced, text-only premium entrance for profile sections */

.profile-container.animate-in .profile-header {
  animation: logoFadeIn 0.6s ease forwards;
  animation-delay: 0.03s;
  animation-fill-mode: both;
}

.profile-container.animate-in .profile-image {
  animation: logoFadeIn 0.7s ease forwards;
  animation-delay: 0.08s;
  animation-fill-mode: both;
}

.profile-container.animate-in .artist-name {
  animation: logoFadeIn 0.65s ease forwards;
  animation-delay: 0.14s;
  animation-fill-mode: both;
}

.profile-container.animate-in .artist-title {
  animation: logoFadeIn 0.65s ease forwards;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.profile-container.animate-in .profile-nav {
  animation: logoFadeIn 0.65s ease forwards;
  animation-delay: 0.26s;
  animation-fill-mode: both;
}

/* Stagger profile nav links for a refined cascade */
/* Note: no pre-hide on nav-link and instagram-link to ensure visibility if JS fails */
.profile-container.animate-in .profile-nav .nav-link,
.profile-container.animate-in .profile-nav .instagram-link {
  animation: logoFadeIn 0.45s ease forwards;
  animation-fill-mode: both;
}
.profile-container.animate-in .profile-nav ul li:nth-child(1) .nav-link {
  animation-delay: 0.3s;
}
.profile-container.animate-in .profile-nav ul li:nth-child(2) .nav-link {
  animation-delay: 0.34s;
}
.profile-container.animate-in .profile-nav ul li:nth-child(3) .nav-link {
  animation-delay: 0.38s;
}
.profile-container.animate-in .profile-nav ul li:nth-child(4) .nav-link {
  animation-delay: 0.42s;
}
.profile-container.animate-in .profile-nav ul li:nth-child(5) .nav-link {
  animation-delay: 0.46s;
}
.profile-container.animate-in .profile-nav .instagram-link {
  animation-delay: 0.5s;
}

.profile-nav ul {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  background: none;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  height: auto;
  overflow: visible;
  margin: 0;
  box-shadow: none;
  gap: 0.5rem; /* breathing room between items */
}

.profile-nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: none; /* Remove glassy indicator */
}

.profile-nav ul li {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.profile-nav__social {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.profile-nav .nav-link {
  position: relative;
  z-index: 2;
  border-radius: 0.25rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: none;
  font-weight: 500; /* lighter base */
  font-size: 1.05rem;
  padding: 0.35rem 0.85rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: 1px solid transparent;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, text-shadow 0.25s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  height: auto;
  min-height: 0;
}

.profile-nav .nav-link:hover,
.profile-nav .nav-link:focus,
.profile-nav .nav-link:focus-visible {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 0 8px rgba(255, 255, 255, 0.35);
  outline: none;
}

/* focus handled with hover/focus-visible block above */

.profile-nav .nav-link.active {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34), 0 0 10px rgba(255, 255, 255, 0.4);
}

.profile-nav .instagram-link {
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem; /* match nav-link scale */
  background: none;
  padding: 0.35rem 0.85rem; /* match nav-link pill */
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.profile-nav .instagram-link:hover,
.profile-nav .instagram-link:focus {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 0 8px rgba(255, 255, 255, 0.35);
}

.profile-nav .instagram-link.active {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34), 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Remove underline from profile-nav links */
.profile-nav a {
  text-decoration: none;
}

/* Gallery Section */
.gallery-section {
  overflow: hidden;
  position: relative;
  padding: 1rem;
  max-width: 100%;
  min-width: 100%;
  margin: 0.5rem;
  z-index: 10;
}

.gallery {
  column-count: 3;
  column-gap: 2rem;
  padding: 4rem;
  margin: 0;
  animation: logoFadeIn 0.7s ease forwards;
  animation-fill-mode: both;
}

@media (max-width: 600px) {
  .gallery {
    column-count: 1;
  }
}

/* Gallery Photo Styles */
.gallery-photo {
  display: block;
  width: 100%;
  /* Remove aspect-ratio for masonry */
  margin-bottom: 2rem;
  break-inside: avoid;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-media);
  overflow: hidden;
}

.gallery-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* Gallery Photo Hover Effect */

/* Landscape/Portrait aspect ratio handling for gallery thumbnails */
.gallery-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.gallery-photo.landscape {
  column-span: all;
  width: 200%;
  max-width: none;
  display: block;
}
@supports (column-span: all) {
  .gallery-photo.landscape {
    column-span: all;
  }
}

/* Responsive tweaks for mobile */
@media (max-width: 600px) {
  .gallery-photo {
    height: clamp(140px, 38vw, 220px);
  }
  .gallery-photo.portrait {
    max-width: 90%;
  }
}
.gallery-video-thumbnail:hover,
.gallery-video-thumbnail:focus-visible {
  transform: scale(1.06);
  z-index: 5;
  cursor: pointer;
  border-color: #ffffff;
  box-shadow: var(--gallery-glow);
}

/* Touch devices: emulate hover on tap for gallery tiles */
@media (hover: none) and (pointer: coarse) {
  .gallery-photo,
  .gallery-video-thumbnail {
    -webkit-tap-highlight-color: transparent;
  }

  .gallery-photo:active,
  .gallery-photo:focus,
  .gallery-photo:focus-visible,
  .gallery-photo:focus-within {
    transform: scale(1.05);
    border-color: #ffffff;
    box-shadow: var(--gallery-glow);
    filter: brightness(1.04);
    outline: none;
  }

  .gallery-video-thumbnail:active,
  .gallery-video-thumbnail:focus,
  .gallery-video-thumbnail:focus-within {
    transform: scale(1.06);
    z-index: 5;
    border: 1px solid #ffffff;
    box-shadow: var(--gallery-glow);
    outline: none;
  }
}

.gallery-video-thumbnail {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
  break-inside: avoid;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-media);
  box-shadow: none;
  background: none;
  border: none;
  transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth),
    border-radius 0.35s var(--transition-smooth), border-color 0.35s var(--transition-smooth);
  will-change: transform, box-shadow;
  transform-origin: center;
}

.gallery-video-thumbnail video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-media);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.gallery-video-thumbnail::after {
  content: '\f04b';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 48px;
  opacity: 0.5;
  transition: var(--transition-bounce), opacity 0.3s, font-size 0.3s;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: transparent;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gallery-video-thumbnail:hover::after {
  opacity: 1;
  font-size: 60px;
  transform: translate(-50%, -50%) scale(1.2);
}

/* =============================================================================
       LIGHTBOX SYSTEM
       ============================================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
}

@supports (height: 100dvh) {
  .lightbox {
    height: 100dvh;
    min-height: 100dvh;
  }
}

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  justify-content: center;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
  z-index: 5000;
}

@supports (height: 100dvh) {
  #lightbox {
    height: 100dvh;
    min-height: 100dvh;
  }
}

#lightbox.open {
  display: flex;
}

#lightbox img,
#lightbox video {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  pointer-events: auto;
  box-shadow: 12px 24px 24px rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-media);
  z-index: 3000;
}

@supports (height: 100svh) {
  #lightbox img,
  #lightbox video {
    max-height: 100svh;
  }
}

@supports (height: 100dvh) {
  #lightbox img,
  #lightbox video {
    max-height: 100dvh;
  }
}

.lightbox-media {
  display: none;
}

#lightbox.open .lightbox-media {
  display: block;
}

.lightbox-close {
  position: absolute;
  z-index: 3001;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0.5;
  transition: opacity 0.3s;
  background: transparent;
  border: none;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  top: 0.5rem;
  right: 0.5rem;
  font-size: 30px;
}

#lightbox-btn .prev-btn {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3001;
}

#lightbox .next-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3001;
}

/* Lightbox button styles */
.lightbox-btn {
  position: absolute;
  z-index: 3001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 3rem;
  color: white;
  cursor: pointer;
  transition: background-color 200ms ease;
  pointer-events: auto;
}

.lightbox-btn.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.lightbox-btn.prev-btn {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-btn.next-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-btn:hover {
  background-color: rgba(0, 0, 0, 0.4);
  outline: 2px solid white;
}

.lightbox-btn:focus {
  background-color: rgba(255, 255, 255, 0.5);
}

.lightbox-btn__icon {
  font-size: 1.75rem;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-btn:hover .lightbox-btn__icon,
.lightbox-btn:focus-visible .lightbox-btn__icon {
  opacity: 1;
}

/* Unmute icon for muted videos - matches play icon styling */
.lightbox-unmute-icon {
  content: '\f028';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 48px;
  opacity: 0.5;
  transition: var(--transition-bounce), opacity 0.3s, font-size 0.3s;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: transparent;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  cursor: pointer;
  z-index: 3002;
}

.lightbox-unmute-icon.is-visible {
  display: flex;
  pointer-events: auto;
}

.lightbox-unmute-icon:hover {
  opacity: 1;
  font-size: 60px;
  transform: translate(-50%, -50%) scale(1.2);
}

.lightbox-unmute-icon i {
  font-size: inherit;
  transition: font-size 0.3s ease;
}

.lightbox-unmute-icon svg {
  display: none;
}

/* Hide unmute icon when video is not muted */
/* Hide unmute icon when video is not muted */
#lightbox-video:not([muted]) + .lightbox-unmute-icon {
  display: none !important;
  pointer-events: none !important;
}

/* #lightbox-btn close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3001;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
  }
  
  #lightbox-btn .close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
  }
  */

/* Support legacy lightbox prev/next class names if present */
.lightbox-prev,
.lightbox-next {
  display: flex;
}

/* =============================================================================
   Page Nav Buttons
   ============================================================================= */

/* Profile floating scroll controls */
/* =============================================================================
       FOOTER
       ============================================================================= */
#global-footer,
global-footer,
.global-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

/* Enhanced footer with safe area support */
.site-footer {
  position: static;
  left: 50%;
  bottom: clamp(1.2rem, 4vh, 2.6rem);
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 2 * var(--viewport-padding)));
  z-index: 100;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.site-footer::before {
  display: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.9rem, 2.2vw, 1.4rem) clamp(1.2rem, 3vw, 2.4rem);
  max-width: 100%;
  margin: 0 auto;
  min-height: 40px;
  box-sizing: border-box;
  width: 100%;
  flex-wrap: nowrap;
  gap: clamp(1rem, 3vw, 2rem);
}

.footer-logo,
.footer-center-col,
.footer-social {
  display: flex;
  align-items: center;
}

.footer-logo {
  flex: 0 0 auto;
  justify-content: flex-start;
}

.footer-center-col {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
}

.footer-social {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.footer-logo svg {
  height: var(--footer-icon-size);
  width: auto;
  transition: filter 0.3s ease, opacity 0.3s ease;
  display: block;
}

.footer-logo svg path {
  fill: rgba(255, 255, 255, 0.7);
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 0.5px;
  transition: fill 0.3s ease;
}

.footer-logo:hover svg path {
  fill: #ffffff;
}

.footer-logo:hover svg {
  filter: drop-shadow(0 6px 18px rgba(255, 255, 255, 0.28))
    drop-shadow(0 0 42px rgba(255, 255, 255, 0.22)) drop-shadow(0 0 78px rgba(255, 255, 255, 0.16));
}

.footer-center-col span {
  white-space: nowrap;
  color: var(--text-secondary);
  text-shadow: none;
  font-size: var(--footer-text-size);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--footer-icon-size);
  padding: 0 0.5rem;
}

/* Hide floating footer on the home (landing) screen */
body.home .site-footer {
  display: none;
}

body.home #global-footer,
body.home global-footer {
  display: none;
}

/* Enhanced mobile footer */
@media (max-width: 768px) {
  .site-footer {
    position: static;
    transform: none;
    bottom: auto;
    left: auto;
    width: 100%;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    z-index: auto;
    min-height: 48px;
  }

  .slideshow-wrapper,
  .slides-wrapper {
    position: relative;
    height: calc(var(--vvh, var(--vh, 1vh)) * 100);
    z-index: 5;
  }

  .footer-inner {
    gap: 0.75rem;
    padding: var(--viewport-edge-gap) var(--viewport-padding);
  }

  .footer-logo {
    justify-content: flex-start;
  }

  .footer-social {
    gap: 0.2rem;
    justify-content: flex-end;
  }

  .footer-center-col span {
    font-size: calc(var(--footer-text-size) * 0.9);
    height: var(--footer-icon-size);
  }
}

/* When the mobile menu is open, push footer and indicators behind overlay */
body.menu-open .site-footer {
  z-index: 0;
  pointer-events: none;
}
body.menu-open .indicators {
  z-index: 0;
  pointer-events: none;
}
body.menu-open .scroll-down-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
}
body.menu-open .jump-to-b {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Keep the menu button on top while menu is open */
body.menu-open .menu-btn {
  z-index: 5001;
  position: fixed;
}

/* When mobile menu is open, make hamburger/X lines black (no glow) */
body.menu-open .menu-btn .hamburger.open .hamburger-line {
  background-color: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.65));
}

@media (max-width: 360px) {
  /* Tighten center padding on very small devices */
  .footer-center-col {
    padding: 0 64px;
  }
}

/* =============================================================================
       ANIMATIONS
       ============================================================================= */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    will-change: transform;
  }

  to {
    transform: translateY(0);
    will-change: transform;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
    will-change: transform, opacity;
  }

  to {
    transform: translateY(0);
    opacity: 1;
    will-change: transform, opacity;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
    will-change: transform, opacity;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    will-change: transform, opacity;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Premium, consistent profile animations */
@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUpScale {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-20px) translateX(-50%);
  }

  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* =============================================================================
       UTILITY CLASSES
       ============================================================================= */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease-out, transform 0.85s ease-out;
}

.reveal-on-scroll.visible,
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll.faded-out {
  opacity: 0;
  transform: translateY(18px);
}

/* Ensure gallery tiles use the smoother reveal timing instead of their shorter hover transitions */
.gallery-photo.reveal-on-scroll,
.gallery-video-thumbnail.reveal-on-scroll {
  transition: opacity 0.75s ease-out, transform 0.75s ease-out;
  will-change: opacity, transform;
}

/* =============================================================================
       MEDIA QUERIES
       ============================================================================= */
@media (max-width: 768px) {
  .mobile-transition {
    transition-duration: 1.5s;
  }

  /* Mobile Navigation */
  body.menu-open .header-content > *:not(.menu-btn),
  body.menu-open .logo-center,
  body.menu-open .header-social {
    display: none;
  }

  @keyframes zoomOutFade {
    from {
      opacity: 0;
      transform: scale(1.2);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .zoom-reveal {
    opacity: 0;
    transform: scale(1.2);
  }

  .zoom-reveal.visible {
    animation: zoomOutFade 1s ease-out forwards;
  }

  /* Profile */
  .profile-container {
    padding-top: 84px; /* Slightly tighter on small screens */
  }
  .profile-image {
    width: 140px;
  }
  .artist-name {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }
  .artist-title {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }
  .profile-header {
    flex-direction: column;
    align-items: center;
  }

  .artist-details {
    align-items: center;
    text-align: center;
  }

  .profile-nav ul {
    flex-wrap: nowrap;
    gap: clamp(1.5rem, 4vw, 3rem);
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* match desktop spacing */
    padding: 0;
    min-height: unset;
    height: auto;
    background: none;
    box-shadow: none;
  }

  .profile-nav .nav-link {
    font-size: 1.05rem; /* match desktop scale */
    padding: 0.35rem 0.85rem; /* match desktop pill sizing */
    height: auto;
    min-height: 0;
  }

  .profile-nav-indicator {
    border-radius: 2rem;
  }

  /* Gallery: make photos larger, reduce spacing/padding */
  .gallery {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0.75rem;
  }

  .gallery-section {
    padding: 0.5rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .footer-logo,
  .footer-nav,
  .footer-social {
    min-height: 40px;
    padding: 0.5rem 0;
    justify-content: center;
  }

  .footer-social .social-icon-link {
    font-size: calc(var(--footer-icon-size) * 0.65);
    width: var(--footer-icon-size);
    height: var(--footer-icon-size);
    padding: 0;
  }
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 1024px) {
  .sidebar {
    flex-direction: column;
  }

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

/* =============================================================================
       END OF STYLESHEET
       ============================================================================= */

@media (max-width: 1200px) {
  /* Mobile menu and overlay styles */
  .menu-text {
    display: none;
  }

  .nav-container {
    display: none;
  }

  .header-social {
    display: flex;
    justify-content: flex-start;
  }

  .logo-center {
    display: flex;
    justify-content: center;
  }

  body.menu-open .header-content > *:not(.menu-btn),
  body.menu-open .logo-center,
  body.menu-open .header-social {
    display: none;
  }

  .mobile-overlay {
    display: grid;
  }

  .profile-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem 0.6rem;
    min-height: unset;
    height: auto;
  }

  .profile-nav ul li {
    flex: 0 0 auto;
    min-width: auto;
    margin-bottom: 0.25rem;
    z-index: 2;
  }

  .profile-nav .nav-link {
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    font-size: 1rem;
    min-width: 0;
    z-index: 3;
    background: none;
    border-radius: 0.25rem;
  }

  .profile-nav-indicator {
    top: unset;
    bottom: 0;
    height: 3rem;
    border-radius: 2rem;
    transition: left 0.35s var(--transition-smooth), width 0.35s var(--transition-smooth);
  }
}

@media (min-width: 1201px) {
  /* Desktop menu and overlay styles */
  .mobile-overlay {
    display: none;
  }

  .logo-center {
    display: flex;
    justify-content: center;
  }

  .header-social {
    display: flex;
  }

  .nav-container {
    display: flex;
  }

  .menu-btn {
    display: flex;
  }
}

.gallery-photo,
.gallery-video-thumbnail {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.gallery-photo.reveal,
.gallery-video-thumbnail.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle scale on hover for gallery items (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .gallery-photo.reveal:hover {
    transform: scale(1.07);
    transition: transform 240ms var(--transition-smooth), box-shadow 240ms var(--transition-smooth);
    border-color: #ffffff;
    box-shadow: var(--gallery-glow);
    will-change: transform;
  }

  .gallery-video-thumbnail.reveal:hover,
  .gallery-video-thumbnail.reveal:focus-visible {
    transform: translateY(0) scale(1.06);
    transition: transform 220ms var(--transition-smooth), box-shadow 220ms var(--transition-smooth);
    box-shadow: var(--gallery-glow);
    outline: 0;
  }
}

@media (max-width: 1024px) and (hover: hover) and (pointer: fine) {
  .gallery-photo.reveal:hover {
    transform: scale(1.04);
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.45);
    filter: brightness(1.02);
  }

  .gallery-video-thumbnail.reveal:hover,
  .gallery-video-thumbnail.reveal:focus-visible {
    transform: scale(1.03);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
  }
}

/* =============================================================================
     COOKIE BANNER (global)
     ============================================================================= */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 4vh, 32px);
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 32px));
  z-index: 6000;
  background: #f1ece3;
  color: #2b2b2b;
  padding: clamp(1.2rem, 3vw, 1.6rem);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-banner.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 20px);
}
.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.cookie-text {
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-text a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid rgba(43, 43, 43, 0.4);
  background: rgba(255, 255, 255, 0.16);
  color: #2b2b2b;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.cookie-btn:hover,
.cookie-btn:focus-visible {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.02);
  outline: none;
}
.cookie-btn.accept {
  background: #2b2b2b;
  color: #f1ece3;
  border-color: #2b2b2b;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus-visible {
  background: #3a3a3a;
}
.cookie-btn.decline {
  background: rgba(43, 43, 43, 0.08);
}
@media (max-width: 640px) {
  .cookie-banner {
    width: min(460px, calc(100vw - 24px));
  }
  .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}

/* Mobile menu overlay: ensure true full-screen on Safari */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: var(--vh, 1vh) * 100; /* Fallback to JS-managed viewport */
  background: rgba(0, 0, 0, 0.95);
  z-index: 100;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Use dynamic viewport when available for better Safari support */
@supports (height: 100dvh) {
  .mobile-menu {
    height: 100dvh;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .mobile-menu {
    /* Ensure coverage beyond browser UI */
    min-height: calc(100vh + 120px);
    min-height: calc(var(--vh, 1vh) * 100 + 120px);
  }

  @supports (height: 100dvh) {
    .mobile-menu {
      min-height: calc(100dvh + 120px);
    }
  }
}
/* iOS fullscreen edge-to-edge fix */
body.ios-device .page-a,
body.ios-device .page-a .slides-wrapper,
body.ios-device .page-a .slide,
body.ios-device .page-a .slide img,
body.ios-device .page-a .slide-video {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

body.ios-device .page-a,
body.ios-device .page-a .slides-wrapper {
  padding: 0;
  margin: 0;
}

/* =============================================================================
   FULL BLEED OVERRIDES
   ============================================================================= */
:root {
  --viewport-padding: 0px;
  --viewport-edge-gap: 0px;
}

.page-b,
.page-c,
.page-d,
.page-e,
#global-footer,
global-footer {
  padding-left: 0;
  padding-right: 0;
  z-index: 3;
}

.header-content {
  padding: 0;
}

.page-b__inner,
.page-c__inner,
.page-d__inner,
.page-e__inner,
.page-b .about-intro,
.magazine-gallery,
#global-footer .footer-content,
global-footer .footer-content {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Dark mode optimizations */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
  }
}
.no-scroll {
  overflow: hidden;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}

/* Improved focus styles for accessibility */
*:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

/* Enhanced loading states */
.loading {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loaded {
  opacity: 1;
}

/* Improved text selection */
::selection {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
}

::-moz-selection {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
}
