/* ============================================================
   iSkincare Medical Aesthetics - porcelain editorial + warm glass
   ============================================================ */

:root {
  /* brand palette (pinned) */
  --porcelain: #fdfaf6;
  --cream: #f9f3ec;
  --blush: #f1e2d8;
  --rose: #c9a092;
  --maroon: #7c4046;
  --maroon-deep: #632f35;
  --plum: #3b2227;
  --gold: #c79a4b;
  --gold-soft: #e3c98f;
  --gold-deep: #855f16; /* gold that passes contrast on light for small text */

  --ink: var(--plum);
  --muted: #6e5551;
  --line: rgba(59, 34, 39, 0.12);
  --hairline: rgba(199, 154, 75, 0.55);

  /* warm-tinted shadows (never neutral black) */
  --shadow-sm: 0 2px 10px rgba(124, 64, 70, 0.08);
  --shadow-md: 0 16px 44px -18px rgba(99, 47, 53, 0.28);
  --shadow-lg: 0 34px 80px -32px rgba(59, 34, 39, 0.34);

  --glass: rgba(253, 250, 246, 0.62);
  --glass-line: rgba(255, 255, 255, 0.7);

  --measure: 64ch;
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --maxw: 1280px;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--plum);
  margin: 0;
}

a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-deep); }

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

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--hairline);
}
.eyebrow .num { color: var(--gold-deep); font-variant-numeric: tabular-nums; }

.display {
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);
  font-weight: 500;
}
.display em { font-style: italic; color: var(--maroon); }

.lead {
  font-size: clamp(1.12rem, 1.05rem + 0.4vw, 1.35rem);
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
}
p { max-width: var(--measure); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: var(--bg);
  color: var(--porcelain);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--maroon-deep); color: var(--porcelain); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--ghost {
  background: transparent;
  color: var(--maroon);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--cream); color: var(--maroon-deep); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(253, 250, 246, 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--plum);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand small {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
  font-weight: 600;
}
.nav-links { display: none; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(2rem, 4vw, 3.5rem); }
.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .display { margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
}
.stars { color: var(--gold-deep); letter-spacing: 0.12em; font-size: 1rem; }
.trust-item { display: flex; flex-direction: column; gap: 0.15rem; }
.trust-item b { font-family: var(--font-display); font-size: 1.5rem; color: var(--plum); font-weight: 600; }
.trust-item span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }

/* hero media with warm light aurora behind */
.hero-media { position: relative; }
.hero-media .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-media .frame img,
.hero-media .frame video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero-aura {
  position: absolute;
  inset: -12% 0 -8% -12%;
  z-index: -1;
  background:
    radial-gradient(42% 46% at 78% 22%, rgba(199,154,75,0.30), transparent 70%),
    radial-gradient(46% 50% at 20% 82%, rgba(201,160,146,0.34), transparent 72%),
    radial-gradient(40% 44% at 60% 60%, rgba(241,226,216,0.6), transparent 75%);
  filter: blur(8px);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(2%, -2%, 0) scale(1.05); }
}

/* floating glass credential chip over hero image */
.hero-chip {
  position: absolute;
  left: -6%;
  bottom: 8%;
  z-index: 3;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 4px 4px rgba(255,255,255,0.35), var(--shadow-md);
  max-width: 15rem;
}
.hero-chip b { font-family: var(--font-display); font-size: 1.15rem; color: var(--maroon); display: block; }
.hero-chip span { font-size: 0.78rem; color: var(--muted); }
@media (max-width: 560px) { .hero-chip { left: 4%; bottom: 4%; } }

/* ---------- marquee trust ribbon ---------- */
.ribbon {
  border-block: 1px solid var(--line);
  background: var(--cream);
}
.ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  justify-content: center;
  align-items: center;
  padding-block: 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.ribbon-inner span { display: inline-flex; align-items: center; gap: 0.6rem; }
.ribbon-inner .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ---------- generic section head ---------- */
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); margin-bottom: 1rem; }
.section-head h2 em { font-style: italic; color: var(--maroon); }

/* ---------- zig-zag feature ---------- */
.zig { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
.zig-row {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .zig-row { grid-template-columns: 1fr 1fr; }
  .zig-row.rev .zig-media { order: 2; }
}
.zig-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
}
.zig-media img { width: 100%; height: 100%; object-fit: cover; }
.zig-body h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 0.9rem; }
.zig-body .kicker {
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-bottom: 0.9rem; display: block;
}

