/* Rejuv — Timeless Health and Aesthetics
   Palette and type come straight from the Fiverr premium kit:
   #EBC1A6 rose gold, #545454 charcoal, #FFFFFF. Bellefair 400 + Abel 400.
   Bellefair ships one weight only, so hierarchy is carried by size, colour and
   letterspacing — never by boldness. That constraint is the identity. */

:root {
  --porcelain: #ffffff;
  --veil: #faf6f3;        /* barely-there rose tint for alternating bands */
  --rose: #ebc1a6;        /* brand accent — rules, fills, the mark. Never text. */
  --rose-soft: #f5ddcd;
  --rose-ink: #8a5e42;    /* darkened rose that actually passes contrast on white */
  --graphite: #545454;    /* brand charcoal — body copy */
  --ink: #2e2e2e;         /* headings */
  --hair: #e8e2dd;        /* hairline grey */

  --display: "Bellefair", "Times New Roman", serif;
  --util: "Abel", "Helvetica Neue", sans-serif;

  --measure: 34rem;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --band: clamp(4.5rem, 11vw, 9rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: hidden; /* guard: nothing should scroll the page sideways */
  background: var(--porcelain);
  color: var(--graphite);
  font-family: var(--display);
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  line-height: 1.75;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--rose-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--rose-ink);
  outline-offset: 3px;
}

/* ---------- type scale ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7.5vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.2; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.15em; max-width: var(--measure); }
ul, ol { max-width: var(--measure); padding-left: 1.1em; margin: 0 0 1.3em; }
li { margin-bottom: 0.5em; }
li::marker { color: var(--rose); }

/* The utility face does every uppercase job: nav, eyebrows, buttons, labels. */
.eyebrow, .util, nav a, .btn, .label, footer, .meta {
  font-family: var(--util);
}
.eyebrow {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--rose-ink);
  margin: 0 0 1.4rem;
}
em, i { font-style: italic; color: var(--ink); }

/* ---------- layout ---------- */

.wrap { max-width: 74rem; margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--band) 0; }
.band--veil { background: var(--veil); }
.narrow { max-width: 46rem; }

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
/* A grid track's implicit floor is min-content, so a long word or a nowrap button
   inside one can widen the whole page. Every track opts out of that. */
.split > *, .hero__grid > *, .grid > *, .steps > *, .sitefoot .cols > * { min-width: 0; }
@media (min-width: 62rem) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--narrow-first { grid-template-columns: 0.8fr 1.2fr; }
}

/* ---------- the signature device ----------
   The kit's mark is a lotus flame built from nested contours. That nesting is
   reused as the site's only ornament: a hairline interrupted by the mark. */

.contour-rule {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  border: 0;
  color: var(--rose);
}
.contour-rule::before, .contour-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hair);
}
.contour-rule svg { width: 12px; flex: none; color: var(--rose); }

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}
.brandmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
}
.brandmark:hover { text-decoration: none; }
.brandmark svg { width: 15px; color: var(--rose); }
.brandmark span {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.3em;
  line-height: 1;
  padding-left: 0.1em;
}
nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.1rem); list-style: none; margin: 0; padding: 0; max-width: none; }
nav li { margin: 0; }
nav a {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--graphite);
  white-space: nowrap;
}
nav a:hover, nav a[aria-current="page"] { color: var(--rose-ink); text-decoration: none; }
nav a[aria-current="page"] { border-bottom: 1px solid var(--rose); padding-bottom: 2px; }
.nav-toggle { display: none; }
@media (max-width: 61.99rem) {
  .masthead nav { display: none; }
  .masthead nav.open { display: block; position: absolute; inset: 4.75rem 0 auto; background: var(--porcelain); border-bottom: 1px solid var(--hair); padding: 1.25rem var(--gutter) 1.75rem; }
  .masthead nav.open ul { flex-direction: column; gap: 1.1rem; }
  .nav-toggle {
    display: block; background: none; border: 0; padding: 0.5rem 0;
    font-family: var(--util); font-size: 0.84rem; text-transform: uppercase;
    letter-spacing: 0.17em; color: var(--graphite); cursor: pointer;
  }
  .masthead .btn--sm { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 1.05rem 2.2rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--porcelain);
  white-space: nowrap;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.btn:hover { background: var(--rose-ink); border-color: var(--rose-ink); color: var(--porcelain); text-decoration: none; }
.btn--ghost { background: none; color: var(--ink); border-color: var(--hair); }
.btn--ghost:hover { background: none; color: var(--rose-ink); border-color: var(--rose); }
.btn--sm { padding: 0.7rem 1.35rem; font-size: 0.76rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2.2rem; }
.actions .tel { font-family: var(--util); text-transform: uppercase; letter-spacing: 0.17em; font-size: 0.84rem; }

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

.hero { padding: clamp(2.25rem, 4.5vw, 3.75rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 56rem) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { margin-bottom: 1.6rem; }
.hero h1 .rose { color: var(--rose-ink); font-style: italic; }
.hero__lede { font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.35rem); color: var(--graphite); }

/* The full lockup, set large — it is the first thing on the page. */
.hero__logo {
  width: clamp(11rem, 22vw, 17.5rem);
  height: auto;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.4rem);
}

/* The portrait is a cutout flattened onto white, so it floats rather than sitting in a
   box. object-position favours the subject, who occupies the lower part of the frame. */
