:root {
  --paper: #f9e5ca;
  --ink: #1a2f22;
  --red: #b51f0e;
  --line: #1a2f2240;
  --display: "Arial Black", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper) url("assets/carta.jpg") repeat;
  font: 100%/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px dashed currentColor; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; }
.container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -10rem; z-index: 2; background: var(--paper); padding: .7rem; }
.skip:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; }
.header-row a { text-decoration: none; font-weight: 800; }
.header-row a:hover { text-decoration: underline; text-underline-offset: .2em; }
.brand { width: clamp(8rem, 18vw, 12rem); }
.brand img { height: auto; }
nav { display: flex; gap: 1.7rem; }
.header-join { color: var(--red); }
.hero { padding-block: clamp(2.5rem, 8vw, 7rem); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(1.25rem, 4vw, 3rem); border: 1px solid var(--ink); padding: clamp(1.5rem, 4vw, 3.75rem); }
.hero-inner::before, .hero-inner::after { content: "✦"; position: absolute; color: var(--red); font-size: 1.5rem; line-height: 1; }
.hero-inner::before { top: .8rem; left: .8rem; }
.hero-inner::after { bottom: .8rem; right: .8rem; }
.eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.hero-copy .eyebrow { margin-bottom: .8rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: .98; letter-spacing: -.045em; }
h1 { font-size: clamp(2rem, 6vw, 5rem); text-transform: uppercase; }
h2 { font-size: clamp(2.6rem, 7vw, 6rem); }
.hero h1 + p { max-width: 32ch; margin: 1.2rem 0 1.5rem; }
.button { display: inline-flex; gap: .75em; align-items: center; min-height: 48px; padding: .65em 1.2em; text-decoration: none; font-weight: 850; color: var(--paper); background: var(--red); border: 1px solid currentColor; }
.button:hover { background: var(--ink); }
.checkers { height: 1.1rem; background: conic-gradient(var(--red) 25%, transparent 0 50%, var(--red) 0 75%, transparent 0) 0/1.1rem 1.1rem; border-block: 1px solid var(--red); }
.club, .experiences, .crew, .join { padding-block: clamp(3rem, 8vw, 7rem); }
.club-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1.5rem; }
.club h2, .experiences h2 { margin-top: .5rem; }
.club-grid p, .crew p { max-width: 46ch; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.crew { background: var(--ink); color: var(--paper); }
.crew p { margin-top: 1rem; }
.activity-list { margin: 1.8rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.activity-list li { padding-block: 1.1rem; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 1.25rem; }
.activity-list li > span { color: var(--red); font-size: 1.4rem; width: 1.6rem; flex: none; }
.activity-list h3 { font-size: clamp(1.35rem, 4vw, 2.2rem); }
.activity-list p { margin-top: .45rem; }
.join { background: var(--red); color: var(--paper); }
.join h2 { max-width: 12ch; }
.join p, .join .button { margin-top: 1.2rem; }
.button-light { background: var(--paper); color: var(--red); }
.button-light:hover { background: var(--ink); color: var(--paper); }
.footer { font-weight: 750; }
.club-copy p + p { margin-top: 1em; }
.vibe { padding-block: clamp(3rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.vibe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.6rem; }
.vibe article { padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--ink); }
.vibe article img { width: 100%; height: 5.75rem; object-fit: contain; object-position: left center; margin-bottom: 1rem; }
.vibe h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
.vibe p { margin-top: .6rem; }
@media (max-width: 47rem) {
  .header-row nav { display: none; }
  .hero-inner, .club-grid, .vibe-grid { grid-template-columns: 1fr; }
  .hero-inner::before, .hero-inner::after { font-size: 1rem; }
}

.club-heading p {
  margin-top: .75rem;
  font: 800 .75rem/1.25 system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}
.experience-intro p, .vibe .vibe-lead {
  max-width: 57ch;
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.experiences {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 25%);
  column-gap: clamp(1rem, 5vw, 4rem);
}
.experience-intro, .activity-list { grid-column: 1; }
.dice-rail {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  overflow: clip;
  padding: var(--dice-inset, 1rem);
  min-height: 14rem;
}
.floating-dice {
  width: min(79%, 12rem);
  height: auto;
  margin-inline: auto;
  transform: translateY(var(--dice-y, 0px)) rotate(var(--dice-tilt, -7deg));
}
.hero-stickers, .drop-art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-stickers { min-height: clamp(12rem, 28vw, 22rem); }
.hero-stickers::before {
  content: "";
  position: absolute;
  inset: 25% 4%;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-23deg);
  z-index: -1;
}
.hero-record, .hero-cards { grid-area: 1 / 1; height: auto; }
.hero-record { width: 62%; transform: translate(-23%, -24%) rotate(-13deg); }
.hero-cards { width: 56%; transform: translate(30%, 17%) rotate(12deg); }
.drop-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32%); gap: 2rem; align-items: center; }
.drop-layout p:not(.eyebrow) { max-width: 52ch; }