/* ---------- practitioners (mirrored signature) ---------- */
.pair {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (min-width: 800px) { .pair { grid-template-columns: 1fr 1fr; } }
.person {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
}
.person img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 0.8s var(--ease); }
.person:hover img { transform: scale(1.04); }
.person .caption {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 3px 4px rgba(255,255,255,0.4);
}
.person .caption b { font-family: var(--font-display); font-size: 1.4rem; color: var(--plum); display: block; }
.person .caption span { font-size: 0.8rem; color: var(--maroon); font-weight: 600; letter-spacing: 0.02em; }
.person .caption p { font-size: 0.82rem; color: var(--muted); margin: 0.4rem 0 0; }

/* ---------- price list (asymmetric, not cards) ---------- */
.pricewrap {
  background: var(--cream);
}
.pricelist { display: grid; gap: 0; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.price-row:first-child { border-top: 1px solid var(--line); }
.price-row .name { font-family: var(--font-display); font-size: 1.3rem; color: var(--plum); }
.price-row .name small { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted); display: block; letter-spacing: 0; margin-top: 0.15rem; }
.price-row .amt { font-family: var(--font-display); font-size: 1.35rem; color: var(--maroon); letter-spacing: 0.01em; white-space: nowrap; }

/* ---------- glass treatment cards over photo ---------- */
.glass-band { position: relative; overflow: hidden; background: var(--plum); }
.glass-band .bg {
  position: absolute; inset: 0; z-index: 0;
}
.glass-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.glass-band .scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(59,34,39,0.55), rgba(124,64,70,0.35) 60%, rgba(199,154,75,0.2));
}
.glass-band .wrap { position: relative; z-index: 2; }
.glass-band .section-head h2, .glass-band .section-head p { color: var(--porcelain); }
.glass-band .section-head h2 em { color: var(--gold-soft); }
.glass-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .glass-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .glass-cards { grid-template-columns: repeat(4, 1fr); } }
.gcard {
  padding: 1.5rem 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: rgba(253, 250, 246, 0.16);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 4px 6px rgba(255,255,255,0.22), 0 20px 40px -20px rgba(0,0,0,0.4);
  color: var(--porcelain);
}
.gcard .n { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold-soft); letter-spacing: 0.04em; }
.gcard h3 { color: var(--porcelain); font-size: 1.45rem; margin: 0.5rem 0 0.6rem; }
.gcard p { color: rgba(253,250,246,0.85); font-size: 0.9rem; margin: 0; }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--porcelain);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.review .stars { font-size: 0.9rem; }
.review blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--plum);
}
.review cite { font-style: normal; font-size: 0.82rem; color: var(--muted); font-weight: 600; margin-top: auto; }

/* ---------- consult CTA band ---------- */
.consult {
  background: var(--plum);
  color: var(--porcelain);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.consult::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 90% at 85% 15%, rgba(199,154,75,0.32), transparent 60%);
}
.consult > * { position: relative; z-index: 1; }
.consult h2 { color: var(--porcelain); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin-bottom: 1rem; }
.consult h2 em { color: var(--gold-soft); font-style: italic; }
.consult .lead { color: rgba(253,250,246,0.82); max-width: 46ch; }
.consult .price-flag {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--font-display); margin-top: 0.5rem;
}
.consult .price-flag b { font-size: 2.6rem; color: var(--gold-soft); }
.consult .btn { --bg: var(--porcelain); color: var(--plum); }
.consult .btn:hover { background: #fff; color: var(--maroon-deep); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 780px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-grid h4 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.foot-grid a, .foot-grid p { color: var(--ink); font-size: 0.92rem; margin: 0.3rem 0; }
.foot-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.78rem; color: var(--muted);
}

/* ---------- ambient promise band ---------- */
.promise {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}
.promise .ambient {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.promise::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--cream) 2%, rgba(249,243,236,0.35) 40%, rgba(249,243,236,0.35) 60%, var(--cream) 98%);
}
.promise .wrap { text-align: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.promise p.eyebrow { justify-content: center; }
.promise q {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 1.2rem + 3.2vw, 3.4rem);
  line-height: 1.15;
  color: var(--plum);
  max-width: 22ch;
  margin-inline: auto;
  quotes: none;
}
.promise q::before, .promise q::after { content: ""; }

/* ---------- reveal on scroll (progressive enhancement) ---------- */
/* Content is visible by default; only hidden once JS confirms it can reveal it. */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-aura, .person img { animation: none; transition: none; }
}

/* glass fallback */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.scrolled { background: rgba(253,250,246,0.96); }
  .hero-chip, .person .caption { background: rgba(253,250,246,0.92); }
  .gcard { background: rgba(59,34,39,0.6); }
}
@media (prefers-reduced-transparency: reduce) {
  .gcard { background: rgba(59,34,39,0.72); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
