/* The Dancing Tree Hostel: one page, plain CSS.
   Spacing scale (px): 4 8 12 16 24 32 48 64 96. Type scale 1.25 from 16 px.
   Text colours come only from the logo: purple, white, orange, green. */

:root {
  --night: #150b26;
  --black: #0c0912;
  --plum: #2b1150;
  --purple: #4a2380;
  --tan: #f0d7b0;
  --orange-bg: #f2a65a;
  --cream: #fbf0de;
  --orange: #f7941d;
  --green: #5dd39e;
  --green-dk: #1e6b47;
  --white: #fff9f2;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next", Avenir, "Trebuchet MS", "Segoe UI", system-ui, sans-serif;

  --header-h: 72px;
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-padding-top: calc(var(--header-offset, var(--header-h)) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--purple);
  background: var(--night);
}

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

p {
  margin: 0 0 16px;
  max-width: 65ch;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

h2 {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

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

.band :focus-visible {
  outline-color: var(--purple);
}

.band .panel-night :focus-visible,
.band .panel-plum :focus-visible {
  outline-color: var(--orange);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.orange {
  color: var(--orange);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-green {
  color: var(--green);
}

.h3-big {
  font-size: 1.5625rem;
  margin-bottom: 16px;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.55;
}

.center {
  text-align: center;
}

/* ---------------------------------------------------------------- skip link */

.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--plum);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-200%);
}

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

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

a.btn-orange {
  background: var(--orange);
  color: var(--plum);
}

a.btn-orange:hover {
  background: var(--white);
}

a.btn-plum {
  background: var(--plum);
  color: var(--white);
}

a.btn-plum:hover {
  background: var(--purple);
}

/* Not open yet: a quiet dashed outline instead of a solid, pressable fill. */
span.btn {
  cursor: default;
  border-style: dashed;
}

span.btn-orange {
  border-color: var(--orange);
  color: var(--orange);
}

span.btn-plum {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-ghost {
  border-color: rgba(255, 249, 242, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--night);
  border-bottom: 1px solid rgba(247, 148, 29, 0.35);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  max-width: 1200px;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 8px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  flex: none;
}

@media (max-width: 1099px) {
  .site-header .brand-name {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    gap: 8px 12px;
    padding: 8px 16px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .header-book {
    margin-left: auto;
  }

  @media (max-width: 359px) {
    .header-book {
      padding-inline: 12px;
    }
  }

  /* First in the source, so Tab from the open button reaches Rooms; shown last. */
  .nav-toggle {
    order: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid rgba(255, 249, 242, 0.45);
    border-radius: 12px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
  }

  .bars,
  .bars::before,
  .bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .bars {
    position: relative;
  }

  .bars::before,
  .bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .bars::before {
    top: -6px;
  }

  .bars::after {
    top: 6px;
  }

  .is-open .bars {
    background: transparent;
  }

  .is-open .bars::before {
    top: 0;
    transform: rotate(45deg);
  }

  .is-open .bars::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 0 16px;
    background: var(--night);
    border-bottom: 2px solid var(--orange);
  }

  .js .is-open .site-nav {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
  }

  .js .site-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 0;
    font-size: 1.125rem;
  }

  .js .site-nav a:focus-visible {
    outline-offset: -3px;
  }

  /* Scripts off: no menu button, the links wrap on a row of their own, and the
     header scrolls away with the page. */
  html:not(.js) .site-header {
    position: static;
  }

  html:not(.js) .header-inner {
    flex-wrap: wrap;
    row-gap: 4px;
    min-height: 0;
    padding-block: 8px;
  }

  html:not(.js) .nav-toggle {
    display: none;
  }

  html:not(.js) .site-nav {
    order: 2;
    flex-basis: 100%;
    margin-left: 0;
  }

  html:not(.js) .site-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* ---------------------------------------------------------------- hero (#top) */

.hero {
  position: relative;
  overflow: clip;
  padding: 64px 24px 112px;
  background: var(--night);
  color: var(--white);
}

/* Stars live only where #top never has text: the top padding band (64 px), the
   bottom padding band (112 px, less the 16 px scallop) and the 24 px side gutters. */
.sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 12px;
  height: 12px;
  fill: var(--white);
}

.star:nth-child(1) { top: 14px; left: 6%; width: 18px; height: 18px; }
.star:nth-child(2) { top: 34px; left: 22%; }
.star:nth-child(3) { top: 10px; left: 41%; width: 14px; height: 14px; }
.star:nth-child(4) { top: 30px; left: 58%; }
.star:nth-child(5) { top: 16px; left: 74%; width: 10px; height: 10px; }
.star:nth-child(6) { top: 26px; left: 90%; width: 16px; height: 16px; }
.star:nth-child(7) { top: 38%; left: 5px; width: 10px; height: 10px; }
.star:nth-child(8) { top: 30%; right: 5px; width: 14px; height: 14px; }
.star:nth-child(9) { top: 62%; right: 6px; }
.star:nth-child(10) { top: 70%; left: 6px; width: 10px; height: 10px; }
.star:nth-child(11) { bottom: 56px; left: 9%; width: 18px; height: 18px; }
.star:nth-child(12) { bottom: 30px; left: 33%; }
.star:nth-child(13) { bottom: 70px; left: 63%; width: 10px; height: 10px; }
.star:nth-child(14) { bottom: 40px; left: 86%; width: 14px; height: 14px; }

.sky .c-orange {
  fill: var(--orange);
}

.sky .c-green {
  fill: var(--green);
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  position: relative;
  width: min(68vw, 420px);
  aspect-ratio: 1;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, #fff 80%, transparent 80%);
  box-shadow: 0 0 0 8px rgba(255, 249, 242, 0.08), 0 0 96px 8px rgba(124, 58, 237, 0.45);
}

.ring {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  fill: none;
  stroke: var(--orange);
  stroke-width: 0.8;
  stroke-dasharray: 0.1 3.6;
  stroke-linecap: round;
  pointer-events: none;
}

.opening {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px 16px;
  border: 2px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 700;
}

.pdc {
  margin: 24px 0 32px;
  max-width: none;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

@media (min-width: 960px) {
  .hero {
    padding: 96px 24px 128px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    justify-items: start;
    text-align: left;
  }

  .hero-logo {
    justify-self: center;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

/* ---------------------------------------------------------------- section bands */

.band {
  position: relative;
  padding: 96px 0;
  overflow-x: clip;
}

.band-tan {
  background: var(--tan);
}

.band-orange {
  background: var(--orange-bg);
}

/* Scalloped top edge, like a beach-bar awning, in the band's own colour. */
.band::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 16px;
  background: inherit;
  pointer-events: none;
  -webkit-mask: radial-gradient(circle at 16px 16px, #000 15.5px, transparent 16px) 0 0 / 32px 16px repeat-x;
  mask: radial-gradient(circle at 16px 16px, #000 15.5px, transparent 16px) 0 0 / 32px 16px repeat-x;
}

.panel {
  border-radius: var(--radius);
  padding: 48px;
}

.panel-plum {
  background: var(--plum);
  color: var(--white);
}

.panel-night {
  background: var(--night);
  color: var(--white);
}

.snap {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  padding: 8px 8px 32px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 16px 32px -16px rgba(43, 17, 80, 0.55);
}

/* ---------------------------------------------------------------- about */

.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.snaps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 4px;
}

.s1 {
  rotate: -4deg;
  margin-top: 32px;
}

.s2 {
  rotate: 2.5deg;
}

.s3 {
  rotate: -1.5deg;
  margin-top: 48px;
}

.pdc-panel {
  margin-top: 64px;
}

.pdc-sentence {
  max-width: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.5625rem);
  font-weight: 700;
  line-height: 1.35;
}

.pdc-sentence .hl {
  color: var(--orange);
  font-weight: 800;
}

.pdc-lines {
  display: grid;
  gap: 32px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.pdc-lines li {
  padding-top: 16px;
  border-top: 2px solid rgba(247, 148, 29, 0.45);
  font-size: 1.0625rem;
}

.pdc-word {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .pdc-lines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

/* ---------------------------------------------------------------- rooms */

.rooms-grid {
  display: grid;
  gap: 48px;
  align-items: stretch;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}

.features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--cream);
  font-weight: 700;
}

.soon-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  border: 3px dashed var(--orange);
  text-align: center;
}

.soon-icon {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.soon-title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 1.953rem;
  font-weight: 800;
  line-height: 1.15;
}

.soon-bunk {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  fill: none;
  stroke: rgba(255, 249, 242, 0.1);
  stroke-width: 1.5;
  pointer-events: none;
}

@media (min-width: 960px) {
  .rooms-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
  }
}

/* ---------------------------------------------------------------- amenities */

.card {
  padding: 64px 48px;
  border-radius: 32px;
  background: var(--cream);
  box-shadow: 0 24px 48px -24px rgba(43, 17, 80, 0.4);
}

.amenity-cols {
  display: grid;
  gap: 40px 32px;
  margin-top: 48px;
}

.amenity-group h3 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(74, 35, 128, 0.2);
  color: var(--green-dk);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.amenity-group ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenity-group li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.amenity-group .icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 50%;
  background: var(--tan);
}

@media (min-width: 560px) {
  .amenity-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .amenity-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------- rave */

.rave-panel {
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
}

.rave-ball {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 260px;
  height: 260px;
  fill: none;
  stroke: rgba(247, 148, 29, 0.18);
  stroke-width: 0.9;
  pointer-events: none;
}

.rave-head,
.rave-body,
.rave-photos {
  position: relative;
}

.rave-panel h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.rave-when {
  margin: 0;
  max-width: none;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.441rem);
  font-weight: 800;
  line-height: 1.15;
}

.rave-body {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

.rave-lead {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.5625rem;
  font-weight: 700;
  line-height: 1.3;
}

.rave-side {
  display: grid;
  gap: 24px;
  align-self: start;
  justify-items: start;
}

.rave-facts {
  justify-self: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 2px solid rgba(255, 249, 242, 0.16);
  border-radius: 20px;
}

.rave-facts li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 700;
}

.rave-facts li + li {
  border-top: 1px dashed rgba(255, 249, 242, 0.2);
}

.rave-facts .icon {
  color: var(--orange);
}

.rave-note {
  position: relative;
  max-width: none;
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px dashed rgba(255, 249, 242, 0.2);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
}

.rave-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.rp {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
}

.rp-b {
  margin-top: 32px;
}

.rp-d {
  grid-column: 1 / -1;
  aspect-ratio: 1400 / 583;
}

@media (min-width: 960px) {
  .rave-body {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 64px;
  }

  .rave-photos {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  .rp-a,
  .rp-b,
  .rp-c {
    grid-column: span 2;
  }

  .rp-d {
    grid-column: 2 / 6;
  }
}

/* ---------------------------------------------------------------- events */

.events-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.events-copy p:last-child {
  margin-bottom: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 8px 16px;
  border: 2px solid var(--purple);
  border-radius: 999px;
  font-weight: 700;
}

.tags .tag-rave {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--orange);
}

@media (min-width: 960px) {
  .events-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }

  .tags {
    gap: 16px;
    margin: 0;
  }

  .tags li {
    padding: 12px 20px;
    font-size: 1.125rem;
  }
}

