:root {
  --black: #0a0a0a;
  --charcoal: #2f2c28;
  --muted: #746f68;
  --line: #ded6ca;
  --gold: #b08d57;
  --paper: #ffffff;
  --warm: #faf8f5;
  --soft-gold: rgba(176, 141, 87, 0.18);
  --shadow: 0 24px 80px rgba(10, 10, 10, 0.08);
  --radius: 8px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Libre Franklin", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a[href],
button {
  cursor: pointer;
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nav {
  width: min(1360px, calc(100% - 32px));
  min-height: 110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.brand-logo {
  width: 188px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(7px, 0.75vw, 12px);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-item {
  position: relative;
}

.nav-link,
.dropdown-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 10px clamp(8px, 0.7vw, 12px);
  background: transparent;
  color: var(--charcoal);
  font: inherit;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease-out, border-color 150ms ease-out;
}

.nav-link:hover,
.dropdown-toggle:hover,
.nav-link:focus-visible,
.dropdown-toggle:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  outline: none;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 38px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  min-width: 240px;
  display: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 38px;
}

.nav-item.is-open .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--charcoal);
  font-size: 14px;
  transition: color 150ms ease-out, background-color 150ms ease-out;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--warm);
  color: var(--gold);
  outline: none;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 14px clamp(18px, 1.35vw, 24px);
  background: var(--black);
  color: var(--paper);
  font-size: clamp(12px, 0.9vw, 13px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(10, 10, 10, 0);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.button.secondary {
  background: transparent;
  color: var(--black);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(10, 10, 10, 0.14);
}

.button:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(10, 10, 10, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: box-shadow 180ms ease-out;
  }

  .button:hover,
  .button:focus-visible,
  .button:active {
    transform: none;
  }
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-video {
  min-height: 680px;
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.16)),
    radial-gradient(circle at 25% 20%, rgba(176, 141, 87, 0.26), transparent 28%),
    linear-gradient(135deg, #f7f3ee, #ffffff 45%, #efe7db);
}

.hero-video-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
  color: var(--paper);
}

.video-slot {
  width: fit-content;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.16);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker,
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-video .kicker {
  color: var(--paper);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1;
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.1;
}

.lead {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(18px, 2vw, 21px);
}

section {
  padding: 82px 0;
}

.band {
  border-block: 1px solid var(--line);
  background: var(--warm);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.services-hero {
  min-height: 480px;
  display: grid;
  align-items: end;
  padding: 92px 0 72px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.34), rgba(10, 10, 10, 0.26) 48%, rgba(250, 248, 245, 0.08)),
    url("assets/services/services-header.jpg") center 40% / cover no-repeat;
}

.services-hero .container {
  color: var(--paper);
}

.services-hero .eyebrow {
  color: var(--paper);
}

.services-hero h1 {
  max-width: none;
  margin-bottom: 20px;
  color: var(--paper);
  font-size: clamp(44px, 5vw, 70px);
  white-space: nowrap;
}

.services-hero .lead {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.teaser-card,
.placeholder-card,
.info-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}

.info-card {
  justify-content: flex-start;
}

.teaser-card p,
.placeholder-card p,
.info-card p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  cursor: pointer;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(176, 141, 87, 0.72);
  box-shadow:
    0 0 0 2px rgba(176, 141, 87, 0.3),
    0 12px 28px rgba(176, 141, 87, 0.2),
    0 18px 42px rgba(10, 10, 10, 0.1);
  transform: translateY(-4px);
  outline: none;
}

.service-card-media {
  position: relative;
  height: clamp(220px, 22vw, 300px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(176, 141, 87, 0.15), rgba(176, 141, 87, 0)),
    var(--warm);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-card-media.is-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.auto-fade-media img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.auto-fade-media img.is-active {
  opacity: 1;
}

.service-card-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  transition: background-color 200ms ease-out;
}

.service-card:hover .service-card-body,
.service-card:focus-visible .service-card-body {
  background: rgba(176, 141, 87, 0.08);
}

.service-card-body h2 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(30px, 3vw, 42px);
}

.service-card-body p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  border-top: 1px solid var(--line);
  background: var(--warm);
}

