/* ================================================================
   H420 — Sticker Bombing Everywhere
   style.css v8
   ================================================================ */


/* ================================================================
   RESET & VARIABLES
   ================================================================ */

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

:root {
  --bg:         #080806;
  --bg-surface: #100f0c;
  --text:       #f0ebe0;
  --text-muted: #6a6358;
  --accent:     #5CB82E;
  --accent-dim: rgba(92, 184, 46, 0.1);

  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body:    'Space Grotesk', system-ui, sans-serif;

  --pad-x:       clamp(24px, 6vw, 96px);
  --pad-section: clamp(80px, 10vw, 160px);
  --gap:         clamp(4px, 0.6vw, 10px);

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

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

picture { display: contents; }

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

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}


/* ================================================================
   GRAIN + SCANLINES
   ================================================================ */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9996;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9995;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.04) 3px,
    rgba(0, 0, 0, 0.04) 4px
  );
  animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
  from { background-position: 0 0; }
  to   { background-position: 0 100vh; }
}

/* Occasional glitch line */
.scanlines::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: rgba(92, 184, 46, 0.12);
  animation: glitchLine 7s ease-in-out infinite;
  opacity: 0;
}

@keyframes glitchLine {
  0%,  89% { opacity: 0; top: 20%; }
  90%       { opacity: 1; top: 20%; }
  91%       { opacity: 1; top: 60%; }
  92%       { opacity: 0; top: 80%; }
  93%       { opacity: 0.6; top: 35%; }
  94%,100%  { opacity: 0; top: 35%; }
}


/* ================================================================
   INTRO SEQUENCE
   ================================================================ */

.intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  overflow: hidden;
}

.intro.is-done {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.intro__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  will-change: transform, opacity;
}

.intro__slide.is-active {
  opacity: 1;
  animation: introZoom 0.75s var(--ease) forwards;
}

@keyframes introZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}

.intro__slide:nth-child(2).is-active { animation-name: introZoomAlt; }
.intro__slide:nth-child(3).is-active { animation-name: introZoomRight; }
.intro__slide:nth-child(4).is-active { animation-name: introZoom; }
.intro__slide:nth-child(5).is-active { animation-name: introZoomAlt; }

@keyframes introZoomAlt {
  from { transform: scale(1.06) translate(2%, -1%); }
  to   { transform: scale(1.0)  translate(0, 0); }
}
@keyframes introZoomRight {
  from { transform: scale(1.1) translate(-2%, 1%); }
  to   { transform: scale(1.0) translate(0, 0); }
}

/* Dark overlay on slides */
.intro__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.5) 100%
  );
  z-index: 1;
}

/* H420 logo */
.intro__text {
  position: absolute;
  bottom: clamp(60px, 10vh, 120px);
  left: var(--pad-x);
  z-index: 3;
  opacity: 0;
  transform: translateY(20px);
}

.intro__text.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}

.intro__logo {
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 200px);
  line-height: 0.88;
  color: var(--text);
  animation: glitchPulse 0.4s steps(2) 1;
}

.intro__logo em {
  font-style: normal;
  color: var(--accent);
}

@keyframes glitchPulse {
  0%   { clip-path: inset(0 0 100% 0); transform: translate(0,0); }
  25%  { clip-path: inset(30% 0 50% 0); transform: translate(-4px, 0); }
  50%  { clip-path: inset(60% 0 10% 0); transform: translate(4px, 0); }
  75%  { clip-path: inset(0 0 20% 0);   transform: translate(-2px, 0); }
  100% { clip-path: inset(0 0 0 0);     transform: translate(0, 0); }
}

.intro__tagline {
  font-size: clamp(10px, 1.4vw, 14px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 16px;
  opacity: 0;
  transform: translateX(-10px);
}

.intro__tagline.is-visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.4s ease 0.1s, transform 0.4s var(--ease-out) 0.1s;
}

/* Green wipe */
.intro__wipe {
  position: absolute;
  inset: 0;
  background: var(--accent);
  z-index: 4;
  transform: scaleX(0);
  transform-origin: left;
}

.intro__wipe.is-active {
  transform: scaleX(1);
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.3, 1);
}

/* Skip button */
.intro__skip {
  position: absolute;
  top: 28px;
  right: var(--pad-x);
  z-index: 5;
  background: none;
  border: 1px solid rgba(240, 235, 224, 0.25);
  color: rgba(240, 235, 224, 0.5);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 16px;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.intro__skip:hover {
  color: var(--text);
  border-color: rgba(240, 235, 224, 0.6);
}


/* ================================================================
   CUSTOM CURSOR
   ================================================================ */

.cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease),
              background .3s, border-color .3s;
  mix-blend-mode: difference;
}

.cursor.is-hovering {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border-color: rgba(92, 184, 46, 0.5);
}

.cursor.is-clicking {
  width: 20px;
  height: 20px;
}

.cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

/* Spray dots */
.spray-dot {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9994;
  background: var(--accent);
  transform: translate(-50%, -50%);
}


