/* Délavoy Aesthetics – preview site
   Tokens and rationale: ../../_brief.md
   Display face is Bodoni Moda because the client's own wordmark is a didone.
   One accent (slate) carries the clinical register; the warm greige carries the brand. */

:root {
  --bone:   #f3eee7;
  --greige: #e3dbcf;
  --ink:    #141210;
  --slate:  #2f4448;
  --mute:   #63594f;
  --line:   #cec4b6;

  --display: 'Bodoni Moda', 'Didot', 'Bodoni MT', Georgia, 'Times New Roman', serif;
  --body: 'Jost', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* fluid spacing – sections breathe differently on purpose, see --pad-* below */
  --gut: clamp(1.25rem, 5vw, 4.5rem);
  --stack: clamp(3.5rem, 9vw, 8rem);
  --maxw: 74rem;
}

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

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--slate); }

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

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

.skip {
  position: absolute; left: -9999px;
  background: var(--slate); color: var(--bone);
  padding: 0.75rem 1.25rem; z-index: 20;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: rgba(243, 238, 231, 0.72); }

/* ---------- buttons: hard rectangles, as on the client's own site ---------- */

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 1.9rem;
  min-height: 44px;
  border: 1px solid transparent;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn--slate  { background: var(--slate); color: var(--bone); }
.btn--slate:hover  { background: var(--ink); }
.btn--ghost  { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover  { background: var(--ink); color: var(--bone); }
.btn--bone   { background: var(--bone); color: var(--ink); }
.btn--bone:hover   { background: var(--greige); }
.btn--outline { border-color: rgba(243, 238, 231, 0.6); color: var(--bone); }
.btn--outline:hover { background: rgba(243, 238, 231, 0.14); }

/* ---------- masthead ---------- */

.mast {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem var(--gut);
  background: rgba(243, 238, 231, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.mast__brand { display: flex; align-items: center; flex: 0 0 auto; min-height: 44px; }
.mast__brand img { width: clamp(120px, 18vw, 168px); }
.mast__nav { margin-left: auto; }
.mast__nav ul {
  display: flex; gap: clamp(1rem, 2.4vw, 2.25rem);
  list-style: none; margin: 0; padding: 0;
}
.mast__nav a {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--mute);
  display: inline-flex; align-items: center; min-height: 44px;
  transition: color 160ms ease;
}
.mast__nav a:hover { color: var(--ink); }
.mast__cta { padding: 0.8rem 1.4rem; margin-left: clamp(1rem, 2.4vw, 2.25rem); }

@media (max-width: 60rem) {
  .mast__nav { display: none; }
  .mast__cta { margin-left: auto; }
}

/* ---------- hero: airy, the page's most open block ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 12vw, 9rem) var(--gut) clamp(3.5rem, 9vw, 7rem);
  text-align: center;
}
.hero__tex {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 46rem; margin: 0 auto; }
.hero__mark { width: min(420px, 78%); margin: 0 auto clamp(2rem, 5vw, 3.25rem); }
.hero__h1 {
  font-size: clamp(2.1rem, 1.35rem + 3.4vw, 4.25rem);
  margin-bottom: 1.4rem;
}
.hero__lede {
  color: var(--mute);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.15rem);
  max-width: 40rem; margin: 0 auto 2.4rem;
}
.hero__acts {
  display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin: 0;
}

/* ---------- proof strip: tight, the densest rhythm on the page ---------- */

.proof {
  background: var(--greige);
  border-block: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 2.75rem) var(--gut);
}
.proof__list {
  display: grid; gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  max-width: var(--maxw); margin: 0 auto; padding: 0; list-style: none;
  text-align: center;
}
.proof__fig {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem);
  line-height: 1;
  color: var(--slate);
  font-variant-numeric: lining-nums tabular-nums;
}
.proof__lab {
  display: block; margin-top: 0.55rem;
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--mute);
}

/* ---------- shared section head ---------- */

.sec__head { max-width: var(--maxw); margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.sec__head h2 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3.1rem); margin-bottom: 1.1rem; }
.sec__lede { color: var(--mute); max-width: 46rem; margin-bottom: 0; }

/* ---------- the ledger: the signature block, deliberately dense ---------- */

