/* ==========================================================================
   JANA MENZI — KEEP CALM AND BE YOURSELF
   Wearable Art Website — Complete Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Color palette — derived from the actual artwork */
  --pink-hot:   #E8707E;  /* Coral-pink matching feather boa & sunglasses */
  --pink-light: #F5B0B9;  /* Soft blush from the tulle and highlights */
  --pink-neon:  #D94F6A;  /* Deeper accent for hover states */
  --denim-dark: #1C2D3F;  /* Deep navy for editorial contrast */
  --denim-mid:  #2E4A62;  /* Mid-tone denim blue */
  --denim-light:#5A7A96;  /* Light denim for subtle text */
  --cream:      #FAF5EE;  /* Warm off-white matching the denim canvas */
  --green-deep: #1B4332;  /* Deep Everglades forest */
  --green-mid:  #3B8A7A;  /* Teal-green matching crocodile skin */
  --gold:       #C9A84C;  /* Muted ochre from crocodile belly scales */
  --gold-warm:  #F2B8A2;  /* Sunset-peach from the Everglades sky */
  --mint:       #A8D5BA;  /* Soft mint from the background washes */
  --white:      #FFFFFF;
  --black:      #000000;

  /* Semantic theme tokens (overridden per section) */
  --section-bg:      var(--denim-dark);
  --section-text:    var(--white);
  --section-accent:  var(--pink-hot);

  /* Typography */
  --font-display: 'Segoe UI', 'SF Pro Display', -apple-system, system-ui, sans-serif;
  --font-body:    Georgia, 'Times New Roman', serif;

  /* Fluid type scale */
  --text-hero:    clamp(3rem,   8vw,  10rem);
  --text-display: clamp(2.5rem, 5vw,   7rem);
  --text-title:   clamp(1.75rem,3vw,   3.5rem);
  --text-lead:    clamp(1.1rem, 1.5vw, 1.4rem);
  --text-body:    clamp(1rem,   1.2vw, 1.15rem);
  --text-label:   clamp(0.7rem, 0.9vw, 0.85rem);

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;
  --space-2xl: 12rem;

  /* Easing curves */
  --ease-out-expo:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out-quart:  cubic-bezier(0.76, 0, 0.24, 1);

  /* Durations */
  --dur-fast:   150ms;
  --dur-base:   300ms;
  --dur-slow:   600ms;
  --dur-slower: 1000ms;

  /* Z-index scale */
  --z-base:      1;
  --z-raised:    10;
  --z-overlay:   100;
  --z-nav:       1000;
  --z-panel:     1100;
  --z-lightbox:  2000;
  --z-cursor:    9999;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* Disable scroll-snap while overlays (lightbox / detail-panel) are open
   so that focus changes and overflow toggling don't trigger snap jumps. */
html.no-snap {
  scroll-snap-type: none;
}

html.is-loading * {
  animation-play-state: paused !important;
}

body {
  font-family: var(--font-display);
  font-size: var(--text-body);
  line-height: 1.6;
  background-color: var(--denim-dark);
  color: var(--white);
  cursor: none;
  overflow-x: hidden;
  transition:
    background-color 600ms var(--ease-in-out-quart),
    color 600ms var(--ease-in-out-quart);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Global text overflow safety — prevent long words from breaking layout */
p, blockquote, cite, figcaption, .timeline__desc, .artist__bio, .vision__text, .details__instruction {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Selection styling */
::selection {
  background: var(--pink-hot);
  color: var(--white);
}

::-moz-selection {
  background: var(--pink-hot);
  color: var(--white);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--denim-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--pink-hot);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pink-neon);
}

button {
  cursor: none;
  font-family: inherit;
  border: none;
  background: none;
}

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

ul, ol {
  list-style: none;
}

/* Focus styles — always visible */
:focus-visible {
  outline: 2px solid var(--pink-hot);
  outline-offset: 3px;
}

/* Skip navigation link — accessible but visually hidden until focused */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  background: var(--pink-hot);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

/* --------------------------------------------------------------------------
   2b. SCROLL PROGRESS BAR
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--pink-hot), var(--green-mid), var(--gold), var(--pink-neon));
  z-index: 99998;
  transition: width 50ms linear;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   2c. PRELOADER
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: var(--denim-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  text-align: center;
}

.preloader__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pink-hot);
  display: block;
  margin-bottom: 1.5rem;
  animation: preloader-pulse 1.2s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.preloader__bar {
  width: clamp(120px, 30vw, 200px);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink-hot), var(--green-mid), var(--gold));
  border-radius: 2px;
  animation: preloader-fill 1.5s var(--ease-out-expo) forwards;
}

@keyframes preloader-fill {
  to { width: 100%; }
}

/* --------------------------------------------------------------------------
   3. FILM GRAIN OVERLAY
   -------------------------------------------------------------------------- */
.film-grain {
  pointer-events: none;
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: var(--z-cursor);
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grain-drift 8s steps(10) infinite;
  mix-blend-mode: overlay;
}

@keyframes grain-drift {
  0%  { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0); }
  70% { transform: translate(0, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
  100% { transform: translate(0, 0); }
}

/* --------------------------------------------------------------------------
   4. CUSTOM CURSOR
   -------------------------------------------------------------------------- */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background-color: var(--pink-hot);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition:
    width var(--dur-fast) var(--ease-out-expo),
    height var(--dur-fast) var(--ease-out-expo),
    background-color var(--dur-base) ease;
  will-change: transform;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--pink-hot);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  opacity: 0.6;
  mix-blend-mode: difference;
  transition:
    width var(--dur-slow) var(--ease-out-expo),
    height var(--dur-slow) var(--ease-out-expo),
    opacity var(--dur-base) ease;
  will-change: transform;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 20px;
  height: 20px;
  background-color: var(--gold);
}

