/*
Theme Name: Foundry Aesthetics
Theme URI: https://foundryaesthetics.la
Description: Medical aesthetics, regenerative medicine & wellness theme
Version: 1.0.0
Author: Digital Standout
Author URI: https://digitalstandout.com
Text Domain: foundry
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  /* Colors */
  --c-earth: #3A2F2C;
  --c-steel: #394845;
  --c-ash: #C8D8C8;
  --c-linen: #f7f3ee;
  --c-offwhite: #FBF8F1;
  --c-footer: #2A211E;
  --c-text: #312a25;
  --c-text-muted: #6B635B;
  --c-text-light: #8A8177;

  /* Typography */
  --ff-display: 'Marcellus', serif;
  --ff-body: 'Jost', sans-serif;
  --fs-display: clamp(2.5rem, 6vw, 5.5rem);
  --fs-h1: clamp(2.25rem, 5vw, 4.5rem);
  --fs-h2: clamp(2rem, 4vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 2.5vw, 1.75rem);
  --fs-body: clamp(1.0625rem, 1.2vw, 1.1875rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  /* Spacing */
  --sp-section: clamp(3rem, 5.5vw, 5.5rem);
  --sp-container: clamp(1.25rem, 5vw, 4rem);
  --max-width: 82.5rem;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;

  /* Borders */
  --border-light: 1px solid rgba(58, 47, 44, 0.12);
  --radius: 0.375rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-linen);
}

::selection {
  background: var(--c-earth);
  color: var(--c-linen);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--c-linen);
}
::-webkit-scrollbar-thumb {
  background: var(--c-steel);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--c-earth);
}
::-webkit-scrollbar-button {
  display: none;
}
html {
  scrollbar-width: thin;
  scrollbar-color: var(--c-steel) var(--c-linen);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.announcement-bar {
  background: var(--c-steel);
  color: var(--c-linen);
  overflow: hidden;
  padding: 0.625rem 0;
}
.announcement-bar__track {
  display: flex;
  /* Size to the actual content instead of a forced 200%, so the items never get
     compressed into each other. -50% still equals one of the two copies. */
  width: max-content;
  animation: drift 34s linear infinite;
}
.announcement-bar__content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.announcement-bar__content span {
  padding: 0 1.75rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.announcement-bar__divider {
  opacity: 0.5;
  padding: 0 !important;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--c-earth);
  margin: 0;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.text-accent { color: var(--c-steel); }
.text-muted { color: var(--c-text-muted); }
.text-light { color: var(--c-text-light); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-steel);
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--c-ash); }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--sp-container);
}
.container--narrow { max-width: 62rem; }

.section {
  padding-block: var(--sp-section);
}
.section--decorated {
  position: relative;
  overflow: hidden;
}

.bg-linen { background: var(--c-linen); }
.bg-offwhite { background: var(--c-offwhite); }
.bg-earth { background: var(--c-earth); color: var(--c-linen); }
.bg-steel { background: var(--c-steel); color: var(--c-linen); }
.bg-footer { background: var(--c-footer); color: var(--c-linen); }

/* Grid */
.grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid--center { align-items: center; }
.grid--start { align-items: flex-start; }
.grid--reverse { direction: rtl; }
.grid--reverse > * { direction: ltr; }

