@font-face {
  font-family: "BKS Condensed";
  src: url("/back-2-school-2026/assets/fonts/Brunson.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "BKS Utility";
  src: url("/back-2-school-2026/assets/fonts/Lastik-Regular.otf") format("opentype");
  font-display: swap;
}

:root {
  --ink: #050706;
  --green: #0a2b20;
  --green-light: #174f3e;
  --cream: #f5f0e5;
  --white: #fffdf7;
  --yellow: #f4e25f;
  --red: #df2830;
  --line: rgba(255, 255, 255, 0.25);
  --pad: clamp(20px, 4.6vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--red);
  content: "";
}

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

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

p,
h1,
h2,
dl,
dd,
figure,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 11px 14px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.night-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 25px;
  align-items: center;
  padding: 18px var(--pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(to bottom, rgba(2, 5, 3, 0.76), transparent);
}

.night-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  font-family: "BKS Utility", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.night-brand img {
  width: 28px;
  height: 36px;
  object-fit: contain;
}

.night-header > p {
  display: flex;
  gap: 13px;
  align-items: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.night-header > p b {
  color: var(--yellow);
}

.night-header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.header-ticket {
  padding: 12px 14px 10px;
  background: var(--yellow);
  color: var(--ink);
}

.night-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.6fr);
  gap: clamp(45px, 6vw, 100px);
  align-items: center;
  padding: 112px var(--pad) 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 19% 20%, rgba(29, 112, 83, 0.55), transparent 31%),
    radial-gradient(circle at 83% 80%, rgba(223, 40, 48, 0.22), transparent 31%),
    var(--green);
}

.night-hero::before,
.night-hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.night-hero::before {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000 0 82%, transparent);
}

.night-hero::after {
  width: 650px;
  height: 80px;
  right: -115px;
  top: 120px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 32px, var(--yellow) 32px 64px);
  transform: rotate(8deg);
}

.hero-noise {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: grid;
  align-content: center;
}

.hero-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero-kicker span {
  padding: 8px 10px 6px;
  background: var(--red);
}

.hero-copy h1 {
  margin-top: 26px;
  font-family: "BKS Condensed", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.76;
}

.hero-copy h1 > span {
  display: block;
  max-width: 740px;
  color: var(--yellow);
  font-size: clamp(2.1rem, 4.3vw, 4.7rem);
  letter-spacing: 0.01em;
  line-height: 0.88;
}

.hero-copy h1 > strong {
  display: block;
  margin-top: 9px;
  font-size: clamp(7.6rem, 15vw, 15rem);
  font-weight: 400;
}

.hero-time {
  display: flex;
  gap: 16px;
  align-items: center;
  width: fit-content;
  margin-top: 29px;
  padding: 10px 13px 8px;
  border: 2px solid var(--white);
  transform: rotate(-0.7deg);
}

.hero-time strong {
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: clamp(2.7rem, 4.4vw, 4.7rem);
  font-weight: 400;
  line-height: 0.8;
}

.hero-time span {
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.35;
}

.hero-lineup {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 27px;
}

.hero-lineup li {
  padding: 8px 10px 6px;
  background: var(--cream);
  color: var(--ink);
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  letter-spacing: 0.04em;
  transform: rotate(-0.7deg);
}

.hero-lineup li:nth-child(even) {
  background: var(--yellow);
  transform: rotate(0.7deg);
}

.hero-offer {
  display: grid;
  width: min(100%, 760px);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: stretch;
  margin-top: 34px;
  padding: 18px;
  border: 3px solid var(--white);
  background: rgba(2, 5, 3, 0.78);
  box-shadow: 10px 10px 0 var(--red);
}

.hero-offer > div {
  display: grid;
  gap: 4px;
  align-content: center;
}

