/* Soul Activism — static rebuild of the Wix Studio site.
   Section rhythm follows the Wix design: misty forest hero with a torn-paper
   title, then alternating lavender / white / dark violet bands. */

/* Amsterdam Three (licensed script font). Drop the webfont files into
   /fonts as amsterdam-three.woff2 / .woff; until then the Google script
   font below is used. */
@font-face {
  font-family: "Amsterdam Three";
  src: url("../fonts/amsterdam-three.woff2") format("woff2"),
       url("../fonts/amsterdam-three.woff") format("woff");
  font-display: swap;
}

:root {
  --ink: #221a2e;            /* dark bands, footer, body text on light */
  --plum: #44345b;           /* deep violet band */
  --violet: #5b4479;         /* header tint */
  --muted: #736884;
  --lilac: #9e94ad;
  --lavender: #c8bfd6;       /* lavender band */
  --lavender-2: #d5cde1;     /* cards on lavender */
  --white: #ffffff;
  --parchment: #efe1d4;
  --rose: #cb5956;           /* buttons, active nav */
  --rose-deep: #a8413e;
  --line-dark: rgba(34, 26, 46, 0.22);
  --line-light: rgba(255, 255, 255, 0.22);

  --font-head: "Questrial", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Sora", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Amsterdam Three", "Mrs Saint Delafield", "Great Vibes", cursive;

  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--rose); color: #fff; padding: 8px 14px; border-radius: 4px;
}
.skip-link:focus { left: 8px; }

