/* ourmindschange.com
   Brand: Playfair Display (display) + Open Sans (text).
   Palette shared with Evolve Holistic Center: light e8ecef, slate 4a4e69, gold f4c95d,
   lavender 957dad, sage 9cb8a7. Sections alternate slate / light / gold with angled
   edges, the way the Squarespace site did, so the page keeps a sense of movement. */

:root {
  --light: #e8ecef;
  --paper: #f5f6f8;
  --white: #ffffff;
  --slate: #4a4e69;
  --slate-deep: #3b3e56;
  --night: #20233a;
  --gold: #f4c95d;
  --gold-deep: #b8892b;
  --sage: #9cb8a7;
  --sage-deep: #5f8a76;
  --lav: #957dad;
  --lav-deep: #6f5a87;
  --ink: #2b2d3f;
  --ink-soft: #5a5d75;
  --muted: #8b8ea3;
  --rule: #d8dbe3;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-text: "Open Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --narrow: 760px;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(32, 35, 58, 0.14);
  --edge: clamp(34px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.7 var(--font-text);
  color: var(--ink);
  background: var(--light);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.15rem; font-family: var(--font-text); font-weight: 600; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
em, i { font-style: italic; }
.gold { color: var(--gold); }
.lav { color: var(--lav); }
.eyebrow {
  font-family: var(--font-text); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0 0 0.9rem;
}
.band-slate .eyebrow, .band-night .eyebrow, .band-image .eyebrow { color: var(--gold); }
.band-gold .eyebrow { color: var(--slate); }
.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); }
.band-slate .lede, .band-night .lede, .band-image .lede { color: var(--light); }
.small { font-size: 0.9rem; color: var(--ink-soft); }
.center { text-align: center; }
.measure { max-width: var(--narrow); }
.center .measure, .measure.center { margin-left: auto; margin-right: auto; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin: 0 auto; }
.wrap-narrow { width: min(100% - 2rem, var(--narrow)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- header ---------- */
/* The header floats: it slides away as you scroll down and comes back as you scroll up (site.js).
   Over a hero image at the top of a page it is see-through; everywhere else it is slate. */
.site-header { position: fixed; left: 0; right: 0; top: var(--omc-strip-h, 0px); z-index: 50; background: rgba(74, 78, 105, 0.97); backdrop-filter: blur(8px); color: var(--light); box-shadow: 0 2px 20px rgba(32, 35, 58, 0.2);
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease; }
.site-header.over-hero { background: transparent; box-shadow: none; backdrop-filter: none; }
.site-header.over-hero .site-nav a { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
.site-header.away { transform: translateY(-110%); }
body:not(.has-hero) #main { padding-top: var(--hdr-h, 72px); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--light); text-decoration: none; }
.brand-logo { height: 46px; width: auto; display: block; }
@media (max-width: 420px) { .brand-logo { height: 38px; } }
.brand-word { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; display: flex; flex-direction: column; }
.site-nav { display: flex; align-items: center; gap: clamp(0.8rem, 1.8vw, 1.6rem); }
.site-nav a { color: var(--light); text-decoration: none; font-size: 0.95rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--white); }
.site-nav a.nav-cta { border-bottom: 0; color: var(--ink); }
.site-nav a.nav-cta:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 0.6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--light); margin: 5px 0; transition: transform 0.2s, opacity 0.2s; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--slate); flex-direction: column; align-items: stretch; padding: 0.6rem 1rem 1.2rem; gap: 0; display: none; box-shadow: 0 16px 30px rgba(32, 35, 58, 0.3); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0.2rem; border-bottom: 1px solid rgba(232, 236, 239, 0.12); font-size: 1.05rem; }
  .site-nav a.nav-cta { margin-top: 0.9rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-text); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 0.9rem 1.7rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.12s, box-shadow 0.12s, background 0.12s; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); box-shadow: 0 8px 26px rgba(244, 201, 93, 0.25); }
