/* notimeturner.com homepage. Palette from the WordPress Hestia theme (accent #a015a3, header gradient #a8067d, bg #0a0a0a). */
:root {
  --bg: #0a0a0a;
  --surface: #141118;
  --surface-2: #1d1823;
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #bdb6c6;
  --purple: #a015a3;
  --magenta: #a8067d;
  --accent-text: #e08ce2;       /* purple tint readable on --bg (7:1+) */
  --on-accent: #ffffff;
  --glow: rgba(160, 21, 163, 0.55);
  --radius: 14px;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--purple); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.eyebrow { margin: 0 0 .5rem; font: 600 .875rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); }
.h2 { margin: 0 0 1rem; font: 400 clamp(2.75rem, 7vw, 5.5rem)/.92 var(--display); letter-spacing: .02em; }
.lead { font-size: 1.25rem; color: var(--text); }
p { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px;
  font: 700 1rem/1 var(--body); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s, color .2s;
  cursor: pointer;
}
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .9rem; }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--magenta)); color: var(--on-accent); box-shadow: 0 8px 24px -8px var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px var(--glow); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .5); color: var(--text); background: rgba(10, 10, 10, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .08); }
.link-arrow { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { text-decoration: underline; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(16px, calc((100% - 1200px) / 2));
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(10, 10, 10, .82); backdrop-filter: blur(12px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font: 400 1.6rem/1 var(--display); letter-spacing: .05em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--muted); transition: color .2s; padding: 10px 0; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* HERO */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 24px) 16px 96px;
}
.hero-media { position: absolute; inset: -12% 0 -12%; z-index: -3; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(1.05) contrast(1.05); }
.hero-glow {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(168, 6, 125, .55), transparent 70%),
    linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, .25) 40%, rgba(10, 10, 10, .92) 100%);
}
.ropes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rope {
  position: absolute; left: -5%; right: -5%; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, transparent, rgba(160, 21, 163, .9) 15%, rgba(232, 140, 226, .95) 50%, rgba(160, 21, 163, .9) 85%, transparent);
  box-shadow: 0 0 22px var(--glow);
  will-change: transform; opacity: .75;
}
.rope:nth-child(1) { top: 62%; transform: rotate(-2deg); }
.rope:nth-child(2) { top: 74%; transform: rotate(-1.4deg); height: 7px; }
.rope:nth-child(3) { top: 86%; transform: rotate(-.8deg); height: 8px; }
.hero-bigword {
  position: absolute; bottom: 4%; left: 0; right: 0; z-index: -1; text-align: center; overflow: hidden;
  font: 400 clamp(7rem, 26vw, 24rem)/.8 var(--display); letter-spacing: .02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .14);
  pointer-events: none; user-select: none;
}

.tilt-scene { perspective: 1100px; }
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease-out); will-change: transform; }
.hero-content { text-align: center; max-width: 960px; }
.hero-content .tilt > * { transform: translateZ(40px); }
.hero-content .title-3d { transform: translateZ(90px); }

