/* Ana Skin Lounge - tokens sampled from the studio's own gold-on-cream badge.
   See _brief.md for the sample points and the contrast ratios. */

:root {
  --surface: #F2F0EB;
  --raised: #FBFAF7;
  --deep: #241F14;
  --ink: #2E2A1F;
  --body: #4A4436;
  --muted: #6B6350;
  --gold: #8F6F27;        /* button fill, and large type only */
  --gold-lit: #E3C16A;    /* type on --deep, and the ring motif */
  --gold-line: #B08D3F;   /* hairlines only, never text */

  --display: "Marcellus", "Hoefler Text", "Palatino Linotype", Palatino, Georgia, serif;
  --ui: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* fluid spacing, deliberately not one uniform step */
  --gap-xs: .5rem;
  --gap-s: .875rem;
  --gap-m: 1.5rem;
  --gap-l: clamp(2.5rem, 5vw, 4rem);
  --gap-xl: clamp(4rem, 9vw, 7.5rem);

  --shell: 68rem;
  --rule: 1px solid color-mix(in srgb, var(--gold-line) 34%, transparent);
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--ui);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; max-width: 68ch; }

a { color: inherit; }

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

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--ui);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--gap-s);
}

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: var(--surface);
  padding: .75rem 1.1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: var(--rule);
}
.masthead__in {
  display: flex;
  align-items: center;
  gap: var(--gap-m);
  min-height: 4.25rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  margin-right: auto;
  padding-block: .4rem;   /* keeps the hit area at 44px without moving the mark */
}
.wordmark__ring {
  width: 2rem;
  height: 2rem;
  flex: none;
  border: 1.5px solid var(--gold-line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: .95rem;
  color: var(--gold);
  line-height: 1;
}
.wordmark__name {
  font-family: var(--display);
  font-size: 1.06rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
}
.wordmark__sub {
  display: block;
  font-family: var(--ui);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--muted);
  margin-top: .18rem;
}

