:root {
  --paper: #f7f1eb;
  --paper-soft: #fbf8f4;
  --cream: #efe3d8;
  --ink: #151313;
  --muted: rgba(21, 19, 19, 0.58);
  --black: #111312;
  --black-soft: #171918;
  --gold: #b58a67;
  --line: rgba(21, 19, 19, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --container: 1200px;
  --side: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 36px;
  width: 100%;
  padding: 28px max(var(--side), calc((100% - var(--container)) / 2));
  color: var(--ink);
  transition: background 260ms ease, padding 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(251, 248, 244, 0.84);
  box-shadow: 0 16px 48px rgba(56, 42, 34, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand svg,
.footer-brand svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand small,
.footer-brand p {
  display: block;
  margin-top: 6px;
  color: rgba(21, 19, 19, 0.54);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 54px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(21, 19, 19, 0.14);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 134px max(var(--side), calc((100% - var(--container)) / 2)) 78px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 248, 244, 0.96) 0%, rgba(251, 248, 244, 0.9) 33%, rgba(251, 248, 244, 0.34) 56%, rgba(251, 248, 244, 0.04) 100%),
    url("assets/hero-generated.png") center right / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 40%, rgba(239, 227, 216, 0.22)),
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.38), transparent 32%);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.discover,
.slide-number {
  position: relative;
  z-index: 2;
}

.hero-copy {
  width: min(620px, 50vw);
}

