/* ============================================================
   Height of Health Massage — spec preview
   Design system
   ============================================================ */

:root {
  /* Brand palette — warm, grounded wellness */
  --forest:      #2f4438;
  --forest-deep: #233529;
  --forest-soft: #3c5446;
  --cream:       #f3ece1;
  --cream-warm:  #ece2d3;
  --paper:       #faf6ef;
  --terra:       #c08552;
  --terra-deep:  #a86c3a;
  --ink:         #20271f;
  --muted:       #5d6a5c;
  --line:        rgba(47, 68, 56, 0.14);

  /* On-dark tones */
  --on-dark:        #f3ece1;
  --on-dark-muted:  rgba(243, 236, 225, 0.74);

  /* Type */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.36rem + 0.7vw, 2rem);
  --step-3:  clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --step-4:  clamp(2.6rem, 2.1rem + 2.6vw, 4.4rem);
  --step-5:  clamp(3.2rem, 2.4rem + 4vw, 6rem);

  /* Spacing */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--forest-deep);
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

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

::selection { background: var(--terra); color: #fff; }

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Shared bits ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 1.1rem;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 4px rgba(192, 133, 82, 0.18);
}

.section-title {
  font-size: var(--step-3);
  max-width: 18ch;
  margin-bottom: 1.4rem;
}

.btn {
  --b: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  color: var(--cream);
  background: var(--b);
  padding: 0.95em 1.6em;
  border-radius: 100px;
  border: 1px solid var(--b);
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
  box-shadow: 0 1px 2px rgba(35, 53, 41, 0.18);
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--terra);
  transform: translateY(102%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 14px 30px rgba(35, 53, 41, 0.28); }
.btn:hover::after { transform: translateY(0); }
.btn:hover { border-color: var(--terra); }

.btn-lg { font-size: var(--step-1); padding: 1.05em 1.9em; }
.btn-sm { padding: 0.7em 1.2em; font-size: var(--step--1); letter-spacing: 0.02em; }

.btn-light {
  --b: var(--cream);
  color: var(--forest-deep);
}
.btn-light::after { background: #fff; }
.btn-light:hover { color: var(--forest-deep); border-color: #fff; }

/* terracotta accent CTA — the primary, high-contrast action */
.btn-accent {
  --b: var(--terra);
  color: #fff;
  border-color: var(--terra);
  box-shadow: 0 10px 26px rgba(192, 133, 82, 0.34);
}
.btn-accent::after { background: var(--cream); }
.btn-accent:hover {
  color: var(--forest-deep);
  border-color: var(--cream);
  box-shadow: 0 16px 36px rgba(192, 133, 82, 0.42);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--forest-deep);
  padding: 0.4em 0;
  position: relative;
}
.btn-ghost .arrow { transition: transform 0.4s var(--ease); }
.btn-ghost::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.btn-ghost:hover::after { transform: scaleX(1); }
.btn-ghost:hover .arrow { transform: translateX(5px); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(250, 246, 239, 0.9);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(35, 53, 41, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--forest);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.brand-mark::before {
  content: ""; position: absolute; inset: 6px;
  border: 1.5px solid rgba(243, 236, 225, 0.5);
  border-radius: 50%;
}
.brand-mark-line {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--terra);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-deep);
  font-weight: 600;
}

.site-nav { display: flex; gap: 1.8rem; margin-left: auto; margin-right: 1.4rem; }
.site-nav a {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 0.3em 0;
  transition: color 0.3s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--terra);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover { color: var(--forest-deep); }
