/* The Well: the whole look of the site (ported from the single-page site). */
/* Layout: one clear page with three tabs under the ocean-coloured sign board. White walls and plain type; only the wavy edge of the sign moves on its own, and the sheets of turquoise under it respond. */
:root {
  --wall: #DDF0F1;
  --surface: #F0FAF9;
  --ink: #0E2A3A;
  --muted: #3F5E6E;
  --line: #B4D9D9;
  --sign: #17587A;
  --sign-deep: #0F4563;
  --cream: #EAF6F7;
  --board-ink: #0E3A52;
  --board-rule: #7FC4C9;
  --pick: #3CB9B4;
  --pick-ink: #082632;
  --turquoise: #38ABAC;
  --on-sign: #EAF6F7;
  --practice: #D5F0E6;
  --practice-ink: #14533F;
  --music: #FBEBCF;
  --music-ink: #6E4A10;
  --gallery: #DCE6F6;
  --gallery-ink: #27457A;
  --f-display: "Marcellus", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
/* The window photo at full width, staying put behind the content. */
:root { --head: 7.5rem; --pin: var(--head); --head-top: 0px; --d: clamp(8px, 0.85vw, 14px); --strip: calc(var(--d) * 2.6); --sheet-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' preserveAspectRatio='none'%3E%3Cpath d='M0 0L0.0 81.9L0.8 82.4L1.7 82.6L2.5 82.8L3.3 82.8L4.2 82.7L5.0 82.5L5.8 82.2L6.7 81.9L7.5 81.6L8.3 81.4L9.2 81.3L10.0 81.3L10.8 81.4L11.7 81.8L12.5 82.2L13.3 82.9L14.2 83.7L15.0 84.6L15.8 85.5L16.7 86.5L17.5 87.5L18.3 88.5L19.2 89.3L20.0 90.0L20.8 90.6L21.7 90.9L22.5 91.0L23.3 91.0L24.2 90.7L25.0 90.3L25.8 89.7L26.7 88.9L27.5 88.1L28.3 87.3L29.2 86.5L30.0 85.6L30.8 84.9L31.7 84.3L32.5 83.7L33.3 83.3L34.2 83.0L35.0 82.7L35.8 82.6L36.7 82.5L37.5 82.3L38.3 82.2L39.2 82.0L40.0 81.7L40.8 81.3L41.7 80.8L42.5 80.1L43.3 79.3L44.2 78.4L45.0 77.4L45.8 76.3L46.7 75.2L47.5 74.1L48.3 73.1L49.2 72.2L50.0 71.5L50.8 70.9L51.7 70.6L52.5 70.6L53.3 70.8L54.2 71.2L55.0 71.9L55.8 72.8L56.7 73.9L57.5 75.2L58.3 76.6L59.2 78.0L60.0 79.4L60.8 80.8L61.7 82.1L62.5 83.3L63.3 84.4L64.2 85.4L65.0 86.2L65.8 86.9L66.7 87.4L67.5 87.9L68.3 88.3L69.2 88.7L70.0 89.0L70.8 89.4L71.7 89.8L72.5 90.2L73.3 90.8L74.2 91.3L75.0 91.9L75.8 92.6L76.7 93.2L77.5 93.8L78.3 94.3L79.2 94.7L80.0 95.0L80.8 95.0L81.7 94.8L82.5 94.3L83.3 93.6L84.2 92.7L85.0 91.4L85.8 90.0L86.7 88.3L87.5 86.5L88.3 84.6L89.2 82.7L90.0 80.7L90.8 78.8L91.7 77.0L92.5 75.4L93.3 74.0L94.2 72.8L95.0 71.8L95.8 71.0L96.7 70.5L97.5 70.2L98.3 70.0L99.2 70.0L100.0 70.2L100 0Z' fill='%232FA9AB'/%3E%3C/svg%3E"); --sheet-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' preserveAspectRatio='none'%3E%3Cpath d='M0 0L0.0 66.3L0.8 66.9L1.7 67.5L2.5 68.1L3.3 68.5L4.2 68.8L5.0 69.0L5.8 68.9L6.7 68.7L7.5 68.4L8.3 67.9L9.2 67.4L10.0 66.9L10.8 66.3L11.7 65.9L12.5 65.4L13.3 65.1L14.2 64.9L15.0 64.7L15.8 64.6L16.7 64.4L17.5 64.3L18.3 64.1L19.2 63.9L20.0 63.5L20.8 63.0L21.7 62.4L22.5 61.6L23.3 60.9L24.2 60.0L25.0 59.2L25.8 58.5L26.7 57.9L27.5 57.6L28.3 57.5L29.2 57.7L30.0 58.3L30.8 59.2L31.7 60.4L32.5 61.9L33.3 63.7L34.2 65.7L35.0 67.7L35.8 69.8L36.7 71.8L37.5 73.6L38.3 75.2L39.2 76.5L40.0 77.5L40.8 78.2L41.7 78.5L42.5 78.5L43.3 78.3L44.2 77.8L45.0 77.1L45.8 76.4L46.7 75.7L47.5 75.0L48.3 74.4L49.2 74.0L50.0 73.7L50.8 73.7L51.7 73.8L52.5 74.1L53.3 74.5L54.2 75.0L55.0 75.5L55.8 76.1L56.7 76.6L57.5 77.0L58.3 77.4L59.2 77.6L60.0 77.8L60.8 77.9L61.7 78.0L62.5 78.0L63.3 78.1L64.2 78.2L65.0 78.4L65.8 78.8L66.7 79.2L67.5 79.7L68.3 80.2L69.2 80.8L70.0 81.4L70.8 81.9L71.7 82.3L72.5 82.5L73.3 82.4L74.2 82.1L75.0 81.4L75.8 80.4L76.7 79.1L77.5 77.5L78.3 75.7L79.2 73.8L80.0 71.7L80.8 69.6L81.7 67.6L82.5 65.8L83.3 64.2L84.2 62.9L85.0 61.9L85.8 61.3L86.7 61.1L87.5 61.2L88.3 61.5L89.2 62.1L90.0 62.9L90.8 63.8L91.7 64.6L92.5 65.5L93.3 66.2L94.2 66.8L95.0 67.1L95.8 67.3L96.7 67.3L97.5 67.1L98.3 66.7L99.2 66.2L100.0 65.7L100 0Z' fill='%232FA9AB'/%3E%3C/svg%3E"); --sheet-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' preserveAspectRatio='none'%3E%3Cpath d='M0 0L0.0 67.9L0.8 68.0L1.7 68.1L2.5 68.1L3.3 68.2L4.2 68.2L5.0 68.2L5.8 68.0L6.7 67.8L7.5 67.5L8.3 67.0L9.2 66.4L10.0 65.7L10.8 64.7L11.7 63.6L12.5 62.4L13.3 61.0L14.2 59.6L15.0 58.0L15.8 56.4L16.7 54.7L17.5 53.1L18.3 51.5L19.2 50.1L20.0 48.7L20.8 47.6L21.7 46.6L22.5 45.8L23.3 45.3L24.2 45.0L25.0 45.0L25.8 45.2L26.7 45.7L27.5 46.3L28.3 47.1L29.2 48.1L30.0 49.2L30.8 50.4L31.7 51.6L32.5 52.9L33.3 54.1L34.2 55.3L35.0 56.5L35.8 57.6L36.7 58.6L37.5 59.6L38.3 60.4L39.2 61.2L40.0 61.8L40.8 62.5L41.7 63.0L42.5 63.6L43.3 64.1L44.2 64.6L45.0 65.1L45.8 65.6L46.7 66.1L47.5 66.6L48.3 67.2L49.2 67.7L50.0 68.2L50.8 68.7L51.7 69.2L52.5 69.5L53.3 69.8L54.2 70.0L55.0 70.0L55.8 69.9L56.7 69.6L57.5 69.2L58.3 68.6L59.2 67.9L60.0 67.1L60.8 66.1L61.7 65.1L62.5 64.0L63.3 62.8L64.2 61.7L65.0 60.6L65.8 59.5L66.7 58.6L67.5 57.8L68.3 57.1L69.2 56.5L70.0 56.1L70.8 55.9L71.7 55.8L72.5 55.9L73.3 56.1L74.2 56.4L75.0 56.7L75.8 57.1L76.7 57.6L77.5 58.0L78.3 58.4L79.2 58.7L80.0 58.9L80.8 59.0L81.7 59.0L82.5 58.8L83.3 58.6L84.2 58.2L85.0 57.7L85.8 57.1L86.7 56.5L87.5 55.8L88.3 55.2L89.2 54.5L90.0 53.9L90.8 53.4L91.7 52.9L92.5 52.6L93.3 52.4L94.2 52.4L95.0 52.4L95.8 52.6L96.7 52.9L97.5 53.3L98.3 53.9L99.2 54.4L100.0 55.1L100 0Z' fill='%232FA9AB'/%3E%3C/svg%3E"); }
html { scroll-padding-top: calc(var(--pin) + 0.75rem); }
body { position: relative; }
/* the room stays still behind the page, filling the window below the header; it starts high enough to tuck under the header's waves */
.backdrop { position: fixed; top: calc(var(--pin) - var(--d) * 2.2 - 3px); left: 0; z-index: -1; width: 100%; height: calc(100lvh - var(--pin) + var(--d) * 2.2 + 3px); max-width: none; object-fit: cover; object-position: 50% 50%; }
/* upright screens show only a slice of the picture, so they look at one of its curtains */
@media (orientation: portrait) { .backdrop { object-position: 78% 50%; } }
html, body { margin: 0; }
body { background: var(--wall); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }
[hidden] { display: none !important; }
.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
/* Each block of content is a light panel on the backdrop, so text never sits directly on the blur. */
.section { padding-block: 3.5rem; background: rgba(224, 243, 243, 0.95); box-shadow: 0 10px 26px -18px rgba(8, 38, 50, 0.6); }
.section + .section { margin-top: 1.25rem; }
.section { border-radius: 8px; }
@media (max-width: 1175px) { .section { margin-inline: 8px; } }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.section-lede { color: var(--muted); max-width: 60ch; margin-top: 0.5rem; }
.btn { display: inline-flex; align-items: center; gap: 0.4rem; font: 600 1rem/1 var(--f-body); padding: 0.8rem 1.15rem; border-radius: 6px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--surface); }
.btn.primary { background: var(--sign); border-color: var(--sign); color: var(--on-sign); }
.btn.primary:hover { background: var(--sign-deep); border-color: var(--sign-deep); }

