/* Awake Sundays and Awake Community Dance, in the Awake Realm look.
   Fonts (loaded from Google Fonts in each page): Cormorant Garamond (titles),
   Inter Tight (headings, labels), Jost (body). The site header and footer
   come from /js/site-chrome.js. */

:root {
  --cream: #fff6ea;
  --forest: #1e3b2a;
  --night: #111e15;
  --gold: #efbd63;
  --lavender: #9574cc;
  --lavender-ink: #6e4fa8;
  --lavender-light: #c9b8ec;
  --sage: #899267;
  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-label: "Inter Tight", system-ui, sans-serif;
  --font-body: "Jost", system-ui, sans-serif;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.sundays-page {
  margin: 0;
  background: var(--cream);
  color: var(--night);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}

.sundays-page img {
  max-width: 100%;
}

.sundays-page :where(main) img {
  display: block;
}

.sundays-page :where(main) p {
  margin: 0;
}

.sundays-page :where(main) h1,
.sundays-page :where(main) h2 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.sundays-page :where(main) h3,
.sundays-page :where(main) h4 {
  margin: 0;
  font-family: var(--font-label);
  font-weight: 700;
  line-height: 1.2;
}

.sundays-page a:focus-visible,
.sundays-page button:focus-visible,
.sundays-page summary:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 4px;
}

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

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.band {
  padding: 96px 0;
}

.band--tight {
  padding: 0 0 96px;
}

.band--forest {
  background: var(--forest);
  color: var(--cream);
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 72px;
}

.split > * {
  flex: 1 1 340px;
  min-width: 0;
}

.split > .stack {
  flex: 2 1 480px;
}

.split--reverse > .stack {
  order: -1;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}

.stack--wide {
  align-items: stretch;
  gap: 44px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender-ink);
}

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

.eyebrow--ink {
  color: var(--lavender-ink);
}

.display {
  font-size: clamp(60px, 8vw, 108px);
}

.title {
  overflow-wrap: anywhere;
  font-size: clamp(48px, 5.4vw, 72px);
}

.title--lg {
  font-size: clamp(40px, 4.6vw, 60px);
}

.title--md {
  font-size: clamp(38px, 4.2vw, 54px);
}

.title--xl {
  font-size: clamp(44px, 5.4vw, 72px);
}

.tagline {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 34px;
  line-height: 1.25;
  color: var(--gold);
}

.lead {
  overflow-wrap: anywhere;
  font-size: 20px;
  max-width: 34em;
}

.lead--gold {
  font-family: var(--font-label);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gold);
}

.small {
  font-size: 16px;
}

.link-line {
  padding: 10px 0;
  font-weight: 600;
}

/* ---------- Components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 30px;
  border: 2px solid transparent;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.btn--primary {
  background: var(--gold);
  color: var(--night);
}

.btn--primary:hover {
  color: var(--night);
  background: #f5cd85;
}

.btn--outline {
  border-color: var(--lavender-light);
  color: var(--lavender-light);
}

.btn--outline:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.btn--forest {
  background: var(--forest);
  color: var(--cream);
}

.btn--forest:hover {
  color: var(--gold);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.media {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.media--hero {
  height: 660px;
}

.media--portrait {
  aspect-ratio: 1;
}

.media--arch {
  height: 540px;
  border-radius: 9999px 9999px 16px 16px;
}

.media--tall {
  height: 560px;
}

/* The block that stands in for a photo with none: it takes the image's size and the section's colour. */
.photo-panel {
  background: color-mix(in srgb, currentColor 14%, transparent);
}

.dj-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 28px;
  border-radius: 16px;
  background: var(--forest);
  color: var(--cream);
}

.dj-card__date {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.dj-card__name {
  overflow-wrap: anywhere;
  font-family: var(--font-title);
  font-size: 38px;
  line-height: 1.05;
}

.dj-card__name a {
  color: inherit;
  text-decoration: none;
}

.dj-card__name a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.dj-card__link {
  margin-top: auto;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
}

.dj-card .dj-soundcloud {
  font-size: 14px;
}

/* Each card sizes to its own content: a short card never stretches to the tallest one. */
.dj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  align-items: start;
  gap: 24px;
}