.title-3d {
  margin: .1em 0 .2em; display: flex; flex-direction: column; align-items: center;
  font: 400 clamp(4.5rem, 17vw, 13rem)/.82 var(--display); letter-spacing: .02em; text-transform: uppercase;
}
.title-3d span {
  color: #fff;
  /* stacked extrusion, purple to magenta */
  text-shadow:
    1px 1px 0 #d580d8, 2px 2px 0 #c14bc4, 3px 3px 0 #b02fb3, 4px 4px 0 #a015a3,
    5px 5px 0 #940f8f, 6px 6px 0 #880a80, 7px 7px 0 #7a0773, 8px 8px 0 #6b0565,
    12px 16px 30px rgba(0, 0, 0, .7), 0 0 60px rgba(160, 21, 163, .45);
}
.title-3d span + span { color: transparent; -webkit-text-stroke: 2px #fff; text-shadow: 0 0 40px rgba(168, 6, 125, .6); }
.hero-sub { margin: 0 0 1.75rem; font: 600 clamp(1.1rem, 2.4vw, 1.45rem)/1.3 var(--body); color: #fff; letter-spacing: .06em; text-transform: uppercase; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .eyebrow { color: #fff; opacity: .9; }

.scroll-cue { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; width: 44px; height: 44px; display: grid; place-items: center; }
.scroll-cue span { width: 22px; height: 36px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* NEXT FIGHT */
.fight { position: relative; overflow: hidden; isolation: isolate; padding: clamp(96px, 14vw, 180px) 0; text-align: center; }
.fight-bg { position: absolute; inset: -15% 0; z-index: -2; will-change: transform; }
.fight-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.fight::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 50%, rgba(10, 10, 10, .2), var(--bg) 85%); }
.fight-when { margin: 0; font: 400 clamp(1.8rem, 4vw, 2.6rem)/1 var(--display); letter-spacing: .05em; color: #fff; }
.fight-where { margin: .4rem 0 2.5rem; font-size: 1.1rem; }
.fight-tba { font-size: 1.15rem; color: #fff; }
.fight-cta { margin-top: 2.5rem; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.countdown { display: flex; justify-content: center; gap: clamp(10px, 2.4vw, 24px); perspective: 900px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.flip {
  position: relative; width: clamp(68px, 17vw, 140px); height: clamp(84px, 20vw, 160px);
  border-radius: var(--radius); transform-style: preserve-3d;
  background: linear-gradient(180deg, var(--surface-2) 0 49.6%, #0c0a0f 50.4% 100%);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .9), 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.flip::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; translate: 0 -1px; background: rgba(0, 0, 0, .7); }
.flip-face {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 400 clamp(3rem, 10vw, 6.5rem)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(160, 21, 163, .55);
}
.flip.is-flipping { animation: flip .55s var(--ease-out); }
@keyframes flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(-88deg); } 55% { transform: rotateX(88deg); } 100% { transform: rotateX(0); } }
.cd-label { font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* TEAM */
.team { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--bg), var(--surface) 50%, var(--bg)); }
.team-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
.team-photos { position: relative; padding: 0 0 18% 0; }
.card-3d { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .95), 0 0 0 1px var(--line); }
.photo-main { transform-style: preserve-3d; }
.photo-float { position: absolute; right: -4%; bottom: 0; width: 52%; border: 4px solid var(--bg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 40px -6px var(--glow); will-change: transform; }
.glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 55%); mix-blend-mode: overlay; }
.tilt:hover .glare { opacity: 1; }
.facts { margin-top: 2rem; display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 1rem 1.25rem; background: var(--surface); }
.fact-k { color: var(--muted); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; align-self: center; }
.fact-v { font: 400 1.6rem/1 var(--display); letter-spacing: .05em; }

/* GALLERY: coverflow (JS drives --p per card) */
.gallery { position: relative; height: 320vh; }
.gallery-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--nav-h); }
.gallery-head { margin-bottom: 1.5rem; }
.coverflow { perspective: 1400px; }
.cf-track { position: relative; display: flex; gap: clamp(16px, 3vw, 40px); width: max-content; transform-style: preserve-3d; will-change: transform; }
.cf-card {
  flex: 0 0 auto; height: min(58svh, 520px); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .95), 0 0 0 1px var(--line);
  transform: rotateY(calc(var(--p, 0) * -38deg)) translateZ(calc(var(--a, 0) * -160px)) scale(calc(1 - var(--a, 0) * .12));
  filter: brightness(calc(1 - var(--a, 0) * .45));
  transition: filter .2s;
}
.cf-card img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.gallery-foot { margin-top: 1.75rem; }

/* MERCH */
.merch { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; isolation: isolate; }
.merch-bg { position: absolute; inset: -20% -10%; z-index: -1; background: radial-gradient(40% 50% at 20% 30%, rgba(160, 21, 163, .35), transparent 70%), radial-gradient(35% 45% at 85% 70%, rgba(168, 6, 125, .3), transparent 70%); will-change: transform; }
.merch-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.product { position: relative; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.product:hover { box-shadow: 0 0 0 1px rgba(224, 140, 226, .5), 0 30px 60px -28px var(--glow); }
.product a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.product-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; transform: translateZ(30px); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.product:hover .product-img img { transform: scale(1.06); }
.product-name { padding: 1rem 1.1rem .2rem; font: 400 1.55rem/1.05 var(--display); letter-spacing: .04em; transform: translateZ(20px); }
.product-price { padding: 0 1.1rem 1.2rem; color: var(--accent-text); font-weight: 700; }

/* FINAL */
.final { padding: clamp(80px, 12vw, 160px) 0; text-align: center; background: linear-gradient(135deg, rgba(160, 21, 163, .25), rgba(168, 6, 125, .1)), var(--bg); border-top: 1px solid var(--line); }
.final-title { font-size: clamp(5rem, 18vw, 12rem); background: linear-gradient(180deg, #fff 30%, var(--accent-text)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final p { margin: 0 0 1.75rem; font-size: 1.25rem; }

/* FOOTER */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.footer .brand { font-size: 1.35rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; display: inline-block; padding: 10px 0; }
.footer-links a:hover { color: var(--text); }
.copy { margin: 0; font-size: .9rem; }
.footer-meta { display: flex; flex-direction: column; gap: 4px; }
.credit a { color: var(--accent-text); text-decoration: none; font-weight: 600; }
.credit a:hover { text-decoration: underline; }
@media (min-width: 900px) { .footer-meta { align-items: flex-end; text-align: right; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* Reduced motion: final states, no parallax / 3D motion / sticky coverflow */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .gallery { height: auto; }
  .gallery-sticky { position: static; height: auto; padding: 96px 0; }
  .cf-track { padding-inline: 16px; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
  .cf-card { transform: none; filter: none; scroll-snap-align: center; height: min(60svh, 460px); }
}
/* Without JS the coverflow can't be driven: fall back to a scrollable row */
.no-js .gallery { height: auto; }
.no-js .gallery-sticky { position: static; height: auto; padding: 96px 0; }
.no-js .cf-track { padding-inline: 16px; width: auto; overflow-x: auto; }
.no-js .reveal { opacity: 1; transform: none; }