.btn-gold:hover { color: var(--ink); background: #f7d47a; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { color: var(--ink); background: rgba(74, 78, 105, 0.07); }
.band-slate .btn-outline, .band-night .btn-outline, .hero .btn-outline { color: var(--light); border-color: var(--light); }
.band-slate .btn-outline:hover, .band-night .btn-outline:hover, .hero .btn-outline:hover { color: var(--white); background: rgba(232, 236, 239, 0.12); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.center .btn-row { justify-content: center; }

/* ---------- bands and edges ---------- */
.band { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.band-light { background: var(--light); color: var(--ink); }
.band-paper { background: var(--paper); color: var(--ink); }
.band-slate { background: var(--slate); color: var(--light); }
.band-night { background: var(--night); color: var(--light); }
.band-gold { background: var(--gold); color: var(--slate); }
.band-slate h1, .band-slate h2, .band-slate h3, .band-night h1, .band-night h2, .band-night h3 { color: var(--white); }
.band-slate a:not(.btn), .band-night a:not(.btn) { color: var(--gold); }
.band-gold a:not(.btn) { color: var(--slate-deep); }
.band-tight { padding: clamp(2.2rem, 5vw, 3.5rem) 0; }

/* A gently curved seam between two bands, drawn as SVG by build.py so the line stays smooth.
   --from is the band above, --to the band below, --line the accent along the curve.
   Add .alt to mirror the curve. */
.edge { height: var(--edge); position: relative; z-index: 1; margin-top: -1px; margin-bottom: -1px; }
.edge svg { display: block; width: 100%; height: 100%; overflow: visible; }
.edge.alt svg { transform: scaleX(-1); }
.edge .edge-from { fill: var(--from); }
.edge .edge-to { fill: var(--to); }
.edge .edge-line { fill: none; stroke: var(--line); stroke-width: 3px; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.edge + .band { padding-top: clamp(2rem, 5vw, 4rem); }
/* the arc under the home picture, as on the original site: the slate rises at the sides and dips in the middle */
.edge-arc { margin-top: calc(var(--edge) * -1); z-index: 2; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: clamp(520px, 78vh, 820px); display: grid; place-items: center; text-align: center;
  color: var(--light); background: var(--night); overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 35%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(32, 35, 58, 0.25), rgba(32, 35, 58, 0.15) 50%, rgba(74, 78, 105, 0.85)); }
.hero-fallback { background-color: #3a2f45; background-repeat: no-repeat; }
.hero-inner { position: relative; padding: clamp(4rem, 12vw, 8rem) 1rem; width: min(100% - 2rem, 900px); }
.hero h1 { color: var(--white); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45); margin-bottom: 0.4em; }
/* the eyebrow over a bright picture: a soft dark pill behind it, so it reads on any image */
.hero .eyebrow { color: var(--gold); display: inline-block; background: rgba(32, 35, 58, 0.55); padding: 0.35rem 0.9rem; border-radius: 999px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); }
.hero h1 em { color: var(--gold); }
.hero p { font-size: clamp(1.1rem, 2.2vw, 1.4rem); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.hero-sub { min-height: 20vh; }
/* the first hero sits under the floating header */
.has-hero #main > .hero:first-child .hero-inner { padding-top: calc(var(--hdr-h, 72px) + clamp(2.5rem, 8vw, 5.5rem)); }
/* the home page: the full picture, the words up high so the figure and her heart show */
.hero-home { min-height: 100vh; min-height: 100svh; place-items: start center; }
.has-hero #main > .hero-home:first-child .hero-inner { padding-top: calc(var(--hdr-h, 72px) + clamp(2rem, 9vh, 6rem)); }
/* the square picture is anchored at the top, as on the original site: the sky on top, her head clear of the words;
   all the parallax room is below, since the picture only drifts downward */
.hero-home .hero-bg { inset: auto; top: 0; left: 0; right: 0; height: max(100%, 100vw); background-position: center top; }
/* the home picture in its own colors: no tint; the words sit in the sky, gold with white italics */
.hero-home .hero-bg::after { display: none; }
.hero-home h1 { font-weight: 700; color: var(--gold); text-shadow: 0 2px 22px rgba(32, 35, 58, 0.55), 0 1px 3px rgba(32, 35, 58, 0.35); }
.hero-home h1 em { color: var(--white); }
@media (max-width: 640px) {
  /* on a phone, as on the original site: two lines, each kept whole, the size set by the screen's width */
  .has-hero #main > .hero-home:first-child .hero-inner { padding: calc(var(--hdr-h, 72px) + 2.6rem) 0.5rem 2rem; width: 100%; }
  .hero-home h1 { font-size: min(7.9vw, 2.6rem); line-height: 1.18; white-space: nowrap; }
}
/* parallax room: the picture is a little taller than its section and drifts as you scroll (site.js) */
.hero-bg { inset: -14% 0; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero-bg { inset: 0; will-change: auto; } .hero-home .hero-bg { will-change: auto; } }

/* ---------- layout helpers ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.portrait { width: min(100%, 380px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto; box-shadow: var(--shadow); border: 6px solid rgba(255, 255, 255, 0.55); }
.book-art { width: min(100%, 420px); margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(32, 35, 58, 0.3)); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
/* two by two (the book's four movements): never three and one */
.grid-quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; max-width: 920px; margin-inline: auto; }
@media (max-width: 680px) { .grid-quad { grid-template-columns: 1fr; } }
.card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); }
.card .btn-row { margin-top: 1.1rem; }
.band-slate .card a:not(.btn) { color: var(--sage-deep); }
.photo { border-radius: var(--radius); object-fit: cover; width: 100%; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.photo-round { border-radius: 50%; aspect-ratio: 1; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.photo-grid img { width: 100%; }

/* verse bands */
.verse { text-align: center; font-family: var(--font-text); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.6; max-width: 820px; margin: 0 auto; }
.verse cite { display: block; font-style: italic; font-size: 0.9rem; margin-top: 0.9rem; opacity: 0.85; }
.verse cite::before { content: "From "; }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--night); box-shadow: var(--shadow); margin: 1.5rem 0 2rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* the free classes, signed out: "Sign in to watch" in place of the video (functions/_lib/classgate.js) */
.class-gate { border-radius: var(--radius); text-align: center; padding: clamp(2rem, 6vw, 3.4rem) clamp(1.2rem, 5vw, 3rem); background: linear-gradient(135deg, var(--slate-deep), var(--night)); color: var(--light); box-shadow: var(--shadow); margin: 1.5rem 0 2rem; }
.class-gate .eyebrow { color: var(--gold); }
.class-gate h2 { color: var(--white); margin-bottom: 0.5em; }
.class-gate p { max-width: 34rem; margin-inline: auto; color: var(--light); }
.class-gate .btn-row { justify-content: center; margin: 1.4rem 0 0.6rem; }
.class-gate .small, .class-gate .small a { color: rgba(237, 239, 245, 0.75); }
.video-placeholder { aspect-ratio: 16 / 9; border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 1.5rem; background: linear-gradient(135deg, var(--slate-deep), var(--night)); color: var(--light); border: 1px dashed var(--gold); margin: 1.5rem 0 2rem; }

/* ---------- music ---------- */
.album-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; margin: 1.5rem 0 0; }
.album-nav a { display: block; text-decoration: none; color: inherit; text-align: center; font-size: 0.92rem; }
.album-nav img, .album-nav .art-missing { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 0.5rem; background: linear-gradient(135deg, var(--lav), var(--slate)); }
.album-nav a:hover { color: var(--gold-deep); }
.badge { display: inline-block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--gold); color: var(--ink); border-radius: 999px; padding: 0.15rem 0.55rem; margin-left: 0.3rem; vertical-align: middle; }
h2 .badge { font-size: 0.72rem; margin-left: 0.6rem; vertical-align: middle; }
.stream-links { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.2rem; }
.stream-links a { display: inline-block; border: 1.5px solid currentColor; border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.9rem; text-decoration: none; color: inherit; opacity: 0.9; }
.stream-links a:hover { opacity: 1; border-color: var(--gold); color: var(--gold); }
.band-light .stream-links a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.album { scroll-margin-top: 90px; }
.album-head h2 { margin-bottom: 0.2em; }
.album-head .eyebrow { margin-bottom: 0.4rem; }
.md-embed { width: 100%; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); height: 560px; background: var(--white); }
.album-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .album-body { grid-template-columns: 1fr; } }
details.more { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 0.4rem 0; }
details.more + details.more { border-top: 0; }
details.more summary { cursor: pointer; font-family: var(--font-display); font-size: 1.2rem; padding: 0.7rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-family: var(--font-text); font-size: 1.4rem; color: var(--gold-deep); }
details.more[open] summary::after { content: "–"; }
details.more > div { padding: 0 0 1.2rem; color: var(--ink-soft); }
.band-slate details.more > div, .band-night details.more > div { color: var(--light); }   /* on the dark bands the folded text was almost invisible */
.band-slate details.more, .band-night details.more { border-color: rgba(232, 236, 239, 0.25); }
.band-slate details.more summary::after, .band-night details.more summary::after { color: var(--gold); }