body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 56px;
  height: 56px;
  opacity: 0.3;
}

/* --------------------------------------------------------------------------
   5. SECTION BASE & SCROLL SNAP
   -------------------------------------------------------------------------- */
section,
footer {
  position: relative;
  contain: layout style;
}

/* Only apply paint containment where it's safe (not on details which has overflow hotspots) */
#hero, #vision, #process, #artist, #gallery {
  contain: layout style paint;
}

/* --------------------------------------------------------------------------
   6. SECTION LABEL (reusable)
   -------------------------------------------------------------------------- */
.section-label {
  display: inline-block;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-hot);
  margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   7. DOT NAVIGATION
   -------------------------------------------------------------------------- */
.dot-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-nav);
}

.dot-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.dot-nav__dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(var(--mx, 0), var(--my, 0));
  transition:
    width var(--dur-base) var(--ease-out-back),
    height var(--dur-base) var(--ease-out-back),
    background-color var(--dur-base) ease,
    transform var(--dur-base) var(--ease-out-back);
}

.dot-nav__dot:focus-visible {
  outline: 2px solid var(--pink-hot);
  outline-offset: 3px;
}

.dot-nav__dot.active,
.dot-nav__dot:hover {
  width: 14px;
  height: 14px;
  background-color: var(--pink-hot);
}

.dot-nav__label {
  position: absolute;
  right: calc(100% + 0.75rem);
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateX(6px);
  transition:
    opacity var(--dur-base) ease,
    transform var(--dur-base) var(--ease-out-expo);
  pointer-events: none;
}

.dot-nav__dot:hover .dot-nav__label {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   7c. LANGUAGE SWITCHER
   -------------------------------------------------------------------------- */
.lang-switch {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo) 0.8s;
}

html:not(.is-loading) .lang-switch {
  opacity: 1;
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  transition: opacity var(--dur-base) ease, color var(--dur-base) ease, text-shadow var(--dur-base) ease;
  cursor: none;
  text-decoration: none;
  user-select: none;
}

.lang-switch__link:hover { opacity: 0.8; color: var(--pink-hot); }
.lang-switch__link:focus-visible { outline: 2px solid var(--pink-hot); outline-offset: 2px; }
.lang-switch__link.active { opacity: 1; color: var(--pink-hot); }

.lang-switch__sep {
  display: block;
  width: 1px;
  height: 0.6rem;
  background-color: var(--white);
  opacity: 0.2;
  flex-shrink: 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

/* Light sections — dark text with light shadow for contrast */
body[data-active-section="vision"] .lang-switch__link,
body[data-active-section="gallery"] .lang-switch__link {
  color: var(--denim-dark);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
}
body[data-active-section="vision"] .lang-switch__link:hover,
body[data-active-section="gallery"] .lang-switch__link:hover,
body[data-active-section="vision"] .lang-switch__link.active,
body[data-active-section="gallery"] .lang-switch__link.active { color: var(--pink-hot); }
body[data-active-section="vision"] .lang-switch__sep,
body[data-active-section="gallery"] .lang-switch__sep {
  background-color: var(--denim-dark);
  box-shadow: none;
}

/* Pink section (details) — white text, stronger shadow */
body[data-active-section="details"] .lang-switch__link {
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Green section (artist) — cream text */
body[data-active-section="artist"] .lang-switch__link {
  color: var(--cream);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   7b. MARQUEE / TICKER
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--gold);
  padding: 0.75rem 0;
  position: relative;
  z-index: 5;
}

.marquee--pink {
  background-color: var(--pink-hot);
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  animation: marquee-scroll 25s linear infinite;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--denim-dark);
  padding: 0 0.75rem;
  flex-shrink: 0;
}

.marquee--pink .marquee__item {
  color: var(--white);
}

.marquee__separator {
  font-size: 0.6rem;
  color: rgba(13, 27, 42, 0.3);
  flex-shrink: 0;
}

.marquee--pink .marquee__separator {
  color: rgba(255, 255, 255, 0.4);
}

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

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

/* --------------------------------------------------------------------------
   8. ANIMATE ON SCROLL
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity var(--dur-slower) var(--ease-out-expo),
    transform var(--dur-slower) var(--ease-out-expo);
}

.animate-on-scroll[data-animation="fade-right"] {
  transform: translateX(-40px);
}

.animate-on-scroll[data-animation="fade-left"] {
  transform: translateX(40px);
}

.animate-on-scroll[data-animation="clip-left"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--dur-slower) var(--ease-out-expo);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0% 0 0);
}

/* Staggered delays */
.animate-on-scroll[data-delay="100"] { transition-delay: 100ms; }
.animate-on-scroll[data-delay="200"] { transition-delay: 200ms; }
.animate-on-scroll[data-delay="300"] { transition-delay: 300ms; }
.animate-on-scroll[data-delay="400"] { transition-delay: 400ms; }

/* --------------------------------------------------------------------------
   9. HERO SECTION
   -------------------------------------------------------------------------- */
#hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--denim-dark);
  overflow: hidden;
  scroll-snap-align: start;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.spotlight {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 112, 126, 0.1) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity var(--dur-base) ease;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: var(--space-lg) var(--space-md);
  /* Bottom padding ensures the hero content clears the scroll indicator */
  padding-bottom: calc(var(--space-lg) + 5rem);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.hero__image-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero__glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(232, 112, 126, 0.3) 0%, rgba(59, 138, 122, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  animation: glow-pulse 5s ease-in-out infinite;
  z-index: -1;
}