.admission-closed {
  font-family: var(--font-label);
  font-size: 17px;
  font-weight: 600;
  color: var(--gold);
}

.set-intention {
  align-self: stretch;
  padding: 18px 20px;
  border: 1px solid rgba(201, 184, 236, 0.5);
  border-left: 3px solid var(--lavender-light);
  border-radius: 8px;
  background: rgba(255, 246, 234, 0.06);
  font-size: 16px;
}

.set-intention__label {
  margin-bottom: 8px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lavender-light);
}

.set-intention__text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.set-intention__preview {
  overflow-wrap: anywhere;
}

.set-intention__more summary {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lavender-light);
  cursor: pointer;
}

.set-intention__more[open] .set-intention__text {
  margin-top: 12px;
}

.set-intention:has(.set-intention__more[open]) .set-intention__preview {
  display: none;
}

.dj-card .set-intention {
  font-size: 15px;
}

.dj-soundcloud:not(.btn) {
  color: var(--lavender-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dj-thumbnails {
  display: flex;
  gap: 10px;
  padding: 14px 2px 2px;
  overflow-x: auto;
}

.dj-thumbnails button {
  flex: 0 0 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.dj-thumbnails button[aria-pressed="true"] {
  border-color: var(--gold);
}

.dj-thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

/* Past Sets (filled in the browser). */
.sets__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.set {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  grid-template-areas: "photo info len" "player player player";
  gap: 14px 18px;
  align-items: center;
  padding: 18px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--cream);
}

.set__photo {
  grid-area: photo;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 8px;
}

.set__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.set__info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.set__date,
.set__len {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.set__len {
  grid-area: len;
  align-self: start;
}

.set__name {
  font-size: 22px;
}

.set__name a {
  color: inherit;
}

.set__player {
  grid-area: player;
  min-width: 0;
  width: 100%;
  /* The player reads these two vars from its mount element (frontend/shared/dj-set-player.js). */
  --awake-brown-dark: var(--lavender-light);
  --awake-gray-300: rgba(255, 246, 234, 0.35);
}

.set__player .djp-btn {
  color: var(--night);
}

.upcoming__all {
  display: flex;
  justify-content: center;
}

.upcoming__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
}

/* ---------- Awake Community Dance sections ---------- */
.dance-hero {
  padding: 64px 0 80px;
}

.dance-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
}

.dance-hero__media {
  flex: 1 1 420px;
  min-width: 0;
}

.this-sunday {
  padding: 56px 0;
}

.this-sunday__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 64px;
  padding: 40px;
  border: 1px solid rgba(201, 184, 236, 0.5);
  border-radius: 16px;
}

