/* ==========================================================================
   Jolly Alchemy — hand-rolled CSS3, no framework.
   Palette: pale peachy-pink watercolor base, muted rose accents (never as a
   large background — only small badges), puce/olive replacing leaf-green,
   teal + amber borrowed from the tree photo Rebecca liked.
   ========================================================================== */

:root {
  --clr-cream: #fbf4ee;
  --clr-blush: #f4ddd0;
  --clr-blush-soft: #f9e9e0;
  --clr-rose: #c97b70;
  --clr-rose-light: #c97a7045;
  --clr-rose-deep: #a2564c;
  --clr-puce: #7c6b52;
  --clr-moss: #6e7a5c;
  --clr-teal: #3f7d78;
  --clr-teal-deep: #2f5f5c;
  --clr-amber: #d98a45;
  --clr-violet: #7a5ca8;
  --clr-violet-deep: #5a3f80;
  --clr-ink: #3a2c26;
  --clr-ink-soft: #5a473e;
  --clr-white: #fffaf6;

  --font-display: "Cinzel", serif;
  --font-body: "Quicksand", sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 30px rgba(90, 60, 45, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--clr-ink);
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(217, 138, 69, 0.10), transparent 60%),
    radial-gradient(70% 60% at 100% 10%, rgba(63, 125, 120, 0.10), transparent 60%),
    linear-gradient(160deg, var(--clr-cream) 0%, var(--clr-blush-soft) 45%, var(--clr-blush) 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.rule {
  display: none;
}

/* replaced by decorative dividers below */

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
}

.divider {
  width: 100%;
  height: 34px;
  margin: 0 auto 2.5rem;
  max-width: 220px;
  background: none;
  position: relative;
}

.divider::before {
  content: "❖";
  display: block;
  text-align: center;
  color: var(--clr-rose);
  font-size: 1.1rem;
}

.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-rose), transparent);
  z-index: -1;
}

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--clr-ink);
  letter-spacing: 0.02em;
}

.section-heading {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 0.6rem;
}

.eyebrow {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  color: var(--clr-rose-deep);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}

p {
  margin: 0 0 1.1em;
}

/* Highlighted inline terms — small badges only, never a big block background */
.hl {
  padding: 0.05em 0.45em;
  border-radius: 6px;
  font-weight: 700;
  background: rgba(162, 86, 76, 0.16);
  color: var(--clr-rose-deep);
}

.hl--teal {
  background: rgba(63, 125, 120, 0.16);
  color: var(--clr-teal-deep);
}

.hl--amber {
  background: rgba(217, 138, 69, 0.2);
  color: #9a5b1d;
}

.hl--puce {
  background: rgba(124, 107, 82, 0.2);
  color: var(--clr-puce);
}

.hl--violet {
  background: rgba(122, 92, 168, 0.18);
  color: var(--clr-violet-deep);
}

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section--wide {
  max-width: 1100px;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.4rem 1.5rem;
  background: rgba(251, 244, 238, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(90, 60, 45, 0.08);
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.site-nav__links a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--clr-ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible {
  background: var(--clr-rose);
  color: var(--clr-white);
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.75rem;
}

/* Logo stands in for the page title, so it needs to read clearly */
.hero__logo {
  display: block;
  margin: 0.5rem auto 1.25rem;
  height: clamp(220px, 34vw, 360px);
  width: auto;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--clr-ink-soft);
}

.callout {
  border: 2px dashed var(--clr-rose);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  background: rgba(255, 250, 246, 0.6);
  text-align: left;
  margin: 2rem 0;
}

.callout__tag {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--clr-amber);
  color: var(--clr-white);
  padding: 0.15em 0.7em;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin: 1.5rem 0;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Toolbox / modality cards ---------- */

.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tool-card {
  background: linear-gradient(160deg, rgba(201, 123, 112, 0.16), var(--clr-white) 55%);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border-top: 6px solid var(--clr-rose);
}

.tool-card--teal {
  background: linear-gradient(160deg, rgba(63, 125, 120, 0.16), var(--clr-white) 55%);
  border-top-color: var(--clr-teal);
}

.tool-card--amber {
  background: linear-gradient(160deg, rgba(217, 138, 69, 0.18), var(--clr-white) 55%);
  border-top-color: var(--clr-amber);
}

.tool-card h3 {
  font-size: 1.15rem;
  margin-top: 0;
}

.tool-card p:last-child {
  margin-bottom: 0;
}

/* ---------- Guiding philosophies (Permaculture, Quantum Physics) ---------- */

.philosophy-intro {
  text-align: center;
  font-style: italic;
  color: var(--clr-ink-soft);
  margin-top: 2.5rem;
}

.philosophy-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 0;
}

