/* The Body Lab — component layer.
   Sits on top of tailwind.css. Component classes you'll see across pages. */

:root {
  --navy-900: #0F1B2E;
  --navy-700: #1F324F;
  --navy-100: #E8ECF2;
  --gold-500: #B8945D;
  --gold-700: #967545;
  --gold-100: #F5EDDC;
  --cream:    #FBFAF6;
  --white:    #FFFFFF;
  --stone-700: #525866;
  --stone-400: #9CA3AF;
  --stone-200: #E5E7EB;
  --stone-100: #F3F4F6;
}

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-500);
}
.hairline-gold {
  width: 64px; height: 1px;
  background: var(--gold-500);
  border: 0; margin: 12px 0 20px;
}
.italic-em { font-style: italic; font-weight: inherit; }

/* ---------- Trademark/copyright tagline lockup ---------- */
.tm-lockup {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.tm-lockup .tm-small { font-style: italic; font-weight: 400; }
.tm-lockup .tm-dots {
  font-family: 'Inter', sans-serif; font-weight: 400;
  color: var(--gold-500);
  letter-spacing: 0.08em; margin: 0 0.05em;
}
.tm-lockup .tm-big {
  font-family: 'Inter', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.tm-lockup sup {
  font-family: 'Inter', sans-serif; font-size: 0.35em; font-weight: 600;
  color: var(--gold-500); vertical-align: super; margin-left: 4px;
  letter-spacing: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 200ms ease-out, background-color 200ms ease-out, color 200ms ease-out;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--gold-700); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-secondary:hover { background: var(--navy-100); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}
.btn-ghost:hover { border-bottom-color: var(--gold-500); color: var(--gold-500); }

/* Dark-surface CTA (gold on navy footer / dark sections) */
.btn-on-dark {
  background: var(--gold-500); color: var(--navy-900);
}
.btn-on-dark:hover { background: var(--gold-700); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
}
.site-nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.site-nav-inner > nav[aria-label="Primary"] {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav-brand {
  display: flex; align-items: center;
  text-decoration: none; color: var(--navy-900);
}
.site-nav-brand img { height: 72px; width: auto; display: block; }
@media (max-width: 600px) { .site-nav-brand img { height: 56px; } }
.site-nav-links {
  display: none;
  gap: 28px; align-items: center;
}
.site-nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--navy-900);
  text-decoration: none;
}
.site-nav-links a:hover { color: var(--gold-500); }
.site-nav-cta {
  display: none;
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 10px 22px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: background-color 200ms ease-out, transform 200ms ease-out;
}
.site-nav-cta:hover { background: var(--gold-700); transform: translateY(-1px); }

.nav-hamburger {
  display: block;
  background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: transform 200ms ease-out, opacity 200ms ease-out;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed; top: 73px; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  padding: 48px 32px;
  transform: translateX(100%);
  transition: transform 250ms ease-out;
  z-index: 40;
  display: flex; flex-direction: column; gap: 24px;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 8px;
}
.nav-drawer a {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px; font-weight: 400;
  color: var(--navy-900);
  text-decoration: none; line-height: 1.2;
}
.nav-drawer a:hover { color: var(--gold-500); }
.nav-drawer-divider {
  border: 0; border-top: 1px solid var(--stone-200);
  margin: 16px 0;
}
.nav-drawer-meta {
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--stone-700);
  line-height: 1.6; margin-top: 16px;
}
.nav-drawer-meta a {
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--stone-700);
  display: inline;
}

@media (min-width: 900px) {
  .site-nav-links, .site-nav-cta { display: flex; }
  .nav-hamburger { display: none; }
  .nav-drawer { display: none; }
}

