/* Elite Spa Utah — hand-rolled stylesheet
   Replaces Squarespace 7.1 template chrome.
   Tokens follow PRODUCT.md (bright, welcoming, modern). */

/* ============ TOKENS ============ */
:root {
  --brand-orange: #a04d2c;
  --brand-orange-soft: rgba(160, 77, 44, 0.12);
  --brand-orange-deep: #7d3d23;
  --brand-cream: #faf7f3;
  --brand-cream-soft: #f5f0e8;
  --brand-cream-deep: #ebe2d2;
  --ink: #2a2622;
  --ink-muted: #5b544c;
  --ink-dim: #7a7268;
  --ink-faint: #a8a09a;
  --line: rgba(42, 38, 34, 0.10);
  --line-strong: rgba(42, 38, 34, 0.20);

  --type-display: 'Marcellus', Georgia, serif;
  --type-body: 'PT Serif', Georgia, serif;
  --type-ui: 'DM Sans', system-ui, -apple-system, sans-serif;

  --type-1: clamp(2.5rem, 1.5rem + 4vw, 4.75rem);
  --type-2: clamp(2rem, 1.2rem + 2.5vw, 3rem);
  --type-3: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  --type-4: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  --type-5: 1rem;
  --type-6: 0.875rem;
  --type-7: 0.75rem;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 9rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --maxw-narrow: 720px;
  --maxw-content: 1080px;
  --maxw-wide: 1280px;
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--type-body);
  font-size: var(--type-5);
  line-height: 1.65;
  color: var(--ink);
  background: var(--brand-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a {
  color: var(--brand-orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--brand-orange-deep); }
:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============ TYPE ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--type-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  color: var(--ink);
  letter-spacing: -0.005em;
}
h1 { font-size: var(--type-1); line-height: 1.05; }
h2 { font-size: var(--type-2); }
h3 { font-size: var(--type-3); }
h4 {
  font-size: var(--type-4);
  font-family: var(--type-ui);
  font-weight: 500;
  letter-spacing: 0;
}
p { margin: 0 0 var(--space-2); max-width: 65ch; }
.lead { font-size: var(--type-4); line-height: 1.5; color: var(--ink-muted); max-width: 50ch; }
.eyebrow {
  font-family: var(--type-ui);
  font-size: var(--type-7);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin: 0 0 var(--space-2);
}

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding-inline: clamp(var(--space-3), 4vw, var(--space-5));
}
.container--narrow { max-width: var(--maxw-narrow); }
.container--content { max-width: var(--maxw-content); }
.section { padding-block: var(--space-6); }
.section--cream { background: var(--brand-cream-soft); }
.section--cream-deep { background: var(--brand-cream-deep); }
.section--ink { background: var(--ink); color: var(--brand-cream); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 {
  color: var(--brand-cream);
}
.section--ink p { color: rgba(250, 247, 243, 0.85); }
.section--ink .eyebrow { color: var(--brand-cream); opacity: 0.65; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--ink);
  color: var(--brand-cream);
  z-index: 100;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: var(--space-2); color: var(--brand-cream); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 243, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
  min-height: 64px;
}
.site-header__brand {
  font-family: var(--type-display);
  font-size: var(--type-3);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.site-header__brand:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: var(--space-2); }