/* Flex */
.flex { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.flex-between { justify-content: space-between; }
.flex-center { align-items: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.btn-primary {
  background: var(--c-earth);
  color: var(--c-linen);
}
.btn-accent {
  background: var(--c-steel);
  color: var(--c-linen);
}
.btn-light {
  background: var(--c-linen);
  color: var(--c-earth);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(58, 47, 44, 0.28);
  color: var(--c-earth);
}
.btn-outline:hover {
  border-color: var(--c-earth);
  background: rgba(58, 47, 44, 0.04);
}
.btn-arrow::after {
  content: '\2192';
  font-family: var(--ff-display);
  font-size: 1rem;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 234, 226, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--border-light);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.logo__img {
  display: block;
  height: 3.5rem;
  width: auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}
@media (min-width: 64rem) {
  .nav-menu { display: flex; }
}
.nav-menu a {
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  transition: color var(--duration) var(--ease);
}
.nav-menu a:hover { color: var(--c-steel); }

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-earth);
  padding: 0.625rem 0.25rem;
}
/* Menu toggle always visible */
.menu-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 1.375rem;
}
.menu-toggle__bars span {
  height: 1.5px;
  background: var(--c-earth);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: var(--sp-container);
  width: 14rem;
  background: var(--c-offwhite);
  border: var(--border-light);
  border-radius: 0.625rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 1.625rem 3.75rem -2rem rgba(58, 47, 44, 0.55);
}
.mobile-menu.is-open { display: block; }
.mobile-menu li {
  list-style: none;
}
.mobile-menu a {
  display: block;
  padding: 0.8125rem 0.375rem;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(58, 47, 44, 0.09);
  transition: color var(--duration), padding-left var(--duration);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover {
  color: var(--c-steel);
  padding-left: 0.75rem;
}

/* Book Now lives in the header bar on desktop; on mobile it moves into the
   dropdown instead (see the mobile breakpoint below). */
.mobile-menu__book { display: none; }

@media (max-width: 40rem) {
  .nav-wrap > .btn-accent { display: none; }

  .mobile-menu .mobile-menu__book {
    display: block;
    margin-top: 0.625rem;
    padding: 0.8125rem 1rem;
    text-align: center;
    background: var(--c-steel);
    color: var(--c-linen);
    border: none;
    border-radius: 999px;
    font-size: var(--fs-eyebrow);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: opacity var(--duration) var(--ease);
  }
  .mobile-menu .mobile-menu__book:hover {
    color: var(--c-linen);
    padding-left: 1rem; /* cancel the generic link hover shift */
    opacity: 0.92;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(80vh, 48rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 3.5rem;
  /* The banner image itself is applied inline (see hero.php). Its POSITION is
     controlled here so it can be tuned per page and per breakpoint. */
  background-position: right center;
}
/* Fixed (parallax) banner — desktop only; iOS Safari mishandles fixed + cover */
@media (min-width: 900px) {
  .hero {
    background-attachment: fixed;
  }
  .testimonials-section::before {
    background-attachment: fixed;
  }
}
.hero--short { min-height: min(65vh, 38rem); }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Even veil across the whole banner image, on all screen sizes. */
  background: rgba(239, 234, 226, 0.72);
}
/* Homepage hero: shorter than the default. The 80vh min-height drives most of
   the height, so it's trimmed alongside the padding for the reduction to show. */
.home .hero {
  min-height: 80vh;
  padding-block: 3.5rem;
  /* Drop the banner photo down so the subject's face stays in frame, but not all
     the way to the top edge — 20% keeps it lifted a bit on larger screens.
     (0%/top = photo pushed fully down; 50%/center = original centered crop.) */
  background-position: right 0%;
}

/* Homepage hero: fade the image out on the left so the headline sits on clean
   cream, and let the image show through on the right. */
.home .hero__overlay {
  background: linear-gradient(90deg,
    rgba(239, 234, 226, 1) 0%,
    rgba(239, 234, 226, 0.95) 30%,
    rgba(239, 234, 226, 0.72) 60%,
    rgba(239, 234, 226, 0.5) 85%,
    rgba(239, 234, 226, 0.4) 100%);
}
/* Desktop: let the right side go fully transparent so the image shows there,
   while mobile keeps the heavier veil above. */
@media (min-width: 40rem) {
  .home .hero__overlay {
    background: linear-gradient(90deg,
      rgba(239, 234, 226, 1) 0%,
      rgba(239, 234, 226, 0.92) 24%,
      rgba(239, 234, 226, 0.45) 48%,
      rgba(239, 234, 226, 0) 68%,
      rgba(239, 234, 226, 0) 100%);
  }
}
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
}
.hero__title {
  margin-top: 1.625rem;
  max-width: 850px;
}
.hero__subtitle {
  margin-top: 1.875rem;
  max-width: 650px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.375rem;
}

/* Tablets in portrait (iPad, etc.): the viewport is much taller relative to
   its width than desktop, so `cover` at the default 80vh zooms in hard and
   crops the model almost entirely out of frame, leaving just the fluted-glass
   panel on the image's right edge. Shrink the height and shift the crop left,
   same idea as the mobile fix below but tuned for the wider tablet canvas. */
@media (min-width: 40.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .home .hero {
    min-height: min(60vh, 34rem);
    background-position: 72% top;
  }
}

/* On mobile the hero tightens up and the two CTAs stack at equal full width. */
@media (max-width: 40rem) {
  .hero {
    min-height: auto;
    padding-block: 2.75rem;
  }
  .hero--short { min-height: auto; }
  /* Homepage banner on mobile: anchor its TOP so her face stays in frame.
     The horizontal value picks which slice shows (100% = far right edge of the
     image, lower = slides toward the left of the image). */
  .home .hero {
    background-position: 80% top;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: 2rem;
  }
  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--c-offwhite);
  border: var(--border-light);
  padding: 2.125rem;
}
.card__title {
  font-family: var(--ff-display);
  font-size: 1.875rem;
  color: var(--c-steel);
}
.cards__intro {
  max-width: 21rem;
}
.card__text {
  margin-top: 0.75rem;
  color: var(--c-text-muted);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
}
.cta .hero__noise { opacity: 0.12; mix-blend-mode: overlay; }

/* Testimonials: very subtle photo texture over the earth background */
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://foundryaes.wpenginepowered.com/wp-content/uploads/2026/07/AdobeStock_2006770397-scaled.webp') center / cover no-repeat;
  opacity: 0.09;
  pointer-events: none;
}
.testimonials-section .container {
  position: relative;
  z-index: 1;
}
.cta__content {
  position: relative;
  z-index: 1;
}
.cta__content--narrow {
  max-width: 45rem;
}
.cta__title {
  color: inherit;
}
.cta__text {
  max-width: 35rem;
  margin-top: 1.75rem;
  opacity: 0.78;
}
.cta .btn {
  margin-top: 2.375rem;
}
.text-center .cta__title,
.text-center .cta__text {
  margin-inline: auto;
}
.cta.text-center {
  padding-block: 4rem;
}

