:root {
  --ink: #17100e;
  --espresso: #24120f;
  --terracotta: #8f4d35;
  --wine: #45131d;
  --paper: #fff8ef;
  --ivory: #f7eee1;
  --muted: rgba(247, 238, 225, .68);
  --line: rgba(247, 238, 225, .15);
  --gold: #d9b765;
  --gold-soft: #f5dfa0;
  --gold-deep: #9f7935;
  --teal: #0e5d59;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --body-font: "Manrope", Arial, sans-serif;
  --display-font: "neulis-sans", "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #0d0b0a;
  color-scheme: dark;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(100deg, rgba(255, 248, 239, .045) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(245, 223, 160, .065), transparent 15rem),
    radial-gradient(ellipse at 50% -14%, rgba(217, 183, 101, .26), transparent 31rem),
    radial-gradient(ellipse at 6% 18%, rgba(143, 77, 53, .42), transparent 20rem),
    radial-gradient(ellipse at 96% 62%, rgba(14, 93, 89, .2), transparent 18rem),
    linear-gradient(180deg, #33180f 0%, #1c0d0b 42%, #100c0b 75%, #090807 100%);
  background-size:
    72px 100%,
    auto,
    auto,
    auto,
    auto,
    auto;
  color: var(--ivory);
  font-family: var(--body-font);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 248, 239, .045), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 7px);
  opacity: .42;
  mix-blend-mode: soft-light;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .34) 74%, rgba(0, 0, 0, .62) 100%);
}

body::selection {
  background: var(--gold);
  color: var(--ink);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  color: inherit;
  font: inherit;
}

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

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

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

.bio-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 448px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(1.55rem, env(safe-area-inset-top)) 1rem 2.8rem;
}

.bio-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 16rem;
  z-index: -1;
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 248, 239, .08), transparent 74%),
    linear-gradient(90deg, transparent, rgba(217, 183, 101, .12), transparent);
  opacity: .7;
}

.profile {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
  padding: .45rem 0 .25rem;
}

.profile__photo-wrap {
  position: relative;
  width: 122px;
  height: 122px;
  margin-bottom: .62rem;
  border-radius: 50%;
  padding: 3px;
  background:
    conic-gradient(from 210deg, #74501e, var(--gold-soft), var(--gold), #76501e, var(--gold-soft), #74501e),
    var(--gold);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, .34),
    0 0 0 1px rgba(255, 248, 239, .12),
    inset 0 0 0 1px rgba(255, 248, 239, .2);
}

.profile__photo-wrap::after {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(245, 223, 160, .28), rgba(143, 77, 53, .16));
  filter: blur(18px);
}

.profile__photo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: 50% 20%;
  border: 3px solid #1a0d0a;
}

.profile h1 {
  width: 100%;
  margin: 0;
  color: var(--paper);
  font-family: var(--display-font);
  font-size: clamp(1.44rem, 5.95vw, 1.92rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 10px 34px rgba(0, 0, 0, .42);
}

.profile__role {
  margin: .24rem 0 0;
  color: var(--gold-soft);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.profile__statement {
  display: grid;
  width: min(100%, 21.5rem);
  margin: 2.65rem 0 0;
  gap: .34rem;
  justify-items: center;
}

.profile__statement strong {
  display: block;
  width: 100%;
  color: var(--paper);
  font-family: var(--display-font);
  font-size: clamp(1.62rem, 7.15vw, 2.16rem);
  font-weight: 800;
  line-height: .98;
  text-wrap: balance;
  text-shadow: 0 18px 44px rgba(0, 0, 0, .4);
}

.profile__statement span {
  position: relative;
  max-width: 22rem;
  color: rgba(247, 238, 225, .72);
  font-size: clamp(.88rem, 3.8vw, .98rem);
  font-weight: 300;
  line-height: 1.42;
  text-wrap: balance;
}

.profile__statement span::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -.42rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 223, 160, .58), transparent);
}

.panel {
  margin-top: 1.2rem;
  padding: .95rem 0 0;
  overflow: hidden;
}

.panel--results {
  margin-top: .28rem;
  padding-top: .42rem;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .56rem;
  padding: 0 .12rem .74rem;
}