/* ---------- header: the logo on the sign board, and the three tabs ---------- */
.head-edge { position: sticky; top: var(--head-top); z-index: 2; }
.head-shade { position: relative; z-index: 1; }
.site-head { background: linear-gradient(to bottom, rgba(56, 171, 172, 0) 35%, rgba(56, 171, 172, 0.62) 100%), var(--sign) url("../images/ocean-deep-flip.jpg") left center / cover no-repeat; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--strip) + var(--d) * 0.8), transparent calc(100% - var(--strip) + var(--d) * 0.8 + 1.5px)); mask-image: linear-gradient(to bottom, #000 calc(100% - var(--strip) + var(--d) * 0.8), transparent calc(100% - var(--strip) + var(--d) * 0.8 + 1.5px)); }
/* The waves live in a thin strip along the bottom of the header, so only that strip redraws as they move; the header above it never does.
   The strip has its own copy of the header's picture, the header's exact size and lined up with it, so the two can't be told apart.
   The header reaches a little way down over the top of the strip, hiding the strip's flat top edge and its shadow.
   (The header ends in a mask rather than a clip: a clip trims the picture and its colour underneath separately, which leaves a dark hairline.) */
.edge { position: absolute; left: 0; right: 0; bottom: 0; height: var(--strip); pointer-events: none; filter: drop-shadow(0 1px 0 rgba(60, 185, 180, 0.8)) drop-shadow(0 3px 5px rgba(5, 40, 55, 0.25)); }
.edge-fill { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100.00% calc(100% - var(--d) * 0.311), 99.17% calc(100% - var(--d) * 0.244), 98.33% calc(100% - var(--d) * 0.183), 97.50% calc(100% - var(--d) * 0.131), 96.67% calc(100% - var(--d) * 0.088), 95.83% calc(100% - var(--d) * 0.056), 95.00% calc(100% - var(--d) * 0.036), 94.17% calc(100% - var(--d) * 0.026), 93.33% calc(100% - var(--d) * 0.026), 92.50% calc(100% - var(--d) * 0.035), 91.67% calc(100% - var(--d) * 0.052), 90.83% calc(100% - var(--d) * 0.074), 90.00% calc(100% - var(--d) * 0.1), 89.17% calc(100% - var(--d) * 0.128), 88.33% calc(100% - var(--d) * 0.156), 87.50% calc(100% - var(--d) * 0.182), 86.67% calc(100% - var(--d) * 0.206), 85.83% calc(100% - var(--d) * 0.226), 85.00% calc(100% - var(--d) * 0.243), 84.17% calc(100% - var(--d) * 0.256), 83.33% calc(100% - var(--d) * 0.266), 82.50% calc(100% - var(--d) * 0.274), 81.67% calc(100% - var(--d) * 0.281), 80.83% calc(100% - var(--d) * 0.288), 80.00% calc(100% - var(--d) * 0.296), 79.17% calc(100% - var(--d) * 0.306), 78.33% calc(100% - var(--d) * 0.32), 77.50% calc(100% - var(--d) * 0.338), 76.67% calc(100% - var(--d) * 0.359), 75.83% calc(100% - var(--d) * 0.385), 75.00% calc(100% - var(--d) * 0.413), 74.17% calc(100% - var(--d) * 0.445), 73.33% calc(100% - var(--d) * 0.477), 72.50% calc(100% - var(--d) * 0.509), 71.67% calc(100% - var(--d) * 0.539), 70.83% calc(100% - var(--d) * 0.566), 70.00% calc(100% - var(--d) * 0.588), 69.17% calc(100% - var(--d) * 0.604), 68.33% calc(100% - var(--d) * 0.613), 67.50% calc(100% - var(--d) * 0.616), 66.67% calc(100% - var(--d) * 0.611), 65.83% calc(100% - var(--d) * 0.6), 65.00% calc(100% - var(--d) * 0.583), 64.17% calc(100% - var(--d) * 0.563), 63.33% calc(100% - var(--d) * 0.541), 62.50% calc(100% - var(--d) * 0.518), 61.67% calc(100% - var(--d) * 0.498), 60.83% calc(100% - var(--d) * 0.481), 60.00% calc(100% - var(--d) * 0.47), 59.17% calc(100% - var(--d) * 0.467), 58.33% calc(100% - var(--d) * 0.473), 57.50% calc(100% - var(--d) * 0.487), 56.67% calc(100% - var(--d) * 0.511), 55.83% calc(100% - var(--d) * 0.544), 55.00% calc(100% - var(--d) * 0.584), 54.17% calc(100% - var(--d) * 0.63), 53.33% calc(100% - var(--d) * 0.681), 52.50% calc(100% - var(--d) * 0.734), 51.67% calc(100% - var(--d) * 0.787), 50.83% calc(100% - var(--d) * 0.838), 50.00% calc(100% - var(--d) * 0.884), 49.17% calc(100% - var(--d) * 0.925), 48.33% calc(100% - var(--d) * 0.957), 47.50% calc(100% - var(--d) * 0.981), 46.67% calc(100% - var(--d) * 0.995), 45.83% calc(100% - var(--d) * 1), 45.00% calc(100% - var(--d) * 0.996), 44.17% calc(100% - var(--d) * 0.984), 43.33% calc(100% - var(--d) * 0.966), 42.50% calc(100% - var(--d) * 0.942), 41.67% calc(100% - var(--d) * 0.914), 40.83% calc(100% - var(--d) * 0.884), 40.00% calc(100% - var(--d) * 0.854), 39.17% calc(100% - var(--d) * 0.824), 38.33% calc(100% - var(--d) * 0.795), 37.50% calc(100% - var(--d) * 0.768), 36.67% calc(100% - var(--d) * 0.743), 35.83% calc(100% - var(--d) * 0.719), 35.00% calc(100% - var(--d) * 0.697), 34.17% calc(100% - var(--d) * 0.674), 33.33% calc(100% - var(--d) * 0.651), 32.50% calc(100% - var(--d) * 0.626), 31.67% calc(100% - var(--d) * 0.598), 30.83% calc(100% - var(--d) * 0.566), 30.00% calc(100% - var(--d) * 0.53), 29.17% calc(100% - var(--d) * 0.488), 28.33% calc(100% - var(--d) * 0.442), 27.50% calc(100% - var(--d) * 0.392), 26.67% calc(100% - var(--d) * 0.339), 25.83% calc(100% - var(--d) * 0.284), 25.00% calc(100% - var(--d) * 0.229), 24.17% calc(100% - var(--d) * 0.176), 23.33% calc(100% - var(--d) * 0.126), 22.50% calc(100% - var(--d) * 0.083), 21.67% calc(100% - var(--d) * 0.047), 20.83% calc(100% - var(--d) * 0.021), 20.00% calc(100% - var(--d) * 0.005), 19.17% calc(100% - var(--d) * 0), 18.33% calc(100% - var(--d) * 0.006), 17.50% calc(100% - var(--d) * 0.023), 16.67% calc(100% - var(--d) * 0.05), 15.83% calc(100% - var(--d) * 0.085), 15.00% calc(100% - var(--d) * 0.127), 14.17% calc(100% - var(--d) * 0.173), 13.33% calc(100% - var(--d) * 0.221), 12.50% calc(100% - var(--d) * 0.269), 11.67% calc(100% - var(--d) * 0.314), 10.83% calc(100% - var(--d) * 0.355), 10.00% calc(100% - var(--d) * 0.39), 9.17% calc(100% - var(--d) * 0.417), 8.33% calc(100% - var(--d) * 0.437), 7.50% calc(100% - var(--d) * 0.449), 6.67% calc(100% - var(--d) * 0.453), 5.83% calc(100% - var(--d) * 0.451), 5.00% calc(100% - var(--d) * 0.444), 4.17% calc(100% - var(--d) * 0.433), 3.33% calc(100% - var(--d) * 0.419), 2.50% calc(100% - var(--d) * 0.406), 1.67% calc(100% - var(--d) * 0.394), 0.83% calc(100% - var(--d) * 0.384), 0.00% calc(100% - var(--d) * 0.379)); }
.edge-bg { position: absolute; left: 0; bottom: 0; width: 100%; height: var(--head-exact, var(--head)); background: linear-gradient(to bottom, rgba(56, 171, 172, 0) 35%, rgba(56, 171, 172, 0.62) 100%), var(--sign) url("../images/ocean-deep-flip.jpg") left center / cover no-repeat; }
.site-head .wrap { max-width: 1800px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 0.75rem calc(0.75rem + var(--d) * 1.7); }
/* the header's edge is a gentle uneven swell, like the ocean: the crests differ in height and spacing and never repeat. It keeps moving unevenly; the script at the end of the page does that. */
/* three see-through sheets of turquoise behind the edge, each its own swell. These images are the still version; while the edge moves, the script redraws the sheets so they respond to it. */
.sheets { position: absolute; z-index: -1; left: 0; right: 0; top: calc(100% - var(--d) * 2.2); height: calc(var(--d) * 5); overflow: hidden; pointer-events: none; }
.sheets i { position: absolute; inset: 0; background: center top / 100% 100% no-repeat; }
.sheets i:nth-child(1) { opacity: 0.35; background-image: var(--sheet-1); }
.sheets i:nth-child(2) { opacity: 0.5; background-image: var(--sheet-2); }
.sheets i:nth-child(3) { opacity: 0.65; background-image: var(--sheet-3); }
.sheets.live i { background-image: none; background-color: #2FA9AB; }
.head-brand { display: flex; align-items: center; gap: 1.1rem; flex: 2 1 38rem; min-width: 0; }
.head-text { min-width: 0; color: var(--on-sign); font-family: var(--f-display); }
.head-title { color: #6FE3D8; text-shadow: 0 1px 2px rgba(3, 16, 30, 0.55); font-size: 1.875rem; line-height: 1.2; text-wrap: balance; }
.head-mission { color: #CFF7F2; text-shadow: 0 1px 2px rgba(3, 16, 30, 0.55); margin-top: 0.2rem; font-size: 1.0625rem; line-height: 1.3; max-width: 25.5rem; text-wrap: balance; }
.logo { display: block; flex: none; }
.logo img { height: 116px; width: auto; filter: drop-shadow(0 2px 3px rgba(3, 16, 30, 0.6)); }
.tabs { display: flex; gap: 0.25rem; }
.tabs a {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  color: var(--on-sign);
}
.tabs a { display: flex; align-items: center; }
.tabs a:hover { background: rgba(60, 185, 180, 0.22); }
.tabs a[aria-current="page"] { background: var(--pick); color: var(--pick-ink); }
.head-actions { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2.5rem; }
.head-host { font-weight: 700; font-size: 1rem; line-height: 1.25; white-space: nowrap; text-decoration: none; padding: 0.65rem 1.2rem; border-radius: 999px; background: var(--cream); color: var(--board-ink); border: 1px solid var(--board-rule); box-shadow: 0 2px 5px -2px rgba(8, 38, 50, 0.45); }
.head-host:hover { background: #FFFFFF; color: var(--ink); }
/* the deepak on the Host chip: a clay lamp with a slow, uneven flame, still for people who turn off motion */
.head-host { display: inline-flex; align-items: center; gap: 0.45rem; padding-left: 0.9rem; }
.deepak { display: block; flex: none; width: 1.5rem; height: 1.5rem; overflow: visible; }
.d-bowl { fill: #B5562B; }
.d-fl { fill: #F0981A; }
.d-core { fill: #FFDB70; }
.d-flame, .d-core { transform-box: fill-box; transform-origin: 50% 100%; }
.d-flame { animation: flicker 1.9s ease-in-out infinite; }
.d-core { animation: flicker-core 1.1s ease-in-out infinite; }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) rotate(0deg); opacity: 1; }
  15% { transform: scale(0.88, 1.16) rotate(-6deg); opacity: 0.82; }
  32% { transform: scale(1.07, 0.88) rotate(3.5deg); opacity: 1; }
  48% { transform: scale(0.91, 1.12) rotate(5.5deg); opacity: 0.78; }
  66% { transform: scale(1.05, 0.92) rotate(-2.5deg); opacity: 1; }
  83% { transform: scale(0.9, 1.14) rotate(-5deg); opacity: 0.85; }
}
@keyframes flicker-core {
  0%, 100% { transform: scale(1, 1); }
  35% { transform: scale(0.8, 1.2); }
  70% { transform: scale(1.1, 0.8); }
}
@media (prefers-reduced-motion: reduce) { .d-flame, .d-core { animation: none; } }

/* ---------- home ---------- */
/* Home is one screen: the featured events and the verse, sized from the window so both fit without scrolling.
   --avail is the height left under the header. --text is the room each card keeps for its words.
   A card is as wide as its column allows or as its poster can be tall, whichever is smaller; the verse then takes what is left.
   If a window is too small for that, the sizes stop at a readable minimum and the page scrolls. */
.sr-only, #events-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#view-home { --chrome-h: var(--foot-h); --avail: calc(100svh - var(--head) - var(--chrome-h) - 4rem); --gap: 0.75rem; --pad: 0.4rem; --text: 8.125rem; --card: min((100vw - 24px - 2 * var(--gap)) / 3, (var(--avail) * 0.52 - var(--text)) * 0.75 + 2 * var(--pad)); --verse: max(1rem, min((100vw - 24px) / 13.6, (var(--avail) - (var(--card) - 2 * var(--pad)) * 4 / 3 - var(--text) - 1.25rem) / 12)); display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: center; gap: 1.25rem; min-height: calc(100svh - var(--head) - var(--chrome-h)); padding: 1.5rem 12px 1.5rem; }
#view-home[hidden] { display: none; }
.home-top { position: relative; width: 100%; }
.etched { position: relative; margin: 0; text-align: center; color: var(--ink); font-size: var(--verse); }
.etched blockquote { margin: 0; display: grid; gap: 0.6em; }
/* the verse: letters directly on the background with a firm shadow, and the key words in the title's turquoise */
.etched blockquote p { display: grid; gap: 0.1em; }
.etched blockquote span, .etched figcaption { display: block; font-family: "Cormorant Garamond", var(--f-display); font-weight: 500; font-size: 0.86em; line-height: 1.3; letter-spacing: 0.01em; text-align: center; text-wrap: balance; color: #1C1209; text-shadow: 0 0 8px rgba(236, 214, 188, 0.6); }
.etched figcaption { margin-top: 0.9em; font-size: 0.62em; letter-spacing: 0.04em; }
.tile { font-style: normal; }
.tile.key { color: #03404B; font-weight: 600; }
#whats-on .section-lede { display: none; }
#view-home > #whats-on { width: auto; max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.events { display: grid; grid-template-columns: repeat(3, var(--card)); justify-content: center; gap: var(--gap); }
.event-card { display: grid; grid-template-rows: auto 1fr; padding: var(--pad) var(--pad) 0.5rem; text-align: left; font: inherit; color: inherit; background: rgba(224, 243, 243, 0.95); border: 0; border-radius: 8px; box-shadow: 0 10px 26px -18px rgba(8, 38, 50, 0.6); cursor: pointer; }
.event-card:hover .ttl { text-decoration: underline; text-decoration-color: var(--sign-deep); text-underline-offset: 0.15em; }
#events .event-card { grid-template-rows: auto auto 1fr; }
.event-card .top-when { display: block; padding: 0.1rem 0.25rem 0.4rem; font-family: var(--f-display); font-size: min(1.0625rem, (var(--card) - 2 * var(--pad) - 0.5rem) / 7.85); line-height: 1.2; white-space: nowrap; color: var(--sign-deep); }
.event-card .pic { aspect-ratio: 3 / 4; }
.event-card .pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.event-card .body { display: block; padding: 0.4rem 0.15rem 0; }
.event-card .ttl { display: block; font-family: var(--f-display); font-size: 1rem; line-height: 1.15; }
.event-card .when { display: block; font-size: 0.75rem; font-weight: 600; line-height: 1.3; margin-top: 0.2rem; }
.event-card .note { display: none; }
@media (min-width: 560px) {
  #view-home { --text: 8.625rem; --pad: 0.5rem; --gap: 1rem; }
  .event-card .ttl { font-size: 1.25rem; }
  .event-card .when { font-size: 0.875rem; }
}
/* on landscape screens they sit side by side: the events up to 60% of the width, the verse in the rest, the same height as the cards */
@media (orientation: landscape) and (min-width: 700px) {
  #view-home { --text: 12.375rem; --pad: 0.6rem; --card: min((60vw - 24px - 2 * var(--gap)) / 3, max(8rem, var(--avail) - var(--text)) * 0.75 + 2 * var(--pad)); --verse-w: calc(100vw - 3 * var(--card) - 2 * var(--gap) - 76px); --verse: max(1rem, min(var(--verse-w) / 13.6, var(--avail) / 12)); grid-template-columns: max-content minmax(0, 1fr); justify-items: stretch; gap: 1.75rem; padding-inline: 24px; --avail: calc(100svh - var(--head) - var(--chrome-h) - 4.5rem); padding-bottom: 1.75rem; }
  #view-home > #whats-on { grid-column: 1; grid-row: 1; }
  #view-home > .home-top { grid-column: 2; grid-row: 1; }
  .etched { display: grid; align-content: center; height: 100%; }
  .event-card { padding-bottom: 0.85rem; }
  .event-card .body { padding: 0.6rem 0.25rem 0; }
  .event-card .ttl { font-size: 1.375rem; }
  .event-card .when { font-size: 0.9375rem; line-height: 1.35; margin-top: 0.3rem; }
  .event-card .note { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--muted); font-size: 0.875rem; line-height: 1.4; margin-top: 0.3rem; }
}

/* on a phone the featured events stack, one above the other, each with its whole poster and its words; Home scrolls */
@media (max-width: 600px) {
  #view-home { --card: min(100vw - 24px, 26rem); --pad: 0.5rem; --gap: 1rem; --verse: min((100vw - 24px) / 13.6, 1.75rem); }
  .events { grid-template-columns: var(--card); }
  .event-card { padding-bottom: 0.85rem; }
  .event-card .body { padding: 0.6rem 0.25rem 0; }
  .event-card .ttl { font-size: 1.375rem; }
  .event-card .when { font-size: 0.9375rem; line-height: 1.35; margin-top: 0.3rem; }
  .event-card .note { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--muted); font-size: 0.875rem; line-height: 1.4; margin-top: 0.3rem; }
}

.week { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.week > li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding-block: 0.8rem; border-bottom: 1px solid var(--line); }
.week .day { font-family: var(--f-display); font-size: 1.1875rem; }
.week ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.week-item { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.15rem 0; width: 100%; font: inherit; color: inherit; text-align: left; background: none; border: 0; cursor: pointer; }
.week-item .time { color: var(--muted); font-variant-numeric: tabular-nums; }
.week-item .name { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.2em; }
.week-item:hover .name { text-decoration-color: var(--ink); }
.week-item.linked { background: rgba(60, 185, 180, 0.32); box-shadow: 0 0 0 0.2rem rgba(60, 185, 180, 0.32); border-radius: 2px; }
.week-item.linked .name { text-decoration-color: var(--ink); }
.week-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 1.25rem; color: var(--muted); font-size: 0.9375rem; }

.host-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3.5rem; align-items: center; }
.host h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.08; text-wrap: balance; }
.host p { margin-top: 0.9rem; max-width: 38ch; font-size: 1.1875rem; }
.host .host-call { flex-wrap: wrap; gap: 0.25rem 0.6rem; margin-top: 1.5rem; padding: 1rem 1.4rem; font-size: 1.125rem; line-height: 1.25; background: #0E3C58; border-color: #0E3C58; color: var(--cream); }
.host-email { display: block; width: fit-content; max-width: 100%; margin-top: 1rem; font-size: 1.125rem; font-weight: 600; overflow-wrap: anywhere; }
.host-address { margin-top: 0.75rem; font-style: normal; font-size: 1.0625rem; line-height: 1.4; }
.host .host-call:hover { background: var(--sign); border-color: var(--sign); }
.host .host-call b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.host img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 52%; border-radius: 6px; box-shadow: 0 12px 26px -14px rgba(8, 38, 50, 0.6); }

/* ---------- calendar ---------- */
.cal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 1.25rem; }
.cal-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.cal-nav { display: flex; gap: 0.4rem; }
.cal-nav .btn { padding: 0.65rem 0.95rem; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--surface); }
.cal .dow { padding: 0.5rem 0.6rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--wall); }
.cal .cell { min-height: 7.5rem; padding: 0.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.cal .cell.other { background: var(--wall); }
.cal .num { font-size: 0.875rem; font-weight: 600; color: var(--muted); padding-inline: 0.25rem; align-self: flex-start; font-variant-numeric: tabular-nums; }
.cal .cell.today .num { background: var(--ink); color: var(--cream); border-radius: 4px; padding-inline: 0.45rem; }
.cal .cell.past .ev { opacity: 0.6; }
.ev { display: block; width: 100%; padding: 0.25rem 0.4rem; font: inherit; font-size: 0.8125rem; line-height: 1.25; text-align: left; border: 0; border-radius: 4px; cursor: pointer; }
.ev b { font-weight: 600; display: block; }
.ev .t { display: block; font-variant-numeric: tabular-nums; }
.ev:hover { filter: brightness(0.95); }
/* hovering an event lights it up everywhere it appears on the Events page: its days in the calendar and its row in Every week */
.ev { transition: box-shadow 0.18s ease, opacity 0.18s ease; }
.ev.linked { box-shadow: 0 0 0 2px rgba(60, 185, 180, 0.5), 0 2px 10px rgba(23, 128, 134, 0.35); filter: none; }
.cal .cell.past .ev.linked { opacity: 1; }
.cat-practice { background: var(--practice); color: var(--practice-ink); }
.cat-music { background: var(--music); color: var(--music-ink); }
.cat-gallery { background: var(--gallery); color: var(--gallery-ink); }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 1rem; font-size: 0.875rem; color: var(--muted); align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend { margin: 1rem 0 0; }
.legend i { width: 1.75rem; height: 0.95rem; border-radius: 4px; display: inline-block; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent); } /* a little bar like the calendar's own entries, not a tick box */
.cal-note { margin-top: 0.5rem; padding-top: 1rem; font-size: 0.875rem; color: var(--muted); }