/* ---------- classes ---------- */
.class-card { display: flex; flex-direction: column; gap: 0.6rem; }
.class-card .btn-row { margin-top: auto; padding-top: 0.6rem; align-items: flex-start; }   /* the button keeps its own height and sits at the foot of the card */
.class-card .meta { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.class-card h3 a { color: inherit; text-decoration: none; }
.class-card h3 a:hover { color: var(--gold-deep); }
.support { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); border-left: 5px solid var(--gold); }
.support h3 { margin-top: 0; }
.learn { padding-left: 1.2rem; }
.learn li { margin-bottom: 0.5em; }
.pagination { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.pagination a { text-decoration: none; }

/* ---------- prose pages (about, policies) ---------- */
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45em; }
.prose blockquote { margin: 1.5rem 0; padding: 0.2rem 0 0.2rem 1.2rem; border-left: 4px solid var(--gold); font-style: italic; color: var(--ink-soft); }
.prose .sig { font-family: var(--font-display); font-size: 1.4rem; margin-top: 1.5rem; }
.policy-meta { color: var(--muted); font-size: 0.9rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; max-width: 560px; }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.form input, .form textarea { font: inherit; padding: 0.8rem 0.95rem; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--white); color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold-deep); }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-note { min-height: 1.4em; color: var(--ink-soft); }
.form-note.err { color: #8a2f2f; }
.form-note.ok { color: var(--sage-deep); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--light); padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 2.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 0.9rem; align-items: flex-start; }
.footer-brand > div { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-logo { height: 54px; width: auto; display: block; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.footer-word { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.03em; }
.footer-tag { color: var(--muted); font-size: 0.9rem; margin: 0.2rem 0 0; }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; }
.footer-links h3 { font-family: var(--font-text); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.footer-links a { display: block; color: var(--light); text-decoration: none; padding: 0.22rem 0; opacity: 0.88; }
.footer-links a:hover { color: var(--gold); opacity: 1; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(232, 236, 239, 0.14); padding-top: 1.4rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; align-items: center; }
.footer-legal a { color: var(--sage); text-decoration: none; }
.footer-legal a:hover { color: var(--gold); }
.footer-legal p { margin: 0; width: 100%; font-size: 0.85rem; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* verse inside an album block: smaller, left-aligned */
.small-verse { font-size: 1.05rem; text-align: left; margin: 1.4rem 0 0; color: var(--ink-soft); }
.small-verse cite { margin-top: 0.4rem; }

/* About page banner: the photo sits behind the slate intro, softened on the text side */
.band-photo { background-color: var(--slate); background-size: cover; background-position: center right;
  background-image: linear-gradient(90deg, rgba(74, 78, 105, 0.94) 0%, rgba(74, 78, 105, 0.82) 42%, rgba(74, 78, 105, 0.35) 100%), var(--photo); }
@media (max-width: 800px) { .band-photo { background-image: linear-gradient(rgba(74, 78, 105, 0.82), rgba(74, 78, 105, 0.9)), var(--photo); } }

/* ---------- music page: one player, compact variety list ---------- */
.player-wrap { max-width: 920px; }
.player-wrap .md-embed { margin-top: 1.4rem; min-height: 520px; }
.variety-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 1.1rem; margin-top: 2rem; align-items: start; }
.variety { display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; background: var(--white); border-radius: var(--radius); padding: 1rem; box-shadow: 0 6px 22px rgba(32, 35, 58, 0.08); scroll-margin-top: 110px; }
.variety:target { outline: 2px solid var(--gold); }
.variety-art { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.variety-art.art-missing { background: linear-gradient(135deg, var(--lav), var(--slate)); }
.variety h3 { font-size: 1.3rem; margin: 0.15rem 0 0.6rem; }
.variety h3 .badge { font-size: 0.68rem; margin-left: 0.4rem; vertical-align: middle; }
.variety-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; }
.variety-more { flex-basis: 100%; }
.variety-acts .btn { order: 0; }
.variety-more summary { cursor: pointer; color: var(--sage-deep); font-size: 0.92rem; font-weight: 600; list-style: none; display: inline-block; padding: 0.2rem 0; }
.variety-more summary::-webkit-details-marker { display: none; }
.variety-more summary::after { content: " +"; }
.variety-more[open] summary::after { content: " –"; }
.variety-more > div { color: var(--ink-soft); font-size: 0.97rem; padding-top: 0.6rem; }
.variety-more > div p { margin-bottom: 0.8em; }
@media (max-width: 480px) { .variety { grid-template-columns: 72px 1fr; } .variety-art { width: 72px; height: 72px; } }
.stream-note { font-size: 0.92rem !important; opacity: 0.9; margin-top: 0.9rem; }

/* ---------- contact checkbox ---------- */
.form label.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.95rem; color: var(--ink-soft); }
.form label.check input { width: auto; margin-top: 0.3rem; accent-color: var(--gold-deep); }

/* ---------- private course ---------- */
.course-section { margin-top: 2.6rem; }
.course-section h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 0.8rem; }
.lesson-list, .prose .lesson-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.lesson-list li.not-yet > div { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.9rem; align-items: start; background: rgba(255, 255, 255, 0.55); border-radius: 14px; padding: 1rem 1.1rem; color: var(--muted); border: 1px dashed var(--rule); }
.lesson-list li.not-yet .lesson-n { opacity: 0.6; }
.lesson-soon { display: block; font-size: 0.85rem; color: var(--gold-deep); margin-top: 0.25rem; }
.lesson-list a { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.9rem; align-items: start; background: var(--white); border-radius: 14px; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); box-shadow: 0 6px 20px rgba(32, 35, 58, 0.07); transition: transform 0.12s, box-shadow 0.12s; }
.lesson-list a:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(32, 35, 58, 0.12); color: var(--ink); }
.lesson-n { display: grid; place-items: center; height: 2.6rem; border-radius: 999px; background: var(--light); color: var(--slate); font-weight: 600; font-size: 0.85rem; }
.lesson-list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.3; }
.lesson-d { display: block; color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.25rem; }
[hidden] { display: none !important; }

