/* Montezuma × van der haardt — concept "The Line" */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --jungle: #0E1308;
  --moss: #3A3613;
  --sand: #F0BA7B;
  --gold: #E9A146;
  --cobalt: #1F5380;
  --emerald: #1E6B3A;
  --violet: #6B2983;
  --mustard: #F29C1F;
  --chili: #B3211F;
  --canopy: #1F3424;           /* banana leaves, botanic_05 */
  --fern: #354112;             /* lit foliage, botanic_03 */
  --leaf: #475B37;             /* brightest leaves, botanic_03 */
  --sunset: #F96826;           /* orange wall (orange_03) and Fusion fire light */

  --ink: var(--sand);
  --ink-soft: color-mix(in srgb, var(--sand) 72%, transparent);
  --rule: color-mix(in srgb, var(--sand) 22%, transparent);

  --serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: 16px;
  --line-inset: 14px;          /* distance of the line from the right edge (read by main.js) */
  --line-room: 34px;           /* right padding that keeps content clear of the line */
  --max: 1240px;
}
@media (min-width: 760px) {
  :root { --pad: 40px; --line-inset: 44px; --line-room: 96px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--jungle);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}
/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sand :focus-visible { outline-color: var(--cobalt); }

h1, h2, h3 { font-weight: 400; margin: 0; }
h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: .92;
  letter-spacing: -.02em;
}
h3 { font: 600 1rem/1.3 var(--sans); }
p { margin: 0 0 1em; }
.nowrap { white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) + var(--line-room));
  margin-inline: auto;
  padding-left: var(--pad);
  padding-right: var(--line-room);
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--jungle); padding: .6em 1em;
}
.skip:focus { top: 8px; }

/* sections sit above the line's background but under nothing else */
main > section { position: relative; }
main > section > :not(.highlights__bg):not(.hero__photo):not(.band__photo) { position: relative; z-index: 2; }

/* TODO markers — remove before sending */
mark.todo {
  background: var(--mustard);
  color: var(--jungle);
  font: 600 .72rem/1.3 var(--sans);
  padding: .15em .45em;
  border-radius: 2px;
  outline: 1px dashed var(--chili);
  white-space: normal;
  vertical-align: .15em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: baseline; gap: .5em;
  padding: .85em 1.35em .8em;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: color-mix(in srgb, var(--sand) 12%, transparent); }
.btn--solid { background: var(--gold); border-color: var(--gold); color: var(--jungle); }
.btn--solid:hover { background: var(--sand); border-color: var(--sand); }
.btn small { font-weight: 400; opacity: .7; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--pad);
  transition: background-color .3s;
}
.nav.is-solid { background: color-mix(in srgb, var(--jungle) 88%, transparent); backdrop-filter: blur(8px); }
.nav__logo svg { width: 92px; height: 38px; color: var(--sand); }
.nav__logo { opacity: 0; transition: opacity .3s; }
.nav.is-solid .nav__logo { opacity: 1; }
.nav__toggle {
  font: 600 .9rem var(--sans); color: var(--sand);
  background: none; border: 1px solid var(--rule); border-radius: 999px; padding: .5em 1em;
}
.nav__links { display: none; }
.nav.is-open .nav__links {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; right: var(--pad);
  background: var(--jungle); border: 1px solid var(--rule);
  padding: .75rem 1.25rem; min-width: 12rem;
}
.nav__links a { text-decoration: none; padding: .45em 0; font-size: .95rem; }
.nav__links a:hover { color: var(--gold); }
.nav__links a[aria-current="true"] { color: var(--gold); }
@media (min-width: 1000px) {
  .nav__toggle { display: none; }
  .nav__links, .nav.is-open .nav__links { display: flex; flex-direction: row; gap: 1.6rem; position: static; background: none; border: 0; padding: 0; min-width: 0; }
  .nav__links a { font-size: .9rem; }
}

