/* =====================================================================
   TEDDY — main stylesheet
   Design source: Figma "Teddy Web" (Page 2: Home + For Salon, 1920w)
   Type mapping: Optima LT Pro → Marcellus · Neue Haas Grotesk → Inter ·
                 Optima Italic numerals → Playfair Display Italic
   ===================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  --brown: #2d1302;
  --brown-90: rgba(45, 19, 2, .9);
  --brown-10: rgba(45, 19, 2, .1);
  --cream: #f3ede4;
  --sand: #decfb0;
  --white: #fff;
  --ink: #000;
  --ink-soft: rgba(0, 0, 0, .7);
  --line: rgba(0, 0, 0, .2);
  --line-light: rgba(255, 255, 255, .4);
  --error: #a3261b;
  --success: #2f6b3a;

  --font-display: "Marcellus", "Optima", "Candara", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-numeral: "Playfair Display", Georgia, serif;

  --container: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-gap: clamp(64px, 7vw, 100px);
  --frame-inset: 15px;

  --radius-xl: 30px;
  --radius-lg: 25px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --fs-h1: clamp(2.5rem, 1.2rem + 4.3vw, 5.25rem);      /* 84px @1920 */
  --fs-h2: clamp(1.875rem, 1.2rem + 1.7vw, 2.8125rem);  /* 45px */
  --fs-h3: clamp(1.375rem, 1.1rem + .6vw, 1.75rem);     /* 28px */
  --fs-stat: clamp(2.75rem, 1.6rem + 2.6vw, 4.375rem);  /* 70px */
  --fs-body: clamp(1rem, .95rem + .2vw, 1.125rem);      /* 18px */

  --shadow-header: 0 4px 115px rgba(0, 0, 0, .1);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5556;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, address { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
address { font-style: normal; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
main { display: block; outline: none; }

:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible, .band :focus-visible, .site-footer :focus-visible, .cta :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--white); color: var(--brown); padding: 12px 20px; border-radius: var(--radius-pill);
  font-weight: 600; text-decoration: none; box-shadow: var(--shadow-header);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { margin-top: var(--section-gap); }
.icon { flex: none; }

/* ---------- Typography ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .875rem; line-height: 20px; font-weight: 500;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 10px;
}
.on-dark .eyebrow { color: var(--white); }
.h1 {
  font-family: var(--font-body); font-weight: 400;
  font-size: var(--fs-h1); line-height: 1.0476; letter-spacing: -0.01em;
}
.h1--display { font-family: var(--font-display); letter-spacing: 0; }
.h1 em, .italic-accent {
  display: block; font-family: var(--font-numeral); font-style: italic; font-weight: 500;
  letter-spacing: -0.03em; margin-top: 9px;
}
.h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--fs-h2); line-height: 1.1778; letter-spacing: 0;
}
.h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; }
.lead { font-size: var(--fs-body); line-height: 1.5556; }
.section-head { max-width: 450px; margin-bottom: 50px; }
.section-head--wide { max-width: 860px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 15px 30px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--light { background: var(--white); color: var(--brown); }
.btn--light:hover { background: var(--sand); }
.btn--dark { background: var(--brown); color: var(--white); }
.btn--dark:hover { background: #4a2610; box-shadow: 0 8px 24px rgba(45, 19, 2, .25); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn[disabled], .btn.is-loading { opacity: .7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }

/* App store buttons (CTA) */
.store-btns { display: flex; flex-wrap: wrap; gap: 20px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 186px; height: 62px; padding: 0 30px;
  background: var(--white); color: #070707; border-radius: 36px; text-decoration: none;
  box-shadow: inset 0 3px 5px rgba(255, 255, 255, .2);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.store-btn:hover { transform: translateY(-2px); background: #fbf8f3; }
.store-btn .icon { width: 24px; height: 29px; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.1; letter-spacing: 0; }
.store-btn__small { font-size: .625rem; }
.store-btn__big { font-size: 1rem; font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; z-index: 50; left: 0; right: 0; top: 60px;
  padding-inline: var(--gutter);
}
.site-header__bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--container); margin-inline: auto; min-height: 82px;
  padding: 15px 24px 15px 40px;
  background: var(--white); border-radius: 70px; box-shadow: var(--shadow-header);
}
.site-header__logo { display: block; flex: none; border-radius: 8px; }
.site-header__logo .logo { width: 123px; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.site-nav__list { display: flex; align-items: center; gap: 40px; margin-inline: auto; }
.site-nav__link {
  position: relative; display: inline-block; padding: 6px 0;
  font-size: 1.125rem; line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--brown);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__link.is-active { color: var(--brown); font-weight: 500; }
.site-nav__actions { display: flex; align-items: center; gap: 20px; flex: none; }
.header-call { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); padding-right: 14px; border-radius: 30px; }
.header-call__icon .icon { width: 52px; height: 52px; }
.header-call__text { display: flex; flex-direction: column; gap: 4px; line-height: 1; white-space: nowrap; }
.header-call__label { font-size: 1rem; }
.header-call__number { font-size: 1.125rem; font-weight: 700; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: var(--frame-inset) var(--frame-inset) 0;
  min-height: 921px;
  border-radius: var(--radius-xl);
  background: var(--brown);
  color: var(--white);
  display: flex; align-items: flex-end;
  padding: 200px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../images/hero-bg.webp") center / cover no-repeat;
  opacity: .1;
}
.hero__content { max-width: 881px; }
.hero__lead { max-width: 530px; margin-top: 30px; }
.hero .btn-row { margin-top: 30px; }
.hero--compact { min-height: 721px; padding-bottom: 88px; }
.hero--compact .hero__content { max-width: 816px; }
.hero--compact .hero__lead { max-width: 816px; }
.hero--page { min-height: 520px; padding-bottom: 72px; }
.hero--page .h1 { font-family: var(--font-display); }

/* ---------- Stats ---------- */
.stats { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__value { font-family: var(--font-numeral); font-style: italic; font-weight: 500; font-size: var(--fs-stat); line-height: 1.2; letter-spacing: 0; }
.stat__label { font-size: var(--fs-body); line-height: 1.2; }
.stats__divider { width: 1px; height: 85px; background: var(--line); flex: none; }

/* ---------- Discovery (split image / text) ---------- */
.split { display: grid; grid-template-columns: 586fr 724fr; gap: 50px; align-items: center; }
.split--mirror { grid-template-columns: 680fr 628fr; gap: 52px; }
.split--media-first { grid-template-columns: 628fr 680fr; gap: 52px; }
.media-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.discovery__media { aspect-ratio: 586 / 602; }
.badge-card {
  position: absolute; right: 39px; bottom: 39px; width: 240px;
  padding: 24px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .9); color: var(--ink);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.badge-card p { font-size: 1rem; line-height: 20px; }
.badge-card .badge-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 32px; margin-bottom: 8px; }
.discovery__text p { margin-top: 30px; }
.discovery__text .h2 { max-width: 436px; }
#journal-title { max-width: 356px; }
.icon-list { display: grid; gap: 24px; margin-top: 30px; }
.icon-list li { display: flex; align-items: center; gap: 16px; line-height: 1.2; }
.icon-list__bubble { width: 40px; height: 40px; border-radius: 50%; background: var(--brown-10); display: grid; place-items: center; flex: none; }
.icon-list__bubble .icon { width: 18px; height: 20px; }

/* ---------- Feature cards ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: var(--white); border-radius: var(--radius-xl); padding: 25px;
  display: flex; flex-direction: column; gap: 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); background: var(--brown); color: var(--white); box-shadow: 0 18px 40px rgba(45, 19, 2, .18); }
.feature-card .icon { transition: filter .3s var(--ease); }
.feature-card:hover .icon { filter: invert(1); }
.feature-card .icon { width: 48px; height: 48px; }
.feature-card h3 { margin-bottom: 9px; }
.feature-card p { line-height: 1.5556; }

/* ---------- Check list (mood / journal) ---------- */
.check-list { display: grid; gap: 10px; margin-top: 30px; }
.check-list li {
  display: flex; align-items: center; gap: 15px;
  min-height: 61px; padding: 16px 25px;
  background: var(--white); border-radius: var(--radius-md);
  font-weight: 500; line-height: 1.2;
}
.check-list .icon { width: 29px; height: 29px; }
.phone-card { border-radius: 24px; overflow: hidden; aspect-ratio: 628 / 436; background: var(--brown); }
.phone-card img { width: 100%; height: 100%; object-fit: cover; }
.split__text .h2 { max-width: 420px; }
.split__text .h2--narrow { max-width: 293px; }

/* ---------- Dark band (services / dashboard) ---------- */
.band {
  margin: var(--section-gap) var(--frame-inset) 0;
  border-radius: var(--radius-xl);
  background: var(--brown); color: var(--white);
  padding: 70px 0;
}
.band .section-head { margin-bottom: 50px; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.service-card {
  display: flex; flex-direction: column; gap: 20px;
  padding: 20px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .14);
  transition: background-color .25s var(--ease);
}
.service-card:hover { background: var(--white); color: var(--ink); }
.service-card .icon { transition: filter .25s var(--ease); }
.service-card:hover .icon { filter: invert(1); }
.service-card .icon { width: 38px; height: 38px; }
.service-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }

