:root {
  --paper: #f7f5f2;
  --milk: #ffffff;
  --stone: #e7e3de;
  --taupe: #958d85;
  --clay: #71384b;
  --night: #171615;
  --brass: #bda982;
  --ink: #1d1b19;
  --soft: #68625d;
  --line: rgba(29, 27, 25, .13);
  --shadow: 0 24px 70px rgba(42, 36, 31, .11);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.shell {
  width: min(1160px, calc(100% - 34px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 254, 250, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(29, 27, 25, 0);
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(189, 169, 130, .9), rgba(113, 56, 75, .75), transparent);
  transform: scaleX(.82);
  transition: opacity .22s ease, transform .22s ease;
}

.topbar.scrolled {
  background: #fffefa;
  border-color: rgba(29, 27, 25, .12);
  box-shadow: 0 18px 46px rgba(29, 27, 25, .10);
}

.topbar.scrolled::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 52px;
  padding: 0;
  transition: opacity .22s ease, transform .22s ease;
}

.logo:hover {
  opacity: .78;
  transform: translateY(-1px);
}

.topbar.scrolled .logo {
  opacity: .94;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 650;
  color: #4b4641;
}

.menu a {
  border-bottom: 1px solid transparent;
  padding: 10px 0;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.menu a:hover,
.menu .active {
  color: var(--clay);
  border-color: var(--clay);
}

.menu .cta {
  padding: 12px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.menu .cta:hover,
.menu .cta.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--milk);
}

.topbar.scrolled .menu .cta {
  border-color: var(--clay);
  box-shadow: 0 10px 26px rgba(113, 56, 75, .12);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--milk);
  color: var(--ink);
  font-size: 0;
  cursor: pointer;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle {
  gap: 4px;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 46px 0 70px;
  background:
    linear-gradient(90deg, rgba(113, 56, 75, .055) 0%, rgba(113, 56, 75, 0) 38%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.kicker {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 5.7vw, 74px);
  max-width: 690px;
}

h2 { font-size: clamp(34px, 4vw, 58px); }
h3 { font-size: 26px; }

.lead {
  color: var(--soft);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 610px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--clay);
  background: var(--clay);
  color: var(--milk);
  font-weight: 750;
}

.button.light {
  background: transparent;
  color: var(--ink);
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--milk);
  box-shadow: var(--shadow);
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 253, 248, .72);
  z-index: 4;
  pointer-events: none;
}

.hero-slider {
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .9s ease, transform 4.5s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0) 46%, rgba(255, 253, 248, .78) 100%);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 8px 12px;
  background: rgba(255, 253, 248, .82);
  border: 1px solid rgba(29, 27, 25, .10);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.hero-slider-meta {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-slider-meta strong {
  padding: 8px 12px;
  background: rgba(255, 253, 248, .78);
  border: 1px solid rgba(29, 27, 25, .10);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-dots {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 253, 248, .72);
  border: 1px solid rgba(29, 27, 25, .10);
}

.hero-dots button {
  width: 24px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(29, 27, 25, .24);
  cursor: pointer;
}

.hero-dots button.active {
  background: var(--clay);
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--milk);
}