.this-sunday__week {
  display: flex;
  flex: 2 1 420px;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.this-sunday__week h2 a {
  color: inherit;
  text-decoration: none;
}

.this-sunday__week h2 a:hover {
  color: var(--gold);
}

.this-sunday__times,
.this-sunday__price {
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 600;
}

.this-sunday__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.this-sunday__portrait {
  flex: 1 1 300px;
  max-width: 420px;
  min-width: 0;
}

.spaces__pair {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  border: 1px solid rgba(201, 184, 236, 0.5);
  border-radius: 16px;
}

.space {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 56px 48px;
}

.space--inside {
  background: #0a120c;
}

.space--outside {
  background: var(--cream);
  color: var(--night);
}

.space--outside .space__title {
  color: var(--forest);
}

.space__title {
  font-family: var(--font-title);
  font-size: 44px;
  line-height: 1.05;
}

.agree__list {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 48px;
}

.agree__item {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-top: 20px;
  border-top: 2px solid var(--gold);
}

.agree__item h3 {
  font-size: 22px;
}

.agree__item p {
  font-size: 17px;
}

.stack--wide > .btn {
  align-self: flex-start;
}

/* ---------- Night mood: Awake Community Dance ---------- */
/* The night ground belongs to the page content only: the shared header and
   footer (outside main) keep the base cream ground and dark ink. */
.sundays-page--night main {
  background: var(--night);
  color: var(--cream);
}

.sundays-page--night :where(main) a {
  color: var(--lavender-light);
}

.sundays-page--night :where(main) a:hover {
  color: var(--gold);
}

.sundays-page--night .btn--primary,
.sundays-page--night .btn--primary:hover {
  color: var(--night);
}

.sundays-page--night .eyebrow {
  color: var(--lavender-light);
}

.sundays-page--night .eyebrow--gold {
  color: var(--gold);
}

.sundays-page--night .space--outside .eyebrow {
  color: var(--lavender-ink);
}

.sundays-page--night .sets {
  background: var(--night);
}

.sundays-page--night .set a,
.sundays-page--night .dj-card__name a {
  color: inherit;
}

.sundays-page--night .dj-card__link {
  color: var(--lavender-light);
}

/* ---------- Small screens ---------- */
@media (max-width: 719px) {
  .wrap {
    padding: 0 20px;
  }

  .band {
    padding: 64px 0;
  }

  .band--tight {
    padding-bottom: 64px;
  }

  .split,
  .dance-hero__inner,
  .this-sunday__card,
  .agree__list,
  .dj-grid,
  .spaces__pair {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .split > *,
  .split > .stack,
  .dance-hero__media,
  .this-sunday__week,
  .this-sunday__portrait,
  .agree__item,
  .dj-card,
  .space {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .this-sunday__card {
    padding: 24px;
    align-items: stretch;
  }

  .space {
    padding: 36px 24px;
  }

  .media--hero,
  .media--arch,
  .media--tall {
    height: 340px;
  }

  .tagline {
    font-size: 28px;
  }

  .sets__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Day mood: Awake Sundays ---------- */
.sundays-page--day {
  background: var(--cream);
  color: var(--night);
}

.sundays-page--day :where(main) a {
  color: var(--forest);
}

.sundays-page--day :where(main) a:hover {
  color: var(--lavender-ink);
}

.sundays-page--day .btn--primary,
.sundays-page--day .btn--primary:hover {
  color: var(--night);
}

.sundays-page--day .btn--outline {
  border-color: var(--forest);
  color: var(--forest);
}

.sundays-page--day .btn--outline:hover {
  border-color: var(--lavender-ink);
  color: var(--lavender-ink);
}

.sundays-page--day .btn--night {
  background: var(--night);
  color: var(--cream);
}

.sundays-page--day .btn--night:hover {
  color: var(--gold);
}

.sundays-page--day .tagline {
  max-width: 19em;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 27px;
  line-height: 1.35;
  color: var(--forest);
}

.sundays-page--day .display {
  color: var(--forest);
  font-size: clamp(68px, 9.4vw, 128px);
}

.sundays-page--day .title {
  color: var(--forest);
}

.sundays-page--day .band--forest .title,
.sundays-page--day .everyone .title,
.sundays-page--day .invite .title {
  color: inherit;
}

.sundays-page--day .band--forest {
  color: var(--cream);
}

.sundays-page--day .band--forest a {
  color: var(--gold);
}

/* Hero */
.sundays-hero {
  padding: 72px 0 88px;
}

.sundays-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
}

.sundays-hero__media {
  position: relative;
  flex: 1 1 440px;
  min-width: 0;
  padding-left: 32px;
}

.sundays-hero__media::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 0;
  width: 220px;
  height: 220px;
  border-radius: 9999px;
  background: var(--gold);
}

.sundays-hero__media .media {
  position: relative;
  height: 600px;
  border-radius: 9999px 9999px 16px 16px;
}

/* The experience: the text between two photos, set at different heights */
.experience__layout {
  display: flex;
  align-items: center;
  gap: 56px;
}

.experience__photo {
  flex: 0 0 260px;
  width: 260px;
  min-width: 0;
  height: 380px;
}

.experience__photo--left {
  transform: translateY(-36px);
}

.experience__photo--right {
  transform: translateY(36px);
}

.experience__photo.photo-panel {
  color: var(--cream);
}

.experience__inner {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-width: 0;
  text-align: center;
}

.sundays-page--day .experience .eyebrow {
  color: var(--gold);
}

.experience .lead {
  max-width: none;
  font-size: 21px;
  line-height: 1.6;
}

.day-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.day-card {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(137, 146, 103, 0.45);
  border-radius: 16px;
  background: #fff;
}

.day-card__photo {
  height: 220px;
  border-radius: 0;
}

.day-card__photo.photo-panel {
  color: var(--sage);
}

.day-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  font-size: 17px;
}

.day-card__body h3 {
  overflow-wrap: anywhere;
  font-size: 23px;
  color: var(--forest);
}

/* A place for everyone: lavender ink */
.everyone {
  background: var(--lavender-ink);
  color: var(--cream);
}

.everyone__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.everyone__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 20px 0 0;
  border-top: 2px solid var(--gold);
}

