:root {
  --bg: #f8f6f2;
  --surface: #fffdf9;
  --text: #121212;
  --muted: #4f4944;
  --line: #d7c2b1;
  --accent: #dcc4b1;
  --accent-strong: #b08968;
  --shadow: 0 20px 50px rgba(18, 18, 18, 0.08);
  --container: min(1596px, calc(100vw - clamp(48px, 8vw, 160px)));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Poppins", "Segoe UI", sans-serif;
  background: #fbfaf8;
  color: var(--text);
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 965px;
  color: #fff;
  overflow: hidden;
  background: url("details/Rectangle%201@2x.png") center top / cover no-repeat #a9aaae;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(165, 166, 174, 0.22) 0%, rgba(165, 166, 174, 0.08) 44%, rgba(70, 50, 36, 0.08) 100%),
    rgba(0, 0, 0, 0.08);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 965px;
}

.site-nav {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(0.75rem, 1.7vw, 2rem);
  padding-top: 76px;
}

.site-nav__group {
  display: flex;
  gap: clamp(1rem, 3.15vw, 3.8rem);
  flex-wrap: nowrap;
  font-size: clamp(14px, 1.1vw, 21px);
  line-height: 1.1;
  align-items: flex-start;
}

.nav-item {
  display: inline-flex;
  align-items: flex-start;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  min-height: 32px;
  padding-bottom: 14px;
  white-space: nowrap;
}

.nav-trigger {
  align-self: flex-start;
}

.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.8);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-item:hover > .nav-trigger::after,
.nav-item:focus-within > .nav-trigger::after,
.nav-item.is-open > .nav-trigger::after {
  opacity: 1;
  transform: scaleX(1);
}

.mega-menu {
  position: absolute;
  top: 152px;
  left: 50%;
  z-index: 12;
  width: 100vw;
  min-height: 814px;
  padding: 72px 0 102px;
  color: #171717;
  background: #dedede;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  visibility: hidden;
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -52px;
  height: 52px;
}

.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu,
.nav-item.is-open > .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.mega-menu__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 514px) minmax(0, 1fr);
  gap: clamp(4rem, 7vw, 9rem);
  align-items: start;
}

.mega-menu__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.1;
}

.mega-menu__links a,
.mega-menu__links strong {
  font: inherit;
  color: inherit;
}

.mega-menu__links strong {
  margin-top: 2px;
  font-weight: 700;
}

.mega-menu__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 37px;
}

.mega-card {
  position: relative;
  display: block;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: #c9c9c9;
}

.mega-card img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.mega-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.34) 100%);
}

.mega-card span {
  position: absolute;
  left: 32px;
  right: 105px;
  bottom: 29px;
  z-index: 1;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.12;
}

.mega-card i {
  position: absolute;
  right: 32px;
  bottom: 37px;
  z-index: 1;
  width: 68px;
  height: 1px;
  background: currentColor;
}

.mega-card i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 16px;
  height: 16px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.mega-menu__cards--products {
  gap: 46px;
}

.mega-product {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
}

.mega-product img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.site-nav__group--right {
  justify-content: flex-end;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  line-height: 1;
  margin-top: -29px;
}

.brand__name {
  font-size: clamp(52px, 3.75vw, 72px);
  font-weight: 500;
}

.brand__sub {
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 500;
}

.hero__text {
  margin-top: auto;
  padding-bottom: 251px;
  max-width: 660px;
}

.hero h1 {
  margin: 0 0 39px;
  font-size: 45px;
  line-height: 1.35;
  font-weight: 500;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 737px);
  min-height: 68px;
  border: 1px solid currentColor;
  padding: 0 56px;
  font-size: 28px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta__arrow,
.program-card__arrow,
.section-heading__arrows span {
  position: relative;
  display: inline-block;
  width: 111px;
  height: 1px;
  background: currentColor;
}

.cta__arrow::after,
.program-card__arrow::after,
.section-heading__arrows span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.9rem;
  height: 0.9rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}

.cta--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(3px);
}