/* ---------------------------------------------------------------- faq */

.faq-wrap {
  max-width: 880px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: 20px;
  background: var(--cream);
  box-shadow: 0 12px 24px -16px rgba(43, 17, 80, 0.45);
}

.faq-list summary {
  position: relative;
  display: block;
  min-height: 48px;
  padding: 20px 72px 20px 24px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "\2013";
}

.faq-list details > p {
  margin: 0;
  padding: 0 24px 20px;
}

.faq-list details > .btn {
  margin: 0 24px 24px;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  padding: 80px 0 40px;
  background: var(--black);
  color: var(--white);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 249, 242, 0.15);
}

.brand-footer img {
  width: 56px;
  height: 56px;
}

.footer-tag {
  margin: 0;
  max-width: 44ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 40px 0;
}

.footer-col h2 {
  margin: 0 0 16px;
  color: var(--green);
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col {
  min-width: 0;
}

.footer-col p {
  margin: 0 0 8px;
}

/* A long email address breaks inside its column instead of running out of it. */
.contact-value {
  overflow-wrap: anywhere;
}

.footer-links {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.footer-links .social-link {
  gap: 16px;
  margin-block: 16px;
}

.social-link svg {
  flex: none;
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.copyright {
  max-width: none;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 249, 242, 0.15);
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------- small screens */

@media (max-width: 767px) {
  .wrap {
    padding: 0 20px;
  }

  .band {
    padding: 72px 0;
  }

  .panel {
    padding: 32px 24px;
  }

  .rave-panel {
    padding: 48px 20px;
  }

  .card {
    padding: 48px 24px;
  }

  .rave-photos {
    gap: 8px;
  }

  .rp-b {
    margin-top: 16px;
  }

  .rave-ball {
    display: none;
  }
}

/* Phones: two photos a row so none shrinks to a thumbnail; an odd one is centred. */
@media (max-width: 599px) {
  .snaps,
  .rave-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s1 {
    margin-top: 0;
  }

  .s2 {
    margin-top: 24px;
  }

  .s3 {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 6px);
    margin-top: 8px;
  }

  .rp-c {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 4px);
  }
}

/* Larger default fonts: a word too long for a narrow screen breaks instead of
   running past it. */
@media (max-width: 47.9em) {
  body {
    overflow-wrap: anywhere;
  }
}

@media (min-width: 20em) {
  .nowrap {
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------------- motion (only when welcome) */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* Stars twinkle in place: opacity only, so nothing moves towards the text. */
  .tw {
    animation: twinkle 3.6s ease-in-out infinite;
  }

  .t2 {
    animation-delay: -1.2s;
  }

  .t3 {
    animation-delay: -2.4s;
  }

  .ring {
    animation: spin 60s linear infinite;
  }

  .dot {
    animation: pulse 2.4s ease-out infinite;
  }

  .rave-ball {
    animation: spin 40s linear infinite;
  }

  .site-nav a,
  .btn,
  .footer-links a {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }

  @keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(93, 211, 158, 0.6); }
    100% { box-shadow: 0 0 0 10px rgba(93, 211, 158, 0); }
  }
}