.agenda { display: none; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.agenda > li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 0.75rem; padding-block: 0.8rem; border-bottom: 1px solid var(--line); }
.agenda .d { text-align: center; line-height: 1.1; }
.agenda .d b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; }
.agenda .d small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.agenda li.today .d b { color: var(--sign-deep); }
.agenda .list { display: grid; gap: 0.4rem; }
.agenda .ev { font-size: 0.9375rem; padding: 0.5rem 0.65rem; }
.earlier { margin-bottom: 0.75rem; }

/* on wide screens the month and the weekly schedule sit side by side */
@media (min-width: 1200px) {
  #view-calendar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(22rem, 1fr); gap: 1.25rem; max-width: 1800px; margin-inline: auto; padding-inline: 24px; }
  #view-calendar > .section { width: auto; max-width: none; margin: 0; padding: 1.75rem; }
  #view-calendar .week { margin-top: 1rem; }
  #view-calendar .week > li { grid-template-columns: 7rem minmax(0, 1fr); gap: 0.5rem; padding-block: 0.7rem; }
  #view-calendar .week-item { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 0.2rem; }
  #view-calendar .week-item .time { font-size: 0.875rem; line-height: 1.3; }
  #view-calendar .week-item .name { line-height: 1.35; }
  #view-calendar > section:has(.week) { display: flex; flex-direction: column; }
  #view-calendar .week-foot { margin-top: auto; padding-top: 1rem; }
}

/* ---------- flyout: event details ---------- */
dialog.flyout { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(30rem, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--surface); color: var(--ink); overflow-y: auto; }
dialog.flyout[open] { animation: slide-in 0.18s ease-out; }
dialog.flyout::backdrop { background: rgba(8, 38, 50, 0.45); }
@keyframes slide-in { from { transform: translateX(2rem); opacity: 0.4; } to { transform: none; opacity: 1; } }
.fly-top { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem max(1.25rem, env(safe-area-inset-right, 0px)) 0.75rem 1.25rem; padding-top: max(0.75rem, env(safe-area-inset-top, 0px)); background: var(--surface); border-bottom: 1px solid var(--line); }
.fly-cat { font-size: 0.8125rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 4px; }
.fly-close { font: 600 0.9375rem/1 var(--f-body); padding: 0.55rem 0.85rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); cursor: pointer; }
.fly-body { padding: 1.25rem 1.25rem max(2rem, env(safe-area-inset-bottom, 0px)); display: grid; gap: 0.9rem; }
.fly-body img { width: 100%; height: auto; border-radius: 6px; } /* the whole picture, as wide as the drawer; a tall one just scrolls */
.fly-body h2 { font-size: 1.9rem; }
.fly-when { font-weight: 600; font-size: 1.0625rem; }
.fly-repeat { color: var(--muted); font-size: 0.9375rem; margin-top: -0.6rem; }
/* the event's own text in its card: paragraphs, lists and links as written in WordPress */
.fly-desc { display: grid; gap: 0.7rem; }
.fly-desc > * { margin: 0; }
.fly-desc ul, .fly-desc ol { padding-left: 1.25rem; display: grid; gap: 0.25rem; }
.fly-desc a { color: var(--sign); }
.fly-desc h2, .fly-desc h3, .fly-desc h4 { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; line-height: 1.25; }
.fly-body dl { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.35rem 0.75rem; margin: 0; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.fly-body dt { color: var(--muted); }
.fly-body dd { margin: 0; overflow-wrap: anywhere; }
.fly-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.fly-add-label { margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9375rem; }
.fly-add-hint { margin-top: 0.5rem; color: var(--muted); font-size: 0.875rem; line-height: 1.35; }

/* ---------- art ---------- */
/* Like the featured events on Home: a small card for each artist, with the full story in the side panel.
   Cards are a comfortable size for the window and don't try to fill it; pictures are cropped to 3:4 and never stretched.
   Extra artists wrap onto new rows. Upright screens have rows with the picture beside the words. */
#view-calendar { padding-block: 1.25rem; }
/* the Host panel sits in the middle of the space under the header; if it's taller than that, the page scrolls */
#view-host { display: grid; align-content: center; min-height: calc(100svh - var(--head) - var(--foot-h)); padding-block: 1.75rem; }
#view-host[hidden] { display: none; }
#view-art { --gap: 1rem; --pad: 0.6rem; --ph: clamp(15rem, 100svh - var(--head) - var(--foot-h) - 14rem, 34rem); display: grid; align-content: center; min-height: calc(100svh - var(--head) - var(--foot-h)); padding: 1.75rem 24px; }
#view-art[hidden] { display: none; }
.artists { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); width: 100%; }
.artist { display: grid; width: min(var(--ph) * 0.75 + 2 * var(--pad), (100% - 2 * var(--gap)) / 3); }
.artist .event-card { width: 100%; min-width: 0; }
.artist .pic img { object-position: 50% 50%; }
@media (orientation: portrait) {
  #view-art { --rowh: clamp(7.5rem, (100svh - var(--head) - var(--foot-h) - 5.25rem) / 3 - 2 * var(--pad), 12rem); padding-inline: 12px; }
  .artists { flex-direction: column; align-items: center; flex-wrap: nowrap; }
  .artist { width: min(100%, 40rem); }
  .artist .event-card { grid-template-rows: none; grid-template-columns: calc(var(--rowh) * 0.75) minmax(0, 1fr); column-gap: 0.75rem; padding: var(--pad); }
  .artist .pic { aspect-ratio: auto; height: var(--rowh); }
  .artist .body { padding: 0.15rem 0 0; overflow: hidden; }
  .artist .ttl { font-size: 1.25rem; }
  .artist .when { font-size: 0.875rem; }
  .artist .note { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; color: var(--muted); font-size: 0.875rem; line-height: 1.4; margin-top: 0.3rem; }
}
.fly-body .medium { color: var(--muted); font-weight: 600; margin-top: -0.6rem; }
.fly-body .bio { display: grid; gap: 0.8rem; }
.fly-body blockquote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--turquoise); font-family: var(--f-display); font-size: 1.1875rem; line-height: 1.4; }