.eyebrow {
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(3.35rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.9;
}

.hero-actions {
  display: grid;
  gap: 24px;
  width: max-content;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  border-bottom: 1px solid rgba(181, 138, 103, 0.45);
  padding-bottom: 8px;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.text-link.gold {
  color: #d7b38d;
}

.text-link.centered {
  margin: 34px auto 0;
}

.hero-visual {
  display: none;
}

.hero-visual img {
  width: 100%;
  filter: saturate(1.03) contrast(1.02);
}

.discover {
  position: absolute;
  right: max(54px, calc((100% - var(--container)) / 2));
  bottom: 72px;
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(168, 142, 126, 0.34);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.discover span {
  margin-top: -14px;
}

.slide-number {
  position: absolute;
  left: 34px;
  top: 50%;
  color: rgba(21, 19, 19, 0.65);
  font-size: 0.7rem;
}

.slide-number::after {
  content: "";
  display: block;
  width: 1px;
  height: 82px;
  margin: 14px auto 0;
  background: rgba(21, 19, 19, 0.34);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 54px max(var(--side), calc((100% - var(--container)) / 2));
  border-top: 1px solid rgba(21, 19, 19, 0.08);
  border-bottom: 1px solid rgba(21, 19, 19, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.benefits article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  padding: 0 26px;
  border-right: 1px solid rgba(21, 19, 19, 0.12);
}

.benefits article:first-child {
  padding-left: 0;
}

.benefits article:last-child {
  border-right: 0;
  padding-right: 0;
}

.benefits svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.75;
}

.treatments {
  display: block;
  padding: 92px max(var(--side), calc((100% - var(--container)) / 2));
  background: var(--paper-soft);
}

.section-side {
  max-width: 620px;
  margin-bottom: 42px;
}

.section-side h2,
.about h2,
.section-heading h2,
.consult h2 {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4.05rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.section-side h2 {
  max-width: 620px;
  font-size: clamp(2.8rem, 4.35vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: 0.035em;
}

.section-side .text-link {
  max-width: 100%;
  line-height: 1.6;
}

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

.treatment-grid article {
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(181, 138, 103, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(54, 38, 28, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.treatment-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 90px rgba(54, 38, 28, 0.14);
}

.treatment-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
}

.treatment-grid span {
  display: block;
  margin: 26px 22px 18px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.treatment-grid h3 {
  margin: 0 22px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.treatment-grid p {
  margin: 0 22px 24px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--black);
  color: #fff;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.about-copy {
  display: grid;
  align-content: center;
  padding: 78px max(var(--side), calc((100vw - var(--container)) / 2)) 78px 78px;
}

.about-copy .eyebrow {
  color: #cda982;
}

.about-copy h2 {
  max-width: 540px;
  color: #fff;
}

.about-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
  line-height: 1.9;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px max(var(--side), calc((100% - var(--container)) / 2));
  background: linear-gradient(90deg, #111312, #191b1a);
  color: #fff;
}

.stats article {
  text-align: center;
  border-right: 1px solid var(--line-dark);
}

.stats article:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  color: #d7b38d;
  font-family: var(--serif);
  font-size: 2.55rem;
  font-weight: 500;
  line-height: 1;
}

.stats p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.metamorphs {
  padding: 72px max(var(--side), calc((100% - var(--container)) / 2));
  background:
    radial-gradient(circle at 10% 30%, rgba(181, 138, 103, 0.08), transparent 24%),
    var(--paper-soft);
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 38px;
}

.metamorph-frame {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 28px;
}

.metamorph-frame img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(70, 50, 38, 0.12);
}

.metamorph-frame button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(181, 138, 103, 0.48);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  font-size: 1.3rem;
}

.consult {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 58px max(var(--side), calc((100% - var(--container)) / 2));
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(239, 227, 216, 0.7)),
    var(--cream);
}

.consult h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.consult p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 42px;
  padding: 64px max(var(--side), calc((100% - var(--container)) / 2)) 34px;
  background: #121413;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand svg {
  margin-bottom: 14px;
}

.footer-brand strong {
  color: #fff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.58);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.socials span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.site-footer strong {
  display: block;
  margin-bottom: 18px;
  color: #d7b38d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.65;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual[data-reveal] {
  transform: translateY(20px) scale(1.03);
  transition-duration: 900ms;
}

.hero-visual[data-reveal].is-visible {
  transform: translateY(0) scale(1);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 118px;
    background-position: 64% center;
  }

  .hero-copy {
    width: min(560px, 64vw);
  }

  .discover,
  .slide-number {
    display: none;
  }

  .benefits,
  .treatment-grid,
  .stats,
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .treatments {
    gap: 34px;
  }

  .section-side h2 {
    max-width: 520px;
    font-size: clamp(2.55rem, 6vw, 3.55rem);
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding: 64px max(var(--side), calc((100% - var(--container)) / 2));
  }
}

@media (max-width: 720px) {
  :root {
    --side: 18px;
  }

  .site-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand svg {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 1.25rem;
    letter-spacing: 0.2em;
  }

  .brand small {
    font-size: 0.45rem;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .hero {
    min-height: 100svh;
    display: grid;
    align-content: center;
    padding-top: clamp(86px, 10svh, 106px);
    padding-bottom: clamp(22px, 4svh, 36px);
    background:
      linear-gradient(90deg, rgba(251, 248, 244, 0.96) 0%, rgba(251, 248, 244, 0.88) 52%, rgba(251, 248, 244, 0.34) 100%),
      url("assets/hero-generated.png") 62% center / cover no-repeat;
  }

  .hero h1 {
    max-width: min(390px, 92vw);
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.35rem, 11vw, 3.45rem);
    letter-spacing: 0.045em;
    text-align: center;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: min(330px, 88vw);
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
    font-size: clamp(0.8rem, 3.5vw, 0.9rem);
    line-height: 1.58;
    text-align: center;
  }

  .hero-copy {
    width: min(100%, 390px);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.58rem;
    letter-spacing: 0.24em;
  }

  .btn,
  .header-cta {
    min-height: 42px;
  }

  .hero-visual {
    width: 92vw;
    margin-top: 18px;
    margin-bottom: -58px;
  }

  .benefits,
  .treatment-grid,
  .stats,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .benefits {
    padding-top: 34px;
    padding-bottom: 34px;
    gap: 20px;
  }

  .benefits article {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefits article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .treatments,
  .metamorphs {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-side h2,
  .about h2,
  .section-heading h2,
  .consult h2 {
    font-size: 2.35rem;
  }

  .treatment-grid {
    gap: 16px;
  }

  .treatment-grid article {
    min-height: auto;
  }

  .treatment-grid img {
    height: 230px;
  }

  .about-photo img {
    min-height: 260px;
  }

  .about-copy {
    padding-top: 46px;
    padding-bottom: 50px;
  }

  .stats {
    gap: 24px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .stats article {
    border-right: 0;
  }

  .stats strong {
    font-size: 2.1rem;
  }

  .metamorph-frame {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .metamorph-frame button {
    display: none;
  }

  .consult {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .site-footer {
    gap: 28px;
    padding-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