.quick-services a {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.quick-services a:last-child { border-right: 0; }
.quick-services strong { display: block; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.quick-services span { color: var(--soft); font-size: 14px; }

.section { padding: 94px 0; }
.section.stone { background: var(--stone); }
.section.milk { background: var(--milk); }

.section-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 38px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head p,
.text p,
.card p,
.price p {
  color: var(--soft);
}

.editorial {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.portrait {
  min-height: 520px;
  background: linear-gradient(155deg, var(--stone) 0%, var(--taupe) 100%);
  box-shadow: var(--shadow);
  filter: saturate(.78) contrast(1.03);
}

.text {
  max-width: 620px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  background: var(--milk);
  padding: 34px;
  min-height: 230px;
}

.service small {
  display: block;
  margin-bottom: 28px;
  color: var(--clay);
  font-weight: 800;
  letter-spacing: .12em;
}

.service p { color: var(--soft); }

.treatments {
  display: grid;
  gap: 34px;
}

.treatment {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: stretch;
  min-height: 430px;
  background: var(--milk);
  border: 1px solid var(--line);
}

.treatment:nth-child(even) {
  grid-template-columns: 1.08fr .92fr;
}

.treatment:nth-child(even) .treatment-image {
  order: 2;
}

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

.treatment-copy {
  padding: clamp(34px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.treatment-copy p {
  color: var(--soft);
  font-size: 17px;
}

.treatment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pill {
  border: 1px solid var(--line);
  padding: 7px 10px;
  color: var(--soft);
  font-size: 13px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 54px;
  align-items: start;
}

.detail-copy {
  display: grid;
  gap: 22px;
}

.detail-copy p {
  color: var(--soft);
  font-size: 18px;
}

.detail-panel {
  position: sticky;
  top: 112px;
  padding: 30px;
  background: var(--milk);
  border: 1px solid var(--line);
}

.detail-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 24px;
}

.detail-panel .button {
  width: 100%;
  margin-top: 20px;
}

.detail-page {
  background:
    linear-gradient(180deg, #151413 0, #151413 430px, var(--paper) 430px, var(--paper) 100%);
}

.detail-page .topbar {
  background: rgba(255, 254, 250, .98);
}

.detail-page .page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 96px) 0 clamp(72px, 8vw, 112px);
  background:
    linear-gradient(115deg, rgba(113, 56, 75, .38), rgba(113, 56, 75, 0) 44%),
    radial-gradient(circle at 88% 16%, rgba(189, 169, 130, .24), transparent 34%),
    #151413;
  color: var(--milk);
}

.detail-page .page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189, 169, 130, .8), transparent);
}

.detail-page .page-hero .shell {
  position: relative;
  z-index: 1;
}

.detail-page .page-hero .crumb {
  color: var(--brass);
}

.detail-page .page-hero h1 {
  max-width: 980px;
  font-size: clamp(56px, 8vw, 112px);
  line-height: .94;
}

.detail-page .page-hero .lead {
  margin-top: 24px;
  color: rgba(255, 253, 248, .72);
  font-size: clamp(20px, 2.2vw, 28px);
}

.detail-page .section {
  padding-top: 0;
}

.detail-page .detail-layout {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
  gap: clamp(30px, 4vw, 58px);
  align-items: start;
  margin-top: -72px;
  background: #fffefa;
  border: 1px solid rgba(29, 27, 25, .10);
  box-shadow: 0 34px 90px rgba(29, 27, 25, .14);
}

.detail-page .detail-copy {
  gap: 28px;
  padding: clamp(38px, 5vw, 68px);
}

.detail-page .detail-copy p {
  max-width: 720px;
  color: #4f4945;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.75;
}

.detail-page .detail-copy p:first-child {
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.42;
}

.detail-page .detail-copy .details {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid rgba(34, 33, 30, .13);
  border-bottom: 1px solid rgba(34, 33, 30, .13);
  background: transparent;
  color: var(--ink);
}

.detail-page .detail-copy .details li {
  min-height: 0;
  padding: 18px 22px 18px 0;
  border-right: 1px solid rgba(34, 33, 30, .1);
  background: transparent;
  display: flex;
  align-items: center;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.detail-page .detail-copy .details li::before {
  position: static;
  flex: 0 0 22px;
  width: 22px;
  height: 2px;
  margin-right: 16px;
  border-radius: 0;
  background: var(--clay);
}

.detail-page .detail-copy .button.light {
  width: fit-content;
  min-width: 240px;
  margin-top: 12px;
}

.detail-page .detail-panel {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  margin: clamp(28px, 3.4vw, 52px) clamp(28px, 3.4vw, 52px) clamp(28px, 3.4vw, 52px) 0;
  background: #151413;
  border: 1px solid rgba(29, 27, 25, .12);
  color: var(--milk);
}

.detail-page .detail-panel img {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.detail-page .detail-panel::after {
  display: none;
}

.detail-page .detail-panel .kicker,
.detail-page .detail-panel h3,
.detail-page .detail-panel p,
.detail-page .detail-panel .button {
  position: relative;
  z-index: 1;
  margin-left: 24px;
  margin-right: 24px;
}

.detail-page .detail-panel .kicker {
  margin-top: 24px;
  color: var(--brass);
}

.detail-page .detail-panel h3 {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--milk);
  font-size: clamp(36px, 4vw, 54px);
}

.detail-page .detail-panel p {
  color: rgba(255, 253, 248, .72);
}

.detail-page .detail-panel .button {
  width: auto;
  margin-bottom: 24px;
  border-color: var(--milk);
  background: var(--milk);
  color: var(--night);
}

.academy-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 42px;
  align-items: start;
}