.join .eyebrow { margin: 0 0 .75rem; }
#join-placeholder { font-weight: 800; }
.sparkle {
  --star: var(--red);
  position: absolute;
  width: clamp(.85rem, 2.7vw, 2rem);
  aspect-ratio: 1;
  background: var(--star);
  clip-path: polygon(50% 0, 60% 39%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 39%);
  opacity: .75;
  pointer-events: none;
}
.sparkle-one { top: 12%; right: 9%; }
.sparkle-two { left: 6%; bottom: 14%; --delay: .18s; }
.sparkle-three { right: 13%; bottom: 10%; --delay: .36s; }
.is-sparkling .sparkle { animation: glint .95s var(--delay, 0s) 2 both; }
@keyframes glint {
  0%, 100% { opacity: .38; transform: scale(.85); }
  43% { opacity: 1; transform: scale(1.35); }
  78% { opacity: 0; transform: scale(.45); }
}
.footer-mark { width: clamp(4.5rem, 13vw, 8rem); }
.footer-mark img { height: auto; }
.footer-origin { text-align: right; }
.footer-origin span { display: block; font-size: .78rem; }
@media (max-width: 47rem) {
  .hero-stickers {
    width: min(90%, 21rem);
    justify-self: center;
    margin-top: 1.5rem;
    padding-block: .75rem;
  }
  .hero-record { transform: translate(-21%, -12%) rotate(-13deg); }
}
@media (max-width: 32rem) {
  .container { width: calc(100% - 2rem); }
  .hero { padding-block: 1.65rem 2.25rem; }
  .hero-inner { padding: 1.6rem 1rem 1.15rem; gap: .75rem; }
  .hero-stickers { min-height: 10rem; }
  .hero-copy .eyebrow { letter-spacing: .08em; }
  .experiences {
    grid-template-columns: minmax(0, 1fr) clamp(4.75rem, 22vw, 6.5rem);
    column-gap: .5rem;
  }
  .experience-intro { grid-column: 1 / -1; }
  .activity-list { grid-row: 2; margin-top: 1.25rem; }
  .activity-list li { gap: .55rem; }
  .activity-list li > span { width: 1.1rem; font-size: 1.15rem; }
  .dice-rail { --dice-inset: .25rem; grid-row: 2; margin-top: 1.25rem; }
  .dice-rail .sparkle { width: .7rem; }
  .drop-layout { grid-template-columns: 1fr; gap: 1rem; }
  .drop-art { width: min(100%, 21rem); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-dice { transform: rotate(-7deg); }
  .is-sparkling .sparkle { animation: none; }
}

.portraits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(.05rem, .55vw, .4rem);
  list-style: none;
  margin: 0;
  padding: .8rem;
  isolation: isolate;
}
.portraits li { min-width: 0; position: relative; }
.portraits li:focus-within, .portraits li:hover, .portraits li:has([aria-pressed="true"]) { z-index: 1; }
.portraits button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  touch-action: pan-x pan-y;
}
.portraits button:focus-visible { outline: 2px dashed currentColor; outline-offset: 2px; }
.portraits img { height: auto; transition: transform .22s ease; transform-origin: bottom; }
.portraits :is(button:focus-visible,button:active,[aria-pressed="true"]) img {
  transform: translateY(-.45rem) scale(1.25);
}
@media (hover: hover) {
  .portraits button:hover img { transform: translateY(-.45rem) scale(1.25); }
}
.spinning-record { width: 100%; height: auto; animation: record-spin 4.5s linear infinite paused; }
.is-sparkling .spinning-record { animation-play-state: running; }
@keyframes record-spin { to { transform: rotate(1turn); } }
.back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 5;
  display: grid;
  place-items: center;
  width: 3.45rem;
  height: 3.45rem;
  color: var(--paper);
  transition: transform .18s ease;
}
.back-to-top img { width: auto; height: 2.85rem; filter: drop-shadow(1px 2px 0 var(--ink)); }
.back-to-top:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 3px var(--paper); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .back-to-top:hover { transform: translateY(-.3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .spinning-record { animation: none; }
  .portraits img, .back-to-top { transition: none; }
}

.sticker-cluster {
  display: flex;
  align-items: center;
  gap: clamp(.25rem, 1.5vw, 1rem);
  isolation: isolate;
}
.mood-sticker {
  height: auto;
  object-fit: contain;
  transition: translate .24s ease, rotate .24s ease;
}
.sticker-cluster img:nth-child(odd) { rotate: -8deg; }
.sticker-cluster img:nth-child(even) { rotate: 9deg; }
.club-stickers { margin: 1.15rem 0 0; max-width: 21rem; }
.club-stickers img { width: 45%; max-height: 11rem; }
.club-stickers img + img { width: 38%; }
.vibe .zine-stickers { min-height: 5.75rem; margin-bottom: 1rem; }
.vibe .zine-stickers img { width: min(40%, 6.75rem); height: 5.75rem; margin: 0; }
.vibe .turin-stickers img:first-child { width: 3.15rem; }
.vibe .turin-stickers img:last-child { width: min(60%, 8rem); }
.experience-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 33%);
  align-items: center;
  gap: clamp(.75rem, 3vw, 2.2rem);
}
.experience-stickers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crew-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 47%);
  gap: clamp(1rem, 5vw, 4rem);
  align-items: center;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sticker-cluster:hover img { translate: 0 -.35rem; rotate: 0deg; }
}
@media (max-width: 32rem) {
  .experience-intro { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; }
  .experience-stickers { order: -1; display: flex; max-width: 10rem; margin-inline: auto; }
  .experience-stickers img { width: calc((100% - .5rem) / 2); }

}
@media (prefers-reduced-motion: reduce) {
  .mood-sticker { transition: none; }
}