/* ---------- the line ---------- */
.line {
  position: absolute; top: 0; left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.line path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.line__path { stroke-width: 2.25; }
.line__ghost { stroke: var(--sand); stroke-width: 1; opacity: .08; }
.line__pen { fill: var(--gold); }
.line__pen { transform-box: fill-box; transform-origin: center; }
.line__pen.is-resting { animation: beat .4167s ease-out infinite; } /* 144 BPM, only while resting at the top */
@keyframes beat { 0% { transform: scale(1.18); } 60%, 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .line__pen, .line__pen.is-resting { animation: none; } }
.line__bpm text { font: 500 10px var(--sans); letter-spacing: .04em; fill: var(--ink-soft); }
@media (max-width: 759px) { .line__path { stroke-width: 1.5; } .line__bpm { display: none; } .line__pen { r: 3.5px; } }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-rows: 70svh auto;
  background: var(--jungle);
}
.hero__photo { grid-row: 1; grid-column: 1; position: relative; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--jungle) 55%, transparent), transparent 22%, transparent 55%, var(--jungle));
}
.hero__text {
  grid-row: 2; grid-column: 1; align-self: start;
  padding: 1.5rem var(--line-room) 3.5rem var(--pad);
  display: flex; flex-direction: column;
}
.hero__for { font-style: italic; font-size: .95rem; color: var(--ink-soft); margin: 0 0 1rem; }
.hero__for span { font-style: normal; font-weight: 600; color: var(--sand); }
.hero__logo { margin: 0 0 0 -2%; color: var(--sand); }
.hero__logo svg { width: min(100%, 560px); height: auto; filter: drop-shadow(0 2px 18px rgba(14, 19, 8, .55)); }


@media (min-width: 760px) {
  .hero { grid-template-columns: 38fr 62fr; grid-template-rows: 1fr; min-height: max(100svh, 640px); }
  .hero__photo { grid-column: 2; grid-row: 1; }
  .hero__photo::after { background: linear-gradient(to right, var(--jungle), transparent 30%), linear-gradient(to bottom, color-mix(in srgb, var(--jungle) 50%, transparent), transparent 18%, transparent 75%, color-mix(in srgb, var(--jungle) 70%, transparent)); }
  .hero__text { grid-column: 1 / 3; grid-row: 1; align-self: center; padding-top: 4rem; padding-bottom: 0; }
  .hero__logo svg { width: min(58vw, 860px); }
}

/* ---------- highlights ---------- */
.highlights { min-height: 88svh; display: grid; align-items: center; overflow: hidden; }
.highlights__bg, .highlights__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.highlights__bg img { object-fit: cover; filter: saturate(.85) blur(1.5px); transform: scale(1.03); }
.highlights__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(color-mix(in srgb, var(--jungle) 78%, transparent), color-mix(in srgb, var(--jungle) 88%, transparent)); }
.highlights__inner { padding-block: 6rem 2rem; }
.highlights__statement {
  font: 400 clamp(1.9rem, 4.6vw, 3.9rem)/1.1 var(--serif);
  letter-spacing: -.015em;
  max-width: 22ch;
  margin-bottom: 2rem;
  text-wrap: balance;
}
.highlights__statement strong { font-weight: 400; color: var(--gold); }
.highlights__more { display: grid; gap: 2.5rem; margin-top: 3.5rem; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.values li { color: var(--ink-soft); font-size: .98rem; max-width: 40ch; }
.values b { display: block; font: 400 1.35rem/1.2 var(--serif); color: var(--sand); }
.values b::before { content: ""; display: inline-block; width: 1.4rem; border-top: 1px solid var(--gold); vertical-align: .3em; margin-right: .6rem; }
.highlights__facts { align-self: end; font-size: .98rem; max-width: 40ch; }
.highlights__caption { font-size: .8rem; color: var(--ink-soft); margin: 3.5rem 0 0; }
@media (min-width: 900px) {
  .highlights__more { grid-template-columns: 7fr 5fr; column-gap: 4rem; }
  .values { grid-template-columns: 1fr 1fr; gap: 1.6rem 2.5rem; }
}

/* ---------- live ---------- */
.live { padding-block: clamp(4rem, 10vw, 8rem); }
.live .wrap { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.live__head { grid-column: 1 / -1; display: grid; gap: 1rem; align-items: end; }
.lede { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 30ch; margin: 0; }
.live figure { margin: 0; grid-column: 1 / -1; }
.live video, .yt { width: 100%; aspect-ratio: 16 / 9; background: #000000; }
figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .6rem; max-width: 60ch; }
figcaption strong, figcaption b { color: var(--ink); font-weight: 600; }
@media (min-width: 760px) {
  .live__head { grid-template-columns: auto 1fr; gap: 3rem; }
  .live__head .lede { padding-bottom: .6rem; }
  .live .live__main { grid-column: 1 / 11; }
  .live .live__rudina { grid-column: 1 / 7; grid-row: 3; }
  .live .live__second { grid-column: 7 / 13; grid-row: 3; margin-top: 6rem; }
}

.yt { position: relative; overflow: hidden; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt img { filter: brightness(.7); }
.yt__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  background: none; border: 0; color: var(--sand); cursor: pointer;
  font: 600 1rem/1.3 var(--sans); text-align: left;
}
.yt__play small { display: block; font-weight: 400; font-size: .75rem; opacity: .75; }
.yt__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); position: relative; flex: none; transition: transform .2s; }
.yt__icon::after { content: ""; position: absolute; left: 26px; top: 21px; border: 11px solid transparent; border-left: 16px solid var(--jungle); border-right: 0; }
.yt__play:hover .yt__icon { transform: scale(1.06); }