.academy-aside {
  position: sticky;
  top: 24px;
  background: var(--night);
  color: var(--milk);
  padding: 34px;
}

.academy-aside p {
  color: rgba(255, 255, 255, .72);
}

.academy-aside .button {
  width: 100%;
  margin-top: 18px;
  border-color: var(--milk);
  background: var(--milk);
  color: var(--night);
}

.programs {
  display: grid;
  gap: 18px;
}

.program {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  padding: 34px;
  background: var(--milk);
  border: 1px solid var(--line);
}

.program h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.program p {
  color: var(--soft);
}

.program-price {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.program-price strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.program-price span {
  color: var(--soft);
  font-size: 14px;
}

.academy-page {
  background: #fbfaf7;
}

.academy-hero {
  background:
    linear-gradient(120deg, rgba(113, 56, 75, .14), transparent 45%),
    var(--night);
  color: var(--milk);
}

.academy-hero .crumb {
  color: var(--brass);
}

.academy-hero .lead {
  color: rgba(255, 253, 248, .72);
}

.academy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(34px, 6vw, 84px);
  align-items: end;
}

.academy-hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 253, 248, .22);
  background: rgba(255, 253, 248, .06);
}

.academy-hero-panel span,
.academy-hero-panel a {
  display: block;
  color: var(--brass);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.academy-hero-panel strong {
  display: block;
  margin: 14px 0 24px;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}

.academy-hero-panel a {
  width: max-content;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}

.academy-toolbar {
  position: sticky;
  top: 82px;
  z-index: 60;
  border-bottom: 1px solid rgba(34, 33, 30, .12);
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(18px);
}

.academy-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.academy-nav::-webkit-scrollbar {
  display: none;
}

.academy-nav a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(34, 33, 30, .13);
  background: rgba(255, 253, 248, .62);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.academy-nav a:hover {
  border-color: var(--clay);
  color: var(--clay);
}

.academy-nav span {
  flex: 1 1 auto;
}

.academy-nav .academy-nav-action {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--milk);
}

.academy-info-band {
  padding: 0;
  background: #f6f3ee;
  border-bottom: 1px solid rgba(34, 33, 30, .1);
}

.academy-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.academy-facts article {
  padding: 24px 28px;
  border-left: 1px solid rgba(34, 33, 30, .1);
}

.academy-facts article:last-child {
  border-right: 1px solid rgba(34, 33, 30, .1);
}

