/* Beyond Beauty Rooms - preview site
   Palette is the clinic's own Elementor kit (blush #F3BAAD, rose #E7C5BD, text #3B3B3B),
   with one correction: on the live site the blush is used for body text and fails contrast,
   so here it stays decorative and a deeper clay carries anything that has to be read. */

:root {
  --ink:        #2b2523;
  --ink-soft:   #5d534f;
  --ink-faint:  #6f6560;   /* 5.3:1 on --shell - the lighter #857a75 failed AA at label sizes */
  --clay:       #a2553f;   /* 5.0:1 on --shell - safe for text */
  --clay-deep:  #7c3d2c;
  --blush:      #f3baad;   /* decorative only */
  --rose:       #e7c5bd;
  --sand:       #f4e9e4;
  --shell:      #fbf6f3;
  --paper:      #ffffff;
  --line:       #e6d8d1;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --text:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shell-w: 1140px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 3px;
}

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

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

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* decorative ellipses bleed past the shell on purpose */
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: 'SOFT' 20, 'WONK' 0;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 1.35rem + 2.1vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); font-weight: 400; letter-spacing: -0.005em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay-deep); }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell { width: 100%; max-width: var(--shell-w); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: var(--shell);
  padding: 0.7rem 1.1rem; font-size: 0.9rem;
}
.skip:focus { left: 0.6rem; top: 0.6rem; }

/* ---------- shared bits ---------- */

.eyebrow {
  font-size: 0.735rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--clay);
  margin: 0 0 1.1rem;
}

.lede {
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 54ch;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  font-family: var(--text);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--solid { background: var(--ink); color: var(--shell); }
.btn--solid:hover { background: var(--clay-deep); color: var(--shell); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--shell); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

section {
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  /* the header is sticky, so an anchored section would otherwise land underneath it */
  scroll-margin-top: 86px;
}

.section-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); }
.section-head p { margin-top: 1rem; color: var(--ink-soft); }

/* the wordmark's hand-drawn ellipse, reused as a section motif */
.ellipse {
  position: absolute; inset: 0; margin: auto;
  width: min(120%, 640px); height: auto;
  color: var(--blush);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* ---------- header ---------- */

.topbar {
  background: var(--ink);
  color: rgba(251, 246, 243, 0.82);
  font-size: 0.795rem;
  letter-spacing: 0.03em;
}
.topbar .shell {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem;
  align-items: center; justify-content: center;
  padding-block: 0.6rem;
  text-align: center;
}
.topbar a { color: var(--paper); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 246, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex; align-items: center; gap: 1.25rem;
  padding-block: 0.85rem;
}
.brand { display: block; flex: 0 0 auto; line-height: 0; }
.brand img { width: clamp(132px, 20vw, 178px); height: auto; }

.nav { display: flex; gap: 1.65rem; margin-left: auto; }
.nav a {
  font-size: 0.855rem; font-weight: 500; color: var(--ink);
  text-decoration: none; letter-spacing: 0.01em; white-space: nowrap;
}
.nav a:hover { color: var(--clay); }

.header-cta { display: flex; align-items: center; gap: 0.85rem; margin-left: auto; }
.header-cta .tel {
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
  text-decoration: none; white-space: nowrap;
}
.header-cta .tel:hover { color: var(--clay); }
.header-cta .btn { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.755rem; }

@media (max-width: 940px) {
  .nav { display: none; }
}
@media (max-width: 520px) {
  .header-cta .tel { display: none; }
}

/* ---------- hero ---------- */

.hero { position: relative; padding-top: clamp(2.75rem, 1.5rem + 5vw, 5rem); }
.hero .shell { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 1rem + 4vw, 4.25rem);
  align-items: center;
}
/* each sentence gets its own line, so "failing." is never left orphaned */
.hero h1 { margin-bottom: 1.35rem; text-wrap: balance; }
.hero h1 em {
  font-style: italic;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  color: var(--clay);
}

.hero__figure { position: relative; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 260px 260px var(--radius) var(--radius);
}
/* An outline offset evenly around the arch. Insetting only the bottom edge drew a visible
   line across the lower third of the photograph. */
.hero__figure::after {
  content: '';
  position: absolute;
  inset: -14px;
  border: 1px solid var(--rose);
  border-radius: 274px 274px var(--radius) var(--radius);
  pointer-events: none;
}

.trust {
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.6rem;
  margin-top: 2.4rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  list-style: none; padding-inline: 0;
}
.trust li {
  font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 500;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; max-width: 380px; }
  .hero__figure img { aspect-ratio: 1 / 1; border-radius: 200px 200px var(--radius) var(--radius); }
  .hero__figure::after { border-radius: 212px 212px var(--radius) var(--radius); }
}

/* ---------- quiet statement band ---------- */

