/* ============================================
   Myrtle Moon — Holistic Therapies
   Design prototype stylesheet
   ============================================ */

:root {
  --forest: #0c2b1f;
  --forest-2: #123b2a;
  --forest-3: #1b4a35;
  --cream: #faf5e8;
  --cream-2: #f1e9d6;
  --gold: #b5924f;
  --gold-light: #d7bc82;
  --ink: #23281f;
  --ink-soft: #565c4e;
  --blush: #e7d9c6;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(.4,0,.2,1);
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--forest);
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: .01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--cream);
  padding: 12px 18px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  color: var(--gold);
  margin: 0 0 .9em;
  font-weight: 500;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .95em 1.9em;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--forest);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  border-color: rgba(250,245,232,.55);
  color: var(--cream);
}
.btn-ghost:hover { background: rgba(250,245,232,.12); border-color: var(--cream); }

.btn-outline {
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--cream); }

.btn-lg { padding: 1.1em 2.6em; font-size: .85rem; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .3s var(--ease);
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(12, 43, 31, .94);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  padding: 8px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-mark {
  height: 66px;
  width: auto;
  transition: height .3s var(--ease);
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.25));
}
.scrolled .brand-mark { height: 51px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a:not(.btn) {
  color: var(--cream);
  font-size: .86rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right .25s var(--ease);
}
.site-nav a:not(.btn):hover::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.scrolled .nav-toggle span { background: var(--cream); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9,30,21,.72) 0%, rgba(9,30,21,.55) 45%, rgba(9,30,21,.82) 100%),
    linear-gradient(90deg, rgba(9,30,21,.55) 0%, rgba(9,30,21,.15) 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--cream);
  padding-top: 90px;
  max-width: 760px;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 500;
  margin-bottom: .4em;
}
.hero-lede {
  color: var(--cream-2);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 1.8em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1.5px solid rgba(250,245,232,.6);
  border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: cue 1.8s infinite var(--ease);
}
@keyframes cue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============ SECTION SPACING ============ */
section:not(.hero) { padding: 110px 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-head .lede { margin: 0 auto; }

/* ============ ABOUT ============ */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-media-frame {
  position: absolute;
  top: 20px; left: 20px;
  right: -20px; bottom: -20px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.about-points {
  list-style: none;
  padding: 0;
  margin: 1.6em 0 2em;
  display: grid;
  gap: .7em;
}
.about-points li {
  position: relative;
  padding-left: 1.6em;
  color: var(--ink-soft);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}

/* ============ SERVICES ============ */
.services { background: var(--cream-2); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 40px 32px;
  text-align: left;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -20px rgba(12,43,31,.35);
}
.service-icon {
  display: inline-flex;
  width: 46px; height: 46px;
  color: var(--forest);
  margin-bottom: 18px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.4rem; margin-bottom: .3em; }
.service-card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.2em; }
.service-card .from {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.service-card--photo {
  padding: 0;
  overflow: hidden;
  position: relative;
  color: var(--cream);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.service-card--photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card--photo:hover img { transform: scale(1.06); }
.service-card--photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,43,31,0) 30%, rgba(9,26,19,.88) 100%);
  z-index: 1;
}
.service-card-body {
  position: relative;
  z-index: 2;
  padding: 28px 30px;
}
.service-card--photo h3 { color: var(--cream); }
.service-card--photo p { color: var(--cream-2); }