.everyone__photo {
  height: 200px;
  margin-bottom: 8px;
  border-radius: 12px;
}

.everyone__photo.photo-panel {
  color: var(--cream);
}

.everyone__item h3 {
  font-size: 22px;
}

.everyone__item p {
  font-size: 17px;
}

/* This Sunday's program: on gold */
.program a:focus-visible,
.program .btn:focus-visible {
  outline-color: var(--night);
}

.program {
  background: var(--gold);
  color: var(--night);
}

.program__intro {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}

.program__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.program__photo {
  height: 340px;
  margin-top: 12px;
}

.program__photo.photo-panel {
  color: var(--night);
}

.program__price {
  font-family: var(--font-label);
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.sundays-page--day .program .admission-closed {
  color: var(--night);
}

.program__rows {
  display: flex;
  flex: 2 1 520px;
  flex-direction: column;
  min-width: 0;
  border-bottom: 1px solid rgba(17, 30, 21, 0.35);
}

.program__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(17, 30, 21, 0.35);
}

.program__time {
  flex: 0 0 110px;
  font-family: var(--font-label);
  font-size: 18px;
  font-weight: 700;
}

.program__what {
  flex: 1 1 300px;
  min-width: 0;
}

.program__title {
  overflow-wrap: anywhere;
  font-size: 21px;
}

.sundays-page--day .program__title a,
.sundays-page--day .program__title a:hover {
  color: var(--night);
}

.program__detail {
  overflow-wrap: anywhere;
  font-size: 16px;
}

/* Good to know */
.know__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 48px;
}

.know__item {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.know__icon {
  flex: none;
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(239, 189, 99, 0.28);
  color: var(--forest);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.know__item h3 {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender-ink);
}

.know__item p {
  overflow-wrap: anywhere;
}

/* The invitation: night unless a tagged photo sits behind it */
.invite {
  padding: 120px 0;
  background-color: var(--night);
  background-size: cover;
  background-position: center;
  color: var(--cream);
}

.invite__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  text-align: center;
}

.invite__lead {
  font-size: 22px;
  line-height: 1.5;
}

.sundays-page--day .invite .eyebrow {
  color: var(--gold);
}

@media (max-width: 719px) {
  .sundays-hero {
    padding: 40px 0 56px;
  }

  .sundays-hero__media {
    flex: 0 0 auto;
    width: 100%;
    padding-left: 0;
  }

  .sundays-hero__media::before {
    width: 140px;
    height: 140px;
  }

  .sundays-hero__media .media {
    height: 340px;
  }

  .sundays-page--day .tagline {
    font-size: 22px;
  }

  .day-cards,
  .everyone__list,
  .know__grid {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .day-card,
  .everyone__item,
  .know__item,
  .program__intro,
  .program__rows {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .program__photo {
    height: 260px;
  }

  .program__row {
    flex-direction: column;
    gap: 4px;
  }

  .program__time,
  .program__what {
    flex: 0 0 auto;
    width: 100%;
  }

  .invite {
    padding: 72px 0;
  }
}

/* Below 1100px the two experience photos sit side by side under the text. */
@media (max-width: 1099px) {
  .experience__layout {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 20px;
  }

  .experience__inner {
    flex: 1 1 100%;
    order: -1;
  }

  .everyone__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience__photo {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 360px;
    height: 300px;
    transform: none;
  }
}

@media (max-width: 719px) {
  .experience__photo {
    height: 220px;
  }

  .everyone__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Refinements (layered over the rules above) ---------- */
.future-djs-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.dj-card__portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 8px;
  margin-bottom: 6px;
}

.invite {
  position: relative;
  isolation: isolate;
}

.invite__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  z-index: -1;
}

.sundays-hero,
.dance-hero {
  padding: clamp(38px, 5vw, 76px) 0;
}

.sundays-hero__inner,
.dance-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas: "intro image" "details image";
  gap: 28px clamp(28px, 5vw, 80px);
  align-items: end;
}

