/* 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 { 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 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(74, 78, 105, 0.96); backdrop-filter: blur(8px); color: var(--light); box-shadow: 0 2px 20px rgba(32, 35, 58, 0.2); }
.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-mark { width: 44px; height: 44px; object-fit: contain; }
.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; }

/* An angled seam between two bands. --from is the band above, --to the band below,
   --line the thin accent along the slant. Add .alt to slant the other way. */
.edge { height: var(--edge); position: relative; z-index: 1; margin-top: -1px;
  background: linear-gradient(to bottom right, var(--from) 0 49.6%, var(--line) 49.6% 51.6%, var(--to) 51.6% 100%); }
.edge.alt { background: linear-gradient(to bottom left, var(--from) 0 49.6%, var(--line) 49.6% 51.6%, var(--to) 51.6% 100%); }
.edge + .band { padding-top: clamp(2rem, 5vw, 4rem); }

/* ---------- 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: radial-gradient(ellipse at 50% 70%, #8d6a2a 0%, #4a3a4f 35%, var(--night) 72%); }
.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; }
.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; }

/* ---------- 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; }
.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; }
.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); }

/* ---------- classes ---------- */
.class-card { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
.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-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; }