.hero__jacket {
  width: clamp(240px, 40vw, 560px);
  max-width: 45vw;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(232, 112, 126, 0.35)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
  animation: jacket-entrance 1.2s var(--ease-out-expo) 0.3s both, jacket-float 6s ease-in-out 1.5s infinite;
  will-change: transform;
  border-radius: 4px;
}

@keyframes jacket-entrance {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    filter: blur(8px) drop-shadow(0 20px 60px rgba(232, 112, 126, 0)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0));
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px) drop-shadow(0 20px 60px rgba(232, 112, 126, 0.35)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
  }
}

@keyframes jacket-float {
  0%   { transform: translateY(0px) rotate(0deg); }
  25%  { transform: translateY(-12px) rotate(0.5deg); }
  50%  { transform: translateY(-6px) rotate(0deg); }
  75%  { transform: translateY(-14px) rotate(-0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes glow-pulse {
  0%, 100% {
    background: radial-gradient(ellipse at center, rgba(232, 112, 126, 0.3) 0%, rgba(59, 138, 122, 0.15) 50%, transparent 70%);
  }
  50% {
    background: radial-gradient(ellipse at center, rgba(59, 138, 122, 0.3) 0%, rgba(232, 112, 126, 0.15) 50%, transparent 70%);
  }
}

.hero__text {
  flex: 1;
  min-width: 0;
}

.split-text {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.split-text__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
}

.split-text__inner {
  display: block;
  transform: translateY(110%);
  animation: line-reveal 0.9s var(--ease-out-expo) forwards;
}

.split-text__line:nth-child(1) .split-text__inner { animation-delay: 0.1s; }
.split-text__line:nth-child(2) .split-text__inner { animation-delay: 0.25s; }
.split-text__line:nth-child(3) .split-text__inner { animation-delay: 0.4s; }

.split-text__line--accent .split-text__inner {
  color: var(--pink-hot);
  -webkit-text-stroke: 1px var(--pink-hot);
}

@keyframes line-reveal {
  0%   { transform: translateY(110%) rotateX(-15deg); opacity: 0; }
  100% { transform: translateY(0) rotateX(0deg); opacity: 1; }
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lead);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1.5rem;
  opacity: 0;
  animation: fade-up-in 0.8s var(--ease-out-expo) 0.7s forwards;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0;
  animation: fade-up-in 0.6s var(--ease-out-expo) 1.2s forwards;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: none;
  /* Prevent overlap with hero content: use a safe bottom margin and hide on short viewports */
  pointer-events: auto;
}

/* Hide scroll indicator on short viewports where it would overlap hero text */
@media (max-height: 600px) {
  .scroll-indicator {
    display: none;
  }
}

/* On medium-short viewports, reduce the indicator size and push it down */
@media (max-height: 750px) {
  .scroll-indicator {
    bottom: 1rem;
  }
  .scroll-indicator__line {
    height: 25px;
  }
}

.scroll-indicator__text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator__line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 20, 147, 0.6), transparent);
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 0.6; }
  50%       { transform: scaleY(1.2) translateY(6px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   10. VISION SECTION
   -------------------------------------------------------------------------- */
#vision {
  background-color: var(--cream);
  color: var(--denim-dark);
  padding: var(--space-xl) var(--space-md);
  scroll-snap-align: start;
}

.vision__container {
  max-width: 1200px;
  margin: 0 auto;
}

#vision .section-label {
  color: var(--green-mid);
}

.vision__heading {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--denim-dark);
  margin-bottom: var(--space-lg);
  max-width: 18ch;
}

.vision__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: var(--space-xl);
}

.vision__text {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--denim-mid);
  margin-bottom: 1.25em;
}

.vision__text:last-child {
  margin-bottom: 0;
}

.vision__quote {
  border-left: 4px solid var(--pink-hot);
  padding-left: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.vision__quote::before {
  content: '\201C';
  font-family: var(--font-body);
  font-size: 5rem;
  line-height: 1;
  color: var(--pink-hot);
  opacity: 0.25;
  position: absolute;
  top: -0.5rem;
  left: 0.75rem;
  pointer-events: none;
}

.vision__quote p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-style: italic;
  line-height: 1.7;
  color: var(--denim-mid);
}

.vision__quote cite {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-hot);
  margin-top: 0.75rem;
}

.vision__manifesto {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: var(--space-md);
  overflow: hidden;
}

.manifesto-word {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--denim-dark);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.manifesto-word:nth-child(2) {
  color: var(--green-mid);
}

.manifesto-word:nth-child(3) {
  color: var(--pink-hot);
}

/* --------------------------------------------------------------------------
   11. PROCESS SECTION
   -------------------------------------------------------------------------- */
#process {
  background-color: #121A24;
  color: var(--cream);
  padding: var(--space-xl) var(--space-md);
  scroll-snap-align: start;
}

#process .section-label {
  color: var(--gold);
}

.process__container {
  max-width: 1100px;
  margin: 0 auto;
}

.process__heading {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: var(--space-xl);
}

/* Timeline */
.process__timeline {
  position: relative;
}

.timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 215, 0, 0.15);
  transform: translateX(-50%);
}

.timeline__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--gold);
  height: 0%;
  transition: height 0.1s linear;
}

/* Timeline steps */
.timeline__step {
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
  opacity: 0;
  transition: opacity var(--dur-slower) var(--ease-out-expo), transform var(--dur-slower) var(--ease-out-expo);
}