.cta-panel {
  display: grid;
  justify-items: start;
  gap: 18px;
  max-width: 720px;
}

.cta-panel h2 {
  margin-bottom: 0;
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  width: fit-content;
  border-bottom: 1px solid var(--gold);
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 150ms ease-out, border-color 150ms ease-out;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  outline: none;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--warm);
  padding: 88px 0 64px;
}

.page-hero .container {
  display: grid;
  gap: 18px;
}

.page-hero.services-hero {
  min-height: 480px;
  display: grid;
  align-items: end;
  padding: 92px 0 72px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.34), rgba(10, 10, 10, 0.26) 48%, rgba(250, 248, 245, 0.08)),
    url("assets/services/services-header.jpg") center 40% / cover no-repeat;
}

.page-hero.conditions-hero {
  min-height: 480px;
  display: grid;
  align-items: end;
  padding: 92px 0 72px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/conditions/skinconcerns-header.jpg") center 40% / cover no-repeat;
}

.page-hero.conditions-hero .container {
  color: var(--paper);
}

.page-hero.conditions-hero .eyebrow {
  color: #d8b46b;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.page-hero.conditions-hero h1 {
  max-width: 760px;
  margin-bottom: 0;
  line-height: 1;
}

.page-hero.conditions-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.page-hero.hydrodiamond-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/services/hydrodiamond-header.jpg") center 40% / cover no-repeat;
}

.page-hero.microneedling-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/services/microneedling-header.jpg") center 40% / cover no-repeat;
}

.page-hero.biorepeel-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/services/biorepeel-header.jpg") center 40% / cover no-repeat;
}

.page-hero.glo2-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/services/glo2-header.jpg") center 40% / cover no-repeat;
}

.page-hero.lash-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/services/lash-header.jpg") center 40% / cover no-repeat;
}

.page-hero.waxing-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/services/waxing-header.jpg") center 40% / cover no-repeat;
}

.page-hero:is(.hydrodiamond-hero, .microneedling-hero, .biorepeel-hero, .glo2-hero, .lash-hero, .waxing-hero) .container {
  color: var(--paper);
}

.page-hero:is(.hydrodiamond-hero, .microneedling-hero, .biorepeel-hero, .glo2-hero, .lash-hero, .waxing-hero) .eyebrow {
  color: #d8b46b;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.page-hero:is(.hydrodiamond-hero, .microneedling-hero, .biorepeel-hero, .glo2-hero, .lash-hero, .waxing-hero) .lead {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero .button {
  width: fit-content;
  max-width: 100%;
  justify-self: start;
}

.page-hero.services-hero .container {
  width: min(760px, calc(100% - 32px));
  margin-left: clamp(16px, 6vw, 96px);
  margin-right: auto;
  color: var(--paper);
}

.page-hero.services-hero h1 {
  max-width: none;
  margin-bottom: 20px;
  color: var(--paper);
  font-size: clamp(44px, 5vw, 70px);
  white-space: nowrap;
}

.page-hero.services-hero .lead {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.placeholder-marker {
  width: fit-content;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-tile {
  min-height: 230px;
  display: grid;
  align-content: end;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--warm);
  color: var(--muted);
}

.results-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.result-pair-card {
  --result-object-position: center 48%;
  --result-crop-scale: 1.08;
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  cursor: pointer;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}

.result-pair-card:hover,
.result-pair-card:focus-within {
  border-color: rgba(176, 141, 87, 0.72);
  box-shadow:
    0 0 0 2px rgba(176, 141, 87, 0.3),
    0 12px 28px rgba(176, 141, 87, 0.2),
    0 18px 42px rgba(10, 10, 10, 0.1);
  transform: translateY(-4px);
}

.result-pair-card:nth-child(1) {
  --result-object-position: center 45%;
}

.result-pair-card:nth-child(2),
.result-pair-card:nth-child(3) {
  --result-object-position: center 46%;
  --result-crop-scale: 1.04;
}

.result-pair-card:nth-child(4),
.result-pair-card:nth-child(6) {
  --result-object-position: center 50%;
  --result-crop-scale: 1.1;
}

.result-pair-card:nth-child(5) {
  --result-object-position: center 50%;
  --result-crop-scale: 1.12;
}

.result-pair-card:nth-child(7),
.result-pair-card:nth-child(9) {
  --result-object-position: center 48%;
}

.result-pair-card:nth-child(8) {
  --result-object-position: center 48%;
  --result-crop-scale: 1.12;
}

.result-pair-title {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 200ms ease-out;
}

.result-pair-card:hover .result-pair-title,
.result-pair-card:focus-within .result-pair-title {
  background: rgba(176, 141, 87, 0.08);
}

.result-pair-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
  align-self: stretch;
}