.academy-facts small,
.course-price small {
  display: block;
  margin-bottom: 7px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.academy-facts strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.academy-facts span {
  display: block;
  margin-top: 4px;
  color: var(--soft);
}

.academy-board-section {
  background: #fbfaf7;
}

.academy-board {
  display: grid;
  gap: 0;
}

.academy-course {
  display: grid;
  grid-template-columns: 64px minmax(0, .95fr) minmax(280px, .72fr);
  gap: clamp(26px, 4.5vw, 58px);
  align-items: stretch;
  padding: 64px 0;
  border-top: 1px solid rgba(34, 33, 30, .13);
  scroll-margin-top: 160px;
}

.academy-course:first-child {
  padding-top: 10px;
  border-top: 0;
}

.academy-course.reverse {
  grid-template-columns: 64px minmax(280px, .72fr) minmax(0, .95fr);
}

.academy-course.reverse .course-copy {
  grid-column: 3;
}

.academy-course.reverse .course-media {
  grid-column: 2;
  grid-row: 1;
}

.course-number {
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.course-copy h2 {
  max-width: 10ch;
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .95;
}

.course-copy p:not(.kicker) {
  color: var(--soft);
  font-size: 17px;
}

.course-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  background: rgba(34, 33, 30, .13);
  list-style: none;
}

.course-points li {
  min-height: 88px;
  padding: 18px;
  background: #fffdf8;
  color: #4d4842;
  font-weight: 700;
  line-height: 1.35;
}

.course-includes {
  display: grid;
  grid-template-columns: 190px 1fr 1fr 1fr;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid rgba(34, 33, 30, .13);
  border-bottom: 1px solid rgba(34, 33, 30, .13);
  background: rgba(255, 253, 248, .42);
}

.course-includes small {
  padding: 14px 16px 14px 0;
  color: var(--clay);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.course-includes span {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 14px 16px;
  border-left: 1px solid rgba(34, 33, 30, .1);
  color: #4d4842;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .02em;
  white-space: nowrap;
}

.course-media {
  position: relative;
  min-height: 430px;
}

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

.course-price {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 20px;
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 18px 46px rgba(29, 27, 25, .16);
}

.course-price strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.course-price span {
  display: block;
  margin-top: 8px;
  color: var(--soft);
}

.academy-course-open {
  grid-template-columns: 64px minmax(0, 1fr) 260px;
  align-items: center;
  margin-top: 10px;
  padding-inline: 30px;
  background:
    linear-gradient(90deg, rgba(113, 56, 75, .07), transparent 52%),
    #f6f3ee;
}

.course-price.standalone {
  position: static;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: none;
  border-left: 1px solid rgba(34, 33, 30, .12);
  background: transparent;
}

.academy-process-section {
  border-top: 1px solid rgba(34, 33, 30, .1);
}

.academy-process {
  margin-top: 30px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-step {
  background: var(--milk);
  padding: 28px;
}

.process-step small {
  color: var(--clay);
  font-weight: 800;
  letter-spacing: .12em;
}

.process-step p {
  color: var(--soft);
}

.about-intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 58px;
  align-items: center;
}

.about-photo {
  min-height: 560px;
  background: url("https://magu.at/images/2022/07/07/marija-guster.jpg") center / cover;
  box-shadow: var(--shadow);
}

.about-photo.wide {
  min-height: 460px;
  background-image: url("https://magu.at/images/2022/06/05/magu-kosmetik-ueber-unst.jpg");
}

.about-photo.tech {
  min-height: 420px;
  background-image: url("https://magu.at/images/visage-hydraskin-haut-analyzer.jpg");
}

.quote-panel {
  padding: clamp(38px, 6vw, 72px);
  background: var(--night);
  color: var(--milk);
}

.quote-panel blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.14;
}

.experience-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 13vw, 170px);
  line-height: .85;
  color: var(--clay);
}

.quote-panel p {
  color: rgba(255, 255, 255, .72);
  max-width: 720px;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value {
  background: var(--milk);
  padding: 30px;
}

.value small {
  color: var(--clay);
  font-weight: 800;
  letter-spacing: .12em;
}

.value p {
  color: var(--soft);
}

.about-address {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--milk);
  border: 1px solid var(--line);
  padding: clamp(34px, 5vw, 62px);
}

.about-address p {
  color: var(--soft);
}

.band {
  padding: 72px 0;
  background: var(--night);
  color: var(--milk);
}

.band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.band p { color: rgba(255, 253, 248, .72); }

.band .button.light {
  color: var(--milk);
  border-color: rgba(255, 253, 248, .65);
}

.band .button.light:hover {
  background: var(--milk);
  color: var(--night);
  border-color: var(--milk);
}

.page-hero {
  padding: 82px 0;
  background: var(--stone);
  color: var(--ink);
}