.timeline__step.is-visible {
  opacity: 1;
  transform: none !important;
}

.timeline__step:nth-child(odd) {
  transform: translateX(-30px);
}

.timeline__step:nth-child(even) {
  transform: translateX(30px);
}

.timeline__step-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 100%;
  position: relative;
}

/* Odd steps: content left, image right */
.timeline__step:nth-child(odd) .timeline__step-inner {
  direction: ltr;
}

/* Even steps: image left, content right */
.timeline__step:nth-child(even) .timeline__step-inner {
  direction: rtl;
}

.timeline__step:nth-child(even) .timeline__step-content,
.timeline__step:nth-child(even) .timeline__step-image {
  direction: ltr;
}

/* Center dot on timeline */
.timeline__step-inner::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
}

.timeline__number {
  display: block;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 215, 0, 0.4);
  letter-spacing: -0.04em;
  margin-bottom: -0.2em;
  user-select: none;
}

.timeline__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.timeline__desc {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: rgba(255, 248, 240, 0.85);
}

.timeline__step-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4/3;
}

.timeline__step:nth-child(odd) .timeline__step-image {
  clip-path: inset(0 0 0 100%);
  transform: rotate(2deg);
}

.timeline__step:nth-child(even) .timeline__step-image {
  clip-path: inset(0 100% 0 0);
  transform: rotate(-2deg);
}

.timeline__step.is-visible .timeline__step-image {
  clip-path: inset(0 0% 0 0%) !important;
  transform: rotate(0deg) !important;
  transition:
    clip-path 0.9s var(--ease-out-expo) 0.2s,
    transform 0.9s var(--ease-out-expo) 0.2s;
}

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

/* --------------------------------------------------------------------------
   12. DETAILS SECTION
   -------------------------------------------------------------------------- */
#details {
  background-color: #C74B6A;
  background-image: linear-gradient(135deg, #B8405A 0%, #E8707E 50%, #F5B0B9 100%);
  color: var(--white);
  padding: var(--space-xl) var(--space-md);
  scroll-snap-align: start;
}

#details .section-label {
  color: var(--gold);
}

.details__container {
  max-width: 1200px;
  margin: 0 auto;
}

.details__heading {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.details__instruction {
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
}

.details__stage {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.details__image-wrap {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.details__jacket {
  width: clamp(280px, 50vw, 700px);
  max-width: 55vw;
  height: auto;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.4));
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s var(--ease-out-expo);
}

.details__jacket:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Hotspots */
.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: none;
  z-index: var(--z-raised);
}

.hotspot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 50%;
}

.hotspot-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  transition: transform var(--dur-base) var(--ease-out-back);
}

.hotspot:hover .hotspot-dot,
.hotspot:focus-visible .hotspot-dot {
  transform: scale(1.3);
}

.hotspot-pulse {
  display: block;
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0.7;
  animation: hotspot-ping 2s ease-out infinite;
}

/* Pulse stagger — ripple effect among visible hotspots */
.hotspot:nth-of-type(6n+1) .hotspot-pulse { animation-delay: 0s; }
.hotspot:nth-of-type(6n+2) .hotspot-pulse { animation-delay: 0.3s; }
.hotspot:nth-of-type(6n+3) .hotspot-pulse { animation-delay: 0.6s; }
.hotspot:nth-of-type(6n+4) .hotspot-pulse { animation-delay: 0.9s; }
.hotspot:nth-of-type(6n+5) .hotspot-pulse { animation-delay: 1.2s; }
.hotspot:nth-of-type(6n+6) .hotspot-pulse { animation-delay: 1.5s; }

@keyframes hotspot-ping {
  0%  { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Detail panel — fixed card positioned near the clicked hotspot */
.detail-panel {
  position: fixed;
  width: min(340px, 85vw);
  background-color: var(--white);
  color: var(--denim-dark);
  z-index: var(--z-panel);
  border-radius: 16px;
  opacity: 0;
  transform: scale(0.9);
  transform-origin: left top;
  transition:
    opacity 0.3s var(--ease-out-expo),
    transform 0.3s var(--ease-out-expo);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.detail-panel.is-open {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.detail-panel__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--pink-hot);
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  z-index: 2;
  transition: transform var(--dur-base) var(--ease-out-back), background-color var(--dur-base) ease;
}

.detail-panel__close:hover {
  transform: scale(1.1) rotate(90deg);
  background-color: var(--pink-neon);
}

.detail-panel__close:focus-visible {
  outline: 2px solid var(--pink-hot);
  outline-offset: 3px;
}

.detail-panel__inner {
  padding: 1rem 1.25rem 1.25rem;
}

.detail-panel__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--denim-dark);
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.detail-panel__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 0;
}

.detail-panel__image {
  display: none;
}

/* View toggle */
.view-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-lg);
}

.view-toggle__btn {
  padding: 0.6rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  cursor: none;
  transition:
    background var(--dur-base) ease,
    color var(--dur-base) ease,
    border-color var(--dur-base) ease,
    transform var(--dur-base) var(--ease-out-back);
}

.view-toggle__btn:hover,
.view-toggle__btn.active {
  background: var(--gold);
  color: var(--denim-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.view-toggle__btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   13. ARTIST SECTION
   -------------------------------------------------------------------------- */
#artist {
  background-color: var(--green-deep);
  color: var(--cream);
  padding: var(--space-xl) var(--space-md);
  scroll-snap-align: start;
}

#artist .section-label {
  color: var(--pink-light);
}

.artist__container {
  max-width: 1200px;
  margin: 0 auto;
}

.artist__header {
  margin-bottom: var(--space-lg);
}

