/* ==========================================================================
   Throne Wellness Centre — brand stylesheet
   Palette: moss, fern, linen, sand, clay, bark, stone
   Type:    Cormorant Garamond (display) + Nunito Sans (body)
   ========================================================================== */

:root {
  --moss: #3f5a3a;
  --moss-deep: #2e4330;
  --fern: #6b8f5e;
  --fern-light: #a9bf9c;
  --linen: #f4efe6;
  --linen-dark: #ece4d6;
  --sand: #e6dcc8;
  --clay: #b8704f;
  --clay-dark: #9a5a3d;
  --bark: #2b2a26;
  --stone: #8a8578;
  --white: #fffdf9;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-organic: 180px 20px 180px 20px;
  --radius-organic-alt: 20px 180px 20px 180px;
  --radius-soft: 18px;
  --shadow: 0 18px 50px -24px rgba(43, 42, 38, 0.35);

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--bark);
  background: var(--linen);
  position: relative;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.16 0 0 0 0 0.15 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

body > * { position: relative; z-index: 1; }

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

a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--bark);
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: #45443f; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fern);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--sand { background: var(--sand); }
.section--moss { background: var(--moss-deep); color: var(--linen); }
.section--moss h2, .section--moss h3, .section--moss h4 { color: var(--linen); }
.section--moss .eyebrow { color: var(--fern-light); }
.section--moss .lead { color: #d9d3c4; }
.section--moss a { color: var(--sand); }

.text-center { text-align: center; }
.measure { max-width: 62ch; }
.measure--center { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--moss); color: var(--linen); }
.btn--primary:hover { background: var(--moss-deep); color: var(--linen); }
.btn--clay { background: var(--clay); color: var(--white); }
.btn--clay:hover { background: var(--clay-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--moss); border-color: var(--moss); }
.btn--ghost:hover { background: var(--moss); color: var(--linen); }
.btn--light { background: var(--linen); color: var(--moss-deep); }
.btn--light:hover { background: var(--white); color: var(--moss-deep); }
.btn--ghost-light { background: transparent; color: var(--linen); border-color: rgba(244, 239, 230, 0.6); }
.btn--ghost-light:hover { background: rgba(244, 239, 230, 0.12); color: var(--linen); }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 42, 38, 0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 0.9rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--bark); }
.brand svg { width: 40px; height: 40px; color: var(--moss); flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1; }
.brand__sub { display: block; font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--fern); font-weight: 700; margin-top: 0.3rem; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav a { font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; color: var(--bark); padding: 0.4rem 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--clay); color: var(--bark); }
.nav .btn { padding: 0.65rem 1.25rem; font-size: 0.85rem; border-bottom: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--moss);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--moss);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--linen);
    border-bottom: 1px solid rgba(43, 42, 38, 0.08);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid rgba(43, 42, 38, 0.08); }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  color: var(--linen);
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(43, 42, 38, 0.25) 0%, rgba(43, 42, 38, 0.2) 40%, rgba(46, 67, 48, 0.88) 100%);
}
.hero--page::after {
  background:
    linear-gradient(180deg, rgba(43, 42, 38, 0.45) 0%, rgba(43, 42, 38, 0.5) 45%, rgba(46, 67, 48, 0.9) 100%);
}
.hero__content { padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 7vw, 5.5rem); max-width: 760px; }
.hero h1 { color: var(--linen); margin-bottom: 1rem; }
.hero .lead { color: rgba(244, 239, 230, 0.9); }
.hero .eyebrow { color: var(--sand); text-shadow: 0 1px 2px rgba(43, 42, 38, 0.4); }
.hero h1, .hero .lead { text-shadow: 0 1px 3px rgba(43, 42, 38, 0.35); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.hero--page { min-height: min(58vh, 560px); }
.hero--page .hero__content { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

.figure { margin: 0; position: relative; }
.figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-organic);
  box-shadow: var(--shadow);
}
.figure--alt img { border-radius: var(--radius-organic-alt); }
.figure--wide img { aspect-ratio: 16 / 10; border-radius: var(--radius-soft); }
.figure figcaption { font-size: 0.8rem; color: var(--stone); margin-top: 0.75rem; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(43, 42, 38, 0.05), var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-4px); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 0.5rem; }
.card__body p { color: #4d4b45; margin-bottom: 1.25rem; flex: 1; }
.card__link { font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; text-decoration: none; }
.card__link::after { content: " \2192"; }

.section--moss .card { background: rgba(244, 239, 230, 0.06); box-shadow: none; border: 1px solid rgba(244, 239, 230, 0.12); }
.section--moss .card__body p { color: #d9d3c4; }

/* --------------------------------------------------------------------------
   Steps (contrast circuit)
   -------------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem; align-items: start; }
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--sand);
  color: var(--moss);
}
.step--cold .step__num { background: #d7e3e6; color: #2f5a66; }
.step--rest .step__num { background: #ead9cf; color: var(--clay-dark); }
.step h4 { margin-bottom: 0.2rem; }
.step p { margin: 0; color: #4d4b45; }

/* --------------------------------------------------------------------------
   Membership
   -------------------------------------------------------------------------- */
.price-card {
  background: var(--linen);
  color: var(--bark);
  border-radius: var(--radius-soft);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.price { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 500; line-height: 1; color: var(--moss); }
.price small { font-family: var(--font-body); font-size: 1rem; color: var(--stone); font-weight: 600; letter-spacing: 0.05em; }
.price-note { color: var(--stone); font-size: 0.9rem; margin-top: 0.5rem; }
.price-card a:not(.btn) { color: var(--moss); }
.price-card a:not(.btn):hover { color: var(--clay-dark); }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.7rem; }
.checklist li { padding-left: 1.9rem; position: relative; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--fern);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 70% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 70% no-repeat;
}
.section--moss .checklist li::before { background: var(--fern-light); }

/* --------------------------------------------------------------------------
   Service detail blocks
   -------------------------------------------------------------------------- */
.service { scroll-margin-top: 100px; }
.service + .service { margin-top: clamp(4rem, 8vw, 6.5rem); }
.service .meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.85rem; color: var(--stone); margin-top: 1.25rem; }
.service .meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.tag { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--sand); color: var(--moss-deep); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(43, 42, 38, 0.15);
  background: var(--white);
  color: var(--bark);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--fern); outline-offset: 1px; border-color: var(--fern); }
