/* Shema — public styles.
   Brand: The Crossings — teal #188797 (the only saturated color),
   cream #FAF9F5, Caudex display / Inter body / Caveat script accent. */

:root {
  --teal: #188797;
  --teal-deep: #0e5f6b;
  --teal-dark: #0a3f47;
  --ink: #1f2933;
  --ink-soft: #55606b;
  --cream: #FAF9F5;
  --white: #ffffff;
  --line: rgba(31, 41, 51, 0.12);
  --display: 'Caudex', Georgia, serif;
  --body: 'Inter', -apple-system, system-ui, sans-serif;
  --script: 'Caveat', cursive;
  --player-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--player-h);
}
img { max-width: 100%; }
a { color: var(--teal-deep); }

/* ── Header ── */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
}
.wordmark { text-decoration: none; display: flex; align-items: baseline; gap: 0.6rem; }
.wordmark-script, .brand-script {
  font-family: var(--script);
  font-weight: 600;
  font-size: 2rem;
  color: var(--teal);
  line-height: 1;
}
.wordmark-script.small { font-size: 1.4rem; }
.wordmark-sub {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.5vw, 1.6rem); }
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.2rem;
}
.site-nav a:hover { color: var(--teal-deep); }
.site-nav a.active { border-bottom: 2px solid var(--teal); }
.site-nav .nav-give {
  font-weight: 600;
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.site-nav .nav-give:hover { background: var(--teal-deep); color: var(--white); transform: translateY(-1px); }
body.has-hero .site-nav .nav-give {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.has-hero .site-nav .nav-give:hover { background: rgba(255, 255, 255, 0.24); }
body.has-hero .site-nav a.active { border-color: rgba(255, 255, 255, 0.8); }
body.has-hero .site-header { color: var(--white); }
body.has-hero .site-nav a { color: rgba(255, 255, 255, 0.92); }
body.has-hero .wordmark-sub { color: rgba(255, 255, 255, 0.75); }
body.has-hero .wordmark-script { color: var(--white); }

/* ── Hero (dimensional; aurora + canvas paint depth, CSS carries the fallback) ── */
.hero {
  position: relative;
  min-height: min(82vh, 680px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, #1b95a6 0%, var(--teal) 34%, var(--teal-deep) 68%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 6.5rem clamp(1.2rem, 4vw, 3rem) 6rem;
}
.hero-aurora { position: absolute; inset: 0; filter: blur(60px); opacity: 0.85; }
.hero-aurora span {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.hero-aurora span:nth-child(1) {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  left: -8%; top: -18%;
  background: radial-gradient(circle, rgba(64, 205, 222, 0.55) 0%, transparent 65%);
  animation: aurora-a 16s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(2) {
  width: 38vw; height: 38vw; min-width: 320px; min-height: 320px;
  right: -6%; top: 8%;
  background: radial-gradient(circle, rgba(255, 214, 156, 0.28) 0%, transparent 65%);
  animation: aurora-b 21s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(3) {
  width: 52vw; height: 40vw; min-width: 400px; min-height: 300px;
  left: 22%; bottom: -28%;
  background: radial-gradient(circle, rgba(17, 118, 132, 0.9) 0%, transparent 65%);
  animation: aurora-a 26s ease-in-out infinite alternate-reverse;
}
@keyframes aurora-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6%, 8%, 0) scale(1.15); } }
@keyframes aurora-b { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-7%, 10%, 0) scale(0.95); } }
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-grid {
  position: relative;
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-solo .hero-grid { grid-template-columns: 1fr; justify-items: center; }
.hero-solo .hero-inner { text-align: center; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; justify-items: start; }
}
.hero-inner { position: relative; text-align: left; max-width: 46rem; }
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(10, 63, 71, 0.45);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero h1 .line > span, .hero h1 .line > em { display: inline-block; }
.js .hero h1 .line > span, .js .hero h1 .line > em {
  transform: translateY(110%);
  animation: line-up 0.85s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}
.js .hero h1 .line:nth-child(1) > * { animation-delay: 0.05s; }
.js .hero h1 .line:nth-child(2) > * { animation-delay: 0.17s; }
.js .hero h1 .line:nth-child(3) > * { animation-delay: 0.29s; }
@keyframes line-up { to { transform: translateY(0); } }
.js .hero-badge, .js .hero-sub, .js .hero-actions, .js .hero-card {
  opacity: 0;
  transform: translateY(14px);
  animation: soft-in 0.7s ease forwards;
}
.js .hero-badge { animation-delay: 0s; }
.js .hero-sub { animation-delay: 0.42s; }
.js .hero-actions { animation-delay: 0.52s; }
.js .hero-card { animation-delay: 0.6s; }
@keyframes soft-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero h1 .line > span, .js .hero h1 .line > em,
  .js .hero-badge, .js .hero-sub, .js .hero-actions, .js .hero-card {
    animation: none; transform: none; opacity: 1;
  }
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(92deg, #ffe9c7 10%, #8fe0ea 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.hero-sub {
  margin-top: 1.1rem;
  max-width: 30rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
}
.hero-solo .hero-sub { margin-inline: auto; }
.hero-actions { margin-top: 2.2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-solo .hero-actions { justify-content: center; }

/* ── Hero card: the newest message, one press away ── */
.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 1.6rem 1.7rem 1.4rem;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 24px 60px rgba(10, 63, 71, 0.35);
  max-width: 24rem;
  width: 100%;
  justify-self: end;
}
@media (max-width: 860px) { .hero-card { justify-self: start; } }
.hero-card-art {
  display: block;
  width: calc(100% + 3.4rem);
  margin: -1.6rem -1.7rem 1.1rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 21px 21px 0 0;
}
.hero-card-kicker {
  font-family: var(--script);
  font-size: 1.35rem;
  color: #8fe0ea;
}
.hero-card-retreat {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 0.15rem;
}
.hero-card-when { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin-top: 0.2rem; }
.hero-card-session {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-top: 1.15rem;
  padding: 0.85rem 0.95rem;
  background: rgba(10, 63, 71, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
}
.hero-card-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--teal-dark);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.hero-card-play:hover { transform: scale(1.07); }
.hero-card-play svg { margin-left: 3px; }
.hero-card-body { min-width: 0; }
.hero-card-title { display: block; font-weight: 600; font-size: 0.98rem; }
.hero-card-meta { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); margin-top: 0.1rem; }
.hero-card-link {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #a9e0e8;
  text-decoration: none;
}
.hero-card-link:hover { color: var(--white); }
.hero-cta {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-dark);
  background: var(--white);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  box-shadow: 0 10px 34px rgba(10, 63, 71, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(10, 63, 71, 0.45); }