/* ---------- my account ---------- */
.acct-items { display: grid; gap: 0.9rem; }
.acct-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: 0 6px 20px rgba(32, 35, 58, 0.07); border-left: 4px solid var(--rule); }
.acct-item.has { border-left-color: var(--gold); }
.acct-item h3 { margin: 0.1rem 0 0.2rem; font-size: 1.3rem; }
.acct-site { margin: 0; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.acct-detail { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.acct-act { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 560px) { .acct-item { flex-direction: column; align-items: flex-start; } .acct-act { justify-content: flex-start; } }
.acct-section { margin-top: 2.6rem; }
.acct-section h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.acct-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; margin-top: 1rem; }
.acct-album { text-decoration: none; color: var(--ink); font-size: 0.9rem; text-align: center; }
.acct-album img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 0.4rem; }
.acct-buys { list-style: none; padding: 0; margin: 0; }
.acct-buys li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }

/* ---------- The Our Minds Change account (sign-in and My account) ----------
   One quiet shell shared by every site in the family: night sky, the OMC mark,
   a paper card. Player and Studio screens echo the same night palette. */
.ac-shell { min-height: 100vh; display: flex; flex-direction: column; color: var(--light);
  background: radial-gradient(ellipse at 50% 22%, #2c3050 0%, var(--night) 58%) fixed, var(--night); }
.ac-head { text-align: center; padding: clamp(1.8rem, 5vh, 3rem) 1rem 1.2rem; }
.ac-brand img { width: min(240px, 62vw); height: auto; display: block; margin: 0 auto; }
.ac-label { margin: 0.55rem 0 0; font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.ac-main { flex: 1; padding: 0.5rem 16px 2.5rem; }
.ac-card, .ac-wide { background: var(--paper); color: var(--ink); border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); margin: 0 auto;
  border-top: 3px solid var(--gold); }
.ac-card { max-width: 440px; padding: clamp(1.6rem, 4vw, 2.3rem); }
.ac-wide { max-width: 780px; padding: clamp(1.4rem, 4vw, 2.6rem); }
.ac-card h1, .ac-wide h1 { font-size: clamp(1.9rem, 5vw, 2.4rem); margin: 0 0 0.3rem; }
.ac-eyebrow { margin: 0 0 0.5rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.ac-going { display: inline-block; margin: 0.2rem 0 1rem; padding: 0.3rem 0.85rem; border-radius: 999px; background: rgba(149, 125, 173, 0.13); color: var(--lav-deep); font-size: 0.92rem; }
.ac-going b { font-weight: 600; }
.ac-lede { color: var(--ink-soft); font-size: 1rem; margin: 0.4rem 0 1.2rem; }
.ac-warn { background: #fbefe6; border-left: 3px solid var(--gold-deep); padding: 0.6rem 0.85rem; border-radius: 8px; font-size: 0.93rem; color: #6b4a1a; }
.ac-form { display: grid; gap: 0.5rem; }
.ac-form > label:not(.ac-check):not(.hp) { font-weight: 600; font-size: 0.92rem; }
.ac-form input[type=email], .ac-form input[type=text] { font: inherit; font-size: 1.05rem; padding: 0.85rem 1rem; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--white); color: var(--ink); width: 100%; box-sizing: border-box; }
.ac-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold-deep); }
.ac-form .hp { position: absolute; left: -9999px; }
.ac-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); margin: 0.3rem 0; }
.ac-check[hidden] { display: none; }
.ac-check input { margin-top: 0.3rem; accent-color: var(--sage-deep); width: 16px; height: 16px; flex: none; }
.ac-go { width: 100%; margin-top: 0.6rem; }
.ac-note:empty { display: none; }
.ac-note { margin: 0.4rem 0 0; font-size: 0.93rem; color: var(--ink-soft); }
.ac-note.err { color: #8a2f2f; }
.ac-note.ok { color: var(--sage-deep); }
.ac-small { font-size: 0.86rem; color: var(--muted); margin: 1.2rem 0 0; }
.ac-link { all: unset; cursor: pointer; color: var(--sage-deep); text-decoration: underline; }
.ac-link:focus-visible { outline: 2px solid var(--gold); }
.ac-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.ac-breath { width: 12px; height: 12px; border-radius: 50%; background: var(--sage); margin: 1.6rem auto; animation: ac-breath 10s ease-in-out infinite; }
@keyframes ac-breath { 0%, 100% { transform: scale(1); opacity: 0.45; } 50% { transform: scale(2.2); opacity: 0.9; } }
@media (prefers-reduced-motion: reduce) { .ac-breath { animation: none; opacity: 0.7; } }
.ac-help { max-width: 440px; margin: 1.3rem auto 0; text-align: center; font-size: 0.86rem; color: #a3a7c2; }
.ac-help a, .ac-foot a { color: var(--gold); }
.ac-foot { text-align: center; padding: 1.5rem 16px 2rem; font-size: 0.82rem; color: #8b8fab; }
.ac-foot p { margin: 0.25rem 0; }
.ac-hello { margin-bottom: 1.6rem; }
.ac-h2 { font-size: clamp(1.25rem, 3vw, 1.55rem); margin: 0 0 0.8rem; }
.ac-panel { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.ac-out p { margin: 0; }
.ac-wide .acct-item { background: var(--white); }
.ac-shell .btn-outline { color: var(--ink); border-color: var(--ink); }

/* ---------- the partner program (/partners/, /partners/dashboard/) ---------- */
.steps { padding-left: 1.3rem; margin: 0 0 1.4rem; }
.steps li { margin: 0 0 0.7rem; line-height: 1.6; }
.pd-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.06em; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 0.05em 0.45em; }
.pd-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; margin: 1.4rem 0 2rem; }
.pd-totals > div { background: var(--white); border-radius: var(--radius); padding: 0.9rem 1rem; box-shadow: 0 6px 20px rgba(32, 35, 58, 0.07); }
.pd-totals .n { display: block; font-size: 1.6rem; font-family: Georgia, serif; }
.pd-totals .l { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.pd-links { display: grid; gap: 0.8rem; }
.pd-link { background: var(--white); border-radius: var(--radius); padding: 0.9rem 1.1rem; box-shadow: 0 6px 20px rgba(32, 35, 58, 0.07); border-left: 4px solid var(--gold); }
.pd-link b { display: block; }
.pd-link span { display: block; font-size: 0.88rem; color: var(--ink-soft); margin: 0.15rem 0 0.6rem; }
.pd-copy { display: flex; gap: 0.5rem; }
.pd-copy input { flex: 1; min-width: 0; font: 0.88rem ui-monospace, Menlo, Consolas, monospace; padding: 0.45rem 0.6rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); color: var(--ink); }
.pd-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin-bottom: 0.8rem; }
.pd-table th, .pd-table td { text-align: left; padding: 0.45rem 0.4rem; border-bottom: 1px solid var(--rule); }
.pd-table .num { text-align: right; }

/* free classes: the featured class at the top of the collection */
.feature-class { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--light);
  background: var(--night) center 35% / cover no-repeat; margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }
