/* Olympia Aesthetics & Wellness — Med Spa in Clearwater microsite
   Hand-authored, no framework, no CDN dependencies.
   Brand palette (official 2026): cream #f0e5db, taupe #b6a28e, ink #171810, paper #fcfbfb */

:root {
  --paper: #fcfbfb;
  --cream: #f0e5db;
  --cream-deep: #e6d8c9;
  --taupe: #b6a28e;
  --taupe-deep: #9c876f;
  --ink: #171810;
  --ink-soft: #3a3a30;
  --line: #ddd0c1;
  --maxw: 1140px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

.serif { font-family: var(--serif); }

/* ---- Type scale ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.75rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}
.lead { font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition: background .45s cubic-bezier(.16,1,.3,1), color .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1);
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }

/* ---- Header ---- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,251,251,.88);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.brandmark { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; line-height: 1; }
.brandmark small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--taupe-deep); margin-top: 3px; font-weight: 600; }
.head-actions { display: flex; align-items: center; gap: 1.25rem; }
.head-phone { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.head-phone:hover { color: var(--taupe-deep); }
@media (max-width: 640px) { .head-phone { display: none; } }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero-copy .eyebrow { margin-bottom: 1.25rem; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-copy h1 em { font-style: italic; color: var(--taupe-deep); }
.hero-copy .lead { max-width: 34ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--taupe-deep); max-width: 38ch; padding-left: 1.4rem; position: relative; }
.hero-note::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--taupe-deep); }
.hero-fig { position: relative; background: var(--cream-deep); border-radius: 2px; }
.hero-fig img { width: 100%; height: clamp(360px, 46vw, 560px); object-fit: cover; object-position: center; border-radius: 2px; }
/* Square flat-lay hero: show the full composition, blend into the cream surround */
.hero-fig.is-contain { background: #ece2d4; }
.hero-fig.is-contain img { object-fit: contain; }
.hero-tag {
  position: absolute; left: -1px; bottom: 1.5rem;
  background: var(--paper); color: var(--ink);
  padding: 0.75rem 1.15rem; font-size: 0.8rem; letter-spacing: 0.04em;
}
.hero-tag b { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-fig { order: -1; }
  .hero-fig img { height: clamp(280px, 60vw, 420px); }
}

/* ---- Section rhythm ---- */
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head .eyebrow { display: block; margin-bottom: 0.9rem; }
.section-head .lead { margin-top: 1.1rem; }

/* ---- What is a med spa: editorial two-col ---- */
.explain { background: var(--paper); }
.explain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.explain-grid p + p { margin-top: 1.1rem; }
.explain-aside {
  background: var(--cream);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.explain-aside .provider-photo {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; object-position: top center;
  margin-bottom: 1.4rem; border: 2px solid var(--paper);
  box-shadow: 0 6px 22px rgba(23,24,16,.12);
}
.explain-aside .num { font-family: var(--serif); font-size: clamp(3rem,6vw,4.25rem); line-height: 1; color: var(--taupe-deep); }
.explain-aside .num-label { font-weight: 600; letter-spacing: 0.02em; margin-top: 0.5rem; }
.explain-aside hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }
@media (max-width: 760px) { .explain-grid { grid-template-columns: 1fr; } }

/* ---- Services index (typographic, not card grid) ---- */
.services { background: var(--cream); }
.svc-group { margin-bottom: 2.75rem; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group > h3 { margin-bottom: 0.4rem; }
.svc-group > .svc-note { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1.25rem; max-width: 60ch; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 1rem;
  padding: 1.05rem 0.25rem; text-decoration: none;
  transition: padding-left .4s cubic-bezier(.16,1,.3,1), color .3s ease;
}
.svc-list a:hover { padding-left: 1rem; color: var(--taupe-deep); }
.svc-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.svc-name span { font-family: var(--sans); font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.02em; display: block; margin-top: 2px; }
.svc-price { font-size: 0.95rem; font-weight: 500; white-space: nowrap; color: var(--ink); }
.svc-price small { color: var(--ink-soft); font-weight: 400; }
.svc-foot { margin-top: 2.5rem; font-size: 0.95rem; color: var(--ink-soft); max-width: 70ch; }

/* ---- Why Olympia ---- */
.why { background: var(--ink); color: var(--cream); }
.why .eyebrow { color: var(--taupe); }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why h2 { color: var(--paper); margin-bottom: 1.25rem; }
.why p { color: var(--cream); opacity: 0.85; }
.why-points { list-style: none; margin-top: 2rem; }
.why-points li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(214,200,180,.22); }
.why-points li:last-child { border-bottom: 1px solid rgba(214,200,180,.22); }
.why-points .k { font-family: var(--serif); font-size: 1.5rem; color: var(--taupe); line-height: 1; }
.why-points .v b { display: block; font-weight: 600; color: var(--paper); margin-bottom: 0.2rem; }
.why-points .v span { color: var(--cream); opacity: 0.8; font-size: 0.97rem; }
.why-fig img { width: 100%; height: clamp(340px, 42vw, 520px); object-fit: cover; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } .why-fig { order: -1; } }

/* ---- Pricing snapshot ---- */
.pricing { background: var(--paper); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-bottom: 1px solid var(--line); }
.price-table tr:first-child { border-top: 1px solid var(--line); }
.price-table td { padding: 1rem 0.25rem; vertical-align: baseline; }
.price-table .p-name { font-family: var(--serif); font-size: 1.25rem; }
.price-table .p-val { text-align: right; font-weight: 500; white-space: nowrap; }
.price-note { margin-top: 1.5rem; font-size: 0.92rem; color: var(--ink-soft); max-width: 64ch; }

/* ---- FAQ ---- */
.faq { background: var(--cream); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 1.25rem;
  font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--taupe-deep);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 2.5rem 1.6rem 0; color: var(--ink-soft); max-width: 70ch; }
.faq-item .faq-body p + p { margin-top: 0.8rem; }

/* ---- CTA band ---- */
.cta { background: var(--taupe); color: var(--ink); text-align: center; }
.cta .wrap { max-width: 720px; }
.cta h2 { margin-bottom: 1rem; }
.cta p { color: var(--ink); opacity: 0.82; margin-bottom: 2rem; font-size: 1.1rem; }

/* ---- Footer ---- */
.site-foot { background: var(--ink); color: var(--cream); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-foot .brandmark { color: var(--paper); }
.site-foot .brandmark small { color: var(--taupe); }
.foot-about { margin-top: 1.1rem; color: var(--cream); opacity: 0.78; max-width: 38ch; font-size: 0.97rem; }
.foot-col h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 1rem; font-weight: 600; }
.foot-col a, .foot-col p { color: var(--cream); opacity: 0.82; text-decoration: none; font-size: 0.97rem; display: block; margin-bottom: 0.55rem; }
.foot-col a:hover { opacity: 1; color: var(--paper); }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(214,200,180,.2); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.85rem; color: var(--cream); opacity: 0.7; }
.foot-bottom a { color: inherit; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