.artist__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 4rem;
  align-items: start;
}

.artist__card-inner {
  position: relative;
}

.artist__mentor-label {
  display: inline-block;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 0.5rem;
}

.artist__name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.artist__name--mentor {
  font-size: clamp(2.25rem, 4.5vw, 5.5rem);
  color: rgba(255, 248, 240, 0.75);
}

.artist__divider {
  width: 60px;
  height: 3px;
  background: var(--pink-hot);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.artist__divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease-out-expo);
}

.artist__card.is-visible .artist__divider::after {
  transform: translateX(0);
}

.artist__bio {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.8;
  color: rgba(255, 248, 240, 0.85);
  margin-bottom: 1em;
}

.artist__bio:last-of-type {
  margin-bottom: 1.5rem;
}

.artist__quote {
  border-left: 3px solid var(--pink-hot);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-top: 1.5rem;
  position: relative;
}

.artist__quote::before {
  content: '\201C';
  font-family: var(--font-body);
  font-size: 8rem;
  line-height: 1;
  color: var(--pink-hot);
  opacity: 0.3;
  position: absolute;
  top: -1.5rem;
  left: 0.5rem;
  pointer-events: none;
}

.artist__quote p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-style: italic;
  line-height: 1.7;
  color: var(--cream);
}

.artist__quote cite {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-hot);
  margin-top: 0.6rem;
}

/* --------------------------------------------------------------------------
   14. GALLERY SECTION
   -------------------------------------------------------------------------- */
#gallery {
  background-color: var(--white);
  color: var(--denim-dark);
  padding: var(--space-xl) var(--space-md);
  scroll-snap-align: start;
}

#gallery .section-label {
  color: var(--pink-hot);
}

.gallery__container {
  max-width: 1400px;
  margin: 0 auto;
}

.gallery__heading {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--denim-dark);
  margin-bottom: var(--space-lg);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  auto-rows: 280px;
  grid-auto-rows: 280px;
  gap: 1rem;
}

/* Masonry-style spanning items */
.gallery__item:nth-child(1),
.gallery__item:nth-child(4),
.gallery__item:nth-child(7),
.gallery__item:nth-child(10) {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background-color: #eee;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
  transition-delay: calc(var(--stagger, 0) * 60ms);
}

.gallery__item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-mid), var(--pink-hot));
  opacity: 0;
  transition: opacity var(--dur-base) ease;
  z-index: 1;
  mix-blend-mode: multiply;
}

.gallery__item:hover::after {
  opacity: 0.2;
}

.gallery__item:focus-visible {
  outline: 2px solid var(--pink-hot);
  outline-offset: 3px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.6s var(--ease-out-expo),
    filter 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(0.88);
}

.gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transform: translateY(100%);
  transition: transform var(--dur-slow) var(--ease-out-expo);
  z-index: 2;
}

.gallery__item:hover figcaption {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) ease;
}

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

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background var(--dur-base) ease, transform var(--dur-base) var(--ease-out-back);
}

.lightbox__close:hover {
  background: var(--pink-hot);
  transform: rotate(90deg) scale(1.1);
}

.lightbox__close:focus-visible {
  outline: 2px solid var(--pink-hot);
  outline-offset: 3px;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background var(--dur-base) ease, transform var(--dur-base) var(--ease-out-back);
}

.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

.lightbox__prev:hover {
  background: var(--pink-hot);
  transform: translateY(-50%) translateX(-3px);
}

.lightbox__next:hover {
  background: var(--pink-hot);
  transform: translateY(-50%) translateX(3px);
}

.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
  outline: 2px solid var(--pink-hot);
  outline-offset: 3px;
}

.lightbox__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  padding: 12px;
  background: var(--cream);
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
  display: block;
}

.lightbox__caption {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 1.25rem;
  max-width: 60ch;
}

.lightbox__counter {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
#footer {
  position: relative;
  min-height: 60vh;
  background-color: var(--denim-dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-snap-align: end;
}

.footer__parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer__parallax-layer {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.footer__parallax-layer--1 {
  width: 600px;
  height: 600px;
  background: var(--pink-hot);
  top: -200px;
  right: -150px;
  animation: footer-float-1 12s ease-in-out infinite;
}

.footer__parallax-layer--2 {
  width: 400px;
  height: 400px;
  background: var(--green-mid);
  bottom: -100px;
  left: -100px;
  opacity: 0.08;
  animation: footer-float-2 10s ease-in-out infinite;
}

.footer__parallax-layer--3 {
  width: 200px;
  height: 200px;
  background: var(--gold);
  top: 50%;
  left: 15%;
  opacity: 0.1;
  animation: footer-float-1 8s ease-in-out infinite reverse;
}

@keyframes footer-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-20px, 30px) scale(1.05); }
}

@keyframes footer-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(30px, -20px) scale(0.95); }
}

.footer__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.footer__motto {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--pink-hot);
  margin-bottom: var(--space-lg);
}

.footer__credits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer__credits-line {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.6);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer__credits-line strong {
  color: rgba(255, 248, 240, 0.85);
  font-weight: 700;
}

.footer__credits-school {
  margin-top: 0.5rem;
  font-size: 0.72rem;
}

/* Easter egg croc */
.easter-egg-croc {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: var(--z-cursor);
  opacity: 0;
  transform: scale(0) rotate(-10deg);
  transition:
    opacity 0.5s ease,
    transform 0.5s var(--ease-out-back),
    left 0.3s ease,
    top 0.3s ease;
  pointer-events: none;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

.easter-egg-croc.is-peeking {
  opacity: 0.7;
  transform: scale(0.6) rotate(0deg) translateY(15px);
}

.easter-egg-croc.is-visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  animation: croc-wiggle 3s ease-in-out infinite;
}