#main p strong { font-weight: 850; }
.turntable { position: relative; width: 100%; }
.turntable img { height: auto; }
.platter {
  position: absolute;
  left: 15.8%;
  top: 22%;
  width: 57.7%;
  aspect-ratio: 1;
  transform: scaleY(.4685);
}
.tonearm { position: absolute; inset: 0; width: 100%; pointer-events: none; }
.record-glow {
  position: absolute;
  width: 22%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, #ffe5a8 0, #ffc57578 32%, transparent 68%);
  opacity: 0;
  pointer-events: none;
}
.record-glow::after {
  content: "";
  position: absolute;
  inset: 24%;
  background: #ffedcb;
  clip-path: polygon(50% 0, 57% 38%, 100% 50%, 57% 60%, 50% 100%, 43% 60%, 0 50%, 43% 38%);
}
.record-glow-left { left: 12.3%; top: 33%; }
.record-glow-right { left: 92.3%; top: 62.2%; --glow-delay: .55s; }
.is-sparkling .record-glow { animation: record-glint 1.5s var(--glow-delay, 0s) infinite both; }
@keyframes record-glint {
  0%, 100% { opacity: 0; transform: scale(.75); }
  44% { opacity: .95; transform: scale(1.12); }
}
.button:active { box-shadow: inset 0 0 0 2px currentColor; }
@media (prefers-reduced-motion: reduce) {
  .is-sparkling .record-glow { animation: none; opacity: .3; }
  .portraits :is(button:focus-visible,button:active,[aria-pressed="true"]) img,
  .portraits button:hover img { transform: none; }
  .portraits [aria-pressed="true"] { box-shadow: inset 0 -2px var(--paper); }
}
@media (max-width: 42rem) {
  .crew-layout { grid-template-columns: minmax(0, 1fr); }
  .portraits { width: min(100%, 25rem); justify-self: end; }
}

@media (prefers-reduced-motion: no-preference) {
  .art-pending:not(:focus-within) { opacity: 0; }
  .art-in-view { animation: art-arrive .68s ease-out; }
  @keyframes art-arrive {
    0% { opacity: 0; translate: 0 .75rem; filter: sepia(.45) brightness(.9); }
    48% { opacity: 1; filter: sepia(.2) brightness(1.22) drop-shadow(0 0 .35rem #f2bd6780); }
    100% { opacity: 1; translate: 0 0; filter: none; }
  }
}
