/* The Lip Flip — site stylesheet
   Palette: deep rose + blush cream. Distinct from Neoderma's soft teal
   but sits comfortably next to it on the hand-off. */

/* Fallback faces measured 2026-10-02 in Chromium: Times at 96.8% and Arial at 107% match
   Cormorant Garamond and Inter text widths within 0.1%, so the webfont swap does not reflow. */
@font-face { font-family: "Cormorant Fallback"; src: local("Times New Roman"), local("Times"); size-adjust: 96.8%; ascent-override: 95%; descent-override: 30%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

:root {
  --ink: #26191d;
  --ink-soft: #5a4a4f;
  --muted: #7a6a6f;
  --teal: #8a2f47;
  --teal-dark: #5e1f30;
  --teal-soft: #f3dde3;
  --teal-tint: #faf1f4;
  --sand: #f8f2ee;
  --sand-deep: #ecdfd6;
  --champagne: #b48a5a;
  --bg: #fcfaf8;
  --surface: #ffffff;
  --line: #e9e2e3;
  --radius: 18px;
  --max: 1120px;
  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
strong { font-weight: 600; color: var(--ink); }
.wrap { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 760px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--teal); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 50; }
.skip:focus { top: 1rem; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 250, 248, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: .4rem; white-space: nowrap; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.01em; }
.brand .accent { color: var(--teal); }
.brand small { font-family: var(--sans); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
@media (max-width: 1150px) { .header-phone { display: none !important; } }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .93rem; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-dark); }
.nav .btn { color: #fff; }
.header-phone { font-weight: 600 !important; color: var(--teal) !important; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .5rem .7rem; font: inherit; color: var(--ink); cursor: pointer; }
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; }
  .nav a { padding: .75rem .25rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .75rem; text-align: center; border: 0; }
  .site-header.open .nav { display: flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; background: var(--teal); color: #fff; border: 1px solid var(--teal);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--teal-tint); color: var(--teal-dark); }
.btn.light { background: #fff; color: var(--teal-dark); border-color: #fff; }
.btn.light:hover { background: var(--sand); color: var(--teal-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero .wrap { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1.1fr .9fr; }
.eyebrow { display: inline-block; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 1.1rem; }
.lede { font-size: 1.22rem; color: var(--ink-soft); max-width: 36rem; }
.hero h1 em { font-style: italic; color: var(--teal); display: block; }
.hero h1 + .lede { margin-top: 1.3rem; }
/* Home hero: one column, headline then the before/after slider, then the answer and calls to action.
   Kept on the same left edge as the sections below. */
.hero .wrap.hero-stack { display: block; }
.hero-stack > * { max-width: 820px; }
.hero-media { margin: 1.8rem 0 0; }
.hero-media + .lede { margin-top: 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .5rem; color: var(--ink-soft); font-size: .98rem; }
.hero-points li { display: flex; gap: .6rem; align-items: flex-start; }
.hero-points li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: .3rem; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%238a2f47' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- before / after slider ---------- */
.ba { position: relative; aspect-ratio: 900 / 350; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #222; user-select: none; touch-action: pan-y; box-shadow: 0 30px 60px -30px rgba(138, 47, 71, .4); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--split, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba .handle::after { content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--teal-dark); display: grid; place-items: center; font-size: .8rem; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ba .tag { position: absolute; top: .75rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.ba .tag.b { left: .75rem; } .ba .tag.a { right: .75rem; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-caption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .7rem; }

/* ---------- sections ---------- */
section { padding: clamp(3rem, 6vw, 5rem) 0; }
section.band { background: var(--sand); }
section.band-teal { background: var(--teal-dark); color: #f4e7eb; }
section.band-teal h2, section.band-teal h3 { color: #fff; }
section.band-teal p { color: #e6d2d9; }
section.band-teal a:not(.btn) { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 2.2rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: .9rem; }
.grid { display: grid; gap: 1.4rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.card.link { text-decoration: none; color: inherit; display: block; transition: transform .15s ease, box-shadow .15s ease; }
.card.link:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(138, 47, 71, .45); }
.card.link .more { display: inline-block; margin-top: 1rem; color: var(--teal); font-weight: 600; font-size: .9rem; }
.step { counter-increment: step; position: relative; padding-left: 3.4rem; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .1rem; font-family: var(--serif); font-size: 1.6rem; color: var(--champagne); font-weight: 600; }
.steps { counter-reset: step; display: grid; gap: 1.8rem; }
.split { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.phone { max-width: 300px; margin-inline: auto; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: #111; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
figcaption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .7rem; }
.frame { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.prose p, .prose li { color: var(--ink-soft); }
.prose h2 { margin: 2.6rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8rem 0 .6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); }
.checks li::before { content: "✓"; content: "✓" / ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: .15rem; }
.two-col .checks { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .two-col .checks { grid-template-columns: 1fr; } }
table { width: 100%; border-collapse: collapse; font-size: .97rem; margin: 1.2rem 0; }
th, td { text-align: left; padding: .8rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
td { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }
.note { background: var(--teal-tint); border-left: 3px solid var(--teal); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; color: var(--ink-soft); font-size: .95rem; }
.note.sand { background: var(--sand); border-color: var(--champagne); }
.pull { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--ink); border-left: 3px solid var(--champagne); padding-left: 1.2rem; margin: 2rem 0; }
.pull cite { display: block; font-family: var(--sans); font-style: normal; font-size: .85rem; color: var(--muted); margin-top: .6rem; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: .3rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; flex: none; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; content: "–" / ""; }
.faq .a { padding: 0 0 1.2rem; color: var(--ink-soft); max-width: 48rem; }

/* ---------- CTA band ---------- */
.cta { background: var(--teal-dark); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; grid-template-columns: 1.4fr 1fr; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #e6d2d9; margin: .8rem 0 0; }
.cta .btn-row { justify-content: flex-end; }
.cta .btn.ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.cta .btn.ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }
.provider { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 1.4rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .provider { grid-template-columns: 1fr; } }
.provider address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
.provider dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; font-size: .95rem; color: var(--ink-soft); }
.provider dt { font-weight: 600; color: var(--ink); }
.provider dd { margin: 0; white-space: nowrap; text-align: right; }
.neoderma-mark { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.neoderma-mark .neo { color: #417573; } .neoderma-mark .derma { color: #a6a39d; }
.neoderma-mark small { display: block; font-family: var(--sans); font-size: .55rem; letter-spacing: .4em; text-transform: uppercase; color: #a6a39d; margin-top: .35rem; font-weight: 600; }

/* ---------- breadcrumbs / page head ---------- */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--teal); }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lede { margin-top: 1.2rem; }
.meta { font-size: .82rem; color: var(--muted); margin-top: 1rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 3rem 0 2rem; font-size: .92rem; color: var(--ink-soft); }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .footer-head { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin: 0 0 .9rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; } .site-footer a:hover { color: var(--teal-dark); }
.site-footer .legal { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); display: grid; gap: .5rem; }
.disclaimer { font-size: .8rem; color: var(--muted); }

/* ---------- lip flip additions ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); margin: 1.5rem 0; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--teal); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--muted); }
.compare th:first-child, .compare td:first-child { font-weight: 600; color: var(--ink); width: 26%; }
.compare .hi { background: var(--teal-tint); }
.frame img { width: 100%; }

/* ---------- page-head furniture ---------- */
.byline { margin-top: 1rem; }
.byline a { color: var(--ink); font-weight: 500; }
.trust { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .88rem; color: var(--muted); }
.trust li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: .5rem; vertical-align: middle; }
.trust a { color: var(--muted); }
.cta-row { margin-top: 1.4rem; }
.cta .hours { font-size: .82rem; color: #e6d2d9; margin: .6rem 0 0; }

/* ---------- reviews ---------- */
.review { margin: 0; }
.review .stars { color: var(--champagne); letter-spacing: .1em; font-size: .9rem; }
.review blockquote { margin: .6rem 0 .8rem; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; color: var(--ink); }
.review figcaption { text-align: left; margin: 0; font-size: .85rem; color: var(--muted); }
.review figcaption a { color: var(--teal); }
.note-inline { color: var(--muted); }
.pull cite a { color: var(--teal); }

/* ---------- footer NAP ---------- */
.site-footer .nap { font-style: normal; margin-top: 1rem; line-height: 1.7; }
.site-footer .hours-line { margin-top: .6rem; font-size: .82rem; color: var(--muted); }

/* ---------- mobile call / book bar ---------- */
.action-bar { display: none; }
@media (max-width: 1000px) {
  .action-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 39; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(252, 250, 248, .95); backdrop-filter: saturate(160%) blur(10px); border-top: 1px solid var(--line); }
  .action-bar a { display: inline-flex; align-items: center; justify-content: center; padding: .8rem .5rem; border-radius: 999px; font-weight: 600; font-size: .92rem; text-decoration: none; border: 1px solid var(--teal); color: var(--teal); background: var(--surface); }
  .action-bar a.primary { background: var(--teal); color: #fff; }
  body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
}

/* ---------- map ---------- */
.map { aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Phones: a taller before/after window centred on the mouth. Both halves share the same
   object-position, so the incisor registration of the two crops is preserved. */
@media (max-width: 860px) {
  .ba { aspect-ratio: 3 / 2; }
  .ba img { object-position: 29% 50%; }
}

/* Keyboard focus on the before/after slider: its range input is invisible, so ring the frame. */
.ba:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 3px; }
