:root {
  --atlas-cocoa: #413033;
  --atlas-porcelain: #f8f8fb;
  --atlas-white: #fff;
  --atlas-lilac: #e3e3f5;
  --atlas-lilac-wash: #f2f1fa;
  --atlas-sand: #e7c091;
  --atlas-ash: #b2adbb;
  --atlas-ease: cubic-bezier(.2, .7, .2, 1);
}

.medical-atlas-page {
  color: var(--atlas-cocoa);
  background: var(--atlas-porcelain);
  overflow-x: clip;
}

.medical-atlas-page .main-wrap {
  overflow: visible;
}

.medical-atlas-page a:focus-visible,
.medical-atlas-page button:focus-visible,
.medical-atlas-page input:focus-visible {
  outline: 2px solid var(--atlas-cocoa);
  outline-offset: 4px;
}

.atlas-header {
  width: 100%;
}

.atlas-header .header__menu {
  z-index: 12;
}

.atlas-header .menu__close {
  padding: 0;
  border: 0;
}

.atlas-header .menu__link[aria-current="page"]::before {
  width: 100%;
}

.atlas-main {
  overflow: visible;
}

.atlas-hero {
  position: relative;
  min-height: 760px;
  height: 100vh;
  overflow: hidden;
  background: var(--atlas-lilac-wash);
}

.atlas-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  content: "";
  background: var(--atlas-sand);
}

.atlas-hero__photo {
  position: absolute;
  overflow: hidden;
}

.atlas-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlas-hero__photo--primary {
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
}

.atlas-hero__photo--primary img {
  object-position: 48% center;
  animation: atlas-hero-drift 12s var(--atlas-ease) both;
}

.atlas-hero__photo--secondary {
  z-index: 2;
  top: 31%;
  left: 41%;
  width: 18%;
  height: 38%;
  border: 12px solid var(--atlas-porcelain);
}

.atlas-hero__photo--secondary img {
  object-position: center 28%;
}

.atlas-hero__intro {
  position: absolute;
  z-index: 3;
  top: 45%;
  left: max(50px, calc((100vw - 1920px) / 2 + 100px));
  width: 245px;
}

.atlas-hero__intro p {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.atlas-hero__intro a {
  font-family: "HelveticaNowDisplay-Medium", sans-serif;
  font-size: 15px;
  display: inline-block;
  padding-bottom: 6px;
  color: var(--atlas-cocoa);
  border-bottom: 1px solid currentColor;
}

.atlas-hero__title {
  position: absolute;
  z-index: 4;
  left: max(50px, calc((100vw - 1920px) / 2 + 100px));
  bottom: 7vh;
  display: flex;
  flex-direction: column;
  width: min(750px, 55vw);
  margin: 0;
  font-size: clamp(78px, 7.4vw, 142px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.045em;
  color: var(--atlas-cocoa);
}

.atlas-hero__title span:last-child {
  margin-left: .42em;
}

.atlas-hero::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .38;
  clip-path: inset(0 100% 0 0);
  background:
    linear-gradient(var(--atlas-cocoa), var(--atlas-cocoa)) 4% 19% / 68px 1px no-repeat,
    linear-gradient(var(--atlas-cocoa), var(--atlas-cocoa)) 4% 19% / 1px 68px no-repeat,
    linear-gradient(var(--atlas-cocoa), var(--atlas-cocoa)) 24% 25.5% / 25% 1px no-repeat,
    linear-gradient(var(--atlas-cocoa), var(--atlas-cocoa)) 34% 28% / 15% 1px no-repeat,
    linear-gradient(var(--atlas-cocoa), var(--atlas-cocoa)) 46% 97% / 68px 1px no-repeat,
    linear-gradient(var(--atlas-cocoa), var(--atlas-cocoa)) calc(46% + 67px) 91% / 1px 68px no-repeat;
  animation: atlas-editorial-reveal 1.35s .55s var(--atlas-ease) forwards;
}

.atlas-hero__geometry svg {
  display: none;
}

.atlas-hero__geometry {
  position: absolute;
  z-index: 3;
  right: calc(50% - 52px);
  bottom: 13%;
  width: 220px;
  pointer-events: none;
}

.atlas-hero__geometry span {
  position: absolute;
  top: 51px;
  right: 50px;
  width: 170px;
  height: 1px;
  transform-origin: right center;
  background: var(--atlas-cocoa);
  animation: atlas-line-in 1.1s .5s var(--atlas-ease) both;
}

.atlas-hero__geometry svg {
  width: 102px;
  height: 102px;
  margin-left: auto;
  fill: none;
  stroke: var(--atlas-cocoa);
  stroke-width: 1;
}

.atlas-hero__geometry circle {
  stroke-dasharray: 310;
  animation: atlas-circle-in 1.2s .45s var(--atlas-ease) both;
}

.atlas {
  position: relative;
  height: 1700vh;
  min-height: 12920px;
  background: var(--atlas-lilac);
}

.medical-atlas-page[data-atlas-mode="preview"] .atlas {
  height: 200vh;
  min-height: 1520px;
}

.medical-atlas-page[data-atlas-mode="preview"] .atlas__trigger:not([data-atlas-trigger="Acne"]):not([data-atlas-trigger="Wrinkles"]) {
  display: none;
}

.atlas__pin {
  position: sticky;
  z-index: 2;
  top: 0;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--atlas-lilac);
}