.hero-intro {
  grid-area: intro;
  display: grid;
  gap: 20px;
}

.hero-details {
  grid-area: details;
  display: grid;
  gap: 18px;
  align-self: start;
}

.hero-details .small {
  max-width: 36ch;
  line-height: 1.4;
}

.hero-details .btn-row {
  align-items: center;
  gap: 8px 22px;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 17px;
  font-weight: 600;
  text-underline-offset: 5px;
}

.sundays-hero__media,
.dance-hero__media {
  grid-area: image;
  align-self: center;
}

.sundays-hero__media .media,
.dance-hero__media .media {
  height: clamp(370px, 43vw, 565px);
}

.dance-hero__media .media {
  border-radius: 12px;
}

.sundays-page .display {
  font-size: clamp(58px, 7.2vw, 104px);
  line-height: 0.91;
  letter-spacing: -0.04em;
}

.sundays-page--day .display {
  font-size: clamp(68px, 8.6vw, 124px);
}

.sundays-page--day .tagline {
  font-size: clamp(22px, 2vw, 30px);
  max-width: 24ch;
}

.dance-hero .tagline {
  font-size: clamp(24px, 2.4vw, 34px);
  max-width: 26ch;
}

.hero-intro .eyebrow {
  font-size: 12px;
}

.band:not(.band--tight) {
  padding-block: clamp(48px, 6.2vw, 88px);
}

.stack--wide {
  gap: 32px;
}

/* Five cards: three, then two centred. */
.day-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px 24px;
}

.day-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.day-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.day-card {
  grid-column: span 2;
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.day-card__photo {
  border-radius: 10px;
  height: auto;
  aspect-ratio: 1.85;
}

.day-card__body {
  padding: 14px 0 0;
  gap: 7px;
}

.everyone__photo {
  height: auto;
  aspect-ratio: 1.4;
}

.program__intro {
  grid-area: intro;
  gap: 10px;
}

.program__glance {
  grid-area: glance;
  min-width: 0;
}

.program__aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.program__photo {
  margin: 0;
  height: auto;
  aspect-ratio: 1.55;
}

.program__row {
  display: grid;
  grid-template-columns: 6.1em minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
}

.program__time {
  font-variant-numeric: tabular-nums;
}

.program__ctas {
  align-items: center;
}

.know__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.know__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-content: start;
  column-gap: 12px;
  row-gap: 5px;
}

.know__icon {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  padding: 9px;
  margin: 0;
}

.know__item h3 {
  align-self: center;
  padding-top: 4px;
}

.know__item p {
  grid-column: 2;
  font-size: 17px;
  line-height: 1.48;
}

.this-sunday__card {
  width: calc(100% - 80px);
  max-width: 1200px;
}

.this-sunday__card:not(:has(.this-sunday__portrait)) {
  max-width: 850px;
}

.this-sunday__week {
  gap: 12px;
}

