@font-face {
  font-family: "Roca";
  src: url("./assets/Roca/RocaOne-Rg.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roca";
  src: url("./assets/Roca/RocaOne-Bl.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Salted";
  src: url("./assets/salted-regular/salted-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("./assets/Figtree[wght].ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --violet: #7d43ee;
  --violet-deep: #6330d5;
  --lavender: #a99aef;
  --coral: #ff7043;
  --lime: #d6d885;
  --cream: #fff6df;
  --ink: #292837;
}

* {
  box-sizing: border-box;
}

html {
  /* Reserve the scrollbar width while the intro temporarily locks page scrolling. */
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  /* Fragment targets should meet the viewport edge on every screen size. */
  scroll-padding-top: 0;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.intro-active {
  overflow: hidden;
}

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

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

.site-intro {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f8f0db;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

html.has-site-intro .site-intro {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.site-intro::before {
  content: "";
  position: absolute;
  inset: -12%;
  opacity: 0.055;
  background: url("./assets/Texturelabs_Grunge_219M.png") center / cover;
  mix-blend-mode: multiply;
  transform: rotate(7deg);
}

.site-intro-mark {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(42rem, 82vw);
  opacity: 0;
  animation: intro-mark-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-play-state: paused;
}

.site-intro.is-ready .site-intro-mark {
  animation-play-state: running;
}

.site-intro-mark img {
  width: 100%;
  filter: drop-shadow(0.45rem 0.65rem 0.35rem rgba(125, 67, 238, 0.13));
}

.site-intro-mobile-portal {
  display: none;
}

body.intro-is-leaving .site-intro {
  animation: intro-out 650ms cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

body.intro-is-leaving .site-intro-mark {
  animation: intro-mark-out 420ms cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

@keyframes intro-mark-in {
  from {
    opacity: 0;
    transform: scale(0.76) rotate(-5deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(-1deg);
  }
}

@keyframes intro-mark-out {
  to {
    opacity: 0.7;
    transform: scale(1.08) rotate(1deg);
  }
}

@keyframes intro-out {
  to {
    transform: translateY(-105%);
  }
}

@supports ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  body.intro-is-leaving .site-intro.is-opening-portal {
    -webkit-mask-image: linear-gradient(#000 0 0), url("./assets/DIMEALGO_LOGO 2.svg");
    -webkit-mask-repeat: no-repeat, no-repeat;
    -webkit-mask-position: center, center;
    -webkit-mask-size: 100% 100%, min(42rem, 82vw) auto;
    -webkit-mask-composite: xor;
    mask-image: linear-gradient(#000 0 0), url("./assets/DIMEALGO_LOGO 2.svg");
    mask-repeat: no-repeat, no-repeat;
    mask-position: center, center;
    mask-size: 100% 100%, min(42rem, 82vw) auto;
    mask-composite: exclude;
    mask-mode: alpha;
    transform-origin: center;
    will-change: transform, opacity;
    animation: intro-portal-open 920ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
  }

  body.intro-is-leaving .site-intro.is-opening-portal .site-intro-mark {
    animation: intro-mark-into-portal 140ms ease-out forwards;
  }

  @keyframes intro-portal-open {
    from {
      opacity: 1;
      transform: scale(1);
    }

    87% {
      opacity: 1;
      transform: scale(32);
    }

    to {
      opacity: 0;
      transform: scale(42);
    }
  }

  @keyframes intro-mark-into-portal {
    to {
      opacity: 0;
      transform: scale(1.02) rotate(-1deg);
    }
  }
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 1.15rem 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.45rem;
  padding: 0.5rem 0.65rem 0.5rem 1rem;
  color: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 1.55rem;
  background: var(--ink);
  box-shadow: none;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    border-radius 220ms ease;
}

.site-header.is-scrolled {
  border-radius: 1.15rem;
}

.site-header:not(.is-scrolled) {
  border-color: transparent;
  background: transparent;
}

.brand {
  position: static;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(8.25rem, 11vw, 11.55rem);
  height: 2.805rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition:
    width 260ms cubic-bezier(0.22, 1, 0.36, 1),
    height 260ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 160ms ease,
    border-width 160ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.site-header:not(.is-scrolled) .brand {
  width: 0;
  height: 0;
  min-width: 0;
  padding: 0;
  opacity: 0;
  border-width: 0;
  box-shadow: none;
  pointer-events: none;
  overflow: hidden;
}

.brand:hover,
.brand:focus-visible {
  box-shadow: none;
  outline: none;
  transform: scale(1.03);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.site-nav a {
  padding: 0.72rem 0.95rem;
  color: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-color: var(--lime);
  background: var(--lime);
  outline: none;
  transform: rotate(-2deg);
}

.site-nav .nav-last {
  color: var(--ink);
  background: var(--coral);
}

.site-nav .nav-last:hover,
.site-nav .nav-last:focus-visible {
  background: var(--cream);
}

.menu-toggle {
  display: none;
}

.video-panel {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.panel-video,
.video-wash,
.grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.panel-video {
  z-index: -3;
  object-fit: cover;
}

.video-wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(31, 23, 44, 0.58) 0%, rgba(31, 23, 44, 0.14) 56%, rgba(31, 23, 44, 0.08) 100%),
    linear-gradient(0deg, rgba(147, 67, 220, 0.52) 0%, transparent 56%);
}

.grain {
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  mix-blend-mode: multiply;
}

.grain-bottom {
  top: auto;
  height: 45%;
  background:
    linear-gradient(0deg, rgba(147, 67, 220, 0.50), transparent),
    url("./assets/Texturelabs_Grunge_219M.png") bottom center / cover no-repeat;
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.56) 45%, transparent 100%);
}

.hero {
  align-items: end;
  padding: clamp(8rem, 17vh, 11rem) clamp(1.5rem, 7vw, 7rem) clamp(6rem, 12vh, 8rem);
}

.hero-brand {
  position: absolute;
  z-index: 2;
  top: clamp(2.5rem, 5vh, 4.5rem);
  left: clamp(1.5rem, 7vw, 7rem);
  width: clamp(15.84rem, 22.968vw, 28.433rem);
}

.hero-brand img {
  width: 100%;
}

.hero-copy {
  width: min(58rem, 88vw);
  padding-top: 0;
}

@media (min-width: 761px) {
  .hero-brand {
    width: clamp(22.176rem, 32.1552vw, 39.8062rem);
  }

}

.eyebrow,
.accent-label {
  margin: 0 0 0.8rem;
  font-family: "Salted", cursive;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  letter-spacing: 0.02em;
}

.hero .eyebrow {
  font-family: "Roca", serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--cream);
  font-family: "Salted", cursive;
  font-size: clamp(2.345rem, 5.32vw, 5.6rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 5px 25px rgba(23, 16, 35, 0.35);
}

.episode-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0.45rem 1.15rem 0.45rem 0.48rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 0.2rem 0.2rem 0 rgba(41, 40, 55, 0.35);
  font-family: "Figtree", sans-serif;
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.episode-button:hover,
.episode-button:focus-visible {
  box-shadow: 0.08rem 0.08rem 0 rgba(41, 40, 55, 0.35);
  transform: translate(0.12rem, 0.12rem);
}

.episode-button-icon {
  display: grid;
  width: 2.35rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.episode-button-icon svg {
  width: 1.05rem;
  fill: currentColor;
}

.scroll-cue {
  position: absolute;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 2.7rem;
  height: 2.7rem;
  padding: 0.65rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.placeholder-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(7rem, 13vw, 11rem) clamp(1.5rem, 7vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.show-deck {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 5rem);
  height: 100svh;
  min-height: 100svh;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem) clamp(1.5rem, 4vw, 4rem);
  overflow: hidden;
  color: var(--ink);
  background: var(--lime);
  isolation: isolate;
}

.show-deck::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.03;
  background: url("./assets/Texturelabs_Stone_143M.png") center / cover;
  mix-blend-mode: multiply;
}

.deck-heading { position: relative; z-index: 2; max-width: 32rem; transform: translateY(-8vh); }
.deck-kicker, .deck-note { margin: 0; font-size: 1rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.deck-kicker { display: inline-block; padding: 0.77rem 1.09rem; color: var(--cream); border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); transform: rotate(-2deg); }
.deck-heading h2 { margin: 1.3rem 0 1.45rem; font-family: "Roca", serif; font-size: clamp(4.275rem, 6.57vw, 8.46rem); font-weight: 800; line-height: 0.83; letter-spacing: -0.055em; }
.deck-heading h2 span { display: block; white-space: nowrap; }
.deck-note { width: fit-content; padding-bottom: 0.5rem; border-bottom: 3px solid var(--coral); }

.deck-cards { position: relative; justify-self: end; width: 100%; height: min(70svh, 40rem); margin: 0; -webkit-perspective: 1600px; perspective: 1600px; transform: translate(5vw, -13vh); }
.deck-indicator { position: absolute; z-index: 14; bottom: clamp(1.25rem, 3vw, 3rem); left: 50%; display: flex; align-items: center; gap: 0.62rem; transform: translateX(-50%); }
.deck-indicator button { position: relative; width: 0.85rem; height: 0.85rem; padding: 0; overflow: hidden; cursor: pointer; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream); transition: width 220ms ease, transform 160ms ease; }
.deck-indicator button::after { content: ""; position: absolute; inset: 0; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.deck-indicator button.is-active { width: 3.1rem; }
.deck-indicator button.is-active::after { animation: deck-progress 5s linear forwards; }
.deck-indicator button:hover { transform: scale(1.1); }
.deck-indicator button:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

@keyframes deck-progress {
  to { transform: scaleX(1); }
}
.show-card { --card-rotate: 0deg; --card-x: 0%; --card-y: 0%; --card-delay: 0ms; position: absolute; width: min(82%, 72svh); aspect-ratio: 1.45; padding: 0; border: 0; background: transparent; cursor: pointer; opacity: 0; transform: translate(var(--card-x), calc(var(--card-y) + 75vh)) rotate(var(--card-rotate)); transition: opacity 160ms ease, transform 780ms cubic-bezier(0.16, 1, 0.3, 1) var(--card-delay); }
.deck-cards.is-visible .show-card { opacity: 1; transform: translate(var(--card-x), var(--card-y)) rotate(var(--card-rotate)); }
.show-card.is-current { z-index: 9 !important; }
.show-card:hover, .show-card:focus-visible { z-index: 10 !important; outline: none; transform: translate(var(--card-x), calc(var(--card-y) - 1rem)) rotate(var(--card-rotate)) !important; }
.show-card:focus-visible .show-card-inner { outline: 3px solid var(--coral); outline-offset: 5px; }
.show-card-inner, .show-card-face { position: absolute; inset: 0; border-radius: 2.1rem 2.8rem 2rem 2.55rem; }
.show-card-inner { -webkit-transform-style: preserve-3d; transform-style: preserve-3d; transition: transform 640ms cubic-bezier(0.34, 1.25, 0.64, 1); }
.show-card.is-flipped .show-card-inner, .show-card:hover .show-card-inner, .show-card:focus-visible .show-card-inner { transform: rotateY(180deg); }
.show-card-face { display: grid; place-items: center; overflow: hidden; border: 3px solid var(--ink); -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0.55rem 0.62rem 0 var(--ink); }
.show-card-front { padding: 2.5rem; background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 42%), var(--violet); transform: translateZ(1px); }
.show-card-front::after { content: ""; position: absolute; inset: 0; opacity: 0.17; background: url("./assets/Texturelabs_Grunge_219M.png") center / cover; mix-blend-mode: multiply; }
.show-card-front img { position: relative; z-index: 1; width: min(42%, 24rem); }
.show-card-back { display: grid; grid-template-rows: auto 1fr auto; align-items: center; padding: 2rem; color: var(--violet-deep); background: var(--cream); font-family: "Roca", serif; font-size: clamp(3.15rem, 6.75vw, 6.75rem); font-weight: 800; line-height: 0.88; letter-spacing: -0.045em; text-align: center; transform: rotateY(180deg) translateZ(1px); }
.card-step, .card-time { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 0.14em; font-weight: 800; letter-spacing: 0.12em; line-height: 1.2; text-transform: uppercase; }
.card-step { justify-self: start; color: var(--coral); }
.card-time { align-self: end; font-size: 0.1em; letter-spacing: 0.08em; }
.card-message { align-self: center; }
.show-card-back em { color: var(--coral); font-family: "Salted", cursive; font-size: 1.15em; font-style: normal; font-weight: 400; letter-spacing: -0.02em; }
.card-one { --card-rotate: -12deg; --card-x: 2%; --card-y: 6%; --card-delay: 70ms; z-index: 1; }
.card-two { --card-rotate: 8deg; --card-x: 14%; --card-y: 22%; --card-delay: 150ms; z-index: 2; }
.card-three { --card-rotate: -3deg; --card-x: 3%; --card-y: 43%; --card-delay: 230ms; z-index: 3; }

.section-two {
  align-content: center;
  color: var(--ink);
  background: var(--lime);
}

.section-two::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("./assets/Texturelabs_Stone_143M.png") center / cover;
  mix-blend-mode: multiply;
}

.section-two::before {
  opacity: 0.03;
}

.section-copy {
  position: relative;
  z-index: 2;
}

.accent-label {
  color: var(--coral);
}

.placeholder-section h2 {
  margin: 0;
  font-family: "Roca", serif;
  font-size: clamp(4.5rem, 14vw, 13rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.055em;
}

.rule {
  width: min(34rem, 72vw);
  height: 1.05rem;
  margin-top: 2.2rem;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0.55rem 0.55rem 0 var(--ink);
}

.section-index {
  position: absolute;
  top: 50%;
  right: clamp(1rem, 3vw, 3rem);
  color: rgba(41, 40, 55, 0.09);
  font-family: "Roca", serif;
  font-size: clamp(13rem, 36vw, 36rem);
  font-weight: 800;
  line-height: 0.6;
  transform: translateY(-50%);
}

.section-mark {
  position: absolute;
  z-index: 1;
  right: clamp(-8rem, -4vw, -2rem);
  bottom: clamp(-4rem, -4vw, -2rem);
  width: min(36rem, 52vw);
  opacity: 0.2;
  transform: rotate(-8deg);
}

.intro-panel {
  place-items: center;
}

.intro-wash {
  background: linear-gradient(180deg, rgba(22, 16, 31, 0.05), rgba(22, 16, 31, 0.28));
}

.participate-card {
  position: absolute;
  z-index: 1;
  top: 55%;
  left: clamp(1.5rem, 8vw, 8rem);
  width: min(29rem, calc(100vw - 3rem));
  padding: clamp(1.65rem, 3vw, 2.65rem);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 1.85rem 2.7rem 2.1rem 2.45rem;
  background: var(--cream);
  box-shadow: 0.6rem 0.65rem 0 var(--ink);
  transform: translateY(-50%) rotate(-3deg);
}

.participate-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  border-radius: inherit;
  background: url("./assets/Texturelabs_Grunge_219M.png") center / cover;
  mix-blend-mode: multiply;
}

.participate-card > * {
  position: relative;
  z-index: 1;
}

.participate-kicker {
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.4rem 0.66rem;
  color: var(--cream);
  border-radius: 999px;
  background: var(--violet);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.participate-card h2 {
  margin: 0;
  font-family: "Roca", serif;
  font-size: clamp(2.75rem, 4.4vw, 4.45rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.05em;
}

.participate-copy {
  max-width: 31ch;
  margin: 1.15rem 0 0;
  font-size: clamp(0.9rem, 1.25vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
}

.participate-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: 1.6rem;
  padding: 0.78rem 0.85rem 0.78rem 1.1rem;
  color: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0.2rem 0.2rem 0 var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.participate-button span:last-child {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.15rem;
  line-height: 1;
}

.participate-button:hover,
.participate-button:focus-visible {
  background: var(--violet);
  box-shadow: 0.08rem 0.08rem 0 var(--ink);
  outline: none;
  transform: translate(0.12rem, 0.12rem);
}

.intro-stamp {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  padding: 0.85rem 1.4rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 0.45rem 0.45rem 0 rgba(41, 40, 55, 0.85);
  transform: rotate(-2deg);
}

.intro-stamp span {
  font-family: "Salted", cursive;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.sponsors-section {
  position: relative;
  min-height: 66svh;
  padding: clamp(7rem, 10vw, 9rem) clamp(1.5rem, 7vw, 7rem);
  overflow: hidden;
  color: var(--ink);
  background: var(--cream);
  isolation: isolate;
}

.sponsors-heading { position: relative; z-index: 1; max-width: 51rem; }
.sponsors-heading .accent-label { color: var(--coral); }
.sponsors-heading h2 { margin: 0; font-family: "Roca", serif; font-size: clamp(3.6rem, 5.8vw, 6.5rem); font-weight: 800; line-height: 0.82; letter-spacing: -0.06em; }
.sponsors-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr); align-items: stretch; gap: clamp(3rem, 6vw, 6rem); }
.sponsors-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.sponsors-content { margin-top: clamp(2rem, 4vw, 3.5rem); }
.sponsors-intro { max-width: 34ch; margin: 0; font-size: clamp(1.1rem, 1.65vw, 1.4rem); line-height: 1.35; }
.sponsor-logos-panel { display: flex; align-items: stretch; min-width: 0; min-height: 28rem; padding: clamp(1.25rem, 2vw, 2rem); }
.sponsor-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(9rem, 1fr)); width: 100%; gap: clamp(1rem, 2vw, 2rem); margin: 0; padding: 0; list-style: none; }
.sponsor-logos li { display: grid; min-width: 0; place-items: center; }
.sponsor-logos img { width: auto; height: auto; max-width: 100%; max-height: 8.625rem; object-fit: contain; }
.sponsor-logos .sponsor-logo-mosaico { width: 15rem; }
.sponsor-logos .sponsor-logo-peccas { width: 12.75rem; }
.sponsor-logos .sponsor-logo-santurce { width: 8.625rem; }
.sponsor-logos .sponsor-logo-wepa { width: 9.75rem; }
.sponsor-contact { margin: clamp(2rem, 4vw, 3rem) 0 0; font-family: "Roca", serif; font-size: clamp(1.65rem, 2.7vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; }
.sponsor-contact a { display: inline-block; color: var(--violet-deep); border-bottom: 0.13em solid currentColor; transition: color 160ms ease, transform 160ms ease; }
.sponsor-contact a:hover, .sponsor-contact a:focus-visible { color: var(--coral); outline: none; transform: translateX(0.16rem); }

.site-footer {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.5rem, 7vw, 7rem) 1.5rem;
  color: var(--cream);
  background: var(--violet);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) 1.4fr 1fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.footer-logo img {
  width: min(100%, 15rem);
}

.footer-thought {
  margin: 0;
  font-family: "Roca", serif;
  font-size: clamp(2.2rem, 4.3vw, 4.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.footer-contact {
  display: grid;
  gap: 0.55rem;
  font-size: 1rem;
}

.footer-contact p {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-social-title {
  margin-top: 1.4rem !important;
}

.footer-socials {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.55rem 1rem;
}

.footer-contact a,
.footer-base a {
  width: fit-content;
  border-bottom: 1px solid transparent;
}

.footer-contact a:hover,
.footer-base a:hover {
  border-color: currentColor;
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 246, 223, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .sponsors-layout { grid-template-columns: 1fr; }
  .sponsor-logos-panel { min-height: 20rem; }
}

@media (max-width: 760px) {
  .site-intro.is-ready {
    background: transparent;
  }

  .site-intro::before {
    display: none;
  }

  .site-intro-mobile-portal {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  body.intro-active {
    overflow-y: auto;
  }

  body.intro-is-leaving .site-intro.is-mobile-leaving {
    animation: intro-mobile-portal-out 920ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
  }

  body.intro-is-leaving .site-intro.is-mobile-leaving .site-intro-mark {
    animation: intro-mark-into-portal 140ms ease-out forwards;
  }

  body.intro-is-leaving .site-intro.is-mobile-leaving .site-intro-mobile-hole {
    fill: black;
  }

  body.intro-is-leaving .site-intro.is-mobile-leaving .site-intro-mobile-zoom {
    transform-box: fill-box;
    transform-origin: center;
    animation: intro-mobile-zoom 920ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
  }

  @keyframes intro-mobile-zoom {
    from {
      transform: scale(1);
    }

    to {
      transform: scale(42);
    }
  }

  @keyframes intro-mobile-portal-out {
    87% { opacity: 1; }
    to {
      opacity: 0;
    }
  }

  .site-header {
    inset: 0.8rem 0.8rem auto;
    min-height: 3.9rem;
    padding-inline: 0.9rem 0.55rem;
    border: 2px solid var(--ink);
    border-radius: 1.2rem;
    background: var(--ink);
    box-shadow: none;
  }

  .site-header:not(.is-scrolled) {
    border-color: transparent;
    background: transparent;
  }

  .site-header.is-scrolled {
    box-shadow: none;
  }

  .brand {
    width: 7.7rem;
    height: 2.42rem;
  }

  .brand img {
    width: 100%;
    height: 100%;
  }

  .site-header:not(.is-scrolled):has(.menu-toggle[aria-expanded="true"]) .brand {
    width: 7.7rem;
    height: 2.42rem;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    place-content: center;
    gap: 0.38rem;
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 0.9rem;
    background: var(--lime);
    margin-left: auto;
  }

  .menu-toggle span {
    width: 1.1rem;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: 6rem 1.4rem 2rem;
    color: var(--cream);
    background: var(--ink);
    transform: translateY(-105%);
    transition: transform 240ms cubic-bezier(0.76, 0, 0.24, 1);
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.25rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: "Roca", serif;
    font-size: clamp(2.6rem, 13vw, 4.2rem);
    line-height: 0.88;
    letter-spacing: -0.04em;
    text-transform: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--lime);
    background: transparent;
  }

  .site-nav .nav-last {
    width: fit-content;
    margin-top: 0.45rem;
    padding: 0.45rem 1rem;
    color: var(--ink);
    background: var(--coral);
    font-family: "Roca", serif;
    font-size: 0.76rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .hero {
    align-items: end;
    padding: 7rem 1.35rem 7.5rem;
  }

  .hero-copy {
    padding-top: 8rem;
  }

  .hero-brand {
    top: 2rem;
    left: 1.2rem;
    width: min(16.95rem, calc(100vw - 2.4rem));
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.88rem, 9.1vw, 3.11rem);
  }

  .hero .eyebrow {
    max-width: none;
    font-size: clamp(1rem, 5vw, 1.3rem);
    white-space: nowrap;
  }

  .scroll-cue {
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .scroll-cue span {
    display: none;
  }

  .show-deck {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 0.5rem;
    height: 100svh;
    min-height: 100svh;
    padding: 5.75rem 1.35rem 1rem;
  }

  .deck-heading { max-width: 21rem; transform: translateY(0); }

  .deck-heading h2 {
    margin-top: 1.05rem;
    font-size: clamp(2.7rem, 12.96vw, 4.32rem);
  }

  .deck-kicker,
  .deck-note {
    font-size: 0.8rem;
  }

  .deck-cards {
    width: 100%;
    height: 100%;
    margin: 0;
    /* Centers the 5%-staggered stack whether card width is viewport- or height-limited. */
    transform: translate(calc(50vw - 1.35rem - min(46.2vw, 39.375svh)), 2vh);
  }

  .deck-indicator { bottom: 1.1rem; gap: 0.75rem; }
  .deck-indicator button { width: 1.15rem; height: 1.15rem; }
  .deck-indicator button.is-active { width: 3.65rem; }

  .show-card { width: min(88vw, 75svh); }
  .show-card-face, .show-card-inner { border-radius: 1.55rem 2rem 1.45rem 1.8rem; }
  .show-card-face { border-width: 2px; box-shadow: 0.34rem 0.4rem 0 var(--ink); }
  .show-card-front { padding: 1.45rem; }
  .show-card-back { padding: 1.25rem; font-size: clamp(2.1rem, 9.9vw, 3.95rem); }
  .card-one { --card-x: 0%; --card-y: 4%; }
  .card-two { --card-x: 5%; --card-y: 22%; }
  .card-three { --card-x: 1%; --card-y: 42%; }

  .placeholder-section {
    min-height: 78svh;
    padding-inline: 1.35rem;
  }

  .placeholder-section h2 {
    font-size: clamp(4.3rem, 23vw, 7.2rem);
  }

  .section-index {
    top: 48%;
    right: -1rem;
    font-size: clamp(13rem, 64vw, 22rem);
  }

  .section-mark {
    right: -8rem;
    width: 28rem;
  }

  .intro-stamp {
    top: clamp(1.25rem, 4vw, 3rem);
    right: auto;
    bottom: auto;
    left: clamp(1.25rem, 4vw, 4rem);
    display: none;
  }

  .participate-card {
    top: auto;
    bottom: 3.5rem;
    left: 50%;
    width: min(25rem, calc(100vw - 2.7rem));
    padding: 1.15rem 1.25rem;
    transform: translateX(-50%) rotate(-2deg);
  }

  .participate-kicker {
    margin-bottom: 0.7rem;
    font-size: 0.64rem;
  }

  .participate-card h2 {
    font-size: clamp(2.3rem, 10.5vw, 3.35rem);
    line-height: 0.96;
  }

  .participate-copy {
    margin-top: 0.85rem;
    font-size: 0.82rem;
  }

  .participate-button {
    margin-top: 1.15rem;
    padding-block: 0.68rem;
    font-size: 0.7rem;
  }

  .sponsors-section { min-height: auto; padding-top: 6.7rem; padding-bottom: 5rem; }
  .sponsors-layout { gap: 2.5rem; }
  .sponsor-logos-panel { min-height: 34rem; padding: 1.5rem; }
  .sponsor-logos { grid-template-columns: 1fr; grid-template-rows: repeat(4, minmax(7.5rem, 1fr)); gap: 2rem; }
  .sponsor-logos img { max-height: 7.125rem; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-logo img {
    width: 11rem;
  }

  .footer-base {
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
    font-size: clamp(0.56rem, 2.75vw, 0.72rem);
    letter-spacing: clamp(0.03em, 0.3vw, 0.08em);
  }

  .footer-base > * {
    white-space: nowrap;
  }
}

@media (max-width: 320px) {
  .site-footer {
    padding-inline: clamp(0.75rem, 7vw, 1.5rem);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .site-intro {
    display: none;
  }
}