/* ---------- about ---------- */
/* on the green panels the muted text needs more ink to keep WCAG AA (4.5:1) */
.about, .shows, .formats { --ink-soft: color-mix(in srgb, var(--sand) 85%, transparent); }
.about { background: var(--moss); padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); }
.about__grid { display: grid; gap: 2.5rem; }
.about__bio p { max-width: 62ch; }
.about__bio p:first-child { font-size: 1.2rem; line-height: 1.5; }
.sound { list-style: none; margin: 0; padding: 0; font-family: var(--serif); line-height: 1.05; }
.sound li { font-size: calc(1.05rem + var(--i, 0) * .17rem); color: color-mix(in srgb, var(--sand) calc(55% + var(--i, 0) * 5%), var(--moss)); }
.sound li:nth-child(1) { --i: 0; } .sound li:nth-child(2) { --i: 1; padding-left: .5em; }
.sound li:nth-child(3) { --i: 2; padding-left: 1.4em; } .sound li:nth-child(4) { --i: 3; padding-left: .3em; }
.sound li:nth-child(5) { --i: 4; padding-left: 2em; } .sound li:nth-child(6) { --i: 5; padding-left: .8em; }
.sound li:nth-child(7) { --i: 6; padding-left: 2.6em; } .sound li:nth-child(8) { --i: 7; padding-left: .2em; }
.sound li:nth-child(9) { --i: 8; padding-left: 1.2em; }
.sound li:nth-child(10) { --i: 9; padding-left: 2.2em; color: var(--sand); }
.sound li:nth-child(11) { --i: 10; padding-left: .6em; color: var(--sand); }
.sound li:last-child { color: var(--gold); font-size: clamp(3rem, 8vw, 5.5rem); line-height: .9; margin-top: .1em; }
.about__refs { margin: 0; display: grid; gap: 1.25rem; align-content: start; font-size: .95rem; }
.about__refs dt { font-weight: 600; }
.about__refs dd { margin: .2rem 0 0; color: var(--ink-soft); max-width: 46ch; }
.about__refs .todo { justify-self: start; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 5fr 7fr; gap: 3rem 4rem; }
  .about__bio { grid-column: 2; grid-row: 1 / 3; }
  .sound { grid-column: 1; grid-row: 2; align-self: start; }
  .about__refs { grid-column: 2; }
}

