/* ==========================================================================
   Divine Timing Wellness — Design Tokens
   Palette sampled directly from the studio logo.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* --- Color: sampled from logo (cream bg / gold line art / olive ink) --- */
  --cream:        #FBF3E8;
  --cream-deep:   #F1E3CC;
  --cream-line:   #E7D6B8;
  --white:        #FFFDF9;
  --gold:         #A9803A;
  --gold-deep:    #7C5A25;
  --gold-soft:    #D9BD8C;
  --ink:          #3A331D;
  --ink-soft:     #635A3F;
  --ink-faint:    #6C6442;

  /* --- Type --- */
  --font-display: 'Cormorant Garamond', serif;
  --font-ui: 'Jost', sans-serif;
  --font-classic: 'Times New Roman', Times, serif;

  /* --- Rhythm --- */
  --section-pad: clamp(4rem, 8vw, 7.5rem);
  --edge-pad: clamp(1.5rem, 6vw, 5rem);
  --radius: 2px;
  --max-w: 1180px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

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

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

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

::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.3; }

p { margin: 0 0 1.1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--edge-pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1em 2.1em;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn-solid {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.btn-solid:hover, .btn-solid:focus-visible {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-1px);
}
.btn-line:hover, .btn-line:focus-visible {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.btn svg { width: 14px; height: 14px; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 243, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--edge-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img {
  height: 46px;
  width: 46px;
  object-fit: cover;
  border-radius: 50%;
}
.brand-word {
  font-family: var(--font-classic);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.1;
  text-transform: uppercase;
}
.brand-word small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-classic);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--gold-deep);
  font-weight: 400;
  margin-top: 0.3em;
  text-transform: uppercase;
}
.brand-word small::before,
.brand-word small::after {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--gold-deep);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a.active { color: var(--ink); }

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 76px;
    flex-direction: column;
    background: var(--cream);
    padding: 2rem var(--edge-pad) 2.5rem;
    gap: 1.6rem;
    border-bottom: 1px solid var(--cream-line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: block; }
}

/* ==========================================================================
   Decorative motifs (echo the logo: star / diamond / dots / sunburst)
   ========================================================================== */

.motif-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 0 auto;
  color: var(--gold);
  opacity: 0.85;
}
.motif-divider .line {
  width: clamp(40px, 8vw, 90px);
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent, var(--gold));
}
.motif-divider .line.right { --dir: left; }
.motif-divider svg { width: 16px; height: 16px; }

.sunburst-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.sunburst-bg svg {
  position: absolute;
  top: 50%; left: 50%;
  width: min(900px, 140vw);
  height: min(900px, 140vw);
  transform: translate(-50%, -55%);
  opacity: 0.35;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -55%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -55%) scale(1.035); opacity: 0.42; }
}
.breathe { animation: breathe 7s ease-in-out infinite; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(5rem, 12vw, 8rem) var(--edge-pad) clamp(4rem, 9vw, 6rem);
  text-align: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}
.hero-emblem {
  width: clamp(96px, 14vw, 132px);
  height: clamp(96px, 14vw, 132px);
  margin: 0 auto 1.8rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--gold-soft);
}
.hero-emblem img { width: 100%; height: 100%; object-fit: cover; }

.hero-brand {
  font-family: var(--font-classic);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 0.6rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-brand-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  font-size: 0.3em;
  letter-spacing: 0.4em;
  color: var(--gold-deep);
  margin-top: 0.5em;
}
.hero-brand-sub::before,
.hero-brand-sub::after {
  content: '';
  width: clamp(30px, 5vw, 60px);
  height: 1px;
  background: var(--gold-deep);
  flex-shrink: 0;
}
.hero-tagline {
  font-family: var(--font-classic);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  color: var(--ink);
  margin: 0 0 1.6rem;
  letter-spacing: 0.02em;
}
.hero .lede { margin: 0 auto 2.4rem; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-address {
  margin-top: 3rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ==========================================================================
   Sections (generic)
   ========================================================================== */

.section { padding: var(--section-pad) 0; position: relative; }
.section-alt { background: var(--cream-deep); }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(2.6rem, 6vw, 4rem);
}
.section-head h2 { margin: 0.7rem 0 1rem; }
.section-head.left { margin-left: 0; text-align: left; }

/* ==========================================================================
   Bio section
   ========================================================================== */

.bio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.bio-art {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bio-art svg { width: 100%; height: 100%; }
.bio-art-img {
  width: 78%;
  height: auto;
  margin: 0 auto;
}
.signature {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-deep);
}
.signature span {
  display: block;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.4rem;
}

@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-art { max-width: 260px; margin: 0 auto; }
}