.site-nav__list {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav__link {
  font-family: var(--type-ui);
  font-size: var(--type-6);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 var(--space-1);
}
.site-nav__link:hover { color: var(--brand-orange); }

.site-nav__menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--ink);
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .site-nav__list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-cream);
    border-bottom: 1px solid var(--line);
    padding: var(--space-2) var(--space-3) var(--space-3);
    box-shadow: 0 8px 24px rgba(42, 38, 34, 0.08);
  }
  .site-nav__list--open { display: flex; }
  .site-nav__link {
    padding: var(--space-2);
    border-bottom: 1px solid var(--line);
    justify-content: flex-start;
  }
  .site-nav__list .btn { margin-top: var(--space-2); }
  .site-nav__menu-toggle { display: inline-flex; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--type-ui);
  font-size: var(--type-6);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out;
  min-height: 48px;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand-orange);
  color: #fff;
}
.btn--primary:hover { background: var(--brand-orange-deep); color: #fff; }
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--secondary:hover { background: var(--ink); color: var(--brand-cream); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--on-dark {
  color: var(--brand-cream);
  border-color: rgba(250, 247, 243, 0.4);
}
.btn--on-dark:hover {
  color: var(--ink);
  background: var(--brand-cream);
  border-color: var(--brand-cream);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  background: var(--ink);
  color: var(--brand-cream);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 80%;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,18,16,0.8) 0%, rgba(20,18,16,0.55) 30%, rgba(20,18,16,0.05) 65%, transparent 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: var(--space-6);
  width: 100%;
}
.hero__heading {
  color: var(--brand-cream);
  margin-bottom: var(--space-2);
  max-width: 18ch;
}
.hero__lead {
  color: rgba(250, 247, 243, 0.92);
  font-size: var(--type-4);
  line-height: 1.5;
  max-width: 36ch;
  margin: 0 0 var(--space-4);
}
.hero__eyebrow { color: rgba(250, 247, 243, 0.85); }
.hero__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
  text-align: center;
  padding-block: var(--space-4);
  border-block: 1px solid var(--line);
}
.trust-bar__item-label {
  font-family: var(--type-display);
  font-size: var(--type-3);
  color: var(--ink);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.trust-bar__item-text {
  font-family: var(--type-ui);
  font-size: var(--type-7);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ============ SERVICE CARDS ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.service-card {
  background: #fff;
  padding: var(--space-3) var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  position: relative;
}
.service-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-orange);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(42, 38, 34, 0.06);
}
.service-card__title {
  font-family: var(--type-display);
  font-size: var(--type-3);
  margin: 0 0 var(--space-1);
}
.service-card__price {
  font-family: var(--type-ui);
  font-size: var(--type-6);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand-orange);
  margin: 0;
}
.service-card__desc {
  color: var(--ink-muted);
  font-size: var(--type-6);
  line-height: 1.55;
  margin: var(--space-1) 0 0;
}
.service-card__cta {
  font-family: var(--type-ui);
  font-size: var(--type-7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-top: var(--space-2);
  display: inline-block;
}

/* ============ REVIEWS ============ */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}
.review {
  background: #fff;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.review__stars { color: var(--brand-orange); margin: 0 0 var(--space-1); font-size: 1.1em; letter-spacing: 0.08em; }
.review__quote {
  font-family: var(--type-display);
  font-size: var(--type-4);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 var(--space-2);
}
.review__author {
  font-family: var(--type-ui);
  font-size: var(--type-7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0;
}

/* ============ CTA BAND ============ */
.cta-band {
  text-align: center;
  padding-block: var(--space-6);
}
.cta-band__heading {
  font-size: var(--type-2);
  margin-bottom: var(--space-2);
}
.cta-band__text {
  font-size: var(--type-4);
  color: var(--ink-muted);
  max-width: 50ch;
  margin: 0 auto var(--space-4);
}

/* ============ PRICE TABLE ============ */
.price-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row__name { font-family: var(--type-display); font-size: var(--type-4); margin: 0; }
.price-row__time { color: var(--ink-dim); font-size: var(--type-6); font-family: var(--type-ui); letter-spacing: 0.04em; }
.price-row__amount { font-family: var(--type-ui); font-size: var(--type-4); color: var(--brand-orange); font-weight: 500; }

/* ============ FAQ ============ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq__item {
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-3) var(--space-2);
}
.faq__item summary {
  font-family: var(--type-display);
  font-size: var(--type-4);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2);
  color: var(--ink);
  padding-block: var(--space-1);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 1.5em;
  color: var(--brand-orange);
  transition: transform 0.2s;
  flex: 0 0 auto;
  line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer {
  margin-top: var(--space-2);
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 65ch;
}

/* ============ FORMS ============ */
.form { display: grid; gap: var(--space-2); max-width: 540px; }
.form__field { display: grid; gap: 0.4rem; }
.form__label {
  font-family: var(--type-ui);
  font-size: var(--type-7);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.form__input, .form__textarea {
  font-family: var(--type-body);
  font-size: var(--type-5);
  padding: 0.7em 1em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-height: 48px;
}
.form__textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px var(--brand-orange-soft);
}

/* ============ INFO LIST ============ */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.info-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2);
  align-items: baseline;
}
.info-list__label {
  font-family: var(--type-ui);
  font-size: var(--type-7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: var(--brand-cream);
  padding-block: var(--space-5) var(--space-3);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
@media (min-width: 700px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.site-footer__brand {
  font-family: var(--type-display);
  font-size: var(--type-3);
  margin: 0 0 var(--space-2);
  color: var(--brand-cream);
}
.site-footer__heading {
  font-family: var(--type-ui);
  font-size: var(--type-7);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-cream);
  opacity: 0.6;
  margin: 0 0 var(--space-2);
}
.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.site-footer p { color: rgba(250, 247, 243, 0.85); margin: 0; line-height: 1.6; }
.site-footer a {
  color: rgba(250, 247, 243, 0.85);
  text-decoration: none;
}
.site-footer a:hover { color: var(--brand-orange); }
.site-footer__legal {
  border-top: 1px solid rgba(250, 247, 243, 0.12);
  padding-top: var(--space-3);
  font-size: var(--type-7);
  opacity: 0.65;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ============ UTILITIES ============ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.flow > * + * { margin-top: var(--space-3); }
.stack > * + * { margin-top: var(--space-2); }
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}
.cluster--center { justify-content: center; }

/* Page header (interior pages) */
.page-header {
  background: var(--brand-cream-soft);
  padding-block: var(--space-6) var(--space-5);
  text-align: center;
}
.page-header h1 { margin-bottom: var(--space-2); }
.page-header .lead { margin: 0 auto; }

/* Two-column layout */
.cols-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 800px) {
  .cols-2 { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