.this-sunday__ctas {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.this-sunday__ctas .dj-soundcloud {
  padding: 8px 0;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 16px;
  min-height: 44px;
}

.this-sunday__week .admission-closed,
.program__aside .admission-closed {
  border-inline-start: 3px solid currentColor;
  padding: 8px 14px;
}

.this-sunday__week details summary {
  cursor: pointer;
  text-underline-offset: 3px;
  text-decoration: underline;
}

.this-sunday__week details p {
  max-width: 58ch;
  margin-top: 8px;
  white-space: pre-line;
}

@media (max-width: 1099px) {
  .know__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .know__grid > .know__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .this-sunday__card {
    width: calc(100% - 56px);
  }
}

@media (max-width: 819px) {
  .hero-intro {
    gap: 14px;
  }

  .hero-details {
    gap: 12px;
  }

  .sundays-hero__inner,
  .dance-hero__inner {
    gap: 16px 24px;
  }

  .sundays-hero__media {
    padding-left: 14px;
  }

  .sundays-hero__media::before {
    width: 130px;
    height: 130px;
    top: 24px;
  }
}

@media (max-width: 719px) {
  .sundays-hero,
  .dance-hero {
    padding: 28px 0 36px;
  }

  .sundays-hero__inner,
  .dance-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "image" "details";
    gap: 16px;
  }

  .sundays-hero__media .media {
    height: clamp(218px, 66vw, 320px);
  }

  .dance-hero__media .media {
    height: clamp(208px, 63vw, 300px);
  }

  .hero-intro .eyebrow {
    font-size: 11px;
  }

  .sundays-page .display {
    font-size: clamp(52px, 15vw, 72px);
    line-height: 0.95;
  }

  .sundays-page--day .tagline,
  .dance-hero .tagline {
    font-size: 22px;
    max-width: 30ch;
    line-height: 1.25;
  }

  .hero-details .small {
    font-size: 16px;
  }

  .btn-row .btn,
  .program__ticket {
    min-height: 46px;
    font-size: 16px;
    padding: 10px 16px;
  }

  .hero-secondary {
    font-size: 15px;
  }

  .hero-details .btn-row {
    gap: 5px 12px;
  }

  .stack--wide {
    gap: 24px;
  }

  .experience__inner {
    text-align: left;
    align-items: start;
    gap: 16px;
  }

  .experience .lead {
    font-size: 18px;
    line-height: 1.48;
  }

  .experience__layout {
    gap: 24px 12px;
  }

  .experience__photo {
    height: clamp(165px, 48vw, 230px);
  }

  .day-cards,
  .know__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .day-cards {
    gap: 0;
  }

  .day-card:nth-child(n) {
    grid-column: auto;
  }

  .day-card {
    display: grid;
    grid-template-columns: clamp(90px, 27vw, 145px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-top: 1px solid #d1c9b7;
  }

  .day-card__photo {
    height: auto;
    aspect-ratio: 0.88;
  }

  .day-card__body {
    padding: 0;
    font-size: 16px;
    line-height: 1.38;
  }

  .day-card__body h3 {
    font-size: 20px;
  }

  .everyone__list {
    gap: 24px;
  }

  .everyone__item {
    padding: 0;
    border: 0;
  }

  .everyone__photo {
    margin: 0;
    aspect-ratio: 1.85;
  }

  .program.band {
    padding-top: 36px;
  }

  .program__row {
    grid-template-columns: 4.35em minmax(0, 1fr);
    padding: 14px 0;
  }

  .program__title {
    font-size: 18px;
  }

  .program__detail,
  .program__time {
    font-size: 15px;
    line-height: 1.4;
  }

  .program__intro {
    gap: 12px;
  }

  .program__price {
    font-size: 15px;
  }

  .program__ctas {
    gap: 8px 14px;
  }

  .know__grid {
    gap: 19px;
  }

  .this-sunday__card {
    width: calc(100% - 32px);
    padding: 22px;
  }

  .this-sunday__portrait {
    max-width: 350px;
  }
}

@media (max-width: 719px) {
  .hero-details .btn-row .btn {
    padding-inline: 14px;
  }

  .hero-details .btn-row {
    column-gap: 10px;
  }

  .hero-details .small {
    max-width: none;
  }
}

main section[id] {
  scroll-margin-top: 70px;
}

/* ---------- Restructured pages ---------- */
/* Eleven Good to Know items: the last one fills the final row. */
@media (min-width: 1100px) {
  .know__grid > .know__item:last-child:nth-child(3n + 2) {
    grid-column: span 2;
  }
}

.hero-lead {
  max-width: 34ch;
  font-size: 19px;
  line-height: 1.5;
}

.hero-doors {
  font-weight: 600;
}

/* This Sunday at Awake Realm (Awake Sundays) */
.program__date {
  font-family: var(--font-label);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
}

.program__glance-title {
  margin-bottom: 8px;
  font-size: clamp(22px, 2vw, 28px);
}

.program__note {
  font-size: 16px;
}

/* The dance band (Awake Sundays) */
.band--night {
  background: var(--night);
  color: var(--cream);
}

.dance {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.dance__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.sundays-page--day .band--night .title {
  color: inherit;
}

.dance__tagline {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  color: var(--gold);
}

.dance__text {
  max-width: 40em;
  font-size: 20px;
}

.dance__dj {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 40em;
  padding: 18px 20px;
  border-left: 3px solid var(--lavender-light);
  border-radius: 8px;
  background: rgba(255, 246, 234, 0.08);
  font-size: 17px;
}

.dance__dj-name {
  font-family: var(--font-label);
  font-size: 18px;
}

.sundays-page--day .band--night .btn--outline {
  border-color: var(--lavender-light);
  color: var(--lavender-light);
}

.sundays-page--day .band--night .btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* This Sunday's Journey (Awake Community Dance) */
.this-sunday__week .title {
  font-size: clamp(32px, 3.6vw, 48px);
}

.this-sunday__date {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.this-sunday__dj {
  overflow-wrap: anywhere;
  font-family: var(--font-title);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.this-sunday__dj a {
  color: inherit;
  text-decoration: none;
}

.this-sunday__dj a:hover {
  color: var(--gold);
}

.this-sunday__part {
  max-width: 40em;
  font-size: 17px;
}

/* Upcoming DJ cards: "Name — Date" */
.dj-card__heading {
  overflow-wrap: anywhere;
  font-family: var(--font-title);
  font-size: 38px;
  line-height: 1.05;
}

.dj-card__dash,
.dj-card__date {
  white-space: nowrap;
}

.dj-card__dash {
  color: var(--gold);
}

/* ---------- This Sunday: a cream program card on the gold band ---------- */
/* The DJ sits on forest beside the program, so no text is set straight on the gold. */
.program.band {
  padding-block: clamp(56px, 7vw, 104px);
}

.program__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas: "side intro" "side glance" "side aside";
  grid-template-rows: auto auto 1fr;
  overflow: hidden;
  border-radius: 28px;
  background: var(--cream);
  color: var(--night);
  box-shadow: 0 28px 60px -28px rgba(17, 30, 21, 0.45);
}

.program__intro,
.program__glance,
.program__aside {
  padding-inline: clamp(28px, 4.4vw, 64px);
}

.program__intro {
  padding-top: clamp(36px, 4.4vw, 64px);
  gap: 14px;
}

.program__glance {
  padding-top: 44px;
}

.program__aside {
  padding-top: 36px;
  padding-bottom: clamp(36px, 4.4vw, 64px);
  gap: 18px;
}

.program__heading {
  font-size: clamp(36px, 3.7vw, 52px);
}

.program__date {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--lavender-ink);
}

.program__side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--forest);
  color: var(--cream);
}