.feature-class::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(32, 35, 58, 0.92) 0%, rgba(32, 35, 58, 0.72) 55%, rgba(74, 78, 105, 0.45)); }
.feature-class-inner { padding: clamp(1.8rem, 5vw, 3.2rem); max-width: 640px; }
.feature-class .eyebrow { color: var(--gold); }
.feature-class h2 { color: var(--white); margin-bottom: 0.4em; }
.feature-class h2 em { color: var(--gold); }
.feature-class p { color: var(--light); }
.feature-class .btn-row { margin-top: 1.3rem; }
.classes-head { text-align: center; margin-bottom: 1.6rem; }
/* course lessons: the way back to the course page */
.lesson-back { margin: 0 0 1.2rem; }
.lesson-text { margin-top: 1.5rem; }
/* contact form: the polite no-soliciting note */
.form .no-solicit { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5; margin: 0.2rem 0 0.4rem; }

/* "keep me posted" box (the book page's course updates) */
.news-box { display: grid; gap: 0.8rem; max-width: 560px; margin-top: 1.4rem; }
.news-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.news-row input { flex: 1 1 240px; font: inherit; padding: 0.8rem 0.95rem; border: 1.5px solid transparent; border-radius: 999px; background: var(--white); color: var(--ink); }
.news-row input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.news-agree { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.45; }
.news-agree input { margin-top: 0.25rem; accent-color: var(--gold); }
.news-box .hp { position: absolute; left: -9999px; }
.band-slate .news-box .form-note { color: var(--light); }
.band-slate .news-box .form-note.err { color: #ffd6d6; }
.band-slate .news-box .form-note.ok { color: var(--gold); }
.band-slate .news-box .form-note a { color: var(--gold); }

/* Light Bringer Courses: the program page, a course page, and choose-your-price registration */
.course-grid .class-card .meta { color: var(--sage-deep); }
.course-grid.one { grid-template-columns: minmax(0, 560px); justify-content: center; }
.course-facts { max-width: 1000px; gap: 1.2rem; }
.course-facts .card p { margin: 0; }
.live-card { margin: 1.4rem 0; border-left: 4px solid var(--gold); }
.live-card h3 { margin-top: 0; }
.reg-form { max-width: 640px; }
.price-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
@media (max-width: 640px) { .price-choices { grid-template-columns: 1fr; } }
.price-choice { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; background: var(--white); border: 2px solid var(--rule); border-radius: var(--radius); padding: 0.95rem 1rem; cursor: pointer; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.price-choice:hover { border-color: var(--gold-deep); }
.price-choice:has(input:checked) { border-color: var(--gold-deep); box-shadow: 0 6px 20px rgba(244, 201, 93, 0.25); }
.price-choice input { width: auto; margin-top: 0.3rem; accent-color: var(--gold-deep); }
.price-choice span { display: grid; gap: 0.15rem; }
.price-choice b { font-size: 1.05rem; }
.price-choice em { font-style: normal; color: var(--sage-deep); font-weight: 600; }
.price-choice small { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.4; }
.amount-row { display: flex; gap: 1rem; align-items: center; }
.amount-row input[type=range] { flex: 1; accent-color: var(--gold-deep); padding: 0; border: 0; }
.amount-box { display: inline-flex; align-items: center; gap: 0.2rem; font-weight: 600; }
.amount-box input { width: 5.5rem; }
.reg-registered { background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: var(--shadow); margin-bottom: 2rem; border-left: 4px solid var(--gold); }
.reg-registered h2 { margin-top: 0; }

/* news boxes without a tick: one line under the button; the footer's compact box */
.news-line { font-size: 0.9rem; color: var(--ink-soft); margin: 0; line-height: 1.45; }
.band-slate .news-line, .site-footer .news-line { color: var(--muted); }
.footer-news { margin-top: 0.9rem; max-width: 420px; gap: 0.5rem; }
.footer-news-h { margin: 0; font-size: 0.9rem; color: var(--light); font-weight: 600; }
.footer-news .news-row input { padding: 0.6rem 0.9rem; font-size: 0.95rem; }
.footer-news .form-note { color: var(--light); font-size: 0.9rem; }
.footer-news .form-note.err { color: #ffd6d6; }
.footer-news .form-note.ok { color: var(--gold); }
/* the classes page: a photo of a class, with the room darkened enough for the words */
.hero-classes { min-height: 52vh; }
.hero-classes .hero-bg { background-position: center 40%; }
.hero-classes .hero-bg::after { background: linear-gradient(to bottom, rgba(32, 35, 58, 0.45), rgba(32, 35, 58, 0.5) 50%, rgba(74, 78, 105, 0.9)); }
.hero-classes .hero-inner { text-align: center; }

/* the music keeps playing while you browse: an invisible player outside the page, and a slim bar at the foot */
.md-dock { position: fixed; width: 1px; height: 1px; left: -9999px; bottom: 0; border: 0; opacity: 0; pointer-events: none; }
.play-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; align-items: center; gap: 0.8rem; padding: 0.55rem max(1rem, env(safe-area-inset-right)) calc(0.55rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(32, 35, 58, 0.96); color: var(--light); border-top: 2px solid var(--gold); box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25); backdrop-filter: blur(8px); font-size: 0.9rem; }
.play-bar.on { display: flex; }
body.dock-on { padding-bottom: 4.6rem; }
.pb-art { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--slate); flex: none; }
.pb-meta { display: grid; min-width: 0; flex: 1 1 160px; }
.pb-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-album { color: var(--muted); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-ctl { display: flex; gap: 0.2rem; flex: none; }
.pb-btn { background: none; border: 0; color: var(--light); font-size: 1.05rem; cursor: pointer; padding: 0.3rem 0.5rem; border-radius: 999px; line-height: 1; }
.pb-btn:hover { background: rgba(255, 255, 255, 0.12); }
.pb-play { background: var(--gold); color: var(--ink); width: 2.3rem; height: 2.3rem; display: inline-grid; place-items: center; font-size: 0.95rem; }
.pb-play:hover { background: #f7d47a; }
.pb-prog { display: flex; align-items: center; gap: 0.5rem; flex: 2 1 220px; min-width: 120px; font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pb-bar { flex: 1; height: 6px; background: rgba(255, 255, 255, 0.18); border-radius: 999px; overflow: hidden; cursor: pointer; }
.pb-bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 999px; }
.pb-open { color: var(--gold); font-size: 0.82rem; white-space: nowrap; text-decoration: none; border: 1px solid rgba(244, 201, 93, 0.5); border-radius: 999px; padding: 0.3rem 0.7rem; flex: none; }
.pb-open:hover { background: rgba(244, 201, 93, 0.12); }
.pb-close { color: var(--muted); flex: none; }
@media (max-width: 640px) { .pb-prog { order: 10; flex-basis: 100%; } .pb-open { display: none; } .play-bar { flex-wrap: wrap; gap: 0.5rem 0.6rem; } body.dock-on { padding-bottom: 6.4rem; } }
html.soft-loading { cursor: progress; }
