.tft-treatment-index {
  --tft-index-ink: #0b1220;
  --tft-index-gold: #c58b3f;
  --tft-index-copper: #8f542d;
  --tft-index-cream: #f4f0ea;
  --tft-index-line: #d9d1c6;
  color: #292524;
  background: var(--tft-index-cream);
  overflow-x: clip;
}

.tft-treatment-index a {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tft-treatment-index__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 34rem;
  background: var(--tft-index-ink);
  color: #fff;
}

.tft-treatment-index__hero-media {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 25%, rgba(197, 139, 63, 0.35), transparent 36%),
    linear-gradient(135deg, #202735, #0b1220 70%);
}

.tft-treatment-index__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tft-treatment-index__hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.08), rgba(11, 18, 32, 0.45));
}

.tft-treatment-index__hero-media > span {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 1;
  width: 5rem;
  height: 5rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.tft-treatment-index__hero-media > span::before,
.tft-treatment-index__hero-media > span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%);
}

.tft-treatment-index__hero-media > span::before { width: 1px; height: 7rem; }
.tft-treatment-index__hero-media > span::after { width: 7rem; height: 1px; }

.tft-treatment-index__hero-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.25rem, 3.5vw, 3.5rem) clamp(1.5rem, 5vw, 5.5rem);
}

.tft-treatment-index__breadcrumb {
  display: flex;
  gap: 0.65rem;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
  color: #9ca3af;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tft-treatment-index__breadcrumb a { color: #e8d5b5; }
.tft-treatment-index__breadcrumb a:hover { color: #fff; }

.tft-treatment-index__eyebrow,
.tft-treatment-category__header p,
.tft-treatment-index__notice > div > p,
.tft-treatment-index__cta > p {
  color: #d6a878;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tft-treatment-index__hero h1 {
  max-width: 12ch;
  margin-top: 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.tft-treatment-index__intro {
  max-width: 38rem;
  margin-top: 1.35rem;
  color: #cbd0d8;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.tft-treatment-index__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tft-treatment-index__hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.15rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.8rem 1.2rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tft-treatment-index__hero-actions a:first-child {
  border-color: #e8d5b5;
  background: #e8d5b5;
  color: var(--tft-index-ink);
}

.tft-treatment-index__hero-actions a:hover {
  border-color: #fff;
  background: #fff;
  color: var(--tft-index-ink);
}

.tft-treatment-index__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(1.75rem, 2.5vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.25rem;
}

.tft-treatment-index__stats div { display: grid; gap: 0.15rem; }
.tft-treatment-index__stats strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; font-weight: 500; }
.tft-treatment-index__stats span { color: #9ca3af; font-size: 0.57rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.tft-treatment-index__finder {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--tft-index-line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.06);
  backdrop-filter: blur(12px);
}

.admin-bar .tft-treatment-index__finder { top: 32px; }

.tft-treatment-index__finder-inner {
  width: min(100%, 1500px);
  margin: 0 auto;
}

.tft-treatment-index__finder nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 1rem;
  scrollbar-width: thin;
}

.tft-treatment-index__finder nav a {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 4rem;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1rem;
  color: #57534e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tft-treatment-index__finder nav a:hover {
  border-color: var(--tft-index-copper);
  color: var(--tft-index-copper);
}

.tft-treatment-index__finder nav small {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--tft-index-cream);
  color: #78716c;
  font-size: 0.58rem;
  letter-spacing: 0;
}

.tft-treatment-index__directory {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4rem);
}

.tft-treatment-category {
  scroll-margin-top: 8rem;
}

.tft-treatment-category + .tft-treatment-category {
  margin-top: clamp(5rem, 9vw, 9rem);
}

.tft-treatment-category__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #a8a29e;
  padding-bottom: 1.5rem;
}

.tft-treatment-category__header > span {
  color: var(--tft-index-copper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
}

.tft-treatment-category__header h2 {
  margin-top: 0.35rem;
  color: var(--tft-index-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.025em;
}

.tft-treatment-category__header > small {
  color: #78716c;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tft-treatment-category__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.tft-treatment-tile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #ded8cf;
  background: #fff;
  box-shadow: 0 18px 45px -38px rgba(11, 18, 32, 0.75);
}

.tft-treatment-tile__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd6ce;
}

.tft-treatment-tile__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 32, 0.35));
}