.easter-egg-croc.is-visible::after {
  content: 'you found me!';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-style: italic;
  color: var(--pink-hot);
  white-space: nowrap;
  opacity: 0;
  animation: croc-message 3s ease 0.5s forwards;
}

@keyframes croc-message {
  0% { opacity: 0; transform: translateX(-50%) translateY(4px); }
  15% { opacity: 1; transform: translateX(-50%) translateY(0); }
  70% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes croc-wiggle {
  0%, 100% { transform: scale(1) rotate(0deg) translateY(0); }
  25% { transform: scale(1) rotate(-3deg) translateY(-3px); }
  75% { transform: scale(1) rotate(3deg) translateY(-2px); }
}

/* --------------------------------------------------------------------------
   15b. EASTER EGGS
   -------------------------------------------------------------------------- */

/* Vision hidden quote — triggered by JS */
.vision__secret {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.8s var(--ease-out-expo), opacity 0.5s ease, margin 0.5s ease;
  margin: 0;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
}

.vision__secret.is-revealed {
  max-height: 200px;
  opacity: 1;
  margin: 2rem 0;
}

.vision__secret p {
  font-family: var(--font-body);
  font-size: var(--text-lead);
  font-style: italic;
  color: var(--gold);
  line-height: 1.6;
}

.vision__secret-translation {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-style: normal;
  letter-spacing: 0.05em;
  color: var(--denim-light);
  margin-top: 0.5rem;
}

/* Artist hidden fact — appears on text selection */
.artist__hidden-fact {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s var(--ease-out-expo), opacity 0.4s ease, margin 0.4s ease;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin: 0;
}

.artist__hidden-fact.is-revealed {
  max-height: 60px;
  opacity: 0.7;
  margin-top: 1rem;
}

/* Glitter burst overlay — Konami code */
.glitter-burst {
  position: fixed;
  pointer-events: none;
  z-index: 99997;
}

.glitter-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  animation: glitter-fall 2s ease-in forwards;
}

@keyframes glitter-fall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.3);
  }
}

/* Timeline dot wink animation — subtle croc eye blink */
.timeline__step-inner::before {
  transition: all 0.2s ease;
}

.timeline__step-inner.wink::before {
  height: 4px;
  border-radius: 7px;
  background: var(--pink-hot);
}

/* --------------------------------------------------------------------------
   15c. SNEAKY SIDE CROC
   -------------------------------------------------------------------------- */
.sneaky-croc {
  position: fixed;
  right: -180px;
  bottom: 10vh;
  z-index: 9990;
  pointer-events: none;
  transition: right 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sneaky-croc.is-peeking {
  right: -80px;  /* Snout + sunglasses peek in */
}

.sneaky-croc.is-saying-hi {
  right: -15px;  /* Full face + boa visible */
}

.sneaky-croc.is-scared {
  right: -200px;
  transition: right 0.35s cubic-bezier(0.55, 0, 1, 0.45);
}

.sneaky-croc__svg {
  width: 150px;
  height: 300px;
  flex-shrink: 0;
  filter: drop-shadow(-6px 6px 16px rgba(0, 0, 0, 0.35));
}

.sneaky-croc__bubble {
  position: absolute;
  right: 155px;
  top: 20px;
  background: var(--cream);
  color: var(--denim-dark);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.7) translateX(10px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out-back);
  pointer-events: none;
}

.sneaky-croc__bubble.is-visible {
  opacity: 1;
  transform: scale(1) translateX(0);
}

/* Croc is a portrait bust — no arm, matching the painting */

/* Subtle breathing/bobbing */
.sneaky-croc.is-peeking .sneaky-croc__svg,
.sneaky-croc.is-saying-hi .sneaky-croc__svg {
  animation: croc-bob 2.5s ease-in-out infinite;
}

@keyframes croc-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* --------------------------------------------------------------------------
   16. BODY SECTION THEME SHIFTS
   -------------------------------------------------------------------------- */
