/* =====================================================================
   PIMASZ — FLAME JACKETS
   A színeket (--bg, --ink, --accent…) görgetés közben a main.js keveri
   ("kaméleon"): az oldal mindig az épp látható tok világát veszi fel.
   ===================================================================== */

:root {
  --bg: #fff1d6;
  --ink: #1a120c;
  --accent: #ff5a1f;
  --accent-ink: #fff1d6;
  --pop: #ff8cc6;

  --f-display: "Bagel Fat One", "Titan One", system-ui, sans-serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, Consolas, monospace;
  --f-hand: "Caveat", "Segoe Print", cursive;

  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --soft: color-mix(in oklab, var(--ink) 14%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-loading { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.01em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
svg { overflow: visible; }
[hidden] { display: none !important; }

.mono {
  font-family: var(--f-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---------- ambient layers ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 90;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.4s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -2%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.sparks { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 95; }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 100;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  pointer-events: none;
  display: grid; place-items: center;
  opacity: 0;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out),
              background-color .3s, border-color .3s, opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--ink); border-color: var(--ink); }
.cursor.is-hot { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); border-width: 2px; }
.cursor__label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-big .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: #15100c; color: #fff1d6;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s cubic-bezier(.76, 0, .24, 1);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__word { font-family: var(--f-display); font-size: clamp(4rem, 16vw, 11rem); line-height: .9; display: flex; }
.loader__word span {
  display: inline-block;
  color: var(--c, #ff7a1a);
  text-shadow: 0 .03em 0 #000, 0 .06em 0 #000;
  transform: translateY(40%) scale(.4); opacity: 0;
  animation: pop-in .7s var(--ease-spring) forwards;
}
.loader__word span:nth-child(1) { --c: #ff7a1a; animation-delay: .05s; }
.loader__word span:nth-child(2) { --c: #ffc53d; animation-delay: .12s; }
.loader__word span:nth-child(3) { --c: #8ccf5a; animation-delay: .19s; }
.loader__word span:nth-child(4) { --c: #7cc4f5; animation-delay: .26s; }
.loader__word span:nth-child(5) { --c: #b48be0; animation-delay: .33s; }
.loader__word span:nth-child(6) { --c: #ff7fb6; animation-delay: .40s; }
.loader__sub { opacity: 0; animation: fade-in .6s .6s forwards; }
@keyframes pop-in { to { transform: none; opacity: 1; } }
@keyframes fade-in { to { opacity: .7; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: linear-gradient(var(--bg) 20%, color-mix(in oklab, var(--bg) 0%, transparent));
  transition: transform .55s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo {
  font-family: var(--f-display); font-size: 30px; line-height: 1;
  transition: transform .4s var(--ease-spring);
}
.nav__logo:hover { transform: rotate(-6deg) scale(1.08); }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em;
  padding: 9px 14px; border-radius: 99px;
  transition: background-color .25s, color .25s;
}
.nav__links a:hover { background: var(--ink); color: var(--bg); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border: 2px solid currentColor; border-radius: 99px;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  transition: background-color .25s, color .25s, transform .45s var(--ease-spring);
}
.pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.pill svg .fill { fill: currentColor; stroke: none; }
.pill:hover { background: var(--ink); color: var(--bg); transform: rotate(-3deg) scale(1.04); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 620px;
  overflow: hidden;
}
.hero__meta {
  position: absolute; z-index: 3;
  top: clamp(78px, 11vh, 110px); left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px;
}
.hero__meta b { color: var(--accent); font-weight: 500; }
.live-dot {
  display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%;
  background: #2fd162; vertical-align: 1px;
  animation: ping 1.8s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(47, 209, 98, .55); }
  70% { box-shadow: 0 0 0 9px rgba(47, 209, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 209, 98, 0); }
}

.hero__tag {
  display: none;
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter);
  top: calc(var(--wm-top, 19vh) - 1em - 8vh);
  margin: 0; text-align: center;
  font-size: clamp(1.35rem, 6.4vw, 1.8rem); font-weight: 700; line-height: 1.12; letter-spacing: -.025em;
  text-wrap: balance;
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s .5s, transform 1s var(--ease-out) .5s;
}
.hero__tag em { color: var(--accent); font-weight: 500; }
.hero.is-in .hero__tag { opacity: 1; transform: none; }

.wordmark {
  position: absolute; z-index: 1;
  left: 50%; top: var(--wm-top, 19vh);
  margin: 0;
  display: flex;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(5.4rem, 25vw, 27rem);
  line-height: .8; letter-spacing: -.02em;
  white-space: nowrap;
  transform: translate3d(calc(-50% + var(--mx, 0px)), calc(var(--my, 0px) + var(--hero-p, 0) * -12vh), 0) scale(calc(1 - var(--hero-p, 0) * .12));
  transition: transform .9s var(--ease-out);
}
.wordmark span {
  display: inline-block;
  color: #ff7a1a;
  text-shadow: 0 .02em 0 var(--ink), 0 .04em 0 var(--ink), 0 .06em 0 var(--ink), 0 .1em .08em rgba(0, 0, 0, .18);
  animation: candy 16s linear infinite;
  animation-delay: calc(var(--i) * -2.6s);
  transform: translateY(70%) scale(.5) rotate(-10deg);
  opacity: 0;
  transition: transform 1s var(--ease-spring), opacity .5s;
  transition-delay: calc(var(--i) * 70ms);
}
.hero.is-in .wordmark span { transform: none; opacity: 1; }
.hero.is-ready .wordmark span { transition-delay: 0s; transition-duration: .5s; }
.hero.is-ready .wordmark span:hover { transform: translateY(-9%) rotate(-7deg) scale(1.04); }
@keyframes candy {
  0%, 100% { color: #ff7a1a; }
  16% { color: #ffc53d; }
  33% { color: #8ccf5a; }
  50% { color: #7cc4f5; }
  66% { color: #b48be0; }
  83% { color: #ff7fb6; }
}

.rotor {
  position: absolute; z-index: 4;
  right: clamp(12px, 7vw, 120px); top: calc(var(--wm-top, 19vh) - 3vh);
  width: clamp(92px, 10vw, 150px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transform: scale(0) rotate(-90deg);
  transition: transform 1.1s var(--ease-spring) .9s;
}
.hero.is-in .rotor { transform: none; }
.rotor__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.rotor__ring text { font-family: var(--f-mono); font-size: 15px; font-weight: 500; fill: currentColor; letter-spacing: .06em; }
.rotor__flame { width: 26%; height: 36%; animation: flicker 1.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* fan of jackets */
.fan {
  position: absolute; z-index: 2;
  left: 50%; bottom: var(--fan-bottom, 80px);
  width: 0; height: 0;
  transform: translateY(calc(var(--hero-p, 0) * 22vh));
}
.fan__inner { position: absolute; left: 0; bottom: 0; transition: transform .9s var(--ease-out); }
.fan__card {
  position: absolute; left: calc(var(--cw) / -2); bottom: 0;
  width: var(--cw); height: var(--ch);
  transform-origin: 50% var(--pivot, 320%);
  transform: translateY(140%) rotate(0deg);
  opacity: 0;
  transition: transform 1.2s var(--ease-spring), opacity .4s;
  transition-delay: calc(var(--i) * 60ms + .15s);
  -webkit-tap-highlight-color: transparent;
}
.fan.is-in .fan__card { transform: rotate(var(--rot)); opacity: 1; }
.fan.is-ready .fan__card { transition-duration: .55s, .3s; transition-delay: 0s; }
.fan.is-ready .fan__card:hover,
.fan.is-ready .fan__card:focus-visible { transform: rotate(var(--rot)) translateY(-14%) scale(1.07); z-index: 20; }
.fan__card .fan__img { position: relative; display: block; height: 100%; aspect-ratio: var(--ar); margin: 0 auto; }
.fan__card img { width: 100%; height: 100%; filter: drop-shadow(0 18px 16px rgba(40, 20, 5, .28)) drop-shadow(0 3px 4px rgba(40, 20, 5, .2)); }
.fan__label {
  position: absolute; left: 50%; top: -14%;
  transform: translate(-50%, 8px) rotate(calc(var(--rot) * -1));
  padding: 5px 10px; border-radius: 99px;
  background: var(--ink); color: var(--bg);
  font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .4s var(--ease-spring);
}
.fan__card:hover .fan__label, .fan__card:focus-visible .fan__label { opacity: 1; transform: translate(-50%, 0) rotate(calc(var(--rot) * -1)); }
.fan__card:hover .flame, .fan__card:focus-visible .flame { transform: translateX(-50%) scale(1); }

.hero__foot {
  position: absolute; z-index: 3;
  left: var(--gutter); right: var(--gutter); bottom: 22px;
  display: flex; justify-content: space-between; align-items: end;
  pointer-events: none;
}
.hero__foot > * { pointer-events: auto; }
.scroll-cue {
  margin-left: auto;
  display: grid; place-items: center; gap: 2px;
  width: 86px; height: 86px; border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--bg);
  transition: transform .4s var(--ease-spring), background-color .3s, color .3s;
}
.scroll-cue .mono { font-size: .62rem; }
.scroll-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: bob-y 1.6s ease-in-out infinite; }
.scroll-cue:hover { transform: rotate(-12deg) scale(1.06); background: var(--ink); color: var(--bg); }
@keyframes bob-y { 50% { transform: translateY(4px); } }

/* ---------- marquees ---------- */
.marquees { position: relative; height: clamp(150px, 17vw, 240px); overflow: hidden; }
.marquee {
  position: absolute; left: -5%; top: 50%; width: 110%;
  padding: .5em 0;
  font-family: var(--f-display); font-size: clamp(1.5rem, 3.3vw, 3.1rem); line-height: 1;
  white-space: nowrap; overflow: hidden;
}
.marquee--a { background: var(--ink); color: var(--bg); transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.marquee--b { background: var(--accent); color: var(--accent-ink); transform: translateY(-50%) rotate(2.4deg); }
.marquee__track { display: inline-flex; animation: marq var(--dur, 30s) linear infinite; will-change: transform; }
.marquee--b .marquee__track { animation-direction: reverse; }
.marquee__track span { padding-right: .4em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(110px, 18vh, 210px) var(--gutter); }
.manifesto__label { text-align: center; margin: 0 0 32px; opacity: .6; }
.manifesto__text {
  max-width: 1280px; margin: 0 auto;
  font-weight: 800;
  font-size: clamp(2rem, 5.4vw, 5.6rem);
  line-height: 1.06; letter-spacing: -.04em;
  text-align: center; text-wrap: balance;
}
.manifesto__text em { font-weight: 500; letter-spacing: -.02em; }
.w { opacity: .13; transition: opacity .4s ease; }
.w.on { opacity: 1; }
.inl {
  display: inline-grid; place-items: center;
  width: 2.15em; height: 1em; margin: 0 .06em;
  border-radius: 99px; overflow: hidden;
  background: var(--c);
  vertical-align: -.1em;
  transform: rotate(var(--r, -4deg));
  transition: transform .5s var(--ease-spring), opacity .4s ease;
  box-shadow: inset 0 0 0 .04em color-mix(in oklab, var(--ink) 25%, transparent);
}
.inl img { height: 1.95em; width: auto; max-width: none; transform: rotate(-90deg); filter: drop-shadow(0 .03em .04em rgba(0, 0, 0, .35)); }
.inl:hover { transform: rotate(calc(var(--r, -4deg) * -2)) scale(1.18); }

/* ---------- drop intro ---------- */
.drop-intro { position: relative; padding: clamp(110px, 18vh, 200px) var(--gutter) clamp(70px, 10vh, 120px); text-align: center; }
.drop-intro__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(4.6rem, 18vw, 18rem); line-height: .82; letter-spacing: -.02em;
  margin: .12em 0 .16em;
}
.drop-intro__title .outline { color: transparent; -webkit-text-stroke: clamp(1.5px, .25vw, 3px) var(--ink); }
.drop-intro__lead { max-width: 30ch; margin: 0 auto; text-wrap: balance; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.35; }
.drop-intro__lead em { color: var(--accent); }
.drop-intro__hint { margin-top: 42px; opacity: .6; }
.lineup { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 52px auto 0; max-width: 980px; }
.lineup a {
  width: clamp(54px, 6vw, 70px); aspect-ratio: .68;
  border-radius: 18px; background: var(--c);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px color-mix(in oklab, #fff 14%, transparent);
  transition: transform .45s var(--ease-spring);
}
.lineup img { height: 84%; width: auto; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .3)); }
.lineup a:hover, .lineup a:focus-visible { transform: translateY(-10px) rotate(-6deg) scale(1.1); }
.lineup a.sold { opacity: .45; }

/* ---------- jacket sections ---------- */
.jacket {
  position: relative;
  min-height: 100svh;
  display: grid; grid-template-columns: 1.08fr 1fr; align-items: center;
  gap: clamp(20px, 4vw, 70px);
  padding: clamp(90px, 12vh, 140px) var(--gutter);
  overflow: clip;
}
.jacket[data-side="right"] .jacket__stage { order: 2; }
.jacket[data-side="right"] .jacket__info { justify-self: end; }

.jacket__ghost {
  position: absolute; left: 0; top: 50%; z-index: 0;
  font-family: var(--f-display); font-size: clamp(8rem, 24vw, 26rem); line-height: 1;
  white-space: nowrap; text-transform: lowercase;
  color: transparent;
  -webkit-text-stroke: clamp(1px, .18vw, 2.5px) color-mix(in oklab, var(--ink) 22%, transparent);
  transform: translate3d(var(--gx, 0px), -50%, 0);
  pointer-events: none; user-select: none;
  will-change: transform;
}

.jacket__stage {
  position: relative; z-index: 1;
  width: min(100%, 640px); aspect-ratio: 1; justify-self: center;
}
.jacket__ring {
  position: absolute; inset: 3%;
  opacity: 0; transform: scale(.55) rotate(-60deg);
  transition: opacity 1s, transform 1.5s var(--ease-out);
}
.jacket.is-in .jacket__ring { opacity: .6; transform: none; }
.jacket__ring svg { width: 100%; height: 100%; animation: spin 32s linear infinite; }
.jacket__ring text { font-family: var(--f-mono); font-size: 9px; font-weight: 500; fill: currentColor; letter-spacing: .04em; }
.jacket__ring circle { fill: none; stroke: currentColor; stroke-width: .5; stroke-dasharray: 1 3; opacity: .7; }

.jacket__glow {
  position: absolute; inset: 16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--p-accent), transparent);
  filter: blur(34px);
  opacity: 0;
  transition: opacity 1.2s;
}
.jacket.is-in .jacket__glow { opacity: .5; animation: glow 5s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.12); } }

.jacket__fig {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  perspective: 900px;
}
.jacket__float { position: relative; flex: none; height: 82%; aspect-ratio: var(--ar); animation: float 6.5s ease-in-out infinite; }
.jacket__reveal {
  position: relative; width: 100%; height: 100%;
  opacity: 0; transform: translateY(90px) rotate(-14deg) scale(.72);
  filter: blur(10px);
  transition: opacity .8s, transform 1.4s var(--ease-spring), filter .9s;
}
.jacket.is-in .jacket__reveal { opacity: 1; transform: none; filter: blur(0); }
.jacket__tilt {
  position: relative; width: 100%; height: 100%;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease-out);
  cursor: pointer;
}
.jacket__tilt > img {
  width: 100%; height: 100%;
  filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .32)) drop-shadow(0 6px 8px rgba(0, 0, 0, .22));
  user-select: none; -webkit-user-drag: none;
}
.jacket__sheen {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--mask) center / 100% 100% no-repeat;
          mask: var(--mask) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 49%, rgba(255, 255, 255, .1) 54%, transparent 62%);
  background-size: 260% 100%;
  background-position: var(--sx, 130%) 0;
  mix-blend-mode: soft-light;
  opacity: .9;
  transition: background-position .5s var(--ease-out);
}
.jacket.is-in .jacket__sheen { animation: sheen 1.6s .6s var(--ease-out) both; }
@keyframes sheen { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.jacket__tilt:hover .jacket__sheen { animation: none; }
@keyframes float {
  0%, 100% { transform: translateY(-1.5%) rotate(-1.2deg); }
  50% { transform: translateY(1.5%) rotate(1.2deg); }
}

/* flame */
.flame {
  position: absolute; z-index: 2;
  left: var(--fx); bottom: calc(100% - var(--fy) - .6%);
  width: 19%; aspect-ratio: .6;
  transform: translateX(-50%) scale(0);
  transform-origin: 50% 100%;
  transition: transform .55s var(--ease-spring);
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(255, 170, 60, .95)) drop-shadow(0 0 26px rgba(255, 90, 20, .6));
}
.flame svg { width: 100%; height: 100%; transform-origin: 50% 100%; animation: flicker 1.3s ease-in-out infinite; }
.is-lit .flame { transform: translateX(-50%) scale(1); }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) skewX(0deg); }
  20% { transform: scale(.94, 1.07) skewX(2deg); }
  40% { transform: scale(1.04, .95) skewX(-2.5deg); }
  60% { transform: scale(.97, 1.09) skewX(1.5deg); }
  80% { transform: scale(1.02, .97) skewX(-1deg); }
}