.nav {
  display: none;
  gap: 1.6rem;
  font-size: .9rem;
}
.nav a {
  text-decoration: none;
  color: var(--body);
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;   /* the nav also shows on a landscape tablet, so keep it tappable */
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--gold-line); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.9rem;
  padding: .7rem 1.35rem;
  border-radius: 999px;
  font-family: var(--ui);
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--solid { background: var(--gold); color: #fff; }
.btn--solid:hover { background: #7d6021; transform: translateY(-1px); }
.btn--ghost { border-color: var(--gold-line); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: color-mix(in srgb, var(--gold-lit) 20%, transparent); }
.btn--light { background: var(--gold-lit); color: var(--deep); }
.btn--light:hover { background: #eed08a; transform: translateY(-1px); }
.btn--compact { min-height: 2.75rem; padding: .55rem 1.05rem; font-size: .87rem; }

/* ---------- hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 var(--gap-l);
  position: relative;
  overflow: hidden;
}
/* the arc echoes the ring in the studio's badge */
.hero::before {
  content: "";
  position: absolute;
  top: -34vw;
  right: -22vw;
  width: 64vw;
  height: 64vw;
  max-width: 40rem;
  max-height: 40rem;
  border: 1px solid color-mix(in srgb, var(--gold-line) 26%, transparent);
  border-radius: 999px;
  pointer-events: none;
}
.hero__in { position: relative; max-width: 42rem; }
.hero h1 {
  font-size: clamp(2.35rem, 1.5rem + 4.1vw, 4.15rem);
  letter-spacing: -.015em;
  margin-bottom: var(--gap-m);
}
.hero h1 em {
  font-style: normal;
  display: block;
  color: var(--gold);
  font-size: .58em;
  letter-spacing: .01em;
  margin-top: .55rem;
}
.hero__lead {
  font-size: clamp(1.06rem, 1rem + .34vw, 1.24rem);
  color: var(--body);
  max-width: 34rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: var(--gap-l);
}

.proof {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: var(--gap-m);
  font-size: .92rem;
  color: var(--muted);
}
.proof__score {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
}
.proof__stars { color: var(--gold); letter-spacing: .08em; font-size: .9rem; }

/* today's hours strip */
.today {
  margin-top: var(--gap-l);
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .1rem .6rem;
  padding: .8rem 1.15rem;
  background: var(--raised);
  border: var(--rule);
  border-radius: 14px;
  font-size: .92rem;
}
.today__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.today__value { color: var(--ink); font-weight: 600; }

/* ---------- generic section ---------- */
.section { padding: var(--gap-xl) 0; }
.section--tight { padding: var(--gap-l) 0; }
.section__head { max-width: 40rem; margin-bottom: var(--gap-l); }
.section__head h2 { font-size: clamp(1.8rem, 1.3rem + 2.1vw, 2.7rem); margin-bottom: var(--gap-s); }
.section__head p { color: var(--muted); }

/* ---------- treatment cards ---------- */
.cards {
  display: grid;
  gap: var(--gap-m);
  grid-template-columns: 1fr;
}
.card {
  background: var(--raised);
  border: var(--rule);
  border-radius: 14px;
  padding: 1.6rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.card p { font-size: .96rem; color: var(--muted); margin-bottom: 1.1rem; }
.card__from {
  margin-top: auto;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--gold);
  padding-top: 1rem;
  border-top: var(--rule);
}
.card__from span {
  font-family: var(--ui);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: .25rem;
}

/* ---------- prices: the signature block ---------- */
.prices { display: grid; gap: var(--gap-l); }
.pricegroup { break-inside: avoid; }
.pricegroup > h3 {
  font-size: 1.28rem;
  padding-bottom: .7rem;
  margin-bottom: .25rem;
  border-bottom: 1.5px solid var(--gold-line);
}
.pricegroup__note {
  font-size: .84rem;
  color: var(--muted);
  margin: .7rem 0 0;
}
.pricelist { list-style: none; margin: 0; padding: 0; }
.pricelist li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .62rem .35rem;
  border-bottom: var(--rule);
  border-radius: 4px;
  font-size: .96rem;
}
.pricelist li:last-child { border-bottom: 0; }
.pricelist .t { color: var(--body); }
.pricelist .dots {
  flex: 1;
  border-bottom: 1px dotted color-mix(in srgb, var(--gold-line) 45%, transparent);
  transform: translateY(-.25rem);
  min-width: 1rem;
}
.pricelist .p {
  font-family: var(--display);
  font-size: 1.06rem;
  color: var(--ink);
  white-space: nowrap;
}

.pricenote {
  margin-top: var(--gap-l);
  padding: 1.15rem 1.35rem;
  background: var(--raised);
  border-left: 3px solid var(--gold-line);
  border-radius: 0 10px 10px 0;
  font-size: .93rem;
  color: var(--muted);
}

/* ---------- about ---------- */
.about { display: grid; gap: var(--gap-l); align-items: start; }
.about__figure { margin: 0; max-width: 22rem; }
.about__figure img {
  border-radius: 14px 14px 60px 14px;
  width: 100%;
  height: auto;
}
.about__figure figcaption {
  margin-top: .75rem;
  font-size: .84rem;
  color: var(--muted);
}
.about__body h2 { font-size: clamp(1.8rem, 1.3rem + 2.1vw, 2.7rem); margin-bottom: var(--gap-m); }
.about__body p + p { margin-top: 1rem; }
.about__list {
  list-style: none;
  margin: var(--gap-m) 0 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.about__list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: .96rem;
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .55rem;
  height: .55rem;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
}

/* ---------- expectations ---------- */
.steps {
  display: grid;
  gap: var(--gap-m);
  counter-reset: step;
}
.step {
  padding: 1.35rem 1.4rem;
  background: var(--raised);
  border: var(--rule);
  border-radius: 12px;
  counter-increment: step;
}
.step h3 {
  font-size: 1.12rem;
  margin-bottom: .45rem;
  display: flex;
  align-items: baseline;
  gap: .6rem;
}
.step h3::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--ui);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
}
.step p { font-size: .94rem; color: var(--muted); }

