/* =========================================================
   Crystal Garden Massage — visual system
   Dominant: amethyst purple. Accent: warm brass. Type: Cormorant Garamond + Outfit.
   ========================================================= */

:root {
  /* Color — anchored to the actual purple walls + brass lamps + plants */
  --amethyst-900: #2b1838;
  --amethyst-800: #3d2350;
  --amethyst-700: #4f2d68;
  --amethyst-600: #6a3f87;
  --amethyst-500: #845aa3;
  --amethyst-300: #c5a8da;
  --amethyst-100: #ede2f5;
  --amethyst-50:  #f8f3fb;

  --brass-700: #8a6826;
  --brass-500: #b8923f;
  --brass-300: #d9b878;

  --leaf-700: #3f5a37;
  --leaf-500: #5a7a4f;

  --cream-100: #faf6ec;
  --cream-200: #f3ecd9;
  --paper:     #fdfbf5;

  --ink:       #221330;
  --ink-soft:  rgba(34, 19, 48, 0.7);
  --ink-faint: rgba(34, 19, 48, 0.45);

  --red-clay:  #a8392b; /* sparing accent */

  /* Type */
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body:    'Outfit', 'Helvetica Neue', system-ui, sans-serif;

  /* Spacing */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Radii — restrained, this is a serif-led world not a soft-edged SaaS */
  --r-sm: 3px;
  --r-md: 6px;
}

/* ============ RESET ============ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* ============ BASE ============ */

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

::selection { background: var(--amethyst-300); color: var(--ink); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--amethyst-800); color: var(--cream-100);
  padding: var(--s-3) var(--s-4);
  text-decoration: none;
}
.skip:focus { left: var(--s-3); top: var(--s-3); z-index: 999; }

/* ============ TOP BAR ============ */

.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--gutter);
  color: var(--cream-100);
}

.topbar__wordmark {
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: baseline;
}