.site-nav a:hover::after { transform: scaleX(1); }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
}

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

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--forest-deep) 0%, var(--forest) 52%, var(--forest-soft) 100%);
  color: var(--on-dark);
  padding-top: clamp(3rem, 1rem + 8vw, 6rem);
  padding-bottom: var(--space-section);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.orb-1 {
  width: 44vw; height: 44vw; max-width: 600px; max-height: 600px;
  top: -16%; right: -10%;
  background: radial-gradient(circle at 30% 30%, rgba(192, 133, 82, 0.8), rgba(192, 133, 82, 0));
  animation: float1 16s var(--ease) infinite alternate;
}
.orb-2 {
  width: 38vw; height: 38vw; max-width: 480px; max-height: 480px;
  bottom: -22%; left: -12%;
  background: radial-gradient(circle at 50% 50%, rgba(120, 160, 130, 0.5), rgba(120, 160, 130, 0));
  animation: float2 20s var(--ease) infinite alternate;
}
/* topographic contour motif — echoes "Height of Health" */
.hero-topo {
  position: absolute;
  top: 0; right: 0;
  width: min(78vw, 880px);
  height: auto; aspect-ratio: 1;
  color: var(--terra);
  mix-blend-mode: screen;
  opacity: 0.9;
  transform-origin: 80% 12%;
  animation: topoDrift 26s var(--ease) infinite alternate;
}
.grain {
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(243, 236, 225, 0.05) 1px, transparent 1px);
  background-size: 4px 4px;
}
@keyframes topoDrift {
  to { transform: scale(1.06) translate(-1.5%, 1%); }
}
@keyframes float1 { to { transform: translate(-40px, 40px) scale(1.08); } }
@keyframes float2 { to { transform: translate(40px, -30px) scale(1.12); } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: stretch;
}
.hero-copy { max-width: 38rem; align-self: center; }

.hero .eyebrow { color: var(--terra); }
.hero .eyebrow-dot { background: var(--terra); box-shadow: 0 0 0 4px rgba(192, 133, 82, 0.25); }

.hero-title {
  color: var(--cream);
  font-size: var(--step-5);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}
.hero-lede {
  font-size: var(--step-1);
  color: var(--on-dark-muted);
  max-width: 32rem;
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-actions .btn-ghost { color: var(--cream); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(1.4rem, 0.8rem + 2vw, 2.6rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(243, 236, 225, 0.16);
}
.hero-stats > div { position: relative; }
.hero-stats > div + div { padding-left: clamp(1.4rem, 0.8rem + 2vw, 2.6rem); }
.hero-stats > div + div::before {
  content: "";
  position: absolute; left: 0; top: 0.1em; bottom: 0.2em;
  width: 1px; background: rgba(243, 236, 225, 0.16);
}
.hero-stats dt {
  font-family: var(--serif);
  font-size: var(--step-2);
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.hero-stats dd {
  font-size: var(--step--1);
  color: var(--on-dark-muted);
  max-width: 12ch;
}

/* Hero card */
.hero-card { perspective: 1000px; display: flex; }
.hero-card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(155deg, rgba(243, 236, 225, 0.12), rgba(243, 236, 225, 0.04));
  border: 1px solid rgba(243, 236, 225, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px rgba(20, 30, 22, 0.35);
  position: relative;
  overflow: hidden;
}
.hero-card-inner::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--terra), transparent);
}
.hero-card-tag {
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
}
.hero-card-detail {
  font-family: var(--serif);
  font-size: var(--step-2);
  color: var(--cream);
  line-height: 1.12;
  margin: 0.8rem 0 1rem;
}
.hero-card-note {
  font-size: var(--step-0);
  color: var(--on-dark-muted);
  margin-bottom: 1.5rem;
}
.hero-card-facts {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}
.hero-card-facts li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--step--1);
  color: rgba(243, 236, 225, 0.86);
  font-weight: 500;
}
.hcf-tick {
  position: relative;
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(192, 133, 82, 0.18);
  border: 1px solid rgba(192, 133, 82, 0.5);
}
.hcf-tick::after {
  content: "";
  position: absolute;
  left: 5.5px; top: 3px;
  width: 4px; height: 8px;
  border: solid var(--terra);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(42deg);
}
.hero-card-foot {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: auto;
  font-size: var(--step--1);
  color: rgba(243, 236, 225, 0.6);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(243, 236, 225, 0.14);
}
.pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: #8fc79a;
  box-shadow: 0 0 0 0 rgba(143, 199, 154, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(143, 199, 154, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(143, 199, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 199, 154, 0); }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 30rem; }
}
@media (max-width: 440px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }
  .hero-stats > div + div { padding-left: 0; }
  .hero-stats > div + div::before { display: none; }
}