.atlas__inner {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(42px, 4vw, 78px);
  width: 100%;
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  padding: clamp(42px, 6vh, 70px) 100px;
}

.atlas-index {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: stretch;
}

.atlas-index__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(18px, 2.5vh, 30px);
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(65, 48, 51, .55);
}

.atlas-index__heading h2 {
  margin: 0;
  font-size: 35px;
  line-height: 1;
}

.atlas-index__heading span {
  font-family: "HelveticaNowDisplay-Medium", sans-serif;
  font-size: 13px;
}

.atlas-index__list {
  display: grid;
  flex: 1;
  grid-template-rows: repeat(17, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  counter-reset: atlas-concern;
}

.atlas-index__list li {
  display: flex;
  min-height: 0;
  align-items: center;
  list-style: none;
  counter-increment: atlas-concern;
}

.atlas-index__list a,
.atlas-index__list li > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding-left: 19px;
  font-size: clamp(15px, 1.28vw, 19px);
  line-height: 1.1;
  color: rgba(65, 48, 51, .63);
}

.atlas-index__list a {
  color: rgba(65, 48, 51, .79);
}

.atlas-index__list a::before {
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  transition: transform .35s var(--atlas-ease), background-color .35s var(--atlas-ease);
  transform: scale(.45);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.atlas-index__list a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 19px;
  height: 1px;
  content: "";
  transition: transform .3s var(--atlas-ease);
  transform: scaleX(0);
  transform-origin: left center;
  background: currentColor;
}

.atlas-index__list a:hover {
  color: var(--atlas-cocoa);
}

.atlas-index__list a:hover::after {
  transform: scaleX(1);
}

.atlas-index__list a.is-active,
.atlas-index__list a[aria-current="true"] {
  font-family: "HelveticaNowDisplay-Medium", sans-serif;
  color: var(--atlas-cocoa);
}

.atlas-index__list a.is-active::before,
.atlas-index__list a[aria-current="true"]::before {
  transform: scale(1);
  background: var(--atlas-cocoa);
}

.atlas-index__list a.is-active::after,
.atlas-index__list a[aria-current="true"]::after {
  transform: scaleX(0);
}

.atlas-index__note {
  max-width: 180px;
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(65, 48, 51, .7);
}

.atlas-stage {
  display: grid;
  min-width: 0;
  height: 100%;
  grid-template-columns: minmax(430px, 1.35fr) minmax(320px, .8fr);
  align-items: center;
}

.atlas-stage__visual {
  position: relative;
  width: 100%;
  height: min(76vh, 700px);
  min-height: 540px;
}

