/* The front door in the Website look: it paints only with the Grove's look tokens (/grove/look.css), so a change of look
   there changes it here. Charcoal, dark panels, white Poppins, full-width pictures and video. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--gl-night); color: var(--gl-ink); font-family: var(--gl-sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: var(--gl-gold); }
.quiet { text-align: center; padding: 120px 16px; color: var(--gl-ink-dim); }
:focus-visible { outline: 2px solid var(--gl-gold-soft); outline-offset: 3px; }

/* the top: menu · logo · sign in */
.top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px;
  padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  background: var(--gl-panel); border-bottom: 1px solid var(--gl-line); box-sizing: content-box; }
.burger { justify-self: start; width: 56px; height: 52px; display: grid; align-content: center; gap: 6px; padding: 0 12px; background: none; border: 1px solid var(--gl-line); border-radius: 10px; cursor: pointer; }
.burger i { display: block; height: 2px; background: var(--gl-ink); border-radius: 2px; }
.logo img { height: 55px; width: auto; }
.signin { justify-self: end; color: var(--gl-ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.signin:hover { color: var(--gl-gold-soft); }

/* the side menu */
.side { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .55); }
.side-in { position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 86vw); overflow-y: auto; background: var(--gl-panel); border-right: 1px solid var(--gl-line);
  padding: calc(env(safe-area-inset-top, 0px) + 22px) 22px 30px max(22px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 4px; }
.side-in .x { align-self: flex-end; background: none; border: 0; color: var(--gl-ink-dim); font-size: 26px; cursor: pointer; line-height: 1; }
.side-in a, .side-in .group > span { display: block; padding: 10px 6px; color: var(--gl-ink); text-decoration: none; font-size: 17px; font-weight: 500; }
.side-in .group > span { color: var(--gl-ink-faint); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding-top: 16px; }
.side-in .group a { padding-left: 14px; font-weight: 400; font-size: 16px; }
.side-in a:hover { color: var(--gl-gold-soft); }

/* the video slider */
.slider { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 76px); min-height: 320px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.on { opacity: 1; }
.slide img, .slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider .begin { position: absolute; z-index: 3; left: 50%; bottom: 16%; transform: translateX(-50%); padding: 13px 26px; border: 1px solid #e8c77a; border-radius: 999px; background: rgba(7,9,20,.35); color: #f3dc9e; font-size: 15px; letter-spacing: .04em; text-decoration: none; white-space: nowrap; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s; }
.slider .begin:hover { background: rgba(232,199,122,.2); }
.slider .begin:focus-visible { outline: 2px solid #e8c77a; outline-offset: 3px; }
.slide .ttl { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; text-align: center; padding: 0 60px; font-weight: 300; text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(30px, 6.4vw, 84px); line-height: 1.05; text-shadow: 0 4px 34px rgba(0, 0, 0, .65); text-wrap: balance; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 34px; cursor: pointer; opacity: .85; }
.arrow.prev { left: 6px; } .arrow.next { right: 6px; }
.dots { position: absolute; z-index: 2; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; }
.dots button.on { background: #fff; }

/* words */
.words { text-align: center; max-width: 900px; margin: 0 auto; padding-block: 34px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.words h2 { margin: 0 0 12px; font-weight: 600; font-size: clamp(19px, 2.4vw, 25px); text-wrap: balance; }
.words p { margin: 0; color: var(--gl-ink-dim); }
.words a, .under a { color: var(--gl-ink-faint); }

/* a full-width picture with its title on a dark panel, and its words beneath */
.picture { position: relative; display: grid; place-items: center; min-height: clamp(300px, 46vw, 520px); background-size: cover; background-position: center; text-decoration: none; color: var(--gl-ink); overflow: hidden; }
.picture.tall { min-height: clamp(340px, 52vw, 600px); }
.picture::before { content: ""; position: absolute; inset: 0; background: inherit; background-size: cover; background-position: center; transition: transform 8s ease; }
.picture:hover::before { transform: scale(1.04); }
.picture h3 { position: relative; margin: 0 16px; padding: 14px clamp(20px, 4vw, 40px); background: var(--gl-glass); font-weight: 400; text-transform: uppercase; text-align: center;
  font-size: clamp(26px, 4.4vw, 52px); line-height: 1.15; letter-spacing: .01em; text-wrap: balance; }
.under { background: #232a44; text-align: center; padding-block: 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.under p { max-width: 920px; margin: 0 auto; }

/* a heading standing on its own dark panel, for the live sections */
.band { padding-block: 40px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); background: var(--gl-night); }
.band > h3 { margin: 0 auto 6px; width: fit-content; max-width: 100%; padding: 10px 26px; background: var(--gl-panel); border: 1px solid var(--gl-line); font-weight: 400; text-transform: uppercase; text-align: center; font-size: clamp(22px, 3.2vw, 34px); }
.band > p { text-align: center; color: var(--gl-ink-dim); max-width: 720px; margin: 10px auto 24px; }
.band .empty { text-align: center; color: var(--gl-ink-faint); }

/* the newest episodes */
.rail-wrap { position: relative; max-width: 1280px; margin: 0 auto; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 420px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.ep { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; background: var(--gl-panel); border: 1px solid var(--gl-line); border-radius: var(--gl-radius); overflow: hidden; color: var(--gl-ink); text-decoration: none; min-width: 0; }
.ep img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.ep .t { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ep b { font-weight: 600; font-size: 19px; line-height: 1.25; }
.ep .meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--gl-ink-faint); }
.ep .meta span { border: 1px solid var(--gl-line); padding: 1px 8px; }
.ep .more { font-size: 13px; color: var(--gl-gold); margin-top: auto; }
.ep:hover b { color: var(--gl-gold-soft); }
.rail-wrap .arrow { color: var(--gl-ink); background: var(--gl-glass); border-radius: 50%; top: 40%; }
.rail-wrap .arrow.prev { left: -6px; } .rail-wrap .arrow.next { right: -6px; }

/* the great braids */
.greats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; }
.great { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--gl-ink); text-align: center; }
.great img { width: min(150px, 38vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1px solid var(--gl-line); box-shadow: 0 0 0 6px rgba(255, 255, 255, .03), var(--gl-shadow); transition: transform .4s ease; }
.great:hover img { transform: scale(1.05); }
.great b { font-weight: 500; font-size: 16px; }

/* the songline strip */
.strip { position: relative; max-width: 1280px; margin: 0 auto; overflow-x: auto; scrollbar-width: thin; }
.strip-in { position: relative; display: flex; gap: 12px; padding: 34px 6px 14px; width: max-content; }
.strip-in::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 3px; background: linear-gradient(90deg, hsl(2 70% 55%), hsl(60 70% 55%), hsl(140 60% 50%), hsl(200 70% 55%), hsl(280 70% 60%)); border-radius: 3px; }
.stop { position: relative; width: 120px; flex: none; text-decoration: none; color: var(--gl-ink); }
.stop::before { content: ""; position: absolute; top: -24px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
.stop img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--gl-radius); border: 1px solid var(--gl-line); background: #000; }
.stop small { display: block; padding-top: 6px; font-size: 12px; line-height: 1.3; color: var(--gl-ink-dim); }
.stop small b { display: block; color: var(--gl-ink-faint); font-weight: 400; }
.go { display: block; width: fit-content; margin: 20px auto 0; padding: 10px 24px; border: 1px solid var(--gl-line); color: var(--gl-ink); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.go:hover { background: var(--gl-panel); }

/* the footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); background: var(--gl-panel); border-top: 1px solid var(--gl-line); font-size: 13px; color: var(--gl-ink-dim); }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--gl-ink); text-decoration: none; }
.foot em { font-style: normal; color: var(--gl-ink-faint); }

@media (max-width: 640px) {
  .top { height: 64px; } .logo img { height: 46px; }
  .burger { width: 48px; height: 44px; }
  .slider { aspect-ratio: 4 / 5; max-height: calc(100vh - 64px); }
  .slide .ttl { padding: 0 40px; }
  .rail-wrap .arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .slide, .picture::before, .great img { transition: none; } }