/* Inline CTA */
.cta__inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta__title-inline {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: inherit;
  margin: 0;
}
.cta--inline .btn { margin-top: 0; flex-shrink: 0; }
@media (max-width: 600px) {
  .cta__inline {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta--inline .btn { margin-top: 1.5rem; }
}

/* Info blocks in CTA */
.cta__info {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}
.cta__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5625rem;
}
.cta__info-label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.5;
}
.cta__info-value {
  font-family: var(--ff-display);
  font-size: 1.375rem;
  line-height: 1.4;
}
.cta__info-divider {
  height: 1px;
  background: rgba(239, 234, 226, 0.18);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial { display: none; }
.testimonial.is-active { display: block; animation: fadeIn 0.7s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.testimonial__quote {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.6vw, 2.875rem);
  line-height: 1.28;
  margin: 0;
}
.testimonial__cite {
  display: block;
  margin-top: 1.875rem;
  font-style: normal;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
}
.testimonials__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(239, 234, 226, 0.3);
  transition: width 0.4s ease, background 0.4s ease;
}
.testimonials__dot.is-active {
  width: 1.625rem;
  background: var(--c-linen);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}
.form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.375rem;
  width: 100%;
}
.form__group {
  /* grow equally so a two-field row fills the full width and wraps on mobile */
  flex: 1 1 0;
  min-width: 12.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5625rem;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
}
.form__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-light);
}
.form__input,
.form__select,
.form__textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--c-earth);
  background: var(--c-offwhite);
  border: 1px solid rgba(58, 47, 44, 0.18);
  border-radius: 0.5rem;
  padding: 0.9375rem 1rem;
  transition: border-color var(--duration) var(--ease);
}
.form__input::placeholder,
.form__textarea::placeholder {
  color: #A79E93;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--c-steel);
}
.form__textarea {
  resize: vertical;
  line-height: 1.6;
}
.form__disclaimer {
  font-size: var(--fs-small);
  color: var(--c-text-light);
  max-width: 32rem;
}

/* Contact Form 7 — make CF7's wrappers and messages match the theme form */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-not-valid-tip {
  font-size: var(--fs-small);
  color: #b32d2e;
  margin-top: 0.375rem;
}
.wpcf7 form .wpcf7-response-output {
  margin: 1.375rem 0 0;
  padding: 0.9375rem 1rem;
  border: 1px solid rgba(58, 47, 44, 0.18);
  border-radius: 0.5rem;
  font-size: var(--fs-small);
  color: var(--c-text);
  background: var(--c-offwhite);
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--c-steel);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #b32d2e;
}
.wpcf7-spinner {
  margin: 0 0 0 0.75rem;
}

/* ==========================================================================
   FAQ / Accordion
   ========================================================================== */