/* ---------- Salon cards ---------- */
.salon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.salon-card__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 325 / 264; background: #e4d9c8; }
.salon-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.salon-card:hover .salon-card__img img { transform: scale(1.04); }
.salon-card h3 { margin-top: 15px; font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.salon-card p { margin-top: 2px; line-height: 1.2; }

/* ---------- CTA card ---------- */
.cta-wrap { margin-top: calc(var(--section-gap) + 93px); }
.cta {
  position: relative; isolation: isolate;
  border-radius: var(--radius-xl);
  color: var(--white);
  min-height: 426px;
  padding: 80px;
  display: grid; grid-template-columns: 470px 1fr; align-items: start;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: url("../images/cta-bg.webp") center / cover no-repeat;
}
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--brown-90); }
.cta__text p { margin-top: 21px; }
.cta .store-btns { margin-top: 21px; }
.cta__media {
  position: absolute; right: 112px; bottom: 0; width: 628px; max-width: 46%;
  pointer-events: none;
}
.cta__media img { width: 100%; height: auto; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: var(--section-gap);
  background: var(--brown); color: var(--white);
  border-radius: 30px 30px 0 0;
  padding-top: 71px;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../images/footer-floral.webp") center / 100% 100% no-repeat; opacity: .1;
}
.site-footer__top { display: grid; grid-template-columns: 400px repeat(3, 1fr); gap: 48px; }
.site-footer__logo { display: inline-block; }
.site-footer__logo .icon { width: 145px; height: auto; }
.site-footer__brand p { margin-top: 25px; line-height: 1.5556; }
.social-list { display: flex; gap: 12px; margin-top: 25px; }
.social-list a { display: block; border-radius: 50%; transition: background-color .2s; }
.social-list a:hover { background: rgba(255, 255, 255, .1); }
.social-list .icon { width: 44px; height: 44px; }
.site-footer__heading { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 28px; letter-spacing: -0.01em; margin-bottom: 30px; }
.site-footer__col ul { display: grid; gap: 15px; list-style: none; padding: 0; }
.site-footer__col a, .site-footer__contact a { text-decoration: none; line-height: 1.5556; opacity: 1; transition: opacity .2s; }
.site-footer__col a:hover, .site-footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__contact {
  display: flex; flex-wrap: wrap; gap: 8px 32px;
  margin-top: 40px; padding-top: 28px; padding-bottom: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 1rem; color: rgba(255, 255, 255, .85);
}
.site-footer__bottom { position: relative; }
.site-footer__wordmark { height: clamp(90px, 13.4vw, 243px); overflow: hidden; }
.site-footer__wordmark .icon { width: 100%; height: auto; }
.site-footer__copy {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 64.6%;
  display: grid; place-items: center; min-height: 54px; padding: 8px 16px;
  background: var(--brown); text-align: center; font-size: var(--fs-body); line-height: 1.4;
}