.philosophy-pill {
  flex: 1 1 260px;
  max-width: 340px;
  border-radius: 999px 999px var(--radius-md) var(--radius-md);
  padding: 1rem 1.4rem;
  background: rgba(124, 107, 82, 0.1);
  border: 1px solid rgba(124, 107, 82, 0.3);
}

.philosophy-pill--violet {
  background: rgba(122, 92, 168, 0.12);
  border-color: rgba(122, 92, 168, 0.35);
}

.philosophy-pill p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.cheat-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.cheat-sheet img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* ---------- Info grid (was walls of <ul> text) ---------- */

.info-grid {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.info-grid li {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  border-left: 5px solid var(--clr-teal);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.info-grid--rose li {
  border-left-color: var(--clr-rose);
}

.info-icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ---------- Price cards ---------- */

.price-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.price-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.price-card__amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--clr-rose-deep);
}

.price-card__amount small {
  font-size: 1rem;
  color: var(--clr-ink-soft);
}

/* ---------- Activities (topic cards linking to sections) ---------- */

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  padding: 0 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.activity-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--clr-white);
  display: flex;
  flex-direction: column;
}

.activity-card__art {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--clr-blush) 0%, var(--clr-cream) 100%);
}

.activity-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card__art svg {
  width: 60%;
  height: 60%;
}

.activity-card__label {
  padding: 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  border-top: 4px solid var(--clr-rose);
}

.activity-card:nth-child(2) .activity-card__label {
  border-top-color: var(--clr-teal);
}

.activity-card:nth-child(3) .activity-card__label {
  border-top-color: var(--clr-amber);
}

/* ---------- Background sections (alternating tint bands) ---------- */

.band {
  padding: 4.5rem 1.5rem;
}

.section>.band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.band--blush {
  background: linear-gradient(to bottom, transparent, rgba(244, 221, 208, 0.8) 15%, rgba(244, 221, 208, 0.8) 85%, transparent);
}

.band--peach {
  background: linear-gradient(to bottom, transparent, var(--clr-amber) 15%, var(--clr-amber) 85%, transparent);
}

.band--sage {
  background: linear-gradient(to bottom, transparent, rgba(110, 122, 92, 0.22) 15%, rgba(110, 122, 92, 0.22) 85%, transparent);
}

.band--teal {
  /* background: rgba(63, 125, 120, 0.22); */
  background: linear-gradient(to bottom, transparent, var(--clr-rose-light) 15%, var(--clr-rose-light) 85%, transparent);
}

.band__inner {
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- Beat headings (subheads that break up long prose runs) ---------- */

.beat-heading {
  display: inline-block;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--clr-rose);
}

.beat-heading--teal {
  border-bottom-color: var(--clr-teal);
}

.beat-heading--amber {
  border-bottom-color: var(--clr-amber);
}

.beat-heading--puce {
  border-bottom-color: var(--clr-puce);
}

.beat-heading--violet {
  border-bottom-color: var(--clr-violet);
}

/* ---------- About ---------- */

.about-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border-top: 6px solid var(--clr-violet);
}

.about-card .ps {
  border-top: 1px dashed var(--clr-rose);
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  font-size: 0.95rem;
  color: var(--clr-ink-soft);
}

.pull-quote {
  border-left: 4px solid var(--clr-amber);
  padding: 0.8rem 1rem;
  font-style: italic;
  color: var(--clr-ink-soft);
  margin: 1.5rem 0;
  background: rgba(217, 138, 69, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ---------- Gallery ---------- */

.gallery-intro {
  text-align: center;
  padding: 3rem 1.5rem 1rem;
}

.gallery-intro h3 {
  font-size: 1.8rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 0.6rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.gallery figure {
  margin: 0;
  position: relative;
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(58, 44, 38, 0.75), transparent);
  color: var(--clr-white);
  font-size: 0.75rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery figure:hover figcaption,
.gallery figure:focus-within figcaption {
  opacity: 1;
}

.gallery .span-2 {
  grid-column: span 2;
  grid-row: span 2;
}

/* ---------- Contact / footer ---------- */

.contact-band {
  background-image:
    linear-gradient(rgba(63, 125, 120, 0.48), rgba(251, 244, 238, 0.60)),
    url('../images/flowers_crop_b02.jpg');
  background-size: cover;
  color: var(--clr-white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.contact-band h3 {
  color: var(--clr-white);
  font-size: 1.9rem;
}

.contact-band a {
  text-decoration: underline;
}

.footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--clr-ink-soft);
}

/* ---------- Scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__links {
    justify-content: center;
  }
}