.tft-treatment-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tft-treatment-tile:hover .tft-treatment-tile__image img { transform: scale(1.045); }

.tft-treatment-tile__image > span {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  z-index: 1;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
}

.tft-treatment-tile__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.tft-treatment-tile__topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.tft-treatment-tile__topline > span {
  color: var(--tft-index-copper);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tft-treatment-tile__topline > strong {
  color: var(--tft-index-ink);
  font-size: 0.72rem;
  text-align: right;
}

.tft-treatment-tile h3 {
  max-width: 17ch;
  margin-top: 0.8rem;
  color: var(--tft-index-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 0.95;
  text-wrap: balance;
}

.tft-treatment-tile h3 a:hover { color: var(--tft-index-copper); }

.tft-treatment-tile__body > p {
  margin-top: 1rem;
  color: #57534e;
  font-size: 0.84rem;
  line-height: 1.7;
}

.tft-treatment-tile__links {
  margin-top: auto;
  padding-top: 1.35rem;
}

.tft-treatment-tile__links a {
  color: var(--tft-index-copper);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tft-treatment-tile__links a:hover { color: var(--tft-index-ink); }

.tft-treatment-tile__pricing {
  margin-top: 1.25rem;
  border-top: 1px solid var(--tft-index-line);
}

.tft-treatment-tile__pricing > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem 0 0;
  color: var(--tft-index-ink);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tft-treatment-tile__pricing > button b {
  color: var(--tft-index-copper);
  font-size: 1.2rem;
  font-weight: 400;
}

.tft-treatment-tile__pricing > button:hover,
.tft-treatment-tile__pricing > button:focus-visible {
  color: var(--tft-index-copper);
}

.tft-price-dialog {
  width: min(58rem, calc(100% - 2rem));
  max-width: none;
  max-height: min(52rem, calc(100vh - 2rem));
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #292524;
  overflow: visible;
}

.tft-price-dialog::backdrop {
  background: rgba(7, 12, 22, 0.78);
  backdrop-filter: blur(5px);
}

.tft-price-dialog[open] {
  animation: tftPriceDialogIn 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tftPriceDialogIn {
  from { opacity: 0; transform: translateY(1rem) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.tft-price-dialog__panel {
  max-height: min(52rem, calc(100vh - 2rem));
  overflow-y: auto;
  border-top: 4px solid var(--tft-index-gold);
  background: #fff;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.38);
  scrollbar-color: var(--tft-index-copper) #ece7e0;
  scrollbar-width: thin;
}

.tft-price-dialog__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--tft-index-line);
  background: #fff;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.tft-price-dialog__header p {
  color: var(--tft-index-copper);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tft-price-dialog__header h2 {
  margin-top: 0.45rem;
  color: var(--tft-index-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 0.95;
}

.tft-price-dialog__header > div > span {
  display: block;
  margin-top: 0.7rem;
  color: #57534e;
  font-size: 0.75rem;
  font-weight: 700;
}

.tft-price-dialog__header > button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #d6d3d1;
  color: var(--tft-index-ink);
  font-size: 1.7rem;
  line-height: 1;
}

.tft-price-dialog__header > button:hover { border-color: var(--tft-index-copper); color: var(--tft-index-copper); }

.tft-price-dialog__intro {
  max-width: 48rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 2.5rem) 0;
  color: #57534e;
  line-height: 1.75;
}

.tft-price-dialog__prices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 2.5rem) 2.5rem;
}

.tft-price-dialog__prices section {
  min-width: 0;
  background: var(--tft-index-cream);
  padding: 1.1rem 1.25rem;
}

.tft-price-dialog__prices section + section { margin-top: 0; }

.tft-price-dialog__prices h4 {
  margin-bottom: 0.55rem;
  color: var(--tft-index-copper);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tft-price-dialog__prices section > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  border-top: 1px solid #ebe7e1;
  padding: 0.55rem 0;
  font-size: 0.73rem;
  line-height: 1.4;
}

.tft-price-dialog__prices section > div > span { min-width: 0; color: #57534e; }
.tft-price-dialog__prices section > div > span small { display: block; margin-top: 0.15rem; color: #8b847d; font-size: 0.63rem; }
.tft-price-dialog__prices section > div > strong { white-space: nowrap; color: var(--tft-index-ink); }

.tft-price-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--tft-index-line);
  background: var(--tft-index-ink);
  padding: 1.25rem clamp(1.5rem, 4vw, 2.5rem);
  color: #d6d3d1;
}

.tft-price-dialog__footer p { font-size: 0.75rem; line-height: 1.5; }
.tft-price-dialog__footer a { flex: 0 0 auto; color: #e8d5b5; font-size: 0.63rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.tft-price-dialog__footer a:hover { color: #fff; }

body.tft-price-dialog-open { overflow: hidden; }

.tft-treatment-index__notice {
  display: grid;
  gap: 2rem;
  width: min(calc(100% - 2.5rem), 1370px);
  margin: 0 auto clamp(4rem, 8vw, 8rem);
  border-left: 4px solid var(--tft-index-gold);
  background: var(--tft-index-ink);
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #fff;
}

.tft-treatment-index__notice h2 {
  max-width: 12ch;
  margin-top: 0.65rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 0.95;
}

.tft-treatment-index__notice > p { align-self: end; max-width: 40rem; color: #cbd0d8; line-height: 1.8; }

.tft-treatment-index__cta {
  position: relative;
  overflow: hidden;
  background: #d9b77d;
  padding: clamp(4.5rem, 9vw, 8rem) 1.25rem;
  text-align: center;
  color: var(--tft-index-ink);
}

.tft-treatment-index__cta::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(11, 18, 32, 0.15);
  border-radius: 999px;
  content: "";
  transform: translate(-50%, -50%);
}

.tft-treatment-index__cta > * { position: relative; z-index: 1; }
.tft-treatment-index__cta > p { color: #6f4024; }

.tft-treatment-index__cta h2 {
  max-width: 16ch;
  margin: 1rem auto 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 0.9;
}

.tft-treatment-index__cta > div { max-width: 42rem; margin: 1.25rem auto 0; line-height: 1.75; }

.tft-treatment-index__cta > a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  background: var(--tft-index-ink);
  padding: 1rem 1.5rem;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tft-treatment-index__cta > a:hover { background: #fff; color: var(--tft-index-ink); }

@media (min-width: 760px) {
  .tft-treatment-category__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tft-treatment-tile:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr); }
  .tft-treatment-tile:only-child .tft-treatment-tile__image { height: 100%; aspect-ratio: auto; }
  .tft-treatment-index__notice {
    grid-template-columns: minmax(15rem, 20rem) minmax(0, 40rem);
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }
  .tft-treatment-index__notice > p { align-self: center; }
  .tft-price-dialog__prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .tft-treatment-index__hero { grid-template-columns: minmax(0, 1.08fr) minmax(31rem, 0.92fr); }
  .tft-treatment-index__hero-media { min-height: 34rem; }
  .tft-treatment-index__hero-panel { min-height: 34rem; }
  .tft-treatment-category__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tft-treatment-tile:only-child { grid-column: span 2; }
}

@media (max-width: 782px) {
  .admin-bar .tft-treatment-index__finder { top: 46px; }
}

@media (max-width: 520px) {
  .tft-treatment-index__stats { gap: 0.5rem; }
  .tft-treatment-index__stats strong { font-size: 1.6rem; }
  .tft-treatment-category__header { grid-template-columns: auto minmax(0, 1fr); }
  .tft-treatment-category__header > small { grid-column: 2; }
  .tft-price-dialog { width: calc(100% - 1rem); max-height: calc(100vh - 1rem); }
  .tft-price-dialog__panel { max-height: calc(100vh - 1rem); }
  .tft-price-dialog__header { gap: 1rem; }
  .tft-price-dialog__footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .tft-treatment-index *,
  .tft-treatment-index *::before,
  .tft-treatment-index *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