.result-pair-images figure {
  min-width: 0;
  margin: 0;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(36px, auto);
  height: 100%;
  border-right: 0;
  background: var(--paper);
  overflow: hidden;
}

.result-pair-images figure:last-child {
  border-right: 0;
}

.result-image-frame {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  aspect-ratio: 4 / 5;
  border: 0;
  overflow: hidden;
  background: transparent;
}

.result-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--result-object-position);
  display: block;
  transform: scale(var(--result-crop-scale));
  transform-origin: var(--result-object-position);
}

.result-pair-images figcaption {
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

@property --smoke-clear {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.after-reveal-overlay {
  --smoke-clear: 0%;
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.after-reveal-overlay::before,
.after-reveal-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.after-reveal-overlay::before {
  z-index: 1;
  background: #b08d57;
  transition: background-color 150ms ease-out, box-shadow 150ms ease-out;
}

.after-reveal-overlay:hover::before,
.after-reveal-overlay:focus-visible::before {
  background: #a9814d;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.46),
    inset 0 0 22px rgba(255, 255, 255, 0.18);
}

.after-reveal-figure.is-revealing .after-reveal-overlay::before {
  -webkit-mask-image: radial-gradient(
    circle at 50% 50%,
    transparent var(--smoke-clear),
    rgba(0, 0, 0, 0.18) calc(var(--smoke-clear) + 9%),
    rgba(0, 0, 0, 0.72) calc(var(--smoke-clear) + 18%),
    #000 calc(var(--smoke-clear) + 30%)
  );
  mask-image: radial-gradient(
    circle at 50% 50%,
    transparent var(--smoke-clear),
    rgba(0, 0, 0, 0.18) calc(var(--smoke-clear) + 9%),
    rgba(0, 0, 0, 0.72) calc(var(--smoke-clear) + 18%),
    #000 calc(var(--smoke-clear) + 30%)
  );
}

.after-reveal-overlay::after {
  z-index: 2;
  opacity: 0;
  background:
    radial-gradient(circle at 42% 48%, rgba(255, 255, 255, 0.24), transparent 16%),
    radial-gradient(circle at 58% 52%, rgba(255, 255, 255, 0.18), transparent 18%),
    radial-gradient(circle at 50% 46%, rgba(176, 141, 87, 0.92), transparent 34%);
  filter: blur(18px);
  transform: scale(0.55);
}

.after-reveal-overlay:focus-visible,
.after-recover-button:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: -5px;
}

.after-reveal-text {
  position: relative;
  z-index: 3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: text-shadow 150ms ease-out;
}

.after-reveal-overlay:hover .after-reveal-text,
.after-reveal-overlay:focus-visible .after-reveal-text {
  text-shadow: 0 2px 12px rgba(10, 10, 10, 0.28);
}

.after-reveal-applicator {
  position: absolute;
  left: 7%;
  bottom: 10%;
  z-index: 4;
  width: 68px;
  color: var(--paper);
  opacity: 0;
  transform: translate(-12%, 18%) rotate(-8deg);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.after-reveal-applicator svg {
  display: block;
  width: 100%;
  height: auto;
}

.applicator-body {
  fill: rgba(255, 255, 255, 0.92);
}

.applicator-neck,
.applicator-tip {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.applicator-detail {
  fill: #b08d57;
}

.after-recover-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(10, 10, 10, 0.52);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, box-shadow 150ms ease-out, border-color 150ms ease-out;
}

.after-recover-button:hover,
.after-recover-button:focus-visible {
  border-color: rgba(176, 141, 87, 0.9);
  box-shadow:
    0 0 0 2px rgba(176, 141, 87, 0.3),
    0 0 14px 1px rgba(176, 141, 87, 0.22);
}

.after-reveal-figure.is-revealing .after-reveal-overlay {
  animation: afterRevealOverlayClear 2300ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.after-reveal-figure.is-revealing .after-reveal-overlay::before {
  animation: smokeMaskClear 2300ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.after-reveal-figure.is-revealing .after-reveal-overlay::after {
  animation: smokePlume 2300ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.after-reveal-figure.is-revealing .after-reveal-text {
  animation: revealTextFade 220ms ease forwards;
}

.after-reveal-figure.is-revealing .after-reveal-applicator {
  animation: applicatorTrace 2100ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.after-reveal-figure.is-revealed .after-reveal-overlay {
  opacity: 0;
  pointer-events: none;
}

.after-reveal-figure.is-revealed .after-recover-button {
  opacity: 1;
  pointer-events: auto;
}

@keyframes afterRevealOverlayClear {
  0% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes smokeMaskClear {
  0% {
    --smoke-clear: 0%;
    filter: blur(0);
  }
  58% {
    --smoke-clear: 52%;
    filter: blur(4px);
  }
  100% {
    --smoke-clear: 105%;
    filter: blur(12px);
  }
}

@keyframes smokePlume {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  24% {
    opacity: 0.78;
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@keyframes revealTextFade {
  to {
    opacity: 0;
  }
}

@keyframes applicatorTrace {
  0% {
    opacity: 0;
    transform: translate(-12%, 18%) rotate(-8deg);
  }
  16% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(420%, -205%) rotate(5deg);
  }
}

.result-treatment-caption {
  position: absolute;
  left: 14px;
  bottom: 54px;
  z-index: 2;
  margin: 0;
  max-width: calc(100% - 28px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(10, 10, 10, 0.58);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.result-pair-card:hover .result-treatment-caption,
.result-pair-card:focus-within .result-treatment-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .result-treatment-caption {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .after-reveal-overlay,
  .after-reveal-applicator,
  .after-recover-button {
    animation: none !important;
    transition: none;
  }
}

.device-slot {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  background: var(--warm);
  color: var(--muted);
}

.about-story-section {
  padding: clamp(58px, 8vw, 118px) 0;
  background: var(--paper);
}

.about-story-layout {
  display: block;
}

.about-story-copy {
  max-width: 780px;
}

.about-story-copy h2 {
  margin-bottom: 24px;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.98;
}

.about-story-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.72;
}

.about-story-copy p:first-of-type {
  color: var(--charcoal);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.5;
}

.about-story-copy p:last-child {
  margin-bottom: 0;
  color: var(--charcoal);
  font-weight: 700;
}

@media (max-width: 820px) {
  .about-story-layout {
    display: block;
  }
}

.devices-formulas-hero {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.62), rgba(10, 10, 10, 0.28)),
    var(--charcoal);
}

.formula-section {
  padding: clamp(58px, 8vw, 118px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.formula-section-biorepeel {
  background: var(--warm);
}

.formula-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.formula-layout-reverse {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.formula-layout-glo {
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 58px);
}

.formula-layout-glo .formula-copy {
  max-width: 900px;
}

.formula-layout-biorepeel {
  display: block;
}

.formula-layout-biorepeel .formula-copy {
  max-width: 1040px;
}

.formula-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.formula-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0 22px 24px;
  background: var(--paper);
  cursor: pointer;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}

.formula-card:hover,
.formula-card:focus-visible {
  border-color: rgba(176, 141, 87, 0.72);
  box-shadow:
    0 0 0 2px rgba(176, 141, 87, 0.3),
    0 12px 28px rgba(176, 141, 87, 0.2),
    0 18px 42px rgba(10, 10, 10, 0.1);
  outline: none;
  transform: translateY(-4px);
}

.formula-card img {
  width: calc(100% + 44px);
  margin: 0 -22px 8px;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: var(--warm);
}

.formula-card h2 {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 0.98;
  transition: color 200ms ease-out;
}

.formula-card:hover h2,
.formula-card:focus-visible h2 {
  color: var(--gold);
}

.formula-copy {
  display: grid;
  gap: 18px;
}

.formula-page-title,
.formula-copy h2,
.formula-copy h3,
.formula-copy h4 {
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
}

.formula-page-title,
.formula-copy h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 86px);
}

.formula-card h2 sub,
.formula-page-title sub,
.formula-copy h2 sub {
  font-size: 0.48em;
  line-height: 0;
}

.formula-copy h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
}

.formula-copy h4 {
  margin: 10px 0 0;
  font-size: clamp(22px, 2vw, 30px);
}

.formula-copy p,
.formula-list li {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
}

.formula-tagline {
  color: var(--charcoal);
  font-weight: 700;
}

.formula-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.formula-list li {
  position: relative;
  padding-left: 22px;
}

.formula-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.formula-offering {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.formula-media-stack {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}

.formula-video-panel,
.formula-photo-pair img,
.formula-media-single img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--warm);
  object-fit: cover;
}

.formula-video-panel {
  max-width: none;
  justify-self: stretch;
  overflow: hidden;
  padding: 0;
  background: var(--paper);
}

.formula-video {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: var(--radius);
  background: var(--warm);
  object-fit: cover;
}

.formula-photo-pair {
  display: contents;
}

.formula-photo-pair img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 48%;
}

.formula-section-cta {
  grid-column: 1 / -1;
  margin-top: clamp(10px, 2vw, 22px);
}

.formula-offering-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.formula-offering-intro > div {
  display: grid;
  gap: 16px;
}

.formula-support-media {
  width: 100%;
  max-width: 420px;
  justify-self: stretch;
  margin: 0;
}

.formula-support-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  object-fit: cover;
  object-position: center 42%;
  padding: 0;
}

.formula-media-single {
  position: sticky;
  top: 96px;
}

.formula-media-single img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  padding: 20px;
  background: var(--paper);
}

@media (max-width: 900px) {
  .formula-layout,
  .formula-layout-reverse,
  .formula-layout-glo,
  .formula-card-grid {
    grid-template-columns: 1fr;
  }

  .formula-media-stack,
  .formula-offering-intro {
    grid-template-columns: 1fr;
  }

  .formula-video-panel,
  .formula-media-single {
    position: relative;
    top: auto;
    max-width: 520px;
  }

  .formula-section-cta {
    margin-top: 4px;
  }
}

@media (max-width: 620px) {
  .formula-photo-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .formula-video-panel,
  .formula-support-media {
    width: min(100%, 390px);
    justify-self: start;
  }
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 42px 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-logo {
  width: 138px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.footer-meta {
  color: var(--muted);
  font-size: 13px;
}

.footer-credit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-credit span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-credit img {
  width: 110px;
  height: auto;
  opacity: 0.85;
}

@media (max-width: 1040px) {
  .nav {
    width: min(100% - 24px, 1180px);
    grid-template-columns: 184px minmax(0, 1fr) auto;
    gap: 6px;
  }

  .brand-logo {
    width: 180px;
  }

  .nav-link,
  .dropdown-toggle {
    padding-inline: 3px;
    font-size: 11px;
  }

  .button {
    min-height: 42px;
    padding-inline: 11px;
    font-size: 10.5px;
  }

  .teaser-grid,
  .card-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero.services-hero h1 {
    max-width: 980px;
    font-size: clamp(48px, 7vw, 86px);
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .nav,
  .footer-inner,
  .teaser-grid,
  .card-grid,
  .service-grid,
  .page-grid,
  .results-gallery {
    grid-template-columns: 1fr;
  }

  .nav {
    min-height: auto;
    padding: 18px 0;
    justify-items: start;
  }

  .nav-links {
    justify-content: start;
    flex-wrap: wrap;
  }

  .dropdown-menu {
    left: 0;
    transform: none;
  }

  .hero-video {
    min-height: 560px;
  }

  .services-hero {
    min-height: 420px;
    padding: 70px 0 54px;
    background-position: center center;
  }

  section {
    padding: 58px 0;
  }
}

/* Condition detail hero backgrounds */
.page-hero.acne-scarring-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/conditions/acneheader1.png") center 40% / cover no-repeat;
}
.page-hero.hyperpigmentation-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/conditions/pigmentationheader1.png") center 40% / cover no-repeat;
}
.page-hero.texture-pores-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/conditions/textureheader1.png") center 40% / cover no-repeat;
}
.page-hero.sensitivity-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/conditions/sensitivityheader1.png") center 40% / cover no-repeat;
}
.page-hero.aging-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/conditions/agingheader1.png") center 40% / cover no-repeat;
}