.timeline { list-style: none; margin: clamp(3rem, 7vw, 6rem) 0 1rem; padding: 0 0 0 1.25rem; border-left: 1px solid var(--gold); display: grid; gap: 1.1rem; font-size: .92rem; }
.timeline li { position: relative; color: var(--ink-soft); }
.timeline li::before { content: ""; position: absolute; left: calc(-1.25rem - 4px); top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.timeline b { display: block; font: 400 1.35rem/1.2 var(--serif); color: var(--sand); }
.timeline span { display: block; margin-top: .25rem; }
.tl-shows { font: 400 1.35rem/1.1 var(--serif); color: var(--gold); }
.tl-shows--37 { font-size: 1.9rem; }
.timeline__wave { display: none; }
@media (min-width: 1100px) {
  .timeline { grid-template-columns: repeat(8, 1fr); border: 0; padding: 0; gap: 1.25rem; position: relative; padding-top: 3.25rem; }
  .timeline li::before { left: 0; top: var(--dot-top, -2.15rem); }
  .timeline__wave { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 2.6rem; color: var(--gold); }
  .timeline li:last-child b { color: var(--gold); }
}

/* ---------- band ---------- */
.band { padding-bottom: clamp(3rem, 7vw, 6rem); }
.band__photo { margin: 0; position: relative; }
.band__photo img { width: 100%; max-height: 92svh; object-fit: cover; object-position: 50% 30%; }
.band__credit { position: absolute; right: var(--line-room); top: .75rem; color: var(--sand); background: color-mix(in srgb, var(--jungle) 65%, transparent); padding: .2em .6em; font-size: .72rem; margin: 0; }
.band__title { margin-top: -0.55em; color: var(--sand); }
.band__members { list-style: none; padding: 0 var(--line-room) 0 var(--pad); margin: 2rem auto; max-width: calc(var(--max) + var(--pad) + var(--line-room)); display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
.band__members b { display: block; font: 400 1.9rem/1 var(--serif); margin-bottom: .35rem; }
.band__members span { display: block; font-size: .95rem; }
.band__members i { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: .3rem; }
.band__guests { color: var(--ink-soft); font-style: italic; }
@media (min-width: 900px) {
  .band .wrap { position: relative; }
  .band__members { display: block; position: relative; height: 10rem; margin: 4.5rem 0 1rem; padding: 0; max-width: none; }
  /* --x is measured on the photo, which spans the full width, so the list does too */
  .band__members li { position: absolute; left: var(--x); top: 0; width: min(19%, calc(100% - var(--x) - var(--line-room))); padding-left: .8rem; }
  .band__members li::before { content: ""; position: absolute; left: 0; top: -4.5rem; height: 6rem; border-left: 1px solid var(--gold); }
  .band__title { position: absolute; left: var(--pad); top: -1.5em; margin: 0; text-shadow: 0 2px 28px rgba(14, 19, 8, .7); }
}

/* ---------- gallery ---------- */
.mood { background: var(--canopy); padding-block: clamp(4rem, 10vw, 8rem); }
.mood__title { margin-bottom: 2.5rem; }
/* mobile & tablet: two columns, own order (--mo); portraits in pairs or full width */
.mood__board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g { margin: 0; grid-column: span 2; order: var(--mo); width: 100%; aspect-ratio: var(--r); max-height: 85svh; overflow: hidden; }
.g.is-pair { grid-column: span 1; aspect-ratio: 2 / 3; }
.g img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.mood__moodboard { grid-column: 1 / -1; order: var(--mo); padding-block: 1.5rem 1rem; }
.mood__word {
  font: 400 clamp(3.2rem, 11vw, 10.5rem)/.86 var(--serif);
  letter-spacing: -.03em;
  margin: 0 0 1.5rem;
  color: var(--sand);
}
.mood__word span { display: block; padding-left: .9em; color: var(--sunset); }
.mood__palette { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; font-size: .78rem; color: var(--ink-soft); }
.mood__palette li { display: grid; justify-items: center; gap: .4rem; width: 4.4rem; text-align: center; }
.mood__palette li::before { content: ""; width: 3.2rem; aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--rule); }
/* desktop: justified rows. Every row has one height and fills the width exactly,
   so no image is cropped: width = share of the row (--f) after the gaps (--n - 1) */
@media (min-width: 900px) {
  .mood__board { display: flex; flex-wrap: wrap; gap: 12px; }
  .g, .g.is-pair { flex: 1 0 auto; order: 0; max-height: none; aspect-ratio: var(--r); width: calc((100% - (var(--n) - 1) * 12px) * var(--f) - .5px); }
  .mood__moodboard { order: 0; width: 100%; display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 3rem; padding-block: 3rem; }
  .mood__word { margin: 0; }
}

/* ---------- music ---------- */
.music { padding-block: clamp(3rem, 8vw, 6rem); }
.music h2 { margin-bottom: 2.5rem; }
.tracks { margin-bottom: 3rem; }
.tracks__title { align-self: start; display: flex; align-items: center; gap: .75rem; font: 400 1.5rem/1.2 var(--serif); margin-bottom: 1rem; }
.glyph { width: 48px; height: 12px; color: var(--gold); flex: none; }
.tracks__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.track {
  display: grid; grid-template-columns: 48px 1fr auto; grid-template-areas: "c t s" "c m s";
  column-gap: 1rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px solid var(--rule);
}
.track__cover { grid-area: c; width: 48px; height: 48px; }
.track__cover img { width: 100%; height: 100%; object-fit: cover; }
.track__title { grid-area: t; font: 400 1.25rem/1.2 var(--serif); text-decoration: none; }
.track__title small { font: 400 .85rem var(--sans); color: var(--ink-soft); margin-left: .25em; }
.track__title::after { content: " ↗"; font: 400 .85rem var(--sans); color: var(--gold); }
.track__meta { grid-area: m; font-size: .85rem; color: var(--ink-soft); }
.track__streams { grid-area: s; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--gold); text-align: right; }
.track__title:hover { color: var(--gold); }
.music__note { max-width: 60ch; color: var(--ink-soft); }
@media (min-width: 900px) {
  .tracks { display: grid; grid-template-columns: 4fr 8fr; gap: 2rem; }
  .tracks--fiesta { margin-left: 0; }
  .track { grid-template-columns: 56px 1.6fr 1fr auto; grid-template-areas: "c t m s"; padding: .6rem 0; }
  .track__cover { width: 56px; height: 56px; }
  .track__title { font-size: 1.45rem; }
}