.faq-item {
  border-top: var(--border-light);
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.625rem 0.25rem;
  text-align: left;
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  color: var(--c-earth);
  line-height: 1.3;
}
.faq__icon {
  font-family: var(--ff-body);
  font-size: 1.625rem;
  font-weight: 300;
  color: var(--c-steel);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
}
.faq-item.is-open .faq__icon {
  transform: rotate(45deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.45s var(--ease);
  opacity: 0;
}
.faq-item.is-open .faq__answer {
  max-height: 25rem;
  opacity: 1;
}
.faq__answer p {
  padding-bottom: 1.625rem;
  max-width: 40rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: clamp(3.5rem, 7vw, 5.625rem) 0 2.5rem;
}
.site-footer .container {
  max-width: 82.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
}

.footer__brand {
  flex: 1 1 17.5rem;
}
.footer__tagline {
  font-family: var(--ff-display);
  font-size: 1.3125rem;
  line-height: 1.45;
  color: rgba(239, 234, 226, 0.85);
  margin-top: 1.625rem;
  max-width: 26ch;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
/* Stack the footer menu columns into one on mobile. */
@media (max-width: 40rem) {
  .footer__nav {
    flex-direction: column;
    gap: 2.25rem;
  }
}
.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.footer__nav-col li {
  list-style: none;
}
.footer__nav-title {
  font-size: 0.8125rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-ash);
}
.footer__nav-col a {
  font-size: 1rem;
  color: rgba(239, 234, 226, 0.78);
  letter-spacing: 0.04em;
  transition: color var(--duration);
}
.footer__nav-col a:hover { color: var(--c-linen); }

.footer__address {
  color: rgba(239, 234, 226, 0.78);
  line-height: 1.6;
  max-width: 24ch;
  transition: color var(--duration);
}
.footer__address:hover { color: var(--c-linen); }
.footer__phone {
  color: rgba(239, 234, 226, 0.78);
  transition: color var(--duration);
}
.footer__phone:hover { color: var(--c-linen); }

.site-footer .logo__img {
  height: 4.5rem;
}

.footer__bottom {
  width: 100%;
  margin-top: 2rem;
  padding-top: 1.375rem;
  border-top: 1px solid rgba(239, 234, 226, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}
.footer__copyright {
  letter-spacing: 0.08em;
  color: rgba(239, 234, 226, 0.6);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}
.footer__legal a {
  color: rgba(239, 234, 226, 0.72);
  letter-spacing: 0.04em;
  transition: color var(--duration);
}
.footer__legal a:hover { color: var(--c-linen); }
.footer__dot { color: rgba(239, 234, 226, 0.3); }
.footer__credit {
  letter-spacing: 0.08em;
  color: rgba(239, 234, 226, 0.6);
}
.footer__credit a {
  color: rgba(239, 234, 226, 0.78);
  transition: color var(--duration);
}
.footer__credit a:hover { color: var(--c-linen); }

.footer__disclaimer {
  width: 100%;
  margin-top: 1.625rem;
  padding-top: 1.375rem;
  border-top: 1px solid rgba(239, 234, 226, 0.14);
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(239, 234, 226, 0.5);
}
.footer__disclaimer a {
  color: rgba(239, 234, 226, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration);
}
.footer__disclaimer a:hover { color: var(--c-linen); }

/* ==========================================================================
   Utilities
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Z-index and positioning */
.z-content { position: relative; z-index: 1; }
.sticky-sidebar { position: sticky; top: 12rem; }
.sticky-sidebar-tall { position: sticky; top: 9.5rem; }
.scroll-offset { scroll-margin-top: 5rem; }
.scroll-offset-lg { scroll-margin-top: 8rem; }

/* Text colors for dark backgrounds */
.text-linen { color: var(--c-linen); }
.text-linen-muted { color: rgba(239, 234, 226, 0.8); }
.text-linen-subtle { color: rgba(239, 234, 226, 0.7); }

/* Eyebrow variants */
.eyebrow--center { justify-content: center; }

/* Prose/text containers */
.prose { max-width: 38rem; }

/* Text colors */
.text-earth { color: var(--c-earth); }

/* Image styles */
.img-cover {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.img-cover--tall { height: min(64vh, 35rem); }
.img-cover--medium {
  max-height: 30rem;
  object-position: center 20%;
}
.img-cover--short { max-height: 24rem; }
.img-cover--square {
  aspect-ratio: 1;
  object-position: right bottom;
}

/* Services page: square category images, anchored from the top */
.services-nav ~ .section .img-cover--medium,
.services-nav ~ .section .img-cover--square {
  aspect-ratio: 1;
  max-height: none;
  object-position: center top;
}

/* Pricing page: landscape category images */
.pricing-nav ~ .section .img-cover--medium,
.pricing-nav ~ .section .img-cover--square {
  aspect-ratio: 4 / 3;
  max-height: none;
  object-position: center top;
}

.img-rounded { border-radius: var(--radius); }
.img-rounded-full { border-radius: var(--radius); width: 100%; }
.img-card-thumb {
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Flexbox utilities */
.flex-shrink-0 { flex-shrink: 0; }

/* Border utilities */
.border-top { border-top: var(--border-light); padding-top: 2rem; }

/* Body text styles */
.body-lg {
  font-size: 1.1875rem;
  line-height: 1.8;
}

/* Display text styles */
.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.32;
}

/* Heading size overrides */
.h3-lg { font-size: clamp(1.75rem, 3.4vw, 2.625rem); }

/* Meta/label text */
.meta {
  font-size: 0.8125rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ==========================================================================
   Pricing Page
   ========================================================================== */
.pricing-nav {
  position: sticky;
  top: 4rem;
  z-index: 40;
  background: rgba(239, 234, 226, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: var(--border-light);
  border-bottom: var(--border-light);
}
.pricing-nav .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1.625rem;
  padding-block: 1rem;
}
.pricing-nav__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-text-light);
  margin-right: 0.375rem;
}
.pricing-nav a {
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--c-text);
  transition: color var(--duration) var(--ease);
}
.pricing-nav a:hover { color: var(--c-steel); }

.pricing-item {
  border-top: var(--border-light);
  padding: 1.25rem 0;
}
.pricing-item__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.375rem 1.5rem;
}
.pricing-item__name {
  font-family: var(--ff-display);
  font-size: clamp(1.1875rem, 2.1vw, 1.5rem);
  line-height: 1.25;
}
.pricing-item__price {
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-steel);
  white-space: nowrap;
  flex-shrink: 0;
}
.pricing-item__note {
  margin: 0.375rem 0 0;
  color: var(--c-text-muted);
  max-width: 32rem;
}