/* ================================================================
   HEADER
   ================================================================ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px var(--pad-x);
  mix-blend-mode: difference;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(240, 235, 224, 0.15);
}

.lang-btn {
  font-size: 20px;
  line-height: 1;
  background: none;
  border: none;
  padding: 2px;
  opacity: 0.3;
  -webkit-filter: grayscale(0.4);
          filter: grayscale(0.4);
  transition: opacity 0.25s, filter 0.25s, -webkit-filter 0.25s, transform 0.2s;
}

.lang-btn.is-active {
  opacity: 1;
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
}

.lang-btn:hover:not(.is-active) {
  opacity: 0.7;
  -webkit-filter: grayscale(0.1);
          filter: grayscale(0.1);
  transform: scale(1.1);
}

.header__logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: opacity .3s;
}

.header__logo:hover { opacity: .55; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  opacity: .5;
  transition: opacity .3s;
}

.header__nav a:hover { opacity: 1; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  gap: 6px;
  z-index: 101;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ================================================================
   MOBILE NAV
   ================================================================ */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(8, 8, 6, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

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

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: clamp(56px, 18vw, 96px);
  letter-spacing: 0.06em;
  color: var(--text);
  opacity: 0.5;
  transition: opacity 0.2s, color 0.2s;
  line-height: 1.1;
}

.mobile-nav__link:hover { opacity: 1; color: var(--accent); }

.mobile-nav__lang {
  margin-top: 32px;
  border-left: none;
  padding-left: 0;
  gap: 20px;
}

.mobile-nav__lang .lang-btn { font-size: 28px; padding: 4px; }


/* ================================================================
   HERO
   ================================================================ */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad-x) clamp(48px, 7vh, 80px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,6,.35) 0%,
    transparent 20%,
    transparent 40%,
    rgba(8,8,6,.95) 100%
  );
  z-index: 2;
}

/* Ken Burns slides */
.hero__bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  will-change: transform, opacity;
}

.hero__bg-slide.is-active {
  opacity: 0.28;
  animation: kb1 7s var(--ease) forwards;
}

.hero__bg-slide:nth-child(1).is-active { animation-name: kb1; }
.hero__bg-slide:nth-child(2).is-active { animation-name: kb2; }
.hero__bg-slide:nth-child(3).is-active { animation-name: kb3; }
.hero__bg-slide:nth-child(4).is-active { animation-name: kb4; }

@keyframes kb1 {
  from { transform: scale(1.0) translate(0,    0   ); }
  to   { transform: scale(1.1) translate(-1.5%, -1%); }
}
@keyframes kb2 {
  from { transform: scale(1.08) translate(-2%, 0); }
  to   { transform: scale(1.0)  translate( 0,  0); }
}
@keyframes kb3 {
  from { transform: scale(1.0) translate(1.5%, 1%); }
  to   { transform: scale(1.1) translate(0,    0  ); }
}
@keyframes kb4 {
  from { transform: scale(1.05) translate(0, -1.5%); }
  to   { transform: scale(1.0)  translate(0,  0   ); }
}

.hero__content {
  position: relative;
  z-index: 10;
}

.hero__label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 1s var(--ease) .3s forwards;
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(120px, 28vw, 440px);
  line-height: 0.86;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.hero__title-line {
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
  animation: slideUp 1s var(--ease-out) forwards;
}

.hero__title-line:nth-child(1) { animation-delay: .5s; }
.hero__title-line:nth-child(2) { animation-delay: .7s; }

.hero__title-line--italic {
  color: var(--accent);
  padding-left: clamp(32px, 6vw, 100px);
  transform: skewX(-4deg);
  display: inline-block;
  position: relative;
}

.hero__title-line--italic::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: clamp(32px, 6vw, 100px);
  width: 3px;
  height: clamp(14px, 2vw, 28px);
  background: var(--accent);
  opacity: 0.7;
}

.hero__sub {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1s forwards;
}

.hero__scroll-hint {
  position: absolute;
  bottom: clamp(48px, 7vh, 80px);
  right: var(--pad-x);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.4s forwards;
}

.hero__scroll-hint span {
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-lr;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  transform-origin: top;
  animation: scrollPulse 2.4s ease-in-out 1.8s infinite;
  opacity: 0;
}


/* ================================================================
   GALLERY — CHAOS MODE
   ================================================================ */

.gallery {
  padding: var(--pad-section) var(--pad-x);
}

.gallery__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.gallery__count {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  align-self: flex-start;
  padding-top: 8px;
}

.gallery__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.88;
  text-align: right;
  letter-spacing: 0.03em;
}

.gallery__title em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

/* Grid: overflow visible so rotated items can poke out */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 22vw, 320px);
  gap: var(--gap);
  grid-auto-flow: dense;
  overflow: visible;
}

.gallery-item--wide  { grid-column: span 2; }
.gallery-item--tall  { grid-row:    span 2; }
.gallery-item--large { grid-column: span 2; grid-row: span 2; }

/* Base state: hidden, ready for entrance animation */
.gallery-item {
  overflow: visible;
  position: relative;
  z-index: 1;
  opacity: 0;
  will-change: transform, opacity;
}

/* Slow transition during entrance */
.gallery-item.entering {
  transition: opacity 0.65s var(--ease), transform 0.85s var(--ease-out);
}