/* ---------- Generic content cards / pages ---------- */
.surface { background: var(--white); border-radius: var(--radius-xl); }

/* Numbered benefits (For Salon) */
.why { display: grid; grid-template-columns: 624fr 702fr; gap: 34px; align-items: start; }
.why__intro { position: sticky; top: 40px; }
.why__intro .media-card { margin-top: 60px; aspect-ratio: 624 / 508; }
.why__intro .h2 { max-width: 436px; }
.num-list { display: grid; gap: 20px; counter-reset: num; }
.num-card { background: var(--white); border-radius: var(--radius-xl); padding: 25px; }
.num-card__n { font-family: var(--font-numeral); font-style: italic; font-weight: 500; font-size: var(--fs-stat); line-height: 1.2; color: rgba(0, 0, 0, .45); margin-bottom: 15px; display: block; }
.num-card h3 { margin-bottom: 9px; }

/* Steps (For Salon) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step__icon { width: 85px; height: 85px; border-radius: 18px; background: var(--brown); display: grid; place-items: center; }
.step__icon .icon { width: 45px; height: 45px; }
.step h3 { margin-top: 31px; }
.step p { margin-top: 12px; min-height: 56px; }
.step__tag {
  position: relative; display: inline-flex; align-items: center; height: 48px; padding: 0 22px; margin-top: 31px;
  border-radius: 30px; border: 1px solid var(--line); background: var(--sand);
  font-weight: 600; line-height: 1;
}
.step:not(:last-child) .step__tag::after {
  content: ""; position: absolute; left: calc(100% + 18px); top: 50%;
  width: calc((100vw - 2 * var(--gutter)) / 4 - 150px); max-width: 200px;
  border-top: 1px dashed rgba(17, 15, 15, .3);
}

/* Dashboard showcase */
.showcase { margin: var(--section-gap) var(--frame-inset) 0; position: relative; }
.showcase__band { background: var(--brown); color: var(--white); border-radius: var(--radius-xl); padding: 71px 0 0; height: 896px; }
.showcase__frame {
  position: relative; margin: -690px auto 0; max-width: 1380px; width: calc(100% - 2 * var(--gutter) + 40px);
  background: var(--white); border-radius: var(--radius-xl); padding: 20px;
}
.showcase__frame img { width: 100%; height: auto; border-radius: 12px; }