/* ---------- shows ---------- */
.shows { background: var(--fern); padding-block: clamp(4rem, 9vw, 7rem); }
.shows__grid { display: grid; gap: 2.5rem; }
.shows h3 { margin-bottom: .8rem; color: var(--gold); }
.shows ul { list-style: none; margin: 0; padding: 0; }
abbr { text-decoration: none; font-size: .68em; font-weight: 600; letter-spacing: .06em; color: var(--ink-soft); margin-left: .2em; vertical-align: .15em; }
.shows__next { margin: 0; font-size: 1.1rem; }
.shows__next span { display: inline-block; background: var(--sunset); color: var(--jungle); font-weight: 600; font-size: .8rem; padding: .25em .7em; border-radius: 999px; margin-right: .6rem; vertical-align: .1em; }
.shows__res ul { font: 400 clamp(1.8rem, 4vw, 2.8rem)/1.1 var(--serif); }
.flow { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; font-size: 1.1rem; }
.cities { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; }
.cities dt { font-weight: 600; }
.cities dd { margin: 0; color: var(--ink-soft); }
.more { color: var(--ink-soft); font-style: italic; }
p.more { margin: .7rem 0 0; }
@media (min-width: 900px) {
  .shows__grid { grid-template-columns: repeat(12, 1fr); gap: 3rem 2rem; }
  .shows__grid h2 { grid-column: 1 / 7; }
  .shows__next { grid-column: 7 / 13; align-self: end; text-align: right; }
  .shows__res { grid-column: 1 / 6; }
  .shows__col:nth-of-type(2) { grid-column: 6 / 13; align-self: end; }
  .shows__col:nth-of-type(3) { grid-column: 1 / 7; }
  .shows__col:nth-of-type(4) { grid-column: 7 / 13; }
}

