/* Events — wheatpaste flyers on a kraft wall. */

.events-scene {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #16130f;
  background-color: #b7a890;
  background-image:
    linear-gradient(90deg, #1a120c38 0%, transparent 14%, transparent 86%, #1a120c3d 100%),
    linear-gradient(180deg, #3a2e2218, transparent 16%, transparent 84%, #2a211822),
    url("./assets/wall-kraft.jpg");
  background-size: cover, cover, cover;
  background-position: center;
  overflow: hidden;
}

.app-shell.is-events > .topbar,
.app-shell.is-events > .brand-strip,
.app-shell.is-events > .bottom-nav,
.app-shell.is-events > .paper-grain {
  display: none;
}

.scene.events-scene,
.scene.events-scene.active {
  transform: none;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}

.events-flicker {
  position: absolute;
  inset: -12%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.18;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain-shift 0.48s steps(2) infinite;
}

.events-fx {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.5%, 1%); }
  50% { transform: translate(1%, -1.6%); }
  75% { transform: translate(-1%, 1.4%); }
  100% { transform: translate(0, 0); }
}

.events-topbar {
  position: relative;
  z-index: 5;
  flex: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  height: 74px;
  padding: 0 3.1%;
}

.events-wordmark {
  color: #1a1612;
  text-decoration: none;
  font-family: "Libre Bodoni", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.03em;
  line-height: 0.8;
}

.events-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.1vw, 34px);
  min-width: 0;
}

.events-nav-link {
  position: relative;
  border: 0;
  background: none;
  padding: 8px 0;
  color: #1c1814;
  cursor: pointer;
  font: 500 11px/1 "DM Mono", ui-monospace, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.events-nav .nav-link {
  padding: 8px 0;
  font: 500 11px/1 "DM Mono", ui-monospace, monospace;
  letter-spacing: 0.13em;
  color: #1c1814;
}

.events-nav .nav-link::after {
  bottom: -7px;
  height: 1px;
}

.events-nav-link.events-city::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: currentColor;
}

.events-reticle {
  width: 34px;
  height: 34px;
  border: 1.5px solid #1b1713;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  justify-self: end;
}