/* Subcategory group — heading row with its items indented beneath */
.pricing-subcat__items {
  margin-top: 1rem;
  padding-left: 1.375rem;
  border-left: 1px solid rgba(58, 47, 44, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.pricing-subitem__name {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.25;
}
.pricing-subitem__price {
  font-size: 0.9375rem;
}

.pricing-disclaimer {
  /* light beige band so the membership note stands out from the page */
  background: #EFEAE2;
  padding-block: var(--sp-container);
}
.pricing-disclaimer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2.5rem;
  align-items: center;
}
@media (max-width: 600px) {
  .pricing-disclaimer__inner {
    grid-template-columns: 1fr;
  }
}
.pricing-disclaimer__text {
  margin: 0;
  max-width: 40rem;
}
.pricing-disclaimer__link {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-steel);
  border-bottom: 1px solid var(--c-steel);
  padding-bottom: 3px;
  white-space: nowrap;
}

/* Services List Items */
.service-list-item {
  border-top: var(--border-light);
  padding: 1.375rem 0;
}
.service-list-item__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

/* ==========================================================================
   Legal / Privacy Pages
   ========================================================================== */
.legal-header {
  position: relative;
  border-bottom: var(--border-light);
  padding-block: var(--sp-section);
}
.legal-header h1 {
  font-size: clamp(2.375rem, 5.4vw, 4.5rem);
}
.legal-intro {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  max-width: 40rem;
  margin-top: 1.75rem;
}
.legal-intro + .legal-intro { margin-top: 1.25rem; }

.legal-section {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.legal-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  margin-bottom: 1.375rem;
}
.legal-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.125rem;
}
/* Sections are authored as one WYSIWYG block, so the headings carry the gap. */
.legal-content h2 {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.legal-content > h2:first-child {
  margin-top: 0;
}
.legal-content strong {
  font-weight: 500;
  color: var(--c-earth);
}
.legal-content a {
  color: var(--c-steel);
  border-bottom: 1px solid rgba(57, 72, 69, 0.4);
  transition: border-color var(--duration) var(--ease);
}
.legal-content a:hover { border-color: var(--c-steel); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  border-top: var(--border-light);
  border-bottom: var(--border-light);
  overflow: hidden;
  padding: 1.25rem 0;
}
.marquee__track {
  display: flex;
  /* Size to the actual content instead of a forced 200%, so the words never get
     compressed into each other on smaller screens. -50% still equals exactly
     one of the two identical copies, so the loop stays seamless. */
  width: max-content;
  animation: drift 42s linear infinite;
}
.marquee__content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.marquee__item {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  padding: 0 2.125rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee__item--muted { color: var(--c-text); }
.marquee__divider {
  color: var(--c-steel);
  flex-shrink: 0;
}

/* ==========================================================================
   Philosophy Section
   ========================================================================== */
.philosophy { padding-block: clamp(4rem, 10vw, 9.375rem); }
.philosophy__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3.375rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--c-earth);
  max-width: 16ch;
  text-wrap: balance;
}
.philosophy__text {
  max-width: 38rem;
  margin-left: auto;
}

/* ==========================================================================
   Treatments Menu
   ========================================================================== */
.treatments-menu { padding-block: clamp(4rem, 9vw, 8rem); }

.treatments-menu__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.treatments-menu__header h2 {
  max-width: 14ch;
}
.treatments-menu__intro {
  max-width: 21rem;
  color: var(--c-text-muted);
}

.treatments-menu__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: flex-start;
}
.treatments-menu__tabs {
  flex: 1 1 20rem;
}
.treatments-menu__tab {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1.375rem;
  background: none;
  border: 0;
  border-top: var(--border-light);
  padding: 1.375rem 0.25rem;
  cursor: default;
  opacity: 0.55;
  transition: opacity var(--duration) var(--ease);
  text-align: left;
}
.treatments-menu__tab:hover,
.treatments-menu__tab.is-active { opacity: 1; }
.treatments-menu__tab-num {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--c-text-light);
  padding-top: 0.625rem;
  flex-shrink: 0;
  transition: color var(--duration) var(--ease);
}
.treatments-menu__tab.is-active .treatments-menu__tab-num { color: var(--c-steel); }
.treatments-menu__tab-content {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.treatments-menu__tab-name {
  font-family: var(--ff-display);
  font-size: clamp(1.625rem, 3.2vw, 2.625rem);
  line-height: 1.02;
  color: var(--c-text-light);
  transition: color var(--duration) var(--ease);
}
.treatments-menu__tab.is-active .treatments-menu__tab-name { color: var(--c-steel); }
.treatments-menu__tab-tag {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-light);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--duration) var(--ease), opacity var(--duration) var(--ease), color var(--duration) var(--ease);
}
.treatments-menu__tab.is-active .treatments-menu__tab-tag {
  max-height: 1.25rem;
  opacity: 1;
  color: var(--c-steel);
}

.treatments-menu__panels {
  flex: 1.35 1 25rem;
  position: relative;
  min-height: 26rem;
}
.treatments-menu__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  opacity: 0;
  transform: translateY(1.125rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.treatments-menu__panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}
.treatments-menu__panel-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
}
.treatments-menu__panel-placeholder {
  background: var(--c-linen);
}
.treatments-menu__panel-text {
  color: var(--c-text);
  max-width: 32rem;
}