.jacket__floor {
  position: absolute; left: 50%; bottom: 3%;
  width: 40%; height: 7%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .3), transparent);
  animation: floor 6.5s ease-in-out infinite;
}
@keyframes floor { 50% { transform: translateX(-50%) scale(.85); opacity: .7; } }

.stamp {
  position: absolute; z-index: 5; top: 14%; right: 4%;
  padding: .2em .55em;
  font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: 1;
  color: #e3262f; background: #fff8f0;
  border: .12em solid currentColor; border-radius: .35em;
  transform: rotate(12deg) scale(0);
  transition: transform .8s var(--ease-spring) .8s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}
.jacket.is-in .stamp { transform: rotate(12deg); }

/* decor */
.decor {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  color: var(--c); --c2: var(--k2);
  transform: translate3d(-50%, calc(-50% + var(--py, 0px)), 0);
  pointer-events: none;
}
.decor__in { width: 100%; height: 100%; transform: scale(0) rotate(var(--r)); transition: transform 1s var(--ease-spring); transition-delay: calc(.35s + var(--k) * 70ms); }
.jacket.is-in .decor__in { transform: scale(1) rotate(var(--r)); }
.decor svg { width: 100%; height: 100%; animation: bob var(--dur, 6s) ease-in-out infinite; animation-delay: var(--del, 0s); }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14%) rotate(14deg); }
}