/* ============================================================
   Strip / marquee
   ============================================================ */

.strip {
  background: var(--terra);
  color: #fff;
  overflow: hidden;
  padding-block: 0.9rem;
  border-block: 1px solid var(--terra-deep);
}
.strip-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  white-space: nowrap;
  width: max-content;
  font-family: var(--serif);
  font-size: var(--step-1);
  font-style: italic;
  animation: marquee 28s linear infinite;
}
.strip-track span { opacity: 0.95; }
.strip-dot { opacity: 0.55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   About
   ============================================================ */

.about {
  padding-block: var(--space-section);
  background:
    radial-gradient(70% 90% at 88% 0%, rgba(192, 133, 82, 0.07), transparent 60%),
    var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: center;
}
.about-figure { position: relative; }
.about-art {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(125% 120% at 25% 8%, var(--forest-soft) 0%, var(--forest) 52%, var(--forest-deep) 100%);
  display: grid;
  place-items: center;
  padding: clamp(1.8rem, 1rem + 3vw, 3rem);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(20, 30, 22, 0.32);
}
.about-art::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 50% 42%, transparent 40%, rgba(20,30,22,0.28) 100%);
  pointer-events: none;
}
/* warm light source behind the cairn — gives the stones a glow to sit in */
.about-art::before {
  content: "";
  position: absolute;
  left: 50%; top: 52%;
  width: 78%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(244, 224, 198, 0.30) 0%, rgba(192, 133, 82, 0.12) 38%, transparent 68%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}
.about-topo {
  position: absolute;
  inset: -8% -4% auto -4%;
  width: 108%;
  height: auto; aspect-ratio: 4 / 5;
  color: var(--cream);
  opacity: 0.32;
}

/* Spa stone-cairn illustration — the warm, tactile focal point */
.about-illo {
  position: relative;
  z-index: 1;
  width: clamp(13rem, 9rem + 16vw, 17rem);
  height: auto;
  aspect-ratio: 260 / 320;
  overflow: visible;
  color: var(--cream);
  filter: drop-shadow(0 26px 34px rgba(15, 24, 17, 0.4));
}
.illo-steam {
  stroke: var(--cream);
  animation: steamRise 7s ease-in-out infinite;
  transform-origin: 132px 132px;
}
.illo-shadow { fill: rgba(13, 20, 14, 0.45); }
.illo-sprig { stroke: var(--terra); }
.illo-stones .stone {
  fill: var(--cream);
  stroke: rgba(20, 30, 22, 0.22);
  stroke-width: 1;
}
.illo-stones .stone:nth-of-type(1) { fill: #efe6d6; }
.illo-stones .stone:nth-of-type(2) { fill: #f3ece1; }
.illo-stones .stone:nth-of-type(3) { fill: #f7f1e7; }
.illo-stones .stone:nth-of-type(4) { fill: var(--terra); stroke: rgba(168, 108, 58, 0.6); }
.illo-stones .shine { fill: rgba(255, 255, 255, 0.55); }
.illo-stones .shine:last-of-type { fill: rgba(255, 255, 255, 0.7); }
@keyframes steamRise {
  0%, 100% { opacity: 0.85; transform: translateY(0); }
  50% { opacity: 0.45; transform: translateY(-4px); }
}

/* Founding-year stamp — quiet caption, not a badge */
.about-stamp {
  position: absolute;
  top: clamp(1.4rem, 1rem + 2vw, 2rem);
  left: clamp(1.4rem, 1rem + 2vw, 2rem);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 236, 225, 0.82);
  font-weight: 600;
}
.about-stamp-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 3px rgba(192, 133, 82, 0.25);
}
.about-art-word {
  position: absolute;
  left: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  bottom: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.18;
  max-width: 14ch;
  color: rgba(243, 236, 225, 0.92);
}
.about-copy p { color: var(--muted); margin-bottom: 1.2rem; max-width: 46ch; }
.about-list {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.8rem;
}
.about-list li {
  display: flex; gap: 0.8rem; align-items: flex-start;
  font-size: var(--step-0);
  color: var(--forest-deep);
  font-weight: 500;
}
.about-list span {
  color: var(--terra);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 26rem; }
}

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