.section-title span {
  color: var(--gold-soft);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.section-title h2 {
  position: relative;
  margin: 0;
  color: var(--gold-soft);
  font-family: var(--display-font);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.section-title h2::after {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  margin-left: .55rem;
  vertical-align: middle;
  background: linear-gradient(90deg, rgba(245, 223, 160, .55), transparent);
}

.result-rail,
.clinic-rail {
  --rail-pad: 1rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 56%;
  gap: .82rem;
  margin-inline: -1rem;
  padding: 0 var(--rail-pad) .72rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: var(--rail-pad);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.55rem, #000 calc(100% - 1.55rem), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 1.55rem, #000 calc(100% - 1.55rem), transparent 100%);
}

.result-rail::-webkit-scrollbar,
.clinic-rail::-webkit-scrollbar {
  display: none;
}

.result-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transform: translateZ(0);
}

.result-card::after {
  display: none;
}

.result-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 1px solid rgba(255, 248, 239, .1);
  border-radius: 8px;
  background: #120c0a;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, .33),
    0 0 0 1px rgba(217, 183, 101, .08),
    inset 0 1px 0 rgba(255, 248, 239, .08);
  object-fit: contain;
  transition: transform .45s ease, filter .45s ease;
}

.result-card:active img,
.result-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.04);
}

.result-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: calc(100% - .72rem);
  min-height: 2.05rem;
  margin-top: -.22rem;
  padding: .46rem .54rem;
  border: 1px solid rgba(245, 223, 160, .42);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 248, 239, .055), transparent),
    rgba(17, 11, 10, .82);
  color: var(--paper);
  font-family: var(--display-font);
  font-size: .63rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 248, 239, .08);
}

.actions {
  display: grid;
  gap: .78rem;
  margin-top: 1.18rem;
}

.link-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.7rem;
  padding: .94rem 1.08rem;
  overflow: hidden;
  border: 1px solid rgba(247, 238, 225, .13);
  border-radius: 14px;
  background:
    linear-gradient(140deg, rgba(255, 248, 239, .09), rgba(255, 248, 239, .025)),
    rgba(18, 12, 10, .58);
  color: var(--paper);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 248, 239, .06);
  cursor: pointer;
  font-family: var(--display-font);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.1;
  backdrop-filter: blur(16px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.link-button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .12), transparent 38%, transparent);
  opacity: .52;
}

.link-button span,
.link-button svg {
  position: relative;
  z-index: 1;
}

.link-button:active,
.link-button:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 183, 101, .48);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 248, 239, .08);
}

.link-button--gold {
  color: #24120f;
  background:
    linear-gradient(145deg, #fff4c6 0%, var(--gold-soft) 38%, var(--gold) 72%, #caa454 100%);
  box-shadow:
    0 20px 54px rgba(217, 183, 101, .3),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}

.link-button--gold::before {
  opacity: .7;
  background: linear-gradient(105deg, rgba(255, 255, 255, .38), transparent 42%);
}

.link-button svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-button svg.whatsapp-icon {
  width: 1.34rem;
  height: 1.34rem;
  fill: currentColor;
  stroke: none;
}

.clinic-rail {
  grid-auto-columns: 81%;
}

.clinic-rail figure {
  display: grid;
  grid-template-rows: auto auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.clinic-rail figure::after {
  display: none;
}

.clinic-rail img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  min-height: 0;
  border-radius: 8px;
  background: #120c0a;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .3),
    0 0 0 1px rgba(255, 248, 239, .08);
  object-fit: contain;
}

.clinic-rail figcaption {
  width: max-content;
  max-width: 100%;
  margin-top: .52rem;
  padding-inline: .1rem;
  color: var(--paper);
  font-family: var(--display-font);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 9px 24px rgba(0, 0, 0, .6);
}

.rail-clone {
  pointer-events: auto;
}

.footer {
  display: grid;
  justify-items: center;
  gap: .52rem;
  padding: 1.55rem 0 0;
  color: rgba(247, 238, 225, .54);
  text-align: center;
}

.footer a {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  padding: .6rem .9rem;
  border: 1px solid rgba(247, 238, 225, .13);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 248, 239, .06), rgba(255, 248, 239, .025)),
    rgba(18, 12, 10, .4);
  color: rgba(247, 238, 225, .78);
  font-size: .78rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 248, 239, .06);
}

.footer small {
  max-width: 18rem;
  font-size: .68rem;
  line-height: 1.45;
}

@media (min-width: 520px) {
  .bio-shell {
    padding-top: 2.4rem;
  }

  .result-rail {
    grid-auto-columns: 44%;
  }

  .clinic-rail {
    grid-auto-columns: 72%;
  }
}

@media (min-width: 900px) {
  .bio-shell {
    padding-top: 2.8rem;
  }
}

@media (max-width: 370px) {
  .bio-shell {
    padding-inline: .82rem;
  }

  .result-rail,
  .clinic-rail {
    --rail-pad: .82rem;
    margin-inline: -.82rem;
    padding-inline: .82rem;
  }

  .result-rail {
    grid-auto-columns: 61%;
  }

  .profile h1 {
    font-size: 1.26rem;
  }

  .result-card span {
    font-size: .6rem;
  }

  .profile__photo-wrap {
    width: 112px;
    height: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