.hero .cta {
  width: min(100%, 571px);
  padding: 0 34px;
  font-size: 21px;
}

.tagline {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.tagline p {
  margin: 0;
  padding: 42px 0 39px;
  color: var(--accent);
  font-size: 32px;
  font-weight: 600;
}

.section {
  padding: 126px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 543px;
  gap: 126px;
  align-items: start;
}

.two-column--about {
  width: min(1760px, calc(100vw - 96px));
  padding-left: 81px;
  padding-right: 0;
  grid-template-columns: minmax(0, 1fr) 543px;
  gap: 150px;
}

.two-column--about .copy-block {
  padding-top: 95px;
}

.copy-block h2 {
  margin: 0 0 71px;
  font-size: 40px;
  letter-spacing: 0;
  line-height: 1.25;
  font-weight: 600;
}

.copy-block p {
  margin: 0 0 0;
  max-width: 50rem;
  color: #202020;
  font-size: 18px;
  line-height: 1.48;
}

.copy-block .eyebrow {
  margin: 0 0 73px;
  color: #202020;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: 0;
}

.copy-block .cta {
  margin-top: 58px;
  color: var(--text);
}

.two-column--about .cta span:first-child {
  white-space: nowrap;
}

.review-card,
.team-card {
  position: relative;
}

.review-card img,
.team-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.review-card__meta,
.team-card__meta {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 33px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #fff;
  font-size: 18px;
  align-items: center;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.program-card h3,
.treatment-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 500;
}

.program-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0;
  color: #fff;
  transform: translateY(-54px);
  padding: 0 32px;
}

.program-card__title-row h3 {
  margin: 0;
}

.program-card__arrow {
  width: 65px;
}

.program-card p {
  margin: 42px auto 0;
  max-width: 310px;
  text-align: center;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.stats {
  padding-top: 92px;
  padding-bottom: 128px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 88px;
  font-weight: 600;
  letter-spacing: 0;
}

.stat span {
  display: block;
  color: #161616;
  font-size: 19px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 90px;
  justify-content: center;
  margin-bottom: 62px;
}

.section-heading h2 {
  margin: 0;
  font-size: 40px;
}

.section-heading__arrows {
  display: flex;
  gap: 1.3rem;
}

.section-heading__arrows span:first-child::after {
  right: auto;
  left: 0;
  border-right: 0;
  border-left: 1px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(6, 300px);
  gap: 24px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.6rem;
  scrollbar-width: none;
}

.treatment-grid::-webkit-scrollbar {
  display: none;
}

.treatment-card {
  min-width: 300px;
}

.treatment-card__media {
  height: 501px;
  margin-bottom: 31px;
  background:
    linear-gradient(45deg, rgba(18, 18, 18, 0.06) 25%, transparent 25%) 0 0 / 3rem 3rem,
    linear-gradient(-45deg, rgba(18, 18, 18, 0.06) 25%, transparent 25%) 0 0 / 3rem 3rem,
    linear-gradient(45deg, transparent 75%, rgba(18, 18, 18, 0.06) 75%) 0 0 / 3rem 3rem,
    linear-gradient(-45deg, transparent 75%, rgba(18, 18, 18, 0.06) 75%) 0 0 / 3rem 3rem,
    #f5f4f2;
}

.treatment-card h3 {
  margin: 0 0 23px;
  font-size: 25px;
  line-height: 1.25;
}

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

.button-solid {
  display: inline-block;
  margin-top: 57px;
  padding: 22px 31px;
  background: #000;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

.two-column--founders {
  width: 100%;
  grid-template-columns: minmax(0, 873px) minmax(0, 1fr);
  gap: 151px;
  align-items: center;
}

.two-column--founders .copy-block {
  max-width: 737px;
  padding-right: 40px;
}

.gift-banner {
  position: relative;
  min-height: 776px;
  background: url("details/Rectangle%2015@2x.png") center center / cover no-repeat;
}

.gift-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 32, 30, 0.32) 0%, rgba(30, 32, 30, 0.18) 100%);
}