.ledger { padding: var(--stack) var(--gut); }
.ledger__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: clamp(2.5rem, 5vw, 3.75rem) clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}
.fam__h {
  font-family: var(--body);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--slate);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 0.35rem;
}
.rows { list-style: none; margin: 0; padding: 0; }
.rows li {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}
.rows__n { flex: 0 1 auto; }
.rows__n em {
  display: block; font-style: normal;
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--mute); margin-top: 0.15rem;
}
.rows__d {
  flex: 1 1 auto; min-width: 1.5rem;
  align-self: center;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-0.15em);
}
.rows__p {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 1.18rem;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.fam__note {
  font-size: 0.82rem; color: var(--mute); margin-top: 1.1rem; margin-bottom: 0;
}
.ledger__foot {
  max-width: var(--maxw); margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  font-size: 0.85rem; color: var(--mute);
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}

/* ---------- packages: tight and dark, the opposite of the hero ---------- */

.packs { padding: 0 var(--gut) var(--stack); }
.packs__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  background: var(--line);
}
.pack {
  background: var(--slate); color: var(--bone);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 2px;
  display: flex; flex-direction: column;
}
.pack__eyebrow {
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(243, 238, 231, 0.65); margin-bottom: 0.9rem;
}
.pack__h { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: 1rem; }
.pack__price {
  font-family: var(--display); font-size: 2.1rem; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  margin-bottom: 1.6rem;
}
.pack__price span {
  display: block; margin-top: 0.6rem;
  font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.1em;
  color: rgba(243, 238, 231, 0.7);
}
.pack__list {
  list-style: none; margin: 0 0 1.4rem; padding: 0;
  font-size: 0.92rem;
}
.pack__list li {
  padding: 0.55rem 0 0.55rem 1.35rem; position: relative;
  border-bottom: 1px solid rgba(243, 238, 231, 0.18);
}
.pack__list li::before {
  content: ''; position: absolute; left: 0; top: 1.15em;
  width: 0.5rem; height: 1px; background: rgba(243, 238, 231, 0.7);
}
.pack__body { font-size: 0.92rem; color: rgba(243, 238, 231, 0.82); }
.pack .btn { margin-top: auto; align-self: flex-start; }

/* ---------- approach ---------- */

.approach {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gut) var(--stack);
}
@media (min-width: 55rem) {
  .approach { grid-template-columns: 0.85fr 1fr; }
}
.approach__fig { margin: 0; }
.approach__fig img { width: 100%; }
.approach__body h2 {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
  margin-bottom: 1.4rem;
}
.approach__body p { color: var(--mute); }
.approach__body p:first-of-type { color: var(--ink); }

/* ---------- reviews ---------- */

.reviews {
  background: var(--greige);
  border-block: 1px solid var(--line);
  padding: var(--stack) var(--gut);
}
.reviews__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.rev {
  margin: 0; padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bone);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.rev blockquote { margin: 0 0 1.5rem; }
.rev blockquote p {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  line-height: 1.45; margin: 0;
}
.rev blockquote p::before { content: '\201C'; }
.rev blockquote p::after  { content: '\201D'; }
.rev figcaption {
  margin-top: auto;
  font-size: 0.85rem; letter-spacing: 0.06em;
}
.rev figcaption span {
  display: block; margin-top: 0.3rem;
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute);
}
.reviews__more {
  max-width: var(--maxw); margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.reviews__more a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- consultation: the clinical block ---------- */

.consult {
  display: grid; grid-template-columns: 1fr;
  background: var(--slate); color: var(--bone);
}
@media (min-width: 55rem) {
  .consult { grid-template-columns: 0.8fr 1.2fr; }
}
/* the photo fills its column without dictating the row height, so the section is
   as tall as the copy rather than as tall as a 675x1200 portrait crop */
.consult__fig { margin: 0; position: relative; min-height: 20rem; overflow: hidden; }
.consult__fig img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
}
.consult__body { padding: clamp(2.5rem, 6vw, 5rem) var(--gut); }
.consult__body h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); margin-bottom: 1.3rem; }
.consult__lede { color: rgba(243, 238, 231, 0.85); margin-bottom: 1.8rem; }
.consult__list {
  list-style: none; margin: 0 0 2.2rem; padding: 0;
  max-width: 34rem;
}
.consult__list li {
  padding: 0.72rem 0 0.72rem 1.5rem; position: relative;
  border-bottom: 1px solid rgba(243, 238, 231, 0.2);
  font-size: 0.94rem;
}
.consult__list li::before {
  content: ''; position: absolute; left: 0; top: 1.3em;
  width: 0.6rem; height: 1px; background: rgba(243, 238, 231, 0.75);
}
.consult__acts { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 0; }

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

.visit { padding: var(--stack) var(--gut); }
.visit__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: clamp(1.5rem, 3.5vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.visit__card { border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.visit__card h3 {
  font-family: var(--body);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 1rem;
}
.visit__card p { font-size: 0.95rem; }
/* contact and map links are real tap targets, not inline prose links */
.visit__card a { display: inline-flex; align-items: center; min-height: 44px; }
.visit__note { color: var(--mute); font-size: 0.85rem !important; }
.visit__list { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.visit__list li { padding: 0.35rem 0; }
.visit__med {
  max-width: var(--maxw); margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--mute);
}

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

.foot {
  background: var(--ink); color: var(--bone);
  padding: clamp(3rem, 7vw, 4.5rem) var(--gut);
  text-align: center;
}
.foot__mark {
  width: min(260px, 62%); margin: 0 auto 1.8rem;
  filter: invert(1);
}
.foot__addr { font-size: 0.88rem; margin: 0 auto 0.9rem; max-width: 46rem; }
.foot__addr a {
  color: inherit;
  display: inline-flex; align-items: center; min-height: 44px;
}
.foot__meta {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(243, 238, 231, 0.55); margin: 0;
}

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

.nf {
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 44rem; margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) var(--gut);
  text-align: center;
}
.nf__code {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mute);
}
.nf h1 { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.2rem); margin-bottom: 1.2rem; }
.nf__lede { color: var(--mute); margin: 0 auto 2.2rem; }
.nf__acts { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin: 0; }

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