.services {
  padding-block: var(--space-section);
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.services-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(2.5rem, 1rem + 4vw, 4rem);
}
.services-head .section-title { max-width: 22ch; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, auto);
  gap: 1.4rem;
}
.svc {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.2rem);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.svc::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--terra);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(35, 53, 41, 0.12);
  border-color: transparent;
}
.svc:hover::before { transform: scaleY(1); }

.svc-narrow { grid-column: span 2; }

.svc-lg {
  grid-column: span 3; grid-row: span 2;
  display: flex; flex-direction: column;
  background:
    radial-gradient(125% 120% at 100% 100%, var(--cream) 0%, var(--paper) 46%);
}
/* concentric contour echo fills the large card's lower void */
.svc-lg::after {
  content: "";
  position: absolute;
  right: -90px; bottom: -90px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 38%, rgba(192,133,82,0.12) 38% 39%, transparent 39%),
    radial-gradient(circle, transparent 0 54%, rgba(192,133,82,0.10) 54% 55%, transparent 55%),
    radial-gradient(circle, transparent 0 70%, rgba(192,133,82,0.08) 70% 71%, transparent 71%),
    radial-gradient(circle, transparent 0 86%, rgba(192,133,82,0.06) 86% 87%, transparent 87%);
  pointer-events: none;
}
.svc-lg .svc-tag { margin-top: auto; }
.svc-lg p { position: relative; z-index: 1; }
.svc-index {
  font-family: var(--serif);
  font-size: var(--step--1);
  color: var(--terra-deep);
  letter-spacing: 0.05em;
  font-weight: 600;
}
.svc h3 {
  font-size: var(--step-2);
  margin: 0.6rem 0 0.8rem;
}
.svc-lg h3 { font-size: var(--step-3); }
.svc p { color: var(--muted); font-size: var(--step-0); margin-bottom: 1.2rem; }
.svc-lg p { font-size: var(--step-1); max-width: 32ch; }
.svc-tag {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-soft);
  background: var(--cream-warm);
  padding: 0.4em 0.9em;
  border-radius: 100px;
}

/* "who it's for" chips fill the feature card and add detail */
.svc-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.2rem 0 1.8rem;
  position: relative;
  z-index: 1;
}
.svc-chips li {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--terra-deep);
  padding: 0.42em 0.95em;
  border: 1px solid rgba(192, 133, 82, 0.4);
  border-radius: 100px;
  background: rgba(192, 133, 82, 0.07);
}

.svc-cta {
  grid-column: span 4;
  background: var(--forest);
  color: var(--cream);
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}
.svc-cta::before { display: none; }
.svc-cta h3 { color: var(--cream); font-size: var(--step-2); }
.svc-cta p { color: var(--on-dark-muted); }
.svc-cta .btn { margin-top: 0.8rem; align-self: flex-start; }
.svc-cta:hover { box-shadow: 0 24px 44px rgba(35, 53, 41, 0.22); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc, .svc-narrow { grid-column: span 1; grid-row: auto; }
  .svc-lg, .svc-cta { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc, .svc-narrow, .svc-lg, .svc-cta { grid-column: 1 / -1; }
}

/* ============================================================
   Why / social proof
   ============================================================ */

.why {
  padding-block: var(--space-section);
  background:
    linear-gradient(155deg, var(--forest-deep), var(--forest) 70%);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute; top: -30%; right: -10%;
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(192,133,82,0.3), transparent 60%);
  filter: blur(40px);
}
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: center;
  position: relative;
}
.why .eyebrow { color: var(--terra); }
.why .section-title { color: var(--cream); max-width: 16ch; }
.why-copy p { color: var(--on-dark-muted); font-size: var(--step-1); margin-bottom: 1.8rem; max-width: 40ch; }
.why-copy .btn-ghost { color: var(--cream); }

