

:root {
  --cream: #f3e6cf;
  --f-script: "Yellowtail", "Brush Script MT", cursive;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  font-family: var(--f-body);
  line-height: 1.5;
  background-color: #3d2415;
  background-image:
    url("/assets/img/grain.svg"),
    repeating-linear-gradient(90deg, rgba(255, 214, 170, .07) 0 2px, rgba(0, 0, 0, 0) 2px 176px, rgba(8, 4, 2, .92) 176px 180px),
    repeating-linear-gradient(90.5deg, rgba(0, 0, 0, .11) 0 1px, rgba(0, 0, 0, 0) 1px 7px, rgba(255, 200, 140, .045) 7px 9px, rgba(0, 0, 0, 0) 9px 16px, rgba(0, 0, 0, .08) 16px 17px, rgba(0, 0, 0, 0) 17px 29px),
    repeating-linear-gradient(90deg, #4b2c18 0 180px, #3a2213 180px 360px, #53321d 360px 540px, #432815 540px 720px, #4e2f1a 720px 900px);
  background-size: 720px 1440px, auto, auto, auto;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }

.nr { color: #ffe4df; text-shadow: 0 0 1px #fff, 0 0 5px #ff4a3d, 0 0 12px #ff3b3b, 0 0 26px #e3122b, 0 0 52px #b0001a; }
.na { color: #fff1d6; text-shadow: 0 0 1px #fff, 0 0 5px #ffb23f, 0 0 12px #ffa21f, 0 0 26px #e07b00, 0 0 52px #b35a00; }
.np { color: #ffe6f4; text-shadow: 0 0 1px #fff, 0 0 5px #ff5fb8, 0 0 12px #ff4fae, 0 0 26px #e0268c, 0 0 52px #b00d6c; }
.tube-a { border: 4px solid #ffe6bf; box-shadow: 0 0 6px #ffb23f, 0 0 16px #ffa21f, 0 0 34px rgba(224, 123, 0, .6), inset 0 0 6px #ffb23f, inset 0 0 16px rgba(255, 162, 31, .45); }
.glow-t { filter: drop-shadow(0 0 3px rgba(63, 245, 216, .95)) drop-shadow(0 0 10px rgba(63, 245, 216, .75)) drop-shadow(0 0 26px rgba(20, 199, 177, .55)); }
.glow-r { filter: drop-shadow(0 0 3px rgba(255, 59, 59, .95)) drop-shadow(0 0 10px rgba(255, 59, 59, .75)) drop-shadow(0 0 26px rgba(227, 18, 43, .55)); }

@keyframes flick { 0%, 100% { opacity: 1 } 31% { opacity: 1 } 32% { opacity: .3 } 33% { opacity: 1 } 34% { opacity: .15 } 36% { opacity: 1 } 78% { opacity: 1 } 79% { opacity: .45 } 80% { opacity: 1 } }
@keyframes hum { 0%, 100% { opacity: 1 } 50% { opacity: .84 } }
@keyframes on { 0% { opacity: 0 } 8% { opacity: .8 } 10% { opacity: .1 } 16% { opacity: .9 } 18% { opacity: .2 } 30% { opacity: 1 } 100% { opacity: 1 } }
@keyframes chase { to { stroke-dashoffset: -120; } }
@keyframes word { 0%, 100% { opacity: 1 } 10% { opacity: .18 } 14% { opacity: 1 } }

@keyframes sway {
  0% { transform: rotate(0); animation-timing-function: ease-out; }
  25% { transform: rotate(1.2deg); animation-timing-function: ease-in-out; }
  75% { transform: rotate(-1.2deg); animation-timing-function: ease-in; }
  100% { transform: rotate(0); }
}

.fx-chase { animation: chase 1.4s linear infinite; }
.s-badge { animation: on 1.4s steps(1, end) .3s both, flick 6.2s steps(1, end) 2.4s infinite; }
.s-letters { animation: on 1.6s steps(1, end) 1.1s both, hum 4.6s ease-in-out 3s infinite; }
.s-arrow { animation: on 1.2s steps(1, end) 2.1s both; }
.w1 { animation: word 5s steps(1, end) 3.4s infinite; }
.w2 { animation: word 5s steps(1, end) 3.6s infinite; }
.w3 { animation: word 5s steps(1, end) 3.8s infinite; }
.w4 { animation: word 5s steps(1, end) 4s infinite; }
.w5 { animation: word 5s steps(1, end) 4.2s infinite; }

@keyframes rope { 0% { height: 0; opacity: 0; } 3% { opacity: 1; } }
@keyframes lower { from { transform: translateY(calc(-1 * var(--rope))); } }
.s-rope { animation: rope 1s cubic-bezier(.3, 1.25, .5, 1) 2.5s both; }
.s-open { animation: lower 1s cubic-bezier(.3, 1.25, .5, 1) 2.5s both, on 1.3s steps(1, end) 2.6s both; }
.s-script { animation: flick 7.1s steps(1, end) 5s infinite; }
.s-date { animation: on 1s steps(1, end) 3.9s both, hum 3.8s ease-in-out 5s infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

.splash {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(24px, 5vh, 64px) 16px clamp(32px, 6vh, 72px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 40% at 50% 34%, rgba(63, 245, 216, .16), transparent 70%),
    radial-gradient(ellipse 22% 24% at 30% 16%, rgba(255, 59, 59, .14), transparent 70%),
    radial-gradient(ellipse 30% 22% at 50% 84%, rgba(255, 178, 63, .14), transparent 70%),
    radial-gradient(ellipse 22% 20% at 50% 76%, rgba(255, 95, 184, .1), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 22%, transparent 80%, rgba(0, 0, 0, .4));
}

.sign {
  position: relative;
  width: min(100%, 760px, calc((100svh - 330px) * 1.08));
  min-width: min(100%, 300px);
  aspect-ratio: 1125 / 1040;
  container-type: inline-size;
}
.sign__backer, .sign__layer, .sign__arrow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sign__title { margin: 0; }
.sign__arrow { filter: drop-shadow(0 0 4px rgba(255, 59, 59, .95)) drop-shadow(0 0 14px rgba(227, 18, 43, .7)); }
.sign__tagline {
  position: absolute; left: 21.8%; top: 85.1%; width: 69%; height: 7.7%; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 1.6cqw; white-space: nowrap;
  font-family: var(--f-cond); font-weight: 600; font-size: 6.05cqw; letter-spacing: .03em; line-height: 1;
}

.opening {
  display: flex; flex-direction: column; align-items: center;
  --rope: clamp(34px, 5.5vh, 58px);
  margin-top: -9px;
  transform-origin: 50% 0;
  animation: sway 6s 4.3s infinite;
}
.opening__ropes { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; width: 62%; height: var(--rope); }

.opening__ropes span {
  position: relative;
  width: 7px; height: var(--rope);
  border-radius: 3px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 35%, transparent 65%, rgba(0, 0, 0, .45)),
    repeating-linear-gradient(-58deg, #e2c393 0 2px, #b98a52 2px 4px, #7a5230 4px 5px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}
.opening__ropes span::after {
  content: ""; position: absolute; left: 50%; bottom: -7px;
  width: 15px; height: 12px; margin-left: -7.5px; border-radius: 50%;
  background:
    radial-gradient(ellipse at 35% 30%, rgba(255, 235, 200, .45), transparent 55%),
    repeating-linear-gradient(40deg, #e2c393 0 2px, #b98a52 2px 4px, #7a5230 4px 5px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .55);
}
.opening__box {
  margin: 0;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(4px, .8vw, 8px) clamp(26px, 5vw, 56px) clamp(12px, 1.8vw, 20px);
  border-radius: 26px;
  background: rgba(20, 10, 4, .6);
  line-height: 1;
  text-align: center;
}
.opening__script { display: block; font-family: var(--f-script); font-size: clamp(46px, 7vw, 84px); line-height: 1.15; }
.opening__date {
  display: flex; gap: .45em; margin-top: -.08em; padding-left: .2em;
  font-family: var(--f-cond); font-weight: 700; font-size: clamp(34px, 5.6vw, 66px);
  letter-spacing: .2em; white-space: nowrap;
}

@media (max-height: 520px) {
  .splash { padding: 16px 16px 20px; }
  .sign { width: calc((100svh - 190px) * 1.08); min-width: 0; }
  .opening { --rope: 22px; margin-top: -6px; }
  .opening__box { padding: 2px 28px 10px; border-radius: 18px; }
  .opening__script { font-size: 36px; }
  .opening__date { font-size: 26px; }
}