.atlas-portrait {
  position: absolute;
  top: 0;
  left: 0;
  width: 77%;
  height: 88%;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: clip-path .75s var(--atlas-ease), opacity .35s ease;
  clip-path: inset(0 0 100% 0);
}

.atlas-portrait.is-active {
  z-index: 2;
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.atlas-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1.045);
  transition: transform 1.2s var(--atlas-ease);
  object-fit: cover;
}

.atlas-portrait.is-active img {
  transform: scale(1);
}

.atlas-portrait[data-atlas-media="Acne"] img {
  object-position: 54% center;
}

.atlas-portrait[data-atlas-media="AcneScars"] img {
  object-position: 54% center;
}

.atlas-portrait[data-atlas-media="BrownSpots"] img {
  object-position: 72% center;
}

.atlas-portrait[data-atlas-media="Cysts"] img {
  object-position: 50% 32%;
}

.atlas-portrait[data-atlas-media="DoubleChin"] img {
  object-position: 50% 20%;
}

.atlas-portrait[data-atlas-media="EnlargedPores"] img {
  object-position: center 42%;
}

.atlas-portrait[data-atlas-media="ExcessiveSweating"] img {
  object-position: center 38%;
}

.atlas-portrait[data-atlas-media="Fat"] img {
  object-position: center 24%;
}

.atlas-portrait[data-atlas-media="HairLoss"] img {
  object-position: center 16%;
}

.atlas-portrait[data-atlas-media="Hyperpigmentation"] img {
  object-position: center 38%;
}

.atlas-portrait[data-atlas-media="LooseSkin"] img {
  object-position: 52% center;
}

.atlas-portrait[data-atlas-media="Melasma"] img {
  object-position: 72% center;
}

.atlas-portrait[data-atlas-media="Rosacea"] img {
  object-position: center 38%;
}

.atlas-portrait[data-atlas-media="SkinTag"] img {
  object-position: 25% center;
}

.atlas-portrait[data-atlas-media="ThinLips"] img {
  object-position: 58% center;
}

.atlas-portrait[data-atlas-media="Warts"] img {
  object-position: center 36%;
}

.atlas-portrait[data-atlas-media="Wrinkles"] img {
  object-position: 52% center;
}

.atlas-detail {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  width: 43%;
  height: 47%;
  overflow: hidden;
  border: 12px solid var(--atlas-lilac);
  background: var(--atlas-sand);
}

.atlas-detail__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.atlas-detail img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.24) translate3d(0, 2%, 0);
  transition: opacity .45s ease, transform 1s var(--atlas-ease);
  object-fit: cover;
}

.atlas-detail img.is-active {
  opacity: 1;
  transform: scale(1.16) translate3d(0, 0, 0);
}

.atlas-detail img[data-atlas-detail-image="Acne"] {
  object-position: 33% 38%;
}

.atlas-detail img[data-atlas-detail-image="AcneScars"] {
  object-position: 33% 38%;
}

.atlas-detail img[data-atlas-detail-image="BrownSpots"] {
  object-position: 73% 42%;
}

.atlas-detail img[data-atlas-detail-image="Cysts"] {
  object-position: 48% 32%;
}

.atlas-detail img[data-atlas-detail-image="DoubleChin"] {
  object-position: 50% 22%;
}

.atlas-detail img[data-atlas-detail-image="EnlargedPores"] {
  object-position: 50% 44%;
}

.atlas-detail img[data-atlas-detail-image="ExcessiveSweating"] {
  object-position: 73% 43%;
}

.atlas-detail img[data-atlas-detail-image="Fat"] {
  object-position: 50% 26%;
}

.atlas-detail img[data-atlas-detail-image="HairLoss"] {
  object-position: 50% 5%;
}

.atlas-detail img[data-atlas-detail-image="Hyperpigmentation"] {
  object-position: 50% 40%;
}

.atlas-detail img[data-atlas-detail-image="LooseSkin"] {
  object-position: 28% 40%;
}