.band {
  position: relative;
  background: var(--sand);
  text-align: center;
  overflow: hidden;
}
.band .shell { position: relative; z-index: 1; }
.band h2 { max-width: 20ch; margin-inline: auto; }
.band p { margin-top: 1.2rem; color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute; top: 1rem; left: 0;
  font-family: var(--display);
  font-size: 0.95rem; font-weight: 400; letter-spacing: 0.1em;
  color: var(--clay);
}
.step h3 { margin-bottom: 0.55rem; }
.step p { color: var(--ink-soft); font-size: 0.965rem; }

/* ---------- treatment list ---------- */

.treatments { display: grid; gap: 0; }
.treat {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(0.6rem, 0.2rem + 2vw, 2.5rem);
  padding-block: 1.85rem;
  border-top: 1px solid var(--line);
  align-items: start;
}
.treat:last-child { border-bottom: 1px solid var(--line); }
.treat__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; }
.treat h3 { font-size: clamp(1.2rem, 1.08rem + 0.6vw, 1.5rem); }
.treat p { color: var(--ink-soft); font-size: 0.975rem; }
.treat__focus {
  margin-top: 0.7rem; font-size: 0.795rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 500;
}
.tag {
  align-self: center;
  font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase;
  font-weight: 500; color: var(--clay-deep);
  background: var(--rose); border-radius: 999px;
  padding: 0.28rem 0.66rem; white-space: nowrap;
}
@media (max-width: 720px) {
  .treat { grid-template-columns: 1fr; gap: 0.7rem; }
}

/* ---------- specialist / priced ---------- */

.priced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: clamp(1rem, 0.6rem + 1.6vw, 1.6rem);
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.card h3 { margin-bottom: 0.1rem; }
.card p { color: var(--ink-soft); font-size: 0.955rem; }
.price {
  margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--line);
  font-family: var(--display); font-size: 1.12rem; color: var(--ink);
}
.price small {
  display: block; margin-top: 0.4rem;
  font-family: var(--text); font-size: 0.79rem; letter-spacing: 0.02em;
  color: var(--ink-faint); text-transform: none;
}

.note {
  margin-top: 1.9rem; padding: 1.05rem 1.25rem;
  background: var(--sand); border-left: 2px solid var(--blush);
  border-radius: var(--radius);
  font-size: 0.925rem; color: var(--ink-soft);
}

/* ---------- Nicola ---------- */

.about { background: var(--sand); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.about__figure img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--rose);
}
.about blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.72rem);
  font-weight: 300;
  line-height: 1.34;
  color: var(--ink);
}
.about p { color: var(--ink-soft); }
@media (max-width: 780px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 250px; }
}

/* ---------- kit ---------- */

.kit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.6rem, 1rem + 2.5vw, 3rem);
}
.kit h3 { margin-bottom: 1.05rem; }
.kit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.62rem; }
.kit li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem;
  align-items: baseline;
  font-size: 0.955rem; color: var(--ink-soft);
  padding-bottom: 0.62rem; border-bottom: 1px solid var(--line);
}
.kit li strong { color: var(--ink); font-weight: 500; }
.kit li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blush); transform: translateY(-3px);
}

/* ---------- visit ---------- */

.visit { background: var(--ink); color: rgba(251, 246, 243, 0.86); }
.visit h2, .visit h3 { color: var(--shell); }
.visit .eyebrow { color: var(--blush); }
.visit a { color: var(--blush); }
.visit a:hover { color: var(--paper); }
.visit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem);
}
.visit h3 {
  font-family: var(--text); font-size: 0.755rem; font-weight: 500;
  letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 1rem;
}
.visit address { font-style: normal; line-height: 1.75; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.935rem; }
.hours th, .hours td { text-align: left; padding: 0.42rem 0; font-weight: 400; vertical-align: top; }
.hours th { color: rgba(251, 246, 243, 0.6); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid rgba(251, 246, 243, 0.12); }
.hours .shut td { color: rgba(251, 246, 243, 0.58); }   /* 0.45 fell under AA on the dark panel */
.catchment { font-size: 0.9rem; color: rgba(251, 246, 243, 0.62); margin-top: 1.1rem; }

.visit .btn--solid { background: var(--blush); color: var(--ink); }
.visit .btn--solid:hover { background: var(--paper); color: var(--ink); }
.visit .btn--line { color: var(--shell); border-color: rgba(251, 246, 243, 0.42); }
.visit .btn--line:hover { background: var(--shell); color: var(--ink); border-color: var(--shell); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: rgba(251, 246, 243, 0.55); font-size: 0.85rem; }
.site-footer .shell { padding-block: 1.9rem; }
.foot__legal {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem;
  margin: 0; padding-top: 1.6rem;
  border-top: 1px solid rgba(251, 246, 243, 0.14);
}
.site-footer a { color: rgba(251, 246, 243, 0.82); }

/* ---------- 404 ---------- */

.gone { padding-block: clamp(4rem, 2rem + 9vw, 8rem); max-width: 46ch; }
.gone__code {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 1rem; font-weight: 500;
}
.gone h1 { margin-bottom: 1.1rem; }
.gone p { color: var(--ink-soft); }
.gone__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

@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;
  }
}