/* ---------- press ---------- */
.press { padding-block: clamp(4rem, 10vw, 8rem); }
.press h2 { margin-bottom: 3rem; }
.quote { margin: 0 0 3rem; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--serif); text-wrap: pretty; }
.quote p::before { content: "“"; color: var(--gold); margin-left: -.45em; }
.quote p::after { content: "”"; color: var(--gold); }
.quote--big p { font-size: clamp(1.7rem, 4.2vw, 3.3rem); line-height: 1.12; max-width: 24ch; }
.quote--small p { font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.2; max-width: 26ch; }
.quote figcaption { font-weight: 600; color: var(--ink); font-size: .95rem; }
.quote figcaption span { font-weight: 400; color: var(--ink-soft); }
.support { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; max-width: 70ch; color: var(--ink-soft); }
.support b { color: var(--sand); }
@media (min-width: 900px) {
  .quote--big { margin-left: 4%; }
  .quote--small { margin-left: 48%; margin-top: -1rem; }
  .support { grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: none; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
}

/* ---------- formats & tech ---------- */
.formats { background: var(--moss); padding-block: clamp(4rem, 10vw, 8rem); }
.formats h2 { margin-bottom: 3rem; }
.sets { position: relative; display: grid; gap: 2.5rem; }
.set h3 { font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--serif); }
.set h3 em { font: italic 500 .9rem var(--sans); color: var(--gold); margin-left: .4rem; vertical-align: .3em; }
.set__len { margin: .3rem 0 .6rem; font-size: .9rem; color: var(--ink-soft); }
.set__bar { height: 2px; background: var(--gold); margin-left: calc(var(--from, 0) / 4.4 * 100%); width: calc((var(--to) - var(--from, 0)) / 4.4 * 100%); margin-bottom: 1rem; position: relative; }
.set__bar::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.set--open .set__bar { background: linear-gradient(to right, var(--gold) 70%, transparent); }
.set--open .set__bar::after { display: none; }
.set__bar::after { content: ""; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.set--std .set__bar { height: 4px; }
.set--dev .set__bar { background: none; border-top: 2px dashed var(--gold); height: 0; }
.set--dev .set__bar::after, .set--dev .set__bar::before { background: var(--moss); border: 2px solid var(--gold); top: -6px; }
.set p:last-child { max-width: 58ch; margin: 0; }
.sets__scale { display: none; }
.sets__scale span { width: 0; white-space: nowrap; }
.formats__guests { margin-top: 2.5rem; font-style: italic; color: var(--ink-soft); }
@media (min-width: 900px) {
  .set { display: grid; grid-template-columns: 4fr 8fr; column-gap: 3rem; }
  .set h3, .set__len { grid-column: 1; }
  .set__bar { grid-column: 2; grid-row: 1; align-self: center; }
  .set > p:last-child { grid-column: 2; grid-row: 2 / 4; }
  .sets__scale { display: flex; justify-content: space-between; margin-left: calc((100% - 3rem) * 4 / 12 + 3rem); width: calc((100% - 3rem) * 8 / 12 * 4 / 4.4); font-size: .72rem; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: .3rem; }
}
.tech { margin-top: clamp(4rem, 8vw, 6rem); display: grid; gap: 3rem; }
.tech h3 { font: 400 1.6rem/1.2 var(--serif); margin-bottom: .8rem; }
.tech__light > p { font-size: 1.15rem; max-width: 36ch; }
.tech__list ul { padding-left: 1.1rem; margin: 0 0 1.75rem; }
.tech__list li { margin-bottom: .35rem; }
.tech__list li::marker { color: var(--gold); }
.stage { margin: 2rem 0 0; max-width: 460px; }
.stage svg { width: 100%; height: auto; overflow: visible; }
.stage__booth { fill: color-mix(in srgb, var(--sand) 8%, transparent); stroke: var(--sand); stroke-width: 1; }
.stage__p circle { fill: var(--gold); }
.stage text { fill: var(--sand); font: 600 12px var(--sans); text-anchor: middle; }
.stage .stage__i { font-weight: 400; font-size: 11px; fill: var(--ink-soft); }
.stage__dim { stroke: var(--ink-soft); stroke-width: 1; fill: none; }
.stage .stage__side { font-weight: 600; font-size: 11px; letter-spacing: .08em; fill: var(--gold); }
.stage__crowd circle { fill: color-mix(in srgb, var(--sand) 35%, transparent); }
.stage__mic path { stroke: var(--sand); stroke-width: 1.5; fill: none; }
.stage__mic rect { fill: var(--sand); }
@media (min-width: 900px) { .tech { grid-template-columns: 5fr 6fr; gap: 5rem; } }

/* ---------- socials ---------- */
.socials {
  padding-block: clamp(4rem, 10vw, 8rem) 17rem;
  /* the one place the page changes colour: night through the canopy into a sunset, then sand (anchored to the bottom, inside the padding) */
  background: linear-gradient(to bottom, var(--jungle) 0 calc(100% - 15rem), var(--canopy) calc(100% - 11rem), #8E5A2A calc(100% - 7rem), var(--sunset) calc(100% - 4rem), var(--gold) calc(100% - 1.8rem), var(--sand));
}
.socials h2 { margin-bottom: 2.5rem; }
.igs { display: grid; gap: 3rem; max-width: 460px; }
.ig { margin: 0; }
.ig__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--canopy); }
.ig__frame.is-embedded { aspect-ratio: auto; overflow: visible; background: none; }
.ig__loading { position: absolute; inset: 0; display: grid; place-items: center; }
.ig__loading .yt__icon { opacity: .35; }
.ig__failed { display: none; position: absolute; inset: 0; place-content: center; text-align: center; padding: 1.5rem; background: var(--canopy); margin: 0; }
.ig.is-failed .ig__frame { aspect-ratio: 4 / 5; }
.ig.is-failed .ig__failed { display: grid; }
.ig figcaption b { display: block; color: var(--ink); }
.ig__meta { color: var(--gold); font-weight: 600; }
.ig__link { display: inline-block; margin-top: .3rem; }
/* Instagram's own embed sets a 326 px min-width; let it follow the column instead */
.ig iframe.instagram-media, .ig blockquote.instagram-media { min-width: 0 !important; max-width: 100% !important; width: 100% !important; margin: 0 !important; }
.socials__followers { margin-top: 2.5rem; }
.ig--wide { max-width: 760px; }
.private-note { display: block; margin-top: .2rem; font-size: .75rem; font-style: italic; }
@media (min-width: 900px) {
  /* Barcelona tall on the left; the landscape post and the second portrait stacked on the right */
  .igs { grid-template-columns: minmax(0, 446px) minmax(0, 1fr); grid-template-areas: "big wide" "big side"; gap: 3rem 3rem; max-width: none; align-items: start; }
  .ig--big { grid-area: big; }
  .ig--wide { grid-area: wide; width: 100%; margin-top: 3rem; }
  .ig:not(.ig--big):not(.ig--wide) { grid-area: side; width: min(100%, 360px); }
}

