/* House colours come from the black stage, cyclamen costumes and amber footlights on the cover. */
:root {
  --ink: #25191e;
  --paper: #fbf6ec;
  --berry: #84284c;
  --rose: #ff9cb6;
  --amber: #ffbf39;
  --stage: #0b0709;
  --muted: #685860;
  --line: #d5c9bc;
  --orange: var(--berry);
  --lime: #ffdf91;
}
body { color: var(--ink); background: var(--paper); }
header { min-height: 78px; }
header .asterisk { color: var(--berry); }
header nav a { font-weight: 650; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #ae3566; outline-offset: 3px;
}
.hero {
  isolation: isolate; position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  background: var(--stage); color: var(--paper); border-radius: 0;
  min-height: 0; border-bottom: 4px solid #852e52; margin-bottom: 12px;
}
.hero-copy {
  position: relative; z-index: 1; align-self: center; min-width: 0;
  background: transparent; color: var(--paper);
  padding: clamp(2.3rem,4.2vw,4.6rem) 0 clamp(2rem,3.5vw,4rem) clamp(1.6rem,4.5vw,5rem);
}
.hero .eyebrow { color: var(--amber); text-transform: uppercase; letter-spacing: .19em; }
.hero h1 { margin: 0 0 1.15rem; letter-spacing: -.055em; line-height: .96; }
.hero h1 span { display: block; color: var(--paper); font: 590 clamp(2.1rem,3.9vw,4.6rem)/1.05 Manrope,sans-serif; letter-spacing: -.055em; }
.hero h1 em {
  display: block; padding: 0 .08em .04em 0; font: italic 400 clamp(4.4rem,8.15vw,8.4rem)/.91 Georgia,serif;
  color: var(--rose); letter-spacing: -.075em;
}
.hero .intro { color: #f2dfdc; font-size: 1rem; line-height: 1.5; max-width: 35ch; margin-bottom: 1.3rem; }
.hero .button { background: var(--amber); color: #351522; border: 0; border-radius: 0; padding: .7rem 1.2rem; }
.hero .button:hover { background: #ffda86; color: var(--ink); }
.hero-photo {
  position: absolute; inset: 0 0 0 34%; z-index: -1; min-height: 0; margin: 0;
  background: #060405; overflow: hidden;
}
.hero-photo img { inset: 0; height: 100%; width: 100%; opacity: 1; object-fit: cover; object-position: 50% 60%; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,var(--stage),transparent 33%);
}
.hero-photo figcaption { z-index: 2; left: auto; right: 1rem; bottom: .7rem; color: #f5ece0; background: #100a0ccc; padding: .25rem .45rem; }
.nearby-preview {
  color: var(--paper); border: 0; border-left: 2px solid var(--rose);
  margin-top: 1.65rem; padding: .12rem 0 .12rem .9rem; width: min(95%,27rem);
}
.nearby-preview small { color: var(--rose); }
.nearby-preview span { color: #f4ded9; }
.section-heading h2,.detail-page h1,.detail-page h2 { font-weight: 750; letter-spacing: -.06em; }
.section-heading .eyebrow,.map-heading .eyebrow,.card-location,.distance-label { color: var(--berry); }
.explore { padding-top: clamp(2.6rem,5vw,4.8rem); }
.nearby-controls,.country-tabs { background: #f0e4d6; color: var(--ink); border-radius: 0; }
.nearby-controls select,.country-directory nav a { background: #fffdf6; }
.filters { border: 1px solid #ad998a; border-top: 3px solid var(--berry); background: #fffdf7; border-radius: 0; box-shadow: 0 4px 0 #e8dcce; }
.filters label > span,.filters input::placeholder { color: var(--muted); }
.finder-map > summary { background: transparent; color: var(--berry); text-decoration: underline; padding-left: 0; }
.event-card { --practice: #75384c; background: #fffdf7; border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 3px 0 #e7ddcf; }
.event-card[data-practice="Gaga"] { --practice: #8d264d; }
.event-card[data-practice="5Rhythms"] { --practice: #79501d; }
.event-card[data-practice="Open Floor"] { --practice: #30596b; }
.event-card[data-practice="Contact Improvisation"] { --practice: #405a3e; }
.event-card[data-practice="Ecstatic Dance"] { --practice: #913d2a; }
.event-card[data-practice="Movement Medicine"] { --practice: #694157; }
.event-card[data-practice="Feldenkrais"] { --practice: #2c635c; }
.event-card:hover { transform: translateY(-2px); box-shadow: 0 6px 10px #40292a18; }
.card-top,.event-card.dated .card-top {
  background: #f8f0e3; color: var(--ink); align-items: flex-start; flex-wrap: wrap;
  border-top: 4px solid var(--practice); border-bottom: 1px dashed #b9a99c; padding: .9rem 1.2rem;
}
.card-date,.card-top > span:first-child { font-size: 1.05rem; font-weight: 750; line-height: 1.25; }
.card-date small { color: var(--muted); }
.type-tag,.event-card.dated .type-tag { background: var(--practice); color: #fff; border-radius: 2px; white-space: normal; }
.card-body h3,.venue,.schedule { color: var(--ink); }
.organiser-link { background: var(--berry); color: white; border-radius: 2px; }
.schedule-dates,.practice-facts { background: #f0e7d9; }
.place,.page-picture { border-radius: 3px; }
.place-overlay strong { color: white; }
.about { background: #52162f; color: var(--paper); border-radius: 0; }
.about-symbol { color: var(--rose); }
.map-section { background: #eee4d7; border-radius: 4px; }
.travel-panel { border-left: 6px solid var(--orange); background: #f2e8d9; border-radius: 3px; }
footer { background: var(--ink); color: white; }
.detail-page > h1 { border-left: .1em solid var(--orange); padding-left: .25em; }
.detail-page > p,.breadcrumbs { color: var(--muted); }
.page-picture { background: var(--ink); border: 0; box-shadow: none; }
.page-picture figcaption { color: white; background: linear-gradient(transparent,#1b1015); }
.page-picture figcaption a { color: #ffe3a9; }
.page-picture[data-format="archive"] { padding: 1rem; background: #312329; }
.page-picture[data-format="archive"] img { height: 230px; object-fit: contain; }
.page-picture[data-format="archive"] figcaption { position: static; padding: .75rem 0 0; background: transparent; }
@media (min-width: 850px) {
  .place-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: end; }
  .place:nth-child(2) { height: 335px; }
  .place:nth-child(3) { height: 360px; }
}
@media (max-width: 650px) {
  .hero,.hero:has(.nearby-preview[hidden]) { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo { position: relative; inset: auto; grid-area: 1 / 1; height: clamp(145px,43vw,220px); }
  .hero-photo img { object-position: 50% 61%; }
  .hero-photo::before { background: linear-gradient(0deg,var(--stage),transparent 26%); }
  .hero-photo figcaption { display: block; top: .4rem; bottom: auto; left: auto; right: .45rem; font-size: 9px; }
  .hero-copy { grid-area: 2 / 1; padding: .3rem 6% 1.6rem; }
  .hero .eyebrow { margin-bottom: .75rem; }
  .hero h1 { margin-bottom: .8rem; }
  .hero h1 span { font-size: clamp(1.85rem,7.3vw,2.7rem); }
  .hero h1 em { font-size: clamp(3.75rem,15.5vw,6rem); }
  .hero .intro { max-width: 38ch; margin-bottom: 1rem; }
  .nearby-preview { margin-top: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .event-card,.place img { transition: none; }
  .event-card:hover { transform: none; }
}

.guide-cover {
  --pigment: #865c61;
  --cover-paper: color-mix(in srgb, var(--pigment) 23%, var(--paper));
  --cover-ink: color-mix(in srgb, var(--pigment) 27%, #25151d);
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center;
  gap: 0; margin: 1.25rem 0 2.5rem; background: var(--cover-paper); color: var(--cover-ink);
}
.guide-cover h1 { margin: 0; padding: clamp(1rem,3.4vw,3.6rem); color: inherit; font-weight: 750; font-size: clamp(2.25rem,4.6vw,4.8rem); letter-spacing: -.06em; overflow-wrap: anywhere; }
.guide-cover .page-picture { margin: 0; border-radius: 0; }
.guide-cover .page-picture img { height: clamp(190px,23vw,320px); }
.guide-cover .page-picture[data-format="archive"] img { height: 190px; }
.movement-print { overflow: hidden; background: #f3e0cf; border-radius: 2px; }
.movement-print canvas { width: 100%; height: auto; display: block; }
.photo-credits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; gap: 1.25rem 2.5rem; margin: 2rem 0; padding: 0; }
.photo-credits li { border-top: 2px solid var(--ink); padding: 1rem 0; overflow-wrap: anywhere; }
.photo-credits li:target { border-color: var(--orange); background: #ffe7b9; }
.photo-credits h2 { font-size: 1.35rem; letter-spacing: -.035em; margin: 0 0 .5rem; }
.photo-credits p { margin: .5rem 0; font-size: .9rem; }
@media (max-width: 650px) {
  .guide-cover,.photo-credits { grid-template-columns: 1fr; }
  .guide-cover { gap: 0; margin-bottom: 1.3rem; }
  .guide-cover h1 { font-size: clamp(2.1rem,9vw,3.5rem); }
  .guide-cover .page-picture img { height: 185px; }
  .movement-print canvas { max-height: 116px; object-fit: cover; }
}
