:root {
  --cream:   #f5f0e8;
  --sage:    #7a9468;
  --sage-dk: #526e47;
  --bark:    #3d3328;
  --mist:    #e8e2d6;
  --gold:    #b8956a;
  --text:    #2e2820;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── PAGES ── */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122,148,104,0.18);
}

.logo {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; text-decoration: none; color: var(--text);
}

.logo-tree {
  width: 44px; height: 44px;
  position: relative;
}

.logo-tree svg,
.logo-tree img { width: 100%; height: 100%; display: block; }

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bark);
  line-height: 1;
}

.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 3px;
}

.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--bark);
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover { color: var(--sage); }

.nav-cta {
  background: var(--sage-dk);
  color: var(--cream) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 3px;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--bark) !important; color: var(--cream) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--bark); transition: 0.3s; }

/* ── HOME PAGE ── */
#home-page,
.home-page {
  padding-top: 72px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 360px;
  /* Bound the hero so the forest image doesn't blow up on tall monitors */
  height: min(880px, calc(100vh - 72px));
  min-height: 680px;
}

.hero-forest {
  position: relative;
  overflow: hidden;
}

.hero-forest-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: slow-zoom 20s ease-in-out infinite alternate;
}

@keyframes slow-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(30,41,25,0.22) 0%, transparent 60%);
}

/* Service cards stacked on forest — 8 cards must all be visible */
.hero-cards {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.2rem 2.2rem;
  gap: 8px;
  overflow-y: auto;
}

/* Tighter spacing on shorter viewports so all 8 services fit without scrolling */
@media (max-height: 900px) {
  .hero-cards { padding: 1rem 2rem; gap: 6px; }
  .service-card { padding: 0.7rem 1.2rem; max-width: 280px; }
  .card-title { font-size: 0.98rem; }
  .card-sub { font-size: 0.7rem; letter-spacing: 0.18em; }
}
@media (max-height: 760px) {
  .hero-cards { padding: 0.7rem 1.6rem; gap: 4px; }
  .service-card { padding: 0.5rem 1rem; }
  .card-title { font-size: 0.9rem; }
  .card-sub { font-size: 0.66rem; }
}

.service-card {
  background: rgba(245,240,232,0.88);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  max-width: 300px;
  border: 1px solid rgba(122,148,104,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  text-decoration: none;
  display: block;
}

.service-card:hover {
  background: rgba(122,148,104,0.92);
  transform: translateX(8px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}

.service-card:hover .card-title,
.service-card:hover .card-sub { color: var(--cream); }

.service-card.active-card {
  background: var(--sage-dk);
}

.service-card.active-card .card-title,
.service-card.active-card .card-sub { color: var(--cream); }

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bark);
  transition: color 0.25s;
}

.card-sub {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 3px;
  transition: color 0.25s;
}

/* Sidebar panel */
.hero-sidebar {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
  border-left: 1px solid rgba(122,148,104,0.15);
}

.sidebar-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.2rem;
}

.sidebar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--bark);
  margin-bottom: 1.4rem;
}

.sidebar-title em { font-style: italic; color: var(--sage); }

.sidebar-body {
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(46,40,32,0.7);
  margin-bottom: 2rem;
}

.sidebar-cta {
  display: inline-block;
  background: var(--sage-dk);
  color: var(--cream);
  padding: 0.8rem 1.6rem;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Jost', sans-serif;
}

.sidebar-cta:hover { background: var(--bark); }

/* Palette bar */
.palette-strip {
  display: flex;
  height: 6px;
}

.palette-strip span {
  flex: 1;
}

/* ── INNER PAGES ── */
.inner-page {
  padding-top: 72px;
  min-height: 100vh;
}

.page-hero {
  position: relative;
  height: 42vh;
  min-height: 280px;
  overflow: hidden;
}

.page-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.72);
}

.page-hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 8vw;
}

.page-hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.7);
  margin-bottom: 0.6rem;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}

.page-hero-title em { font-style: italic; color: #c8e8a0; }

.back-btn {
  position: absolute; top: 1.5rem; left: 8vw;
  background: rgba(245,240,232,0.15);
  border: 1px solid rgba(245,240,232,0.3);
  color: var(--cream);
  padding: 0.45rem 1rem;
  border-radius: 3px;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  transition: background 0.2s;
}

.back-btn:hover { background: rgba(245,240,232,0.28); }

.page-content {
  padding: 5vh 8vw 8vh;
  max-width: 1100px;
}

.page-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--bark);
  margin-bottom: 1.2rem;
  margin-top: 3rem;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(46,40,32,0.72);
  margin-bottom: 1rem;
  max-width: 680px;
}