/* the address in the footer: plain text that shows it's a link when hovered, and opens Google Maps */
.findus { position: fixed; z-index: 3; left: max(1rem, env(safe-area-inset-left, 0px)); bottom: calc(0.25rem + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 0.4rem; height: 2.75rem; white-space: nowrap; font-weight: 600; font-size: 0.875rem; color: var(--foot-ink); text-decoration: none; }
.findus svg { flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.findus:hover { color: var(--sign); }
.findus:hover span { text-decoration: underline; text-underline-offset: 0.2em; }
.findus:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 360px) { .findus { font-size: 0.8125rem; } }

/* ---------- music: off until the visitor turns it on ---------- */
/* The speaker sits in a chip that grows to the left to name the song. It opens on hover or by keyboard, and stays open while a song plays. */
.player { position: fixed; z-index: 4; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(0.25rem + env(safe-area-inset-bottom, 0px)); color: var(--foot-ink); }
.sound { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 2.75rem; overflow: hidden; color: inherit; background: transparent; border-radius: 0.5rem; transition: background-color 0.15s ease; }
.sound:hover { background: var(--foot-hover); }
.sound button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.sound-icon { flex: none; display: grid; place-items: center; width: 2.625rem; height: 100%; }
.sound-name { max-width: 0; overflow: hidden; visibility: hidden; opacity: 0; white-space: nowrap; text-overflow: ellipsis; height: 100%; font: 600 0.875rem/1 var(--f-body); transition: max-width 0.3s ease, padding 0.3s ease, opacity 0.2s ease, visibility 0.3s; }
.player.is-playing .sound-name, .player.list-open .sound-name, .player:has(:focus-visible) .sound-name { max-width: 20rem; padding-left: 1rem; visibility: visible; opacity: 1; }
@media (hover: hover) { .player:hover .sound-name { max-width: 20rem; padding-left: 1rem; visibility: visible; opacity: 1; } }
.sound svg { display: block; width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.player:not(.on) .is-on, .player.on .is-off { display: none; }
/* hovering or tabbing to the speaker shows what a click will do: pause while a song plays, play otherwise */
.sound-icon .ic-play, .sound-icon .ic-pause { display: none; fill: currentColor; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.sound-icon:focus-visible .ic-speaker { display: none; }
.player:not(.is-playing) .sound-icon:focus-visible .ic-play, .player.is-playing .sound-icon:focus-visible .ic-pause { display: block; }
@media (hover: hover) {
  .sound-icon:hover .ic-speaker { display: none; }
  .player:not(.is-playing) .sound-icon:hover .ic-play, .player.is-playing .sound-icon:hover .ic-pause { display: block; }
}
/* how far through the song: a line along the bottom of the chip */
/* how far the song has played: a lighter fill sweeping across the song's pill from the left, behind its name and button */
.sound-bar { position: absolute; inset: 0; z-index: 0; background: rgba(111, 227, 216, 0.3); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 0.3s linear; pointer-events: none; opacity: 0; }
.sound .sound-name, .sound .sound-icon { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .sound-bar { transition: none; } }
.player.is-playing .sound-bar { opacity: 1; }
/* the sound waves pulse while a song plays */
.player.is-playing .is-on path { animation: wave 1.4s ease-in-out infinite; }
.player.is-playing .is-on path:last-child { animation-delay: 0.25s; }
@keyframes wave { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .sound-name { transition: none; }
  .player.is-playing .is-on path { animation: none; }
}
/* the songs: a stack of pills above the chip, the current one in turquoise. It opens on hover, by keyboard, or by tapping the song's name. */
.song-list { display: grid; visibility: hidden; transition: visibility 0s linear 0.16s; position: absolute; right: 0; bottom: calc(100% + 0.5rem); margin: 0; padding: 0; list-style: none; width: max-content; max-width: calc(100vw - 2rem); justify-items: end; gap: 0.35rem; }
.song-list::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0.5rem; } /* keeps the hover alive across the gap */
/* the pills rise out of the chip one after another, nearest first, and drop back together */
.song-list li { opacity: 0; transform: translateY(0.75rem) scale(0.96); transform-origin: right center; transition: opacity 0.14s ease, transform 0.16s ease; }
.player.list-open .song-list, .player:has(:focus-visible) .song-list { visibility: visible; transition-delay: 0s; }
.player.list-open .song-list li, .player:has(:focus-visible) .song-list li { opacity: 1; transform: none; transition: opacity 0.26s ease, transform 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.15); transition-delay: calc(var(--i) * 70ms); }
@media (hover: hover) {
  .player:hover .song-list { visibility: visible; transition-delay: 0s; }
  .player:hover .song-list li { opacity: 1; transform: none; transition: opacity 0.26s ease, transform 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.15); transition-delay: calc(var(--i) * 70ms); }
}
@media (prefers-reduced-motion: reduce) {
  .song-list li { transform: none; }
  .player.list-open .song-list li, .player:has(:focus-visible) .song-list li { transition: opacity 0.15s ease; transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) and (hover: hover) {
  .player:hover .song-list li { transition: opacity 0.15s ease; transition-delay: 0s; }
}
.song-list button { display: block; width: 100%; padding: 0.55rem 0.9rem; font: inherit; font-size: 0.875rem; font-weight: 600; text-align: left; white-space: nowrap; cursor: pointer; background: var(--cream); color: var(--board-ink); border: 1px solid var(--board-rule); border-radius: 999px; box-shadow: 0 2px 6px -2px rgba(8, 38, 50, 0.55); }
.song-list button:hover { background: #FFFFFF; }
.song-list button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* each song is a solid cream chip, like the Host button, with a soft shadow under it, so it stays clear over anything beneath */
.song-list button { color: var(--board-ink); background: #F7FBFB; border: 1px solid var(--board-rule); box-shadow: 0 10px 20px -8px rgba(8, 38, 50, 0.7), 0 2px 4px -1px rgba(8, 38, 50, 0.3); }
.song-list button:hover { background: #FFFFFF; }
.song-list [aria-current] { background: var(--pick); border-color: var(--pick); color: var(--pick-ink); }
.song-list [aria-current]:hover { background: #52C9C4; }
.sound-hint { display: none; }
.player.is-playing ~ .sound-hint, .player:has(:focus-visible) ~ .sound-hint { display: none; }
@media (hover: hover) { .player:hover ~ .sound-hint { display: none; } }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .host-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  /* The statue ends about 81% down the photo; the note starts just below it. */
  .cal { display: none; }
  .agenda { display: block; }
  dialog.flyout { inset: auto 0 0 0; width: 100%; height: auto; max-height: 90dvh; border-left: 0; border-top: 1px solid var(--line); border-radius: 12px 12px 0 0; }
  @keyframes slide-in { from { transform: translateY(2rem); opacity: 0.4; } to { transform: none; opacity: 1; } }
}
@media (max-width: 600px) {
  .site-head, .edge-bg { background-image: linear-gradient(to bottom, rgba(56, 171, 172, 0) 35%, rgba(56, 171, 172, 0.62) 100%), url("../images/ocean-deep.jpg"); }
  .logo img { height: 78px; }
  .head-brand { flex-basis: 100%; gap: 0.75rem; }
  .head-title { font-size: 1.3125rem; }
  .head-mission { margin-top: 0.15rem; font-size: 0.875rem; }
  .site-head .wrap { justify-content: flex-start; }
  .head-actions { width: 100%; justify-content: space-between; gap: 0.5rem; }
  .tabs { gap: 0; }
  .tabs a { padding-inline: 0.45rem; font-size: 0.875rem; letter-spacing: 0.04em; }
  .head-host { gap: 0.3rem; padding: 0.55rem 0.8rem 0.55rem 0.65rem; font-size: 0.875rem; }
  .deepak { width: 1.25rem; height: 1.25rem; }
  .week > li { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .week-item { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 0.3rem; }
  .section { padding-block: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.flyout[open] { animation: none; }
}
/* on the narrowest phones the lamp gives way, so the chip stays on the menu's row */
@media (max-width: 374px) {
  .deepak { display: none; }
  .head-host { padding-inline: 0.8rem; }
}
/* ---------- footer ---------- */
/* A bar stuck to the bottom of every page: the address on the left, the copyright and credit in the middle, the music on the right. */
:root {
  --foot: 3.25rem;
  --foot-h: calc(var(--foot) + env(safe-area-inset-bottom, 0px));
  --foot-bg: rgba(224, 243, 243, 0.95);
  --foot-edge: 0 -1px 0 var(--board-rule), 0 -2px 8px rgba(3, 16, 30, 0.14);
  --foot-ink: var(--board-ink);
  --foot-soft: var(--muted);
  --foot-hover: rgba(8, 38, 50, 0.07);
  --foot-carve: 0 1px 0 rgba(255, 255, 255, 0.75);
}
body { padding-bottom: var(--foot-h); }
.site-foot { position: fixed; z-index: 2; left: 0; right: 0; bottom: 0; height: var(--foot-h); background: var(--foot-bg); box-shadow: var(--foot-edge); }
.credit { position: absolute; left: 50%; top: 0; height: var(--foot); display: flex; align-items: center; gap: 0.3em; margin: 0; transform: translateX(-50%); white-space: nowrap; line-height: 1; font-family: "Cormorant Garamond", var(--f-display); font-style: italic; font-size: 0.875rem; font-weight: 400; letter-spacing: 0.01em; color: var(--foot-soft); text-shadow: var(--foot-carve); }
/* where the address and a playing song would crowd it, the bar gets a second line and the credit takes it */
@media (max-width: 940px) {
  :root { --foot: 4.25rem; }
  .credit { top: auto; bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px)); height: auto; }
  .findus, .player { bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px)); }
}
.credit-own { font-size: 1.125rem; }
@media (max-width: 360px) { .credit-own { font-size: 1rem; } }
.credit a { color: inherit; font-style: normal; font-size: 0.6875rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; }
.credit a:hover { color: #A31F34; }
.credit a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
/* Home's left column: a featured event with the verse under it; the other featured events fill the right */
.home-top { display: grid; gap: 1.25rem; justify-items: center; }
.event-card.tarot { --tarot-w: 7.5rem; grid-template-rows: none; grid-template-columns: var(--tarot-w) minmax(0, 1fr); column-gap: 1rem; align-items: center; width: min(100%, 30rem); padding: var(--pad); }
.event-card.tarot .body { padding: 0; }
.event-card.tarot .when { margin-top: 0.35rem; }
.event-card.tarot .note { display: block; margin-top: 0.35rem; }
.event-card.tarot .note.about { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
@media (max-width: 600px) { #view-home { --verse: min((100vw - 24px) / 16, 1.375rem); } }
@media (min-width: 601px) { .etched { font-size: calc(var(--verse) * 0.82); } }
@media (orientation: landscape) and (min-width: 700px) {
  #view-home { --tarot-w: clamp(6.5rem, var(--avail) * 0.26, 11rem); grid-template-columns: minmax(0, 1fr) max-content; --verse: max(1rem, min(var(--verse-w) / 13.6, (var(--avail) - var(--tarot-w) * 1.334 - 3rem) / 15)); }
  #view-home > .home-top { grid-column: 1; grid-row: 1; grid-template-rows: auto 1fr; align-content: stretch; }
  #view-home > #whats-on { grid-column: 2; grid-row: 1; }
  .event-card.tarot { --tarot-w: inherit; }
  .etched { height: auto; align-self: center; font-size: var(--verse); }
}
/* the Tarot card's Night sky: gold stars and moons on deep indigo, dimmed behind the words */
.event-card.tarot { position: relative; color: #F4E9C8; background: url("../images/tarot-bg-sky.svg") center / 11rem, radial-gradient(circle at 30% 45%, #4A2C9E, #1D1450 78%); border: 1px solid rgba(233, 196, 106, 0.7); box-shadow: inset 0 0 0 3px #2A1B6B, inset 0 0 0 4px rgba(233, 196, 106, 0.45), 0 10px 26px -14px rgba(8, 38, 50, 0.7); }
.event-card.tarot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(29, 20, 80, 0) 30%, rgba(29, 20, 80, 0.72) 50%); border-radius: inherit; pointer-events: none; }
.event-card.tarot > * { position: relative; }
/* its lettering: the title's Marcellus throughout, soft ivory and lilac, nothing bold */
.event-card.tarot .ttl { font-family: var(--f-display); font-weight: 400; font-size: 1.375rem; line-height: 1.1; color: #F7EEDC; }
.event-card.tarot .when, .event-card.tarot .note { font-family: var(--f-display); font-weight: 400; font-size: 0.875rem; line-height: 1.35; color: #D9CCF5; }
.event-card.tarot .note.call, .event-card.tarot .note.about { color: #F7EEDC; }
@media (min-width: 601px) {
  .event-card.tarot .ttl { font-size: 1.625rem; }
  .event-card.tarot .when, .event-card.tarot .note { font-size: 0.9375rem; }
}
.event-card.tarot:hover .ttl { text-decoration-color: #E9C46A; }

/* ================= Home ================= */
/* ---------- the verse, one line at a time ---------- */
#view-home .etched blockquote, #view-home .etched figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#view-home .breeze { display: grid; font-size: var(--line, 1.75rem); }
.b-line { grid-area: 1 / 1; align-self: center; visibility: hidden; font-family: "Cormorant Garamond", var(--f-display); font-weight: 500; line-height: 1.25; letter-spacing: 0.01em; text-align: center; text-wrap: balance; color: #1C1209; text-shadow: 0 0 10px rgba(240, 247, 246, 0.85), 0 0 3px rgba(240, 247, 246, 0.7); }
.b-line.on { visibility: visible; }
.b-word { display: inline-block; white-space: nowrap; }
.b-word.key { color: #03404B; font-weight: 600; }
.b-ch { display: inline-block; will-change: transform, opacity; }
.b-line.b-cite { font-size: 0.6em; letter-spacing: 0.06em; }
/* Moonlight: pale letters lit from behind, the key words in sea-glass turquoise */
.b-line { color: #FFFFFF; text-shadow: 0 1px 2px rgba(3, 16, 30, 0.7), 0 0 14px rgba(3, 16, 30, 0.55), 0 0 28px rgba(3, 16, 30, 0.3); }
.b-word.key { color: #A8F0E8; }
/* people who turn off motion get the whole verse, still */
@media (prefers-reduced-motion: reduce) {
  #view-home .etched blockquote, #view-home .etched figcaption { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  #view-home .breeze { display: none; }
}

/* ---------- Home: Happening at The Well, the verse, the featured events and Tarot ---------- */
#view-home .home-top { display: contents; }
body #view-home { overflow-x: clip; --avail: calc(100svh - var(--head) - var(--chrome-h) - 3rem); display: grid; align-content: center; justify-content: center; justify-items: stretch; gap: 1.5rem; min-height: calc(100svh - var(--head) - var(--chrome-h)); padding: 1.5rem 16px 2rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "next" "verse" "events" "tarot"; }
#view-home .nx { grid-area: next; }
#view-home #featured-first { grid-area: tarot; display: grid; justify-items: center; }
#view-home .etched { grid-area: verse; height: auto; font-size: 1rem; }
body #view-home > #whats-on { grid-area: events; }
#view-home .events { grid-template-columns: repeat(3, var(--card)); }
.nx-title { margin: 0; font-family: var(--f-display); font-weight: 400; }
.nx-list { margin: 0; padding: 0; list-style: none; }
.nx-item { display: grid; width: 100%; padding: 0; text-align: left; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.nx-item:hover .nx-ttl { text-decoration: underline; text-underline-offset: 0.15em; }
.nx-item:focus-visible { outline: 2px solid var(--sign-deep); outline-offset: 3px; border-radius: 4px; }
.nx-day { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }
.nx-date { letter-spacing: 0.06em; opacity: 0.8; }
.nx-time { font-size: 0.875rem; font-weight: 600; }
.nx-ttl { font-family: var(--f-display); font-size: 1.125rem; line-height: 1.2; }

/* phones and narrow windows: everything in one column */
@media (max-width: 600px) {
  body #view-home { --card: min(100vw - 32px, 26rem); justify-content: stretch; justify-items: center; }
  #view-home .events { grid-template-columns: var(--card); }
  #view-home .breeze { --line: min(1.25rem, (100vw - 32px) / 16.5); min-height: 2.6em; }
  #view-home .nx { width: min(100%, 26rem); }
  #view-home .nx-ttl { font-size: 1.0625rem; }
  #view-home .nx li:first-child .nx-ttl { font-size: 1.25rem; }
}
@media (min-width: 601px) and (not ((orientation: landscape) and (min-width: 1180px))) {
  body #view-home { --card: min((100vw - 32px - 2 * var(--gap)) / 3, 17rem); justify-items: center; }
  #view-home .nx { width: min(100%, 44rem); }
  #view-home .breeze { min-height: 2.6em; }
}

/* ---------- the featured events and the Tarot card laid out like a reading, beside a sign board ---------- */
#view-home .nx { position: relative; padding: 1.25rem 1.4rem 1.4rem; color: var(--cream); border-radius: 12px; background: radial-gradient(120% 70% at 15% 0%, rgba(111, 227, 216, 0.38), rgba(111, 227, 216, 0) 60%), linear-gradient(165deg, rgba(60, 185, 180, 0.4) 0%, rgba(23, 88, 122, 0.55) 40%, rgba(10, 44, 66, 0.94) 100%), var(--sign) url("../images/ocean-deep-flip.jpg") left center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(111, 227, 216, 0.5), 0 14px 30px -16px rgba(8, 38, 50, 0.8); }
#view-home .nx-title { color: #6FE3D8; font-size: 1.5rem; text-shadow: 0 1px 2px rgba(3, 16, 30, 0.55); margin-bottom: 0.85rem; }
#view-home .nx-list { display: grid; gap: 0.85rem; }
#view-home .nx li + li { padding-top: 0.85rem; border-top: 1px solid rgba(207, 247, 242, 0.25); }
#view-home .nx-day { color: #9FEDE5; }
#view-home .nx-time { color: #CFF7F2; font-weight: 400; }
#view-home .nx-ttl { color: #F7FBFB; }
#view-home .nx li:first-child .nx-ttl { font-size: 1.5rem; }
#view-home .nx-item:focus-visible { outline-color: #CFF7F2; }
/* every card is a tarot card: cream stock, a thin gilt rule inside the edge, its name across the foot */
#view-home .events .event-card { position: relative; background: #F8F1E2; border-radius: 12px; padding: 0.7rem 0.7rem 0.9rem; box-shadow: inset 0 0 0 5px #F8F1E2, inset 0 0 0 6px rgba(166, 124, 58, 0.55), 0 16px 30px -16px rgba(40, 24, 8, 0.65); transition: transform 0.35s cubic-bezier(.2, .7, .2, 1), box-shadow 0.35s; }
#view-home .events .event-card .top-when { text-align: center; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: #7A5A2C; padding: 0.15rem 0 0.5rem; }
#view-home .events .event-card .pic img { border-radius: 4px; }
#view-home .events .event-card .body { text-align: center; padding-top: 0.55rem; }
#view-home .events .event-card .ttl { text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.0625rem; color: #2E1F0E; }
#view-home .events .event-card .when { color: #7A5A2C; font-weight: 600; }
#view-home .events .event-card .note { display: none; }
#view-home .events .event-card:hover .ttl { text-decoration: none; }
#view-home .events { gap: 0.75rem; }
#view-home .events .event-card:nth-child(1) { transform: rotate(-5deg) translateY(10px); }
#view-home .events .event-card:nth-child(2) { transform: rotate(-1.5deg); }
#view-home .events .event-card:nth-child(3) { transform: rotate(2.5deg) translateY(6px); }
/* pointed at, a card keeps its tilt and rises a little along it */
#view-home .events .event-card:hover, #view-home .events .event-card:focus-visible { z-index: 1; box-shadow: inset 0 0 0 5px #F8F1E2, inset 0 0 0 6px rgba(166, 124, 58, 0.55), 0 20px 34px -16px rgba(40, 24, 8, 0.7); }
#view-home .events .event-card:nth-child(1):hover, #view-home .events .event-card:nth-child(1):focus-visible { transform: rotate(-5deg) translateY(4px); }
#view-home .events .event-card:nth-child(2):hover, #view-home .events .event-card:nth-child(2):focus-visible { transform: rotate(-1.5deg) translateY(-6px); }
#view-home .events .event-card:nth-child(3):hover, #view-home .events .event-card:nth-child(3):focus-visible { transform: rotate(2.5deg); }
/* the Tarot card stands upright like the others, and keeps its night sky */
#view-home .event-card.tarot { grid-template-columns: none; grid-template-rows: auto auto 1fr; width: var(--card); padding: 0.7rem 0.7rem 0.9rem; border-radius: 12px; text-align: center; transform: rotate(6deg) translateY(14px); transition: transform 0.35s cubic-bezier(.2, .7, .2, 1); }
#view-home .event-card.tarot::before { background: linear-gradient(to bottom, rgba(29, 20, 80, 0) 55%, rgba(29, 20, 80, 0.75) 75%); }
#view-home .event-card.tarot::after { content: "By appointment"; grid-row: 1; order: -1; padding: 0.15rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--f-display); font-size: 0.75rem; color: #E9C46A; position: relative; }
#view-home .event-card.tarot .pic { grid-row: 2; aspect-ratio: 3 / 4; }
#view-home .event-card.tarot .pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
#view-home .event-card.tarot .body { grid-row: 3; padding-top: 0.55rem; }
#view-home .event-card.tarot .ttl { text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.0625rem; }
#view-home .event-card.tarot .when, #view-home .event-card.tarot .note:not(.call):not(.about) { display: none; }
#view-home .event-card.tarot .note.call, #view-home .event-card.tarot .note.about { font-size: 0.8125rem; }
#view-home .event-card.tarot:hover, #view-home .event-card.tarot:focus-visible { transform: rotate(6deg) translateY(8px); }
@media (max-width: 600px) { #view-home .events .event-card:nth-child(n):hover, #view-home .events .event-card:nth-child(n):focus-visible, #view-home .event-card.tarot:hover, #view-home .event-card.tarot:focus-visible { transform: none; } }
#view-home .breeze { --line: 1.5625rem; }
@media (max-width: 600px) {
  #view-home .events .event-card:nth-child(n), #view-home .event-card.tarot { transform: none; }
}
@media (orientation: landscape) and (min-width: 1180px) {
  body #view-home { --text: 6.5rem; --gap: 0.75rem; --side: clamp(16rem, 22vw, 21rem); --card: min((100vw - var(--side) - 32px - 3 * var(--gap) - 5rem) / 4, (var(--avail) - 4.5rem - var(--text)) * 0.75 + 1.4rem); grid-template-columns: var(--side) max-content max-content; grid-template-rows: 1fr auto; grid-template-areas: "next events tarot" "next verse verse"; column-gap: 2.5rem; row-gap: 1.75rem; align-items: center; }
  #view-home #featured-first { margin-left: calc(-2.5rem + var(--gap)); }
  #view-home .nx { align-self: center; }
  #view-home .breeze { --line: clamp(1.125rem, 1.75vw, 1.75rem); }
  #view-home .etched { align-self: start; }
}


/* the room photo, frosted: softly blurred under a pale wash so the page in front stays calm */
.backdrop { object-position: 50% 38%; filter: blur(2.5px) saturate(1.12); transform: scale(1.03); }
@media (orientation: portrait) { .backdrop { object-position: 78% 50%; } }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(238, 246, 246, 0.2); pointer-events: none; }

/* the footer is only as tall as the song chip, and the speaker is a round button of its own beside the song's name */
@media (min-width: 941px) {
  :root { --foot: 2.75rem; }
  .findus, .player { bottom: env(safe-area-inset-bottom, 0px); }
}
.sound { gap: 0.45rem; overflow: visible; border-radius: 0; }
.sound:hover { background: transparent; }
.sound-name { border-radius: 0.5rem; }
.sound .sound-icon { align-self: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: #CFF7F2; background: var(--sign-deep); box-shadow: 0 0 0 1px rgba(111, 227, 216, 0.45), 0 3px 8px -3px rgba(3, 16, 30, 0.6); transition: background-color 0.15s ease; }
.sound .sound-icon:hover { background: var(--sign); }
.sound .sound-icon svg { width: 1.25rem; height: 1.25rem; }

/* the footer floats: a rounded bar lifted off the bottom edge and in from the sides, its ends as round as the play button */
:root { --fb: 0.5rem; --fx: 0.75rem; --foot-h: calc(var(--foot) + var(--fb) + env(safe-area-inset-bottom, 0px)); }
.site-foot { left: max(var(--fx), env(safe-area-inset-left, 0px)); right: max(var(--fx), env(safe-area-inset-right, 0px)); bottom: calc(var(--fb) + env(safe-area-inset-bottom, 0px)); height: var(--foot); border-radius: calc(var(--foot) / 2); box-shadow: 0 0 0 1px var(--board-rule), 0 10px 22px -10px rgba(3, 16, 30, 0.55), 0 2px 6px -2px rgba(3, 16, 30, 0.25); }
.findus { left: calc(max(var(--fx), env(safe-area-inset-left, 0px)) + 0.85rem); bottom: calc(var(--fb) + env(safe-area-inset-bottom, 0px)); }
.player { right: calc(max(var(--fx), env(safe-area-inset-right, 0px)) + 0.25rem); bottom: calc(var(--fb) + env(safe-area-inset-bottom, 0px)); }
.sound-name { border-radius: 999px; }
/* where the bar has two lines, its ends keep the play button's curve at the top row */
@media (max-width: 940px) {
  :root { --fx: 0.5rem; }
  .site-foot { border-radius: 1.375rem; }
  .findus, .player { bottom: calc(var(--fb) + 1.5rem + env(safe-area-inset-bottom, 0px)); }
  .findus { left: calc(max(var(--fx), env(safe-area-inset-left, 0px)) + 0.75rem); }
  .credit { bottom: 0.45rem; }
}

/* the footer stays one line on every screen. When it runs out of room, the script below gives things up in this order:
   the credit in the middle, then the song's name (a small note button opens the list instead), then the address shortens, then it is just the pin */
:root { --foot: 2.75rem; }
.site-foot { border-radius: calc(var(--foot) / 2); }
.credit { top: 0; bottom: auto; height: var(--foot); }
.findus, .player { bottom: calc(var(--fb) + env(safe-area-inset-bottom, 0px)); }
.findus { left: calc(max(var(--fx), env(safe-area-inset-left, 0px)) + 0.85rem); }
.addr-short { display: none; }
body.foot-short .findus .addr-full { display: none; }
body.foot-short .findus .addr-short { display: inline; }
body.foot-pin .findus span { display: none; }
body.foot-no-credit .credit { visibility: hidden; }
body.foot-no-name .sound-name { display: none !important; } /* no room for the song's name: Sally Wells still opens the list */

/* while the song's name shows, the name and the play button share one container: the round button grows into a pill that holds both */
.sound { height: 2.25rem; margin-block: 0.25rem; border-radius: 999px; transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.player.is-playing .sound, .player.list-open .sound, .player:has(:focus-visible) .sound { gap: 0; overflow: hidden; background: var(--sign-deep); box-shadow: 0 0 0 1px rgba(111, 227, 216, 0.45), 0 3px 8px -3px rgba(3, 16, 30, 0.6); }
.player.is-playing .sound .sound-icon, .player.list-open .sound .sound-icon, .player:has(:focus-visible) .sound .sound-icon { background: transparent; box-shadow: none; }
.player.is-playing .sound .sound-icon:hover, .player.list-open .sound .sound-icon:hover { background: rgba(207, 247, 242, 0.14); }
.player.is-playing .sound-name, .player.list-open .sound-name, .player:has(:focus-visible) .sound-name { color: #E6FBF8; padding-right: 0.3rem; }
@media (hover: hover) {
  .player:hover .sound { gap: 0; overflow: hidden; background: var(--sign-deep); box-shadow: 0 0 0 1px rgba(111, 227, 216, 0.45), 0 3px 8px -3px rgba(3, 16, 30, 0.6); }
  .player:hover .sound .sound-icon { background: transparent; box-shadow: none; }
  .player:hover .sound .sound-icon:hover { background: rgba(207, 247, 242, 0.14); }
  .player:hover .sound-name { color: #E6FBF8; padding-right: 0.3rem; }
}

/* once the verse has played, it rests on its opening; clicking it plays it again */
#view-home .breeze.resting { cursor: pointer; }

/* in the footer only the name The Well is in italics */
.credit { font-style: normal; }
.credit .credit-well { font-style: italic; }

/* ================= Events: the calendar as tarot cards ================= */
/* the calendar: each day is a card standing apart from the next, like the tarot cards on the home page */
#view-calendar .cal { gap: 7px; border: 0; background: none; }
#view-calendar .cal .dow { border: 0; background: none; padding: 0.15rem 0.5rem 0.1rem; }
#view-calendar .cal .cell { border: 0; border-radius: 10px; padding: 0.45rem; }
#view-calendar .cal .num { font-family: var(--f-display); font-weight: 400; font-size: 1.0625rem; }
@media (max-width: 760px) {
  #view-calendar .agenda { display: grid; gap: 0.6rem; border: 0; }
  #view-calendar .agenda > li { border: 0; border-radius: 12px; padding: 0.7rem 0.75rem; }
}

/* cream stock with a thin gilt rule inside the edge, the date centred like a card's number */
#view-calendar .cal .cell, #view-calendar .agenda > li { background: #F8F1E2; box-shadow: inset 0 0 0 4px #F8F1E2, inset 0 0 0 5px rgba(166, 124, 58, 0.5), 0 8px 16px -10px rgba(40, 24, 8, 0.55); padding: 0.55rem; }
#view-calendar .cal .num { align-self: center; color: #7A5A2C; letter-spacing: 0.06em; }
/* today: the date in a small deep blue pill, the card otherwise like the others */
#view-calendar .cal .cell.today .num { align-self: center; padding-inline: 0.55rem; border-radius: 999px; color: #F2FBFA; background: var(--sign-deep); }
#view-calendar .agenda > li.today .d b { color: var(--sign-deep); }
#view-calendar .cal .cell.other { opacity: 0.45; box-shadow: inset 0 0 0 4px #F8F1E2, inset 0 0 0 5px rgba(166, 124, 58, 0.4); }


/* ================= Events: Every week as a sign board ================= */
/* Every week: the whole panel in the ocean of the Happening at The Well board, with pale letters; today's weekday lightly lit */
#view-calendar > section:has(.week) { color: #F2FBFA; background: radial-gradient(120% 50% at 15% 0%, rgba(111, 227, 216, 0.32), rgba(111, 227, 216, 0) 60%), linear-gradient(170deg, rgba(60, 185, 180, 0.35) 0%, rgba(23, 88, 122, 0.55) 35%, rgba(10, 44, 66, 0.94) 100%), var(--sign) url("../images/ocean-deep-flip.jpg") left center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(111, 227, 216, 0.5), 0 14px 30px -16px rgba(8, 38, 50, 0.8); }
#view-calendar #week-title { color: #6FE3D8; text-shadow: 0 1px 2px rgba(3, 16, 30, 0.55); }
#view-calendar .week { border-top-color: rgba(207, 247, 242, 0.25); }
#view-calendar .week > li { border-bottom-color: rgba(207, 247, 242, 0.25); }
#view-calendar .week .day { color: #9FEDE5; }
#view-calendar .week-item .time { color: #CFF7F2; }
#view-calendar .week-item .name { color: #FFFFFF; text-decoration-color: rgba(207, 247, 242, 0.35); }
#view-calendar .week-item:hover .name { text-decoration-color: #FFFFFF; }
#view-calendar .week-item:focus-visible { outline-color: #CFF7F2; }
/* today: its day's name filled in, as the calendar fills in today's date (the name stays in line with the others) */
#view-calendar .week > li.today .day { justify-self: start; align-self: start; margin-left: -0.6rem; padding: 0.05rem 0.6rem 0.15rem; border-radius: 999px; background: #6FE3D8; color: #0B3442; }

/* on narrow phones the tabs draw in a little so HOME, CALENDAR and ART still share a line with the Host button */
@media (max-width: 400px) {
  .tabs a { padding-inline: 0.25rem; letter-spacing: 0.02em; }
  .head-host { padding-right: 0.65rem; }
}

/* on phones and other upright screens the verse comes first, right under the header */
@media not ((orientation: landscape) and (min-width: 1180px)) {
  body #view-home { grid-template-areas: "verse" "next" "events" "tarot"; }
}

/* ================= Art: each work fills its card, with a plaque for the name and medium ================= */
body #view-art .artist .event-card { position: relative; padding: 0; overflow: hidden; border-radius: 10px; background: #0B3550; box-shadow: 0 16px 30px -16px rgba(8, 38, 50, 0.8); transition: transform 0.3s ease; }
body #view-art .artist .event-card:hover, body #view-art .artist .event-card:focus-visible { transform: translateY(-5px); }
body #view-art .artist .pic { aspect-ratio: 3 / 4.2; }
body #view-art .artist .pic img { border-radius: 0; }
body #view-art .artist .body { position: absolute; left: 0.75rem; right: auto; bottom: 0.75rem; max-width: calc(100% - 1.5rem); padding: 0.45rem 0.75rem 0.5rem; border-radius: 4px; background: rgba(255, 253, 248, 0.96); box-shadow: 0 4px 12px -4px rgba(8, 26, 36, 0.5); }
body #view-art .artist .ttl { font-size: 1.0625rem; color: #1C1209; }
body #view-art .artist .when { font-size: 0.8125rem; color: #5A4330; margin-top: 0.1rem; }
body #view-art .artist .note { display: none; }
body #view-art .artist .event-card:hover .ttl { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 0.15em; }

/* a centred white plaque hangs half over the foot of the picture and half below it, like a plaque under a painting */
body #view-art .artist { padding-bottom: 1.6rem; }
body #view-art .artist .event-card { overflow: visible; }
body #view-art .artist .pic { overflow: hidden; border-radius: 10px; }
body #view-art .artist .body { left: 50%; bottom: -1.4rem; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem); text-align: center; padding: 0.55rem 1.1rem 0.6rem; border-radius: 4px; }

@media (orientation: portrait) {
  body #view-art .artist .event-card { display: block; }
  body #view-art .artist .pic { height: auto; aspect-ratio: 4 / 3; }
}
/* on wide screens the cards keep a steady size: never narrower than their words need, never larger than a poster wants; a short window scrolls instead of squeezing them */
@media (orientation: landscape) and (min-width: 1180px) {
  body #view-home { --card: max(12.5rem, min((100vw - var(--side) - 32px - 3 * var(--gap) - 5rem) / 4, (var(--avail) - 4.5rem - var(--text)) * 0.75 + 1.4rem, 19rem)); }
}

/* the artist's name sits beside the play button all the time; while a song shows, the pill reads "title – artist" */

/* on phones and other small screens only icons sit beside the address: the play button and a small note button that opens the list */

/* ================= Art: each work framed like the cards that open: no mat, just the turquoise edge and the deep shadow ================= */
body #view-art .artists { gap: 2rem; }
body #view-art .artist .event-card { padding: 0; border-radius: 16px; border: 0; background: transparent; box-shadow: 0 0 0 1.5px #7FC4C9, 0 36px 70px -22px rgba(3, 16, 30, 0.75); }
body #view-art .artist .pic { border-radius: 16px; }
body #view-art .artist .body { bottom: calc(var(--mat, 0.8rem) - 1.35rem); }

@media (orientation: portrait) {
  body #view-art .artists { gap: 2.25rem; }
}
/* the plaque hangs on the wall just below its pane, not over the picture */
body #view-art .artist { padding-bottom: 4.6rem; }
body #view-art .artist .body { top: calc(100% + 1rem); bottom: auto; }

/* ================= details: a frosted card in the middle of the screen instead of the side drawer ================= */
body dialog.flyout { inset: 0; margin: auto; width: min(58rem, 100% - 2rem); height: fit-content; max-width: none; max-height: min(88dvh, 46rem); padding: 0; border: 0; border-radius: 16px; color: var(--ink); background: rgba(240, 248, 248, 0.86); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85), 0 30px 60px -20px rgba(3, 16, 30, 0.6); }
body dialog.flyout[open] { animation: none; }
body dialog.flyout::backdrop { background: rgba(6, 28, 40, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* every card the same: nearly solid glass with the turquoise edge of the site's chips, and a deep shadow */
body dialog.flyout { background: rgba(242, 249, 249, 0.95); box-shadow: 0 0 0 1.5px #7FC4C9, 0 36px 70px -22px rgba(3, 16, 30, 0.75); }
/* the x stays at the top right as the card scrolls */
body .fly-top { position: sticky; top: 0; z-index: 2; height: 0; padding: 0; border: 0; background: transparent; justify-content: flex-end; align-items: flex-start; overflow: visible; }
body .fly-cat { display: none; }
.fly-x { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin: 0.7rem 0.7rem 0 0; padding: 0; font: 400 1.6rem/1 var(--f-body); color: var(--ink); background: transparent; border: 0; border-radius: 50%; box-shadow: none; cursor: pointer; transition: background-color 0.15s ease, box-shadow 0.15s ease; }
/* the x sits quietly in the card; pointed at, it shows itself as a button */
.fly-x:hover, .fly-x:focus-visible { background: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 8px -2px rgba(3, 16, 30, 0.35); }
/* the blue Close stays at the bottom right */
.fly-foot { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 0.6rem 1.25rem 1rem; background: linear-gradient(to bottom, rgba(240, 248, 248, 0), rgba(240, 248, 248, 0.92) 45%); }
.fly-done { font: 600 0.9375rem/1 var(--f-body); padding: 0.7rem 1.35rem; border: 0; border-radius: 999px; color: #F2FBFA; background: var(--sign-deep); box-shadow: 0 6px 14px -6px rgba(3, 16, 30, 0.6); cursor: pointer; }
.fly-done:hover { background: var(--sign); }
/* Meet Micah: a turquoise button like Contact us, to the left of Close (and beside More details in the calendar's bubble) */
.fly-foot { gap: 0.6rem; }
.fly-meet, .cal-pop .more .meet { font: 700 0.9375rem/1 var(--f-body); padding: 0.7rem 1.25rem; border: 0; border-radius: 999px; color: #082632; background: var(--pick); box-shadow: 0 0 0 1px rgba(8, 38, 50, 0.16), 0 6px 14px -6px rgba(3, 16, 30, 0.5); cursor: pointer; }
.fly-meet:hover, .cal-pop .more .meet:hover { background: #5ACCC6; }
.fly-meet:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cal-pop .more { gap: 0.5rem; }
.cal-pop .more .meet { font-size: 0.875rem; padding: 0.6rem 1.05rem; }
.fly-done:focus-visible, .fly-x:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* the picture beside the words on wide screens */
body .fly-body { padding: 1.5rem 1.5rem 0.5rem; }
body .fly-body > h2 { padding-right: 3rem; }
body .fly-body:has(> img) { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); column-gap: 1.75rem; align-items: start; }
body .fly-body:has(> img) > img { position: sticky; top: 1.5rem; max-height: min(78dvh, 40rem); object-fit: contain; object-position: top; }
.fly-text { display: grid; gap: 0.9rem; min-width: 0; align-content: start; }
/* each artist's highlighted line */
.fly-body .highlight { margin: 0; padding: 0.85rem 1.1rem 0.9rem; border-radius: 10px; border-left: 4px solid var(--pick); background: rgba(60, 185, 180, 0.16); font-family: "Cormorant Garamond", var(--f-display); font-style: italic; font-weight: 600; font-size: 1.3rem; line-height: 1.35; color: #0E3A52; }
.fly-body .highlight .by { display: block; margin-top: 0.3rem; font-family: var(--f-body); font-style: normal; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.04em; color: #178086; }
.fly-body .highlight .by::before { content: "— "; }
@media (max-width: 760px) {
  body dialog.flyout { inset: 0; width: calc(100% - 1rem); height: fit-content; max-height: 90dvh; border: 0; border-radius: 14px; }
  body .fly-body:has(> img) { grid-template-columns: minmax(0, 1fr); }
  body .fly-body:has(> img) > img { position: static; max-height: 50dvh; object-fit: cover; }
}

/* ================= calendar entries: a small frosted bubble beside the entry ================= */
.cal-pop { position: fixed; z-index: 30; width: min(21rem, calc(100vw - 1.5rem)); max-height: min(70vh, 30rem); overflow-y: auto; padding: 1rem 1.1rem 1.05rem; color: var(--ink); border-radius: 14px; background: rgba(240, 248, 248, 0.92); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.9), 0 18px 40px -14px rgba(3, 16, 30, 0.55); animation: cal-pop 0.18s cubic-bezier(0.2, 0.8, 0.3, 1); }
@keyframes cal-pop { from { opacity: 0; transform: translateY(4px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cal-pop { animation: none; } }
.cal-pop .x { position: absolute; top: 0.55rem; right: 0.55rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; padding: 0; font: 400 1.3rem/1 var(--f-body); color: var(--ink); background: rgba(255, 255, 255, 0.92); border: 0; border-radius: 50%; box-shadow: 0 1px 4px -1px rgba(3, 16, 30, 0.3); cursor: pointer; }
.cal-pop h3 { margin: 0 2.2rem 0.35rem 0; font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.cal-pop .fly-when { margin: 0; font-size: 0.9375rem; }
.cal-pop .fly-repeat { margin: 0.1rem 0 0; font-size: 0.8125rem; }
.cal-pop .about { margin: 0.6rem 0 0; font-size: 0.875rem; line-height: 1.45; }
.cal-pop dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem 0.75rem; margin: 0.6rem 0 0; padding-top: 0.6rem; border-top: 1px solid rgba(15, 69, 99, 0.15); font-size: 0.8125rem; }
.cal-pop dt { color: var(--muted); }
.cal-pop dd { margin: 0; }
.cal-pop .fly-add { margin-top: 0.75rem; }
.cal-pop .fly-add-label { margin: 0 0 0.4rem; font-size: 0.8125rem; font-weight: 600; }
.cal-pop .fly-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.cal-pop .fly-actions .btn { padding: 0.45rem 0.75rem; font-size: 0.8125rem; }
.cal-pop .fly-add-hint { display: none; }
.cal-pop .more { margin-top: 0.85rem; display: flex; justify-content: flex-end; }
.cal-pop .more .details { font: 600 0.875rem/1 var(--f-body); padding: 0.6rem 1.05rem; border: 0; border-radius: 999px; color: #F2FBFA; background: var(--sign-deep); cursor: pointer; }
.cal-pop .more .details:hover { background: var(--sign); }
.cal-pop.bubble::before { content: ""; position: absolute; top: var(--ay, 1.2rem); width: 14px; height: 14px; background: rgba(240, 248, 248, 0.96); transform: rotate(45deg); }
.cal-pop.bubble.right::before { left: -7px; }
.cal-pop.bubble.left::before { right: -7px; }
.cal-ev-on { box-shadow: 0 0 0 2px var(--pick), 0 2px 10px rgba(23, 128, 134, 0.35) !important; }

/* the add-to-calendar buttons, each faintly tinted */
.fly-add .fly-actions .btn { border-color: transparent; }
.fly-add .fly-actions .btn:nth-child(1) { color: #1A4F9C; background: rgba(66, 133, 244, 0.12); }
.fly-add .fly-actions .btn:nth-child(2) { color: #0E5A8A; background: rgba(0, 120, 212, 0.1); }
.fly-add .fly-actions .btn:nth-child(3) { color: #0E5E63; background: rgba(60, 185, 180, 0.16); }
.fly-add .fly-actions .btn:nth-child(1):hover { background: rgba(66, 133, 244, 0.22); }
.fly-add .fly-actions .btn:nth-child(2):hover { background: rgba(0, 120, 212, 0.18); }
.fly-add .fly-actions .btn:nth-child(3):hover { background: rgba(60, 185, 180, 0.28); }

/* an artist's details: a wide band of the painting across the top, the story below in one readable column */
body dialog.flyout.is-artist { width: min(44rem, 100% - 2rem); }
body dialog.flyout.is-artist .fly-body:has(> img) { grid-template-columns: minmax(0, 1fr); padding: 0 0 0.5rem; row-gap: 1.25rem; }
body dialog.flyout.is-artist .fly-body:has(> img) > img { position: static; width: 100%; height: clamp(12rem, 34vh, 19rem); max-height: none; object-fit: cover; object-position: center 35%; border-radius: 16px 16px 0 0; }
body dialog.flyout.is-artist .fly-text { padding: 0 1.75rem; }
@media (max-width: 760px) {
  body dialog.flyout.is-artist .fly-body:has(> img) > img { height: clamp(11rem, 30vh, 15rem); border-radius: 14px 14px 0 0; }
  body dialog.flyout.is-artist .fly-text { padding: 0 1.25rem; }
}

/* while the details card is open, scrolling stays inside it: the page underneath doesn't move */
html:has(dialog.flyout[open]) { overflow: hidden; }
dialog.flyout, .cal-pop { overscroll-behavior: contain; }

/* Host your event in the card: the room full of people beside the invitation */
/* Host your event, laid out like the Contact us card: the photo runs down the whole left side (cropped to fit), the words on the right */
body dialog.flyout.is-host { width: min(56rem, 100% - 2rem); }
dialog.flyout.is-host .fly-foot { display: none; } /* the × closes it */
body dialog.flyout.is-host .fly-body:has(> img) { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); column-gap: 0; padding: 0; align-items: stretch; }
body dialog.flyout.is-host .fly-body:has(> img) > img { position: static; width: 100%; height: 100%; min-height: 24rem; max-height: none; aspect-ratio: auto; object-fit: cover; object-position: center 52%; border-radius: 16px 0 0 16px; }
dialog.flyout.is-host .fly-text { align-content: center; padding: 1.75rem; }
@media (max-width: 760px) {
  body dialog.flyout.is-host .fly-body:has(> img) { grid-template-columns: minmax(0, 1fr); }
  body dialog.flyout.is-host .fly-body:has(> img) > img { height: 12rem; min-height: 0; border-radius: 14px 14px 0 0; }
  dialog.flyout.is-host .fly-text { padding: 1.25rem; }
}
dialog.flyout.is-host .fly-text h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; }
dialog.flyout.is-host .fly-text p { font-size: 1.0625rem; }
dialog.flyout.is-host .host-call { flex-wrap: wrap; gap: 0.25rem 0.6rem; justify-self: start; padding: 0.85rem 1.25rem; font-size: 1.0625rem; line-height: 1.25; background: #0E3C58; border-color: #0E3C58; color: var(--cream); }
dialog.flyout.is-host .host-call:hover { background: var(--sign); border-color: var(--sign); }
dialog.flyout.is-host .host-call b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
dialog.flyout.is-host .host-email { margin: 0; font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
dialog.flyout.is-host .host-address { margin: 0; font-style: normal; font-size: 1rem; line-height: 1.4; }

/* the play button shows play while the music is off and pause while it plays; no speaker */
.sound-icon .ic-speaker { display: none; }
.player:not(.is-playing) .sound-icon .ic-play, .player.is-playing .sound-icon .ic-pause { display: block; }

/* ================= every screen size ================= */
/* Home: the side-by-side spread needs about 1180px; landscape screens narrower than that (small laptops, tablets on their side) get the stacked layout */
/* short screens (phones on their side, short windows): a smaller sign at the top, so the page has room */
@media (max-height: 500px) and (orientation: landscape) {
  .logo img { height: 64px; }
  .head-title { font-size: 1.375rem; }
  .head-mission { display: none; }
}
/* very large screens: everything a little larger, so the page doesn't shrink to the middle */
@media (min-width: 2200px) and (min-height: 1200px) {
  html { font-size: 20px; }
  .logo img { height: 145px; }
}
@media (min-width: 3000px) and (min-height: 1600px) {
  html { font-size: 24px; }
  .logo img { height: 174px; }
}
/* small phones held upright: a smaller sign at the top as well */
@media (max-width: 360px) and (max-height: 640px) and (orientation: portrait) {
  .logo img { height: 60px; }
  .head-title { font-size: 1.125rem; }
  .head-mission { font-size: 0.8125rem; }
}
/* calendar entries: a long word breaks rather than spilling out of its entry */
.cal .ev .t, .cal .ev b { overflow-wrap: anywhere; hyphens: auto; }

/* ================= the address card, opened from the pin when only the pin shows ================= */

/* the song's name always shows beside the play button, in the room the rest of the footer leaves it; tapping it opens the list of songs */
/* The words sit in exactly the same place whether the pill shows or not, so nothing moves when it is pointed at or music starts: only the colours change. */
body .player .sound { gap: 0; }
body .player .sound .sound-name { max-width: var(--title-max, 12rem); padding-left: 0.85rem; padding-right: 0.6rem; border-radius: 999px; visibility: visible; opacity: 1; transition: color 0.25s ease; }
body .player:not(.is-playing):not(.list-open):not(:has(:focus-visible)) .sound .sound-name { color: var(--foot-ink); }
@media (hover: hover) { body .player:not(.is-playing):not(.list-open):not(:has(:focus-visible)):hover .sound .sound-name { color: #E6FBF8; } } /* pointed at, it joins the play button in the pill */
body.foot-no-by .sound-name .by { display: none; }
/* the pill stays one even blue: no lighter chip over the name or around the play button */
body .player .sound .sound-name:hover, body .player.is-playing .sound .sound-icon:hover, body .player.list-open .sound .sound-icon:hover, body .player .sound .sound-icon:active { background: transparent; }
@media (hover: hover) { body .player:hover .sound .sound-icon:hover { background: transparent; } }

/* ================= sing along: while one of Sally's songs plays, a microphone beside its pill opens the words full screen ================= */
/* The words scroll up line by line; each word lights up as it is sung, and a little golden dot hops from word to word. */
/* the microphone is the left end of the playing song's pill, behind a faint divider, drawn in the same line style as the play button */
.sound .kara-btn, .sound .kara-div { display: none; }
.player.is-playing .sound .kara-btn.has-words { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 2.5rem; height: 100%; padding-left: 0.25rem; color: #CFF7F2; animation: kara-in 0.3s ease; }
.player.is-playing .sound .kara-btn.has-words + .kara-div { position: relative; z-index: 1; display: block; flex: none; width: 1px; height: 1.125rem; background: rgba(207, 247, 242, 0.32); }
.player.is-playing .sound .kara-btn.has-words ~ .sound-name { padding-left: 0.7rem; }
.sound .kara-btn:hover { color: #FFFFFF; }
.sound .kara-btn:focus-visible { outline: 2px solid #CFF7F2; outline-offset: -4px; border-radius: 999px; }
.sound .kara-btn svg { width: 1.375rem; height: 1.375rem; overflow: visible; }
@keyframes kara-in { from { opacity: 0; } }

dialog.kara { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; color: #E6FBF8; background: #071D29; overflow: hidden; }
dialog.kara::backdrop { background: #071D29; }
dialog.kara[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: kara-open 0.35s ease; }
@keyframes kara-open { from { opacity: 0; } }
.kara-sea { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 70% at 50% 115%, rgba(47, 169, 171, 0.42), transparent 62%),
  radial-gradient(80% 60% at 12% -8%, rgba(23, 88, 122, 0.85), transparent 70%),
  linear-gradient(180deg, #0B3147 0%, #071D29 100%); }
.kara-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: max(1.25rem, env(safe-area-inset-top, 0px)) max(1.5rem, env(safe-area-inset-right, 0px)) 0 max(1.5rem, env(safe-area-inset-left, 0px)); }
.kara-title { margin: 0; font: 400 clamp(1.35rem, 2.4vw, 1.9rem)/1.15 var(--f-display); color: #6FE3D8; }
.kara-by { margin: 0.25rem 0 0; font: 600 0.875rem/1.2 var(--f-body); letter-spacing: 0.04em; color: rgba(230, 251, 248, 0.7); }
.kara-x { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; font: 400 1.7rem/1 var(--f-body); color: #E6FBF8; background: rgba(230, 251, 248, 0.08); border: 1px solid rgba(111, 227, 216, 0.4); border-radius: 50%; cursor: pointer; }
.kara-x:hover { background: rgba(230, 251, 248, 0.16); }
.kara-x:focus-visible, .kara-play:focus-visible, .kara-line:focus-visible { outline: 2px solid #6FE3D8; outline-offset: 3px; }
.kara-stage { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.kara-lines { position: absolute; left: 0; right: 0; top: 0; margin: 0; padding: 0 max(1.5rem, env(safe-area-inset-right, 0px)) 0 max(1.5rem, env(safe-area-inset-left, 0px)); text-align: center; transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }
.kara-line { display: block; max-width: 24em; margin: 0 auto; padding: 0.2em 0; font: 400 clamp(1.45rem, 3.9vw, 2.9rem)/1.5 var(--f-display); text-wrap: balance; color: rgba(230, 251, 248, 0.4); cursor: pointer; transition: color 0.45s ease, transform 0.45s ease; transform: scale(0.94); }
.kara-line.stanza { margin-top: 0.8em; }
.kara-line.past { color: rgba(230, 251, 248, 0.2); }
.kara-line.now { color: rgba(230, 251, 248, 0.92); transform: none; }
.kara-line:hover { color: rgba(230, 251, 248, 0.7); }
.kara-line.now:hover { color: rgba(230, 251, 248, 0.92); }
.kara-w.sung { color: #6FE3D8; }
.kara-line.past .kara-w.sung { color: rgba(111, 227, 216, 0.38); }
.kara-w.at { color: transparent; background: linear-gradient(90deg, #6FE3D8 var(--p, 0%), rgba(230, 251, 248, 0.92) var(--p, 0%)); -webkit-background-clip: text; background-clip: text; }
.kara-dot { position: absolute; left: 0; top: 0; width: 0.75rem; height: 0.75rem; margin: -0.375rem 0 0 -0.375rem; border-radius: 50%; background: #FFD45A; box-shadow: 0 0 14px 4px rgba(255, 212, 90, 0.5); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.kara-dot.on { opacity: 1; }
.kara-dot.rest { opacity: 0.35; }
.kara-empty { margin: 30vh auto 0; max-width: 24em; text-align: center; font: 400 1.4rem/1.4 var(--f-display); color: rgba(230, 251, 248, 0.75); }
.kara-foot { position: relative; display: flex; align-items: center; gap: 1rem; padding: 0.5rem max(1.5rem, env(safe-area-inset-right, 0px)) max(1.25rem, env(safe-area-inset-bottom, 0px)) max(1.5rem, env(safe-area-inset-left, 0px)); }
.kara-play { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #CFF7F2; background: var(--sign-deep); box-shadow: 0 0 0 1px rgba(111, 227, 216, 0.45), 0 4px 10px -3px rgba(0, 0, 0, 0.6); }
.kara-play:hover { background: var(--sign); }
.kara-play svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
.kara-play .ic-pause, .kara.is-playing .kara-play .ic-play { display: none; }
.kara.is-playing .kara-play .ic-pause { display: block; }
.kara-bar { position: relative; flex: 1; height: 1.5rem; cursor: pointer; }
.kara-bar::before, .kara-bar i { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 2px); height: 4px; border-radius: 2px; }
.kara-bar::before { background: rgba(230, 251, 248, 0.18); }
.kara-bar i { background: #6FE3D8; transform: scaleX(var(--p, 0)); transform-origin: left; }
.kara-time { flex: none; font: 600 0.875rem/1 var(--f-body); font-variant-numeric: tabular-nums; color: rgba(230, 251, 248, 0.7); }
@media (max-width: 600px) { .kara-line { transform: none; } .kara-time { display: none; } }
@media (prefers-reduced-motion: reduce) { .kara-lines, .kara-line { transition: none; } dialog.kara[open], .player.is-playing .sound .kara-btn.has-words { animation: none; } }

/* with four tabs, narrow phones need a little more room so the tabs and Host your event still share one line:
   the lamp on the Host chip steps aside, and the tabs' letters draw in */
@media (max-width: 430px) {
  .deepak { display: none; }
  .tabs a { padding-inline: 0.28rem; font-size: 0.8125rem; letter-spacing: 0.01em; }
  .head-host { padding-inline: 0.7rem; font-size: 0.8125rem; }
}
@media (max-width: 380px) {
  .tabs a { padding-inline: 0.2rem; }
  .head-host { padding-inline: 0.6rem; }
}
@media (max-width: 350px) {
  .tabs a { padding-inline: 0.1rem; font-size: 0.75rem; letter-spacing: 0; }
  .head-host { padding-inline: 0.5rem; font-size: 0.75rem; }
}

/* ================= News: Sally's blog ================= */
/* The posts in one readable column: each its date, title, opening words and (if it has one) a picture; the post itself opens in the centre card. */
#view-news { padding-block: 1.75rem 2rem; } /* clear of the header's waves, like the other pages */
.section.news { max-width: 72rem; margin-inline: auto; } /* as wide as the other pages' panels */
@media (max-width: 1175px) { .section.news { margin-inline: 8px; } }
.news-list { display: grid; margin-top: 1.75rem; }
.post-card { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 0.5rem 1.5rem; align-items: start; width: 100%; padding: 1.4rem 0.25rem; font: inherit; text-align: left; color: inherit; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; cursor: pointer; }
.post-card:last-child { border-bottom: 1px solid var(--line); }
.post-card.no-pic { grid-template-columns: minmax(0, 1fr); }
.post-card .when { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sign); }
.post-card .ttl { display: block; margin-top: 0.3rem; font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.2; color: var(--ink); text-wrap: balance; transition: color 0.15s ease; }
.post-card .gist { display: block; margin-top: 0.5rem; max-width: 78ch; color: var(--muted); }
.post-card .more { display: inline-block; margin-top: 0.7rem; font-weight: 600; color: var(--sign); }
.post-card:hover .ttl, .post-card:focus-visible .ttl { color: var(--sign); }
.post-card:hover .more { text-decoration: underline; text-underline-offset: 0.2em; }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.news-empty { margin: 1.75rem 0 0; padding: 1.4rem 0 0.2rem; border-top: 1px solid var(--line); font-family: var(--f-display); font-size: 1.35rem; color: var(--muted); }
@media (max-width: 560px) {
  .post-card { grid-template-columns: minmax(0, 1fr); }
  .post-card img { grid-row: 1; aspect-ratio: 16 / 9; }
}
/* a post, read in the centre card: a wider card than an artist's, the words still a comfortable line length */
body dialog.flyout.is-artist.is-post { width: min(56rem, 100% - 2rem); }
.post-body { max-width: 72ch; }
.fly-text .post-meta { margin: -0.4rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.post-body { font-size: 1.0625rem; line-height: 1.65; }
.post-body > :first-child { margin-top: 0; }
.post-body p { margin: 0 0 0.9em; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; }
.post-body a { color: var(--sign); }

/* ================= Donate: gold, so it stands out from the sea-blue (gold like the lamp's flame) ================= */
.head-chips { display: flex; align-items: center; gap: 0.5rem; }
.head-donate { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.65rem 1.2rem 0.65rem 0.9rem; font-weight: 700; font-size: 1rem; line-height: 1.25; white-space: nowrap; text-decoration: none; border-radius: 999px; color: var(--board-ink); background: #F6C453; box-shadow: 0 0 0 1px rgba(122, 82, 8, 0.25), 0 4px 10px -3px rgba(122, 82, 8, 0.55); transition: background-color 0.15s ease; }
.head-donate:hover { color: var(--ink); background: #F9D27A; }
.head-donate svg, .donate-heart svg { display: block; flex: none; width: 1.3rem; height: 1.3rem; fill: #B5562B; }
.donate-heart { display: none; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #F6C453; box-shadow: 0 0 0 1px rgba(122, 82, 8, 0.25), 0 3px 8px -3px rgba(122, 82, 8, 0.6); }
.donate-heart:hover { background: #F9D27A; }
.donate-heart svg { width: 1.2rem; height: 1.2rem; }
.head-donate:focus-visible, .donate-heart:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* where the header has no room for it, Donate is a gold heart in the footer, beside Contact us */
@media (max-width: 840px) { .head-donate { display: none; } .donate-heart { display: grid; } }
/* just above phone width the tabs get their full spacing a little early: keep the phone spacing until there's room */
@media (min-width: 601px) and (max-width: 760px) { .head-actions { gap: 0.5rem; } .tabs a { padding-inline: 0.55rem; } }

/* ================= Contact us: the footer's left end, and the card it opens ================= */
/* A turquoise pill where the address was, so it stands out from the frosted bar; with too little room it is just its envelope. */
.foot-left .contact-btn { display: inline-flex; align-items: center; height: 2.25rem; margin-block: 0.25rem; gap: 0.45rem; padding: 0 1rem 0 0.8rem; font: 700 0.875rem/1 var(--f-body); color: #082632; background: var(--pick); border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 0 0 1px rgba(8, 38, 50, 0.16), 0 3px 8px -3px rgba(3, 16, 30, 0.55); transition: background-color 0.15s ease, transform 0.15s ease; }
.foot-left .contact-btn:hover { color: #082632; background: #5ACCC6; }
.foot-left .contact-btn:hover span { text-decoration: none; }
.foot-left .contact-btn:active { transform: translateY(1px); }
.foot-left .contact-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 999px; }
.foot-left .contact-btn svg { width: 1.2rem; height: 1.2rem; stroke-width: 1.8; }
body.foot-pin .foot-left .contact-btn { width: 2.25rem; padding: 0; justify-content: center; }
.findus.foot-left { left: calc(max(var(--fx), env(safe-area-inset-left, 0px)) + 0.25rem); gap: 0.4rem; } /* as far in from the bar's end as the play button is at the other */

/* the card: a photo of The Well with how to find it on the left, the message form (and any rows plugins add) on the right */
body dialog.flyout.is-contact { width: min(56rem, 100% - 2rem); }
dialog.flyout.is-contact .fly-foot { display: none; } /* the × closes it; the photo runs to the card's edge */
dialog.flyout.is-contact .fly-body { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: 0; padding: 0; }
.contact-side { position: relative; min-height: 100%; background: #0B3550 url("../images/thewellwindow.jpg") center 40% / cover no-repeat; border-radius: 16px 0 0 16px; }
.contact-visit { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: grid; gap: 0.15rem; padding: 1rem 1.1rem 1.05rem; border-radius: 12px; background: rgba(240, 248, 248, 0.95); box-shadow: 0 10px 24px -12px rgba(3, 16, 30, 0.6); }
.contact-visit .k, .contact-main .k { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sign); }
.contact-visit .name { margin: 0; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.15; color: var(--ink); }
.contact-visit address { margin: 0.15rem 0 0; font-style: normal; font-size: 0.9375rem; line-height: 1.45; }
.contact-links { display: grid; gap: 0.35rem; margin-top: 0.6rem; font-size: 0.9375rem; font-weight: 600; }
.contact-links a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--sign); text-decoration: none; overflow-wrap: anywhere; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.contact-links svg { flex: none; width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-main { display: grid; gap: 1rem; align-content: start; padding: 1.6rem 1.75rem 1.5rem; }
.contact-main h2 { margin: 0; padding-right: 2.5rem; font-size: clamp(1.75rem, 3vw, 2.2rem); line-height: 1.1; }
.contact-form { display: grid; gap: 0.7rem; }
.contact-form .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.7rem; }
.contact-form label { display: grid; gap: 0.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; min-width: 0; padding: 0.6rem 0.7rem; font: 400 1rem/1.35 var(--f-body); color: var(--ink); background: #FFFFFF; border: 1px solid rgba(15, 69, 99, 0.25); border-radius: 8px; }
.contact-form textarea { min-height: 7rem; resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--sign-deep); outline-offset: 1px; }
.contact-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-send { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.contact-send button { padding: 0.75rem 1.25rem; font: 600 0.9375rem/1 var(--f-body); color: #F2FBFA; background: var(--sign-deep); border: 0; border-radius: 999px; cursor: pointer; }
.contact-send button:hover { background: var(--sign); }
.contact-send small { font-size: 0.8125rem; color: var(--muted); }
.contact-msg { margin: 0; font-size: 0.9375rem; color: var(--ink); }
.contact-msg:empty { display: none; }
.contact-extra { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; flex-wrap: wrap; padding: 0.85rem 1rem; border-radius: 12px; background: rgba(60, 185, 180, 0.14); box-shadow: inset 0 0 0 1px rgba(23, 128, 134, 0.22); }
.contact-extra b { display: block; font: 400 1.15rem/1.2 var(--f-display); color: var(--ink); }
.contact-extra small { display: block; margin-top: 0.15rem; font-size: 0.8125rem; color: var(--muted); }
.contact-extra button { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1rem; font: 700 0.875rem/1 var(--f-body); color: var(--board-ink); text-decoration: none; background: var(--cream); border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 0 0 1px var(--board-rule), 0 2px 5px -2px rgba(8, 38, 50, 0.45); }
.contact-extra button:hover { background: #FFFFFF; }
.contact-extra svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--sign-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  dialog.flyout.is-contact .fly-body { grid-template-columns: minmax(0, 1fr); }
  .contact-side { min-height: 0; padding-top: 9rem; border-radius: 14px 14px 0 0; }
  .contact-visit { position: static; border-radius: 0; box-shadow: none; }
  .contact-main { padding: 1.25rem 1.25rem 1.25rem; }
}
@media (max-width: 440px) { .contact-form .two { grid-template-columns: minmax(0, 1fr); } }

/* ================= RSVP: a short form in an event's card ================= */
.rsvp { margin: 1.25rem 0 0; padding: 1rem 1.1rem 1.1rem; border-radius: 12px; background: rgba(60, 185, 180, 0.12); box-shadow: inset 0 0 0 1px rgba(23, 128, 134, 0.22); }
.rsvp-title { margin: 0 0 0.7rem; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.2; color: var(--ink); }
.rsvp-left { font-family: var(--f-body); font-size: 0.875rem; color: var(--muted); }
.rsvp-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 5.5rem; gap: 0.6rem 0.75rem; }
.rsvp label { display: grid; gap: 0.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.rsvp input, .rsvp select { width: 100%; min-width: 0; padding: 0.55rem 0.65rem; font: 400 1rem/1.2 var(--f-body); color: var(--ink); background: #FFFFFF; border: 1px solid rgba(15, 69, 99, 0.25); border-radius: 8px; }
.rsvp input:focus-visible, .rsvp select:focus-visible { outline: 2px solid var(--sign-deep); outline-offset: 1px; }
/* The People dropdown draws its own chevron instead of the browser's, set in from the right edge by the
   same 0.65rem the field pads its text with, and centred on the field's height. The right padding keeps
   the number clear of it. */
.rsvp select { appearance: none; -webkit-appearance: none; padding-right: 1.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%233F5E6E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.65rem center; background-size: 0.625rem 0.375rem; }
.rsvp .rsvp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rsvp-go { margin-top: 0.85rem; color: #F2FBFA; background: var(--sign-deep); border-color: var(--sign-deep); border-radius: 999px; }
.rsvp-go:hover { background: var(--sign); border-color: var(--sign); }
.rsvp-go:disabled { opacity: 0.6; cursor: default; }
.rsvp-msg { margin: 0.6rem 0 0; font-size: 0.9375rem; color: var(--ink); }
.rsvp-msg:empty { display: none; }
.rsvp-done { margin-top: 0; }
@media (max-width: 600px) { .rsvp-fields { grid-template-columns: minmax(0, 1fr) 5.5rem; } .rsvp-name { grid-column: 1 / -1; } }


/* with no songs listed in WordPress there's no music player */
.player[hidden] { display: none !important; }

/* the Donate card while there is no donation page yet: a gold "Coming soon" label, the appeal, and Write to us */
.donate-soon { justify-self: start; margin: 0; padding: 0.3rem 0.75rem; border-radius: 999px; background: #F6C453; color: var(--board-ink); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.donate-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.25rem; }
.donate-write { padding: 0.8rem 1.3rem; font: 600 0.9375rem/1 var(--f-body); color: #F2FBFA; background: var(--sign-deep); border: 0; border-radius: 999px; cursor: pointer; }
.donate-write:hover { background: var(--sign); }
.donate-write:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