/* ---------- Section bands ---------- */
.band { padding: clamp(64px, 9vw, 120px) 0; }
.band-lavender { background: var(--lavender); color: var(--ink); }
.band-white { background: var(--white); color: var(--ink); }
.band-dark { background: var(--ink); color: var(--white); }
.band-plum { background: var(--plum); color: var(--white); }
.band-forest {
  color: var(--white);
  background:
    linear-gradient(rgba(68, 52, 91, 0.25), rgba(68, 52, 91, 0.25)),
    url("../images/bg-forest.webp") center / cover no-repeat;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(91, 68, 121, 0.94);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 4px; color: #fff; text-decoration: none; }
.brand span { font-family: var(--font-script); font-size: 2.5rem; line-height: 1; padding-top: 8px; }
.brand img { width: 40px; height: 40px; object-fit: contain; transform: translateY(-8px); }
.nav { display: flex; align-items: center; gap: 44px; }
.nav ul { list-style: none; display: flex; gap: 52px; margin: 0; padding: 0; }
.nav a { color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 1rem; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--rose); }
.nav-toggle {
  display: none; background: none; color: #fff; cursor: pointer; font: inherit;
  border: 1px solid var(--line-light); border-radius: 4px; padding: 8px 12px;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  font-family: var(--font-head); font-size: 0.98rem; line-height: 1.2;
  padding: 12px 26px; border-radius: 4px;
  background: var(--rose); color: #fff; border: 1px solid var(--rose);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; border-radius: 999px; padding: 9px 22px; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.band-dark .btn-outline:hover, .band-plum .btn-outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.text-link { font-family: var(--font-head); font-size: 0.95rem; text-decoration: underline; }
.text-link:hover { color: var(--rose); }

/* ---------- Torn-paper title (hero banners & collage callouts) ----------
   The collage image keeps its aspect ratio; text is laid on top and sized in
   container units so it scales with the paper. */
.paper-title {
  position: relative; container-type: inline-size;
  width: min(820px, 100%); margin-inline: auto;
  aspect-ratio: var(--ar, 2.1);
  background-image: var(--paper);
  background-position: center; background-size: contain; background-repeat: no-repeat;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0;
  color: #2f2533; text-align: center; text-decoration: none;
}
.paper-title > * { max-width: var(--inner, 64cqw); transform: translateX(var(--shift, 0)); }
.paper-title.split-title .sub { max-width: 28cqw; }
.paper-title .script { font-family: var(--font-script); font-size: var(--script-size, 15cqw); line-height: 0.9; color: #2f2533; }
.paper-title .sub { font-family: var(--font-head); font-size: var(--sub-size, 3.4cqw); line-height: 1.25; margin: 1.5cqw 0 0; font-weight: 400; }
.paper-title.split-title { flex-direction: row; gap: 6cqw; text-align: left; }
.paper-title.split-title .sub { font-size: 4.4cqw; margin: 0; }
a.paper-title { transition: transform 0.25s; }
a.paper-title:hover { transform: rotate(-1deg) scale(1.01); }

.hero { padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 10vw, 120px); }

/* ---------- Home: intro ---------- */
.intro-head { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: clamp(40px, 6vw, 80px); }
.intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.collage-photo { position: relative; max-width: 400px; width: 100%; margin-inline: auto; }
.collage-photo .bg { width: 100%; }
.collage-photo .photo {
  position: absolute; left: 12%; top: 18%; width: 54%;
  aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.intro h3 { margin-top: 1.2em; }
.intro ul { margin: 0; padding-left: 1.2em; }

/* ---------- Ruled rows (heading + icon | text + Read More) ---------- */
.rows { border-top: 1px solid var(--line-dark); }
.row {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 70px);
  padding: 36px 2%; border-bottom: 1px solid var(--line-dark);
}
.row h3 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.row .icon { width: 110px; margin: 10px 0 0 12%; }
.row ul { padding-left: 1.2em; }

/* ---------- Dark feature (icon + heading + text + button) ---------- */
.feature { max-width: 760px; margin-inline: auto; text-align: center; }
.feature .icon { width: 64px; margin: 0 auto 16px; }

/* ---------- Testimonials ---------- */
.testimonials { max-width: 760px; margin-inline: auto; }
.testimonial { margin: 0 0 30px; }
.testimonial p { margin: 0; padding-bottom: 6px; border-bottom: 1px solid var(--line-dark); font-size: 1.02rem; }
.testimonial cite { display: block; font-style: normal; font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* ---------- Benefit tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.tile {
  background: var(--lavender); color: var(--ink); border-radius: 8px;
  padding: 26px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.tile svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Generic cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card { background: var(--lavender-2); color: var(--ink); border-radius: 8px; padding: 30px 26px; display: flex; flex-direction: column; }
.band-lavender .card { background: var(--white); }
.band-dark .card, .band-plum .card { background: var(--lavender); }
.card h3 { font-size: 1.35rem; }
.card p:last-child { margin-bottom: 0; }
.card .btn, .card .text-link { align-self: flex-start; margin-top: auto; }
.card .label { font-family: var(--font-head); letter-spacing: 0.14em; font-size: 0.85rem; color: var(--rose-deep); margin-bottom: 8px; }

/* Two columns: heading left, copy right (Wix "big heading" layout) */
.lede { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.lede h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img.art { border-radius: 8px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--rose); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; }
.service { background: var(--white); color: var(--ink); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(34, 26, 46, 0.12); }
.service > a img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.service .body { padding: 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.service h3 { margin: 0 0 4px; font-size: 1.3rem; }
.service h3 a { text-decoration: none; }
.service .meta { color: var(--muted); font-size: 0.95rem; }
.service .price { font-family: var(--font-head); font-size: 1.35rem; }
.service .status { color: var(--rose-deep); }
.service .btn-row { margin-top: auto; padding-top: 14px; }

/* ---------- Blog ---------- */
.post-panel { background: var(--lavender); padding: clamp(18px, 2.5vw, 28px); }
.post-panel .all { color: var(--rose); font-size: 0.85rem; text-decoration: none; display: inline-block; margin-bottom: 26px; }
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.post-card {
  background: var(--lavender); border: 1px solid rgba(34, 26, 46, 0.14);
  color: var(--ink); text-decoration: none; display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(34, 26, 46, 0.18); }
.post-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card .body { padding: 18px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--muted); line-height: 1.35; margin-bottom: 12px; }
.post-meta img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.post-card h3 { font-size: 1.12rem; line-height: 1.35; margin: 0 0 10px; }
.post-card p { font-size: 0.8rem; line-height: 1.55; margin: 0; color: #3b3147; }
.post-card .foot { margin-top: auto; padding-top: 16px; border-bottom: 1px solid var(--line-dark); }

/* ---------- Article ---------- */
.article { background: var(--white); color: var(--ink); padding: clamp(28px, 5vw, 70px); }
.article h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.article .post-meta { font-size: 0.85rem; margin-bottom: 26px; }
.article .post-meta img { width: 34px; height: 34px; }
.article .cover { margin-bottom: 32px; width: 100%; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose figure { margin: 28px 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.6em; }
.prose a { color: var(--rose-deep); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 3px solid var(--rose); }
.back { font-size: 0.9rem; color: var(--rose-deep); text-decoration: none; }

/* ---------- Curriculum ---------- */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.module { background: var(--lavender); color: var(--ink); border-radius: 8px; padding: 28px; }
.module .num { font-family: var(--font-script); font-size: 2.8rem; line-height: 1; color: var(--rose-deep); }
.module h3 { margin: 4px 0 2px; }
.module h4 { font-family: var(--font-body); font-weight: 300; color: var(--muted); font-size: 1rem; margin-bottom: 12px; }
.module ul { padding-left: 1.1em; margin: 0; }
.module li { margin-bottom: 6px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 30px 26px; background: var(--lavender); color: var(--ink); border-radius: 8px; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font-script); font-size: 3rem; line-height: 1; color: var(--rose-deep); display: block; margin-bottom: 6px; }
.step p:last-child { margin: 0; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line-dark); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 1.2rem; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rose); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; }

/* ---------- Policies ---------- */
.policy-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.policy-nav a { border: 1px solid currentColor; border-radius: 999px; padding: 7px 16px; text-decoration: none; font-family: var(--font-head); font-size: 0.92rem; }
.policy-nav a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.policy { scroll-margin-top: 100px; margin-bottom: 48px; }
.policy h3 { font-size: 1.2rem; margin-top: 1.4em; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 0.9rem; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-dark); border-radius: 4px; padding: 12px 14px;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--rose); outline-offset: 1px; }
.form textarea { min-height: 150px; resize: vertical; }
.form select { appearance: auto; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; }
.form .consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form .consent label { font-size: 0.85rem; margin: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 46px 0 28px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: start; }
.footer-connect { --paper: url("../images/paper-pink-flower.webp"); --ar: 2.14; --inner: 62cqw; --shift: 4cqw; --script-size: 17cqw; width: min(300px, 100%); margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--rose); }
.footer-sitemap .title { text-decoration: underline; }
.footer-policies { text-align: right; }
.footer-base { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 46px; align-items: end; }
.footer-base .addr { text-align: center; grid-column: 2; }
.footer-base .copy { text-align: right; font-size: 0.85rem; }
.footer-base .copy a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .intro, .row, .lede, .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .row .icon { margin-left: 0; width: 84px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid, .footer-base { grid-template-columns: 1fr; text-align: center; }
  .footer-connect { margin-inline: auto; }
  .footer-policies, .footer-base .copy { text-align: center; }
  .footer-base .addr { grid-column: auto; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(68, 52, 91, 0.98); padding: 6px 16px 20px;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-light); }
  .nav .btn { margin-top: 16px; text-align: center; }
  .brand span { font-size: 2.1rem; }
  .posts, .tiles { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .paper-title.split-title { flex-direction: column; gap: 0; text-align: center; }
}