/* pause everything that is far off-screen */
.jacket:not(.is-near) .jacket__ring svg,
.jacket:not(.is-near) .jacket__glow,
.jacket:not(.is-near) .jacket__float,
.jacket:not(.is-near) .jacket__floor,
.jacket:not(.is-near) .decor svg,
.jacket:not(.is-near) .flame svg,
.jacket:not(.is-near) .status i { animation-play-state: paused; }

/* info column */
.jacket__info { position: relative; z-index: 2; max-width: 540px; }
.jacket__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px;
  background: color-mix(in oklab, var(--ink) 10%, transparent);
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: #2fd162; animation: ping 1.8s infinite; }
.status.is-sold i { background: #e3262f; animation: none; }
.jacket__name {
  margin: 0 0 .18em;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 6.3rem); line-height: .92; letter-spacing: -.015em;
  text-transform: lowercase;
  text-shadow: 0 .025em 0 var(--p-shade), 0 .05em 0 var(--p-shade), 0 .075em 0 var(--p-shade);
}
.jacket__name .word { display: inline-block; white-space: nowrap; }
.jacket__name .ch {
  display: inline-block;
  opacity: 0; transform: translateY(70%) rotate(10deg) scale(.7);
  transition: transform .9s var(--ease-spring), opacity .35s;
  transition-delay: calc(var(--ci) * 32ms + .2s);
}
.jacket.is-in .jacket__name .ch { opacity: 1; transform: none; }
.jacket__tag {
  margin: 0 0 18px;
  font-family: var(--f-serif); font-style: italic; font-weight: 500; font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.15;
}
.jacket__tag::before { content: "✦ "; color: var(--p-accent); font-style: normal; }
.jacket__desc { margin: 0 0 22px; max-width: 42ch; text-wrap: pretty; font-size: clamp(1rem, 1.15vw, 1.12rem); opacity: .88; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; }
.chips li {
  padding: 7px 13px; border-radius: 99px;
  border: 1.5px solid color-mix(in oklab, var(--ink) 35%, transparent);
  font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.jacket__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.jacket__hint { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; opacity: .7; }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1s); }