.atlas-detail img[data-atlas-detail-image="Melasma"] {
  object-position: 73% 42%;
}

.atlas-detail img[data-atlas-detail-image="Rosacea"] {
  object-position: 50% 40%;
}

.atlas-detail img[data-atlas-detail-image="SkinTag"] {
  object-position: 10% 42%;
}

.atlas-detail img[data-atlas-detail-image="ThinLips"] {
  object-position: 60% 54%;
}

.atlas-detail img[data-atlas-detail-image="Warts"] {
  object-position: 50% 38%;
}

.atlas-detail img[data-atlas-detail-image="Wrinkles"] {
  object-position: 28% 40%;
}

.atlas-stage__geometry {
  position: absolute;
  z-index: 5;
  right: 8%;
  top: 34%;
  width: 165px;
  height: 82px;
  pointer-events: none;
}

.atlas-stage__geometry span {
  position: absolute;
  top: 41px;
  right: 41px;
  width: 124px;
  height: 1px;
  background: var(--atlas-cocoa);
}

.atlas-stage__geometry svg {
  width: 82px;
  height: 82px;
  margin-left: auto;
  fill: rgba(227, 227, 245, .16);
  stroke: var(--atlas-cocoa);
  stroke-width: 1;
}

.atlas-stage__copy {
  position: relative;
  height: min(76vh, 700px);
  min-height: 540px;
  border-left: 1px solid rgba(65, 48, 51, .38);
}

.atlas-study {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7% 0 8% clamp(34px, 4vw, 66px);
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s ease, transform .55s var(--atlas-ease), visibility 0s linear .55s;
  transform: translate3d(0, 28px, 0);
}

.atlas-study.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  transition-delay: .18s;
  transform: translate3d(0, 0, 0);
}

.atlas-study__count {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(24px, 4vh, 42px);
  padding-bottom: 11px;
  font-family: "HelveticaNowDisplay-Medium", sans-serif;
  font-size: 13px;
  border-bottom: 1px solid rgba(65, 48, 51, .55);
}

.atlas-study h2 {
  max-width: 100%;
  margin: 0 0 clamp(22px, 3vh, 34px);
  font-size: clamp(58px, 5.5vw, 88px);
  line-height: .95;
  letter-spacing: -.035em;
}

.atlas-study p {
  max-width: 440px;
  margin: 0 0 clamp(28px, 4vh, 48px);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}

.atlas-study--compact {
  padding-top: 5%;
  padding-bottom: 6%;
}

.atlas-study--compact .atlas-study__count {
  margin-bottom: clamp(18px, 2.5vh, 28px);
}

.atlas-study--compact h2 {
  margin-bottom: clamp(16px, 2.2vh, 24px);
  font-size: clamp(46px, 4vw, 64px);
}

.atlas-study--compact > p {
  margin-bottom: clamp(18px, 2.5vh, 28px);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.5;
}

.atlas-study--dense {
  padding-top: 3%;
  padding-bottom: 3%;
}

.atlas-study--dense .atlas-study__count {
  margin-bottom: 12px;
}

.atlas-study--dense h2 {
  margin-bottom: 12px;
  font-size: clamp(44px, 3.7vw, 58px);
}

.atlas-study--dense > p {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.42;
}

.atlas-study__details {
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(65, 48, 51, .48);
}

.atlas-study__details details {
  border-top: 1px solid rgba(65, 48, 51, .48);
}

.atlas-study__details summary {
  position: relative;
  padding: 9px 28px 9px 0;
  font-family: "HelveticaNowDisplay-Medium", sans-serif;
  font-size: 13px;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.atlas-study__details summary::-webkit-details-marker {
  display: none;
}

.atlas-study__details summary::before,
.atlas-study__details summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 1px;
  content: "";
  background: currentColor;
}

.atlas-study__details summary::after {
  transform: rotate(90deg);
  transition: transform .25s var(--atlas-ease);
}

.atlas-study__details details[open] summary::after {
  transform: rotate(0);
}

