/* Dr Michael Rich — ENRICH Clinic Brand ID (2015 guidelines)
   Warm Charcoal / White at ~45/45, Nude as 10% highlight only.
   Titles: Baskerville Oldface (system: Georgia). Subheads/body: Pier Sans (system: Helvetica). */

:root {
  --charcoal: #3b3939;
  --charcoal-soft: rgba(59, 57, 57, 0.72);
  --nude: #c08f6b;
  --white: #ffffff;
  --rule: rgba(59, 57, 57, 0.18);
  --serif: "Baskerville Old Face", Baskerville, "Big Caslon", Georgia, serif;
  --sans: "Pier Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

/* ---------- Type ---------- */
h1, h2, h3.serif { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.75rem; }
h3.serif { font-size: 1.35rem; }

.kicker {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.kicker.nude { color: var(--nude); }

/* Brandmark line device — extends to the layout edge */
h2.lined { position: relative; padding-bottom: 1.1rem; margin-bottom: 2.5rem; }
h2.lined::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100vw; border-top: 1px solid var(--rule);
}

/* Nude heading treatment (used on About page) */
.nude-heads h2, .nude-heads h3.serif { color: var(--nude); }

/* Plus device */
.plus-list { list-style: none; }
.plus-list li { padding-left: 1.6em; position: relative; margin-bottom: 0.45em; }
.plus-list li::before { content: "+"; position: absolute; left: 0; color: var(--nude); font-weight: 700; }

/* ---------- Header ---------- */
header.site { background: var(--white); border-bottom: 1px solid var(--rule); }
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 2rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
}
.wordmark small {
  display: block;
  font-family: var(--sans); font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.42em; color: var(--nude); margin-top: 0.3rem;
}
nav.main { display: flex; gap: 2.25rem; }
nav.main a {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 0.3rem; border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
nav.main a:hover { color: var(--nude); }
nav.main a[aria-current="page"] { border-bottom-color: var(--nude); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--charcoal); color: var(--white);
  font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1.05rem 2.4rem; text-decoration: none;
  transition: background 0.18s ease;
}
.btn:hover { background: var(--nude); }
.btn.ghost { background: transparent; color: var(--charcoal); border: 1px solid var(--charcoal); }
.btn.ghost:hover { border-color: var(--nude); color: var(--nude); }
.btn.reverse { background: var(--white); color: var(--charcoal); }
.btn.reverse:hover { background: var(--nude); color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 5.5rem 0; }
section.charcoal { background: var(--charcoal); color: var(--white); }
section.tight { padding: 4rem 0; }

/* Framed feature images: fixed aspect, cover-cropped */
.figure { overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure.r4x5 { aspect-ratio: 4 / 5; }
.figure.r3x2 { aspect-ratio: 3 / 2; }
.figure.r16x9 { aspect-ratio: 16 / 9; }

/* ---------- Hero ---------- */
.hero { padding: 6rem 0; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4.5rem; align-items: center; }
.hero .meta {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--charcoal-soft); margin-bottom: 1.25rem;
}
.hero h1 { margin-bottom: 1.75rem; }
.hero p { margin-bottom: 2.5rem; max-width: 32em; }

/* ---------- Quote band (photographic) ---------- */
.quote-band {
  position: relative;
  background: var(--charcoal) center / cover no-repeat;
  color: var(--white);
  padding: 8rem 0;
}
.quote-band::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(43, 41, 41, 0.4);
}
.quote-band .wrap { position: relative; }
.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.55; max-width: 40em; margin: 0 auto; text-align: center;
}
.quote-band cite {
  display: block; margin-top: 2rem; font-style: normal;
  font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--nude);
  text-align: center;
}

/* ---------- Prose ---------- */
.prose { max-width: 44em; }
.prose p { margin-bottom: 1.2em; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }

/* ---------- Treatment tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1rem; }
.tiles a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 8.5rem; padding: 1.5rem 1.25rem;
  border: 1px solid var(--rule); text-decoration: none;
  font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.tiles a:hover { border-color: var(--nude); color: var(--nude); transform: translateY(-2px); }

/* ---------- Skincare band (charcoal, bottle row) ---------- */
.skincare { background: var(--charcoal); color: var(--white); padding: 6rem 0; }
.skincare .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.skincare p { margin-bottom: 2.5rem; max-width: 30em; }
.bottle-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.bottle-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Product grid ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.75rem; margin-top: 1rem; }
.products .card { text-align: center; text-decoration: none; display: block; }
.products .well {
  aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; padding: 1.25rem;
  border: 1px solid transparent;
  transition: border-color 0.18s ease;
}
.products .well img { max-height: 100%; width: auto; }
.products .card:hover .well { border-color: var(--rule); }
.products .card h3 {
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.35rem;
}
.products .card .tagline { color: var(--nude); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; }
.products .card .price { margin-top: 0.45rem; font-size: 0.9375rem; letter-spacing: 0.04em; }
.bottle-row a { display: block; }

/* ---------- Accreditations ---------- */
.accred { padding: 3.25rem 0; border-top: 1px solid var(--rule); }
.accred .wrap { text-align: center; }
.accred .kicker { color: var(--charcoal-soft); }
.accred .row {
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 2rem;
  align-items: baseline; justify-content: space-between;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  white-space: nowrap; color: var(--charcoal-soft);
  scrollbar-width: none;
}
.accred .row span { flex: 0 0 auto; }
.accred .row::-webkit-scrollbar { display: none; }
.accred .row.logos { align-items: center; gap: 2.75rem; }
.accred .row.logos img {
  height: 3rem; width: auto; flex: 0 0 auto;
  filter: grayscale(1); opacity: 0.7;
  transition: filter 0.18s ease, opacity 0.18s ease;
}
.accred .row.logos img:hover { filter: none; opacity: 1; }

/* ---------- Disclaimer ---------- */
.disclaimer { padding: 3rem 0 4rem; border-top: 1px solid var(--rule); }
.disclaimer p { font-size: 0.72rem; line-height: 1.75; color: var(--charcoal-soft); }
.disclaimer strong { display: block; margin-bottom: 0.5rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); }

/* ---------- Footer ---------- */
footer.site { background: var(--charcoal); color: var(--white); padding: 4.5rem 0 3rem; }
footer.site .wordmark { color: var(--white); font-size: 1.2rem; }
footer.site .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; align-items: start; }
footer.site h4 {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--nude); margin-bottom: 1rem;
}
footer.site p, footer.site a { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.92); line-height: 1.8; }
footer.site a { text-decoration: none; transition: color 0.15s ease; }
footer.site a:hover { color: var(--nude); }
footer.site .socials { display: flex; flex-direction: column; gap: 0.35rem; }
footer.site .fineprint {
  margin-top: 3.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0; }
  .hero .wrap, .skincare .wrap, .cols-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero .figure.r4x5 { aspect-ratio: 4 / 3; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; }
  footer.site .grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  header.site .bar { flex-direction: column; gap: 1.1rem; }
  nav.main { gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
  .accred .row { justify-content: flex-start; }
  .cols-2.seamless { gap: 0; }
  .quote-band { padding: 5rem 0; }
}