/* ---------- Book a Reading (stepped flow) ---------- */
.booking { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step-card { background: var(--white); border-radius: 8px; padding: 26px clamp(20px, 4vw, 36px); box-shadow: 0 8px 24px rgba(34, 26, 46, 0.1); transition: opacity 0.2s; }
.step-title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0; }
.step-num {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--plum); color: #fff; font-size: 1rem;
}
.step-body { margin-top: 20px; }
.step-card.is-locked { opacity: 0.5; }
.step-card.is-locked .step-num { background: var(--lilac); }
.step-card.is-done .step-num { background: var(--rose); font-size: 0; }
.step-card.is-done .step-num::after { content: "✓"; font-size: 1.1rem; }
.step-card.is-done .step-title::after { content: "Done"; margin-left: auto; font-size: 0.85rem; color: var(--rose-deep); font-family: var(--font-body); }
.step-error { color: var(--rose-deep); font-size: 0.9rem; margin-top: 12px; }
.pay-summary { font-family: var(--font-head); font-size: 1.2rem; }
#paypal-buttons { max-width: 420px; min-height: 50px; }
.btn[disabled], .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.booking-done { background: var(--white); border-radius: 8px; padding: clamp(28px, 5vw, 48px); text-align: center; box-shadow: 0 8px 24px rgba(34, 26, 46, 0.1); }
.booking-done .script { font-family: var(--font-script); font-size: clamp(3rem, 8vw, 4.5rem); color: var(--rose-deep); line-height: 1; display: block; }