body[data-active-section="hero"]    { --section-bg: var(--denim-dark); --section-text: var(--white);     --section-accent: var(--pink-hot); }
body[data-active-section="vision"]  { --section-bg: var(--cream);      --section-text: var(--denim-dark); --section-accent: var(--green-mid); }
body[data-active-section="process"] { --section-bg: #121A24;           --section-text: var(--cream);      --section-accent: var(--gold); }
body[data-active-section="details"] { --section-bg: var(--pink-hot);   --section-text: var(--white);      --section-accent: var(--gold); }
body[data-active-section="artist"]  { --section-bg: var(--green-deep); --section-text: var(--cream);      --section-accent: var(--pink-light); }
body[data-active-section="gallery"] { --section-bg: var(--white);      --section-text: var(--denim-dark); --section-accent: var(--pink-hot); }
body[data-active-section="footer"]  { --section-bg: var(--denim-dark); --section-text: var(--pink-hot);   --section-accent: var(--gold); }

/* Dot nav adapts for light sections */
body[data-active-section="vision"]  .dot-nav__label,
body[data-active-section="gallery"] .dot-nav__label {
  color: var(--denim-dark);
}

/* Cursor adapts per section */
body[data-active-section="vision"]  .cursor,
body[data-active-section="gallery"] .cursor {
  background-color: var(--denim-dark);
}

body[data-active-section="vision"]  .cursor-follower,
body[data-active-section="gallery"] .cursor-follower {
  border-color: var(--denim-dark);
}

body[data-active-section="process"] .cursor {
  background-color: var(--gold);
}

body[data-active-section="process"] .cursor-follower {
  border-color: var(--gold);
}

body[data-active-section="details"] .cursor {
  background-color: var(--white);
}

body[data-active-section="details"] .cursor-follower {
  border-color: var(--white);
}

body[data-active-section="artist"] .cursor {
  background-color: var(--pink-light);
}

body[data-active-section="artist"] .cursor-follower {
  border-color: var(--pink-light);
}

body[data-active-section="vision"]  .dot-nav__dot,
body[data-active-section="gallery"] .dot-nav__dot {
  background-color: rgba(13, 27, 42, 0.25);
}

body[data-active-section="vision"]  .dot-nav__dot.active,
body[data-active-section="vision"]  .dot-nav__dot:hover,
body[data-active-section="gallery"] .dot-nav__dot.active,
body[data-active-section="gallery"] .dot-nav__dot:hover {
  background-color: var(--pink-hot);
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE — 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .artist__grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline__step-inner {
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE — 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Language switcher mobile */
  .lang-switch {
    top: 1rem;
    right: 1rem;
  }
  .lang-switch__link {
    font-size: 0.6rem;
    padding: 0.5rem 0.4rem;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  /* Hide custom cursor on touch devices */
  .cursor,
  .cursor-follower {
    display: none;
  }

  body {
    cursor: auto;
  }

  button, a {
    cursor: pointer;
  }

  /* iOS Safari smooth scrolling & disable scroll-snap to avoid janky behavior */
  html {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
  }

  /* Film grain: reduce opacity on mobile to save GPU */
  .film-grain {
    opacity: 0.015;
    animation-duration: 16s;
  }

  /* Hide spotlight on mobile — it follows mouse which doesn't exist on touch */
  .spotlight {
    display: none;
  }

  /* Hero */
  .hero__content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding-top: 5rem;
  }

  .hero__jacket {
    max-width: 70vw;
    width: 280px;
    /* Disable expensive float animation on mobile */
    animation: jacket-entrance 1.2s var(--ease-out-expo) 0.3s both;
    will-change: auto;
  }

  .split-text {
    align-items: center;
  }

  /* Marquee: slightly larger text for readability on mobile */
  .marquee__item {
    font-size: clamp(0.85rem, 3vw, 1.1rem);
  }

  /* Vision */
  .vision__body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .manifesto-word {
    font-size: clamp(2rem, 8vw, 5rem);
  }

  /* Long German quotes: prevent overflow */
  .vision__quote p,
  .artist__quote p {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* Process timeline — vertical stacked */
  .timeline__line {
    left: 1.5rem;
  }

  .timeline__step {
    justify-content: flex-start;
    padding-left: 3.5rem;
    margin-bottom: 3rem;
  }

  .timeline__step:nth-child(odd),
  .timeline__step:nth-child(even) {
    transform: translateX(20px);
  }

  .timeline__step-inner {
    grid-template-columns: 1fr;
    direction: ltr !important;
    gap: 1.5rem;
  }

  .timeline__step-inner::before {
    left: -2rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
  }

  .timeline__step:nth-child(odd) .timeline__step-image,
  .timeline__step:nth-child(even) .timeline__step-image {
    clip-path: inset(0 100% 0 0);
    transform: none;
    order: -1;
  }

  /* Full-width timeline images on mobile */
  .timeline__step-image {
    width: 100%;
    aspect-ratio: 16/10;
  }

  .timeline__number {
    font-size: 3.5rem;
  }

  /* Details — remove perspective tilt on mobile */
  .details__jacket {
    max-width: 90vw;
    transform: none;
  }

  .details__jacket:hover {
    transform: none;
  }

  /* Detail panel: bottom sheet on mobile instead of fixed positioned near hotspot */
  .detail-panel {
    position: fixed;
    width: 100vw;
    left: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    right: 0;
    border-radius: 16px 16px 0 0;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    transform-origin: bottom center;
  }

  .detail-panel.is-open {
    transform: translateY(0);
  }

  .detail-panel__close {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    cursor: pointer;
  }

  /* Hotspots: ensure 44x44px touch targets on mobile */
  .hotspot {
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  .hotspot-dot {
    width: 16px;
    height: 16px;
  }

  .hotspot-pulse {
    width: 36px;
    height: 36px;
  }

  /* View toggle: adequate touch spacing */
  .view-toggle {
    gap: 0.75rem;
  }

  .view-toggle__btn {
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    cursor: pointer;
    font-size: 0.9rem;
  }

  /* Dot navigation: increase touch targets */
  .dot-nav {
    right: 0.5rem;
  }

  .dot-nav ul {
    gap: 0.25rem;
  }

  .dot-nav__dot {
    width: 12px;
    height: 12px;
    /* Invisible touch area: 44px minimum using padding */
    padding: 16px;
    margin: -16px;
    box-sizing: content-box;
    -webkit-tap-highlight-color: transparent;
  }

  .dot-nav__dot.active,
  .dot-nav__dot:hover {
    width: 14px;
    height: 14px;
  }

  /* Dot nav labels: always show on mobile since hover won't work */
  .dot-nav__label {
    opacity: 0;
    pointer-events: none;
  }

  /* Artist */
  .artist__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  /* Gallery: always show captions on mobile since hover doesn't apply to touch */
  .gallery__item figcaption {
    transform: translateY(0);
  }

  /* Gallery: show a subtle overlay on mobile instead of relying on hover */
  .gallery__item::after {
    opacity: 0.08;
  }

  /* Gallery: disable hover-only image zoom */
  .gallery__item:hover img {
    transform: none;
    filter: none;
  }

  /* Footer */
  .footer__motto {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  /* Sneaky croc: smaller on mobile */
  .sneaky-croc__svg {
    width: 100px;
    height: 200px;
  }

  .sneaky-croc__bubble {
    right: 105px;
    font-size: 0.8rem;
  }

  /* Easter egg croc: slightly smaller on mobile */
  .easter-egg-croc svg {
    width: 44px;
    height: 50px;
  }

  /* Reduce backdrop-filter usage on mobile for performance */
  .preloader {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE — 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --text-hero: clamp(2.5rem, 10vw, 4.5rem);
    --text-title: clamp(1.5rem, 6vw, 2.5rem);
  }

  .hero__jacket {
    max-width: 80vw;
    width: 230px;
  }

  /* Hide film grain entirely on small phones for GPU savings */
  .film-grain {
    display: none;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery__item:nth-child(1),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(7),
  .gallery__item:nth-child(10) {
    grid-row: span 1;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  /* Gallery items: limit max height so single-column images aren't too tall */
  .gallery__item {
    max-height: 300px;
  }

  .dot-nav {
    right: 0.5rem;
  }

  .view-toggle {
    flex-wrap: wrap;
    justify-content: center;
  }

  .view-toggle__btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.8rem;
  }

  .timeline__step {
    padding-left: 2.5rem;
  }

  .timeline__number {
    font-size: 2.5rem;
  }

  /* Footer parallax: reduce sizes on small screens */
  .footer__parallax-layer--1 {
    width: 300px;
    height: 300px;
  }

  .footer__parallax-layer--2 {
    width: 200px;
    height: 200px;
  }

  .footer__parallax-layer--3 {
    width: 100px;
    height: 100px;
  }

  /* Sneaky croc: hide on very small screens */
  .sneaky-croc {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   19b. RESPONSIVE — 320px (very small phones)
   -------------------------------------------------------------------------- */
@media (max-width: 320px) {
  :root {
    --text-hero: clamp(2rem, 12vw, 3rem);
    --text-title: clamp(1.25rem, 7vw, 2rem);
    --text-display: clamp(1.75rem, 8vw, 3rem);
  }

  .hero__jacket {
    width: 200px;
    max-width: 85vw;
  }

  .hero__content {
    padding: 3rem 1rem 6rem;
  }

  .manifesto-word {
    font-size: clamp(1.5rem, 10vw, 3rem);
    white-space: normal;
  }

  .artist__name {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  .artist__name--mentor {
    font-size: clamp(1.75rem, 8vw, 3rem);
  }
}

/* --------------------------------------------------------------------------
   19c. TOUCH DEVICE OVERRIDES (pointer: coarse)
   Applies to ANY touch device regardless of screen size (tablets, etc.)
   -------------------------------------------------------------------------- */
@media (pointer: coarse) {
  /* Restore native cursor on all touch devices */
  body {
    cursor: auto;
  }

  .lang-switch__link {
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
  }

  button, a {
    cursor: pointer;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  /* Spotlight: useless without mouse */
  .spotlight {
    display: none;
  }

  /* Gallery: always show captions on touch */
  .gallery__item figcaption {
    transform: translateY(0);
  }

  /* Gallery: subtle permanent overlay for touch */
  .gallery__item::after {
    opacity: 0.08;
  }

  /* Dot nav labels: don't try to show on hover */
  .dot-nav__label {
    display: none;
  }

  /* Hotspots: minimum 44px touch targets */
  .hotspot {
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  /* Detail panel close: 44px minimum */
  .detail-panel__close {
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  /* Lightbox buttons: ensure touch-friendly */
  .lightbox__close,
  .lightbox__prev,
  .lightbox__next {
    cursor: pointer;
  }

  /* View toggle: cursor pointer for touch */
  .view-toggle__btn {
    cursor: pointer;
  }

  /* Hotspot and detail panel close: restore cursor on touch */
  .hotspot {
    cursor: pointer;
  }

  .detail-panel__close {
    cursor: pointer;
  }

  /* Details jacket: remove perspective tilt on touch */
  .details__jacket {
    transform: none;
  }

  .details__jacket:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   19d. ULTRAWIDE SCREENS (2560px+)
   -------------------------------------------------------------------------- */
@media (min-width: 2560px) {
  /* Ensure marquee has enough speed to look smooth on ultrawides */
  .marquee__track {
    animation-duration: 40s;
  }

  /* Hero: cap content width so it doesn't stretch too thin */
  .hero__content {
    max-width: 1800px;
  }

  /* Gallery container: allow a bit more width on ultrawides */
  .gallery__container {
    max-width: 1800px;
  }

  /* Timeline steps: wider gap to use space */
  .timeline__step-inner {
    gap: 6rem;
  }

  /* Artist grid: proportional spacing */
  .artist__grid {
    gap: 6rem;
  }

  /* Details image: cap to prevent over-sizing */
  .details__jacket {
    max-width: 700px;
  }
}

/* --------------------------------------------------------------------------
   20. PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero__jacket {
    animation: none;
    will-change: auto;
  }

  .hero__glow {
    animation: none;
  }

  .hotspot-pulse {
    animation: none;
  }

  .scroll-indicator__line {
    animation: none;
  }

  .film-grain {
    animation: none;
  }

  .split-text__inner {
    animation: none;
    transform: none;
    opacity: 1;
  }

  .hero__subtitle {
    animation: none;
    opacity: 1;
  }

  .scroll-indicator {
    animation: none;
    opacity: 1;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .timeline__step {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .timeline__step-image {
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }
}