/* ==========================================================================
   Services / Pricing
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-soft);
  box-shadow: 0 22px 40px -28px rgba(122, 90, 37, 0.45);
}
.service-card .dur {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}
.service-card h3 { margin-top: 0.2rem; }
.service-card .desc { font-size: 0.92rem; flex-grow: 1; }
.service-card .price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--cream-line);
  padding-top: 1.1rem;
  margin-top: 0.2rem;
}
.service-card .price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ink);
}
.service-card .price sup { font-size: 0.95rem; margin-right: 0.1em; color: var(--gold-deep); }
.service-card a.btn {
  justify-content: center;
  margin-top: 0.4rem;
}

/* ==========================================================================
   Booking
   ========================================================================== */

.booking-panel {
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem);
}
.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.6rem 0;
}
.booking-step { text-align: center; }
.booking-step .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.booking-step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.booking-step p { font-size: 0.9rem; }

@media (max-width: 720px) {
  .booking-steps { grid-template-columns: 1fr; gap: 1.8rem; }
}

.booking-embed {
  border: 1px dashed var(--gold-soft);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--cream);
}
.booking-embed p { max-width: 44ch; margin: 0.8rem auto 0; font-size: 0.92rem; }
.booking-embed .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-soft);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.booking-embed--live {
  border: 1px solid var(--cream-line);
  background: var(--white);
}
.square-widget-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}
.booking-embed-alt {
  margin-top: 1.8rem !important;
  padding-top: 1.4rem;
  border-top: 1px solid var(--cream-line);
  font-size: 0.85rem !important;
}

.booking-alt {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--cream-line);
}
.faq-item:first-child { border-top: 1px solid var(--cream-line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 0.2rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.faq-q .icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: '';
  position: absolute;
  background: var(--gold-deep);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-q .icon::before { width: 14px; height: 1px; }
.faq-q .icon::after { width: 1px; height: 14px; }
.faq-item.open .faq-q .icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a-inner { padding: 0 0.2rem 1.6rem; font-size: 0.95rem; max-width: 62ch; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.contact-block .label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
  display: block;
}
.contact-block .value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
}
.contact-block a.value:hover { color: var(--gold-deep); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.3rem;
}
.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cream-line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hours-table td:first-child { color: var(--ink); font-weight: 500; }
.hours-table td:last-child { text-align: right; }
.hours-table tr.closed td:last-child { color: var(--ink-faint); font-style: italic; }

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  overflow: hidden;
  filter: sepia(8%) saturate(85%);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

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

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  text-align: center;
  padding: var(--section-pad) 0;
  position: relative;
}
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band .lede { margin: 0 auto 2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(251, 243, 232, 0.15);
}
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; }
.footer-brand span {
  font-family: var(--font-classic);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  text-transform: uppercase;
  line-height: 1.1;
}
.footer-brand span small {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5em;
  font-family: var(--font-classic);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  color: var(--gold-soft);
  font-weight: 400;
  margin-top: 0.3em;
  text-transform: uppercase;
}
.footer-brand span small::before,
.footer-brand span small::after {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--gold-soft);
  flex-shrink: 0;
}
.site-footer p { color: rgba(251, 243, 232, 0.65); font-size: 0.9rem; max-width: 34ch; }
.footer-col .label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
  display: block;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(251, 243, 232, 0.75);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(251, 243, 232, 0.5);
}

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

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Page intro banner (non-home pages)
   ========================================================================== */

.page-banner {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
  position: relative;
}
.page-banner h1 { margin: 0.8rem 0 1rem; }
