/* ==========================================================================
   APBF — Coming soon
   Desktop sizes are taken 1:1 from the 1920×1080 PSD and scaled with --u
   (1 design pixel), so the composition holds on any landscape screen.
   ========================================================================== */

:root {
  --bg: #0a0909;
  --red: #ea001f;
  --red-hot: #ff2a3d;
  --white: #f5f4f4;
  --font: "Inter", "Inter Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --u: min(calc(100vw / 1920), calc(100vh / 1080));
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --energy: 0;          /* 0..1, driven by hits (js) */
  --mx: 0;              /* -1..1 pointer parallax (js) */
  --my: 0;
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-variation-settings: "opsz" 32; /* Inter Display cut, as in the PSD */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.world {
  position: fixed;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}

/* ---------- Background ---------- */

.bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 48% 58%, #181615 0%, #0b0a0a 70%), var(--bg);
}

.bg__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 38% 60% at 94% 46%, rgba(205, 0, 24, calc(.75 + var(--energy) * .25)) 0%, rgba(130, 0, 16, .42) 45%, transparent 78%),
    radial-gradient(ellipse 18% 40% at 98% 70%, rgba(130, 0, 12, .5) 0%, transparent 70%);
  transform: translate3d(calc(var(--mx) * -18px), calc(var(--my) * -12px), 0) scale(calc(1 + var(--energy) * .06));
  animation: breathe 7s ease-in-out infinite;
  transform-origin: 85% 45%;
}

.bg__corner {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 30% 30% at 0% 0%, rgba(80, 8, 16, .45), transparent 70%);
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 85% at 45% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

@keyframes breathe {
  0%, 100% { opacity: .88; }
  50%      { opacity: 1; }
}

/* ---------- Content ---------- */

.stage {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(141 * var(--u)) 0 calc(78 * var(--u)) calc(175 * var(--u));
  pointer-events: none;
}

.stage a,
.stage button { pointer-events: auto; }