.program__figure {
  position: relative;
  flex: 1 1 380px;
  min-height: 380px;
  overflow: hidden;
}

.program__dj-link {
  position: absolute;
  inset: 0;
}

.program__dj-photo,
.program__figure .program__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: cover;
}

.program__dj-photo {
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.program__dj-link:hover .program__dj-photo {
  transform: scale(1.03);
}

.program__dj {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 30px clamp(24px, 3vw, 40px) 38px;
  font-size: 18px;
  line-height: 1.5;
}

.sundays-page .program__dj-name {
  overflow-wrap: anywhere;
  font-family: var(--font-title);
  font-size: clamp(38px, 3.6vw, 52px);
  line-height: 1.05;
}

.sundays-page--day .program .program__dj-more {
  margin-top: 6px;
  font-family: var(--font-label);
  font-weight: 700;
  color: var(--gold);
  text-underline-offset: 5px;
}

.sundays-page--day .program .program__dj-more:hover {
  color: var(--cream);
}

.program__dj-more::after {
  content: " \2192";
}

.sundays-page .program__glance-title {
  margin-bottom: 10px;
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(25px, 2.3vw, 31px);
  color: var(--lavender-ink);
}

.program__rows {
  border-bottom-color: rgba(30, 59, 42, 0.16);
}

.program__row {
  grid-template-columns: 7em minmax(0, 1fr);
  gap: 4px 20px;
  align-items: baseline;
  padding: 22px 0;
  border-top-color: rgba(30, 59, 42, 0.16);
}

.program__time {
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender-ink);
}

.sundays-page .program__title {
  font-family: var(--font-title);
  font-size: clamp(24px, 2.1vw, 29px);
  line-height: 1.15;
  color: var(--forest);
}

.sundays-page--day .program__title a,
.sundays-page--day .program__title a:hover {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(30, 59, 42, 0.4);
  text-underline-offset: 5px;
}

.sundays-page--day .program__title a:hover {
  text-decoration-color: currentColor;
}