.wordmark__crystal {
  font-weight: 500;
  font-style: italic;
}
.wordmark__amp { width: .35em; display: inline-block; }
.wordmark__garden {
  font-weight: 500;
  font-style: italic;
  position: relative;
}
.wordmark__garden::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.18em;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.topbar__nav {
  display: flex;
  gap: clamp(var(--s-4), 2vw, var(--s-6));
  align-items: center;
  font-family: var(--body);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar__nav a {
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
  transition: opacity .15s ease;
  position: relative;
}
.topbar__nav a:hover { opacity: 1; }
.topbar__nav a:not(.topbar__cta)::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.topbar__nav a:not(.topbar__cta):hover::after { transform: scaleX(1); }

.topbar__cta {
  padding: .55rem .9rem;
  border: 1px solid currentColor;
  border-radius: var(--r-sm);
  opacity: 1 !important;
}
.topbar__cta:hover { background: var(--cream-100); color: var(--amethyst-800); }

@media (max-width: 640px) {
  .topbar__nav a:not(.topbar__cta) { display: none; }
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: min(880px, 100svh);
  display: flex;
  align-items: flex-end;
  color: var(--cream-100);
  overflow: hidden;
}

.hero__image {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(43, 24, 56, 0.78) 0%, rgba(43, 24, 56, 0.55) 35%, rgba(43, 24, 56, 0.65) 60%, rgba(43, 24, 56, 0.92) 100%),
    linear-gradient(90deg, rgba(43, 24, 56, 0.72) 0%, rgba(43, 24, 56, 0.18) 65%, rgba(43, 24, 56, 0) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: var(--s-10) var(--gutter) clamp(var(--s-8), 8vw, var(--s-10));
}

.hero__eyebrow {
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 var(--s-5);
  opacity: 0.92;
  color: var(--brass-300);
}

.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin: 0 0 var(--s-5);
  max-width: 16ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.title__article {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.62em;
  opacity: 0.9;
  letter-spacing: 0.01em;
  margin-bottom: 0.05em;
}
.title__line { display: block; }
.title__line em {
  color: var(--brass-300);
  font-style: italic;
  font-weight: 500;
}

.hero__sub {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  font-weight: 400;
  font-style: italic;
  max-width: 36ch;
  opacity: 0.92;
  margin: 0 0 var(--s-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.hero__chips {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  opacity: 0.88;
}
.hero__chips li { display: inline-flex; align-items: center; gap: var(--s-2); }
.chip__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass-300);
  box-shadow: 0 0 0 3px rgba(217, 184, 120, 0.18);
}

/* ============ BUTTON ============ */

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  padding: .9rem 1.4rem;
  border-radius: var(--r-sm);
  font-family: var(--body);
  line-height: 1.1;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn__label { font-size: 1.02rem; font-weight: 500; letter-spacing: 0.01em; }
.btn__sub { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; margin-top: 0.2rem; }

.btn--primary {
  background: var(--brass-500);
  color: var(--amethyst-900);
  border: 1px solid var(--brass-500);
}
.btn--primary:hover { background: var(--brass-300); border-color: var(--brass-300); }

.btn--ghost {
  background: transparent;
  color: currentColor;
  border: 1px solid currentColor;
  align-items: center;
  font-weight: 500;
}
.btn--ghost:hover { background: rgba(250, 246, 236, 0.1); }

.btn--xl { padding: 1.3rem 2.2rem; align-items: center; }
.btn--xl .btn__label { font-size: 1.45rem; font-weight: 500; }
.btn--xl .btn__sub { font-size: 0.8rem; margin-top: 0.4rem; }

/* ============ DIVIDERS ============ */

.cluster-divider, .leaf-divider {
  display: flex;
  justify-content: center;
  padding: clamp(var(--s-7), 6vw, var(--s-8)) var(--gutter);
  background: var(--paper);
}
.cluster-divider { color: var(--amethyst-600); }
.cluster-divider svg { width: min(320px, 60%); height: auto; }

.leaf-divider { color: var(--leaf-500); }
.leaf-divider svg { width: min(360px, 70%); height: auto; }

/* ============ SECTION COMMONS ============ */

.section__eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-700);
  margin: 0 0 var(--s-3);
}

.section__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-5);
  color: var(--amethyst-900);
}
.section__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--amethyst-700);
}

/* ============ STORY ============ */

.story {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(var(--s-7), 6vw, var(--s-9)) var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: start;
}

@media (min-width: 880px) {
  .story {
    grid-template-columns: 5fr 6fr;
    gap: clamp(var(--s-7), 6vw, var(--s-9));
    align-items: center;
  }
}

.story__media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(34, 19, 48, 0.05),
    0 30px 60px -20px rgba(79, 45, 104, 0.35);
}
.story__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.story__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(125, 95, 145, 0.2);
  border-radius: inherit;
}

.story__copy p {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
}
.story__sig {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.18rem !important;
  color: var(--amethyst-700) !important;
  margin-top: var(--s-5) !important;
}
.sig__dash { color: var(--brass-500); margin-right: 0.2em; }

/* ============ SERVICES ============ */

.services {
  background: linear-gradient(180deg, var(--amethyst-50) 0%, var(--paper) 100%);
  padding: clamp(var(--s-8), 8vw, var(--s-10)) var(--gutter);
}

.services__header {
  max-width: var(--max);
  margin: 0 auto var(--s-8);
  text-align: center;
}

.services__lede {
  max-width: 50ch;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.services__lede strong { color: var(--amethyst-800); font-weight: 500; }

.services__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--amethyst-300);
  border: 1px solid var(--amethyst-300);
}

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--paper);
  padding: clamp(var(--s-5), 2vw, var(--s-6));
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-height: 200px;
  transition: background .25s ease;
}
.card:hover {
  background: var(--cream-100);
}
.card:hover .card__num { color: var(--amethyst-700); }

.card__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
  color: var(--brass-500);
  letter-spacing: 0.04em;
  transition: color .25s ease;
}

