/* ============================================================
   NOSSO ROCK FESTIVAL — stylesheet
   ============================================================ */

@font-face {
  font-family: 'Monoglyphic';
  src: url('fonts/Monoglyphic-Thin.ttf') format('truetype');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Monoglyphic';
  src: url('fonts/Monoglyphic-ExtraLight.ttf') format('truetype');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Monoglyphic';
  src: url('fonts/Monoglyphic-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Monoglyphic';
  src: url('fonts/Monoglyphic-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Monoglyphic';
  src: url('fonts/Monoglyphic-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Monoglyphic';
  src: url('fonts/Monoglyphic-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Monoglyphic';
  src: url('fonts/Monoglyphic-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Monoglyphic';
  src: url('fonts/Monoglyphic-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Monoglyphic';
  src: url('fonts/Monoglyphic-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --pink: #e6357e;
  --pink-dark: #c72569;
  --black: #0d0d0d;
  --paper: #f4f3f1;
  --paper-dark: #e9e7e3;
  --white: #ffffff;
  --gray-text: #4a4a4a;
  --container: 1200px;
  --font: 'Monoglyphic', 'Arial Black', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }

html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--paper);
  color: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Paper grain texture overlaid across the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 900; text-transform: uppercase; line-height: 1.05; }

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

section { position: relative; }

/* ---------------- Torn / jagged badge buttons ---------------- */
.btn {
  --jag: 6px;
  display: inline-block;
  position: relative;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: .3px;
  text-align: center;
  padding: 18px 34px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-0.3deg); }
.btn--torn {
  clip-path: polygon(
    0% 8%, 3% 2%, 8% 6%, 14% 0%, 20% 5%, 27% 1%, 34% 6%, 41% 1%, 48% 5%,
    55% 0%, 62% 5%, 69% 1%, 76% 6%, 83% 1%, 90% 5%, 97% 0%, 100% 8%,
    98% 20%, 100% 35%, 97% 50%, 100% 65%, 98% 80%, 100% 92%,
    96% 98%, 90% 94%, 83% 99%, 76% 95%, 69% 99%, 62% 94%, 55% 99%,
    48% 95%, 41% 99%, 34% 94%, 27% 99%, 20% 95%, 14% 100%, 8% 95%, 3% 99%, 0% 92%,
    2% 80%, 0% 65%, 3% 50%, 0% 35%, 2% 20%
  );
}
.btn--pink { background: var(--pink); color: var(--white); }
.btn--black { background: var(--black); color: var(--white); }

/* ---------------- Torn-paper section dividers ---------------- */
.tear {
  position: relative;
  z-index: 3;
  height: 54px;
  margin-bottom: -54px;
  clip-path: polygon(
    0 0, 100% 0, 100% 68%,
    97% 100%, 94% 55%, 91% 92%, 88% 50%, 85% 88%,
    82% 58%, 79% 98%, 76% 62%, 73% 90%, 70% 52%,
    67% 86%, 64% 60%, 61% 96%, 58% 64%, 55% 88%,
    52% 55%, 49% 92%, 46% 60%, 43% 84%, 40% 52%,
    37% 96%, 34% 62%, 31% 88%, 28% 55%, 25% 92%,
    22% 60%, 19% 84%, 16% 50%, 13% 96%, 10% 62%,
    7% 88%, 4% 55%, 1% 92%, 0 65%
  );
}
.tear--paper { background: var(--paper); }
.tear--black { background: var(--black); }
.tear--pink { background: var(--pink); }

section, .footer { position: relative; z-index: 1; }

/* ---------------- Header ---------------- */
/* Matches the reference exactly: logo + the word "Menu" + CTA button.
   No inline nav links are shown — "Menu" toggles a hidden dropdown. */
.header {
  position: relative;
  z-index: 100;
  background: var(--black);
  line-height: 0;
}
.header__bg { width: 100%; height: auto; display: block; }

/* Same centered column (max-width + padding) as every other section's
   .container, so the logo/menu/button line up with the content below. */
.header__content {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}

.header__logo {
  flex: 0 0 auto;
  width: clamp(65px, 11vw, 95px);
}
.header__logo img { width: 100%; height: auto; display: block; }

@media (min-width: 861px) {
  .header__logo { width: clamp(170px, 21.25vw, 351px); align-self: flex-start; margin-top: clamp(28px, 12.4vw, 97px); }
}

.header__menu-btn {
  flex: 0 0 auto;
  background: none;
  border: none;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1;
  cursor: pointer;
  color: var(--black);
  padding: 0;
}

.header__cta {
  flex: 0 0 auto;
  margin-left: auto;
  width: clamp(220px, 26vw, 420px);
  height: clamp(64px, 8vw, 95px);
  display: flex; align-items: center; justify-content: center;
  background-image: url('assets/btn-pink-bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(13px, 1.6vw, 19px);
  letter-spacing: .3px;
  text-align: center;
}

.header__menu-wrap { position: static; flex: 0 0 auto; }

/* Mobile: simple full-width dropdown strip right under the header */
.header__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--paper);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  z-index: 50;
}
.header__nav.is-open { max-height: 320px; border-bottom: 1px solid rgba(0,0,0,.08); }
.header__nav a { width: 100%; padding: 14px 24px; border-top: 1px solid rgba(0,0,0,.06); color: var(--black); }

/* Desktop: compact floating card anchored under "Menu", not a full-width strip */
@media (min-width: 861px) {
  .header__menu-wrap { position: relative; }
  .header__nav {
    display: none;
    left: auto; right: auto; top: calc(100% + 8px);
    min-width: 220px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
    max-height: none;
    overflow: visible;
    padding: 6px 0;
  }
  .header__nav.is-open { display: flex; }
  .header__nav a { border-top: none; border-bottom: 1px solid rgba(0,0,0,.06); padding: 12px 22px; font-size: 13px; }
  .header__nav a:last-child { border-bottom: none; }
}

/* ---------------- Hero (fundo preto) ---------------- */
.hero { background: var(--black); color: var(--white); padding: 60px 0 90px; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(299px, 483px) 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
}
.hero__image { margin-left: -12%; }
.hero__content { text-align: center; }
.hero__image img { width: 100%; height: auto; }
.hero__date {
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.hero__date span { display: inline; }
.hero__address {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.hero__hours { font-weight: 600; text-transform: uppercase; }
.hero__hours strong { font-weight: 600; }

.hero__info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 34px;
}
.hero__info { flex: 0 1 auto; text-align: center; }
.hero__info .hero__address { margin-bottom: 10px; }
.hero__info .hero__hours { margin-bottom: 0; }
.hero__icons { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__icon { width: 50px; height: auto; display: block; }

.hero__cta-row { display: flex; align-items: center; justify-content: center; gap: 22px; }
.hero__effects { width: 56px; height: auto; position: relative; z-index: 1; }
.hero__btn {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  min-width: 459px;
  padding: 40px 62px;
  background-image: url('assets/btn-pink-bg-wide.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 23px;
  letter-spacing: .3px;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero { padding: 60px 0 30px; }
  .hero__info-row { flex-direction: column; gap: 18px; }
  .hero__icons { flex-direction: row; }
  .hero__cta-row { justify-content: center; }
  .hero__effects { display: none; }
  .hero__btn { width: 88%; min-width: 0; font-size: 15px; padding: 24px 20px; }
}

@media (max-width: 760px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__image { max-width: 322px; margin: 0 auto; }
  .hero__icons { justify-content: center; }
}

/* ---------------- Countdown (papel rasgado sobre fundo preto, largura cheia) ---------------- */
.countdown { background: var(--black); padding: 40px 0; }
.countdown__paper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 1928 / 1018;
  background-image: url('assets/countdown-paper.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.countdown__bolt {
  position: absolute;
  left: -8%; top: -18%;
  width: clamp(50px, 6vw, 110px);
  height: auto;
  pointer-events: none;
}
@media (min-width: 861px) {
  .countdown__bolt {
    left: -9%; top: -32%;
    width: clamp(60px, 7vw, 130px);
  }
}
.countdown__box { position: relative; display: flex; align-items: center; gap: clamp(12px, 2vw, 40px); }
.countdown__unit {
  width: clamp(140px, 16vw, 325px); height: clamp(140px, 16vw, 325px);
  background-image: url('assets/countdown-square.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.countdown__unit span { font-size: clamp(2.2rem, 4vw, 6.5rem); font-weight: 900; line-height: 1; }
.countdown__unit small { text-transform: uppercase; font-size: clamp(11px, 1.2vw, 30px); font-weight: 700; margin-top: 4px; }
.countdown__colon { width: clamp(18px, 3vw, 55px); height: auto; }

@media (max-width: 760px) {
  .countdown { padding: 8px 0 30px; }
}

/* ---------------- Realização ---------------- */
.realizacao {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}
.realizacao__label { text-transform: uppercase; letter-spacing: 3px; font-size: 13px; font-weight: 600; opacity: .8; margin-bottom: 14px; }
.realizacao__brand { color: var(--pink); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; text-transform: uppercase; line-height: 1.15; }

/* ---------------- Shows ---------------- */
.shows { background: var(--black); color: var(--white); padding: 70px 0 90px; }
.shows__title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 900;
  text-transform: uppercase;
}
.shows__title span:first-child,
.shows__title span:nth-child(2) { color: var(--pink); }
.shows__grid { display: grid; gap: 24px; margin-bottom: 10px; align-items: end; }
.shows__grid--top { grid-template-columns: 1fr 1fr; }
.shows__grid--bottom { grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.show-card { text-align: center; }
.show-card img { width: 100%; height: auto; display: block; margin-bottom: 14px; }
.show-card figcaption { font-weight: 700; text-transform: uppercase; font-size: 13px; color: var(--pink); letter-spacing: .5px; }
.shows__smiley { display: flex; justify-content: center; align-items: center; margin: 20px 0; }
.shows__smiley img { width: 70px; height: auto; }

@media (max-width: 760px) {
  .shows__grid--top { grid-template-columns: 1fr; }
  .shows__grid--bottom { grid-template-columns: 1fr; }
}

/* ---------------- Vendas ---------------- */
.tear-real { display: block; width: 100%; height: auto; position: relative; z-index: 3; }
.tear-real--top { background: var(--black); margin-bottom: -1px; }
.tear-real--bottom { background: var(--pink); margin-top: -1px; }
.tear-real--black-bottom { background: var(--black); margin-top: -1px; }

.vendas {
  position: relative;
  background: #ededed url('assets/vendas-paper-tile.png') repeat;
  color: var(--black);
  padding: 60px 0 80px;
  text-align: center;
  overflow: hidden;
}
.vendas__hand { position: absolute; top: 6%; width: clamp(70px, 9vw, 170px); height: auto; z-index: 2; }
.vendas__hand--left { left: 0; }
.vendas__hand--right { right: 0; }
.vendas .container { position: relative; z-index: 2; }
.vendas__lead { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; opacity: .85; margin-bottom: 18px; }
.vendas__title { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900; text-transform: uppercase; margin-bottom: 50px; }
.vendas__title span { color: var(--pink); }
.vendas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.venue-card img { margin: 0 auto 20px; max-width: 280px; width: 100%; display: block; }
.venue-card p { font-size: 14px; opacity: .85; }

@media (max-width: 760px) {
  .vendas { padding-top: 70px; }
  .vendas__grid { grid-template-columns: 1fr; gap: 50px; }
  .vendas__hand { width: clamp(40px, 12vw, 60px); top: 0; transform: translateY(140%); }
}

/* ---------------- Online / Prefere comprar ---------------- */
.online { background: var(--pink); color: var(--white); padding: 80px 0; }
.online__inner {
  display: grid;
  grid-template-columns: minmax(396px, 612px) minmax(380px, 1fr);
  gap: 30px;
  align-items: center;
}
.online__content h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 34px; }
.online__actions { display: flex; gap: 20px; flex-wrap: wrap; }
.btn--torn-real {
  background-image: url('assets/btn-torn-black.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: var(--white);
  border-radius: 0;
  padding: 31px 55px;
  font-size: 20px;
}

@media (max-width: 760px) {
  .online__inner { grid-template-columns: 1fr; text-align: center; }
  .online__ticket { max-width: 585px; width: calc(100% + 48px); margin: 0 auto; }
  .online__actions { justify-content: center; }
}

/* ---------------- Sobre ---------------- */
.sobre {
  position: relative;
  background: #000 url('assets/crowd-photo.png') top center / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 90px 0 170px;
  overflow: hidden;
}
.sobre__title { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 38px; font-weight: 900; }
.sobre p { max-width: 920px; margin: 0 auto 18px; font-size: clamp(17px, 2.1vw, 22px); font-weight: 400; line-height: 1.8; letter-spacing: normal; }
.sobre__tear { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; display: block; }
.pink { color: var(--pink); }

/* ---------------- Patrocinadores ---------------- */
.patrocinadores { background: #ededed url('assets/patrocinadores-paper-tile.png') repeat; padding: 60px 0 80px; text-align: center; }
.patrocinadores h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 22px; }
.patrocinadores h2 span { color: var(--pink); }
.patrocinadores__lead { max-width: 720px; margin: 0 auto 14px; font-size: 15px; }
.patrocinadores__lead strong { color: var(--pink); }
.patrocinadores__cta { color: var(--pink); font-weight: 700; margin-bottom: 50px; }
.patrocinadores__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}
.patrocinadores__grid a { display: block; }
.patrocinadores__grid img { margin: 0 auto; height: auto; max-height: 110px; width: 100%; max-width: 220px; object-fit: contain; }
.patrocinadores__internet { font-weight: 700; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.patrocinadores__internet img { height: 34px; width: auto; }

@media (max-width: 760px) {
  .patrocinadores__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* ---------------- Atrações ---------------- */
.atracoes { background: var(--black); color: var(--white); padding: 80px 0; text-align: center; }
.atracoes__label { color: var(--pink); letter-spacing: 3px; font-size: 13px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.atracoes__title { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 60px; }
.atracoes__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.atracao-item img { width: 56px; height: 56px; margin: 0 auto 16px; }
.atracao-item span { display: block; font-weight: 700; text-transform: uppercase; font-size: 13px; }

@media (max-width: 760px) {
  .atracoes__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* ---------------- Playlist ---------------- */
.playlist { background: var(--pink); color: var(--white); padding: 70px 0; position: relative; overflow: hidden; }
.playlist__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.playlist h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 10px; }
.playlist p { font-size: 15px; }
.playlist__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  text-align: center;
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 17px;
  background-image: url('assets/btn-torn-black-2.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 30px 50px;
  min-width: 220px;
}
.playlist__pattern {
  position: absolute; top: 0; bottom: 0; width: 34px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.playlist__pattern--left { left: 0; }
.playlist__pattern--right { right: 0; }

@media (max-width: 700px) {
  .playlist__inner { justify-content: center; text-align: center; }
}

/* ---------------- Social / Anúncios ---------------- */
.social { background: var(--black); color: var(--white); padding: 90px 0; text-align: left; }
.social h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 50px; }
.social h2 span { color: var(--pink); }
.social__btn { line-height: 1.3; }

@media (max-width: 760px) {
  .social { text-align: center; }
  .social__btn { margin: 0 auto; }
}

/* ---------------- Dúvida / Contato ---------------- */
.duvida { background: var(--white); padding: 90px 0; }
.duvida__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.duvida h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.duvida h2 span { color: var(--pink); }
.duvida__btn { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.duvida__icon { width: 22px; height: 22px; }

@media (max-width: 700px) {
  .duvida__inner { justify-content: center; text-align: center; }
}

/* ---------------- Footer ---------------- */
.footer { background: var(--black); color: var(--white); padding: 36px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer p { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 400; letter-spacing: .2px; opacity: .75; }

/* ================================================================
   PRELOADER — pôster rosa rasgado que "voa" para revelar o site
   ================================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--pink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4.5vh, 42px);
  overflow: hidden;
  clip-path: polygon(
    0 0, 100% 0, 100% 97%,
    97% 100%, 94% 95.5%, 91% 99.3%, 88% 94.8%, 85% 98.8%,
    82% 96%, 79% 99.5%, 76% 95.3%, 73% 98.6%, 70% 94.5%,
    67% 99%, 64% 95.8%, 61% 99.4%, 58% 96.2%, 55% 98.9%,
    52% 94.6%, 49% 99.6%, 46% 96.5%, 43% 98.7%, 40% 94.3%,
    37% 99.2%, 34% 96.7%, 31% 98.5%, 28% 94.9%, 25% 99.7%,
    22% 96.3%, 19% 98.4%, 16% 94.2%, 13% 99.5%, 10% 96.6%,
    7% 98.8%, 4% 94.7%, 1% 99.4%, 0 96%
  );
  transition: transform .95s cubic-bezier(.65,0,.35,1), opacity .8s ease .15s;
  will-change: transform;
}
.preloader.is-exiting { transform: translateY(-105%) rotate(-1.2deg); }
.preloader.is-hidden { display: none; }

.preloader__stripes {
  position: absolute;
  inset: -10%;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 18px, transparent 18px 36px);
  animation: preStripes 6s linear infinite;
  pointer-events: none;
}
@keyframes preStripes {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(120px,120px,0); }
}

.preloader__flash {
  position: absolute;
  left: 50%; top: 50%;
  width: 60vmax; height: 60vmax;
  margin: -30vmax 0 0 -30vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 65%);
  opacity: 0;
  transform: scale(.2);
  animation: preFlash 1.1s ease-out .78s forwards;
  pointer-events: none;
}
@keyframes preFlash {
  0% { opacity: 0; transform: scale(.2); }
  12% { opacity: .9; }
  45% { opacity: .35; transform: scale(1.6); }
  100% { opacity: 0; transform: scale(2.4); }
}

.preloader__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preShake 1.8s ease-out both;
}
@keyframes preShake {
  0%, 44% { transform: translate(0,0) rotate(0); }
  47% { transform: translate(-8px,4px) rotate(-1.2deg); }
  50% { transform: translate(7px,-5px) rotate(1.4deg); }
  53% { transform: translate(-6px,3px) rotate(-.8deg); }
  57% { transform: translate(4px,-3px) rotate(.6deg); }
  61% { transform: translate(-2px,1px) rotate(0); }
  100% { transform: translate(0,0) rotate(0); }
}

.preloader__logo {
  width: clamp(210px, 32vw, 400px);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.28));
  animation: preLogoIn 1s cubic-bezier(.22,.75,.28,1.15) .2s forwards;
}
@keyframes preLogoIn {
  0% { opacity: 0; transform: scale(.15) rotate(-26deg); }
  55% { opacity: 1; transform: scale(1.12) rotate(4deg); }
  75% { transform: scale(.94) rotate(-2deg); }
  90% { transform: scale(1.04) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

.preloader__deco {
  position: absolute;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.25));
}
.preloader__deco--bolt1 {
  width: clamp(34px, 5vw, 60px);
  left: -14%; top: 6%;
  animation: preDecoIn1 .7s cubic-bezier(.25,.8,.3,1.3) .55s forwards;
}
.preloader__deco--bolt2 {
  width: clamp(34px, 5vw, 60px);
  right: -12%; bottom: 4%;
  animation: preDecoIn2 .7s cubic-bezier(.25,.8,.3,1.3) .68s forwards;
}
.preloader__deco--smiley {
  width: clamp(32px, 4.5vw, 54px);
  right: -8%; top: -10%;
  animation: preDecoIn3 .7s cubic-bezier(.25,.8,.3,1.3) .8s forwards;
}
@keyframes preDecoIn1 {
  0% { opacity: 0; transform: translate(-30px,-16px) rotate(-40deg) scale(.4); }
  100% { opacity: 1; transform: translate(0,0) rotate(-8deg) scale(1); }
}
@keyframes preDecoIn2 {
  0% { opacity: 0; transform: translate(30px,16px) rotate(140deg) scale(.4); }
  100% { opacity: 1; transform: translate(0,0) rotate(180deg) scale(1); }
}
@keyframes preDecoIn3 {
  0% { opacity: 0; transform: translate(24px,-16px) rotate(50deg) scale(.4); }
  100% { opacity: 1; transform: translate(0,0) rotate(12deg) scale(1); }
}

.preloader__loading {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: preFadeUp .6s ease .95s forwards;
}
@keyframes preFadeUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.preloader__label {
  font-family: var(--font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(11px, 1.4vw, 14px);
  color: var(--black);
}
.preloader__bar {
  width: clamp(140px, 22vw, 220px);
  height: 10px;
  background: var(--black);
  border-radius: 6px;
  overflow: hidden;
}
.preloader__bar-fill {
  width: 0%;
  height: 100%;
  background: var(--white);
  border-radius: 6px;
  transition: width .25s ease-out;
}
.preloader__pct {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(11px, 1.4vw, 14px);
  color: var(--black);
  min-width: 3ch;
}

@media (prefers-reduced-motion: reduce) {
  .preloader, .preloader__stage, .preloader__logo, .preloader__deco, .preloader__loading, .preloader__flash, .preloader__stripes {
    animation: none !important;
    transition: opacity .3s ease !important;
  }
  .preloader__logo, .preloader__deco, .preloader__loading { opacity: 1 !important; transform: none !important; }
  .preloader.is-exiting { opacity: 0; transform: none; }
}

@media (max-width: 560px) {
  .preloader__deco--bolt1 { left: -6%; top: 2%; }
  .preloader__deco--bolt2 { right: -6%; bottom: 0%; }
  .preloader__deco--smiley { right: -2%; top: -14%; }
}