.program__detail {
  margin-top: 6px;
  color: rgba(17, 30, 21, 0.72);
}

.program__price {
  color: var(--forest);
}

.sundays-page--day .program .btn--night {
  background: var(--forest);
}

.program__note {
  font-size: 15px;
  color: rgba(17, 30, 21, 0.72);
}

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

/* ---------- The dance band: the photo beside the text ---------- */
.dance__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 5.5vw, 88px);
}

.dance__media {
  min-width: 0;
}

.dance__photo {
  height: auto;
  max-height: 640px;
  aspect-ratio: 4 / 5;
  border-radius: 9999px 9999px 20px 20px;
}

@media (max-width: 899px) {
  .program__panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "side" "glance" "aside";
    grid-template-rows: none;
    border-radius: 22px;
  }

  .program__intro {
    padding-bottom: 30px;
  }

  .program__figure {
    flex: 0 0 auto;
    min-height: 0;
    aspect-ratio: 1.1;
  }

  .program__glance {
    padding-top: 34px;
  }

  .dance__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .dance__photo {
    max-height: none;
    aspect-ratio: 1.25;
    border-radius: 20px;
  }
}

@media (max-width: 719px) {
  .program.band {
    padding-block: 28px;
  }

  .program .wrap {
    padding-inline: 14px;
  }

  .program__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 18px 0;
  }

  .sundays-page .program__title {
    font-size: 23px;
  }

  .program__time {
    font-size: 13px;
  }
}

/* Program rows: where each part takes place, who leads it, and a preview on hover.
   The card must be able to hang outside the panel, so the panel no longer clips;
   the forest side rounds its own corners instead. */
.program__panel {
  overflow: visible;
}

.program__side {
  overflow: hidden;
  border-radius: 28px 0 0 28px;
}

.program__detail {
  line-height: 1.55;
}

.program__place {
  font-weight: 500;
  color: var(--forest);
}

.sundays-page--day .program .program__person a,
.sundays-page--day .program .program__person a:hover {
  font-weight: 600;
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(30, 59, 42, 0.4);
  text-underline-offset: 4px;
}

.sundays-page--day .program .program__person a:hover {
  text-decoration-color: currentColor;
}

.program__person .peek > span:first-child {
  font-weight: 600;
  color: var(--forest);
}

.peek {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.peek__card {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 30;
  display: flex;
  width: min(340px, 78vw);
  overflow: hidden;
  border-radius: 18px;
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 24px 48px -18px rgba(17, 30, 21, 0.6);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.18s;
  pointer-events: none;
}

.peek:hover .peek__card,
.peek:focus-within .peek__card {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.peek__card--event {
  flex-direction: column;
}

.peek__card--person {
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.sundays-page .peek__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sundays-page .peek__photo {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.peek__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 16px 18px 18px;
}

.peek__card--person .peek__body {
  padding: 0;
}

.peek__name {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.peek__meta {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 899px) {
  .program__side {
    border-radius: 0;
  }
}

/* No hover on a touch screen: the links still lead to the full pages. */
@media (hover: none) {
  .peek__card {
    display: none;
  }
}

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

/* A DJ's last set inside a card. The label above already names the DJ, so the player
   shows the set's date and, under it, the running time beside the play button, with the
   waveform below, in the page's own colours (the player reads the two vars at mount). */
.dj-last-set__player {
  --awake-brown-dark: var(--lavender-light);
  --awake-gray-300: rgba(255, 246, 234, 0.35);
}

.dj-last-set__player .djp {
  gap: 12px;
}

.dj-last-set__player .djp-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "btn date" "btn time";
  align-items: center;
  gap: 2px 14px;
}

.dj-last-set__player .djp-btn {
  grid-area: btn;
}

.dj-last-set__player .djp-meta {
  grid-area: date;
  align-self: end;
}

.dj-last-set__player .djp-time {
  grid-area: time;
  align-self: start;
}

.dj-last-set__player .djp-btn {
  color: var(--night);
}

.dj-last-set__player .djp-name {
  display: none;
}

.dj-last-set__player .djp-date,
.dj-last-set__player .djp-time {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 1;
}

.dj-last-set__player .djp-date {
  color: var(--cream);
}

.dj-last-set__player .djp-time {
  color: rgba(255, 246, 234, 0.75);
}