/* After entrance: fast hover transitions */
.gallery-item.in-view {
  opacity: 1;
  transition: transform 0.22s var(--ease-out), z-index 0s;
}

.gallery-item.in-view:hover {
  z-index: 20;
  transform: rotate(0deg) scale(1.04) !important;
}

/* Inner container */
.gallery-item__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-surface);
  cursor: none;
  transition: filter 0.15s ease;
}

/* RGB split on hover via SVG filter */
.gallery-item.in-view:hover .gallery-item__inner {
  filter: url(#rgb-split);
  animation: itemShake 0.3s ease-in-out;
}

@keyframes itemShake {
  0%   { transform: translate(0,    0   ); }
  20%  { transform: translate(-2px, 1px ); }
  40%  { transform: translate( 2px, -1px); }
  60%  { transform: translate(-1px, 2px ); }
  80%  { transform: translate( 1px, -1px); }
  100% { transform: translate(0,    0   ); }
}

.gallery-item__inner img {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: transform .6s var(--ease), opacity .4s;
}

.gallery-item.in-view:hover .gallery-item__inner img {
  transform: scale(1.06);
}

/* Overlay — always visible on touch, hover on desktop */
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(8,8,6,.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.gallery-item.in-view:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__num {
  display: block;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.gallery-item__caption {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 26px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
}

.gallery-loading, .gallery-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* ================================================================
   ABOUT
   ================================================================ */

.about {
  padding: var(--pad-section) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.05);
}

.about__label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.88;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}

.about__title em { font-style: normal; color: var(--accent); display: block; }

.about__text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 44px;
}

.about__social      { display: flex; gap: 20px; flex-wrap: wrap; }

.about__social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 2px solid rgba(255,255,255,.14);
  padding: 14px 28px;
  box-shadow: 4px 4px 0 rgba(92, 184, 46, 0.2);
  transition: border-color .25s, color .25s, box-shadow .25s, transform .25s;
}

.about__social-link svg  { flex-shrink: 0; }

.about__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 5px 5px 0 var(--accent);
  transform: translate(-2px, -2px);
}

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

.about__img-wrap {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-surface);
  position: relative;
}

@supports not (aspect-ratio: 3 / 4) {
  .about__img-wrap::before { content: ''; display: block; padding-top: 133.33%; }
  .about__img-wrap img, .about__img-wrap picture { position: absolute; inset: 0; }
}


/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  padding: 40px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  justify-content: center;
}

.footer__copy {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}


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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8,8,6,.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
  -webkit-backdrop-filter: blur(24px);
          backdrop-filter: blur(24px);
}

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

.lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: min(94vw, 1100px);
  max-height: 92vh;
}

.lightbox__content img {
  width: auto; height: auto;
  max-width: 100%; max-height: 82vh;
  object-fit: contain;
  transition: opacity .2s;
}

.lightbox__caption {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  font-size: 18px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, background .3s, color .3s;
}

.lightbox__close { top: 28px; right: 28px; }
.lightbox__prev  { left: 28px;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 28px; top: 50%; transform: translateY(-50%); }

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}


/* ================================================================
   KEYFRAMES
   ================================================================ */

@keyframes fadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0);   transform-origin: top; }
  25%  { opacity: 1; transform: scaleY(1);   transform-origin: top; }
  75%  { opacity: 1; transform: scaleY(1);   transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0);   transform-origin: bottom; }
}


/* ================================================================
   RESPONSIVE — TABLET ≤ 900px
   ================================================================ */

@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(180px, 30vw, 280px);
  }
  .gallery-item--large { grid-column: span 2; grid-row: span 2; }
  .gallery-item--wide  { grid-column: span 2; }
  .about { grid-template-columns: 1fr; gap: 52px; }
  .about__img-wrap { max-width: 100%; aspect-ratio: 16 / 9; }
}


/* ================================================================
   RESPONSIVE — MOBILE ≤ 600px
   ================================================================ */

@media (max-width: 600px) {
  body   { cursor: auto; }
  button { cursor: auto; }
  .cursor, .cursor-dot, .spray-dot { display: none; }

  .header__nav { display: none; }
  .nav-toggle  { display: flex; }
  .header      { padding: 20px var(--pad-x); }

  .gallery__intro { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gallery__title { text-align: left; }
  .gallery__grid  {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(140px, 44vw, 220px);
  }
  .gallery-item--wide,
  .gallery-item--large { grid-column: span 2; }
  .gallery-item--tall  { grid-row: span 1; }

  /* Always show overlay on touch */
  .gallery-item__overlay { opacity: 1; }

  /* Reduce chaos on mobile */
  .gallery-item.in-view { transform: rotate(0deg) !important; }

  .about__text    { max-width: 100%; }
  .about__social  { flex-direction: column; gap: 12px; }
  .about__social-link { justify-content: center; }

  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
  .lightbox__prev, .lightbox__next { width: 40px; height: 40px; font-size: 16px; }

  /* Intro: smaller logo on mobile */
  .intro__logo { font-size: clamp(64px, 22vw, 120px); }
}
