/* Trudi's Beauty Clinic */

:root {
  --bg: #FFFFFF;
  --bg-deep: #FDF3F6;
  --surface: #FFFFFF;
  --ink: #574250;
  --muted: #94787F;
  --rule: #F6E4EA;
  --accent: #D2688A;
  --accent-ink: #FFFFFF;
  --accent-soft: #FCE7EE;
  --glow: #FFF2F6;

  --display: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --script: "Parisienne", "Cormorant Garamond", Georgia, cursive;
  --body: "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 48px);
  --column: 68rem;
  --pad-x: max(var(--gutter), (100% - var(--column)) / 2);
  --measure: 62ch;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }

a { color: var(--accent); }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.brand-name {
  font-family: var(--script);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: .01em;
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding-block: .6rem;
  padding-inline: var(--pad-x);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-size: 1.7rem;
  line-height: 1;
  margin-right: auto;
}
.butterfly { width: 34px; height: 28px; color: var(--accent); flex: none; }
.site-nav { display: flex; gap: 1.25rem; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}
.site-nav a:hover { color: var(--accent); }

/* Buttons */
.button {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.button:hover { background: color-mix(in srgb, var(--accent) 85%, var(--ink)); border-color: transparent; }
.button-ghost { background: transparent; color: var(--accent); }
.button-ghost:hover { background: var(--accent-soft); color: var(--ink); border-color: var(--accent-soft); }
.button-small { padding: .5rem 1rem; font-size: .9rem; }

/* Layout */
main { padding-inline: 0; }
section {
  padding-block: clamp(2.5rem, 7vw, 5rem);
  padding-inline: var(--pad-x);
}
section + section { border-top: 1px solid var(--rule); }

.section-head {
  max-width: var(--measure);
  display: grid;
  gap: .75rem;
  margin-bottom: 2rem;
}
.section-head p { color: var(--muted); }
.section-head .lead-warm {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr);
  align-items: center;
  gap: 2.5rem 4rem;
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
  padding-inline: var(--pad-x);
  background:
    radial-gradient(60% 80% at 82% 18%, var(--accent-soft) 0%, transparent 70%),
    linear-gradient(180deg, var(--glow) 0%, var(--bg) 100%);
}
.hero-text { display: grid; gap: 1.1rem; max-width: 34rem; }
.hero h1 { font-style: italic; font-weight: 500; }
.lead { font-size: 1.15rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .25rem; }
.hero-note { font-size: .92rem; color: var(--muted); }

.hero-card {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: 2.25rem 1.75rem;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--accent) 12%, transparent);
  text-align: center;
}
.hero-butterfly { width: clamp(88px, 12vw, 112px); height: auto; color: var(--accent); }
.hero-card-line {
  font-family: var(--display);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.35;
  max-width: 20rem;
}
.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
  justify-items: center;
  font-size: .95rem;
  color: var(--muted);
}
.hero-points li { position: relative; padding-left: 1.4rem; }
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}

/* Lash and brow illustrations */
.illus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2rem;
  max-width: var(--column);
}
.illus { margin: 0; display: grid; grid-template-rows: auto 1fr; gap: 1rem; }
.illus-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.illus-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .5rem;
  padding: 1.1rem .75rem .9rem;
  background: var(--bg-deep);
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.illus-panel-after { background: var(--accent-soft); border-color: var(--accent-soft); }
.illus-art { width: 100%; max-width: 150px; height: auto; aspect-ratio: 3 / 2; }
.illus-art .lid,
.illus-art .iris,
.illus-art .brow-thin,
.illus-art .hair-stray,
.illus-art .lash-thin,
.illus-art .lash-pale,
.illus-art .lash-bold,
.illus-art .lash-dark {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.illus-art .lid { stroke-width: 2.4; }
.illus-art .iris { stroke-width: 2; }
.illus-art .pupil { fill: var(--ink); }
.illus-art .lash-thin,
.illus-art .hair-stray { stroke-width: 1.6; opacity: .5; }
.illus-art .lash-pale { stroke-width: 1.6; opacity: .35; }
.illus-art .lash-bold { stroke-width: 2.6; }
.illus-art .lash-dark { stroke-width: 3.2; }
.illus-art .brow-thin { stroke-width: 2; opacity: .45; }
.illus-art .brow-full { fill: var(--ink); stroke: none; }
.illus-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.illus-tag-after { color: var(--accent); }
.illus figcaption { display: grid; gap: .3rem; color: var(--muted); font-size: .95rem; }
.illus figcaption strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}
.illus-footnote {
  margin-top: 1.75rem;
  font-size: .88rem;
  font-style: italic;
  color: var(--muted);
}