/* ============ PRICES ============ */
.prices { background: var(--cream); }
.price-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 60px;
}
.price-group h3 {
  font-size: 1.3rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--blush);
  margin-bottom: 18px;
}
.price-list-items { list-style: none; margin: 0; padding: 0; }
.price-list-items li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(35,40,31,.12);
  font-size: .98rem;
}
.price-list-items li:last-child { border-bottom: none; }
.price-list-items em {
  font-style: normal;
  color: var(--ink-soft);
  font-size: .82rem;
  margin-left: 6px;
}
.price-list-items .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(35,40,31,.25);
  transform: translateY(-4px);
}
.price-list-items li > span:last-child {
  font-family: var(--serif);
  color: var(--forest);
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}
.price-note {
  margin-top: 50px;
  text-align: center;
  font-size: .85rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ============ REVIEWS ============ */
.reviews { background: var(--forest); }
.reviews .eyebrow { color: var(--gold-light); }
.reviews h2 { color: var(--cream); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  margin: 0;
  background: rgba(250,245,232,.05);
  border: 1px solid rgba(250,245,232,.14);
  border-radius: 4px;
  padding: 32px 28px;
  color: var(--cream-2);
}
.review-card p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1em;
}
.review-card cite {
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ============ BOOKING ============ */
.booking {
  background: var(--forest-2);
  background-image: radial-gradient(circle at 20% 20%, rgba(213,187,130,.08), transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(213,187,130,.08), transparent 45%);
  text-align: center;
}
.booking-inner { max-width: 640px; margin: 0 auto; }
.booking .eyebrow { color: var(--gold-light); }
.booking h2 { color: var(--cream); }
.booking .lede { color: var(--cream-2); margin: 0 auto 2em; }
.booking-alt {
  margin-top: 1.8em;
  font-size: .9rem;
  color: var(--cream-2);
}
.booking-alt a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* ============ CONTACT ============ */
.contact { background: var(--cream); }
.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  color: var(--gold);
  font-weight: 500;
  margin: .3em 0 .45em;
}
.contact-item p { margin: 0 0 .2em; color: var(--ink-soft); font-size: .95rem; }
.contact-item .contact-note { font-size: .82rem; font-style: italic; }
.contact-item .hours-list { margin-top: .2em; max-width: 230px; gap: 0; }
.contact-item .hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  gap: 12px;
}

.contact-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.outside-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 24px 50px -28px rgba(12,43,31,.4);
}
.outside-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-panel {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 24px 50px -28px rgba(12,43,31,.4);
}
.map-placeholder-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  justify-content: center;
}
.map-pin svg {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 54px;
  filter: drop-shadow(0 8px 12px rgba(12,43,31,.3));
}
.map-pin-ring {
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 28px;
  height: 10px;
  margin-left: -14px;
  border-radius: 50%;
  background: rgba(181,146,79,.4);
  animation: pinPulse 2.4s ease-out infinite;
}
@keyframes pinPulse {
  0%   { transform: scale(.6); opacity: .8; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { opacity: 0; }
}
.map-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 20px 24px 16px;
  background: linear-gradient(0deg, rgba(12,43,31,.9), rgba(12,43,31,0));
  color: var(--cream-2);
  font-size: .82rem;
  text-align: center;
}

/* ============ FOOTER ============ */
.site-footer { background: var(--forest); color: var(--cream-2); padding-top: 90px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,245,232,.12);
}
.footer-grid--simple { grid-template-columns: 1.4fr 1fr 1fr; }
.footer-mark { height: 58px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; color: rgba(241,233,214,.7); max-width: 26ch; }
.footer-col h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1em;
}
.footer-col p, .footer-col a { font-size: .92rem; color: rgba(241,233,214,.75); }
.footer-col a:hover { color: var(--gold-light); }
.footer-book { margin-top: 4px; }
.social-row { display: flex; gap: 16px; margin-top: 10px; }
.hours-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.hours-list li { display: flex; justify-content: space-between; font-size: .9rem; gap: 12px; }
.footer-bottom { padding: 26px 0; text-align: center; font-size: .8rem; color: rgba(241,233,214,.55); }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 44px; }
  .contact-visuals { grid-template-columns: 1fr; gap: 28px; }
  .outside-photo, .map-panel { aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section:not(.hero) { padding: 80px 0; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--forest);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    gap: 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 26px; text-align: center; }
  .site-nav ul a { font-size: 1.2rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .hero-content { padding-top: 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .service-grid { grid-template-columns: 1fr; }
  .price-columns { grid-template-columns: 1fr; gap: 40px; }
  .contact-item { gap: 14px; }
  .outside-photo, .map-panel { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