.jacket.is-in .rv { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--p-accent, var(--accent));
  --bi: var(--p-accent-ink, var(--accent-ink));
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px 18px;
  border-radius: 99px;
  font-family: var(--f-display); font-size: clamp(1.1rem, 1.35vw, 1.35rem); line-height: 1;
  background: var(--b); color: var(--bi);
  box-shadow: 0 6px 0 color-mix(in oklab, var(--b) 55%, #000), 0 14px 26px -8px color-mix(in oklab, var(--b) 60%, transparent);
  transition: transform .4s var(--ease-spring), box-shadow .3s;
}
.btn svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-spring); }
.btn:hover { transform: translateY(-3px) rotate(-2deg); }
.btn:hover svg { transform: translateX(4px) rotate(-12deg); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 color-mix(in oklab, var(--b) 55%, #000); }
.btn--ink { --b: #1a120c; --bi: #fff1d6; }
.btn--accent { --b: var(--accent); --bi: var(--accent-ink); }
.btn--ghost { --b: #fffaf0; --bi: #1a120c; box-shadow: inset 0 0 0 2.5px #1a120c, 0 6px 0 #1a120c; }
.btn--big { font-size: clamp(1.4rem, 2.6vw, 2.4rem); padding: .7em 1.2em .75em; }

/* ---------- index rail ---------- */
.rail {
  position: fixed; z-index: 40;
  right: clamp(8px, 1.4vw, 22px); top: 50%;
  display: flex; flex-direction: column; align-items: flex-end; gap: 7px;
  transform: translate(calc(100% + 48px), -50%);
  transition: transform .7s var(--ease-out);
}
body.in-drop .rail { transform: translate(0, -50%); }
.rail a { display: flex; align-items: center; gap: 10px; min-height: 14px; }
.rail__lbl {
  padding: 3px 9px; border-radius: 99px;
  background: var(--ink); color: var(--bg);
  font-family: var(--f-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: opacity .25s, transform .35s var(--ease-out);
  pointer-events: none;
}
.rail a:hover .rail__lbl, .rail a:focus-visible .rail__lbl { opacity: 1; transform: none; }
.rail__dot {
  width: 12px; height: 12px; border-radius: 99px;
  background: var(--c); border: 2px solid var(--ink);
  transition: height .45s var(--ease-spring), transform .3s;
}
.rail a:hover .rail__dot { transform: scale(1.25); }
.rail a.is-active .rail__dot { height: 32px; }

/* ---------- good to know ---------- */
.good { padding: clamp(110px, 16vh, 190px) var(--gutter); }
.good__head { text-align: center; margin-bottom: clamp(40px, 6vh, 70px); }
.good__head h2 { margin: 12px 0 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: .95; }
.good__head h2 em { font-family: var(--f-serif); color: var(--accent); }
.good__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); max-width: 1280px; margin: 0 auto; }
.tile {
  min-height: clamp(280px, 30vw, 360px);
  padding: clamp(24px, 2.6vw, 40px);
  border-radius: 34px;
  background: var(--t); color: var(--ti);
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  transition: transform .55s var(--ease-spring), opacity .8s var(--ease-out);
}
.tile:hover { transform: rotate(var(--tr)) translateY(-8px) scale(1.02); }
.tile__icon { width: 62px; height: 62px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tile__icon .fill { fill: currentColor; stroke: none; }
.tile h3 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: .95; }
.tile p { margin: 0; font-size: 1.05rem; max-width: 30ch; }

/* ---------- custom ---------- */
.custom { position: relative; overflow: hidden; padding: clamp(110px, 16vh, 190px) var(--gutter); --sq: clamp(64px, 8vw, 120px); }
.custom::before {
  content: ""; position: absolute; inset: calc(var(--sq) * -2) 0 0 calc(var(--sq) * -2);
  background: repeating-conic-gradient(#ffc6da 0 25%, #fff0c2 0 50%) 0 0 / var(--sq) var(--sq);
  animation: checker 14s linear infinite;
  will-change: transform;
}
@keyframes checker { to { transform: translate(calc(var(--sq) * 2), calc(var(--sq) * 2)); } }
.custom__grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 3vw, 44px);
  max-width: 1280px; margin: 0 auto; align-items: start;
}
.card {
  background: #fffaf0; color: #1a120c;
  border: 2.5px solid #1a120c; border-radius: 30px;
  box-shadow: 9px 9px 0 #1a120c;
  padding: clamp(26px, 3.2vw, 48px);
}
.custom__card h2 { margin: 10px 0 14px; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 7vw, 6.6rem); line-height: .9; }
.custom__card h2 em { font-family: var(--f-serif); color: #ff3d8b; }
.custom__lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); max-width: 34ch; margin: 0 0 28px; }
.steps { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 12px; }
.steps li {
  display: flex; gap: 16px; align-items: center;
  padding: 14px 18px; border-radius: 20px;
  background: color-mix(in oklab, #ffc6da 55%, #fffaf0);
  transition: transform .45s var(--ease-spring);
}
.steps li:nth-child(2) { background: color-mix(in oklab, #a3d5f5 55%, #fffaf0); }
.steps li:nth-child(3) { background: color-mix(in oklab, #ffd21f 45%, #fffaf0); }
.steps li:hover { transform: translateX(8px) rotate(-1deg); }
.steps b { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1; }

.custom__side { position: relative; display: grid; gap: 30px; }
.slot h3 { margin: 6px 0 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1; }
.slot__reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.reel { display: grid; gap: 6px; text-align: center; min-width: 0; }
.reel__cap { font-size: .64rem; opacity: .6; }
.reel__win {
  --ih: 58px;
  box-sizing: content-box;
  height: var(--ih); overflow: hidden;
  border: 2.5px solid #1a120c; border-radius: 16px;
  background: var(--rc, #ffc6da);
  box-shadow: inset 0 10px 12px -8px rgba(0, 0, 0, .25), inset 0 -10px 12px -8px rgba(0, 0, 0, .25);
}
.reel:nth-child(2) .reel__win { --rc: #fff0c2; }
.reel:nth-child(3) .reel__win { --rc: #a3d5f5; }
.reel__win ul { list-style: none; margin: 0; padding: 0; }
.reel__win li {
  height: var(--ih); display: grid; place-items: center; padding: 0 6px;
  font-family: var(--f-display); font-size: clamp(.92rem, 1.35vw, 1.2rem); line-height: 1.05;
  overflow: hidden; text-overflow: ellipsis;
}
.slot__result { min-height: 3em; margin: 18px 0 18px; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.25; }
.slot__result b { font-family: var(--f-body); font-style: normal; font-weight: 800; }
.slot__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.slot__spin { --b: #ff3d8b; --bi: #fff; }
.slot__spin.is-spinning svg { animation: spin .6s linear infinite; }

.polaroid {
  position: relative; justify-self: center;
  width: min(78%, 380px); margin: 0;
  padding: 14px 14px 0;
  background: #fffdf8;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 24px 50px -12px rgba(60, 20, 30, .4);
  transform: rotate(4deg);
  transition: transform .6s var(--ease-spring), opacity .8s var(--ease-out);
}
.polaroid:hover { transform: rotate(-1.5deg) scale(1.03); }
.polaroid img { width: 100%; height: auto; aspect-ratio: 610 / 738; object-fit: cover; }
.polaroid figcaption { padding: 12px 4px 16px; text-align: center; font-family: var(--f-hand); font-size: 1.7rem; color: #2b1a10; line-height: 1; }
.tape {
  position: absolute; left: 50%; top: -14px; width: 110px; height: 30px;
  transform: translateX(-50%) rotate(-4deg);
  background: color-mix(in oklab, #ffd21f 55%, transparent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; padding: clamp(110px, 16vh, 180px) var(--gutter) 28px; }
.footer__cta { text-align: center; }
.footer__cta h2 { margin: 14px 0 30px; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 9vw, 8.5rem); line-height: .9; }
.footer__cta h2 em { font-family: var(--f-serif); color: var(--accent); }
.footer__word {
  display: flex; justify-content: center;
  margin: clamp(60px, 10vh, 120px) 0 clamp(36px, 7vw, 110px);
  font-family: var(--f-display); font-size: 27.5vw; line-height: .78; letter-spacing: -.03em;
  user-select: none;
}
.footer__word span {
  display: inline-block;
  color: #ff7a1a;
  text-shadow: 0 .015em 0 #000, 0 .03em 0 #000, 0 .045em 0 #000;
  animation: candy 16s linear infinite;
  animation-delay: calc(var(--i) * -2.6s);
  transform: translateY(60%) rotate(8deg); opacity: 0;
  transition: transform 1.1s var(--ease-spring), opacity .5s;
  transition-delay: calc(var(--i) * 80ms);
}
.footer__word.is-in span { transform: none; opacity: 1; }
.footer__word.is-in span:hover { transform: translateY(-8%) rotate(-6deg); transition-delay: 0s; transition-duration: .45s; }
.footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px;
  padding-top: 20px;
  border-top: 1.5px solid color-mix(in oklab, var(--ink) 25%, transparent);
  font-size: .68rem;
}
.footer__bar a:hover { color: var(--accent); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  max-width: calc(100vw - 32px);
  padding: 14px 22px; border-radius: 99px;
  background: var(--ink); color: var(--bg);
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .02em; text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0; visibility: hidden;
  transition: transform .6s var(--ease-spring), opacity .3s, visibility 0s .6s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .6s var(--ease-spring), opacity .3s, visibility 0s; }

/* ---------- generic reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--rd, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.footer__word[data-reveal], .footer__word { opacity: 1; transform: none; }
.tile[data-reveal].is-in:hover { transform: rotate(var(--tr)) translateY(-8px) scale(1.02); }
.polaroid[data-reveal].is-in { transform: rotate(4deg); }
.polaroid[data-reveal].is-in:hover { transform: rotate(-1.5deg) scale(1.03); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .jacket { grid-template-columns: 1fr; min-height: auto; gap: 8px; padding-top: 80px; padding-bottom: 90px; }
  .jacket[data-side="right"] .jacket__stage { order: 0; }
  .jacket[data-side="right"] .jacket__info { justify-self: start; }
  .jacket__stage { width: min(100%, 520px); aspect-ratio: .95; }
  .jacket__float { height: 86%; }
  .good__grid { grid-template-columns: 1fr; }
  .tile { min-height: 220px; }
  .custom__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .nav { padding-top: max(10px, env(safe-area-inset-top)); }
  .nav__logo { font-size: 26px; padding: 9px 0; }
  .nav__ig { padding: 10px 14px; }
  .nav__ig .ig-handle { font-size: .72rem; }
  .hero__meta { justify-content: center; text-align: center; top: var(--meta-top, 78px); }
  .hero__tag { display: block; top: var(--tag-top, 30vh); }
  .rotor { width: 70px; right: 6px; top: calc(var(--wm-top, 19vh) + 2px); transition-delay: 1.4s; }
  .rotor__ring text { font-size: 17px; }
  /* scroll cue sits centred under the arch */
  .hero__foot { left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); justify-content: center; }
  .scroll-cue { margin: 0; width: auto; height: auto; padding: 10px 18px; border-radius: 99px; display: inline-flex; gap: 8px; }
  .scroll-cue svg { width: 18px; height: 18px; }
  /* index rail: too small to tap and it sits on the copy → hide on phones */
  .rail { display: none; }
  .jacket { padding-top: 40px; padding-bottom: 64px; gap: 0; }
  .jacket__stage { width: min(100%, 440px); aspect-ratio: 1; }
  .jacket__ghost { top: 30%; font-size: 46vw; }
  .jacket__name { font-size: clamp(2.2rem, 11.4vw, 3.4rem); }
  .jacket__tag { font-size: 1.32rem; margin-bottom: 12px; }
  .jacket__desc { font-size: 1rem; margin-bottom: 18px; }
  .chips { margin-bottom: 24px; gap: 6px; }
  .jacket__cta { gap: 10px 14px; }
  .jacket__cta .btn { width: 100%; justify-content: center; }
  .jacket__hint { width: 100%; text-align: center; }
  .footer__bar a { padding: 10px 0; }
  .card { box-shadow: 6px 6px 0 #1a120c; border-radius: 24px; }
  .reel__win { --ih: 50px; }
  .lineup { gap: 7px; }
  .lineup a { width: calc((100vw - 2 * var(--gutter) - 5 * 7px) / 6); border-radius: 14px; }
  .polaroid { width: 84%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