/* Sub-service cards */
.sub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

.sub-card {
  background: var(--mist);
  border-radius: 10px;
  padding: 1.8rem;
  border: 1px solid rgba(122,148,104,0.18);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.sub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  background: #eef5e8;
}

.sub-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 0.6rem;
}

.sub-card p {
  font-size: 0.82rem !important;
  color: rgba(46,40,32,0.65) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.sub-card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-dk);
  text-decoration: none;
  cursor: pointer;
}

/* Info blocks */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }

.info-block {
  background: var(--mist);
  border-radius: 8px;
  padding: 1.6rem;
  border-left: 3px solid var(--sage);
}

.info-block h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--bark);
}

.info-block p {
  font-size: 0.82rem !important;
  margin: 0 !important;
  color: rgba(46,40,32,0.65) !important;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dk);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--mist);
  border: 1px solid rgba(122,148,104,0.25);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.submit-btn {
  background: var(--sage-dk);
  color: var(--cream);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.submit-btn:hover { background: var(--bark); }
.submit-btn:disabled { opacity: 0.6; cursor: progress; }

/* Inline status under the contact form */
.form-status {
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 0.4rem;
  min-height: 1.2em;
  color: rgba(46,40,32,0.7);
}
.form-status--ok  { color: var(--sage-dk); font-weight: 500; }
.form-status--err { color: #b04848; }

/* Honey-pot trap — visually hidden but still focusable for screen readers */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--bark);
}

.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-icon {
  width: 36px; height: 36px;
  background: var(--mist);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--sage-dk);
  font-size: 0.9rem;
}

.contact-item-text span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 2px;
}

.contact-item-text p {
  font-size: 0.88rem !important;
  margin: 0 !important;
  color: var(--bark) !important;
}

/* ── FOOTER ── */
footer {
  background: var(--bark);
  color: rgba(245,240,232,0.55);
  padding: 1rem 8vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--cream);
  font-weight: 300;
}

.footer-links {
  display: flex; gap: 1.4rem; list-style: none;
}

.footer-links a {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(245,240,232,0.45);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--sage); }

.footer-copy {
  font-size: 0.62rem;
  color: rgba(245,240,232,0.4);
  margin: 0;
  padding: 0;
  border: none;
  flex-basis: auto;
}

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-sidebar { padding: 2.5rem 1.5rem; }
  .hero-cards { padding: 2rem 1.5rem; position: relative; }
  .hero-forest { min-height: 60vh; }
  footer { padding: 0.9rem 5vw; justify-content: center; text-align: center; }
  .footer-links { flex-wrap: wrap; gap: 1rem; justify-content: center; }

  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--cream);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(122,148,104,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 190;
  }
}


/* ── Multi-page site overrides ─────────────────────────────
   The original CSS hid every .page except .active (used for SPA-style
   page switching). With real navigation each file shows one page, so
   we display .page unconditionally. */
.page { display: block; }

.nav-links a[aria-current="page"] { color: var(--sage-dk); }

/* ── Online callout (sidebar attention block) ── */
.online-callout {
  display: block;
  margin-top: 2.2rem;
  padding: 1.4rem 1.4rem 1.5rem;
  background: linear-gradient(135deg, #f6f1e3 0%, #ece4d0 100%);
  border: 1px solid rgba(184,149,106,0.45);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  box-shadow: 0 8px 22px rgba(61,51,40,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.online-callout::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 160px; height: 160px;
  background: radial-gradient(circle at center, rgba(184,149,106,0.22), transparent 65%);
  pointer-events: none;
}

.online-callout:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(61,51,40,0.13);
  border-color: var(--gold);
}

.online-callout-badge {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--gold);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.online-callout-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--bark);
  margin-bottom: 0.55rem;
}

.online-callout-body {
  display: block;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(46,40,32,0.78);
  margin-bottom: 0.9rem;
}

.online-callout-cta {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-dk);
  font-weight: 500;
}

.online-callout:hover .online-callout-cta { color: var(--bark); }

/* ── Tarot credit block (logo + acknowledgment) ── */
.tarot-credit {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 2.4rem 0 2rem;
  padding: 1.4rem 1.6rem;
  background: rgba(245,240,232,0.6);
  border: 1px solid rgba(122,148,104,0.2);
  border-radius: 6px;
}

.tarot-credit-logo {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  object-fit: contain;
}

.tarot-credit-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

.tarot-credit-text span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: rgba(46,40,32,0.65);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .tarot-credit { flex-direction: column; text-align: center; }
}