.gift-banner__content {
  position: relative;
  z-index: 1;
  min-height: 776px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.gift-banner .cta {
  width: 377px;
  padding: 0 33px;
  font-size: 23px;
}

.site-footer {
  overflow: hidden;
  background:
    linear-gradient(180deg, #faf8f4 0%, #f7f3ee 100%),
    var(--bg);
  padding: 2rem 0 5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  line-height: 0.9;
}

.footer-brand__name {
  font-size: clamp(6rem, 16vw, 16rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.footer-brand__sub {
  font-size: clamp(2.3rem, 6vw, 6rem);
  font-weight: 400;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  width: fit-content;
}

@media (max-width: 1500px) {
  .two-column--about {
    width: var(--container);
    padding-left: 0;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 38vw);
    gap: clamp(4rem, 6vw, 5rem);
  }

  .two-column--about .copy-block {
    padding-top: 60px;
  }

  .copy-block .cta {
    gap: 1.5rem;
    padding: 0 2rem;
    font-size: 18px;
  }

  .copy-block .cta .cta__arrow {
    width: 80px;
  }

  .mega-menu {
    top: 142px;
    min-height: 700px;
    padding: 56px 0 84px;
  }

  .mega-menu__inner {
    grid-template-columns: minmax(250px, 38vw) minmax(0, 1fr);
    gap: clamp(2.8rem, 5vw, 5.5rem);
  }

  .mega-menu__links {
    gap: 13px;
    font-size: clamp(13px, 1.15vw, 17px);
  }

  .mega-menu__cards {
    gap: 24px;
  }

  .mega-card,
  .mega-card img,
  .mega-product img {
    min-height: 0;
    height: min(48vw, 520px);
  }

  .mega-card span {
    left: 22px;
    right: 78px;
    bottom: 23px;
    font-size: clamp(16px, 1.55vw, 22px);
  }

  .mega-card i {
    right: 24px;
    bottom: 30px;
    width: 54px;
  }
}

@media (max-width: 1100px) {
  :root {
    --container: min(100vw - 48px, 1440px);
  }

  .hero,
  .hero__content {
    min-height: min(965px, 115vw);
  }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
    justify-items: stretch;
  }

  .site-nav__group {
    flex-wrap: nowrap;
    gap: 0.9rem;
    font-size: clamp(0.72rem, 1.4vw, 0.95rem);
  }

  .site-nav__group,
  .site-nav__group--right {
    justify-content: flex-start;
  }

  .site-nav__group--right {
    justify-content: flex-end;
  }

  .brand {
    margin-top: -13px;
  }

  .brand__name {
    font-size: clamp(2.4rem, 5.4vw, 4rem);
  }

  .brand__sub {
    font-size: clamp(0.85rem, 1.9vw, 1.1rem);
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34vw);
    gap: 2rem;
  }

  .two-column--about {
    width: var(--container);
    padding-left: 0;
    padding-right: 0;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34vw);
    gap: 2rem;
  }

  .two-column--about .copy-block {
    padding-top: 0;
  }

  .copy-block h2 {
    margin-bottom: 2.3rem;
    font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  }

  .copy-block .eyebrow {
    margin-bottom: 2.3rem;
    font-size: clamp(0.72rem, 1.7vw, 1rem);
  }

  .copy-block p {
    font-size: clamp(0.74rem, 1.65vw, 1rem);
  }

  .copy-block .cta {
    margin-top: 2rem;
    gap: 1.25rem;
    padding: 0 1.5rem;
    font-size: clamp(0.9rem, 1.55vw, 1.05rem);
  }

  .copy-block .cta .cta__arrow {
    width: 56px;
  }

  .review-card__meta,
  .team-card__meta {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    flex-wrap: nowrap;
    gap: 0.55rem;
    font-size: clamp(0.62rem, 1.45vw, 0.9rem);
  }

  .program-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .program-card__title-row {
    transform: translateY(-34px);
    padding: 0 0.7rem;
  }

  .program-card h3 {
    font-size: clamp(0.58rem, 1.25vw, 0.85rem);
    line-height: 1.15;
  }

  .program-card__arrow {
    width: 38px;
  }

  .program-card p {
    margin-top: 1.4rem;
    font-size: clamp(0.72rem, 1.65vw, 0.95rem);
    line-height: 1.35;
  }

  .stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .stat strong {
    white-space: nowrap;
    font-size: clamp(2rem, 5.6vw, 3.7rem);
  }

  .stat span {
    font-size: clamp(0.74rem, 1.7vw, 1rem);
  }

  .two-column--founders {
    grid-template-columns: minmax(0, 48vw) minmax(0, 1fr);
    gap: 2rem;
  }

  .review-card,
  .team-card {
    max-width: none;
  }

  .treatment-grid {
    grid-template-columns: repeat(6, 220px);
  }

  .treatment-card {
    min-width: 220px;
  }

  .treatment-card__media {
    height: 367px;
  }

  .mega-menu {
    top: 124px;
    min-height: 590px;
    padding: 44px 0 66px;
  }

  .mega-menu__inner {
    grid-template-columns: minmax(210px, 36vw) minmax(0, 1fr);
    gap: 2rem;
  }

  .mega-menu__links {
    gap: 10px;
    font-size: 12px;
  }

  .mega-menu__cards {
    gap: 16px;
  }

  .mega-card,
  .mega-card img,
  .mega-product img {
    height: 420px;
  }

  .mega-card span {
    left: 14px;
    right: 56px;
    bottom: 16px;
    font-size: 14px;
  }

  .mega-card i {
    right: 14px;
    bottom: 23px;
    width: 36px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100vw - 32px);
  }

  .hero {
    min-height: 44rem;
    background-position: 60% center;
  }

  .hero__video {
    object-position: 60% center;
  }

  .hero__content {
    min-height: 44rem;
  }

  .site-nav {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-top: 1.5rem;
    justify-items: center;
  }

  .brand {
    order: -1;
    margin-top: 0;
  }

  .brand__name {
    font-size: 3.8rem;
  }

  .brand__sub {
    font-size: 1.15rem;
  }

  .site-nav__group {
    gap: 0.9rem 1.4rem;
    font-size: 0.95rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-link,
  .nav-trigger {
    min-height: auto;
    padding-bottom: 0;
  }

  .mega-menu {
    top: calc(100% + 0.8rem);
    width: calc(100vw - 24px);
    min-height: 0;
    max-height: calc(100dvh - 11rem);
    padding: 1.25rem 1rem 1.5rem;
    overflow-y: auto;
    transform: translateX(-50%) translateY(0.5rem);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  }

  .mega-menu::before {
    top: -1rem;
    height: 1rem;
  }

  .mega-menu__inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mega-menu__links {
    gap: 0.65rem;
    max-width: none;
    font-size: 0.92rem;
  }

  .mega-menu__cards,
  .mega-menu__cards--products {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .mega-card,
  .mega-card img {
    height: 220px;
  }

  .mega-product img {
    height: 240px;
    object-fit: contain;
  }

  .mega-card span {
    left: 1rem;
    right: 4rem;
    bottom: 1rem;
    font-size: 1rem;
  }

  .mega-card i {
    right: 1rem;
    bottom: 1.4rem;
    width: 2.5rem;
  }

  .hero__text {
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .tagline p {
    font-size: 1.5rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .two-column,
  .two-column--about,
  .two-column--founders {
    grid-template-columns: 1fr;
  }

  .copy-block p {
    font-size: 1.04rem;
    line-height: 1.72;
  }

  .cta {
    width: 100%;
    min-width: 0;
    font-size: 0.92rem;
    gap: 1rem;
    padding: 0 1rem;
  }

  .cta__arrow {
    width: 3rem;
  }

  .program-grid,
  .stats__grid {
    grid-template-columns: 1fr;
  }

  .program-card__title-row {
    padding: 0 1rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand {
    align-items: flex-start;
  }
}