.field textarea { min-height: 160px; resize: vertical; }
.field__hint { font-size: 0.82rem; color: var(--stone); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 1rem 1.25rem; border-radius: 12px; font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #e3ecdc; color: var(--moss-deep); }
.form-status.is-error { display: block; background: #f1dcd2; color: var(--clay-dark); }

.contact-aside { background: var(--white); border-radius: var(--radius-soft); padding: 2rem; box-shadow: var(--shadow); }
.contact-aside h3 { margin-bottom: 0.75rem; }
.contact-aside dl { margin: 0; }
.contact-aside dt { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fern); font-weight: 700; margin-top: 1.25rem; }
.contact-aside dd { margin: 0.25rem 0 0; }

/* --------------------------------------------------------------------------
   Quote / testimonial
   -------------------------------------------------------------------------- */
.quote { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; font-style: italic; color: var(--moss-deep); max-width: 30ch; margin-inline: auto; }
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   Divider leaf
   -------------------------------------------------------------------------- */
.leaf-divider { display: flex; justify-content: center; color: var(--fern); margin: 0 auto 1.5rem; }
.leaf-divider svg { width: 42px; height: 42px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bark); color: #c9c3b5; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer .brand { color: var(--linen); }
.site-footer .brand svg { color: var(--fern-light); }
.site-footer .brand__sub { color: var(--fern-light); }
.site-footer h4 { color: var(--linen); font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer__bottom { border-top: 1px solid rgba(244, 239, 230, 0.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: var(--stone); }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