.hero-cta.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-cta.ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.75); }
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(30px, 5vw, 70px);
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .hero-aurora span { animation: none; }
}

/* ── Feature band: the latest gathering ── */
.feature {
  background:
    radial-gradient(90% 120% at 85% 0%, rgba(24, 135, 151, 0.35) 0%, transparent 55%),
    var(--teal-dark);
  color: var(--white);
  padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 3rem);
}
.feature-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 780px) { .feature-inner { grid-template-columns: 1fr; } }
.feature-kicker {
  font-family: var(--script);
  font-size: 1.5rem;
  color: #7fd0da;
}
.feature-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: 1.12;
  margin: 0.3rem 0 0.5rem;
  text-wrap: balance;
}
.feature-meta { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.feature-desc { margin-top: 0.9rem; max-width: 32rem; color: rgba(255, 255, 255, 0.88); }
.feature-link {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.15rem;
}
.feature-link:hover { border-color: var(--white); }
.feature-listen {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  backdrop-filter: blur(4px);
}
.feature-sessions { list-style: none; }
.feature-session {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.feature-session:last-child { border-bottom: none; }
.feature-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.feature-play:hover { background: var(--teal); border-color: var(--teal); transform: scale(1.08); }
.feature-num { font-family: var(--display); color: #7fd0da; min-width: 38px; text-align: center; }
.feature-session-body { flex: 1; min-width: 0; text-decoration: none; }
.feature-session-title { display: block; font-weight: 600; color: var(--white); font-size: 0.95rem; }
.feature-session-body:hover .feature-session-title { color: #a9e0e8; }
.feature-session-meta { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.feature-more { margin-top: 0.7rem; font-size: 0.88rem; }
.feature-more a { color: #a9e0e8; text-decoration: none; }
.feature-more a:hover { text-decoration: underline; }

/* ── Archive ── */
.archive {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 3rem) 4rem;
}
body:not(.has-hero) .archive,
body:not(.has-hero) .retreat,
body:not(.has-hero) .session { padding-top: 7rem; }
.archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.archive-head h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}
.head-script { font-family: var(--script); font-weight: 600; color: var(--teal); font-size: 0.8em; }
.result-head {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 1.8rem 0 0.6rem;
}

/* ── Tag chips ── */
.tag-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--teal-deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.tag-chip span { font-size: 0.72rem; color: var(--ink-soft); }
.tag-chip:hover { border-color: var(--teal); transform: translateY(-1px); }
.tag-chip.active, .tag-chip.clear:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.tag-chip.active span { color: rgba(255, 255, 255, 0.75); }
.session-header .tag-bar { margin: 0.9rem 0 0; }

/* ── Archive browse controls ── */
.browse-tabs {
  display: inline-flex;
  gap: 0.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem;
  margin-bottom: 1.6rem;
}
.browse-tab {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.browse-tab:hover { color: var(--teal-deep); }
.browse-tab.active { background: var(--teal); color: var(--white); }
.browse-hint { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.4rem; }

.year-rail {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.7rem 0;
  margin-bottom: 1rem;
  background: linear-gradient(var(--cream) 85%, transparent);
  scrollbar-width: none;
}
.year-rail::-webkit-scrollbar { display: none; }
.year-rail a {
  flex: none;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.year-rail a:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

.topic-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-chip.big { font-size: 1rem; padding: 0.55rem 1.2rem; }
.tag-chip.big span { font-size: 0.8rem; }
.tag-chip.people { padding-left: 0.45rem; }
.tag-chip.people:not(:has(img)) { padding-left: 0.9rem; }
.tag-chip.people .avatar-sm { width: 24px; height: 24px; border-width: 1px; }
.avatar-head {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: -0.55em;
  margin-right: 0.35rem;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(31, 41, 51, 0.2);
}

.people-rows { list-style: none; max-width: 34rem; }
.people-rows a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0.4rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.people-rows li:last-child a { border-bottom: none; }
.people-rows a:hover .rr-title { color: var(--teal-deep); }
.people-rows a:hover .rr-arrow { opacity: 1; transform: none; }
.pp-avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.pp-initials {
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
}

.retreat-rows { list-style: none; }
.retreat-rows a {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.retreat-rows li:last-child a { border-bottom: none; }
.rr-art {
  flex: none;
  width: 92px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: cover;
}
.rr-year {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--teal);
  background: var(--white);
  border: 1px solid var(--line);
}
.rr-body { flex: 1; min-width: 0; }
.rr-title { display: block; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.retreat-rows a:hover .rr-title { color: var(--teal-deep); }
.rr-meta { display: block; font-size: 0.87rem; color: var(--ink-soft); }
.rr-arrow { color: var(--teal); opacity: 0; transform: translateX(-6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.retreat-rows a:hover .rr-arrow { opacity: 1; transform: none; }

.year-block { position: relative; margin-bottom: 2.6rem; scroll-margin-top: 4.5rem; }
.year-mark {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(24, 135, 151, 0.35);
  margin-bottom: 0.9rem;
  user-select: none;
}
.search input {
  width: 100%;
  max-width: 30rem;
  font: inherit;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  outline-color: var(--teal);
}
.retreat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.retreat-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.4rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.retreat-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #7fd0da);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.retreat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(14, 95, 107, 0.14);
}
.retreat-card:hover::before { opacity: 1; }
.retreat-card-arrow {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.retreat-card:hover .retreat-card-arrow { opacity: 1; transform: translateX(0); }
.retreat-card-art {
  display: block;
  width: calc(100% + 2.8rem);
  margin: -1.4rem -1.4rem 1rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 13px 13px 0 0;
}
.retreat-card-year {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal);
}
.retreat-card h2, .retreat-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0.35rem 0 0.4rem;
}
.retreat-card-meta { font-size: 0.88rem; color: var(--ink-soft); }
.retreat-card-count { margin-top: 0.7rem; font-size: 0.82rem; font-weight: 500; color: var(--teal-deep); }
.empty { color: var(--ink-soft); padding: 2rem 0; }

/* ── Retreat page ── */
.retreat, .session {
  max-width: 46rem;
  margin: 0 auto;
  padding: 7rem clamp(1.2rem, 4vw, 2rem) 4rem;
}
.crumb { font-size: 0.85rem; margin-bottom: 1rem; }
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a:hover { color: var(--teal-deep); }
.retreat-header h1, .session-header h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.15;
  text-wrap: balance;
}
.retreat-banner {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.4rem;
  box-shadow: 0 14px 40px rgba(14, 95, 107, 0.18);
}
.retreat-meta, .session-page-meta { margin-top: 0.5rem; color: var(--ink-soft); }
.speaker-chip { display: inline-flex; align-items: center; gap: 0.4rem; vertical-align: middle; }
.avatar-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--white);
  box-shadow: 0 1px 4px rgba(31, 41, 51, 0.25);
}
.retreat-desc { margin-top: 1rem; max-width: 40rem; }
.session-list { list-style: none; margin-top: 2.2rem; }
.session-row a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.4rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.session-row a:hover .session-title { color: var(--teal-deep); }
.session-num {
  font-family: var(--display);
  color: var(--teal);
  font-size: 1.05rem;
  min-width: 2ch;
}
.session-body { flex: 1; min-width: 0; }
.session-title { display: block; font-weight: 600; }
.session-meta { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.session-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--teal-deep);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.session-play:hover { background: var(--teal); color: var(--white); transform: scale(1.06); }

/* ── Session page (ambient playback treatment lives here) ── */
.player-ambient { position: relative; }
.ambient-wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.2s ease;
  background:
    radial-gradient(60% 50% at 75% 12%, rgba(24, 135, 151, 0.16) 0%, transparent 70%),
    radial-gradient(50% 45% at 15% 85%, rgba(24, 135, 151, 0.1) 0%, transparent 70%);
}
body.is-playing .ambient-wash { opacity: 1; animation: breathe 9s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
/* Scroll reveals (app.js flips .in; no-JS and reduced-motion stay visible) */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  body.is-playing .ambient-wash { animation: none; }
  .retreat-card, .retreat-card:hover { transform: none; transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.session-player-cta { margin: 2rem 0; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.session-cover {
  width: 132px;
  height: 132px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 14px 40px rgba(14, 95, 107, 0.25);
}
.big-play {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font: 600 1.05rem var(--body);
  color: var(--white);
  background: var(--teal);
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.9rem 0.95rem 1.4rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(14, 95, 107, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.big-play:hover { background: var(--teal-deep); transform: translateY(-1px); }
.session-desc { max-width: 40rem; }
.session-notes { margin-top: 2.5rem; }
.session-notes h2 { font-family: var(--display); font-size: 1.3rem; margin-bottom: 0.8rem; }
.session-notes ul { list-style: none; }
.note-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  color: var(--teal-deep);
  text-decoration: none;
  font-weight: 500;
}
.note-link:hover { text-decoration: underline; }

/* ── Archive CTA strip (home page) ── */
.archive-cta {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.archive-cta p {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--ink);
}
.hero-cta.solid {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(14, 95, 107, 0.25);
}
.hero-cta.solid:hover { background: var(--teal-deep); }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.2rem, 4vw, 3rem) 2.4rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.site-footer .hebrew { color: var(--teal-deep); font-weight: 500; }
.footer-links { margin-top: 0.6rem; }
.footer-links a { color: var(--teal-deep); text-decoration: none; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; }

/* ── Mini-player: a floating island ── */
.mini-player {
  position: fixed;
  left: 50%;
  bottom: max(0.9rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 50;
  width: min(720px, calc(100vw - 1.6rem));
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 1.1rem 0.6rem 0.7rem;
  background: rgba(10, 63, 71, 0.9);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(10, 63, 71, 0.45);
  animation: player-rise 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes player-rise {
  from { transform: translate(-50%, 120%); opacity: 0; }
  to   { transform: translate(-50%, 0);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .mini-player { animation: none; } }
.mini-player[hidden] { display: none; }
.player-art {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
}
.player-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--teal-dark);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.player-toggle:hover { transform: scale(1.06); }
.player-toggle .icon-pause { display: none; }
body.is-playing .player-toggle .icon-play { display: none; }
body.is-playing .player-toggle .icon-pause { display: block; }
.player-info { min-width: 0; flex: 0 1 auto; }
.player-title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-title:hover { color: #a9e0e8; }
.player-meta { font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-scrub { flex: 1; display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.player-time { font-size: 0.76rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.65); flex: none; }
#player-seek {
  flex: 1;
  min-width: 0;
  accent-color: #7fd0da;
  height: 4px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .player-scrub .player-time { display: none; }
  .hero { min-height: 70vh; }
}