.crumb {
  margin-bottom: 16px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.card,
.price,
.contact-card {
  background: var(--milk);
  border: 1px solid var(--line);
  padding: 30px;
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin: -30px -30px 24px;
  max-width: calc(100% + 60px);
}

.card.icon-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin: 0 0 20px;
  max-width: 68px;
}

.details {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
}

.details li {
  padding-left: 18px;
  position: relative;
}

.details li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
  position: absolute;
  left: 0;
  top: .75em;
}

.read-more-link {
  align-self: flex-start;
  margin-top: 18px;
  padding: 0 0 4px;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--clay);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.read-more-link:hover {
  color: var(--ink);
}

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

.story {
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.story strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

.story p {
  color: var(--soft);
}

.price-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.price-page {
  background: #fbfaf7;
}

.price-hero {
  background: var(--night);
  color: var(--milk);
}

.price-hero .crumb,
.price-hero .lead {
  color: rgba(255, 253, 248, .74);
}

.price-hero .crumb {
  color: var(--brass);
}

.price-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 46px;
  align-items: end;
}

.price-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.price-hero-actions .button {
  border-color: var(--milk);
  background: var(--milk);
  color: var(--night);
}

.price-hero-actions .button.light {
  background: transparent;
  color: var(--milk);
}

.price-toolbar {
  position: sticky;
  top: 82px;
  z-index: 60;
  border-bottom: 1px solid rgba(34, 33, 30, .12);
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(18px);
}

.price-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.price-nav::-webkit-scrollbar {
  display: none;
}

.price-nav a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(34, 33, 30, .13);
  background: rgba(255, 253, 248, .62);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.price-nav a:hover {
  border-color: var(--clay);
  color: var(--clay);
}

.price-nav-spacer {
  flex: 1 1 auto;
}

.price-nav .price-nav-action {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--milk);
}

.price-board-section {
  background: #fbfaf7;
}

.price-board {
  display: grid;
  gap: 0;
}

.price-block {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  padding: 68px 0;
  border-top: 1px solid rgba(34, 33, 30, .13);
  scroll-margin-top: 170px;
}

.price-block:first-child {
  padding-top: 10px;
  border-top: 0;
}

.price-block.accent {
  margin-inline: -17px;
  padding-inline: 17px;
  background:
    linear-gradient(90deg, rgba(113, 56, 75, .055), transparent 46%),
    #f6f3ee;
}

.price-block.final {
  border-bottom: 1px solid rgba(34, 33, 30, .13);
}

.price-block-head {
  position: sticky;
  top: 154px;
  align-self: start;
}

.price-block-head h2 {
  max-width: 9ch;
  margin-bottom: 18px;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: .95;
}

.price-block-head p:not(.kicker) {
  margin: 0;
  color: var(--soft);
}

.price-groups {
  display: grid;
  gap: 30px;
}

.price-groups.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.price-group {
  padding-top: 22px;
  border-top: 1px solid rgba(34, 33, 30, .16);
}

.price-group.feature,
.price-group.subtle {
  padding: 28px;
  border: 1px solid rgba(34, 33, 30, .14);
  background: rgba(255, 253, 248, .55);
}

.price-group.subtle {
  background: rgba(222, 217, 208, .26);
}

.price-group h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 32px);
}

.price-group p {
  max-width: 68ch;
  margin: 0 0 16px;
  color: var(--soft);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  min-height: 58px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(34, 33, 30, .11);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: #4d4842;
}

.price-row strong {
  padding: 5px 10px;
  background: #fffdf8;
  box-shadow: inset 0 0 0 1px rgba(34, 33, 30, .1);
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
}

.price-bottom-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 48px;
  padding: 34px 0 0;
}

.price-bottom-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
}