/* Condition detail hero text treatment */
.page-hero:is(.acne-scarring-hero, .hyperpigmentation-hero, .texture-pores-hero, .sensitivity-hero, .aging-hero) .container {
  color: var(--paper);
}
.page-hero:is(.acne-scarring-hero, .hyperpigmentation-hero, .texture-pores-hero, .sensitivity-hero, .aging-hero) .eyebrow {
  color: #d8b46b;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}
.page-hero:is(.acne-scarring-hero, .hyperpigmentation-hero, .texture-pores-hero, .sensitivity-hero, .aging-hero) .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* About + Results page hero backgrounds */
.page-hero.about-hero {
  min-height: clamp(460px, 58vw, 680px);
  display: grid;
  align-items: center;
  background-color: var(--charcoal);
  background-image:
    linear-gradient(90deg, rgba(10, 10, 10, 0.62), rgba(10, 10, 10, 0.36) 48%, rgba(10, 10, 10, 0.1)),
    url("assets/about-hero-almayra.png");
  background-position: center center, 58% 22%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
.page-hero.results-hero {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.58), rgba(10, 10, 10, 0.42) 48%, rgba(10, 10, 10, 0.22)),
    url("assets/beforeafterheader.png") center 40% / cover no-repeat;
}

/* About + Results hero text treatment */
.page-hero:is(.about-hero, .results-hero) .container {
  color: var(--paper);
}
.page-hero:is(.about-hero, .results-hero) .eyebrow {
  color: #d8b46b;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}
.page-hero:is(.about-hero, .results-hero) .lead {
  color: rgba(255, 255, 255, 0.9);
}
.page-hero:is(.about-hero, .results-hero) .placeholder-marker {
  border-color: rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
}

@media (min-width: 1100px) {
  .services-hero,
  .page-hero.services-hero,
  .page-hero.conditions-hero,
  .page-hero:is(.lash-hero, .waxing-hero),
  .page-hero:is(.acne-scarring-hero, .hyperpigmentation-hero, .texture-pores-hero, .sensitivity-hero, .aging-hero) {
    background-position: center center, center 47%;
  }

  .page-hero:is(.hydrodiamond-hero, .microneedling-hero, .biorepeel-hero, .glo2-hero),
  .page-hero.results-hero {
    background-position: center center, center 50%;
  }

  .page-hero.about-hero {
    background-position: center center, 58% 56%;
  }
}

/* Site-wide CTA lift: applies only to button-styled CTAs, not nav text links or gallery controls. */
a.button,
button.button {
  cursor: pointer;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
  will-change: transform;
}

a.button:hover,
a.button:focus-visible,
button.button:hover,
button.button:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 3px rgba(176, 141, 87, 0.34),
    0 0 18px 2px rgba(176, 141, 87, 0.26),
    0 12px 26px rgba(10, 10, 10, 0.18);
}

a.button:active,
button.button:active {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 2px rgba(176, 141, 87, 0.3),
    0 0 12px 1px rgba(176, 141, 87, 0.22),
    0 7px 16px rgba(10, 10, 10, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  a.button,
  button.button {
    transition: box-shadow 180ms ease-out;
  }

  a.button:hover,
  a.button:focus-visible,
  a.button:active,
  button.button:hover,
  button.button:focus-visible,
  button.button:active {
    transform: none;
  }

  .service-card:hover,
  .service-card:focus-visible,
  .formula-card:hover,
  .formula-card:focus-visible,
  .result-pair-card:hover,
  .result-pair-card:focus-within {
    transform: none;
  }
}