.treatments-menu__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2.25rem;
  border-top: var(--border-light);
}
.treatments-menu__footer span {
  flex: 1 1 auto;
  font-family: var(--ff-display);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
}
.treatments-menu__footer .btn { flex-shrink: 0; }
/* Two columns (text | button) on bigger screens, stacked on smaller. */
@media (max-width: 48rem) {
  .treatments-menu__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile: replace the interactive tab widget with a plain stacked list. */
.treatments-menu__cards { display: none; }
@media (max-width: 48rem) {
  .treatments-menu__grid { display: none; }
  .treatments-menu__cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .tm-card {
    background: var(--c-offwhite);
    border: var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .tm-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: top;
  }
  .tm-card__placeholder { background: var(--c-linen); }
  .tm-card__body { padding: 1.25rem 1.375rem 1.5rem; }
  .tm-card__head {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
  }
  .tm-card__num {
    font-size: var(--fs-eyebrow);
    letter-spacing: 0.14em;
    font-weight: 500;
    color: var(--c-text-light);
    flex-shrink: 0;
  }
  .tm-card__name {
    font-family: var(--ff-display);
    font-size: 1.75rem;
    line-height: 1.1;
  }
  .tm-card__tag {
    display: block;
    margin-top: 0.5rem;
    font-size: var(--fs-eyebrow);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-text-light);
  }
  .tm-card__text {
    margin-top: 0.875rem;
    color: var(--c-text);
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about__image-wrap {
  position: relative;
}
.about__image {
  width: 100%;
  height: min(70vh, 38.75rem);
  object-fit: cover;
  border-radius: var(--radius);
}
.about__placeholder {
  background: var(--c-offwhite);
  border: var(--border-light);
}
.about__badge {
  position: absolute;
  left: -0.75rem;
  bottom: 2.25rem;
  background: var(--c-earth);
  color: var(--c-linen);
  padding: 0.9375rem 1.375rem;
  border-radius: 0.25rem;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.about__badge-title {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  line-height: 1;
}
.about__badge-sub {
  display: block;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 0.375rem;
}

.about__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem 2.5rem;
}
.about__highlight {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.about__highlight-title {
  font-family: var(--ff-display);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--c-earth);
}
.about__highlight-sub {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-light);
}
@media (min-width: 64rem) {
  .about__highlights {
    flex-direction: column;
  }
}

/* ==========================================================================
   Services Page
   ========================================================================== */
.services-nav {
  position: sticky;
  top: 4rem;
  z-index: 40;
  background: rgba(239, 234, 226, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: var(--border-light);
  border-bottom: var(--border-light);
}
.services-nav .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1.625rem;
  padding-block: 1rem;
}
.services-nav__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-text-light);
  margin-right: 0.375rem;
}
.services-nav a {
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--c-text);
  transition: color var(--duration) var(--ease);
}
.services-nav a:hover { color: var(--c-steel); }

/* On mobile the Jump-to / Explore links become a 2-column grid of chips,
   with the label on its own row and the odd last chip spanning full width. */
@media (max-width: 40rem) {
  .pricing-nav .container,
  .services-nav .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
  }
  .pricing-nav__label,
  .services-nav__label {
    grid-column: 1 / -1;
    margin: 0 0 0.25rem;
  }
  .pricing-nav a,
  .services-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.875rem 1rem;
    background: var(--c-offwhite);
    border: 1px solid rgba(58, 47, 44, 0.12);
    border-radius: 0.625rem;
    font-size: 0.9375rem;
  }
  /* Odd number of links → the last chip spans both columns. The label is the
     first child, so a lone last link lands on an even child index. */
  .pricing-nav a:last-child:nth-child(even),
  .services-nav a:last-child:nth-child(even) {
    grid-column: 1 / -1;
  }
}

/* Service items */
.service-item {
  border-top: 1px solid rgba(58, 47, 44, 0.13);
  padding: 1.375rem 0;
}
.service-item__name {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--c-earth);
  margin: 0;
}