.map {
  min-height: 390px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
  display: block;
  filter: saturate(.85) contrast(1.02);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.photo-wall {
  columns: 4 230px;
  column-gap: 18px;
}

.photo-wall a {
  display: block;
  break-inside: avoid;
  margin: 0 0 18px;
  background: var(--milk);
  border: 1px solid var(--line);
  padding: 8px;
}

.photo-wall img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-wall a:hover {
  border-color: rgba(113, 56, 75, .36);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(16, 14, 13, .88);
  backdrop-filter: blur(16px);
}

.lightbox.open {
  display: flex;
}

.lightbox-stage {
  position: relative;
  width: min(1180px, 100%);
  height: min(82vh, 860px);
  display: grid;
  place-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .42);
}

.lightbox-caption {
  position: absolute;
  left: 0;
  bottom: -46px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.lightbox-count {
  position: absolute;
  right: 0;
  bottom: -46px;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
}

.lightbox-button {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

.lightbox-button:hover {
  background: rgba(255, 255, 255, .16);
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 26px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 54px;
  height: 72px;
  transform: translateY(-50%);
  font-size: 34px;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-thumbs {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  max-width: min(760px, calc(100% - 40px));
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .08);
}

.lightbox-thumb {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.lightbox-thumb.active {
  border-color: var(--brass);
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  background: var(--stone);
  box-shadow: var(--shadow);
}

.gallery-card.large {
  grid-column: span 7;
  min-height: 520px;
}

.gallery-card.medium {
  grid-column: span 5;
  min-height: 520px;
}

.gallery-card.small {
  grid-column: span 4;
}

.gallery-card.wide {
  grid-column: span 8;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  font-weight: 700;
}

.gallery-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: end;
  margin-bottom: 36px;
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-tags span {
  border: 1px solid var(--line);
  padding: 8px 12px;
  color: var(--soft);
  background: var(--milk);
}

.footer {
  padding: 42px 0;
  background: var(--night);
  color: var(--milk);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.footer a,
.footer p {
  color: rgba(255, 253, 248, .72);
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-grid;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 17px;
    right: 17px;
    z-index: 10;
    padding: 18px;
    background: var(--milk);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: grid;
    gap: 4px;
  }

  .menu a {
    padding: 12px 0;
  }

  .menu .cta {
    justify-content: center;
    display: flex;
    margin-top: 8px;
  }

  .hero-grid,
  .section-head,
  .editorial,
  .treatment,
  .treatment:nth-child(even),
  .detail-layout,
  .price-hero-grid,
  .price-block,
  .price-groups.two-column,
  .academy-hero-grid,
  .academy-facts,
  .academy-course,
  .academy-course.reverse,
  .academy-course-open,
  .academy-layout,
  .program,
  .about-intro,
  .about-address,
  .band-grid,
  .contact-grid,
  .footer-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .academy-aside {
    position: static;
  }

  .academy-course.reverse .course-copy,
  .academy-course.reverse .course-media {
    grid-column: auto;
    grid-row: auto;
  }

  .academy-course {
    gap: 22px;
    padding: 48px 0;
    scroll-margin-top: 150px;
  }

  .academy-course-open {
    padding: 30px 24px;
  }

  .course-number {
    font-size: 28px;
  }

  .course-copy h2 {
    max-width: 12ch;
  }

  .course-media,
  .course-media img {
    min-height: 360px;
  }

  .course-includes {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .course-includes small {
    grid-column: 1 / -1;
    padding: 14px 0 10px;
  }

  .course-includes span:first-of-type {
    border-left: 0;
  }

  .course-price.standalone {
    border-left: 0;
    border-top: 1px solid rgba(34, 33, 30, .12);
    padding-left: 0;
  }

  .detail-panel {
    position: static;
  }

  .detail-page .detail-layout {
    display: flex;
    flex-direction: column;
    margin-top: -34px;
  }

  .detail-page .detail-copy {
    order: 1;
    padding: 34px 24px;
  }

  .detail-page .detail-copy p:first-child {
    font-size: 22px;
  }

  .detail-page .detail-panel {
    order: 2;
    min-height: 0;
    display: block;
    background: var(--night);
  }

  .detail-page .detail-panel img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .detail-page .detail-panel::after {
    display: none;
  }

  .detail-page .detail-panel .kicker,
  .detail-page .detail-panel h3,
  .detail-page .detail-panel p,
  .detail-page .detail-panel .button {
    margin-left: 24px;
    margin-right: 24px;
  }

  .detail-page .detail-panel .kicker {
    margin-top: 24px;
  }

  .detail-page .detail-panel .button {
    width: calc(100% - 48px);
    margin-bottom: 24px;
  }

  .detail-page .detail-copy .details {
    grid-template-columns: 1fr;
  }

  .price-hero-actions {
    justify-content: flex-start;
  }

  /* MaGu V1.0.61.56: all price categories visible on mobile. */
  .price-toolbar {
    position: static;
  }

  .price-toolbar .price-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    overflow-x: visible;
  }

  .price-toolbar .price-nav > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .price-toolbar .price-nav > .price-nav-spacer {
    display: none;
  }

  .price-toolbar .price-nav > .price-nav-action {
    grid-column: 1 / -1;
    gap: 5px;
  }

  .price-block {
    gap: 26px;
    padding: 48px 0;
    scroll-margin-top: 150px;
  }

  .price-block-head {
    position: static;
  }

  .price-block-head h2 {
    max-width: 12ch;
  }

  .price-group.feature,
  .price-group.subtle {
    padding: 22px;
  }

  .price-bottom-cta {
    display: grid;
  }

  .program-price {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 22px;
  }

  .treatment:nth-child(even) .treatment-image {
    order: 0;
  }

  .treatment-image img {
    min-height: 320px;
  }

  .hero {
    padding-top: 34px;
    background:
      linear-gradient(180deg, rgba(113, 56, 75, .06) 0%, rgba(113, 56, 75, 0) 44%),
      var(--paper);
  }

  .hero-image img {
    aspect-ratio: 16 / 11;
  }

  .quick-services,
  .grid,
  .price-list,
  .story-grid,
  .process,
  .values,
  .course-points {
    grid-template-columns: 1fr;
  }

  .gallery,
  .gallery-intro {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card.large,
  .gallery-card.medium,
  .gallery-card.small,
  .gallery-card.wide {
    grid-column: span 1;
    min-height: 360px;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 58px;
    font-size: 28px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-caption,
  .lightbox-count {
    bottom: -38px;
  }

  .quick-services a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1160px); }
  .logo {
    width: 140px;
    height: 44px;
  }
  h1 { font-size: 46px; }
  .detail-page .page-hero {
    padding: 54px 0 72px;
  }
  .detail-page .page-hero h1 {
    font-size: 48px;
  }
  .detail-page .page-hero .lead {
    font-size: 18px;
  }
  .detail-page .detail-layout {
    margin-top: -22px;
  }
  .detail-page .detail-copy {
    padding: 28px 20px;
  }
  .detail-page .detail-panel img {
    aspect-ratio: 4 / 3;
  }
  .academy-hero-panel {
    padding: 22px;
  }
  .academy-facts article {
    padding: 20px 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(34, 33, 30, .1);
  }
  .academy-facts article:last-child {
    border-right: 0;
    border-bottom: 0;
  }
  .academy-course {
    padding: 38px 0;
  }
  .course-copy h2 {
    font-size: 44px;
  }
  .course-points li {
    min-height: 0;
  }
  .course-includes {
    grid-template-columns: 1fr;
  }
  .course-includes small {
    padding: 14px 0 8px;
  }
  .course-includes span {
    min-height: 0;
    padding: 11px 0;
    border-left: 0;
    border-top: 1px solid rgba(34, 33, 30, .09);
  }
  .course-media,
  .course-media img {
    min-height: 300px;
  }
  .course-price {
    position: static;
    box-shadow: none;
    border: 1px solid rgba(34, 33, 30, .12);
  }
  .section { padding: 68px 0; }
  .hero-actions, .actions { display: grid; }
  .button { width: 100%; }
  .service-list { grid-template-columns: 1fr; }
}