.hero__portrait { margin: 0; display: flex; }
.hero__portrait img {
  width: 100%;
  height: 100%;
  min-height: clamp(22rem, 44vw, 33rem);
  object-fit: cover;
  object-position: 50% 62%;
}
@media (max-width: 55.99rem) {
  .hero__portrait img {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    object-position: 50% 28%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__grid > div > * { animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero__grid > div > :nth-child(1) { animation-delay: 0.06s; }
  .hero__grid > div > :nth-child(2) { animation-delay: 0.18s; }
  .hero__grid > div > :nth-child(3) { animation-delay: 0.3s; }
  .hero__grid > div > :nth-child(4) { animation-delay: 0.42s; }
  .hero__grid > div > :nth-child(5) { animation-delay: 0.54s; }
  .hero__portrait { animation: fade 1.4s ease 0.25s both; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise {
  from { opacity: 0; transform: translateY(0.9rem); }
  to { opacity: 1; transform: none; }
}

/* Service names as a tracked hairline strip under the hero. */
.strip { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 1.15rem 0; }
.strip ul {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2.4rem; list-style: none;
  margin: 0; padding: 0; max-width: none;
  font-family: var(--util); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.22em;
}
.strip li { margin: 0; color: var(--graphite); }

/* ---------- cards ---------- */

.grid { display: grid; gap: 1px; background: var(--hair); border: 1px solid var(--hair); grid-template-columns: 1fr; }
@media (min-width: 44rem) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--porcelain);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.4s ease;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 1rem; margin-bottom: 1.4rem; }
.card__more {
  margin-top: auto;
  font-family: var(--util);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rose-ink);
}
/* One petal arc grows on the card that has focus — the contour motif again. */
.card::after {
  content: "";
  position: absolute;
  left: clamp(1.8rem, 3vw, 2.6rem);
  bottom: clamp(1.35rem, 2.4vw, 2rem);
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover, .card:focus-within { background: var(--veil); }
.card:hover::after, .card:focus-within::after { width: 2.6rem; }
/* The eighth cell is an invitation, not a service — tinted so it reads as a different
   kind of thing without adding a new colour to the palette. */
.card--invite { background: var(--veil); }
.card--invite:hover, .card--invite:focus-within { background: var(--rose-soft); }
.card > a.cover { position: absolute; inset: 0; }
.card > a.cover span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- the sequence (a real sequence, so it is numbered) ---------- */

.steps { counter-reset: step; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; border-top: 1px solid var(--rose); padding-top: 1.3rem; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--util);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--rose-ink);
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.5rem; }
.step p { font-size: 1rem; margin-bottom: 0; }

/* ---------- pull quote / statement ---------- */

.statement {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.28;
  color: var(--ink);
  max-width: 44rem;
  margin: 0;
}
.statement em { color: var(--rose-ink); }

/* ---------- prose (service + legal + article bodies) ---------- */

.prose { max-width: 42rem; }
.prose > * { max-width: var(--measure); }
.prose h2 { margin-top: 2.6em; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; }
.prose ul li::marker { color: var(--rose); }
.prose img { margin: 2.5rem 0; }
.prose figure { margin: 2.5rem 0; }
.prose figcaption, .caption {
  font-family: var(--util);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--graphite);
}
.prose blockquote {
  margin: 2.2rem 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--rose);
  font-size: 1.2rem;
}
.prose table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.98rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--hair); }
.prose th { font-family: var(--util); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--rose-ink); }

/* ---------- page masthead for interior pages ---------- */

.pagehead { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.pagehead h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); }
.pagehead p { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem); max-width: 38rem; }

/* ---------- article list ---------- */

.postlist { list-style: none; margin: 0; padding: 0; max-width: none; }
.postlist li { margin: 0; border-bottom: 1px solid var(--hair); }
.postlist a { display: block; padding: 2rem 0; color: var(--ink); }
.postlist a:hover { text-decoration: none; }
.postlist a:hover h3 { color: var(--rose-ink); }
.postlist h3 { margin-bottom: 0.35rem; max-width: 40rem; }
.postlist .meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--rose-ink); }
.postlist p { font-size: 1rem; margin: 0.6rem 0 0; color: var(--graphite); }

/* ---------- facts / contact ---------- */

.facts { list-style: none; margin: 0; padding: 0; max-width: none; }
.facts li { display: grid; gap: 0.15rem; padding: 1.15rem 0; border-bottom: 1px solid var(--hair); margin: 0; }
.facts .label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--rose-ink); }

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

.sitefoot { border-top: 1px solid var(--hair); padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; font-size: 0.92rem; }
.sitefoot .cols { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .sitefoot .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.sitefoot h4 { font-family: var(--util); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--rose-ink); margin-bottom: 1rem; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.sitefoot li { margin-bottom: 0.55rem; }
.sitefoot a { color: var(--graphite); }
.sitefoot a:hover { color: var(--rose-ink); }
.sitefoot .brandmark { margin-bottom: 1.1rem; }
.legal { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--hair); font-size: 0.8rem; line-height: 1.7; color: var(--graphite); }
.legal p { max-width: 60rem; margin-bottom: 0.7rem; }

/* ---------- misc ---------- */

.disclaimer { font-family: var(--util); font-size: 0.86rem; letter-spacing: 0.04em; color: var(--graphite); max-width: 40rem; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.8rem 1.2rem; z-index: 100;
  font-family: var(--util); text-transform: uppercase; letter-spacing: 0.17em; font-size: 0.8rem;
}
.skip:focus { left: 0; }
