/* ==========================================================
   Energy healing site — shared stylesheet
   Change the colors and fonts in :root to restyle everything.
   ========================================================== */

:root {
  --paper: #ffffff;   /* background */
  --ink: #000000;     /* text */
  --violet: #4b1fe0;  /* the one accent: djed pillar, links, hover */
  --muted: #5e5a66;   /* secondary text */
  --line: #e6e3ec;    /* quiet dividers */

  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1280px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { color: var(--violet); }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--paper);
  padding: .5rem 1rem;
}

/* ---------- Header + tabs ---------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-decoration: none;
  color: #006b4f;   /* deep jade green */
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1.75rem;
}

.nav a {
  font-size: 1rem;
  text-decoration: none;
}

/* The current tab gets a small upright mark, echoing the djed pillar on the home page */
.nav a[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: .8em;
  margin-right: .5em;
  background: var(--violet);
  vertical-align: -.05em;
}

.nav .nav-book a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: .3em;
  text-decoration-thickness: 1px;
}

/* ---------- Shared type ---------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.25rem, 10.5vw, 9.75rem);
  line-height: .92;
  letter-spacing: -.03em;
  margin: 0;
}

.lede {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  max-width: 34ch;
}

.button {
  display: inline-block;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
}
.button:hover {
  background: var(--violet);
  color: var(--paper);
}

/* ---------- Home: hero with djed pillar ---------- */

.hero {
  position: relative;
  overflow-x: clip;
  padding-top: clamp(2rem, 6vw, 4.5rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.hero-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(200px, 26vw, 340px);
  height: auto;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.hero-stage {
  position: relative;
}

/* Keep far-sight on one line */
.nowrap { white-space: nowrap; }

/* Second part of the home headline, after the colon */
.display-sub {
  display: block;
  max-width: 18ch;
  text-wrap: balance;
  margin-top: clamp(1rem, 2.5vw, 2rem);
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.015em;
}

.hero .display {
  position: relative;
  z-index: 1;
  max-width: 9ch;
}

.djed {
  position: absolute;
  z-index: 0;
  top: clamp(-16rem, -17vw, -6rem);
  left: 41%;
  width: clamp(170px, 21vw, 300px);
  height: auto;
  color: #006b4f;   /* deep jade green, same as the site name — change this to recolour the pillar */
  pointer-events: none;
  opacity: 0;
  animation: rise 2.4s ease-out .2s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.5rem); }
  to   { opacity: 1; transform: none; }
}

.hero .lede {
  position: relative;
  z-index: 1;
  margin: clamp(3rem, 9vw, 8rem) 0 0 auto;
  margin-right: clamp(0rem, 6vw, 6rem);
}

/* ---------- Home: the four tabs as large links ---------- */

.paths-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
}

.paths {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.paths a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  gap: 1rem 2rem;
  align-items: baseline;
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.paths .path-name {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 1;
  letter-spacing: -.025em;
}

.paths .path-note {
  color: var(--muted);
}

.paths a:hover .path-name { color: var(--violet); }
.paths a:hover .path-note { color: var(--ink); }

/* ---------- Invitation band ---------- */

.invite {
  padding-top: clamp(5rem, 12vw, 10rem);
  padding-bottom: clamp(5rem, 12vw, 10rem);
}

.invite h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  max-width: 14ch;
  margin: 0 0 2.5rem;
}

/* ---------- Inner pages ---------- */

.page-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.page-head .display { grid-column: 1 / -1; }

.page-head .lede {
  grid-column: 6 / -1;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}

.block {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.block > h2 {
  grid-column: 1 / 6;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 1.5rem;
  max-width: 12ch;
}

.block > .body {
  grid-column: 6 / -1;
  max-width: 38rem;
}

.body > :first-child { margin-top: 0; }
.body > :last-child { margin-bottom: 0; }

.body h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 2rem 0 .25rem;
}
.body h3 + p { margin-top: 0; }