.figure-wide { margin: var(--gap-l) 0 0; }
.figure-wide img { width: 100%; height: auto; border-radius: 14px; }
.figure-wide figcaption { margin-top: .7rem; font-size: .84rem; color: var(--muted); }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: var(--gap-m); }
.review {
  background: var(--raised);
  border: var(--rule);
  border-radius: 14px;
  padding: 1.5rem 1.45rem 1.3rem;
  display: flex;
  flex-direction: column;
}
.review blockquote {
  margin: 0 0 1.1rem;
  font-size: .97rem;
  color: var(--body);
}
.review__by {
  margin-top: auto;
  padding-top: .9rem;
  border-top: var(--rule);
  font-size: .85rem;
  color: var(--muted);
}
.review__by strong { color: var(--ink); font-weight: 600; }
.review__stars { color: var(--gold); letter-spacing: .1em; font-size: .85rem; margin-bottom: .7rem; }

/* ---------- visit (dark) ---------- */
.visit {
  background: var(--deep);
  color: color-mix(in srgb, var(--surface) 88%, transparent);
  padding: var(--gap-xl) 0;
}
.visit h2 { color: var(--surface); font-size: clamp(1.8rem, 1.3rem + 2.1vw, 2.7rem); margin-bottom: var(--gap-l); }
.visit__grid { display: grid; gap: var(--gap-l); }
.visit h3 {
  color: var(--gold-lit);
  font-family: var(--ui);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.visit a { color: var(--surface); text-decoration-color: color-mix(in srgb, var(--gold-lit) 60%, transparent); text-underline-offset: 3px; }
.visit a:hover { color: var(--gold-lit); }
.visit address { font-style: normal; line-height: 1.75; }

.hours { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .42rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--gold-lit) 16%, transparent);
}
.hours li:last-child { border-bottom: 0; }
.hours .d { color: color-mix(in srgb, var(--surface) 72%, transparent); }
.hours .h { color: var(--surface); }
.hours li[data-today="true"] .d,
.hours li[data-today="true"] .h { color: var(--gold-lit); font-weight: 600; }

.visit__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--gap-m); }

/* ---------- footer ---------- */
.foot {
  background: var(--deep);
  color: color-mix(in srgb, var(--surface) 60%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--gold-lit) 18%, transparent);
  padding: var(--gap-l) 0;
  font-size: .86rem;
}
.foot__in { display: flex; flex-wrap: wrap; gap: var(--gap-m); align-items: center; justify-content: space-between; }
.foot a { color: color-mix(in srgb, var(--surface) 78%, transparent); }
.foot a:hover { color: var(--gold-lit); }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.foot__note { font-size: .78rem; color: color-mix(in srgb, var(--surface) 42%, transparent); width: 100%; }

/* ---------- 404 ---------- */
.oops { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: var(--gap-xl) 0; }
.oops h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); margin-bottom: var(--gap-m); }
.oops p { margin-inline: auto; margin-bottom: var(--gap-l); color: var(--muted); }
.oops__cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ---------- focus ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
.visit :focus-visible, .foot :focus-visible { outline-color: var(--gold-lit); }

/* ---------- breakpoints ---------- */
@media (min-width: 40rem) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card:nth-child(2) { padding-block: 2.1rem 2.25rem; }   /* deliberate density shift */
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: repeat(2, 1fr); column-gap: var(--gap-xl); }
  .visit__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 56rem) {
  .nav { display: flex; }
  .about { grid-template-columns: 22rem 1fr; gap: var(--gap-xl); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .visit__grid { grid-template-columns: 1.1fr 1fr .9fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}