/* Category Section (Services & Pricing) */
.category-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.category-section--reverse {
  direction: rtl;
}
.category-section--reverse > * {
  direction: ltr;
}
.category-section__sidebar {
  position: sticky;
  top: 7rem;
}
.category-section__sidebar .eyebrow { margin-bottom: 0.5rem; }
.category-section__sidebar h2 { margin-bottom: 1.5rem; }
@media (max-width: 800px) {
  .category-section { grid-template-columns: 1fr; }
  .category-section--reverse { direction: ltr; }
  .category-section__sidebar {
    position: static;
  }
  .category-section__sidebar img { max-width: 24rem; }
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about-glow {
  position: absolute;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 216, 200, 0.5) 0%, rgba(200, 216, 200, 0) 68%);
  pointer-events: none;
}
.about-glow--large {
  width: min(130vw, 62.5rem);
  height: min(130vw, 62.5rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 216, 200, 0.5) 0%, rgba(200, 216, 200, 0.16) 38%, rgba(200, 216, 200, 0) 66%);
}
.about-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.about-circle--border {
  border: 1px solid rgba(58, 47, 44, 0.09);
  background: transparent;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 66rem;
  margin: 0 auto;
}
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--c-linen);
  border: 1px solid rgba(58, 47, 44, 0.12);
  border-radius: 0.5rem;
  padding: 0.875rem 0.875rem 1.375rem;
  box-shadow: 0 1.5rem 3rem -2.25rem rgba(58, 47, 44, 0.5);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.team-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: 0 2.125rem 3.75rem -2.125rem rgba(58, 47, 44, 0.55);
}
.team-card__image-wrap {
  padding: 0.375rem;
  border: 1px solid rgba(58, 47, 44, 0.16);
  border-radius: 0.3125rem;
  background: var(--c-offwhite);
}
.team-card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* Anchor to the top so faces aren't cropped out. */
  object-position: top;
  border-radius: 0.1875rem;
}
/* Same top-anchoring for the two lead team portraits (Taylor, Dr. Farnad). */
#team .img-cover--tall {
  object-position: center 30%;
  height: min(78vh, 44rem);
}
.instagram-link {
  color: var(--c-steel);
  transition: color var(--duration) var(--ease);
}
/* The @handle shown under the two lead team portraits */
.team-instagram {
  display: inline-block;
  margin-top: 0.875rem;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.instagram-link:hover {
  color: var(--c-earth);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.team-card__placeholder {
  background: var(--c-linen);
}
.team-card__info {
  margin-top: 1.125rem;
  padding: 0 0.25rem;
}
.team-card__name {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.12;
  color: var(--c-earth);
  margin: 0;
}
.team-card__title {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-light);
  margin: 0.5625rem 0 0;
}
.team-card__handle {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--c-steel);
  margin: 0.4375rem 0 0;
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 20rem;
  }
}

/* About page decorative positions */
.about-glow--top-right {
  top: -11.25rem;
  right: -10rem;
  left: auto;
  transform: none;
}
.about-glow--bottom-left {
  bottom: -9.375rem;
  left: -2.5rem;
  top: auto;
  width: 18.75rem;
  height: 18.75rem;
  transform: none;
}
.about-circle--top-right {
  top: -10rem;
  right: -7.5rem;
  width: 27.5rem;
  height: 27.5rem;
}
.about-circle--top-left {
  top: 5.625rem;
  left: -9.375rem;
  width: 21.25rem;
  height: 21.25rem;
  border-color: rgba(57, 72, 69, 0.08);
}
.about-circle--bottom-left {
  bottom: -12.5rem;
  left: -7.5rem;
  width: 28.75rem;
  height: 28.75rem;
}

/* About services list */
.about-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 0 clamp(2rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(239, 234, 226, 0.16);
}
.about-services__item {
  display: flex;
  align-items: baseline;
  gap: 1.125rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(239, 234, 226, 0.16);
}
.about-services__num {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--c-ash);
  flex-shrink: 0;
}
.about-services__name {
  font-family: var(--ff-display);
  font-size: clamp(1.1875rem, 2.2vw, 1.5rem);
  line-height: 1.2;
  color: var(--c-linen);
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-body {
  position: relative;
  overflow: hidden;
}
.contact-body__glow {
  position: absolute;
  top: -11.25rem;
  right: -10rem;
  width: 32.5rem;
  height: 32.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 216, 200, 0.4) 0%, rgba(200, 216, 200, 0) 68%);
  pointer-events: none;
}
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  /* Center the two columns against each other — the shorter column sits
     vertically centered next to the taller one, and neither stretches (which
     is also what keeps dead space from opening up under the form fields). */
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  position: relative;
  z-index: 1;
}
.contact-form-wrap {
  flex: 1.3 1 27.5rem;
  background: var(--c-offwhite);
  border: 1px solid rgba(58, 47, 44, 0.14);
  border-radius: 0.875rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: 0 1.875rem 3.75rem -2.875rem rgba(58, 47, 44, 0.55);
}
.contact-details {
  flex: 1 1 20rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.contact-details__label {
  display: block;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-text-light);
}
.contact-details__value {
  margin-top: 0.875rem;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--c-earth);
  font-weight: 300;
}
.contact-details__value a {
  color: var(--c-earth);
  transition: color var(--duration);
}
.contact-details__value a:hover { color: var(--c-steel); }
.contact-details__note {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  font-weight: 300;
}
.contact-details__phone {
  margin-top: 1rem;
}
.contact-details__phone a {
  font-size: 1.1875rem;
  font-weight: 300;
  color: var(--c-earth);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.contact-details__phone a:hover { color: var(--c-steel); }
.contact-details__divider {
  height: 1px;
  background: rgba(58, 47, 44, 0.12);
}
.contact-details__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
}
.contact-hours {
  margin-top: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.contact-hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(58, 47, 44, 0.1);
  padding-bottom: 0.625rem;
}
.contact-hours__days {
  color: var(--c-text);
}
.contact-hours__time {
  color: var(--c-text-muted);
  font-weight: 300;
}
.contact-details__map {
  margin-top: 0.25rem;
}
.contact-details__map img {
  width: 100%;
  height: min(38vh, 18.75rem);
  object-fit: cover;
  border-radius: 0.375rem;
}