.card__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1.1;
  color: var(--amethyst-900);
  margin: 0;
  letter-spacing: -0.005em;
}

.card__body {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* 15th tile — the "call us" card, completes the 5-row grid */
.card--cta {
  background: var(--amethyst-800);
  color: var(--cream-100);
}
/* On 2-col tablet, the 15th card is an orphan — let it span the row */
@media (min-width: 640px) and (max-width: 979px) {
  .card--cta { grid-column: 1 / -1; }
}
.card--cta:hover { background: var(--amethyst-700); }
.card--cta .card__name { color: var(--cream-100); font-style: italic; }
.card--cta .card__body { color: var(--amethyst-100); }
.card--cta .card__num--cta { color: var(--brass-300); }
.card--cta:hover .card__num--cta { color: var(--brass-300); }

.card__phone {
  margin-top: auto;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--brass-300);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding-top: var(--s-3);
}
.card__phone:hover { color: var(--cream-100); }

/* ============ VISIT ============ */

.visit {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(var(--s-8), 8vw, var(--s-10)) var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}

@media (min-width: 880px) {
  .visit {
    grid-template-columns: 5fr 6fr;
    gap: clamp(var(--s-7), 6vw, var(--s-9));
    align-items: start;
  }
}

.visit__big {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 var(--s-5);
  color: var(--amethyst-900);
}
.visit__big em {
  font-style: italic;
  color: var(--amethyst-700);
}

.visit__hours-note {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36ch;
}

.visit__addr {
  font-style: normal;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 var(--s-5);
}
.visit__addr a {
  text-decoration: none;
  color: var(--amethyst-900);
  border-bottom: 1px solid var(--brass-500);
  padding-bottom: 2px;
}
.visit__addr a:hover { color: var(--amethyst-700); border-bottom-color: var(--amethyst-700); }

.visit__directions {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: var(--s-6);
}
.visit__directions em {
  font-family: var(--display);
  font-style: italic;
  color: var(--red-clay);
  font-weight: 500;
}

.visit__contact {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--amethyst-100);
}

.contact__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--amethyst-100);
  text-decoration: none;
  color: var(--ink);
  transition: color .15s ease;
}
.contact__row:hover { color: var(--amethyst-700); }
.contact__label {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-700);
}
.contact__value {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}

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

.cta {
  background: var(--amethyst-800);
  color: var(--cream-100);
  padding: clamp(var(--s-9), 10vw, var(--s-10)) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184, 146, 63, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(197, 168, 218, 0.14), transparent 45%);
  pointer-events: none;
}

.cta__title {
  position: relative;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 var(--s-7);
}
.cta__title em {
  font-style: italic;
  color: var(--brass-300);
}
.cta__or {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.45em;
  font-weight: 400;
  color: var(--amethyst-300);
  letter-spacing: 0.12em;
  margin: 0.2em 0;
  opacity: 0.85;
}

.cta .btn--xl {
  position: relative;
}

/* ============ FOOTER ============ */

.foot {
  background: var(--amethyst-900);
  color: var(--amethyst-300);
  padding: var(--s-7) var(--gutter);
  border-top: 1px solid var(--amethyst-800);
}

.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.foot__mark {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--cream-100);
  margin: 0 0 var(--s-3);
}

.foot__line {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin: 0 0 var(--s-2);
  color: var(--amethyst-100);
}
.foot__line a { color: inherit; text-decoration-color: var(--brass-500); }
.foot__line a:hover { color: var(--brass-300); }

.foot__small {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--amethyst-300);
  opacity: 0.7;
  margin: 0;
}

/* ============ REVEAL ANIMATION ============ */

.will-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}
.will-reveal.is-in {
  opacity: 1;
  transform: none;
}

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

/* ============ FOCUS RING ============ */

:focus-visible {
  outline: 2px solid var(--brass-500);
  outline-offset: 3px;
  border-radius: 2px;
}