/* FAQ accordion */
.faq { max-width: 849px; margin-inline: auto; }
.faq__list { display: grid; gap: 15px; }
.faq__item { background: var(--white); border-radius: var(--radius-md); }
.faq__q { margin: 0; }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 68px; padding: 20px 25px; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 1.25rem; line-height: 1.4; font-weight: 500; border-radius: var(--radius-md);
}
.faq__btn .icon { width: 28px; height: 29px; transition: transform .3s var(--ease); }
.faq__btn[aria-expanded="true"] .icon { transform: rotate(90deg); }
.faq__a { padding: 0 25px 22px; color: var(--ink-soft); }
.faq__a[hidden] { display: none; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 15px; margin-top: 40px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius-md); padding: 20px 25px; }
.contact-info__item .icon-list__bubble { margin-top: 2px; }
.contact-info__label { display: block; font-size: .875rem; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 500; color: var(--brown); margin-bottom: 4px; }
.contact-info__item a { text-decoration: none; }
.contact-info__item a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form-card { background: var(--white); border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 1rem; line-height: 1.3; }
.field .req { color: var(--brown); }
.field .opt { color: var(--ink-soft); font-weight: 400; font-size: .875rem; }
.field input, .field textarea {
  width: 100%; border: 1px solid rgba(45, 19, 2, .22); background: #fbf9f6; border-radius: 14px;
  padding: 14px 16px; font-size: 1rem; line-height: 1.5; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brown); background: var(--white); box-shadow: 0 0 0 3px rgba(45, 19, 2, .15); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); background: #fff7f6; }
