/* ============================================
   ANAMNESIS — Sacred Healing & Alchemy
   Design tokens
   ============================================ */

:root {
  --oxblood: #6f1015;
  --oxblood-deep: #480a0d;
  --oxblood-ember: #8c1c1f;
  --cream: #f6efdb;
  --cream-dim: #ece1c4;
  --gold: #c99a3c;
  --gold-bright: #e6c162;
  --gold-dim: #a67b2e;
  --ink: #2a1810;

  --display: 'Cinzel Decorative', serif;
  --wordmark: 'UnifrakturCook', serif;
  --heading: 'Cinzel', serif;
  --script: 'Parisienne', cursive;
  --body: 'EB Garamond', serif;

  --max-width: 920px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--oxblood);
  color: var(--cream);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(230,193,98,0.08), transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(140,28,31,0.5), transparent 50%);
}

a { color: inherit; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ---------- Ornamental rule ---------- */
.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  width: 100%;
  max-width: 460px;
  opacity: 0.85;
}
.rule::before, .rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rule .glyph {
  width: 10px; height: 10px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- Nav ---------- */
.site-nav {
  position: relative;
  z-index: 5;
  padding: 26px 28px;
}
.site-nav .wrap {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-mark {
  font-family: var(--wordmark);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--cream);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--heading);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-links a {
  text-decoration: none;
  color: var(--cream-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: color .25s, border-color .25s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold-bright);
  border-color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 34px 0 70px;
  position: relative;
}
.sunburst-holder {
  max-width: 480px;
  margin: 0 auto 8px;
}
.sunburst-holder svg { width: 100%; height: auto; }

.ray {
  transform-origin: 100px 105px;
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0;
  animation: rayIn 900ms ease-out forwards;
}
@keyframes rayIn {
  from { opacity: 0; stroke-dashoffset: 14; }
  to   { opacity: .8; stroke-dashoffset: 0; }
}

.eyebrow {
  font-family: var(--heading);
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 6px;
}
.wordmark {
  font-family: var(--wordmark);
  font-size: clamp(56px, 11vw, 108px);
  line-height: 1;
  margin: 0;
  color: var(--cream);
  text-shadow: 0 0 40px rgba(230,193,98,0.25);
}
.tagline {
  font-family: var(--script);
  font-size: clamp(22px, 3.2vw, 30px);
  color: var(--gold-bright);
  margin: 14px 0 26px;
}
.hero-sub {
  max-width: 540px;
  margin: 0 auto;
  color: var(--cream-dim);
  font-size: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--heading);
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border: 1px solid var(--gold);
  color: var(--cream);
  background: transparent;
  position: relative;
  transition: background .3s, color .3s, box-shadow .3s;
}
.btn:hover {
  background: var(--gold);
  color: var(--oxblood-deep);
  box-shadow: 0 0 24px rgba(230,193,98,0.35);
}
.btn-solid {
  background: var(--gold);
  color: var(--oxblood-deep);
}
.btn-solid:hover {
  background: var(--gold-bright);
}
.btn-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Sections ---------- */
section { padding: 64px 0; position: relative; }
.section-title {
  font-family: var(--heading);
  font-size: 15px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-align: center;
  margin: 0 0 10px;
}
.section-heading {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  margin: 0 0 34px;
  color: var(--cream);
}

.divider { margin: 56px auto; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: start;
}
.about-portrait {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  border: 1px solid rgba(201,154,60,0.4);
}
.about-text p { color: var(--cream-dim); }
.about-text p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 52px;
  float: left;
  line-height: 0.8;
  padding: 6px 10px 0 0;
  color: var(--gold-bright);
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-dim);
}
.service {
  background: var(--oxblood);
  padding: 34px 26px;
  text-align: center;
}
.service .icon {
  width: 34px; height: 34px;
  margin: 0 auto 16px;
  color: var(--gold-bright);
}
.service h3 {
  font-family: var(--heading);
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 10px;
}
.service p {
  color: var(--cream-dim);
  font-size: 16px;
  margin: 0;
}

/* Quote */
.quote-block {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.quote-block p {
  font-family: var(--script);
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--gold-bright);
  margin: 0;
}

/* Footer */
footer {
  padding: 46px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(201,154,60,0.25);
}
footer .nav-mark { display: inline-block; margin-bottom: 14px; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--cream-dim);
  margin-top: 12px;
}
.footer-links a { text-decoration: none; border-bottom: 1px solid transparent; }
.footer-links a:hover { border-color: var(--gold); color: var(--gold-bright); }
.footer-fine { margin-top: 18px; font-size: 13px; letter-spacing: 1px; color: var(--gold-dim); }

/* ---------- Booking page specific ---------- */
.avail-card {
  border: 1px solid var(--gold-dim);
  background: rgba(0,0,0,0.15);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto 40px;
}
.avail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(201,154,60,0.3);
  font-family: var(--heading);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.avail-row:last-child { border-bottom: none; }
.avail-row span:first-child { color: var(--cream-dim); }
.avail-row span:last-child { color: var(--gold-bright); }

.booking-embed {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--gold-dim);
  background: var(--cream);
  min-height: 640px;
  padding: 4px;
}
.booking-embed iframe { width: 100%; height: 640px; border: none; }

.booking-fallback {
  max-width: 560px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--cream-dim);
  font-size: 16px;
}

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 320px; margin: 0 auto; }
  .services { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; font-size: 11px; }
  .btn-row { flex-direction: column; align-items: center; }
}