/* Offerings list: name and description left, length and price right */
.offerings {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.offerings li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.offerings .name { font-weight: 500; }
.offerings .meta { color: var(--muted); text-align: right; white-space: nowrap; }
.offerings .desc { grid-column: 1 / -1; color: var(--muted); margin: 0; max-width: 34rem; }

.after-list { margin-top: 2.5rem; }

/* Heavenly beings list inside the Oracle Message offering */
.offerings .beings {
  grid-column: 1 / -1;
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
}

.offerings .beings li {
  display: block;
  padding: .35rem 0;
  border: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}

/* What I work with (Healing page) */
.burdens {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.burdens li {
  padding: 1.25rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.burdens .name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}

.burdens .desc {
  margin: .4rem 0 0;
  color: var(--muted);
  max-width: 34rem;
}

.beings { margin-top: 2rem; }
.beings li { padding: .9rem 0 1rem; }

.care-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: .95rem;
}

/* ---------- Poetry ---------- */

.poem {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.poem h2 {
  grid-column: 1 / 6;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.poem .verse {
  grid-column: 6 / -1;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.75;
  margin: 0;
}

/* ---------- Epigraph (Temple Work) ---------- */

.epigraph {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  margin: 0;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  border-top: 1px solid var(--line);
}

.epigraph blockquote {
  grid-column: 3 / -1;
  margin: 0;
}

.epigraph blockquote p:first-child {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.epigraph .oracle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.9vw, 2.4rem);
  line-height: 1.35;
  letter-spacing: -.01em;
  margin: 0;
}

/* One auspicious colour per line. Gold and yellow are deepened
   so they stay readable on white. */
.oracle span { display: block; }
.oracle .jade   { color: #00875a; }
.oracle .gold   { color: #a06a14; }
.oracle .red    { color: #c1272d; }
.oracle .blue   { color: #1f4fb8; }
.oracle .yellow { color: #b58f00; }
.oracle .black  { color: #000000; }

.epigraph figcaption {
  grid-column: 3 / -1;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: .95rem;
}

.epigraph cite { font-style: italic; }

.epigraph blockquote p.tao {
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.55;
  margin: 0;
}

.tao-epigraph { margin-bottom: clamp(3rem, 7vw, 5rem); border-bottom: 1px solid var(--line); }

/* ---------- Mission statement ---------- */

.statement {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.statement p {
  grid-column: 3 / -1;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  max-width: 26ch;
  margin: 0;
}

/* ---------- Vault ---------- */

.vault-list { border-top: 1px solid var(--ink); }

.ritual { border-bottom: 1px solid var(--line); }

.ritual summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem 1.5rem;
  padding: 1.25rem 0 1.4rem;
  cursor: pointer;
  list-style: none;
}
.ritual summary::-webkit-details-marker { display: none; }

/* Plus sign that turns into a minus when the ritual is open */
.ritual summary::after {
  content: "+";
  grid-column: 2;
  grid-row: 1;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
}
.ritual[open] summary::after { content: "\2212"; }

.ritual-name {
  grid-column: 1;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}
.ritual summary:hover .ritual-name { color: var(--violet); }

.ritual-for {
  grid-column: 1;
  color: var(--muted);
}

.ritual-body { padding: 0 0 2rem; }
.ritual-body h3:first-child { margin-top: .5rem; }
.ritual-body ol { padding-left: 1.25rem; margin: 0; }
.ritual-body li + li { margin-top: .5rem; }
.ritual-note { color: var(--muted); }

.mantra {
  padding: 1.5rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
}

.mantra-words {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  margin: 0;
}

.mantra-use {
  color: var(--muted);
  margin: .5rem 0 0;
}

.song {
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
}

.body .vault-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0;
}

.vault-for {
  color: var(--muted);
  margin: .4rem 0 0;
}

.verse-text {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.75;
  margin: 1.25rem 0 0;
}

.chant {
  font-style: italic;
  margin-top: 1.5rem;
}

.practice-note {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0;
}

/* ---------- Testimonials ---------- */

.testimonial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  margin: 0;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.testimonial blockquote {
  grid-column: 3 / -1;
  margin: 0;
}

.testimonial blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -.01em;
  max-width: 30ch;
  margin: 0;
}

.testimonial figcaption {
  grid-column: 3 / -1;
  margin-top: 1.5rem;
  font-weight: 500;
}

.testimonial figcaption span {
  font-weight: 400;
  color: var(--muted);
}

/* ---------- Essays ---------- */

.essay {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.essay header { grid-column: 1 / 6; }

.essay h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  max-width: 14ch;
  margin: 0;
}

.essay-date {
  color: var(--muted);
  margin: .75rem 0 1.5rem;
}

.essay-body {
  grid-column: 6 / -1;
  max-width: 38rem;
}

.essay-body p:first-child { margin-top: 0; }

/* ---------- Heavenly beings (Oracle page) ---------- */

.beings a.name { text-decoration: none; }
.beings a.name:hover { color: var(--violet); }

.deities {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.deities-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0;
}

.deity {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  align-items: start;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 2rem;
}
.deity:last-child { border-bottom: 0; }

.deity-image {
  grid-column: 1 / 5;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: #eef5f2;   /* pale jade */
  color: var(--muted);
  font-size: .95rem;
  text-align: center;
}

.deity img {
  grid-column: 1 / 5;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.deity-text { grid-column: 6 / -1; max-width: 38rem; }

.deity-text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 0 0 1.25rem;
}

.deity-text p { margin: 0; }

/* ---------- Request form (Oracle page) ---------- */

.oracle-note,
.vault-note {
  margin: 0 0 2.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid #006b4f;   /* deep jade green */
}


.request-form { display: grid; gap: 1.5rem; }

.field { display: grid; gap: .4rem; }

.field label { font-weight: 500; }

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--muted);
  border-radius: 0;
  padding: .75rem .9rem;
}

.request-form textarea { resize: vertical; min-height: 10rem; }

.request-form input:focus-visible,
.request-form select:focus-visible,
.request-form textarea:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 1px;
  border-color: var(--ink);
}

.request-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
}

/* Hidden trap field that catches spam bots */
.honey { position: absolute; left: -9999px; }

.spacer { height: clamp(4rem, 10vw, 8rem); }

/* ---------- Booking ---------- */

.booking {
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.booking-note {
  margin: 2.5rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.booking iframe {
  display: block;
  width: 100%;
  min-height: 800px;
  border: 0;
}


/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

.site-footer a { text-decoration: none; }

/* ---------- Small screens ---------- */

@media (max-width: 760px) {
  .site-header { flex-direction: column; gap: .75rem; }
  .nav ul { gap: .4rem 1.25rem; }

  .djed {
    top: -5.5rem;
    left: auto;
    right: 0;
    width: 32vw;
  }

  .hero .lede { margin: 5.5rem 0 0; }

  .paths a { grid-template-columns: 1fr; gap: .4rem; }

  .page-head .lede,
  .block > h2,
  .block > .body,
  .poem h2,
  .poem .verse,
  .epigraph blockquote,
  .epigraph figcaption,
  .testimonial blockquote,
  .testimonial figcaption,
  .statement p,
  .essay header,
  .essay-body,
  .deity-text { grid-column: 1 / -1; }
  .deity-image,
  .deity img { grid-column: 1 / -1; max-width: 22rem; margin-bottom: 1.75rem; }
}

/* ---------- Respect reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .djed {
    animation: none;
    opacity: 1;
  }
}