.field__error { color: var(--error); font-size: .875rem; line-height: 1.4; }
.field__hint { color: var(--ink-soft); font-size: .875rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.form-note { font-size: .875rem; color: var(--ink-soft); }
.form-note a { color: var(--brown); }
.topic-chip { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--brown-10); color: var(--brown); font-size: .875rem; font-weight: 500; }
.alert { border-radius: 14px; padding: 16px 20px; margin-bottom: 24px; font-size: 1rem; line-height: 1.5; }
.alert--error { background: #fbeceb; color: #6e1a12; border: 1px solid #efc6c1; }
.alert--error ul { margin: 8px 0 0; padding-left: 20px; }
.alert a { color: inherit; font-weight: 600; }

/* ---------- Legal / prose pages ---------- */
.prose-card { background: var(--white); border-radius: var(--radius-xl); padding: clamp(24px, 5vw, 72px); max-width: 980px; margin-inline: auto; }
.prose { font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1.2; margin-top: 2em; }
.prose h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.125rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--brown); text-underline-offset: 3px; }
.prose .meta { font-weight: 600; color: var(--brown); }
.prose address { line-height: 1.7; }

/* ---------- Thank you / 404 ---------- */
.message-card { max-width: 760px; margin-inline: auto; text-align: center; background: var(--white); border-radius: var(--radius-xl); padding: clamp(32px, 6vw, 72px); }
.message-card__icon { width: 72px; height: 72px; margin: 0 auto 24px; }
.message-card__icon .icon { width: 72px; height: 72px; }
.message-card p { margin-top: 16px; }
.message-card .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Wellness Hub ---------- */
.wh-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.wh-hero__media { position: relative; }
.wh-hero__media .media-card { aspect-ratio: 1 / 1; border-radius: 64px; }
.wh-hero__media .badge-card { right: auto; left: -37px; bottom: 10px; width: 320px; display: flex; gap: 16px; align-items: center; border-radius: 24px; box-shadow: 0 20px 40px rgba(45, 19, 2, .08); }
.wh-hero .pill { display: inline-block; padding: 4px 16px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .14); font-size: .875rem; font-weight: 500; letter-spacing: .05em; margin-bottom: 24px; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.mini-card { background: var(--white); border-radius: var(--radius-xl); padding: 32px; text-align: center; }
.mini-card:nth-child(2) { margin-top: 48px; }
.mini-card .icon { width: 36px; height: 36px; margin: 0 auto 16px; }
.mini-card .h3 { margin-bottom: 8px; }
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.challenge { position: relative; background: var(--white); border-radius: 40px; padding: 40px; border: 1px solid rgba(45, 19, 2, .08); }
.challenge--featured { padding: 46px 40px; box-shadow: 0 20px 25px rgba(45, 19, 2, .08), 0 8px 10px rgba(45, 19, 2, .06); }
.challenge__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brown); color: var(--white); padding: 4px 16px; border-radius: var(--radius-pill); font-size: .75rem; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.challenge__icon { width: 64px; height: 64px; border-radius: 16px; background: var(--sand); display: grid; place-items: center; margin-bottom: 24px; }
.challenge__icon .icon { width: 32px; height: 32px; }
.challenge h3 { margin-bottom: 12px; }
.challenge__foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.challenge__foot a { font-weight: 600; color: var(--brown); text-decoration: none; }
.challenge__foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.bento__tall { grid-row: span 2; position: relative; border-radius: 40px; overflow: hidden; min-height: 520px; color: var(--white); display: flex; align-items: flex-end; padding: 32px; }
.bento__tall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.bento__tall { isolation: isolate; }
.bento__tall::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(45, 19, 2, .75), rgba(45, 19, 2, 0) 60%); }
.bento__tall p { color: rgba(255, 255, 255, .85); margin-top: 8px; }
.bento__card { border-radius: 40px; padding: 32px; background: var(--white); }
.bento__card--sand { background: var(--sand); }
.bento__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bento__card .icon { width: 32px; height: 32px; margin-bottom: 16px; }
.bento__card h3 { margin-bottom: 8px; }
.science { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.science__list { display: grid; gap: 40px; margin-top: 32px; }
.science__item { display: grid; grid-template-columns: 48px 1fr; gap: 24px; }
.science__num { width: 48px; height: 48px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 1rem; }
.science__item h3 { margin-bottom: 8px; }
.science__aside { background: var(--white); border-radius: 48px; padding: 48px; border: 2px dashed rgba(45, 19, 2, .2); text-align: center; }
.science__aside .icon { width: 48px; height: 48px; margin: 0 auto 16px; }
.science__aside h3 { margin-bottom: 12px; }

/* Wellness Hub additions */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.wh-hero .h1 { font-size: clamp(2.5rem, 1.4rem + 3vw, 4.5rem); }
.badge-card__label { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.wh-hero__media .badge-card p:not(.badge-card__label) { font-size: .875rem; line-height: 1.4; }
.wh-hero__media .icon-list__bubble { background: var(--sand); }
.mini-card p { color: var(--ink-soft); }
.band .bento__card { color: var(--ink); }
.bento__card--glass { background: rgba(255, 255, 255, .14); color: var(--white) !important; }
.bento__card--center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 240px; }
.bento__card--center .icon { margin: 0 0 12px; }
.bento__big { font-family: var(--font-numeral); font-style: italic; font-weight: 500; font-size: 3rem; line-height: 1.1; }
.bento__small { font-size: .9375rem; line-height: 1.45; }
.bento__label { font-weight: 600; font-size: 1rem; margin-bottom: 6px; letter-spacing: .02em; }
.bento__card--sand { display: flex; flex-direction: column; justify-content: center; min-height: 240px; }
.progress-head { display: flex; align-items: center; gap: 20px; }
.progress-title { font-weight: 600; font-size: 1rem; line-height: 1.4; }
.swatches { display: flex; flex: none; }
.swatches span { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--white); margin-left: -14px; }
.swatches span:first-child { margin-left: 0; background: #eae0e0; }
.swatches span:nth-child(2) { background: #cfc5b9; }
.swatches span:nth-child(3) { background: #b59f86; }
.progress { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.progress__track { flex: 1; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .55); overflow: hidden; }
.progress__bar { display: block; width: 85%; height: 100%; border-radius: inherit; background: var(--brown); }
.progress__label { font-size: .875rem; font-weight: 500; white-space: nowrap; }
.disclaimer { margin-top: 48px; font-size: .875rem; line-height: 1.5; color: var(--ink-soft); max-width: 860px; }
.science__aside p { color: var(--ink-soft); }
.page-wellness-hub .hero--compact { min-height: 900px; }
.prose a.btn { color: var(--white); text-decoration: none; }
.hero .eyebrow { color: rgba(255, 255, 255, .85); }

/* Home hero: "Make Appointment" + email signup (from live site) */
.page-home .hero > .container { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: end; }
.appt-card { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-md); padding: 24px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.appt-card__top { display: flex; align-items: center; gap: 14px; }
.appt-card__icon { display: block; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.appt-card__icon .icon { width: 52px; height: 52px; }
.appt-card__title { font-family: var(--font-body); font-size: 1rem; font-weight: 400; line-height: 1.2; }
.appt-card__phone { display: inline-block; margin-top: 4px; font-size: 1.125rem; font-weight: 700; text-decoration: none; color: var(--white); }
.appt-card__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.appt-card__form { display: flex; gap: 10px; margin-top: 20px; }
.appt-card__form input[type="email"] { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 1rem; }
.appt-card__form input[type="email"]:focus { outline: 2px solid var(--white); outline-offset: 2px; }
.appt-card__form .btn { flex: none; }
.appt-card__error { margin-top: 12px; font-size: .9375rem; background: #fbeceb; color: #6e1a12; padding: 10px 14px; border-radius: 12px; }
@media (max-width: 1024px) {
  .page-home .hero > .container { grid-template-columns: 1fr; gap: 32px; }
  .appt-card { max-width: 520px; }
}
@media (max-width: 420px) {
  .appt-card__form { flex-direction: column; }
  .appt-card__form input[type="email"] { flex: none; width: 100%; }
}
/* Footer columns (live site: Explore / Support / Contact Info) */
.site-footer__col address ul { display: grid; gap: 15px; list-style: none; padding: 0; margin: 0; }
.site-footer__col address a { text-decoration: none; line-height: 1.5556; }
.site-footer__col address a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__top { padding-bottom: 40px; border-bottom: 1px solid var(--line-light); margin-bottom: 0; }