/* ==========================================================================
   Memberships Page
   ========================================================================== */
.membership-perks .container {
  text-align: center;
}
.membership-perks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
  gap: clamp(1.25rem, 3vw, 2.75rem);
}
.membership-perks__stat {
  font-family: var(--ff-display);
  font-size: clamp(1.875rem, 3.4vw, 2.625rem);
  line-height: 1;
  color: var(--c-linen);
}
.membership-perks__label {
  color: rgba(239, 234, 226, 0.82);
  font-weight: 300;
  margin-top: 0.875rem;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: clamp(1.25rem, 2.4vw, 2rem);
  align-items: stretch;
}
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 0.625rem;
  background: var(--c-offwhite);
  border: 1px solid rgba(58, 47, 44, 0.16);
  box-shadow: 0 1.25rem 2.75rem -2.25rem rgba(58, 47, 44, 0.4);
}
.tier-card--featured {
  background: var(--c-earth);
  color: var(--c-linen);
  border-color: var(--c-earth);
  box-shadow: 0 2.125rem 4.375rem -2.5rem rgba(58, 47, 44, 0.7);
}
.tier-card__badge {
  position: absolute;
  top: 1.375rem;
  right: 1.375rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-linen);
  background: var(--c-steel);
  padding: 0.4375rem 0.875rem;
  border-radius: var(--radius-full);
}
.tier-card__name {
  font-size: clamp(1.875rem, 3.4vw, 2.625rem);
  line-height: 1;
}
.tier-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin-top: 0.875rem;
  flex-wrap: wrap;
}
.tier-card__price {
  font-family: var(--ff-body);
  font-size: clamp(1.875rem, 3.4vw, 2.5rem);
  font-weight: 500;
  color: var(--c-steel);
}
.tier-card--featured .tier-card__price {
  color: var(--c-linen);
}
.tier-card__per {
  font-size: 0.9375rem;
  color: var(--c-text-light);
}
.tier-card--featured .tier-card__per {
  color: rgba(239, 234, 226, 0.7);
}
.tier-card__choose {
  display: inline-block;
  margin-top: 1rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-steel);
}
.tier-card--featured .tier-card__choose {
  color: var(--c-ash);
}
.tier-card__rule {
  height: 1px;
  background: rgba(58, 47, 44, 0.14);
  margin: 1.375rem 0;
}
.tier-card--featured .tier-card__rule {
  background: rgba(239, 234, 226, 0.2);
}
.tier-card__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.tier-card__items li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.tier-card--featured .tier-card__items li {
  color: rgba(239, 234, 226, 0.9);
}
.tier-card__tick {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  background: rgba(57, 72, 69, 0.12);
  color: var(--c-steel);
}
.tier-card--featured .tier-card__tick {
  background: rgba(200, 216, 200, 0.22);
  color: var(--c-ash);
}
.tier-card__cta {
  justify-content: center;
}
.tier-disclaimer {
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  text-align: center;
  font-size: 0.9375rem;
  font-style: italic;
}

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(239, 234, 226, 0.4);
  color: var(--c-linen);
}
.btn-outline-light:hover {
  border-color: var(--c-linen);
}
.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  margin-top: 2.125rem;
}
.cta__buttons .btn {
  margin-top: 0;
}
@media (max-width: 600px) {
  .cta__buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Membership Pop-up
   ========================================================================== */
/* display:flex would otherwise override the browser's [hidden] rule and leave
   the invisible overlay blocking the whole page */
.popup-overlay[hidden] {
  display: none;
}
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-container);
  background: rgba(42, 33, 30, 0.5);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.popup-overlay.is-open {
  opacity: 1;
}
.popup {
  position: relative;
  width: 100%;
  max-width: 28rem;
  background: var(--c-offwhite);
  border-radius: 0.75rem;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 2.5rem 5rem -2rem rgba(42, 33, 30, 0.55);
  transform: translateY(1rem);
  transition: transform var(--duration) var(--ease);
}
.popup-overlay.is-open .popup {
  transform: translateY(0);
}
.popup__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(58, 47, 44, 0.25);
  border-radius: 50%;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--c-earth);
  cursor: pointer;
  transition: border-color var(--duration) var(--ease);
}
.popup__close:hover {
  border-color: var(--c-earth);
}
.popup__title {
  font-size: clamp(1.875rem, 4vw, 2.375rem);
  line-height: 1.1;
}
.popup__text {
  color: var(--c-text-muted);
}
.popup__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.popup__later {
  background: none;
  border: 0;
  padding: 0.25rem;
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-light);
  cursor: pointer;
  transition: color var(--duration) var(--ease);
}
.popup__later:hover {
  color: var(--c-earth);
}