.eyebrow {
  margin: 0 0 0 calc(25 * var(--u));
  font-size: max(9px, calc(18 * var(--u)));
  font-weight: 600;
  letter-spacing: 2.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.eyebrow .ch {
  display: inline-block;
  white-space: pre;
}

.title {
  align-self: center;
  margin: 0;
  padding-bottom: calc(14 * var(--u));
  font-size: calc(130.5 * var(--u));
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.title__line {
  display: block;
  overflow: hidden;
  /* room for descender-less caps so the reveal mask doesn't clip */
  padding: .04em .06em .02em 0;
  margin: -.04em 0 -.02em;
}

.title__line > span {
  display: inline-block;
  color: transparent;
  background:
    radial-gradient(ellipse 34% 140% at 108% 40%, rgba(236, 200, 206, .75), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f1efef 38%, #d9d6d6 72%, #bfbcbb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 calc(8 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .45));
}

.follow {
  display: flex;
  align-items: center;
  gap: calc(18 * var(--u));
}

.follow__label {
  font-size: max(11px, calc(24 * var(--u)));
  font-weight: 600;
  letter-spacing: -.04em;
  word-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.social {
  --s: max(19px, calc(28 * var(--u))); /* glyph height, same for every icon */
  display: flex;
  align-items: center;
  gap: calc(9 * var(--u));
}

.social a {
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  border-radius: 4px;
  transition: color .25s, transform .35s var(--ease-out), filter .25s;
}

.social a.is-wide { width: calc(var(--s) * 1.2); } /* YouTube: 24×20 glyph */

.social svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.social a:hover,
.social a:focus-visible {
  color: var(--red-hot);
  transform: translateY(-3px);
  filter: drop-shadow(0 0 10px rgba(255, 30, 55, .65));
  outline: none;
}

/* ---------- Bag ---------- */

.bag-zone {
  position: absolute;
  z-index: 3;
  top: 0;
  right: calc(255 * var(--u));
  width: calc(292 * var(--u));
  height: calc(1027 * var(--u));
  touch-action: none;
  outline: none;
}

.bag-rig {
  position: absolute;
  inset: 0;
  transform-origin: 50% 0;
  will-change: transform;
}

.bag-body {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.bag-body picture,
.bag {
  display: block;
  width: 100%;
  height: 100%;
}

.bag {
  filter: drop-shadow(calc(-30 * var(--u)) calc(40 * var(--u)) calc(60 * var(--u)) rgba(0, 0, 0, .55));
  pointer-events: none;
}

/* Dynamic lighting, clipped to the bag silhouette.
   --la keeps the light direction fixed in the room while the bag rotates;
   --ll/--rl brighten the left rim / right side, --ls/--rs pull the baked light down. */
.bag-shade,
.bag-light,
.bag-flash {
  position: absolute;
  inset: 0;
  -webkit-mask: url("../img/bag.webp") center / 100% 100% no-repeat;
  mask: url("../img/bag.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}

.bag-shade {
  background: linear-gradient(var(--la, 90deg),
    rgba(0, 0, 0, calc(var(--ls, 0) * .85)) 0%,
    rgba(0, 0, 0, calc(var(--ls, 0) * .45)) 22%,
    transparent 48%,
    transparent 58%,
    rgba(0, 0, 0, calc(var(--rs, 0) * .7)) 100%);
}

.bag-light {
  background: linear-gradient(var(--la, 90deg),
    rgba(255, 40, 55, calc(var(--ll, 0) * .9)) 0%,
    rgba(255, 0, 30, calc(var(--ll, 0) * .4)) 16%,
    transparent 40%,
    transparent 64%,
    rgba(200, 0, 25, calc(var(--rl, 0) * .35)) 86%,
    rgba(255, 30, 50, calc(var(--rl, 0) * .75)) 100%);
  mix-blend-mode: screen;
}

/* red impact light */
.bag-flash {
  --fx: 50%;
  --fy: 50%;
  --flash: 0;
  opacity: var(--flash);
  background: radial-gradient(circle at var(--fx) var(--fy), rgba(255, 70, 80, .95) 0%, rgba(255, 0, 30, .55) 18%, transparent 46%);
  mix-blend-mode: screen;
}

.bag-zone:focus-visible .bag-body {
  filter: drop-shadow(0 0 2px var(--red-hot)) drop-shadow(0 0 16px rgba(255, 30, 55, .6));
}

/* ---------- HUD ---------- */

.hint {
  position: absolute;
  z-index: 4;
  top: calc(560 * var(--u));
  right: calc(585 * var(--u));
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: max(10px, calc(13 * var(--u)));
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(245, 244, 244, .75);
  pointer-events: none;
  white-space: nowrap;
}

.hint svg {
  width: max(28px, calc(40 * var(--u)));
  color: var(--red-hot);
  animation: nudge 1.4s var(--ease-out) infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  40%      { transform: translateX(8px); }
}

.counter {
  position: absolute;
  z-index: 4;
  right: calc(60 * var(--u));
  bottom: calc(78 * var(--u));
  width: max(150px, calc(200 * var(--u)));
  pointer-events: none;
}

.counter__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.counter__label {
  font-size: max(10px, calc(13 * var(--u)));
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(245, 244, 244, .6);
}

.counter__num {
  font-size: max(12px, calc(16 * var(--u)));
  font-weight: 600;
  color: rgba(245, 244, 244, .5);
  font-variant-numeric: tabular-nums;
}

.counter__num b {
  display: inline-block;
  margin-right: 2px;
  font-size: max(24px, calc(38 * var(--u)));
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--white);
}

.counter__num b.pop { animation: pop .45s var(--ease-out); }

@keyframes pop {
  0%   { transform: scale(1.5); color: var(--red-hot); }
  100% { transform: scale(1); }
}

.counter__bar {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}

.counter__bar i {
  height: 3px;
  background: rgba(255, 255, 255, .14);
  transition: background .2s, box-shadow .2s;
}

.counter__bar i.on {
  background: var(--red-hot);
  box-shadow: 0 0 10px rgba(255, 30, 55, .8);
}

.sound {
  position: absolute;
  z-index: 4;
  top: calc(130 * var(--u));
  right: calc(60 * var(--u));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: max(10px, calc(13 * var(--u)));
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(245, 244, 244, .6);
  transition: color .25s;
}

.sound:hover,
.sound:focus-visible { color: var(--white); outline: none; }

.sound__text b { font-weight: 600; color: var(--white); }

.sound__bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sound__bars i {
  width: 2px;
  height: 3px;
  background: currentColor;
  transition: height .3s;
}

.sound[aria-pressed="true"] .sound__bars i {
  background: var(--red-hot);
  animation: eq 1s ease-in-out infinite;
}

.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: -.6s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: -.15s; }

@keyframes eq {
  0%, 100% { height: 3px; }
  50%      { height: 12px; }
}

/* ---------- FX layers ---------- */

.fx {
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: -100px;
  z-index: 6;
  opacity: .11;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: grain .9s steps(5) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-37px, 22px); }
  40%  { transform: translate(28px, -41px); }
  60%  { transform: translate(-19px, -13px); }
  80%  { transform: translate(44px, 31px); }
  100% { transform: translate(0, 0); }
}

/* custom cursor (mouse only) */
.cursor { display: none; }

.has-cursor,
.has-cursor * { cursor: none !important; }

.has-cursor .cursor {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 0;
  height: 0;
  pointer-events: none;
  will-change: transform;
}

.cursor__ring {
  position: absolute;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  transition: transform .35s var(--ease-out), border-color .25s, background-color .25s;
}

.cursor__ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: #fff;
  transition: opacity .2s;
}

.cursor__label {
  position: absolute;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3em;
  margin-left: .3em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .2s, transform .35s var(--ease-out);
}

.cursor.is-bag .cursor__ring {
  transform: scale(2);
  border-color: var(--red-hot);
  background-color: rgba(234, 0, 31, .18);
}

.cursor.is-bag .cursor__ring::after { opacity: 0; }
.cursor.is-bag .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-link .cursor__ring { transform: scale(1.5); border-color: var(--red-hot); }
.cursor.is-down .cursor__ring { transform: scale(1.3); transition-duration: .08s; }
.cursor.is-hidden { opacity: 0; }

/* ---------- Knockout overlay ---------- */

.ko {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 50%, rgba(60, 0, 8, .82), rgba(5, 4, 4, .94) 70%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .45s ease;
}

.ko[hidden] { display: none; }
.ko.is-open { opacity: 1; }

.ko__flash {
  position: absolute;
  inset: 0;
  background: #ff1030;
  opacity: 0;
  pointer-events: none;
}

.ko.is-open .ko__flash { animation: koFlash .9s ease-out; }

@keyframes koFlash {
  0%   { opacity: .9; }
  100% { opacity: 0; }
}

.ko__card {
  position: relative;
  max-width: 980px;
  text-align: center;
}

.ko__eyebrow,
.ko__text,
.ko__stat,
.ko__actions {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .8s var(--ease-out);
}

.ko.is-open .ko__eyebrow { opacity: 1; transform: none; transition-delay: .15s; }
.ko.is-open .ko__text    { opacity: 1; transform: none; transition-delay: .65s; }
.ko.is-open .ko__stat    { opacity: 1; transform: none; transition-delay: .8s; }
.ko.is-open .ko__actions { opacity: 1; transform: none; transition-delay: .95s; }

.ko__eyebrow {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6em;
  text-transform: uppercase;
  color: var(--red-hot);
}

.ko__title {
  margin: 0;
  font-size: clamp(44px, 9vw, 150px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.ko__line {
  display: block;
  overflow: hidden;
  padding: .05em .05em .02em;
}

.ko__line > span {
  display: inline-block;
  transform: translateY(110%) skewY(6deg);
  transition: transform 1s var(--ease-out);
}

.ko__line:nth-child(2) > span { transition-delay: .12s; }
.ko.is-open .ko__line > span { transform: none; }

.ko__title em {
  font-style: normal;
  display: inline-block;
  font-size: .8em;
  vertical-align: .05em;
}

.ko.is-open .ko__title em { animation: glove 1.2s .7s var(--ease-out) both; }

@keyframes glove {
  0%   { transform: rotate(0) scale(1); }
  20%  { transform: rotate(-25deg) scale(1.25) translateX(-10px); }
  45%  { transform: rotate(12deg) scale(1.05) translateX(14px); }
  100% { transform: rotate(0) scale(1); }
}

.ko__text {
  margin: 34px 0 10px;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: rgba(245, 244, 244, .8);
}

.ko__text strong { color: var(--white); font-weight: 900; letter-spacing: .02em; }

.ko__stat {
  margin: 0 0 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: rgba(245, 244, 244, .45);
}

.ko__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.ko .social--ko { --s: 23px; gap: 7px; }

.btn {
  position: relative;
  padding: 18px 34px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .3s;
}

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 40px rgba(234, 0, 31, .45);
}

.btn--red:hover,
.btn--red:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 50px rgba(234, 0, 31, .7);
  outline: none;
}

.ko__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: border-color .25s, transform .4s var(--ease-out);
}

.ko__close:hover,
.ko__close:focus-visible { border-color: var(--red-hot); transform: rotate(90deg); outline: none; }

/* ---------- Intro (only when JS is running) ---------- */

.js .eyebrow .ch {
  opacity: 0;
  transform: translateX(.6em);
  filter: blur(6px);
  transition: opacity .7s ease, transform 1.1s var(--ease-out), filter .9s ease;
}

.js .title__line > span {
  transform: translateY(105%);
  transition: transform 1.25s var(--ease-out);
}

.js .follow,
.js .sound,
.js .counter,
.js .hint {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform 1s var(--ease-out);
}

.js .bg { opacity: 0; transition: opacity 1.4s ease; }

.is-ready .eyebrow .ch { opacity: 1; transform: none; filter: none; }
.is-ready .title__line > span { transform: none; }
.is-ready .bg { opacity: 1; }
.is-ready .follow { opacity: 1; transform: none; transition-delay: 1.1s; }
.is-ready .sound { opacity: 1; transform: none; transition-delay: 1.3s; }
.is-ready .hint.is-visible { opacity: 1; transform: none; transition-delay: 0s; }
.is-ready .counter.is-visible { opacity: 1; transform: none; transition-delay: 0s; }

.is-ready .title__line:nth-child(1) > span { transition-delay: .35s; }
.is-ready .title__line:nth-child(2) > span { transition-delay: .45s; }
.is-ready .title__line:nth-child(3) > span { transition-delay: .55s; }
.is-ready .title__line:nth-child(4) > span { transition-delay: .65s; }

/* ---------- Portrait / phones ---------- */

@media (max-aspect-ratio: 1/1) {
  :root { --g: max(20px, 6vw); }

  .stage {
    grid-template-rows: auto 1fr auto auto;
    padding: calc(var(--g) + env(safe-area-inset-top)) var(--g) calc(var(--g) + env(safe-area-inset-bottom));
  }

  .eyebrow {
    margin: 0;
    font-size: min(3vw, 12px);
    letter-spacing: .95em;
  }

  .title {
    grid-row: 3;
    align-self: end;
    margin-bottom: calc(var(--g) * 1.1);
    padding-bottom: 0;
    font-size: min(11.3vw, 8svh, 96px);
  }

  .title__line > span {
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .6));
  }

  .follow { grid-row: 4; gap: 14px; }
  .follow__label { font-size: min(3.8vw, 17px); }
  .social { --s: min(6.2vw, 27px); gap: min(2vw, 8px); }

  .bg__glow {
    background:
      radial-gradient(ellipse 70% 40% at 85% 28%, rgba(200, 0, 22, calc(.6 + var(--energy) * .4)) 0%, rgba(120, 0, 14, .3) 45%, transparent 75%);
    transform-origin: 80% 28%;
  }

  .bag-zone {
    right: 9vw;
    height: min(64svh, 170vw);
    width: auto;
    aspect-ratio: 292 / 1027;
  }

  .hint {
    top: 38svh;
    right: auto;
    left: var(--g);
    font-size: 10px;
    letter-spacing: .32em;
  }

  .counter {
    top: calc(var(--g) * 2.4 + env(safe-area-inset-top));
    right: auto;
    bottom: auto;
    left: var(--g);
    width: 128px;
  }

  .sound {
    top: auto;
    right: var(--g);
    bottom: calc(var(--g) - 8px + env(safe-area-inset-bottom));
    font-size: 0;
    gap: 0;
    padding: 12px;
  }

  .sound__bars { transform: scale(1.4); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .bg__glow,
  .grain,
  .hint svg,
  .sound__bars i { animation: none !important; }

  .js .eyebrow .ch,
  .js .title__line > span,
  .js .follow,
  .js .sound,
  .js .bg { transition-duration: .01s !important; transition-delay: 0s !important; }
}