/* Clinical photographs, opt-in */
.photos {
  margin-top: 2rem;
  max-width: var(--column);
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--bg-deep);
}
.photos > summary {
  display: grid;
  gap: .3rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  border-radius: 14px;
}
.photos > summary::-webkit-details-marker { display: none; }
.photos > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.photos-title { font-weight: 700; color: var(--accent); }
.photos-title::before { content: "+ "; }
.photos[open] .photos-title::before { content: "\2212  "; }
.photos-note { font-size: .9rem; color: var(--muted); }
.photos-body { padding: 0 1.25rem 1.5rem; }

/* Results */
.before-after {
  margin: 0 0 2.75rem;
  display: grid;
  grid-template-columns: auto minmax(14rem, 24rem);
  gap: 1.5rem 2.5rem;
  align-items: center;
}
.ba-pair { display: flex; gap: 1.25rem; }
.before-after figcaption { display: grid; gap: .3rem; color: var(--muted); }
.before-after figcaption strong {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}
.ba-shot { position: relative; }
.ba-shot img,
.gallery img {
  display: block;
  width: clamp(120px, 20vw, 180px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--surface);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 18%, transparent);
}
.ba-tag {
  position: absolute;
  left: 50%;
  bottom: -.6rem;
  transform: translateX(-50%);
  padding: .2rem .8rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--rule);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ba-tag-after { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
  max-width: 46rem;
}
.gallery li {
  display: grid;
  justify-items: center;
  gap: .6rem;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
}
.gallery img { width: 120px; }

/* Price menu */
.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2.5rem 3.5rem;
  max-width: var(--column);
}
.menu-group { display: grid; gap: .75rem; align-content: start; }
.menu-group h3 {
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--accent);
}
.group-note { color: var(--muted); font-size: .95rem; font-style: italic; }

.price-list { margin: 0; display: grid; gap: .35rem; }
.price-list > div {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.price-list dt { flex: none; }
.price-list > div::after {
  content: "";
  flex: 1;
  border-bottom: 2px dotted var(--rule);
  transform: translateY(-.35em);
  min-width: 1.5rem;
}
.price-list dd {
  order: 1;
  margin: 0;
  flex: none;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Skin treatments */
.skin-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 1fr);
  gap: 2rem 3rem;
  max-width: var(--column);
  align-items: start;
}
.conditions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.conditions li {
  padding: .45rem .9rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  font-size: .95rem;
}
.conditions li:last-child { border-style: dashed; color: var(--muted); }

.note {
  background: var(--bg-deep);
  border-radius: 12px;
  padding: 1.5rem;
  display: grid;
  gap: .75rem;
}
.note h3 { font-size: 1.3rem; }
.note ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; font-size: .98rem; }

/* Credentials */
.credentials { padding-block: 2rem; }
.credentials ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  max-width: var(--column);
}
.credentials li {
  display: grid;
  gap: .15rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}
.cred-label {
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 1fr);
  gap: 2.5rem 4rem;
  align-items: start;
  max-width: var(--column);
}
.contact-grid .section-head { margin-bottom: 0; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.contact-card {
  display: grid;
  gap: .25rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s ease;
}
.contact-card:hover { border-color: var(--accent); }
.contact-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-address {
  font-style: normal;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}
.contact-hint { font-size: .85rem; font-weight: 700; color: var(--accent); }
.contact-number {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 2rem;
  padding-inline: var(--pad-x);
  display: grid;
  gap: .5rem;
  color: var(--muted);
  font-size: .9rem;
}
.site-footer .brand-name { font-size: 1.6rem; }

/* Phone width */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .brand { font-size: 1.45rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-card { padding: 1.75rem 1.25rem; }
  .before-after { grid-template-columns: 1fr; }
  .ba-pair { justify-content: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .illus-grid { gap: 1.75rem; }
  .skin-body { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}