.hero-offer small,
.hero-offer > div span {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hero-offer small {
  color: var(--yellow);
}

.hero-offer > div strong {
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.92;
}

.hero-offer > div span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.hero-offer > a {
  display: grid;
  min-width: 170px;
  place-content: center;
  padding: 16px;
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
}

.hero-offer > a span {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-offer > a strong {
  margin-top: 2px;
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
}

.price-warning {
  width: fit-content;
  margin-top: 15px;
  color: var(--yellow);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.hero-poster {
  width: min(100%, 510px);
  justify-self: center;
  padding: 12px;
  border: 2px solid var(--white);
  background: var(--ink);
  box-shadow: 18px 20px 0 var(--red), -10px -11px 0 var(--yellow);
  transform: rotate(1.2deg);
}

.hero-poster > span {
  display: block;
  padding: 2px 4px 10px;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-poster img {
  width: 100%;
  height: auto;
}

.scroll-note {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 24px;
  border-bottom: 2px solid var(--yellow);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.section-heading > p,
.included-copy > p:first-child {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.section-heading h2,
.included-copy h2,
.final-pass h2 {
  margin-top: 20px;
  font-family: "BKS Condensed", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.83;
}

.ticket-flow {
  padding: clamp(80px, 9vw, 130px) var(--pad);
  background:
    linear-gradient(rgba(5, 7, 6, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 7, 6, 0.065) 1px, transparent 1px),
    var(--cream);
  background-size: 28px 28px;
  color: var(--ink);
}

.ticket-flow .section-heading h2 {
  max-width: 1100px;
  font-size: clamp(4rem, 9.5vw, 9.5rem);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: clamp(48px, 7vw, 90px);
  counter-reset: flow;
}

.flow-grid li {
  position: relative;
  min-height: 310px;
  padding: 25px 25px 29px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 9px 10px 0 var(--green-light);
}

.flow-grid li:nth-child(2) {
  background: var(--yellow);
  transform: translateY(28px) rotate(-0.55deg);
}

.flow-grid li:nth-child(3) {
  transform: rotate(0.55deg);
}

.flow-grid b {
  color: var(--red);
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
}

.flow-grid span {
  display: block;
  max-width: 370px;
  margin-top: 34px;
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: clamp(2.15rem, 3.4vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 0.9;
}

.flow-grid p {
  max-width: 420px;
  margin-top: 19px;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.48;
}

.capacity-note {
  width: fit-content;
  margin: 65px auto 0;
  padding: 15px 18px 13px;
  background: var(--ink);
  color: var(--white);
  font-size: clamp(0.65rem, 1.3vw, 0.9rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
  transform: rotate(-0.4deg);
}

.festival-included {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(45px, 8vw, 130px);
  align-items: center;
  padding: clamp(80px, 10vw, 150px) var(--pad);
  border-top: 7px solid var(--red);
  border-bottom: 7px solid var(--yellow);
  background:
    radial-gradient(circle at 16% 80%, rgba(223, 40, 48, 0.24), transparent 27%),
    #0a1736;
}

.included-stamp {
  display: grid;
  width: min(100%, 420px);
  aspect-ratio: 1;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  justify-self: center;
  padding: 30px;
  border: 4px solid var(--white);
  box-shadow: 15px 15px 0 var(--red);
  transform: rotate(-3deg);
}

.included-stamp span,
.included-stamp strong {
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: clamp(7rem, 13vw, 12rem);
  font-weight: 400;
  line-height: 0.7;
}

.included-stamp strong {
  color: var(--yellow);
}

.included-stamp b {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.included-copy h2 {
  max-width: 850px;
  font-size: clamp(4.2rem, 8.5vw, 9rem);
}

.included-lead {
  max-width: 760px;
  margin-top: 32px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 750;
  line-height: 1.55;
}

.included-copy dl {
  max-width: 800px;
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.included-copy dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.included-copy dt {
  color: var(--yellow);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.included-copy dd {
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: clamp(1.4rem, 2.1vw, 2.1rem);
  line-height: 0.95;
}

.included-copy > a {
  display: inline-block;
  margin-top: 35px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.night-rules {
  padding: clamp(80px, 9vw, 130px) var(--pad);
  background:
    linear-gradient(rgba(255, 255, 255, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.048) 1px, transparent 1px),
    var(--green);
  background-size: 34px 34px;
}

.section-heading-dark h2 {
  max-width: 1050px;
  font-size: clamp(4.4rem, 9vw, 9rem);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: clamp(48px, 6vw, 82px);
}

.rules-grid article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 42px);
  border: 2px solid var(--white);
  background: rgba(2, 5, 3, 0.72);
}

.rules-grid article:nth-child(2),
.rules-grid article:nth-child(3) {
  background: var(--cream);
  color: var(--ink);
}

.rules-grid article > span {
  color: var(--yellow);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.rules-grid article:nth-child(2) > span,
.rules-grid article:nth-child(3) > span {
  color: var(--red);
}

.rules-grid article > strong {
  display: block;
  margin-top: 30px;
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: clamp(3.3rem, 6.2vw, 6.5rem);
  font-weight: 400;
  line-height: 0.83;
}

.rules-grid article > p {
  max-width: 650px;
  margin-top: 20px;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.5;
}

.rules-grid article > a {
  display: inline-block;
  margin-top: 21px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.final-pass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: clamp(35px, 6vw, 95px);
  align-items: center;
  padding: clamp(80px, 10vw, 145px) var(--pad);
  background:
    linear-gradient(rgba(5, 7, 6, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 7, 6, 0.055) 1px, transparent 1px),
    var(--cream);
  background-size: 28px 28px;
  color: var(--ink);
}

.final-pass-copy > p {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.final-pass h2 {
  font-size: clamp(4.2rem, 8.5vw, 8.5rem);
}

.final-pass-copy > span {
  display: block;
  margin-top: 32px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.final-pass > a {
  display: grid;
  min-height: 330px;
  place-content: center;
  padding: 35px;
  border: 4px solid var(--ink);
  background: var(--yellow);
  box-shadow: 16px 17px 0 var(--red);
  text-align: center;
  transform: rotate(1deg);
  transition: transform 160ms ease;
}

.final-pass > a:hover,
.final-pass > a:focus-visible {
  transform: rotate(-1deg) translateY(-6px);
}

.final-pass > a small {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.final-pass > a strong {
  margin-top: 28px;
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: clamp(3rem, 5.5vw, 5.7rem);
  font-weight: 400;
  line-height: 0.83;
}

.final-pass > a b {
  margin-top: 19px;
  color: var(--red);
  font-family: "BKS Condensed", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
}

.night-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px var(--pad) 36px;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.night-footer > p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
}

.night-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: flex-end;
  font-size: 0.6rem;
  font-weight: 800;
}

.mobile-ticket {
  display: none;
}

@media (max-width: 980px) {
  .night-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.72fr);
    gap: 38px;
  }

  .hero-copy h1 > strong {
    font-size: clamp(6rem, 13vw, 10rem);
  }

  .hero-offer {
    grid-template-columns: 1fr;
  }

  .hero-offer > a {
    min-width: 0;
  }

  .flow-grid li {
    min-height: 350px;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 64px;
  }

  .night-header {
    position: absolute;
    grid-template-columns: 1fr auto;
    padding-top: 16px;
    padding-bottom: 15px;
  }

  .night-header > p,
  .night-header nav > a:first-child {
    display: none;
  }

  .night-header nav {
    gap: 0;
  }

  .header-ticket {
    padding: 10px 11px 8px;
    font-size: 0.62rem;
  }

  .night-hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-top: 104px;
    padding-bottom: 90px;
  }

  .night-hero::after {
    width: 420px;
    height: 54px;
    top: 78px;
    right: -170px;
  }

  .hero-copy h1 {
    margin-top: 21px;
  }

  .hero-copy h1 > span {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }

  .hero-copy h1 > strong {
    font-size: clamp(6.8rem, 36vw, 10.2rem);
  }

  .hero-time {
    margin-top: 24px;
  }

  .hero-lineup {
    margin-top: 23px;
  }

  .hero-offer {
    grid-template-columns: 1fr;
    padding: 15px;
    box-shadow: 7px 8px 0 var(--red);
  }

  .hero-offer > a {
    margin-top: 6px;
    padding: 15px;
  }

  .hero-poster {
    width: min(88vw, 470px);
    margin-top: 52px;
    box-shadow: 12px 13px 0 var(--red), -7px -8px 0 var(--yellow);
  }

  .scroll-note {
    right: var(--pad);
    bottom: 27px;
  }

  .ticket-flow,
  .festival-included,
  .night-rules,
  .final-pass {
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .ticket-flow .section-heading h2,
  .included-copy h2,
  .section-heading-dark h2,
  .final-pass h2 {
    font-size: clamp(4rem, 21vw, 6.2rem);
  }

  .flow-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 44px;
  }

  .flow-grid li,
  .flow-grid li:nth-child(2),
  .flow-grid li:nth-child(3) {
    min-height: 0;
    transform: none;
  }

  .flow-grid span {
    margin-top: 25px;
    font-size: 2.6rem;
  }

  .capacity-note {
    width: 100%;
    margin-top: 36px;
    line-height: 1.45;
  }

  .festival-included {
    grid-template-columns: 1fr;
  }

  .included-stamp {
    width: min(80vw, 350px);
  }

  .included-stamp span,
  .included-stamp strong {
    font-size: clamp(6rem, 31vw, 9rem);
  }

  .included-copy dl div {
    grid-template-columns: 85px 1fr;
  }

  .included-copy dd {
    font-size: 1.55rem;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .rules-grid article {
    min-height: 0;
  }

  .final-pass {
    grid-template-columns: 1fr;
  }

  .final-pass > a {
    min-height: 280px;
    margin-top: 15px;
    box-shadow: 11px 12px 0 var(--red);
  }

  .night-footer {
    grid-template-columns: 1fr;
    padding-bottom: 35px;
  }

  .night-footer > p {
    text-align: left;
  }

  .night-footer nav {
    justify-content: flex-start;
  }

  .mobile-ticket {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 64px;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px calc(10px + env(safe-area-inset-bottom));
    border-top: 3px solid var(--ink);
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }

  .mobile-ticket span {
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.1em;
  }

  .mobile-ticket strong {
    font-family: "BKS Condensed", Impact, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 > strong {
    font-size: 6.25rem;
  }

  .hero-kicker {
    font-size: 0.6rem;
  }

  .hero-time strong {
    font-size: 2.7rem;
  }

  .ticket-flow .section-heading h2,
  .included-copy h2,
  .section-heading-dark h2,
  .final-pass h2 {
    font-size: 3.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .final-pass > a {
    transition: none;
  }
}