/* ---------- Sections / page rhythm ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy .eyebrow { color: var(--gold-500); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }

@media (min-width: 768px) { .section { padding: 120px 0; } }

/* ---------- Cards ---------- */
.tile {
  background: var(--cream);
  border-top: 1px solid var(--gold-500);
  padding: 32px 28px;
  transition: background-color 200ms ease-out;
  display: flex; flex-direction: column;
}
.tile:hover { background: var(--white); }
.tile-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 10px;
}
.tile h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px; font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px; line-height: 1.25;
}
.tile p {
  font-family: 'Inter', sans-serif;
  font-size: 15px; color: var(--stone-700);
  line-height: 1.6; margin-bottom: 20px; flex-grow: 1;
}
.tile a.tile-cta {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--navy-900);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 2px;
  align-self: flex-start;
}
.tile a.tile-cta:hover { color: var(--gold-500); }

/* Treatment card with photo */
.tile-photo { padding: 0; overflow: hidden; }
.tile-photo .tile-img {
  aspect-ratio: 4 / 3;
  background: var(--navy-100);
  overflow: hidden;
}
.tile-photo .tile-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 400ms ease-out;
}
.tile-photo:hover .tile-img img { transform: scale(1.03); }
.tile-photo .tile-body { padding: 28px; }

/* ---------- Forms ---------- */
.form-row { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--stone-200);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; color: var(--navy-900);
  border-radius: 4px;
  transition: border-color 200ms ease-out;
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: 0;
  border-color: var(--gold-500);
  border-width: 2px;
  padding: 11px 15px;
}
.form-helper {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: var(--stone-400);
  margin-top: 6px;
}
/* Honeypot — hide off-screen but accessibly visible to bots */
.hp-website {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--white);
  padding: 64px 24px 32px;
}
@media (max-width: 700px) {
  .site-footer { padding: 48px 24px 20px; }
}
.site-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 800px) {
  .site-footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.site-footer img.footer-logo {
  height: 96px; width: auto;
  margin-bottom: 16px; display: block;
}
.footer-tagline-md {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px; line-height: 1.3;
  color: var(--white); margin: 12px 0;
}
.footer-tagline-md .tm-dots { color: var(--gold-500); font-family: 'Inter', sans-serif; }
.footer-tagline-md .tm-big {
  font-family: 'Inter', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.footer-tagline-md sup {
  font-family: 'Inter', sans-serif; font-size: 0.5em; font-weight: 600;
  color: var(--gold-500); vertical-align: super; margin-left: 3px;
}
.footer-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: rgba(255,255,255,0.7);
  max-width: 32ch; line-height: 1.6;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--gold-500); }

.footer-bottom {
  max-width: 1200px; margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
@media (max-width: 700px) {
  .footer-bottom { margin-top: 32px; padding-top: 18px; gap: 12px; }
}
@media (min-width: 700px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-500); }
.footer-fine {
  font-size: 11px; color: rgba(255,255,255,0.45);
  line-height: 1.5; max-width: 70ch;
}

/* Notalu credit block */
.footer-built-by {
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-built-by .built-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.footer-built-by a {
  display: inline-flex; align-items: center;
  text-decoration: none; opacity: 0.7;
  transition: opacity 200ms ease-out;
}
.footer-built-by a:hover { opacity: 1; }
.footer-built-by img { height: 14px; width: auto; }

/* ---------- Booking widget container ---------- */
.book-widget-host {
  min-height: 600px;
  background: var(--cream);
  padding: 32px 24px;
  border-top: 1px solid var(--gold-500);
}
.book-widget-host .loading-placeholder {
  text-align: center; padding: 48px 24px;
  color: var(--stone-400);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

/* ---------- Page hero (used on all sub-pages) ---------- */
.page-hero {
  background: var(--cream);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--stone-200);
}
.page-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px; font-weight: 400;
  line-height: 1.1; color: var(--navy-900);
  margin-bottom: 16px; letter-spacing: -0.01em;
}
.page-hero h1 em { font-style: italic; }
.page-hero .lede {
  font-family: 'Inter', sans-serif;
  font-size: 19px; color: var(--stone-700);
  max-width: 64ch; line-height: 1.6;
}
@media (min-width: 700px) {
  .page-hero h1 { font-size: 64px; }
}

/* ---------- Hairlines / dividers ---------- */
hr.hairline {
  border: 0;
  border-top: 1px solid var(--stone-200);
  margin: 32px 0;
}