/* ---------- sand sections ---------- */
.sand { background: var(--sand); color: var(--jungle); --ink: var(--jungle); --ink-soft: color-mix(in srgb, var(--jungle) 70%, var(--sand)); --rule: color-mix(in srgb, var(--jungle) 20%, transparent); }
.sand a:hover { text-decoration-color: var(--cobalt); }

.vision { padding-block: 0 clamp(4rem, 9vw, 7rem); }
.vision h2 { margin-bottom: 2rem; }
.vision__lead { font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.25 var(--serif); max-width: 36ch; margin-bottom: 3rem; }
.vision__lead strong { font-weight: 400; color: var(--cobalt); }
.vision__cols { display: grid; gap: 1.5rem; }
.vision__cols strong { font-weight: 700; }
.vision__video { margin: 3.5rem 0 0; }
.vision__video figcaption { color: var(--ink-soft); }
@media (min-width: 900px) {
  .vision__cols { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .vision__video { width: 66%; margin-left: auto; }
}

.year { padding-block: clamp(3rem, 7vw, 6rem); }
.year h2 { margin-bottom: 2.5rem; }
.year__chart { position: relative; }
.year__months { display: none; }
.year__items { list-style: none; margin: 0 0 1.5rem; padding: 0 0 0 1.25rem; border-left: 2px solid var(--jungle); display: grid; gap: 1.4rem; }
.year__items li { position: relative; max-width: 52ch; }
.year__items li::before { content: ""; position: absolute; left: calc(-1.25rem - 6px); top: .35em; width: 10px; height: 10px; border-radius: 50%; background: var(--jungle); }
.year__items li.is-accent::before { background: var(--cobalt); }
.year__items li.is-invites::before { background: var(--sunset); width: 14px; height: 14px; left: calc(-1.25rem - 8px); top: .25em; }
.year__items li.is-invites b { font-size: 1.5rem; }
.year__items b { display: block; font: 400 1.3rem/1.2 var(--serif); }
.year__items .is-maybe { font-style: italic; }
@media (min-width: 900px) {
  .year__months { display: grid; grid-template-columns: repeat(12, 1fr); list-style: none; padding: 0; margin: 0 0 1rem; font-size: .78rem; color: var(--ink-soft); border-bottom: 1px solid var(--rule); }
  .year__months li { padding: 0 0 .4rem .3rem; border-left: 1px solid var(--rule); }
  .year__items { display: grid; grid-template-columns: repeat(12, 1fr); padding: 0; border: 0; gap: 1.6rem 0; }
  .year__items li { grid-column: var(--s) / var(--e); padding: .85rem 1rem 0 .3rem; border-top: 3px solid var(--jungle); font-size: .95rem; max-width: none; }
  .year__items li::before { left: -5px; top: -6.5px; }
  .year__items li.is-accent { border-top-color: var(--cobalt); }
  .year__items li.is-maybe { border-top-style: dashed; }
  /* the kick-off concert: one month on the axis, text allowed to run on */
  .year__items li.is-invites { border-top-color: transparent; }
  .year__items li.is-invites::after { content: ""; position: absolute; left: 0; top: -3px; width: 25%; height: 5px; background: var(--sunset); }
  .year__items li.is-invites::before { left: -7px; top: -8.5px; }
}

.dream { padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 9vw, 7rem); }
.dream h2 { margin-bottom: 1rem; }
.dream__legend { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); margin-bottom: 2.5rem; }
.dot, .known::after { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); }
.known::after { content: ""; margin-left: .3em; vertical-align: .15em; }
.dream__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.dream__grid { display: grid; gap: 3rem; }
.dream h3 { font: 400 1.6rem var(--serif); margin-bottom: 1rem; }
.countries { margin: 0; display: grid; grid-template-columns: 3.2rem 1fr; gap: .55rem 1rem; align-items: baseline; }
.countries dt { font: 400 1.3rem/1 var(--serif); }
.countries dd { margin: 0; font-size: 1.05rem; }
.countries--cities { grid-template-columns: 6.5rem 1fr; }
.countries--cities dt { font: 600 .95rem var(--sans); }
@media (min-width: 900px) { .dream__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* ---------- contact ---------- */
.contact { padding-top: clamp(5rem, 12vw, 9rem); }
.contact__grid { display: grid; gap: 2.5rem; }
.contact__mail { font: 400 clamp(1.35rem, 5.5vw, 4.5rem)/1.1 var(--serif); margin: 0; overflow-wrap: anywhere; }
.contact__mail a { text-decoration-color: var(--gold); }
.contact__more { margin: 0; display: grid; gap: 1.5rem; }
.contact__more dt { font-weight: 600; color: var(--gold); font-size: .9rem; margin-bottom: .3rem; }
.contact__more dd { margin: 0; }
.downloads { display: flex; flex-wrap: wrap; gap: .6rem; }
.downloads a { border: 1px solid var(--rule); border-radius: 999px; padding: .5em 1em; text-decoration: none; font-size: .92rem; }
.downloads a:hover { border-color: var(--gold); }
.downloads small { color: var(--ink-soft); }
.contact__thanks { font: 400 clamp(1.3rem, 2.5vw, 1.8rem)/1.3 var(--serif); margin: 2rem 0 0; max-width: 24ch; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 5rem 2rem; font-size: .8rem; color: var(--ink-soft); }
.footer p { margin: 0; }
.footer__social { list-style: none; margin: 0 0 1.5rem; padding: 0; width: 100%; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; font: 400 1.25rem var(--serif); }
.footer__social a { color: var(--sand); text-decoration-color: var(--gold); }
.footer__social a:hover { color: var(--gold); }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 7fr 5fr; column-gap: 4rem; }
  .contact__grid h2, .contact__mail { grid-column: 1 / -1; }
  .contact__more { grid-column: 1; grid-template-columns: 1fr 1fr; }
  .contact__thanks { grid-column: 2; align-self: end; }
}