.atlas-study__details details p {
  margin: 0;
  padding: 0 26px 10px 0;
  font-size: 13px;
  line-height: 1.4;
}

.atlas-study--dense .atlas-study__related {
  padding-top: 10px;
  padding-bottom: 10px;
}

.atlas-study__related-group {
  border-bottom: 1px solid rgba(65, 48, 51, .48);
}

.atlas-study__related {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  color: var(--atlas-cocoa);
  border-top: 1px solid rgba(65, 48, 51, .48);
}

.atlas-study > .atlas-study__related {
  border-bottom: 1px solid rgba(65, 48, 51, .48);
}

.atlas-study__related span {
  font-size: 12px;
  line-height: 1.2;
  color: rgba(65, 48, 51, .7);
}

.atlas-study__related strong {
  position: relative;
  padding-right: 23px;
  font-family: "HelveticaNowDisplay-Medium", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: right;
}

.atlas-study__related strong::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 12px;
  content: "";
  transition: transform .3s var(--atlas-ease);
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.atlas-study__related:hover {
  color: var(--atlas-cocoa);
}

.atlas-study__related:hover strong::after {
  transform: translate(4px, -50%) rotate(45deg);
}

.atlas-stage__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: clamp(34px, 4vw, 66px);
  height: 1px;
  background: rgba(65, 48, 51, .28);
}

.atlas-stage__progress span {
  display: block;
  width: 5.88235%;
  height: 1px;
  transition: transform .65s var(--atlas-ease);
  transform: scaleX(1);
  transform-origin: left center;
  background: var(--atlas-cocoa);
}

.medical-atlas-page[data-atlas-state="AcneScars"] .atlas-stage__progress span {
  transform: scaleX(2);
}

.medical-atlas-page[data-atlas-state="BrownSpots"] .atlas-stage__progress span {
  transform: scaleX(3);
}

.medical-atlas-page[data-atlas-state="Cysts"] .atlas-stage__progress span {
  transform: scaleX(4);
}

.medical-atlas-page[data-atlas-state="DoubleChin"] .atlas-stage__progress span {
  transform: scaleX(5);
}

.medical-atlas-page[data-atlas-state="EnlargedPores"] .atlas-stage__progress span {
  transform: scaleX(6);
}

.medical-atlas-page[data-atlas-state="ExcessiveSweating"] .atlas-stage__progress span {
  transform: scaleX(7);
}

.medical-atlas-page[data-atlas-state="Fat"] .atlas-stage__progress span {
  transform: scaleX(8);
}

.medical-atlas-page[data-atlas-state="HairLoss"] .atlas-stage__progress span {
  transform: scaleX(9);
}

.medical-atlas-page[data-atlas-state="Hyperpigmentation"] .atlas-stage__progress span {
  transform: scaleX(10);
}

.medical-atlas-page[data-atlas-state="LooseSkin"] .atlas-stage__progress span {
  transform: scaleX(11);
}

.medical-atlas-page[data-atlas-state="Melasma"] .atlas-stage__progress span {
  transform: scaleX(12);
}

.medical-atlas-page[data-atlas-state="Rosacea"] .atlas-stage__progress span {
  transform: scaleX(13);
}

.medical-atlas-page[data-atlas-state="SkinTag"] .atlas-stage__progress span {
  transform: scaleX(14);
}

.medical-atlas-page[data-atlas-state="ThinLips"] .atlas-stage__progress span {
  transform: scaleX(15);
}

.medical-atlas-page[data-atlas-state="Warts"] .atlas-stage__progress span {
  transform: scaleX(16);
}

.medical-atlas-page[data-atlas-state="Wrinkles"] .atlas-stage__progress span {
  transform: scaleX(17);
}

.atlas__scroll {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 1px;
  pointer-events: none;
}

.atlas__trigger {
  width: 1px;
  height: 100vh;
  min-height: 760px;
  scroll-margin-top: 0;
}

.atlas-exit {
  background: var(--atlas-white);
}