.why-stats { display: grid; gap: 1.2rem; }
.why-stat {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: rgba(243, 236, 225, 0.06);
  border: 1px solid rgba(243, 236, 225, 0.14);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.why-stat:hover { transform: translateX(8px); background: rgba(243, 236, 225, 0.1); }
.why-num {
  font-family: var(--serif);
  font-size: var(--step-4);
  line-height: 1;
  color: var(--terra);
  font-weight: 600;
  min-width: 3ch;
}
.why-label { font-size: var(--step-0); color: var(--on-dark-muted); }

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

/* ============================================================
   Visit
   ============================================================ */

.visit { padding-block: var(--space-section); }
.visit-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.visit-copy { position: sticky; top: 6rem; }
.visit-copy p { color: var(--muted); margin-bottom: 1.8rem; max-width: 40ch; }
.visit-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

.visit-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.visit-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.visit-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(35, 53, 41, 0.1); }
.visit-card h3 {
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 0.8rem;
}
.visit-card p { color: var(--forest-deep); font-size: var(--step-1); font-family: var(--serif); }
.visit-card p a { transition: color 0.3s var(--ease); }
.visit-card p a:hover { color: var(--terra-deep); }
.visit-card-note {
  font-family: var(--sans) !important;
  font-size: var(--step--1) !important;
  color: var(--muted) !important;
  margin-top: 0.5rem;
}
.visit-hours { grid-column: 1 / -1; }
.visit-hours ul { list-style: none; display: grid; gap: 0.6rem; }
.visit-hours li {
  display: flex; justify-content: space-between;
  font-size: var(--step-0);
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--line);
}
.visit-hours li:last-child { border-bottom: none; }
.visit-hours li span:first-child { color: var(--muted); }
.visit-hours li span:last-child { font-weight: 600; color: var(--forest-deep); }

@media (max-width: 820px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-copy { position: static; }
}
@media (max-width: 460px) {
  .visit-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   Closer
   ============================================================ */

.closer {
  padding-block: clamp(4rem, 2rem + 6vw, 7rem);
  background:
    radial-gradient(120% 140% at 50% -20%, var(--terra) 0%, var(--terra-deep) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.closer::before {
  content: "";
  position: absolute; left: 50%; top: -60%;
  width: 130vw; aspect-ratio: 1; transform: translateX(-50%);
  z-index: -1;
  background:
    radial-gradient(circle, transparent 0 30%, rgba(255,255,255,0.07) 30% 30.4%, transparent 30.4%),
    radial-gradient(circle, transparent 0 44%, rgba(255,255,255,0.06) 44% 44.3%, transparent 44.3%),
    radial-gradient(circle, transparent 0 58%, rgba(255,255,255,0.05) 58% 58.3%, transparent 58.3%),
    radial-gradient(circle, transparent 0 72%, rgba(255,255,255,0.04) 72% 72.3%, transparent 72.3%);
}
.closer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.closer h2 {
  color: #fff;
  font-size: var(--step-4);
  max-width: 18ch;
}

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

.site-footer {
  background: var(--forest-deep);
  color: var(--on-dark-muted);
  padding-top: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(243, 236, 225, 0.12);
}
.footer-brand .brand-name { color: var(--cream); font-size: var(--step-1); }
.footer-brand p { margin-top: 0.8rem; max-width: 32ch; font-size: var(--step-0); }
.footer-col h4 {
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  margin-bottom: 0.6rem;
  font-size: var(--step-0);
  color: var(--on-dark-muted);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-col a:hover { color: var(--cream); transform: translateX(4px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.6rem;
  font-size: var(--step--1);
}
.footer-bottom a { color: var(--on-dark-muted); transition: color 0.3s var(--ease); }
.footer-bottom a:hover { color: var(--terra); }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Spec footer (mandated) ---------- */
.spec-footer {
  background: #1a241c;
  color: rgba(243, 236, 225, 0.6);
  font-size: 0.8rem;
  text-align: center;
  padding: 1.2rem var(--gutter);
  line-height: 1.6;
}
.spec-footer a { color: var(--terra); text-decoration: underline; }

/* ============================================================
   Reveal animations
   ============================================================ */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* stagger children within a shared container */
[data-reveal].is-in { transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .strip-track { animation: none; }
}