.events-reticle span {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid #1b1713;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.events-reticle:hover,
.events-reticle[aria-expanded="true"] {
  background: #1b1713;
}

.events-reticle:hover span,
.events-reticle[aria-expanded="true"] span {
  border-color: #f4ecdf;
}

.events-route-menu {
  display: none;
  position: absolute;
  top: calc(100% - 6px);
  right: 3.1%;
  width: min(240px, 80vw);
  padding: 8px;
  background: #eadfcbf5;
  border: 1px solid #1b1713;
  box-shadow: 0 18px 34px #140e0a33;
  z-index: 6;
}

.events-route-menu.is-open {
  display: grid;
}

.events-route-menu button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 11px 12px;
  cursor: pointer;
  color: #1c1814;
  font: 500 11px/1 "DM Mono", ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.events-route-menu button:hover,
.events-route-menu button.is-current {
  background: #1b1713;
  color: #f6efe4;
}

.events-frame {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  min-width: 0;
  width: min(1160px, calc(100% - 168px));
  max-width: 100%;
  margin: 0 auto 10px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.events-hero {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto minmax(90px, 1fr);
  align-items: center;
  min-height: clamp(124px, 18vh, 178px);
  margin-bottom: 2px;
}

.events-side-note,
.events-coordinate {
  position: static;
  margin: 0;
  font: 500 10px/1.7 "DM Mono", ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1b1713;
}

.events-side-note {
  justify-self: end;
  margin-right: clamp(10px, 2vw, 36px);
}

.events-side-note span {
  display: block;
  width: 36px;
  height: 1px;
  margin-top: 12px;
  background: #1b1713;
}

.events-coordinate {
  justify-self: start;
  align-self: center;
  margin: 18px 0 0 clamp(128px, 11vw, 168px);
}

.events-coordinate span {
  display: inline-block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.events-title-lockup {
  position: relative;
  width: max-content;
  justify-self: center;
}

.events-title-lockup h2 {
  margin: 0;
  color: #100e0c;
  font-family: Oswald, Impact, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(104px, 12.4vw, 178px);
  line-height: 0.76;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-shadow: 0.6px 0 0 #100e0c, -0.4px 0 0 #100e0c, 0 1px 0 #6d6458;
  filter: url("#ink-distress");
}

.events-title-lockup .period {
  color: #100e0c;
}

.scribble {
  position: absolute;
  left: calc(100% - 2px);
  top: 0;
  width: 138px;
  margin: 0;
  color: #1a1612;
  transform: rotate(-11deg);
  transform-origin: left center;
  font-family: "Permanent Marker", cursive;
  font-size: 23px;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: none;
  pointer-events: none;
}

.scribble span {
  display: block;
}

.scribble i {
  display: block;
  width: 86px;
  height: 2px;
  margin: 7px 0 0 6px;
  background: currentColor;
  transform: rotate(-8deg);
  transform-origin: left center;
}

.events-scene.is-intro .events-title-lockup h2 {
  animation: title-in 0.72s cubic-bezier(0.16, 0.84, 0.24, 1) both;
}

.events-scene.is-intro .events-side-note,
.events-scene.is-intro .events-coordinate {
  animation: rise-in 0.6s 0.12s both;
}

.events-scene.is-intro .scribble span {
  animation: write-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.events-scene.is-intro .scribble span:nth-child(2) { animation-delay: 0.28s; }
.events-scene.is-intro .scribble span:nth-child(3) { animation-delay: 0.46s; }

.events-scene.is-intro .scribble i {
  animation: rule-in 0.4s 0.78s both;
}

.events-scene.is-intro .filter {
  animation: rise-in 0.45s both;
  animation-delay: calc(0.2s + var(--fi, 0) * 45ms);
}

@keyframes title-in {
  from { opacity: 0; letter-spacing: 0.08em; transform: translateY(18px); }
  to { opacity: 1; letter-spacing: -0.045em; transform: none; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes write-in {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes rule-in {
  from { transform: rotate(-8deg) scaleX(0); }
  to { transform: rotate(-8deg) scaleX(1); }
}

.events-toolbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  margin-bottom: 8px;
}

.events-scene .filters {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(4px, 1vw, 18px);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.events-scene .filters::-webkit-scrollbar { display: none; }

.events-scene .filter {
  flex: none;
  position: relative;
  border: 0;
  background: transparent;
  color: #1c1814;
  cursor: pointer;
  padding: 8px 11px;
  border-radius: 2px;
  font: 500 11px/1 "DM Mono", ui-monospace, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.events-scene .filter::after { display: none; }

.events-scene .filter.active {
  background: #110e0c;
  color: #f4ecdf;
  font-weight: 500;
}

.events-scene .filter:hover:not(.active) { transform: translateY(-1px); }

.calendar-wrap { position: relative; flex: none; }

.events-scene .calendar-button {
  appearance: none;
  position: static;
  top: auto;
  right: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 36px;
  margin: 0;
  padding: 8px 16px;
  border: 1px solid #1b1713c7;
  border-radius: 2px;
  background: transparent;
  color: #1b1713;
  cursor: pointer;
  font: 500 11px/1 "DM Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.events-scene .calendar-button:hover,
.events-scene .calendar-button[aria-expanded="true"] {
  background: #1b1713;
  color: #f4ecdf;
  transform: translateY(-1px);
}

.calendar-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, 78vw);
  padding: 14px 14px 8px;
  background: #eadfcbf6;
  border: 1px solid #1b1713;
  box-shadow: 0 16px 36px #140e0a38;
  z-index: 6;
}

.calendar-pop[hidden] { display: none; }

.calendar-pop p {
  margin: 0 0 8px;
  font: 500 9px/1 "DM Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5c5348;
}

.calendar-pop ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.calendar-pop button {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  padding: 9px 4px;
  border: 0;
  border-top: 1px solid #1b171333;
  background: none;
  text-align: left;
  cursor: pointer;
  color: #1b1713;
}

.calendar-pop button:hover { background: #1b17130e; }

.calendar-pop b {
  grid-row: span 2;
  align-self: center;
  font: 600 13px/1 Oswald, sans-serif;
  letter-spacing: 0.04em;
}

.calendar-pop span,
.calendar-pop small {
  font: 500 9px/1.3 "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-pop small { color: #5e564c; }

.event-gallery {
  position: relative;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  height: 100%;
}

.event-viewport {
  height: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.event-viewport.is-grabbing { cursor: grabbing; }

.events-scene .event-track,
.events-scene #event-grid {
  height: 100%;
  max-height: none;
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--gap, 14px);
  background: none;
}

.events-scene .event-track.is-sparse { justify-content: center; }

.events-scene .event-card {
  position: relative;
  flex: 0 0 var(--card, 250px);
  width: var(--card, 250px);
  height: min(100%, calc(var(--card, 250px) * 1.68));
  min-height: 0;
  overflow: visible;
  border: 0;
  padding: 0;
  background: none;
  color: #f6efe4;
  text-align: left;
  cursor: pointer;
  transform: rotate(var(--tilt, 0deg)) translateY(var(--shift, 0px));
  filter: drop-shadow(1px 2px 0 #1a140c44) drop-shadow(7px 16px 12px #120e0a66);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.45s ease;
  animation: none;
}

.event-card-new-era { --tilt: -1.7deg; --shift: 9px; }
.event-card-alma { --tilt: 1.25deg; --shift: -7px; }
.event-card-robot { --tilt: -0.65deg; --shift: 5px; }
.event-card-casa { --tilt: 1.45deg; --shift: 11px; }

.events-scene .event-card::after { content: none; }

.flyer-shadow {
  position: absolute;
  z-index: 0;
  inset: 12% 10% 2% 8%;
  background: #120e0a73;
  filter: blur(9px);
  transform: translate(8px, 14px);
  pointer-events: none;
}

.tape {
  position: absolute;
  z-index: 7;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  filter: drop-shadow(0 1px 1px #1a120c59);
  pointer-events: none;
}

/* Half on the flyer, half on the wall. Clear of the date and the footer. */
.tape-a { top: 0; left: 2%; width: 30%; height: 16px; background-image: url("./assets/tape-1.png"); transform: translateY(-68%) rotate(-6deg); }
.tape-d { top: 0; right: 1%; width: 16%; height: 12px; background-image: url("./assets/tape-2.png"); transform: translateY(-78%) rotate(7deg); }
.tape-b { top: 34%; right: -16%; width: 32%; height: 16px; background-image: url("./assets/tape-5.png"); transform: rotate(91deg); }
.tape-c { top: 46%; left: -14%; width: 28%; height: 15px; background-image: url("./assets/tape-6.png"); transform: rotate(-89deg); }
.event-card-alma .tape-a { background-image: url("./assets/tape-3.png"); left: 4%; transform: translateY(-68%) rotate(-3deg); }
.event-card-alma .tape-b { background-image: url("./assets/tape-4.png"); top: 40%; }
.event-card-alma .tape-c { background-image: url("./assets/tape-2.png"); }
.event-card-alma .tape-d { background-image: url("./assets/tape-6.png"); }
.event-card-robot .tape-a { background-image: url("./assets/tape-5.png"); transform: translateY(-68%) rotate(4deg); }
.event-card-robot .tape-b { background-image: url("./assets/tape-1.png"); top: 38%; }
.event-card-robot .tape-c { background-image: url("./assets/tape-3.png"); }
.event-card-robot .tape-d { background-image: url("./assets/tape-4.png"); }
.event-card-casa .tape-a { background-image: url("./assets/tape-6.png"); transform: translateY(-70%) rotate(-8deg); }
.event-card-casa .tape-b { background-image: url("./assets/tape-3.png"); top: 42%; }
.event-card-casa .tape-c { background-image: url("./assets/tape-1.png"); }
.event-card-casa .tape-d { background-image: url("./assets/tape-5.png"); }

@media (hover: hover) and (pointer: fine) {
  .events-scene .event-card:hover {
    transform: rotate(calc(var(--tilt, 0deg) * -0.35)) translateY(calc(var(--shift, 0px) - 14px));
    filter: drop-shadow(2px 3px 0 #1a140c33) drop-shadow(12px 28px 16px #120e0a80);
    z-index: 2;
  }
}

.poster {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: visible;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
  clip-path: none;
}

.poster-sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  container-type: inline-size;
  background-color: #f4ecdc;
  background-image: url("./assets/poster-fiber.png");
  background-size: 180px 180px;
  background-blend-mode: multiply;
}

.poster-ink {
  position: absolute;
  inset: 0;
  background: #0e0c0a;
  pointer-events: none;
}

.poster-window {
  position: absolute;
  inset: 3.6% 3.2% 3.4% 3.1%;
  overflow: hidden;
  background: #0c0b0a;
}

.poster-photo {
  position: absolute;
  inset: -7%;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04) translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.event-card-new-era .poster-photo { background-position: center 48%; }
.event-card-alma .poster-photo { background-position: center 42%; }
.event-card-robot .poster-photo { background-position: center 28%; }
.event-card-casa .poster-photo { background-position: center 18%; }

@media (hover: hover) and (pointer: fine) {
  .event-card:hover .poster-photo {
    transform: scale(1.12) translate3d(var(--mx, 0px), var(--my, 0px), 0);
  }
}

.poster-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #070605c4 0%, #07060522 18%, #07060500 38%, #07060555 62%, #070605ee 100%);
}

.poster-print,
.poster-grit,
.peel {
  position: absolute;
  pointer-events: none;
}

.poster-print {
  inset: 0;
  z-index: 4;
  background-image: url("./assets/poster-fiber.png");
  background-size: 140px 140px;
  mix-blend-mode: multiply;
  opacity: 0.22;
}

.poster-grit {
  inset: -1%;
  z-index: 5;
  opacity: 1;
  mix-blend-mode: screen;
  background: url("./assets/poster-wear@2x.webp") center/cover no-repeat;
  pointer-events: none;
}

.event-card-alma .poster-grit { transform: scaleX(-1) scale(1.04); }
.event-card-robot .poster-grit { transform: rotate(180deg) scale(1.06); }
.event-card-casa .poster-grit { transform: rotate(180deg) scaleX(-1) scale(1.08); }

.peel {
  z-index: 6;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 30px;
  display: block;
  background: linear-gradient(128deg, transparent 40%, #f3e6d0 44%, #d5c2a4 100%);
  filter: drop-shadow(-2px -1px 1px #00000055);
}

.poster-head,
.poster-copy {
  position: relative;
  z-index: 4;
}

.poster-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 14px;
  padding: 7% 6.5% 0 6%;
}

.poster-copy {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 0 10% 9% 11%;
}

.logo-ruido,
.logo-casa {
  display: inline-block;
  font-family: Yellowtail, "Permanent Marker", cursive;
  line-height: 0.8;
  text-shadow: 0 2px 8px #000a;
}

.logo-ruido {
  color: #ff2a16;
  font-size: 26cqw;
  justify-self: start;
  max-width: 100%;
  transform: rotate(-3deg);
  margin-top: 2px;
  transform-origin: left center;
}

@media (min-width: 761px) {
  .logo-ruido { font-size: 20cqw; }
}

.logo-casa {
  color: #e10600;
  font-size: 16cqw;
  justify-self: start;
  line-height: 0.78;
  transform: rotate(-7deg);
  transform-origin: left center;
}

.logo-alma {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 6px;
  align-items: center;
  color: #ff4ea6;
  text-shadow: 0 2px 8px #000a;
}

.logo-alma svg {
  grid-row: 1 / span 2;
  width: 11cqw;
  height: 11cqw;
}

.logo-alma strong {
  font-family: "Libre Bodoni", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 14cqw;
  letter-spacing: 0.06em;
  line-height: 0.8;
}

.logo-alma small {
  font: 500 7px/1 "DM Mono", monospace;
  letter-spacing: 0.16em;
}

.logo-astra {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ff4e12;
  text-shadow: 0 2px 8px #000a;
}

.logo-astra svg {
  width: 5.5cqw;
  height: 5.5cqw;
  margin-left: 1.4cqw;
  fill: currentColor;
}

.logo-astra strong {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: 12cqw;
  letter-spacing: 0.12em;
  line-height: 0.9;
}

.poster-date {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  color: #f7f1e7;
  text-shadow: 0 2px 8px #000c;
  line-height: 0.85;
}

.poster-date small {
  font: 500 11px/1 "DM Mono", monospace;
  letter-spacing: 0.14em;
}

.poster-date strong {
  font: 600 clamp(26px, 2.5vw, 38px)/0.85 Oswald, sans-serif;
  letter-spacing: -0.03em;
}

.events-scene .poster-title {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 2.7vw, 46px);
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px #000a;
}

.events-scene .event-card-new-era .poster-title { color: #ff3c16; }
.events-scene .event-card-alma .poster-title { color: #ff2f8e; }
.events-scene .event-card-robot .poster-title { color: #f4efe6; }
.events-scene .event-card-casa .poster-title { color: #f6f1e6; }

.poster-kicker,
.poster-tags,
.poster-place {
  font: 500 8px/1.35 "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0e4d4;
  text-shadow: 0 1px 6px #000c;
}

.poster-kicker { font-size: 9px; color: #f7f1e7; }

.events-scene.is-intro .poster,
.event-track.is-live .poster {
  animation: poster-in 0.62s cubic-bezier(0.16, 0.84, 0.24, 1) both;
  animation-delay: calc(0.18s + var(--i, 0) * 80ms);
}

@keyframes poster-in {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.event-track.is-leaving .event-card {
  opacity: 0;
  transform: translateY(12px) rotate(var(--tilt, 0deg));
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #f0e6d6;
  border-radius: 50%;
  background: #100e0cf2;
  color: #f6efe4;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-arrow svg { width: 22px; height: 22px; }

.gallery-arrow:hover:not(:disabled) {
  background: #8d211c;
  transform: translateY(-50%) scale(1.06);
}

.gallery-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery-arrow-prev { left: -74px; }
.gallery-arrow-next { right: -74px; }

.events-scene .events-bottom {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 40px;
  margin-top: 6px;
  color: #1b1713;
  font: 500 11px/1 "DM Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.events-scene .events-bottom i {
  display: block;
  flex: 1;
  width: auto;
  height: 1px;
  background: #1b1713b8;
}

.events-scene .events-bottom button {
  border: 0;
  background: none;
  padding: 8px 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.events-scene .events-bottom b {
  display: inline-block;
  margin-left: 6px;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.events-scene .events-bottom button:hover:not(:disabled) b {
  transform: translate(3px, -2px);
}

.events-scene .events-bottom button:disabled {
  opacity: 0.4;
  cursor: default;
}

.events-scene .events-empty {
  width: min(480px, 100%);
  min-height: 0;
  height: min(100%, 420px);
  margin: 0;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  background:
    linear-gradient(180deg, #d9cbb600, #d9cbb6ee 42%),
    url("./assets/wall-kraft.jpg") center/cover;
  border: 1px solid #1b171355;
  box-shadow: 0 16px 24px #120e0a2e;
  clip-path: polygon(1% 0, 100% 1%, 99% 100%, 0 98%);
}

.events-scene .events-empty > span {
  font: 500 10px "DM Mono", monospace;
  letter-spacing: 0.16em;
}

.events-scene .events-empty > strong {
  margin: 10px 0 8px;
  font: 700 clamp(36px, 4vw, 54px)/0.9 Oswald, sans-serif;
  letter-spacing: -0.03em;
}

.events-scene .events-empty > p {
  max-width: 320px;
  margin: 0 0 18px;
  font: 13px/1.5 "DM Sans", sans-serif;
  color: #3f382f;
}

.events-nav-link:focus-visible,
.events-reticle:focus-visible,
.events-scene .filter:focus-visible,
.events-scene .calendar-button:focus-visible,
.gallery-arrow:focus-visible,
.poster:focus-visible,
.events-scene .events-bottom button:focus-visible,
.events-route-menu button:focus-visible,
.calendar-pop button:focus-visible {
  outline: 2px solid #c9853a;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .events-frame { width: min(1160px, calc(100% - 132px)); }
  .gallery-arrow { width: 44px; height: 44px; }
  .gallery-arrow-prev { left: -58px; }
  .gallery-arrow-next { right: -58px; }
  .events-nav { gap: 12px; }
  .events-nav-link,
  .events-nav .nav-link { font-size: 9px; letter-spacing: 0.08em; }
  .scribble { font-size: 18px; width: 112px; }
  .events-coordinate { margin-left: 108px; }
  .events-title-lockup h2 { font-size: clamp(88px, 11vw, 140px); }
}

@media (max-width: 760px) {
  .events-topbar { height: 58px; padding: 0 16px; }
  .events-wordmark { font-size: 32px; }
  .events-nav { display: none; }
  .events-frame {
    width: calc(100% - 28px);
    margin-bottom: 8px;
  }
  .events-hero {
    display: block;
    min-height: 0;
    padding: 4px 0 2px;
  }
  .events-side-note,
  .events-coordinate { display: none; }
  .events-title-lockup { width: 100%; margin: 0 auto; }
  .events-title-lockup h2 {
    font-size: clamp(58px, 15.2vw, 84px);
    text-align: center;
  }
  .scribble {
    left: auto;
    right: 0;
    top: -2px;
    width: 86px;
    font-size: 13px;
  }
  .events-toolbar { min-height: 44px; margin-bottom: 6px; }
  .events-scene .filters {
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 16px), transparent);
  }
  .events-scene .filter { font-size: 10px; padding: 8px 10px; }
  .events-scene .calendar-button { min-width: 0; padding: 8px 10px; font-size: 9px; }
  .event-gallery { overflow: visible; }
  .gallery-arrow { width: 36px; height: 36px; }
  .gallery-arrow svg { width: 16px; height: 16px; }
  .gallery-arrow-prev { left: -4px; }
  .gallery-arrow-next { right: -4px; }
  .events-scene .events-bottom { gap: 10px; height: 34px; font-size: 9px; letter-spacing: 0.1em; }
  .poster-head { padding: 14px 12px 0; }
  .poster-copy { padding: 0 14px 14px; gap: 5px; }
  .poster-kicker,
  .poster-tags,
  .poster-place { font-size: 8px; }
  .events-scene .events-empty { height: min(100%, 460px); padding: 24px 18px; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .events-topbar { height: 58px; }
  .events-wordmark { font-size: 34px; }
  .events-hero { min-height: 112px; }
  .events-title-lockup h2 { font-size: clamp(84px, 10vw, 128px); }
  .scribble { font-size: 18px; width: 124px; }
  .events-scene .events-bottom { height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .events-flicker { animation: none; }
  .events-scene.is-intro .events-title-lockup h2,
  .events-scene.is-intro .events-side-note,
  .events-scene.is-intro .events-coordinate,
  .events-scene.is-intro .scribble span,
  .events-scene.is-intro .scribble i,
  .events-scene.is-intro .filter,
  .events-scene.is-intro .poster {
    animation: none;
  }
}