.atlas-exit .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 105px;
  padding-bottom: 105px;
}

.atlas-exit p {
  max-width: 650px;
  margin: 0;
  font-family: "Hatton-Medium", sans-serif;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.2;
}

.medical-atlas-page .footer__copyright,
.medical-atlas-page .footer__address {
  color: var(--atlas-cocoa);
}

.no-js .atlas {
  height: auto;
  min-height: 0;
}

.no-js .atlas__pin {
  position: relative;
  height: auto;
}

.no-js .atlas__scroll {
  display: none;
}

@keyframes atlas-hero-drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1) translate3d(0, 0, 0); }
}

@keyframes atlas-line-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes atlas-circle-in {
  from { stroke-dashoffset: 310; }
  to { stroke-dashoffset: 0; }
}

@keyframes atlas-editorial-reveal {
  to { clip-path: inset(0); }
}

@media screen and (max-width: 1400px) {
  .atlas__inner {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 42px;
    padding-right: 70px;
    padding-left: 70px;
  }

  .atlas-stage {
    grid-template-columns: minmax(380px, 1.25fr) minmax(300px, .8fr);
  }
}

@media screen and (max-width: 1024px) {
  .atlas-hero__photo--primary {
    width: 55%;
  }

  .atlas-hero::before {
    width: 55%;
  }

  .atlas-hero__photo--secondary {
    left: 37%;
    width: 23%;
  }

  .atlas-hero__intro,
  .atlas-hero__title {
    left: 50px;
  }

  .atlas-hero__geometry {
    right: calc(45% - 48px);
  }

  .atlas,
  .medical-atlas-page[data-atlas-mode="preview"] .atlas {
    height: auto;
    min-height: 0;
  }

  .atlas__pin {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .atlas__inner {
    display: block;
    padding: 70px 50px 90px;
  }

  .atlas-index {
    margin-bottom: 70px;
  }

  .atlas-index__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 8px 28px;
  }

  .atlas-index__list li {
    min-height: 34px;
  }

  .atlas-index__note {
    max-width: none;
  }

  .atlas-stage {
    display: block;
  }

  .atlas-stage__visual {
    height: 680px;
    min-height: 0;
    margin-bottom: 50px;
  }

  .atlas-stage__copy {
    height: auto;
    min-height: 0;
    border-left: 0;
  }

  .atlas-study {
    position: relative;
    inset: auto;
    display: none;
    padding: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .atlas-study.is-active {
    display: flex;
  }

  .atlas-stage__progress {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 50px;
  }

  .atlas__scroll {
    display: none;
  }

  .atlas-exit .container {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 768px) {
  .atlas-hero::after {
    opacity: .32;
    background:
      linear-gradient(var(--atlas-cocoa), var(--atlas-cocoa)) 6% 22% / 42% 1px no-repeat,
      linear-gradient(var(--atlas-cocoa), var(--atlas-cocoa)) 90% 96% / 40px 1px no-repeat,
      linear-gradient(var(--atlas-cocoa), var(--atlas-cocoa)) calc(90% + 39px) 91.5% / 1px 40px no-repeat;
  }

  .atlas-header .header__logo svg {
    fill: var(--atlas-cocoa);
  }

  .atlas-hero {
    min-height: 720px;
  }

  .atlas-hero::before,
  .atlas-hero__photo--primary {
    top: 200px;
    width: 72%;
    height: 48%;
  }

  .atlas-hero__photo--secondary {
    top: 38%;
    left: 9%;
    width: 35%;
    height: 27%;
    border-width: 8px;
  }

  .atlas-hero__intro {
    top: auto;
    bottom: 28px;
    left: 30px;
    width: 220px;
  }

  .atlas-hero__intro p {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .atlas-hero__title {
    top: 132px;
    bottom: auto;
    left: 30px;
    width: calc(100% - 60px);
    font-size: clamp(55px, 17vw, 86px);
  }

  .atlas-hero__title span:last-child {
    margin-left: .22em;
  }

  .atlas-hero__geometry {
    right: 12%;
    bottom: 31%;
    transform: scale(.72);
    transform-origin: right bottom;
  }

  .atlas__inner {
    padding: 55px 30px 70px;
  }

  .atlas-index {
    margin-bottom: 55px;
  }

  .atlas-index__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 20px;
  }

  .atlas-index__list a,
  .atlas-index__list li > span {
    font-size: 15px;
  }

  .atlas-stage__visual {
    height: min(126vw, 620px);
    margin-bottom: 42px;
  }

  .atlas-portrait {
    width: 83%;
    height: 87%;
  }

  .atlas-detail {
    width: 48%;
    height: 42%;
    border-width: 8px;
  }

  .atlas-stage__geometry {
    right: 4%;
    transform: scale(.78);
    transform-origin: right center;
  }

  .atlas-study h2 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .atlas-study p {
    font-size: 16px;
  }

  .atlas-study--compact,
  .atlas-study--dense {
    padding: 0;
  }

  .atlas-study--compact h2,
  .atlas-study--dense h2 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .atlas-study[data-atlas-study="Hyperpigmentation"] h2 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .atlas-study--compact > p,
  .atlas-study--dense > p {
    font-size: 16px;
    line-height: 1.55;
  }

  .atlas-study__related {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .atlas-study__related strong {
    justify-self: start;
    text-align: left;
  }

  .atlas-exit .container {
    display: block;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .atlas-exit p {
    margin-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-hero::after {
    clip-path: inset(0);
    animation: none;
  }

  .atlas-hero__photo--primary img,
  .atlas-hero__geometry span,
  .atlas-hero__geometry circle {
    animation: none;
  }

  .atlas-portrait,
  .atlas-portrait img,
  .atlas-detail img,
  .atlas-study,
  .atlas-stage__progress span {
    transition: none;
  }
}

/* Production medical header and hero refinements. Scoped to medical.html only. */
.medical-primary-page .medical-primary-header .container {
  position: relative;
}

.medical-primary-page .medical-primary-header .header__logo svg {
  fill: var(--atlas-cocoa);
}

.medical-primary-page .medical-primary-header .header__menu {
  position: absolute;
  top: 0;
  right: clamp(300px, 24vw, 420px);
  left: 220px;
}

.medical-primary-page .medical-primary-header .header__menu-inn,
.medical-primary-page .medical-primary-header .menu,
.medical-primary-page .medical-primary-header .menu__list {
  width: 100%;
}

.medical-primary-page .medical-primary-header .menu__list {
  align-items: flex-start;
  gap: clamp(14px, 1.35vw, 24px);
}

.medical-primary-page .medical-primary-header .menu__item {
  padding-right: 0;
  padding-left: 0;
}

.medical-primary-page .medical-primary-header .menu__item:nth-child(4) {
  margin-left: auto;
}

.medical-primary-page .medical-primary-header .menu__item:nth-child(-n+3) .menu__link,
.medical-primary-page .medical-primary-header .menu__item:nth-child(-n+3) .menu__link:hover {
  color: var(--atlas-cocoa);
}

.medical-primary-page .medical-primary-header .menu__item:nth-child(-n+3) .menu__link::before {
  background-color: var(--atlas-cocoa);
}

.medical-primary-page .medical-primary-header .menu__item:nth-child(n+4) .menu__link,
.medical-primary-page .medical-primary-header .menu__item:nth-child(n+4) .menu__link:hover,
.medical-primary-page .medical-primary-header .header__phone,
.medical-primary-page .medical-primary-header .header__phone:hover,
.medical-primary-page .medical-primary-header .header__email,
.medical-primary-page .medical-primary-header .header__email:hover {
  color: var(--atlas-white);
}

.medical-primary-page .medical-primary-header .menu__item:nth-child(n+4) .menu__link::before {
  background-color: var(--atlas-white);
}

.medical-primary-page .medical-primary-header .header__contacts {
  position: absolute;
  z-index: 1;
  top: 30px;
  right: 0;
  margin-left: 0;
}

.medical-primary-page .medical-primary-header .header__phone,
.medical-primary-page .medical-primary-header .header__email {
  text-shadow: 0 1px 5px rgba(65, 48, 51, .28);
}

.medical-primary-page .atlas-hero__intro {
  top: 35%;
  width: min(390px, calc(50vw - 150px));
}

.medical-primary-page .atlas-hero__intro p {
  margin-bottom: 26px;
}

.medical-primary-page .atlas-hero__intro .atlas-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 10px 44px 10px 18px;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
  color: var(--atlas-cocoa);
  border: 1px solid var(--atlas-cocoa);
  border-radius: 0;
  background: transparent;
}

.medical-primary-page .atlas-hero__intro .atlas-hero__cta::before {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 14px;
  height: 1px;
  content: "";
  transition: width .25s ease, background-color .25s ease;
  background-color: currentColor;
}

.medical-primary-page .atlas-hero__intro .atlas-hero__cta::after {
  position: absolute;
  top: calc(50% - 3px);
  right: 18px;
  width: 7px;
  height: 7px;
  content: "";
  transform: rotate(45deg);
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.medical-primary-page .atlas-hero__intro .atlas-hero__cta:hover {
  transform: translateY(-2px);
  color: var(--atlas-white);
  background-color: var(--atlas-cocoa);
}

.medical-primary-page .atlas-hero__intro .atlas-hero__cta:hover::before {
  width: 18px;
}

@media screen and (max-width: 1400px) {
  .medical-primary-page .medical-primary-header .header__menu {
    position: fixed;
    top: 0;
    right: auto;
    left: 0;
  }

  .medical-primary-page .medical-primary-header .header__menu-inn,
  .medical-primary-page .medical-primary-header .menu,
  .medical-primary-page .medical-primary-header .menu__list {
    width: auto;
  }

  .medical-primary-page .medical-primary-header .menu__list {
    align-items: stretch;
    gap: 0;
  }

  .medical-primary-page .medical-primary-header .menu__item:nth-child(4) {
    margin-left: 0;
  }

  .medical-primary-page .medical-primary-header .header__menu .menu__link,
  .medical-primary-page .medical-primary-header .header__menu .menu__link:hover {
    color: var(--atlas-cocoa);
  }

  .medical-primary-page .medical-primary-header .header__menu .menu__link::before {
    background-color: var(--atlas-cocoa);
  }
}

@media screen and (max-width: 1024px) {
  .medical-primary-page .atlas-hero__intro {
    top: 36%;
    width: min(350px, calc(45vw - 80px));
  }
}

@media screen and (max-width: 768px) {
  .medical-primary-page .atlas-hero {
    min-height: 860px;
  }

  .medical-primary-page .atlas-hero__title {
    top: 165px;
  }

  .medical-primary-page .atlas-hero__intro {
    top: auto;
    bottom: 30px;
    left: 30px;
    width: calc(100% - 60px);
  }

  .medical-primary-page .atlas-hero__intro p {
    max-width: 390px;
    margin-bottom: 20px;
  }

  .medical-primary-page .atlas-hero__intro .atlas-hero__cta {
    min-height: 40px;
    padding: 9px 42px 9px 16px;
  }
}

/* ==========================================================================
   MOBILE-ONLY FIX (2026-08-16, Alex): on iPhone the hero title "Medical
   Treatments" merged with the model photo (title 165-274px vs photo from
   200px). Restack for <=768px only: title first, photos below, intro last.
   Desktop (>768px) is NOT affected. Revert = delete this whole block.
   ========================================================================== */
@media screen and (max-width: 768px) {
  .atlas-hero {
    min-height: 820px;
  }

  .atlas-hero__title {
    top: 150px;
  }

  .atlas-hero::before,
  .atlas-hero__photo--primary {
    top: 305px;
    height: 40%;
  }

  .atlas-hero__photo--secondary {
    top: 45%;
  }

  .atlas-hero__intro {
    bottom: 20px;
  }
}
